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

Description

Retrieves a transcript of the session, including details about any attachments.

ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

Synopsis

Creating a Request

data GetTranscript Source #

See: newGetTranscript smart constructor.

Constructors

GetTranscript' 

Fields

Instances

Instances details
ToJSON GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

ToHeaders GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

ToPath GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

ToQuery GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

AWSRequest GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Associated Types

type AWSResponse GetTranscript #

Generic GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Associated Types

type Rep GetTranscript :: Type -> Type #

Read GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Show GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

NFData GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Methods

rnf :: GetTranscript -> () #

Eq GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Hashable GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

type AWSResponse GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

type Rep GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

type Rep GetTranscript = D1 ('MetaData "GetTranscript" "Amazonka.ConnectParticipant.GetTranscript" "amazonka-connectparticipant-2.0-I4GmkIlwxQUGg1dW7eNFQJ" 'False) (C1 ('MetaCons "GetTranscript'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "scanDirection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScanDirection)) :*: S1 ('MetaSel ('Just "sortOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SortKey))) :*: (S1 ('MetaSel ('Just "startPosition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StartPosition)) :*: S1 ('MetaSel ('Just "connectionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetTranscript Source #

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

GetTranscript, getTranscript_nextToken - The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.

$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:sortOrder:GetTranscript', getTranscript_sortOrder - The sort order for the records. Default: DESCENDING.

$sel:startPosition:GetTranscript', getTranscript_startPosition - A filtering option for where to start.

GetTranscript, getTranscript_connectionToken - The authentication token associated with the participant's connection.

Request Lenses

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.

Destructuring the Response

data GetTranscriptResponse Source #

See: newGetTranscriptResponse smart constructor.

Constructors

GetTranscriptResponse' 

Fields

Instances

Instances details
Generic GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Associated Types

type Rep GetTranscriptResponse :: Type -> Type #

Read GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Show GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

NFData GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Methods

rnf :: GetTranscriptResponse -> () #

Eq GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

type Rep GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

type Rep GetTranscriptResponse = D1 ('MetaData "GetTranscriptResponse" "Amazonka.ConnectParticipant.GetTranscript" "amazonka-connectparticipant-2.0-I4GmkIlwxQUGg1dW7eNFQJ" 'False) (C1 ('MetaCons "GetTranscriptResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "initialContactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "transcript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Item])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:initialContactId:GetTranscriptResponse', getTranscriptResponse_initialContactId - The initial contact ID for the contact.

GetTranscript, getTranscriptResponse_nextToken - The pagination token. Use the value returned previously in the next subsequent request to retrieve the next set of results.

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