getIdentityProvider method

Future<GetIdentityProviderResponse> getIdentityProvider({
  1. required String identityProviderArn,
})

Gets the identity provider.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter identityProviderArn : The ARN of the identity provider.

Implementation

Future<GetIdentityProviderResponse> getIdentityProvider({
  required String identityProviderArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/identityProviders/${identityProviderArn.split('/').map(Uri.encodeComponent).join('/')}',
    exceptionFnMap: _exceptionFns,
  );
  return GetIdentityProviderResponse.fromJson(response);
}