SDK for PHP 3.x

Client: Aws\ConnectParticipant\ConnectParticipantClient
Service ID: connectparticipant
Version: 2018-09-07

This page describes the parameters and results for the operations of the Amazon Connect Participant Service (2018-09-07), and shows how to use the Aws\ConnectParticipant\ConnectParticipantClient object to call the described operations. This documentation is specific to the 2018-09-07 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

CompleteAttachmentUpload ( array $params = [] )
Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API.
CreateParticipantConnection ( array $params = [] )
Creates the participant's connection.
DescribeView ( array $params = [] )
Retrieves the view for the specified view token.
DisconnectParticipant ( array $params = [] )
Disconnects a participant.
GetAttachment ( array $params = [] )
Provides a pre-signed URL for download of a completed attachment.
GetTranscript ( array $params = [] )
Retrieves a transcript of the session, including details about any attachments.
SendEvent ( array $params = [] )
The application/vnd.
SendMessage ( array $params = [] )
Sends a message.
StartAttachmentUpload ( array $params = [] )
Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

GetTranscript

Operations

CompleteAttachmentUpload

$result = $client->completeAttachmentUpload([/* ... */]);
$promise = $client->completeAttachmentUploadAsync([/* ... */]);

Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API. A conflict exception is thrown when an attachment with that identifier is already being uploaded.

ConnectionToken is used for invoking this API instead of ParticipantToken.

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

Parameter Syntax

$result = $client->completeAttachmentUpload([
    'AttachmentIds' => ['<string>', ...], // REQUIRED
    'ClientToken' => '<string>', // REQUIRED
    'ConnectionToken' => '<string>', // REQUIRED
]);

Parameter Details

Members
AttachmentIds
Required: Yes
Type: Array of strings

A list of unique identifiers for the attachments.

ClientToken
Required: Yes
Type: string

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.

ConnectionToken
Required: Yes
Type: string

The authentication token associated with the participant's connection.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

InternalServerException:

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

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

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

ServiceQuotaExceededException:

The number of attachments per contact exceeds the quota.

ConflictException:

The requested operation conflicts with the current state of a service resource associated with the request.

CreateParticipantConnection

$result = $client->createParticipantConnection([/* ... */]);
$promise = $client->createParticipantConnectionAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->createParticipantConnection([
    'ConnectParticipant' => true || false,
    'ParticipantToken' => '<string>', // REQUIRED
    'Type' => ['<string>', ...],
]);

Parameter Details

Members
ConnectParticipant
Type: boolean

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.

ParticipantToken
Required: Yes
Type: string

This is a header parameter.

The ParticipantToken as obtained from StartChatContact API response.

Type
Type: Array of strings

Type of connection information required. If you need CONNECTION_CREDENTIALS along with marking participant as connected, pass CONNECTION_CREDENTIALS in Type.

Result Syntax

[
    'ConnectionCredentials' => [
        'ConnectionToken' => '<string>',
        'Expiry' => '<string>',
    ],
    'Websocket' => [
        'ConnectionExpiry' => '<string>',
        'Url' => '<string>',
    ],
]

Result Details

Members
ConnectionCredentials
Type: ConnectionCredentials structure

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

Websocket
Type: Websocket structure

Creates the participant's websocket connection.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

InternalServerException:

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

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

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

DescribeView

$result = $client->describeView([/* ... */]);
$promise = $client->describeViewAsync([/* ... */]);

Retrieves the view for the specified view token.

Parameter Syntax

$result = $client->describeView([
    'ConnectionToken' => '<string>', // REQUIRED
    'ViewToken' => '<string>', // REQUIRED
]);

Parameter Details

Members
ConnectionToken
Required: Yes
Type: string

The connection token.

ViewToken
Required: Yes
Type: string

An encrypted token originating from the interactive message of a ShowView block operation. Represents the desired view.

Result Syntax

[
    'View' => [
        'Arn' => '<string>',
        'Content' => [
            'Actions' => ['<string>', ...],
            'InputSchema' => '<string>',
            'Template' => '<string>',
        ],
        'Id' => '<string>',
        'Name' => '<string>',
        'Version' => <integer>,
    ],
]

Result Details

