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'
)
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.
[REQUIRED]
The identity provider details. The following list describes the provider detail keys for each identity provider type.
client_idclient_secretauthorize_scopesclient_idclient_secretauthorize_scopesapi_versionclient_idteam_idkey_idprivate_keyauthorize_scopesclient_idclient_secretattributes_request_methodoidc_issuerauthorize_scopesauthorize_url if not available from discovery URL specified by oidc_issuer keytoken_url if not available from discovery URL specified by oidc_issuer keyattributes_url if not available from discovery URL specified by oidc_issuer keyjwks_uri if not available from discovery URL specified by oidc_issuer keyMetadataFile OR MetadataURLIDPSignout (boolean) optional[REQUIRED]
The identity provider name.
[REQUIRED]
The identity provider type.
[REQUIRED]
The ARN of the web portal.
dict
Response Syntax
{
'identityProviderArn': 'string'
}
Response Structure
(dict) --
identityProviderArn (string) --
The ARN of the identity provider.
Exceptions
WorkSpacesWeb.Client.exceptions.InternalServerExceptionWorkSpacesWeb.Client.exceptions.ResourceNotFoundExceptionWorkSpacesWeb.Client.exceptions.AccessDeniedExceptionWorkSpacesWeb.Client.exceptions.ThrottlingExceptionWorkSpacesWeb.Client.exceptions.ServiceQuotaExceededExceptionWorkSpacesWeb.Client.exceptions.ValidationExceptionWorkSpacesWeb.Client.exceptions.ConflictException