listProfilePermissions method
Lists the cross-account permissions associated with a signing profile.
May throw AccessDeniedException.
May throw InternalServiceErrorException.
May throw ResourceNotFoundException.
May throw TooManyRequestsException.
May throw ValidationException.
Parameter profileName :
Name of the signing profile containing the cross-account permissions.
Parameter nextToken :
String for specifying the next set of paginated results.
Implementation
Future<ListProfilePermissionsResponse> listProfilePermissions({
required String profileName,
String? nextToken,
}) async {
final $query = <String, List<String>>{
if (nextToken != null) 'nextToken': [nextToken],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/signing-profiles/${Uri.encodeComponent(profileName)}/permissions',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListProfilePermissionsResponse.fromJson(response);
}