Members
View
Type: View structure

A view resource object. Contains metadata and content necessary to render the view.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

InternalServerException:

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

ThrottlingException:

The request was denied due to request throttling.

ResourceNotFoundException:

The resource was not found.

ValidationException:

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

DisconnectParticipant

$result = $client->disconnectParticipant([/* ... */]);
$promise = $client->disconnectParticipantAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->disconnectParticipant([
    'ClientToken' => '<string>',
    'ConnectionToken' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientToken
Type: string

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.

ConnectionToken
Required: Yes
Type: string

The authentication token associated with the participant's connection.

Result Syntax

[]

Result Details

The results for this operation are always empty.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

InternalServerException:

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

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

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

GetAttachment

$result = $client->getAttachment([/* ... */]);
$promise = $client->getAttachmentAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->getAttachment([
    'AttachmentId' => '<string>', // REQUIRED
    'ConnectionToken' => '<string>', // REQUIRED
]);

Parameter Details

Members
AttachmentId
Required: Yes
Type: string

A unique identifier for the attachment.

ConnectionToken
Required: Yes
Type: string

The authentication token associated with the participant's connection.

Result Syntax

[
    'Url' => '<string>',
    'UrlExpiry' => '<string>',
]

Result Details

Members
Url
Type: string

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

UrlExpiry
Type: string

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.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

InternalServerException:

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

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

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

GetTranscript

$result = $client->getTranscript([/* ... */]);
$promise = $client->getTranscriptAsync([/* ... */]);

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.

If you have a process that consumes events in the transcript of an chat that has ended, note that chat transcripts contain the following event content types if the event has occurred during the chat session:

  • application/vnd.amazonaws.connect.event.participant.left

  • application/vnd.amazonaws.connect.event.participant.joined

  • application/vnd.amazonaws.connect.event.chat.ended

  • application/vnd.amazonaws.connect.event.transfer.succeeded

  • application/vnd.amazonaws.connect.event.transfer.failed

ConnectionToken is used for invoking this API instead of ParticipantToken.

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

Parameter Syntax

$result = $client->getTranscript([
    'ConnectionToken' => '<string>', // REQUIRED
    'ContactId' => '<string>',
    'MaxResults' => <integer>,
    'NextToken' => '<string>',
    'ScanDirection' => 'FORWARD|BACKWARD',
    'SortOrder' => 'DESCENDING|ASCENDING',
    'StartPosition' => [
        'AbsoluteTime' => '<string>',
        'Id' => '<string>',
        'MostRecent' => <integer>,
    ],
]);

Parameter Details

Members
ConnectionToken
Required: Yes
Type: string

The authentication token associated with the participant's connection.

ContactId
Type: string

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

MaxResults
Type: int

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

NextToken
Type: string

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

ScanDirection
Type: string

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

SortOrder
Type: string

The sort order for the records. Default: DESCENDING.

StartPosition
Type: StartPosition structure

A filtering option for where to start.

Result Syntax

[
    'InitialContactId' => '<string>',
    'NextToken' => '<string>',
    'Transcript' => [
        [
            'AbsoluteTime' => '<string>',
            'Attachments' => [
                [
                    'AttachmentId' => '<string>',
                    'AttachmentName' => '<string>',
                    'ContentType' => '<string>',
                    'Status' => 'APPROVED|REJECTED|IN_PROGRESS',
                ],
                // ...
            ],
            'ContactId' => '<string>',
            'Content' => '<string>',
            'ContentType' => '<string>',
            'DisplayName' => '<string>',
            'Id' => '<string>',
            'MessageMetadata' => [
                'MessageId' => '<string>',
                'Receipts' => [
                    [
                        'DeliveredTimestamp' => '<string>',
                        'ReadTimestamp' => '<string>',
                        'RecipientParticipantId' => '<string>',
                    ],
                    // ...
                ],
            ],
            'ParticipantId' => '<string>',
            'ParticipantRole' => 'AGENT|CUSTOMER|SYSTEM|CUSTOM_BOT|SUPERVISOR',
            'RelatedContactId' => '<string>',
            'Type' => 'TYPING|PARTICIPANT_JOINED|PARTICIPANT_LEFT|CHAT_ENDED|TRANSFER_SUCCEEDED|TRANSFER_FAILED|MESSAGE|EVENT|ATTACHMENT|CONNECTION_ACK|MESSAGE_DELIVERED|MESSAGE_READ',
        ],
        // ...
    ],
]

Result Details

Members
InitialContactId
Type: string

The initial contact ID for the contact.

NextToken
Type: string

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

Transcript
Type: Array of Item structures

The list of messages in the session.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

InternalServerException:

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

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

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

SendEvent

$result = $client->sendEvent([/* ... */]);
$promise = $client->sendEventAsync([/* ... */]);

The application/vnd.amazonaws.connect.event.connection.acknowledged ContentType will no longer be supported starting December 31, 2024. This event has been migrated to the CreateParticipantConnection API using the ConnectParticipant field.

Sends an event. Message receipts are not supported when there are more than two active participants in the chat. Using the SendEvent API for message receipts when a supervisor is barged-in will result in a conflict exception.

ConnectionToken is used for invoking this API instead of ParticipantToken.

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

Parameter Syntax

$result = $client->sendEvent([
    'ClientToken' => '<string>',
    'ConnectionToken' => '<string>', // REQUIRED
    'Content' => '<string>',
    'ContentType' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientToken
Type: string

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.

ConnectionToken
Required: Yes
Type: string

The authentication token associated with the participant's connection.

Content
Type: string

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\"}"

ContentType
Required: Yes
Type: string

The content type of the request. Supported types are:

  • application/vnd.amazonaws.connect.event.typing

  • application/vnd.amazonaws.connect.event.connection.acknowledged (will be deprecated on December 31, 2024)

  • application/vnd.amazonaws.connect.event.message.delivered

  • application/vnd.amazonaws.connect.event.message.read

Result Syntax

[
    'AbsoluteTime' => '<string>',
    'Id' => '<string>',
]

Result Details

Members
AbsoluteTime
Type: string

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.

Id
Type: string

The ID of the response.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

InternalServerException:

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

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

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

ConflictException:

The requested operation conflicts with the current state of a service resource associated with the request.

SendMessage

$result = $client->sendMessage([/* ... */]);
$promise = $client->sendMessageAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->sendMessage([
    'ClientToken' => '<string>',
    'ConnectionToken' => '<string>', // REQUIRED
    'Content' => '<string>', // REQUIRED
    'ContentType' => '<string>', // REQUIRED
]);

Parameter Details

Members
ClientToken
Type: string

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.

ConnectionToken
Required: Yes
Type: string

The authentication token associated with the connection.

Content
Required: Yes
Type: string

The content of the message.

  • For text/plain and text/markdown, the Length Constraints are Minimum of 1, Maximum of 1024.

  • For application/json, the Length Constraints are Minimum of 1, Maximum of 12000.

  • For application/vnd.amazonaws.connect.message.interactive.response, the Length Constraints are Minimum of 1, Maximum of 12288.

ContentType
Required: Yes
Type: string

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

Result Syntax

[
    'AbsoluteTime' => '<string>',
    'Id' => '<string>',
]

Result Details

Members
AbsoluteTime
Type: string

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.

Id
Type: string

The ID of the message.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

InternalServerException:

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

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

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

StartAttachmentUpload

$result = $client->startAttachmentUpload([/* ... */]);
$promise = $client->startAttachmentUploadAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->startAttachmentUpload([
    'AttachmentName' => '<string>', // REQUIRED
    'AttachmentSizeInBytes' => <integer>, // REQUIRED
    'ClientToken' => '<string>', // REQUIRED
    'ConnectionToken' => '<string>', // REQUIRED
    'ContentType' => '<string>', // REQUIRED
]);

Parameter Details

Members
AttachmentName
Required: Yes
Type: string

A case-sensitive name of the attachment being uploaded.

AttachmentSizeInBytes
Required: Yes
Type: long (int|float)

The size of the attachment in bytes.

ClientToken
Required: Yes
Type: string

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.

ConnectionToken
Required: Yes
Type: string

The authentication token associated with the participant's connection.

ContentType
Required: Yes
Type: string

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

Result Syntax

[
    'AttachmentId' => '<string>',
    'UploadMetadata' => [
        'HeadersToInclude' => ['<string>', ...],
        'Url' => '<string>',
        'UrlExpiry' => '<string>',
    ],
]

Result Details

Members
AttachmentId
Type: string

A unique identifier for the attachment.

UploadMetadata
Type: UploadMetadata structure

Fields to be used while uploading the attachment.

Errors

AccessDeniedException:

You do not have sufficient access to perform this action.

InternalServerException:

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

ThrottlingException:

The request was denied due to request throttling.

ValidationException:

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

ServiceQuotaExceededException:

The number of attachments per contact exceeds the quota.

Shapes

AccessDeniedException

Description

You do not have sufficient access to perform this action.

Members
Message
Required: Yes
Type: string

AttachmentItem

Description

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

Members
AttachmentId
Type: string

A unique identifier for the attachment.

AttachmentName
Type: string

A case-sensitive name of the attachment being uploaded.

ContentType
Type: string

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

Status
Type: string

Status of the attachment.

ConflictException

Description

The requested operation conflicts with the current state of a service resource associated with the request.

Members
Message
Required: Yes
Type: string

ConnectionCredentials

Description

Connection credentials.

Members
ConnectionToken
Type: string

The connection token.

Expiry
Type: string

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.

InternalServerException

Description

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

Members
Message
Required: Yes
Type: string

Item

Description

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

Members
AbsoluteTime
Type: string

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.

Attachments
Type: Array of AttachmentItem structures

Provides information about the attachments.

ContactId
Type: string

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.

Content
Type: string

The content of the message or event.

ContentType
Type: string

The type of content of the item.

DisplayName
Type: string

The chat display name of the sender.

Id
Type: string

The ID of the item.

MessageMetadata
Type: MessageMetadata structure

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

ParticipantId
Type: string

The ID of the sender in the session.

ParticipantRole
Type: string

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

RelatedContactId
Type: string

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.

Type
Type: string

Type of the item: message or event.

MessageMetadata

Description

Contains metadata related to a message.

Members
MessageId
Type: string

The identifier of the message that contains the metadata information.

Receipts
Type: Array of Receipt structures

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

Receipt

Description

The receipt for the message delivered to the recipient.

Members
DeliveredTimestamp
Type: string

The time when the message was delivered to the recipient.

ReadTimestamp
Type: string

The time when the message was read by the recipient.

RecipientParticipantId
Type: string

The identifier of the recipient of the message.

ResourceNotFoundException

Description

The resource was not found.

Members
Message
Type: string
ResourceId
Type: string

The identifier of the resource.

ResourceType
Type: string

The type of Amazon Connect resource.

ServiceQuotaExceededException

Description

The number of attachments per contact exceeds the quota.

Members
Message
Required: Yes
Type: string

StartPosition

Description

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

Members
AbsoluteTime
Type: string

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.

Id
Type: string

The ID of the message or event where to start.

MostRecent
Type: int

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

ThrottlingException

Description

The request was denied due to request throttling.

Members
Message
Required: Yes
Type: string

UploadMetadata

Description

Fields to be used while uploading the attachment.

Members
HeadersToInclude
Type: Associative array of custom strings keys (UploadMetadataSignedHeadersKey) to strings

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

Url
Type: string

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

UrlExpiry
Type: string

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.

ValidationException

Description

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

Members
Message
Required: Yes
Type: string

View

Description

A view resource object. Contains metadata and content necessary to render the view.

Members
Arn
Type: string

The Amazon Resource Name (ARN) of the view.

Content
Type: ViewContent structure

View content containing all content necessary to render a view except for runtime input data.

Id
Type: string

The identifier of the view.

Name
Type: string

The name of the view.

Version
Type: int

The current version of the view.

ViewContent

Description

View content containing all content necessary to render a view except for runtime input data.

Members
Actions
Type: Array of strings

A list of actions possible from the view

InputSchema
Type: string

The schema representing the input data that the view template must be supplied to render.

Template
Type: string

The view template representing the structure of the view.

Websocket

Description

The websocket for the participant's connection.

Members
ConnectionExpiry
Type: string

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.

Url
Type: string

The URL of the websocket.