libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ConnectParticipant.GetTranscript

Description

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

Creating a Request

data GetTranscript Source #

See: newGetTranscript smart constructor.

Constructors

GetTranscript' 

Fields

Instances

Instances details
Eq GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Read GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Show GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Generic GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Associated Types

type Rep GetTranscript :: Type -> Type #

NFData GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Methods

rnf :: GetTranscript -> () #

Hashable GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

ToJSON GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

AWSRequest GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Associated Types

type AWSResponse 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

type Rep GetTranscript Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

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

Defined in Amazonka.ConnectParticipant.GetTranscript

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

Constructors

GetTranscriptResponse' 

Fields

Instances

Instances details
Eq GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Read GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Show GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Generic GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Associated Types

type Rep GetTranscriptResponse :: Type -> Type #

NFData GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

Methods

rnf :: GetTranscriptResponse -> () #

type Rep GetTranscriptResponse Source # 
Instance details

Defined in Amazonka.ConnectParticipant.GetTranscript

type Rep GetTranscriptResponse = D1 ('MetaData "GetTranscriptResponse" "Amazonka.ConnectParticipant.GetTranscript" "libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant" 'False) (C1 ('MetaCons "GetTranscriptResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "initialContactId") '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: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.