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 |
Retrieves a transcript of the session, including details about any attachments. Note that ConnectionToken is used for invoking this API instead of ParticipantToken.
The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.
Synopsis
- data GetTranscript = GetTranscript' {}
- newGetTranscript :: Text -> GetTranscript
- 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
- data GetTranscriptResponse = GetTranscriptResponse' {
- nextToken :: Maybe Text
- initialContactId :: Maybe Text
- transcript :: Maybe [Item]
- httpStatus :: Int
- newGetTranscriptResponse :: Int -> GetTranscriptResponse
- getTranscriptResponse_nextToken :: Lens' GetTranscriptResponse (Maybe Text)
- getTranscriptResponse_initialContactId :: Lens' GetTranscriptResponse (Maybe Text)
- getTranscriptResponse_transcript :: Lens' GetTranscriptResponse (Maybe [Item])
- getTranscriptResponse_httpStatus :: Lens' GetTranscriptResponse Int
Creating a Request
data GetTranscript Source #
See: newGetTranscript
smart constructor.
GetTranscript' | |
|
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.
Request Lenses
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.
Destructuring the Response
data GetTranscriptResponse Source #
See: newGetTranscriptResponse
smart constructor.
GetTranscriptResponse' | |
|
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.
Response Lenses
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.