Connect / Client / update_participant_authentication
update_participant_authentication¶
- Connect.Client.update_participant_authentication(**kwargs)¶
Instructs Amazon Connect to resume the authentication process. The subsequent actions depend on the request body contents:
If a code is provided: Connect retrieves the identity information from Amazon Cognito and imports it into Connect Customer Profiles.
If an error is provided: The error branch of the Authenticate Customer block is executed.
Note
The API returns a success response to acknowledge the request. However, the interaction and exchange of identity information occur asynchronously after the response is returned.
See also: AWS API Documentation
Request Syntax
response = client.update_participant_authentication( State='string', InstanceId='string', Code='string', Error='string', ErrorDescription='string' )
- Parameters:
State (string) –
[REQUIRED]
The
statequery parameter that was provided by Cognito in theredirectUri. This will also match thestateparameter provided in theAuthenticationUrlfrom the GetAuthenticationUrl response.InstanceId (string) –
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Code (string) – The
codequery parameter provided by Cognito in theredirectUri.Error (string) – The
errorquery parameter provided by Cognito in theredirectUri.ErrorDescription (string) – The
error_descriptionparameter provided by Cognito in theredirectUri.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
Connect.Client.exceptions.InvalidRequestExceptionConnect.Client.exceptions.InvalidParameterExceptionConnect.Client.exceptions.ConflictExceptionConnect.Client.exceptions.InternalServiceExceptionConnect.Client.exceptions.ThrottlingExceptionConnect.Client.exceptions.AccessDeniedException