libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens
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.ConnectContactLens.ListRealtimeContactAnalysisSegments

Description

Provides a list of analysis segments for a real-time analysis session.

Synopsis

Creating a Request

data ListRealtimeContactAnalysisSegments Source #

Constructors

ListRealtimeContactAnalysisSegments' 

Fields

  • nextToken :: Maybe Text

    The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

  • maxResults :: Maybe Natural

    The maximimum number of results to return per page.

  • instanceId :: Text

    The identifier of the Amazon Connect instance.

  • contactId :: Text

    The identifier of the contact.

Instances

Instances details
Eq ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

Read ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

Show ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

Generic ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

NFData ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

Hashable ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

ToJSON ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

AWSRequest ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

ToHeaders ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

ToPath ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

ToQuery ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

type Rep ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

type Rep ListRealtimeContactAnalysisSegments = D1 ('MetaData "ListRealtimeContactAnalysisSegments" "Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments" "libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens" 'False) (C1 ('MetaCons "ListRealtimeContactAnalysisSegments'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "contactId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListRealtimeContactAnalysisSegments Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

newListRealtimeContactAnalysisSegments Source #

Create a value of ListRealtimeContactAnalysisSegments 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:ListRealtimeContactAnalysisSegments', listRealtimeContactAnalysisSegments_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

$sel:maxResults:ListRealtimeContactAnalysisSegments', listRealtimeContactAnalysisSegments_maxResults - The maximimum number of results to return per page.

$sel:instanceId:ListRealtimeContactAnalysisSegments', listRealtimeContactAnalysisSegments_instanceId - The identifier of the Amazon Connect instance.

$sel:contactId:ListRealtimeContactAnalysisSegments', listRealtimeContactAnalysisSegments_contactId - The identifier of the contact.

Request Lenses

listRealtimeContactAnalysisSegments_nextToken :: Lens' ListRealtimeContactAnalysisSegments (Maybe Text) Source #

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

Destructuring the Response

data ListRealtimeContactAnalysisSegmentsResponse Source #

Constructors

ListRealtimeContactAnalysisSegmentsResponse' 

Fields

  • nextToken :: Maybe Text

    If there are additional results, this is the token for the next set of results. If response includes nextToken there are two possible scenarios:

    • There are more segments so another call is required to get them.
    • There are no more segments at this time, but more may be available later (real-time analysis is in progress) so the client should call the operation again to get new segments.

    If response does not include nextToken, the analysis is completed (successfully or failed) and there are no more segments to retrieve.

  • httpStatus :: Int

    The response's http status code.

  • segments :: [RealtimeContactAnalysisSegment]

    An analyzed transcript or category.

Instances

Instances details
Eq ListRealtimeContactAnalysisSegmentsResponse Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

Read ListRealtimeContactAnalysisSegmentsResponse Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

Show ListRealtimeContactAnalysisSegmentsResponse Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

Generic ListRealtimeContactAnalysisSegmentsResponse Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

NFData ListRealtimeContactAnalysisSegmentsResponse Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

type Rep ListRealtimeContactAnalysisSegmentsResponse Source # 
Instance details

Defined in Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments

type Rep ListRealtimeContactAnalysisSegmentsResponse = D1 ('MetaData "ListRealtimeContactAnalysisSegmentsResponse" "Amazonka.ConnectContactLens.ListRealtimeContactAnalysisSegments" "libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens" 'False) (C1 ('MetaCons "ListRealtimeContactAnalysisSegmentsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "segments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [RealtimeContactAnalysisSegment]))))

newListRealtimeContactAnalysisSegmentsResponse Source #

Create a value of ListRealtimeContactAnalysisSegmentsResponse 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:ListRealtimeContactAnalysisSegments', listRealtimeContactAnalysisSegmentsResponse_nextToken - If there are additional results, this is the token for the next set of results. If response includes nextToken there are two possible scenarios:

  • There are more segments so another call is required to get them.
  • There are no more segments at this time, but more may be available later (real-time analysis is in progress) so the client should call the operation again to get new segments.

If response does not include nextToken, the analysis is completed (successfully or failed) and there are no more segments to retrieve.

$sel:httpStatus:ListRealtimeContactAnalysisSegmentsResponse', listRealtimeContactAnalysisSegmentsResponse_httpStatus - The response's http status code.

$sel:segments:ListRealtimeContactAnalysisSegmentsResponse', listRealtimeContactAnalysisSegmentsResponse_segments - An analyzed transcript or category.

Response Lenses

listRealtimeContactAnalysisSegmentsResponse_nextToken :: Lens' ListRealtimeContactAnalysisSegmentsResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results. If response includes nextToken there are two possible scenarios:

  • There are more segments so another call is required to get them.
  • There are no more segments at this time, but more may be available later (real-time analysis is in progress) so the client should call the operation again to get new segments.

If response does not include nextToken, the analysis is completed (successfully or failed) and there are no more segments to retrieve.