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
27776 27777 27778 27779 27780 27781 27782 27783 27784 27785 27786 27787 27788 27789 27790 27791 27792 27793 27794 27795 27796 27797 27798 27799 27800 27801 27802 27803 27804 27805 27806 27807 27808 27809 27810 27811 27812 27813 27814 27815 27816 27817 27818 27819 27820 27821 27822 27823 27824 27825 27826 27827 27828 27829 27830 27831 27832 27833 27834 27835 27836 27837 27838 27839 27840 27841 27842 27843 27844 27845 27846 27847 27848 27849 27850 27851 27852 27853 27854 27855 27856 27857 27858 | |