'2.0', 'service' => '

Amazon Connect is an easy-to-use omnichannel cloud contact center service that enables companies of any size to deliver superior customer service at a lower cost. Amazon Connect communications capabilities make it easy for companies to deliver personalized interactions across communication channels, including chat.

Use the Amazon Connect Participant Service to manage participants (for example, agents, customers, and managers listening in), and to send messages and events within a chat contact. The APIs in the service enable the following: sending chat messages, attachment sharing, managing a participant\'s connection state and message events, and retrieving chat transcripts.

', 'operations' => [ 'CompleteAttachmentUpload' => '

Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

', 'CreateParticipantConnection' => '

Creates the participant\'s connection.

ParticipantToken is used for invoking this API instead of ConnectionToken.

The participant token is valid for the lifetime of the participant – until they are part of a contact.

The response URL for WEBSOCKET Type has a connect expiry timeout of 100s. Clients must manually connect to the returned websocket URL and subscribe to the desired topic.

For chat, you need to publish the following on the established websocket connection:

{"topic":"aws/subscribe","content":{"topics":["aws/chat"]}}

Upon websocket URL expiry, as specified in the response ConnectionExpiry parameter, clients need to call this API again to obtain a new websocket URL and perform the same steps as before.

Message streaming support: This API can also be used together with the StartContactStreaming API to create a participant connection for chat contacts that are not using a websocket. For more information about message streaming, Enable real-time chat message streaming in the Amazon Connect Administrator Guide.

Feature specifications: For information about feature specifications, such as the allowed number of open websocket connections per participant, see Feature specifications in the Amazon Connect Administrator Guide.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

', 'DisconnectParticipant' => '

Disconnects a participant.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

', 'GetAttachment' => '

Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API for use with active contacts.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

', 'GetTranscript' => '

Retrieves a transcript of the session, including details about any attachments. For information about accessing past chat contact transcripts for a persistent chat, see Enable persistent chat.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

', 'SendEvent' => '

Sends an event.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

', 'SendMessage' => '

Sends a message.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

', 'StartAttachmentUpload' => '

Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

', ], 'shapes' => [ 'AccessDeniedException' => [ 'base' => '

You do not have sufficient access to perform this action.

', 'refs' => [], ], 'ArtifactId' => [ 'base' => NULL, 'refs' => [ 'AttachmentIdList$member' => NULL, 'AttachmentItem$AttachmentId' => '

A unique identifier for the attachment.

', 'GetAttachmentRequest$AttachmentId' => '

A unique identifier for the attachment.

', 'StartAttachmentUploadResponse$AttachmentId' => '

A unique identifier for the attachment.

', ], ], 'ArtifactStatus' => [ 'base' => NULL, 'refs' => [ 'AttachmentItem$Status' => '

Status of the attachment.

', ], ], 'AttachmentIdList' => [ 'base' => NULL, 'refs' => [ 'CompleteAttachmentUploadRequest$AttachmentIds' => '

A list of unique identifiers for the attachments.

', ], ], 'AttachmentItem' => [ 'base' => '

The case-insensitive input to indicate standard MIME type that describes the format of the file that will be uploaded.

', 'refs' => [ 'Attachments$member' => NULL, ], ], 'AttachmentName' => [ 'base' => NULL, 'refs' => [ 'AttachmentItem$AttachmentName' => '

A case-sensitive name of the attachment being uploaded.

', 'StartAttachmentUploadRequest$AttachmentName' => '

A case-sensitive name of the attachment being uploaded.

', ], ], 'AttachmentSizeInBytes' => [ 'base' => NULL, 'refs' => [ 'StartAttachmentUploadRequest$AttachmentSizeInBytes' => '

The size of the attachment in bytes.

', ], ], 'Attachments' => [ 'base' => NULL, 'refs' => [ 'Item$Attachments' => '

Provides information about the attachments.

', ], ], 'Bool' => [ 'base' => NULL, 'refs' => [ 'CreateParticipantConnectionRequest$ConnectParticipant' => '

Amazon Connect Participant is used to mark the participant as connected for customer participant in message streaming, as well as for agent or manager participant in non-streaming chats.

