WorkSpacesWeb / Client / get_identity_provider
get_identity_provider#
- WorkSpacesWeb.Client.get_identity_provider(**kwargs)#
Gets the identity provider.
See also: AWS API Documentation
Request Syntax
response = client.get_identity_provider( identityProviderArn='string' )
- Parameters:
identityProviderArn (string) –
[REQUIRED]
The ARN of the identity provider.
- Return type:
dict
- Returns:
Response Syntax
{ 'identityProvider': { 'identityProviderArn': 'string', 'identityProviderDetails': { 'string': 'string' }, 'identityProviderName': 'string', 'identityProviderType': 'SAML'|'Facebook'|'Google'|'LoginWithAmazon'|'SignInWithApple'|'OIDC' } }
Response Structure
(dict) –
identityProvider (dict) –
The identity provider.
identityProviderArn (string) –
The ARN of the identity provider.
identityProviderDetails (dict) –
The identity provider details. The following list describes the provider detail keys for each identity provider type.
For Google and Login with Amazon:
client_idclient_secretauthorize_scopes
For Facebook:
client_idclient_secretauthorize_scopesapi_version
For Sign in with Apple:
client_idteam_idkey_idprivate_keyauthorize_scopes
For OIDC providers:
client_idclient_secretattributes_request_methodoidc_issuerauthorize_scopesauthorize_urlif not available from discovery URL specified by oidc_issuer keytoken_urlif not available from discovery URL specified by oidc_issuer keyattributes_urlif not available from discovery URL specified by oidc_issuer keyjwks_uriif not available from discovery URL specified by oidc_issuer key
For SAML providers:
MetadataFileORMetadataURLIDPSignout(boolean) optionalIDPInit(boolean) optionalRequestSigningAlgorithm(string) optional - Only acceptsrsa-sha256EncryptedResponses(boolean) optional
(string) –
(string) –
identityProviderName (string) –
The identity provider name.
identityProviderType (string) –
The identity provider type.
Exceptions
WorkSpacesWeb.Client.exceptions.InternalServerExceptionWorkSpacesWeb.Client.exceptions.ResourceNotFoundExceptionWorkSpacesWeb.Client.exceptions.AccessDeniedExceptionWorkSpacesWeb.Client.exceptions.ThrottlingExceptionWorkSpacesWeb.Client.exceptions.ValidationException