WorkSpacesWeb / Client / create_identity_provider
create_identity_provider#
- WorkSpacesWeb.Client.create_identity_provider(**kwargs)#
- Creates an identity provider resource that is then associated with a web portal. - See also: AWS API Documentation - Request Syntax - response = client.create_identity_provider( clientToken='string', identityProviderDetails={ 'string': 'string' }, identityProviderName='string', identityProviderType='SAML'|'Facebook'|'Google'|'LoginWithAmazon'|'SignInWithApple'|'OIDC', portalArn='string' ) - Parameters:
- clientToken (string) – - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request. - If you do not specify a client token, one is automatically generated by the AWS SDK. - This field is autopopulated if not provided. 
- identityProviderDetails (dict) – - [REQUIRED] - The identity provider details. The following list describes the provider detail keys for each identity provider type. - For Google and Login with Amazon: - client_id
- client_secret
- authorize_scopes
 
- For Facebook: - client_id
- client_secret
- authorize_scopes
- api_version
 
- For Sign in with Apple: - client_id
- team_id
- key_id
- private_key
- authorize_scopes
 
- For OIDC providers: - client_id
- client_secret
- attributes_request_method
- oidc_issuer
- authorize_scopes
- authorize_urlif not available from discovery URL specified by- oidc_issuerkey
- token_urlif not available from discovery URL specified by- oidc_issuerkey
- attributes_urlif not available from discovery URL specified by- oidc_issuerkey
- jwks_uriif not available from discovery URL specified by- oidc_issuerkey
 
- For SAML providers: - MetadataFileOR- MetadataURL
- IDPSignout(boolean) optional
 
 - (string) – - (string) – 
 
 
- identityProviderName (string) – - [REQUIRED] - The identity provider name. 
- identityProviderType (string) – - [REQUIRED] - The identity provider type. 
- portalArn (string) – - [REQUIRED] - The ARN of the web portal. 
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'identityProviderArn': 'string' } - Response Structure - (dict) – - identityProviderArn (string) – - The ARN of the identity provider. 
 
 
 - Exceptions - WorkSpacesWeb.Client.exceptions.InternalServerException
- WorkSpacesWeb.Client.exceptions.ResourceNotFoundException
- WorkSpacesWeb.Client.exceptions.AccessDeniedException
- WorkSpacesWeb.Client.exceptions.ThrottlingException
- WorkSpacesWeb.Client.exceptions.ServiceQuotaExceededException
- WorkSpacesWeb.Client.exceptions.ValidationException
- WorkSpacesWeb.Client.exceptions.ConflictException