', ], ], 'ChatContent' => [ 'base' => NULL, 'refs' => [ 'Item$Content' => '

The content of the message or event.

', 'SendEventRequest$Content' => '

The content of the event to be sent (for example, message text). For content related to message receipts, this is supported in the form of a JSON string.

Sample Content: "{\\"messageId\\":\\"11111111-aaaa-bbbb-cccc-EXAMPLE01234\\"}"

', 'SendMessageRequest$Content' => '

The content of the message.

', ], ], 'ChatContentType' => [ 'base' => NULL, 'refs' => [ 'Item$ContentType' => '

The type of content of the item.

', 'SendEventRequest$ContentType' => '

The content type of the request. Supported types are:

', 'SendMessageRequest$ContentType' => '

The type of the content. Supported types are text/plain, text/markdown, application/json, and application/vnd.amazonaws.connect.message.interactive.response.

', ], ], 'ChatItemId' => [ 'base' => NULL, 'refs' => [ 'Item$Id' => '

The ID of the item.

', 'MessageMetadata$MessageId' => '

The identifier of the message that contains the metadata information.

', 'SendEventResponse$Id' => '

The ID of the response.

', 'SendMessageResponse$Id' => '

The ID of the message.

', 'StartPosition$Id' => '

The ID of the message or event where to start.

', ], ], 'ChatItemType' => [ 'base' => NULL, 'refs' => [ 'Item$Type' => '

Type of the item: message or event.

', ], ], 'ClientToken' => [ 'base' => NULL, 'refs' => [ 'DisconnectParticipantRequest$ClientToken' => '

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

', 'SendEventRequest$ClientToken' => '

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

', 'SendMessageRequest$ClientToken' => '

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

', ], ], 'CompleteAttachmentUploadRequest' => [ 'base' => NULL, 'refs' => [], ], 'CompleteAttachmentUploadResponse' => [ 'base' => NULL, 'refs' => [], ], 'ConflictException' => [ 'base' => '

An attachment with that identifier is already being uploaded.

', 'refs' => [], ], 'ConnectionCredentials' => [ 'base' => '

Connection credentials.

', 'refs' => [ 'CreateParticipantConnectionResponse$ConnectionCredentials' => '

Creates the participant\'s connection credentials. The authentication token associated with the participant\'s connection.

', ], ], 'ConnectionType' => [ 'base' => NULL, 'refs' => [ 'ConnectionTypeList$member' => NULL, ], ], 'ConnectionTypeList' => [ 'base' => NULL, 'refs' => [ 'CreateParticipantConnectionRequest$Type' => '

Type of connection information required. This can be omitted if ConnectParticipant is true.

', ], ], 'ContactId' => [ 'base' => NULL, 'refs' => [ 'GetTranscriptRequest$ContactId' => '

The contactId from the current contact chain for which transcript is needed.

', 'GetTranscriptResponse$InitialContactId' => '

The initial contact ID for the contact.

', 'Item$RelatedContactId' => '

The contactId on which the transcript item was originally sent. This field is only populated for persistent chats when the transcript item is from the past chat session. For more information, see Enable persistent chat.

', 'Item$ContactId' => '

The contactId on which the transcript item was originally sent. This field is populated only when the transcript item is from the current chat session.

', ], ], 'ContentType' => [ 'base' => NULL, 'refs' => [ 'AttachmentItem$ContentType' => '

Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.

', 'StartAttachmentUploadRequest$ContentType' => '

Describes the MIME file type of the attachment. For a list of supported file types, see Feature specifications in the Amazon Connect Administrator Guide.

', ], ], 'CreateParticipantConnectionRequest' => [ 'base' => NULL, 'refs' => [], ], 'CreateParticipantConnectionResponse' => [ 'base' => NULL, 'refs' => [], ], 'DisconnectParticipantRequest' => [ 'base' => NULL, 'refs' => [], ], 'DisconnectParticipantResponse' => [ 'base' => NULL, 'refs' => [], ], 'DisplayName' => [ 'base' => NULL, 'refs' => [ 'Item$DisplayName' => '

The chat display name of the sender.

