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
27096 27097 27098 27099 27100 27101 27102 27103 27104 27105 27106 27107 27108 27109 27110 27111 27112 27113 27114 27115 27116 27117 27118 27119 27120 27121 27122 27123 27124 27125 27126 27127 27128 27129 27130 27131 27132 27133 27134 27135 27136 27137 27138 27139 27140 27141 27142 27143 27144 27145 27146 27147 27148 27149 27150 27151 27152 27153 27154 27155 27156 27157 27158 27159 27160 27161 27162 27163 27164 27165 27166 27167 27168 27169 27170 27171 27172 27173 27174 27175 27176 27177 | |