Module Values_2.UpdateParticipantAuthenticationRequestSource

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. 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.

Sourcetype nonrec t = {
  1. state : Values_0.ParticipantToken.t;
    (*

    The state query parameter that was provided by Cognito in the redirectUri. This will also match the state parameter provided in the AuthenticationUrl from the GetAuthenticationUrl response.

    *)
  2. instanceId : Values_0.InstanceId.t;
    (*

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    *)
  3. code : Values_0.AuthorizationCode.t option;
    (*

    The code query parameter provided by Cognito in the redirectUri.

    *)
  4. error : Values_0.AuthenticationError.t option;
    (*

    The error query parameter provided by Cognito in the redirectUri.

    *)
  5. errorDescription : Values_0.AuthenticationErrorDescription.t option;
    (*

    The error_description parameter provided by Cognito in the redirectUri.

    *)
}
Sourceval context_ : string
Sourceval make : ?code:??? -> ?error:??? -> ?errorDescription:??? -> state:Values_0.ParticipantToken.t -> instanceId:Values_0.InstanceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.ParticipantToken.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t