', ], ], 'GetAttachmentRequest' => [ 'base' => NULL, 'refs' => [], ], 'GetAttachmentResponse' => [ 'base' => NULL, 'refs' => [], ], 'GetTranscriptRequest' => [ 'base' => NULL, 'refs' => [], ], 'GetTranscriptResponse' => [ 'base' => NULL, 'refs' => [], ], 'ISO8601Datetime' => [ 'base' => NULL, 'refs' => [ 'ConnectionCredentials$Expiry' => '

The expiration of the token.

It\'s specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

', 'GetAttachmentResponse$UrlExpiry' => '

The expiration time of the URL in ISO timestamp. It\'s specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

', 'UploadMetadata$UrlExpiry' => '

The expiration time of the URL in ISO timestamp. It\'s specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

', 'Websocket$ConnectionExpiry' => '

The URL expiration timestamp in ISO date format.

It\'s specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

', ], ], 'Instant' => [ 'base' => NULL, 'refs' => [ 'Item$AbsoluteTime' => '

The time when the message or event was sent.

It\'s specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

', 'Receipt$DeliveredTimestamp' => '

The time when the message was delivered to the recipient.

', 'Receipt$ReadTimestamp' => '

The time when the message was read by the recipient.

', 'SendEventResponse$AbsoluteTime' => '

The time when the event was sent.

It\'s specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

', 'SendMessageResponse$AbsoluteTime' => '

The time when the message was sent.

It\'s specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

', 'StartPosition$AbsoluteTime' => '

The time in ISO format where to start.

It\'s specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

', ], ], 'InternalServerException' => [ 'base' => '

This exception occurs when there is an internal failure in the Amazon Connect service.

', 'refs' => [], ], 'Item' => [ 'base' => '

An item - message or event - that has been sent.

', 'refs' => [ 'Transcript$member' => NULL, ], ], 'MaxResults' => [ 'base' => NULL, 'refs' => [ 'GetTranscriptRequest$MaxResults' => '

The maximum number of results to return in the page. Default: 10.

', ], ], 'Message' => [ 'base' => NULL, 'refs' => [ 'AccessDeniedException$Message' => NULL, 'InternalServerException$Message' => NULL, 'ServiceQuotaExceededException$Message' => NULL, 'ThrottlingException$Message' => NULL, ], ], 'MessageMetadata' => [ 'base' => '

Contains metadata related to a message.

', 'refs' => [ 'Item$MessageMetadata' => '

The metadata related to the message. Currently this supports only information related to message receipts.

', ], ], 'MostRecent' => [ 'base' => NULL, 'refs' => [ 'StartPosition$MostRecent' => '

The start position of the most recent message where you want to start.

', ], ], 'NextToken' => [ 'base' => NULL, 'refs' => [ 'GetTranscriptRequest$NextToken' => '

The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.

', 'GetTranscriptResponse$NextToken' => '

The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.

', ], ], 'NonEmptyClientToken' => [ 'base' => NULL, 'refs' => [ 'CompleteAttachmentUploadRequest$ClientToken' => '

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

', 'StartAttachmentUploadRequest$ClientToken' => '

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

', ], ], 'ParticipantId' => [ 'base' => NULL, 'refs' => [ 'Item$ParticipantId' => '

The ID of the sender in the session.

', 'Receipt$RecipientParticipantId' => '

The identifier of the recipient of the message.

', ], ], 'ParticipantRole' => [ 'base' => NULL, 'refs' => [ 'Item$ParticipantRole' => '

The role of the sender. For example, is it a customer, agent, or system.

', ], ], 'ParticipantToken' => [ 'base' => NULL, 'refs' => [ 'CompleteAttachmentUploadRequest$ConnectionToken' => '

The authentication token associated with the participant\'s connection.

', 'ConnectionCredentials$ConnectionToken' => '

The connection token.

', 'CreateParticipantConnectionRequest$ParticipantToken' => '

This is a header parameter.

The ParticipantToken as obtained from StartChatContact API response.

', 'DisconnectParticipantRequest$ConnectionToken' => '

The authentication token associated with the participant\'s connection.

', 'GetAttachmentRequest$ConnectionToken' => '

The authentication token associated with the participant\'s connection.

