update_participant_authentication
¶
update_participant_authentication(
state: ParticipantToken,
instance_id: InstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
27407 27408 27409 27410 27411 27412 27413 27414 27415 27416 27417 27418 27419 27420 27421 27422 27423 27424 27425 27426 27427 27428 27429 27430 27431 27432 27433 27434 27435 27436 27437 27438 27439 27440 27441 27442 27443 27444 27445 27446 27447 27448 27449 27450 27451 27452 27453 27454 27455 27456 27457 27458 27459 27460 27461 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 | |