getSigningProfile method

Future<GetSigningProfileResponse> getSigningProfile({
  1. required String profileName,
  2. String? profileOwner,
})

Returns information on a specific signing profile.

May throw AccessDeniedException. May throw InternalServiceErrorException. May throw ResourceNotFoundException. May throw TooManyRequestsException.

Parameter profileName : The name of the target signing profile.

Parameter profileOwner : The AWS account ID of the profile owner.

Implementation

Future<GetSigningProfileResponse> getSigningProfile({
  required String profileName,
  String? profileOwner,
}) async {
  final $query = <String, List<String>>{
    if (profileOwner != null) 'profileOwner': [profileOwner],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/signing-profiles/${Uri.encodeComponent(profileName)}',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return GetSigningProfileResponse.fromJson(response);
}