', 'GetTranscriptRequest$ConnectionToken' => '

The authentication token associated with the participant\'s connection.

', 'SendEventRequest$ConnectionToken' => '

The authentication token associated with the participant\'s connection.

', 'SendMessageRequest$ConnectionToken' => '

The authentication token associated with the connection.

', 'StartAttachmentUploadRequest$ConnectionToken' => '

The authentication token associated with the participant\'s connection.

', ], ], 'PreSignedAttachmentUrl' => [ 'base' => NULL, 'refs' => [ 'GetAttachmentResponse$Url' => '

This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.

', ], ], 'PreSignedConnectionUrl' => [ 'base' => NULL, 'refs' => [ 'Websocket$Url' => '

The URL of the websocket.

', ], ], 'Reason' => [ 'base' => NULL, 'refs' => [ 'ConflictException$Message' => NULL, 'ValidationException$Message' => NULL, ], ], 'Receipt' => [ 'base' => '

The receipt for the message delivered to the recipient.

', 'refs' => [ 'Receipts$member' => NULL, ], ], 'Receipts' => [ 'base' => NULL, 'refs' => [ 'MessageMetadata$Receipts' => '

The list of receipt information for a message for different recipients.

', ], ], 'ScanDirection' => [ 'base' => NULL, 'refs' => [ 'GetTranscriptRequest$ScanDirection' => '

The direction from StartPosition from which to retrieve message. Default: BACKWARD when no StartPosition is provided, FORWARD with StartPosition.

', ], ], 'SendEventRequest' => [ 'base' => NULL, 'refs' => [], ], 'SendEventResponse' => [ 'base' => NULL, 'refs' => [], ], 'SendMessageRequest' => [ 'base' => NULL, 'refs' => [], ], 'SendMessageResponse' => [ 'base' => NULL, 'refs' => [], ], 'ServiceQuotaExceededException' => [ 'base' => '

The number of attachments per contact exceeds the quota.

', 'refs' => [], ], 'SortKey' => [ 'base' => NULL, 'refs' => [ 'GetTranscriptRequest$SortOrder' => '

The sort order for the records. Default: DESCENDING.

', ], ], 'StartAttachmentUploadRequest' => [ 'base' => NULL, 'refs' => [], ], 'StartAttachmentUploadResponse' => [ 'base' => NULL, 'refs' => [], ], 'StartPosition' => [ 'base' => '

A filtering option for where to start. For example, if you sent 100 messages, start with message 50.

', 'refs' => [ 'GetTranscriptRequest$StartPosition' => '

A filtering option for where to start.

', ], ], 'ThrottlingException' => [ 'base' => '

The request was denied due to request throttling.

', 'refs' => [], ], 'Transcript' => [ 'base' => NULL, 'refs' => [ 'GetTranscriptResponse$Transcript' => '

The list of messages in the session.

', ], ], 'UploadMetadata' => [ 'base' => '

Fields to be used while uploading the attachment.

', 'refs' => [ 'StartAttachmentUploadResponse$UploadMetadata' => '

Fields to be used while uploading the attachment.

', ], ], 'UploadMetadataSignedHeaders' => [ 'base' => NULL, 'refs' => [ 'UploadMetadata$HeadersToInclude' => '

The headers to be provided while uploading the file to the URL.

', ], ], 'UploadMetadataSignedHeadersKey' => [ 'base' => NULL, 'refs' => [ 'UploadMetadataSignedHeaders$key' => NULL, ], ], 'UploadMetadataSignedHeadersValue' => [ 'base' => NULL, 'refs' => [ 'UploadMetadataSignedHeaders$value' => NULL, ], ], 'UploadMetadataUrl' => [ 'base' => NULL, 'refs' => [ 'UploadMetadata$Url' => '

This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.

', ], ], 'ValidationException' => [ 'base' => '

The input fails to satisfy the constraints specified by Amazon Connect.

', 'refs' => [], ], 'Websocket' => [ 'base' => '

The websocket for the participant\'s connection.

', 'refs' => [ 'CreateParticipantConnectionResponse$Websocket' => '

Creates the participant\'s websocket connection.

', ], ], ],];