libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ConnectParticipant.Lens

Description

 
Synopsis

Operations

SendMessage

sendMessage_clientToken :: Lens' SendMessage (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

sendMessage_contentType :: Lens' SendMessage Text Source #

The type of the content. Supported types are text/plain.

sendMessage_content :: Lens' SendMessage Text Source #

The content of the message.

sendMessage_connectionToken :: Lens' SendMessage Text Source #

The authentication token associated with the connection.

sendMessageResponse_absoluteTime :: Lens' SendMessageResponse (Maybe Text) Source #

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.

DisconnectParticipant

disconnectParticipant_clientToken :: Lens' DisconnectParticipant (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

disconnectParticipant_connectionToken :: Lens' DisconnectParticipant Text Source #

The authentication token associated with the participant's connection.

CompleteAttachmentUpload

completeAttachmentUpload_attachmentIds :: Lens' CompleteAttachmentUpload (NonEmpty Text) Source #

A list of unique identifiers for the attachments.

completeAttachmentUpload_clientToken :: Lens' CompleteAttachmentUpload Text Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

completeAttachmentUpload_connectionToken :: Lens' CompleteAttachmentUpload Text Source #

The authentication token associated with the participant's connection.

GetAttachment

getAttachment_attachmentId :: Lens' GetAttachment Text Source #

A unique identifier for the attachment.

getAttachment_connectionToken :: Lens' GetAttachment Text Source #

The authentication token associated with the participant's connection.

getAttachmentResponse_urlExpiry :: Lens' GetAttachmentResponse (Maybe Text) Source #

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.

getAttachmentResponse_url :: Lens' GetAttachmentResponse (Maybe Text) Source #

The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.

StartAttachmentUpload

startAttachmentUpload_contentType :: Lens' StartAttachmentUpload Text Source #

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

startAttachmentUpload_attachmentName :: Lens' StartAttachmentUpload Text Source #

A case-sensitive name of the attachment being uploaded.

startAttachmentUpload_clientToken :: Lens' StartAttachmentUpload Text Source #

A unique case sensitive identifier to support idempotency of request.

startAttachmentUpload_connectionToken :: Lens' StartAttachmentUpload Text Source #

The authentication token associated with the participant's connection.

CreateParticipantConnection

createParticipantConnection_participantToken :: Lens' CreateParticipantConnection Text Source #

This is a header parameter.

The Participant Token as obtained from StartChatContact API response.

createParticipantConnectionResponse_connectionCredentials :: Lens' CreateParticipantConnectionResponse (Maybe ConnectionCredentials) Source #

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

GetTranscript

getTranscript_scanDirection :: Lens' GetTranscript (Maybe ScanDirection) Source #

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

getTranscript_nextToken :: Lens' GetTranscript (Maybe Text) Source #

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

getTranscript_sortOrder :: Lens' GetTranscript (Maybe SortKey) Source #

The sort order for the records. Default: DESCENDING.

getTranscript_contactId :: Lens' GetTranscript (Maybe Text) Source #

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

getTranscript_maxResults :: Lens' GetTranscript (Maybe Natural) Source #

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

getTranscript_startPosition :: Lens' GetTranscript (Maybe StartPosition) Source #

A filtering option for where to start.

getTranscript_connectionToken :: Lens' GetTranscript Text Source #

The authentication token associated with the participant's connection.

getTranscriptResponse_nextToken :: Lens' GetTranscriptResponse (Maybe Text) Source #

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

SendEvent

sendEvent_clientToken :: Lens' SendEvent (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

sendEvent_content :: Lens' SendEvent (Maybe Text) Source #

The content of the event to be sent (for example, message text). This is not yet supported.

sendEvent_contentType :: Lens' SendEvent Text Source #

The content type of the request. Supported types are:

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

sendEvent_connectionToken :: Lens' SendEvent Text Source #

The authentication token associated with the participant's connection.

sendEventResponse_absoluteTime :: Lens' SendEventResponse (Maybe Text) Source #

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.

sendEventResponse_httpStatus :: Lens' SendEventResponse Int Source #

The response's http status code.

Types

AttachmentItem

attachmentItem_attachmentName :: Lens' AttachmentItem (Maybe Text) Source #

A case-sensitive name of the attachment being uploaded.

attachmentItem_attachmentId :: Lens' AttachmentItem (Maybe Text) Source #

A unique identifier for the attachment.

attachmentItem_contentType :: Lens' AttachmentItem (Maybe Text) Source #

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

ConnectionCredentials

connectionCredentials_expiry :: Lens' ConnectionCredentials (Maybe Text) Source #

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.

Item

item_participantId :: Lens' Item (Maybe Text) Source #

The ID of the sender in the session.

item_absoluteTime :: Lens' Item (Maybe Text) Source #

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.

item_attachments :: Lens' Item (Maybe [AttachmentItem]) Source #

Provides information about the attachments.

item_participantRole :: Lens' Item (Maybe ParticipantRole) Source #

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

item_content :: Lens' Item (Maybe Text) Source #

The content of the message or event.

item_id :: Lens' Item (Maybe Text) Source #

The ID of the item.

item_displayName :: Lens' Item (Maybe Text) Source #

The chat display name of the sender.

item_type :: Lens' Item (Maybe ChatItemType) Source #

Type of the item: message or event.

item_contentType :: Lens' Item (Maybe Text) Source #

The type of content of the item.

StartPosition

startPosition_absoluteTime :: Lens' StartPosition (Maybe Text) Source #

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.

startPosition_id :: Lens' StartPosition (Maybe Text) Source #

The ID of the message or event where to start.

startPosition_mostRecent :: Lens' StartPosition (Maybe Natural) Source #

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

UploadMetadata

uploadMetadata_urlExpiry :: Lens' UploadMetadata (Maybe Text) Source #

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_headersToInclude :: Lens' UploadMetadata (Maybe (HashMap Text Text)) Source #

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

uploadMetadata_url :: Lens' UploadMetadata (Maybe Text) Source #

The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.

Websocket

websocket_url :: Lens' Websocket (Maybe Text) Source #

The URL of the websocket.

websocket_connectionExpiry :: Lens' Websocket (Maybe Text) Source #

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.