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 |
Derived from API version 2018-09-07
of the AWS service descriptions, licensed under Apache 2.0.
Amazon Connect is a cloud-based contact center solution that makes it easy to set up and manage a customer contact center and provide reliable customer engagement at any scale.
Amazon Connect enables customer contacts through voice or chat.
The APIs described here are used by chat participants, such as agents and customers.
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- data SendMessage = SendMessage' (Maybe Text) Text Text Text
- newSendMessage :: Text -> Text -> Text -> SendMessage
- data SendMessageResponse = SendMessageResponse' (Maybe Text) (Maybe Text) Int
- newSendMessageResponse :: Int -> SendMessageResponse
- data DisconnectParticipant = DisconnectParticipant' (Maybe Text) Text
- newDisconnectParticipant :: Text -> DisconnectParticipant
- data DisconnectParticipantResponse = DisconnectParticipantResponse' Int
- newDisconnectParticipantResponse :: Int -> DisconnectParticipantResponse
- data CompleteAttachmentUpload = CompleteAttachmentUpload' (NonEmpty Text) Text Text
- newCompleteAttachmentUpload :: NonEmpty Text -> Text -> Text -> CompleteAttachmentUpload
- data CompleteAttachmentUploadResponse = CompleteAttachmentUploadResponse' Int
- newCompleteAttachmentUploadResponse :: Int -> CompleteAttachmentUploadResponse
- data GetAttachment = GetAttachment' Text Text
- newGetAttachment :: Text -> Text -> GetAttachment
- data GetAttachmentResponse = GetAttachmentResponse' (Maybe Text) (Maybe Text) Int
- newGetAttachmentResponse :: Int -> GetAttachmentResponse
- data StartAttachmentUpload = StartAttachmentUpload' Text Natural Text Text Text
- newStartAttachmentUpload :: Text -> Natural -> Text -> Text -> Text -> StartAttachmentUpload
- data StartAttachmentUploadResponse = StartAttachmentUploadResponse' (Maybe Text) (Maybe UploadMetadata) Int
- newStartAttachmentUploadResponse :: Int -> StartAttachmentUploadResponse
- data CreateParticipantConnection = CreateParticipantConnection' (NonEmpty ConnectionType) Text
- newCreateParticipantConnection :: NonEmpty ConnectionType -> Text -> CreateParticipantConnection
- data CreateParticipantConnectionResponse = CreateParticipantConnectionResponse' (Maybe ConnectionCredentials) (Maybe Websocket) Int
- newCreateParticipantConnectionResponse :: Int -> CreateParticipantConnectionResponse
- data GetTranscript = GetTranscript' (Maybe ScanDirection) (Maybe Text) (Maybe SortKey) (Maybe Text) (Maybe Natural) (Maybe StartPosition) Text
- newGetTranscript :: Text -> GetTranscript
- data GetTranscriptResponse = GetTranscriptResponse' (Maybe Text) (Maybe Text) (Maybe [Item]) Int
- newGetTranscriptResponse :: Int -> GetTranscriptResponse
- data SendEvent = SendEvent' (Maybe Text) (Maybe Text) Text Text
- newSendEvent :: Text -> Text -> SendEvent
- data SendEventResponse = SendEventResponse' (Maybe Text) (Maybe Text) Int
- newSendEventResponse :: Int -> SendEventResponse
- newtype ArtifactStatus where
- ArtifactStatus' { }
- pattern ArtifactStatus_APPROVED :: ArtifactStatus
- pattern ArtifactStatus_IN_PROGRESS :: ArtifactStatus
- pattern ArtifactStatus_REJECTED :: ArtifactStatus
- newtype ChatItemType where
- ChatItemType' { }
- pattern ChatItemType_ATTACHMENT :: ChatItemType
- pattern ChatItemType_CHAT_ENDED :: ChatItemType
- pattern ChatItemType_CONNECTION_ACK :: ChatItemType
- pattern ChatItemType_EVENT :: ChatItemType
- pattern ChatItemType_MESSAGE :: ChatItemType
- pattern ChatItemType_PARTICIPANT_JOINED :: ChatItemType
- pattern ChatItemType_PARTICIPANT_LEFT :: ChatItemType
- pattern ChatItemType_TRANSFER_FAILED :: ChatItemType
- pattern ChatItemType_TRANSFER_SUCCEEDED :: ChatItemType
- pattern ChatItemType_TYPING :: ChatItemType
- newtype ConnectionType where
- ConnectionType' { }
- pattern ConnectionType_CONNECTION_CREDENTIALS :: ConnectionType
- pattern ConnectionType_WEBSOCKET :: ConnectionType
- newtype ParticipantRole where
- ParticipantRole' { }
- pattern ParticipantRole_AGENT :: ParticipantRole
- pattern ParticipantRole_CUSTOMER :: ParticipantRole
- pattern ParticipantRole_SYSTEM :: ParticipantRole
- newtype ScanDirection where
- ScanDirection' { }
- pattern ScanDirection_BACKWARD :: ScanDirection
- pattern ScanDirection_FORWARD :: ScanDirection
- newtype SortKey where
- SortKey' {
- fromSortKey :: Text
- pattern SortKey_ASCENDING :: SortKey
- pattern SortKey_DESCENDING :: SortKey
- SortKey' {
- data AttachmentItem = AttachmentItem' (Maybe ArtifactStatus) (Maybe Text) (Maybe Text) (Maybe Text)
- newAttachmentItem :: AttachmentItem
- data ConnectionCredentials = ConnectionCredentials' (Maybe Text) (Maybe Text)
- newConnectionCredentials :: ConnectionCredentials
- data Item = Item' (Maybe Text) (Maybe Text) (Maybe [AttachmentItem]) (Maybe ParticipantRole) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ChatItemType) (Maybe Text)
- newItem :: Item
- data StartPosition = StartPosition' (Maybe Text) (Maybe Text) (Maybe Natural)
- newStartPosition :: StartPosition
- data UploadMetadata = UploadMetadata' (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Text)
- newUploadMetadata :: UploadMetadata
- data Websocket = Websocket' (Maybe Text) (Maybe Text)
- newWebsocket :: Websocket
Service Configuration
defaultService :: Service Source #
API version 2018-09-07
of the Amazon Connect Participant Service SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by ConnectParticipant
.
ValidationException
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The input fails to satisfy the constraints specified by Amazon Connect.
AccessDeniedException
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have sufficient access to perform this action.
ConflictException
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
An attachment with that identifier is already being uploaded.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The number of attachments per contact exceeds the quota.
ThrottlingException
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was denied due to request throttling.
InternalServerException
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This exception occurs when there is an internal failure in the Amazon Connect service.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
SendMessage
data SendMessage Source #
See: newSendMessage
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> SendMessage |
Create a value of SendMessage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:SendMessage'
, sendMessage_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:contentType:SendMessage'
, sendMessage_contentType
- The type of the content. Supported types are text/plain.
$sel:content:SendMessage'
, sendMessage_content
- The content of the message.
$sel:connectionToken:SendMessage'
, sendMessage_connectionToken
- The authentication token associated with the connection.
data SendMessageResponse Source #
See: newSendMessageResponse
smart constructor.
Instances
newSendMessageResponse Source #
Create a value of SendMessageResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:absoluteTime:SendMessageResponse'
, sendMessageResponse_absoluteTime
- 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.
$sel:id:SendMessageResponse'
, sendMessageResponse_id
- The ID of the message.
$sel:httpStatus:SendMessageResponse'
, sendMessageResponse_httpStatus
- The response's http status code.
DisconnectParticipant
data DisconnectParticipant Source #
See: newDisconnectParticipant
smart constructor.
Instances
newDisconnectParticipant Source #
Create a value of DisconnectParticipant
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:DisconnectParticipant'
, disconnectParticipant_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:connectionToken:DisconnectParticipant'
, disconnectParticipant_connectionToken
- The authentication token associated with the participant's connection.
data DisconnectParticipantResponse Source #
See: newDisconnectParticipantResponse
smart constructor.
Instances
newDisconnectParticipantResponse Source #
Create a value of DisconnectParticipantResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DisconnectParticipantResponse'
, disconnectParticipantResponse_httpStatus
- The response's http status code.
CompleteAttachmentUpload
data CompleteAttachmentUpload Source #
See: newCompleteAttachmentUpload
smart constructor.
Instances
newCompleteAttachmentUpload Source #
:: NonEmpty Text | |
-> Text | |
-> Text | |
-> CompleteAttachmentUpload |
Create a value of CompleteAttachmentUpload
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attachmentIds:CompleteAttachmentUpload'
, completeAttachmentUpload_attachmentIds
- A list of unique identifiers for the attachments.
$sel:clientToken:CompleteAttachmentUpload'
, completeAttachmentUpload_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:connectionToken:CompleteAttachmentUpload'
, completeAttachmentUpload_connectionToken
- The authentication token associated with the participant's connection.
data CompleteAttachmentUploadResponse Source #
See: newCompleteAttachmentUploadResponse
smart constructor.
Instances
Eq CompleteAttachmentUploadResponse Source # | |
Read CompleteAttachmentUploadResponse Source # | |
Show CompleteAttachmentUploadResponse Source # | |
Generic CompleteAttachmentUploadResponse Source # | |
NFData CompleteAttachmentUploadResponse Source # | |
Defined in Amazonka.ConnectParticipant.CompleteAttachmentUpload rnf :: CompleteAttachmentUploadResponse -> () # | |
type Rep CompleteAttachmentUploadResponse Source # | |
Defined in Amazonka.ConnectParticipant.CompleteAttachmentUpload type Rep CompleteAttachmentUploadResponse = D1 ('MetaData "CompleteAttachmentUploadResponse" "Amazonka.ConnectParticipant.CompleteAttachmentUpload" "libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant" 'False) (C1 ('MetaCons "CompleteAttachmentUploadResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCompleteAttachmentUploadResponse Source #
Create a value of CompleteAttachmentUploadResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CompleteAttachmentUploadResponse'
, completeAttachmentUploadResponse_httpStatus
- The response's http status code.
GetAttachment
data GetAttachment Source #
See: newGetAttachment
smart constructor.
Instances
Create a value of GetAttachment
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attachmentId:GetAttachment'
, getAttachment_attachmentId
- A unique identifier for the attachment.
$sel:connectionToken:GetAttachment'
, getAttachment_connectionToken
- The authentication token associated with the participant's connection.
data GetAttachmentResponse Source #
See: newGetAttachmentResponse
smart constructor.
Instances
newGetAttachmentResponse Source #
Create a value of GetAttachmentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:urlExpiry:GetAttachmentResponse'
, getAttachmentResponse_urlExpiry
- 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.
$sel:url:GetAttachmentResponse'
, getAttachmentResponse_url
- The pre-signed URL using which file would be downloaded from Amazon S3
by the API caller.
$sel:httpStatus:GetAttachmentResponse'
, getAttachmentResponse_httpStatus
- The response's http status code.
StartAttachmentUpload
data StartAttachmentUpload Source #
See: newStartAttachmentUpload
smart constructor.
Instances
newStartAttachmentUpload Source #
Create a value of StartAttachmentUpload
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:contentType:StartAttachmentUpload'
, startAttachmentUpload_contentType
- Describes the MIME file type of the attachment. For a list of supported
file types, see
Feature specifications
in the Amazon Connect Administrator Guide.
$sel:attachmentSizeInBytes:StartAttachmentUpload'
, startAttachmentUpload_attachmentSizeInBytes
- The size of the attachment in bytes.
$sel:attachmentName:StartAttachmentUpload'
, startAttachmentUpload_attachmentName
- A case-sensitive name of the attachment being uploaded.
$sel:clientToken:StartAttachmentUpload'
, startAttachmentUpload_clientToken
- A unique case sensitive identifier to support idempotency of request.
$sel:connectionToken:StartAttachmentUpload'
, startAttachmentUpload_connectionToken
- The authentication token associated with the participant's connection.
data StartAttachmentUploadResponse Source #
See: newStartAttachmentUploadResponse
smart constructor.
Instances
newStartAttachmentUploadResponse Source #
Create a value of StartAttachmentUploadResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:attachmentId:StartAttachmentUploadResponse'
, startAttachmentUploadResponse_attachmentId
- A unique identifier for the attachment.
$sel:uploadMetadata:StartAttachmentUploadResponse'
, startAttachmentUploadResponse_uploadMetadata
- Fields to be used while uploading the attachment.
$sel:httpStatus:StartAttachmentUploadResponse'
, startAttachmentUploadResponse_httpStatus
- The response's http status code.
CreateParticipantConnection
data CreateParticipantConnection Source #
See: newCreateParticipantConnection
smart constructor.
Instances
newCreateParticipantConnection Source #
Create a value of CreateParticipantConnection
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:type':CreateParticipantConnection'
, createParticipantConnection_type
- Type of connection information required.
$sel:participantToken:CreateParticipantConnection'
, createParticipantConnection_participantToken
- This is a header parameter.
The Participant Token as obtained from StartChatContact API response.
data CreateParticipantConnectionResponse Source #
See: newCreateParticipantConnectionResponse
smart constructor.
Instances
newCreateParticipantConnectionResponse Source #
Create a value of CreateParticipantConnectionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:connectionCredentials:CreateParticipantConnectionResponse'
, createParticipantConnectionResponse_connectionCredentials
- Creates the participant's connection credentials. The authentication
token associated with the participant's connection.
$sel:websocket:CreateParticipantConnectionResponse'
, createParticipantConnectionResponse_websocket
- Creates the participant's websocket connection.
$sel:httpStatus:CreateParticipantConnectionResponse'
, createParticipantConnectionResponse_httpStatus
- The response's http status code.
GetTranscript
data GetTranscript Source #
See: newGetTranscript
smart constructor.
GetTranscript' (Maybe ScanDirection) (Maybe Text) (Maybe SortKey) (Maybe Text) (Maybe Natural) (Maybe StartPosition) Text |
Instances
Create a value of GetTranscript
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:scanDirection:GetTranscript'
, getTranscript_scanDirection
- The direction from StartPosition from which to retrieve message.
Default: BACKWARD when no StartPosition is provided, FORWARD with
StartPosition.
$sel:nextToken:GetTranscript'
, getTranscript_nextToken
- The pagination token. Use the value returned previously in the next
subsequent request to retrieve the next set of results.
$sel:sortOrder:GetTranscript'
, getTranscript_sortOrder
- The sort order for the records. Default: DESCENDING.
$sel:contactId:GetTranscript'
, getTranscript_contactId
- The contactId from the current contact chain for which transcript is
needed.
$sel:maxResults:GetTranscript'
, getTranscript_maxResults
- The maximum number of results to return in the page. Default: 10.
$sel:startPosition:GetTranscript'
, getTranscript_startPosition
- A filtering option for where to start.
$sel:connectionToken:GetTranscript'
, getTranscript_connectionToken
- The authentication token associated with the participant's connection.
data GetTranscriptResponse Source #
See: newGetTranscriptResponse
smart constructor.
Instances
newGetTranscriptResponse Source #
Create a value of GetTranscriptResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:GetTranscript'
, getTranscriptResponse_nextToken
- The pagination token. Use the value returned previously in the next
subsequent request to retrieve the next set of results.
$sel:initialContactId:GetTranscriptResponse'
, getTranscriptResponse_initialContactId
- The initial contact ID for the contact.
$sel:transcript:GetTranscriptResponse'
, getTranscriptResponse_transcript
- The list of messages in the session.
$sel:httpStatus:GetTranscriptResponse'
, getTranscriptResponse_httpStatus
- The response's http status code.
SendEvent
See: newSendEvent
smart constructor.
Instances
Create a value of SendEvent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientToken:SendEvent'
, sendEvent_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
$sel:content:SendEvent'
, sendEvent_content
- The content of the event to be sent (for example, message text). This is
not yet supported.
$sel:contentType:SendEvent'
, sendEvent_contentType
- The content type of the request. Supported types are:
- application/vnd.amazonaws.connect.event.typing
- application/vnd.amazonaws.connect.event.connection.acknowledged
$sel:connectionToken:SendEvent'
, sendEvent_connectionToken
- The authentication token associated with the participant's connection.
data SendEventResponse Source #
See: newSendEventResponse
smart constructor.
Instances
Create a value of SendEventResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:absoluteTime:SendEventResponse'
, sendEventResponse_absoluteTime
- 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.
$sel:id:SendEventResponse'
, sendEventResponse_id
- The ID of the response.
$sel:httpStatus:SendEventResponse'
, sendEventResponse_httpStatus
- The response's http status code.
Types
ArtifactStatus
newtype ArtifactStatus Source #
pattern ArtifactStatus_APPROVED :: ArtifactStatus | |
pattern ArtifactStatus_IN_PROGRESS :: ArtifactStatus | |
pattern ArtifactStatus_REJECTED :: ArtifactStatus |
Instances
ChatItemType
newtype ChatItemType Source #
pattern ChatItemType_ATTACHMENT :: ChatItemType | |
pattern ChatItemType_CHAT_ENDED :: ChatItemType | |
pattern ChatItemType_CONNECTION_ACK :: ChatItemType | |
pattern ChatItemType_EVENT :: ChatItemType | |
pattern ChatItemType_MESSAGE :: ChatItemType | |
pattern ChatItemType_PARTICIPANT_JOINED :: ChatItemType | |
pattern ChatItemType_PARTICIPANT_LEFT :: ChatItemType | |
pattern ChatItemType_TRANSFER_FAILED :: ChatItemType | |
pattern ChatItemType_TRANSFER_SUCCEEDED :: ChatItemType | |
pattern ChatItemType_TYPING :: ChatItemType |
Instances
ConnectionType
newtype ConnectionType Source #
pattern ConnectionType_CONNECTION_CREDENTIALS :: ConnectionType | |
pattern ConnectionType_WEBSOCKET :: ConnectionType |
Instances
ParticipantRole
newtype ParticipantRole Source #
pattern ParticipantRole_AGENT :: ParticipantRole | |
pattern ParticipantRole_CUSTOMER :: ParticipantRole | |
pattern ParticipantRole_SYSTEM :: ParticipantRole |
Instances
ScanDirection
newtype ScanDirection Source #
pattern ScanDirection_BACKWARD :: ScanDirection | |
pattern ScanDirection_FORWARD :: ScanDirection |
Instances
SortKey
pattern SortKey_ASCENDING :: SortKey | |
pattern SortKey_DESCENDING :: SortKey |
Instances
AttachmentItem
data AttachmentItem Source #
The case-insensitive input to indicate standard MIME type that describes the format of the file that will be uploaded.
See: newAttachmentItem
smart constructor.
AttachmentItem' (Maybe ArtifactStatus) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newAttachmentItem :: AttachmentItem Source #
Create a value of AttachmentItem
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:AttachmentItem'
, attachmentItem_status
- Status of the attachment.
$sel:attachmentName:AttachmentItem'
, attachmentItem_attachmentName
- A case-sensitive name of the attachment being uploaded.
$sel:attachmentId:AttachmentItem'
, attachmentItem_attachmentId
- A unique identifier for the attachment.
$sel:contentType:AttachmentItem'
, attachmentItem_contentType
- 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
data ConnectionCredentials Source #
Connection credentials.
See: newConnectionCredentials
smart constructor.
Instances
newConnectionCredentials :: ConnectionCredentials Source #
Create a value of ConnectionCredentials
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:expiry:ConnectionCredentials'
, connectionCredentials_expiry
- 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.
$sel:connectionToken:ConnectionCredentials'
, connectionCredentials_connectionToken
- The connection token.
Item
An item - message or event - that has been sent.
See: newItem
smart constructor.
Item' (Maybe Text) (Maybe Text) (Maybe [AttachmentItem]) (Maybe ParticipantRole) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ChatItemType) (Maybe Text) |
Instances
Create a value of Item
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:participantId:Item'
, item_participantId
- The ID of the sender in the session.
$sel:absoluteTime:Item'
, item_absoluteTime
- 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.
$sel:attachments:Item'
, item_attachments
- Provides information about the attachments.
$sel:participantRole:Item'
, item_participantRole
- The role of the sender. For example, is it a customer, agent, or system.
$sel:content:Item'
, item_content
- The content of the message or event.
$sel:id:Item'
, item_id
- The ID of the item.
$sel:displayName:Item'
, item_displayName
- The chat display name of the sender.
$sel:type':Item'
, item_type
- Type of the item: message or event.
$sel:contentType:Item'
, item_contentType
- The type of content of the item.
StartPosition
data StartPosition Source #
A filtering option for where to start. For example, if you sent 100 messages, start with message 50.
See: newStartPosition
smart constructor.
Instances
newStartPosition :: StartPosition Source #
Create a value of StartPosition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:absoluteTime:StartPosition'
, startPosition_absoluteTime
- 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.
$sel:id:StartPosition'
, startPosition_id
- The ID of the message or event where to start.
$sel:mostRecent:StartPosition'
, startPosition_mostRecent
- The start position of the most recent message where you want to start.
UploadMetadata
data UploadMetadata Source #
Fields to be used while uploading the attachment.
See: newUploadMetadata
smart constructor.
Instances
newUploadMetadata :: UploadMetadata Source #
Create a value of UploadMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:urlExpiry:UploadMetadata'
, uploadMetadata_urlExpiry
- 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.
$sel:headersToInclude:UploadMetadata'
, uploadMetadata_headersToInclude
- The headers to be provided while uploading the file to the URL.
$sel:url:UploadMetadata'
, uploadMetadata_url
- The pre-signed URL using which file would be downloaded from Amazon S3
by the API caller.
Websocket
The websocket for the participant's connection.
See: newWebsocket
smart constructor.
Websocket' (Maybe Text) (Maybe Text) |
Instances
Eq Websocket Source # | |
Read Websocket Source # | |
Show Websocket Source # | |
Generic Websocket Source # | |
NFData Websocket Source # | |
Defined in Amazonka.ConnectParticipant.Types.Websocket | |
Hashable Websocket Source # | |
Defined in Amazonka.ConnectParticipant.Types.Websocket | |
FromJSON Websocket Source # | |
type Rep Websocket Source # | |
Defined in Amazonka.ConnectParticipant.Types.Websocket type Rep Websocket = D1 ('MetaData "Websocket" "Amazonka.ConnectParticipant.Types.Websocket" "libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant" 'False) (C1 ('MetaCons "Websocket'" 'PrefixI 'True) (S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "connectionExpiry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newWebsocket :: Websocket Source #
Create a value of Websocket
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:url:Websocket'
, websocket_url
- The URL of the websocket.
$sel:connectionExpiry:Websocket'
, websocket_connectionExpiry
- 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.