Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- 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
- disconnectParticipant_clientToken :: Lens' DisconnectParticipant (Maybe Text)
- disconnectParticipant_connectionToken :: Lens' DisconnectParticipant Text
- disconnectParticipantResponse_httpStatus :: Lens' DisconnectParticipantResponse Int
- completeAttachmentUpload_attachmentIds :: Lens' CompleteAttachmentUpload (NonEmpty Text)
- completeAttachmentUpload_clientToken :: Lens' CompleteAttachmentUpload Text
- completeAttachmentUpload_connectionToken :: Lens' CompleteAttachmentUpload Text
- completeAttachmentUploadResponse_httpStatus :: Lens' CompleteAttachmentUploadResponse Int
- getAttachment_attachmentId :: Lens' GetAttachment Text
- getAttachment_connectionToken :: Lens' GetAttachment Text
- getAttachmentResponse_urlExpiry :: Lens' GetAttachmentResponse (Maybe Text)
- getAttachmentResponse_url :: Lens' GetAttachmentResponse (Maybe Text)
- getAttachmentResponse_httpStatus :: Lens' GetAttachmentResponse 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
- createParticipantConnection_type :: Lens' CreateParticipantConnection (NonEmpty ConnectionType)
- createParticipantConnection_participantToken :: Lens' CreateParticipantConnection Text
- createParticipantConnectionResponse_connectionCredentials :: Lens' CreateParticipantConnectionResponse (Maybe ConnectionCredentials)
- createParticipantConnectionResponse_websocket :: Lens' CreateParticipantConnectionResponse (Maybe Websocket)
- createParticipantConnectionResponse_httpStatus :: Lens' CreateParticipantConnectionResponse Int
- getTranscript_scanDirection :: Lens' GetTranscript (Maybe ScanDirection)
- getTranscript_nextToken :: Lens' GetTranscript (Maybe Text)
- getTranscript_sortOrder :: Lens' GetTranscript (Maybe SortKey)
- getTranscript_contactId :: Lens' GetTranscript (Maybe Text)
- getTranscript_maxResults :: Lens' GetTranscript (Maybe Natural)
- getTranscript_startPosition :: Lens' GetTranscript (Maybe StartPosition)
- getTranscript_connectionToken :: Lens' GetTranscript Text
- getTranscriptResponse_nextToken :: Lens' GetTranscriptResponse (Maybe Text)
- getTranscriptResponse_initialContactId :: 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
- attachmentItem_status :: Lens' AttachmentItem (Maybe ArtifactStatus)
- attachmentItem_attachmentName :: Lens' AttachmentItem (Maybe Text)
- attachmentItem_attachmentId :: Lens' AttachmentItem (Maybe Text)
- attachmentItem_contentType :: Lens' AttachmentItem (Maybe Text)
- connectionCredentials_expiry :: Lens' ConnectionCredentials (Maybe Text)
- connectionCredentials_connectionToken :: Lens' ConnectionCredentials (Maybe Text)
- item_participantId :: Lens' Item (Maybe Text)
- item_absoluteTime :: Lens' Item (Maybe Text)
- item_attachments :: Lens' Item (Maybe [AttachmentItem])
- item_participantRole :: Lens' Item (Maybe ParticipantRole)
- item_content :: Lens' Item (Maybe Text)
- item_id :: Lens' Item (Maybe Text)
- item_displayName :: Lens' Item (Maybe Text)
- item_type :: Lens' Item (Maybe ChatItemType)
- item_contentType :: Lens' Item (Maybe Text)
- startPosition_absoluteTime :: Lens' StartPosition (Maybe Text)
- startPosition_id :: Lens' StartPosition (Maybe Text)
- startPosition_mostRecent :: Lens' StartPosition (Maybe Natural)
- uploadMetadata_urlExpiry :: Lens' UploadMetadata (Maybe Text)
- uploadMetadata_headersToInclude :: Lens' UploadMetadata (Maybe (HashMap Text Text))
- uploadMetadata_url :: Lens' UploadMetadata (Maybe Text)
- websocket_url :: Lens' Websocket (Maybe Text)
- websocket_connectionExpiry :: Lens' Websocket (Maybe Text)
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.
sendMessageResponse_id :: Lens' SendMessageResponse (Maybe Text) Source #
The ID of the message.
sendMessageResponse_httpStatus :: Lens' SendMessageResponse 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.
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.
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.
completeAttachmentUploadResponse_httpStatus :: Lens' CompleteAttachmentUploadResponse 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_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.
getAttachmentResponse_httpStatus :: Lens' GetAttachmentResponse 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 to support idempotency of request.
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.
CreateParticipantConnection
createParticipantConnection_type :: Lens' CreateParticipantConnection (NonEmpty ConnectionType) Source #
Type of connection information required.
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.
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.
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.
getTranscriptResponse_initialContactId :: Lens' GetTranscriptResponse (Maybe Text) Source #
The initial contact ID for the contact.
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.
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_id :: Lens' SendEventResponse (Maybe Text) Source #
The ID of the response.
sendEventResponse_httpStatus :: Lens' SendEventResponse Int Source #
The response's http status code.
Types
AttachmentItem
attachmentItem_status :: Lens' AttachmentItem (Maybe ArtifactStatus) Source #
Status of the attachment.
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.
connectionCredentials_connectionToken :: Lens' ConnectionCredentials (Maybe Text) Source #
The connection token.
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_participantRole :: Lens' Item (Maybe ParticipantRole) Source #
The role of the sender. For example, is it a customer, agent, or system.
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.