amazonka-connectparticipant-2.0: Amazon Connect Participant Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ConnectParticipant.Lens

Description

 
Synopsis

Operations

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. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

completeAttachmentUpload_connectionToken :: Lens' CompleteAttachmentUpload Text Source #

The authentication token associated with the participant's connection.

CreateParticipantConnection

createParticipantConnection_connectParticipant :: Lens' CreateParticipantConnection (Maybe Bool) Source #

Amazon Connect Participant is used to mark the participant as connected for message streaming.

createParticipantConnection_type :: Lens' CreateParticipantConnection (Maybe (NonEmpty ConnectionType)) Source #

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

createParticipantConnection_participantToken :: Lens' CreateParticipantConnection Text Source #

This is a header parameter.

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

DisconnectParticipant

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

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.

disconnectParticipant_connectionToken :: Lens' DisconnectParticipant 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_url :: Lens' GetAttachmentResponse (Maybe Text) Source #

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

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.

GetTranscript

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_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_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_sortOrder :: Lens' GetTranscript (Maybe SortKey) Source #

The sort order for the records. Default: DESCENDING.

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. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

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

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

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
  • application/vnd.amazonaws.connect.event.message.delivered
  • application/vnd.amazonaws.connect.event.message.read

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.

SendMessage

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

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.

sendMessage_contentType :: Lens' SendMessage Text Source #

The type of the content. Supported types are text/plain, text/markdown, and application/json.

sendMessage_content :: Lens' SendMessage Text Source #

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.

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.

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

startAttachmentUpload_connectionToken :: Lens' StartAttachmentUpload Text Source #

The authentication token associated with the participant's connection.

Types

AttachmentItem

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

A unique identifier for the attachment.

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

A case-sensitive name of the attachment being uploaded.

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_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_content :: Lens' Item (Maybe Text) Source #

The content of the message or event.

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

The type of content of the item.

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

The chat display name of the sender.

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

The ID of the item.

item_messageMetadata :: Lens' Item (Maybe MessageMetadata) Source #

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

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

The ID of the sender in the session.

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

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

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

Type of the item: message or event.

MessageMetadata

messageMetadata_messageId :: Lens' MessageMetadata (Maybe Text) Source #

The identifier of the message that contains the metadata information.

messageMetadata_receipts :: Lens' MessageMetadata (Maybe [Receipt]) Source #

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

Receipt

receipt_deliveredTimestamp :: Lens' Receipt (Maybe Text) Source #

The time when the message was delivered to the recipient.

receipt_readTimestamp :: Lens' Receipt (Maybe Text) Source #

The time when the message was read by the recipient.

receipt_recipientParticipantId :: Lens' Receipt (Maybe Text) Source #

The identifier of the recipient of the message.

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_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 #

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

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.

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.

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

The URL of the websocket.