getOauth2CredentialProvider method
Retrieves information about an OAuth2 credential provider.
May throw AccessDeniedException.
May throw DecryptionFailure.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw UnauthorizedException.
May throw ValidationException.
Parameter name :
The name of the OAuth2 credential provider to retrieve.
Implementation
Future<GetOauth2CredentialProviderResponse> getOauth2CredentialProvider({
required String name,
}) async {
final $payload = <String, dynamic>{
'name': name,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/identities/GetOauth2CredentialProvider',
exceptionFnMap: _exceptionFns,
);
return GetOauth2CredentialProviderResponse.fromJson(response);
}