Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.ConnectParticipant.Lens
Description
Synopsis
- completeAttachmentUpload_attachmentIds :: Lens' CompleteAttachmentUpload (NonEmpty Text)
- completeAttachmentUpload_clientToken :: Lens' CompleteAttachmentUpload Text
- completeAttachmentUpload_connectionToken :: Lens' CompleteAttachmentUpload Text
- completeAttachmentUploadResponse_httpStatus :: Lens' CompleteAttachmentUploadResponse Int
- createParticipantConnection_connectParticipant :: Lens' CreateParticipantConnection (Maybe Bool)
- createParticipantConnection_type :: Lens' CreateParticipantConnection (Maybe (NonEmpty ConnectionType))
- createParticipantConnection_participantToken :: Lens' CreateParticipantConnection Text
- createParticipantConnectionResponse_connectionCredentials :: Lens' CreateParticipantConnectionResponse (Maybe ConnectionCredentials)
- createParticipantConnectionResponse_websocket :: Lens' CreateParticipantConnectionResponse (Maybe Websocket)
- createParticipantConnectionResponse_httpStatus :: Lens' CreateParticipantConnectionResponse Int
- disconnectParticipant_clientToken :: Lens' DisconnectParticipant (Maybe Text)
- disconnectParticipant_connectionToken :: Lens' DisconnectParticipant Text
- disconnectParticipantResponse_httpStatus :: Lens' DisconnectParticipantResponse Int
- getAttachment_attachmentId :: Lens' GetAttachment Text
- getAttachment_connectionToken :: Lens' GetAttachment Text
- getAttachmentResponse_url :: Lens' GetAttachmentResponse (Maybe Text)
- getAttachmentResponse_urlExpiry :: Lens' GetAttachmentResponse (Maybe Text)
- getAttachmentResponse_httpStatus :: Lens' GetAttachmentResponse Int
- getTranscript_contactId :: Lens' GetTranscript (Maybe Text)
- getTranscript_maxResults :: Lens' GetTranscript (Maybe Natural)
- getTranscript_nextToken :: Lens' GetTranscript (Maybe Text)
- getTranscript_scanDirection :: Lens' GetTranscript (Maybe ScanDirection)
- getTranscript_sortOrder :: Lens' GetTranscript (Maybe SortKey)
- getTranscript_startPosition :: Lens' GetTranscript (Maybe StartPosition)
- getTranscript_connectionToken :: Lens' GetTranscript Text
- getTranscriptResponse_initialContactId :: Lens' GetTranscriptResponse (Maybe Text)
- getTranscriptResponse_nextToken :: Lens' GetTranscriptResponse (Maybe Text)
- getTranscriptResponse_transcript :: Lens' GetTranscriptResponse (Maybe [Item])
- getTranscriptResponse_httpStatus :: Lens' GetTranscriptResponse Int
- sendEvent_clientToken :: Lens' SendEvent (Maybe Text)
- sendEvent_content :: Lens' SendEvent (Maybe Text)
- sendEvent_contentType :: Lens' SendEvent Text
- sendEvent_connectionToken :: Lens' SendEvent Text
- sendEventResponse_absoluteTime :: Lens' SendEventResponse (Maybe Text)
- sendEventResponse_id :: Lens' SendEventResponse (Maybe Text)
- sendEventResponse_httpStatus :: Lens' SendEventResponse Int
- sendMessage_clientToken :: Lens' SendMessage (Maybe Text)
- sendMessage_contentType :: Lens' SendMessage Text
- sendMessage_content :: Lens' SendMessage Text
- sendMessage_connectionToken :: Lens' SendMessage Text
- sendMessageResponse_absoluteTime :: Lens' SendMessageResponse (Maybe Text)
- sendMessageResponse_id :: Lens' SendMessageResponse (Maybe Text)
- sendMessageResponse_httpStatus :: Lens' SendMessageResponse Int
- startAttachmentUpload_contentType :: Lens' StartAttachmentUpload Text
- startAttachmentUpload_attachmentSizeInBytes :: Lens' StartAttachmentUpload Natural
- startAttachmentUpload_attachmentName :: Lens' StartAttachmentUpload Text
- startAttachmentUpload_clientToken :: Lens' StartAttachmentUpload Text
- startAttachmentUpload_connectionToken :: Lens' StartAttachmentUpload Text
- startAttachmentUploadResponse_attachmentId :: Lens' StartAttachmentUploadResponse (Maybe Text)
- startAttachmentUploadResponse_uploadMetadata :: Lens' StartAttachmentUploadResponse (Maybe UploadMetadata)
- startAttachmentUploadResponse_httpStatus :: Lens' StartAttachmentUploadResponse Int
- attachmentItem_attachmentId :: Lens' AttachmentItem (Maybe Text)
- attachmentItem_attachmentName :: Lens' AttachmentItem (Maybe Text)
- attachmentItem_contentType :: Lens' AttachmentItem (Maybe Text)
- attachmentItem_status :: Lens' AttachmentItem (Maybe ArtifactStatus)
- connectionCredentials_connectionToken :: Lens' ConnectionCredentials (Maybe Text)
- connectionCredentials_expiry :: Lens' ConnectionCredentials (Maybe Text)
- item_absoluteTime :: Lens' Item (Maybe Text)
- item_attachments :: Lens' Item (Maybe [AttachmentItem])
- item_content :: Lens' Item (Maybe Text)
- item_contentType :: Lens' Item (Maybe Text)
- item_displayName :: Lens' Item (Maybe Text)
- item_id :: Lens' Item (Maybe Text)
- item_messageMetadata :: Lens' Item (Maybe MessageMetadata)
- item_participantId :: Lens' Item (Maybe Text)
- item_participantRole :: Lens' Item (Maybe ParticipantRole)
- item_type :: Lens' Item (Maybe ChatItemType)
- messageMetadata_messageId :: Lens' MessageMetadata (Maybe Text)
- messageMetadata_receipts :: Lens' MessageMetadata (Maybe [Receipt])
- receipt_deliveredTimestamp :: Lens' Receipt (Maybe Text)
- receipt_readTimestamp :: Lens' Receipt (Maybe Text)
- receipt_recipientParticipantId :: Lens' Receipt (Maybe Text)
- startPosition_absoluteTime :: Lens' StartPosition (Maybe Text)
- startPosition_id :: Lens' StartPosition (Maybe Text)
- startPosition_mostRecent :: Lens' StartPosition (Maybe Natural)
- uploadMetadata_headersToInclude :: Lens' UploadMetadata (Maybe (HashMap Text Text))
- uploadMetadata_url :: Lens' UploadMetadata (Maybe Text)
- uploadMetadata_urlExpiry :: Lens' UploadMetadata (Maybe Text)
- websocket_connectionExpiry :: Lens' Websocket (Maybe Text)
- websocket_url :: Lens' Websocket (Maybe Text)
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.
completeAttachmentUploadResponse_httpStatus :: Lens' CompleteAttachmentUploadResponse Int Source #
The response's http status code.
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.
createParticipantConnectionResponse_websocket :: Lens' CreateParticipantConnectionResponse (Maybe Websocket) Source #
Creates the participant's websocket connection.
createParticipantConnectionResponse_httpStatus :: Lens' CreateParticipantConnectionResponse Int Source #
The response's http status code.
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.
disconnectParticipantResponse_httpStatus :: Lens' DisconnectParticipantResponse Int Source #
The response's http status code.
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.
getAttachmentResponse_httpStatus :: Lens' GetAttachmentResponse Int Source #
The response's http status code.
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_initialContactId :: Lens' GetTranscriptResponse (Maybe Text) Source #
The initial contact ID for the contact.
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.
getTranscriptResponse_transcript :: Lens' GetTranscriptResponse (Maybe [Item]) Source #
The list of messages in the session.
getTranscriptResponse_httpStatus :: Lens' GetTranscriptResponse Int Source #
The response's http status code.
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_id :: Lens' SendEventResponse (Maybe Text) Source #
The ID of the response.
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
andtext/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.
sendMessageResponse_id :: Lens' SendMessageResponse (Maybe Text) Source #
The ID of the message.
sendMessageResponse_httpStatus :: Lens' SendMessageResponse Int Source #
The response's http status code.
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_attachmentSizeInBytes :: Lens' StartAttachmentUpload Natural Source #
The size of the attachment in bytes.
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.
startAttachmentUploadResponse_attachmentId :: Lens' StartAttachmentUploadResponse (Maybe Text) Source #
A unique identifier for the attachment.
startAttachmentUploadResponse_uploadMetadata :: Lens' StartAttachmentUploadResponse (Maybe UploadMetadata) Source #
Fields to be used while uploading the attachment.
startAttachmentUploadResponse_httpStatus :: Lens' StartAttachmentUploadResponse Int Source #
The response's http status code.
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.
attachmentItem_status :: Lens' AttachmentItem (Maybe ArtifactStatus) Source #
Status of the attachment.
ConnectionCredentials
connectionCredentials_connectionToken :: Lens' ConnectionCredentials (Maybe Text) Source #
The connection token.
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_messageMetadata :: Lens' Item (Maybe MessageMetadata) Source #
The metadata related to the message. Currently this supports only information related to message receipts.
item_participantRole :: Lens' Item (Maybe ParticipantRole) Source #
The role of the sender. For example, is it a customer, agent, or system.
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.