getSAMLProvider method
Returns the SAML provider metadocument that was uploaded when the IAM SAML provider resource object was created or updated.
May throw InvalidInputException.
May throw NoSuchEntityException.
May throw ServiceFailureException.
Parameter sAMLProviderArn :
The Amazon Resource Name (ARN) of the SAML provider resource object in IAM
to get information about.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
Implementation
Future<GetSAMLProviderResponse> getSAMLProvider({
required String sAMLProviderArn,
}) async {
final $request = <String, String>{
'SAMLProviderArn': sAMLProviderArn,
};
final $result = await _protocol.send(
$request,
action: 'GetSAMLProvider',
version: '2010-05-08',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
resultWrapper: 'GetSAMLProviderResult',
);
return GetSAMLProviderResponse.fromXml($result);
}