class Aws::Connect::Types::CreatePersistentContactAssociationRequest
@see docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/CreatePersistentContactAssociationRequest AWS API Documentation
@return [String]<br>: aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
see [Making retries safe with idempotent APIs].
SDK populates this field. For more information about idempotency,
idempotency of the request. If not provided, the Amazon Web Services
A unique, case-sensitive identifier that you provide to ensure the
@!attribute [rw] client_token
@return [String]
The contactId from which a persistent chat session must be started.
@!attribute [rw] source_contact_id
@return [String]
^
session.
C2 and C1 are accessible in the current persistent chat
ended chat contact (C3). Transcripts of past chat sessions C3,
* This starts a persistent chat session from the most recently
* **Expected behavior**
* RehydrationType = “ENTIRE_PAST_SESSION”
* SourceContactId = “C1”
* Configuration
following configuration:
including the post chat survey. For this they will use the
session and see the transcript of the entire past engagement,
* **Use Case 2**: The customer wants to continue the past chat
^
session.
that chat segment C3 is dropped from the persistent chat
C1 are accessible in the current persistent chat session. Note
ended contact (C2). Transcripts of past chat sessions C2 and
* This starts a persistent chat session from the specified past
* **Expected behavior**
* RehydrationType = “FROM_SEGMENT”
* SourceContactId = “C2”
* Configuration
will use the following configuration:
session but they want to hide the post chat survey. For this they
* **Use Case 1**: The customer wants to continue the past chat
this point, the customer can have following use cases:
customer returns and wants to resume their past chat session. At
ID C3. After the chat survey, the chat session ends. Later, the
disconnect flow for a post chat survey that creates another contact
this point Agent a2 ends the chat. The customer is forwarded to the
the chat to Agent a2. This creates another contact ID C2. At
first contact creates a contact ID C1. Agent a1 then transfers
and a conversation starts between the customer and Agent a1. This
example: A customer starts a chat session. Agent a1 accepts the chat
To illustrate how to use rehydration type, consider the following
response of this API.
The actual contactId used for rehydration is provided in the
contact provided in the ‘sourceContactId` field.
* `FROM_SEGMENT`: Rehydrates a chat from the specified past chat
chat.
on the past ended chat session and uses it to start a persistent
type, Amazon Connect determines what the most recent chat contact
past ended chat session in the `sourceContactId` field. In this
session. To use this type, provide the `initialContactId` of the
terminated past chat contact of the specified past ended chat
* `ENTIRE_PAST_SESSION`: Rehydrates a chat from the most recently
The contactId chosen for rehydration depends on the type chosen.
@!attribute [rw] rehydration_type
@return [String]
`CreatePersistentContactAssociation` API is being called from.
This is the contactId of the current contact that the
@!attribute [rw] initial_contact_id
@return [String]<br>: docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html<br><br><br><br>instance ID] in the Amazon Resource Name (ARN) of the instance.
The identifier of the Amazon Connect instance. You can [find the
@!attribute [rw] instance_id