WorkSpacesWeb.Client.
update_identity_provider
(**kwargs)¶Updates the identity provider.
See also: AWS API Documentation
Request Syntax
response = client.update_identity_provider(
clientToken='string',
identityProviderArn='string',
identityProviderDetails={
'string': 'string'
},
identityProviderName='string',
identityProviderType='SAML'|'Facebook'|'Google'|'LoginWithAmazon'|'SignInWithApple'|'OIDC'
)
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 return 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 ARN of the identity provider.
The details of the identity provider. The following list describes the provider detail keys for each identity provider type.
client_id
client_secret
authorize_scopes
client_id
client_secret
authorize_scopes
api_version
client_id
team_id
key_id
private_key
authorize_scopes
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_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 MetadataURL
IDPSignout
(boolean) optionaldict
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.
client_id
client_secret
authorize_scopes
client_id
client_secret
authorize_scopes
api_version
client_id
team_id
key_id
private_key
authorize_scopes
client_id
client_secret
attributes_request_method
oidc_issuer
authorize_scopes
authorize_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 MetadataURL
IDPSignout
optionalidentityProviderName (string) --
The identity provider name.
identityProviderType (string) --
The identity provider type.
Exceptions
WorkSpacesWeb.Client.exceptions.InternalServerException
WorkSpacesWeb.Client.exceptions.ResourceNotFoundException
WorkSpacesWeb.Client.exceptions.AccessDeniedException
WorkSpacesWeb.Client.exceptions.ThrottlingException
WorkSpacesWeb.Client.exceptions.ValidationException