update_participant_authentication
async
¶
update_participant_authentication(
state: ParticipantToken,
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
code: Optional[AuthorizationCode] = None,
error: Optional[AuthenticationError] = None,
error_description: Optional[AuthenticationErrorDescription] = None,
) -> UpdateParticipantAuthenticationResponse
Instructs Connect Customer 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.
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.
Parameters:
-
state(ParticipantToken) –The
statequery parameter that was provided by Cognito in theredirectUri. This will also match thestateparameter provided in theAuthenticationUrlfrom the GetAuthenticationUrl response. -
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
code(Optional[AuthorizationCode], default:None) –The
codequery parameter provided by Cognito in theredirectUri. -
error(Optional[AuthenticationError], default:None) –The
errorquery parameter provided by Cognito in theredirectUri. -
error_description(Optional[AuthenticationErrorDescription], default:None) –The
error_descriptionparameter provided by Cognito in theredirectUri.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–Operation cannot be performed at this time as there is a conflict with another operation or contact state.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
27462 27463 27464 27465 27466 27467 27468 27469 27470 27471 27472 27473 27474 27475 27476 27477 27478 27479 27480 27481 27482 27483 27484 27485 27486 27487 27488 27489 27490 27491 27492 27493 27494 27495 27496 27497 27498 27499 27500 27501 27502 27503 27504 27505 27506 27507 27508 27509 27510 27511 27512 27513 27514 27515 27516 27517 27518 27519 27520 27521 27522 27523 27524 27525 27526 27527 27528 27529 27530 27531 27532 27533 27534 27535 27536 27537 27538 27539 27540 27541 27542 27543 27544 | |