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

Description

Derived from API version 2020-08-21 of the AWS service descriptions, licensed under Apache 2.0.

Contact Lens for Amazon Connect enables you to analyze conversations between customer and agents, by using speech transcription, natural language processing, and intelligent search capabilities. It performs sentiment analysis, detects issues, and enables you to automatically categorize contacts.

Contact Lens for Amazon Connect provides both real-time and post-call analytics of customer-agent conversations. For more information, see Analyze conversations using Contact Lens in the Amazon Connect Administrator Guide.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2020-08-21 of the Amazon Connect Contact Lens 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 ConnectContactLens.

AccessDeniedException

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You do not have sufficient access to perform this action.

InvalidRequestException

ThrottlingException

_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The throttling limit has been exceeded.

InternalServiceException

_InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Request processing failed due to an error or failure with the service.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified resource was not found.

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.

ListRealtimeContactAnalysisSegments

data ListRealtimeContactAnalysisSegments Source #

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.

data ListRealtimeContactAnalysisSegmentsResponse Source #

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.

Types

SentimentValue

newtype SentimentValue Source #

Constructors

SentimentValue' 

Instances

Instances details
Eq SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

Ord SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

Read SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

Show SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

Generic SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

Associated Types

type Rep SentimentValue :: Type -> Type #

NFData SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

Methods

rnf :: SentimentValue -> () #

Hashable SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

ToJSON SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

ToJSONKey SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

FromJSON SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

FromJSONKey SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

ToLog SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

ToHeader SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

ToQuery SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

FromXML SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

ToXML SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

Methods

toXML :: SentimentValue -> XML #

ToByteString SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

FromText SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

ToText SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

type Rep SentimentValue Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.SentimentValue

type Rep SentimentValue = D1 ('MetaData "SentimentValue" "Amazonka.ConnectContactLens.Types.SentimentValue" "libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens" 'True) (C1 ('MetaCons "SentimentValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSentimentValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Categories

data Categories Source #

Provides the category rules that are used to automatically categorize contacts based on uttered keywords and phrases.

See: newCategories smart constructor.

Instances

Instances details
Eq Categories Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Categories

Read Categories Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Categories

Show Categories Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Categories

Generic Categories Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Categories

Associated Types

type Rep Categories :: Type -> Type #

NFData Categories Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Categories

Methods

rnf :: Categories -> () #

Hashable Categories Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Categories

FromJSON Categories Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Categories

type Rep Categories Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Categories

type Rep Categories = D1 ('MetaData "Categories" "Amazonka.ConnectContactLens.Types.Categories" "libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens" 'False) (C1 ('MetaCons "Categories'" 'PrefixI 'True) (S1 ('MetaSel ('Just "matchedCategories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "matchedDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text CategoryDetails))))

newCategories :: Categories Source #

Create a value of Categories 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:matchedCategories:Categories', categories_matchedCategories - The category rules that have been matched in the analyzed segment.

$sel:matchedDetails:Categories', categories_matchedDetails - The category rule that was matched and when it occurred in the transcript.

CategoryDetails

data CategoryDetails Source #

Provides information about the category rule that was matched.

See: newCategoryDetails smart constructor.

Instances

Instances details
Eq CategoryDetails Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CategoryDetails

Read CategoryDetails Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CategoryDetails

Show CategoryDetails Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CategoryDetails

Generic CategoryDetails Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CategoryDetails

Associated Types

type Rep CategoryDetails :: Type -> Type #

NFData CategoryDetails Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CategoryDetails

Methods

rnf :: CategoryDetails -> () #

Hashable CategoryDetails Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CategoryDetails

FromJSON CategoryDetails Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CategoryDetails

type Rep CategoryDetails Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CategoryDetails

type Rep CategoryDetails = D1 ('MetaData "CategoryDetails" "Amazonka.ConnectContactLens.Types.CategoryDetails" "libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens" 'False) (C1 ('MetaCons "CategoryDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pointsOfInterest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PointOfInterest])))

newCategoryDetails :: CategoryDetails Source #

Create a value of CategoryDetails 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:pointsOfInterest:CategoryDetails', categoryDetails_pointsOfInterest - The section of audio where the category rule was detected.

CharacterOffsets

data CharacterOffsets Source #

For characters that were detected as issues, where they occur in the transcript.

See: newCharacterOffsets smart constructor.

Instances

Instances details
Eq CharacterOffsets Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CharacterOffsets

Read CharacterOffsets Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CharacterOffsets

Show CharacterOffsets Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CharacterOffsets

Generic CharacterOffsets Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CharacterOffsets

Associated Types

type Rep CharacterOffsets :: Type -> Type #

NFData CharacterOffsets Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CharacterOffsets

Methods

rnf :: CharacterOffsets -> () #

Hashable CharacterOffsets Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CharacterOffsets

FromJSON CharacterOffsets Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CharacterOffsets

type Rep CharacterOffsets Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.CharacterOffsets

type Rep CharacterOffsets = D1 ('MetaData "CharacterOffsets" "Amazonka.ConnectContactLens.Types.CharacterOffsets" "libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens" 'False) (C1 ('MetaCons "CharacterOffsets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "beginOffsetChar") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "endOffsetChar") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newCharacterOffsets Source #

Create a value of CharacterOffsets 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:beginOffsetChar:CharacterOffsets', characterOffsets_beginOffsetChar - The beginning of the issue.

$sel:endOffsetChar:CharacterOffsets', characterOffsets_endOffsetChar - The end of the issue.

IssueDetected

data IssueDetected Source #

Potential issues that are detected based on an artificial intelligence analysis of each turn in the conversation.

See: newIssueDetected smart constructor.

Instances

Instances details
Eq IssueDetected Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.IssueDetected

Read IssueDetected Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.IssueDetected

Show IssueDetected Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.IssueDetected

Generic IssueDetected Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.IssueDetected

Associated Types

type Rep IssueDetected :: Type -> Type #

NFData IssueDetected Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.IssueDetected

Methods

rnf :: IssueDetected -> () #

Hashable IssueDetected Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.IssueDetected

FromJSON IssueDetected Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.IssueDetected

type Rep IssueDetected Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.IssueDetected

type Rep IssueDetected = D1 ('MetaData "IssueDetected" "Amazonka.ConnectContactLens.Types.IssueDetected" "libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens" 'False) (C1 ('MetaCons "IssueDetected'" 'PrefixI 'True) (S1 ('MetaSel ('Just "characterOffsets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CharacterOffsets)))

newIssueDetected Source #

Create a value of IssueDetected 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:characterOffsets:IssueDetected', issueDetected_characterOffsets - The offset for when the issue was detected in the segment.

PointOfInterest

data PointOfInterest Source #

The section of the contact audio where that category rule was detected.

See: newPointOfInterest smart constructor.

Instances

Instances details
Eq PointOfInterest Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.PointOfInterest

Read PointOfInterest Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.PointOfInterest

Show PointOfInterest Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.PointOfInterest

Generic PointOfInterest Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.PointOfInterest

Associated Types

type Rep PointOfInterest :: Type -> Type #

NFData PointOfInterest Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.PointOfInterest

Methods

rnf :: PointOfInterest -> () #

Hashable PointOfInterest Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.PointOfInterest

FromJSON PointOfInterest Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.PointOfInterest

type Rep PointOfInterest Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.PointOfInterest

type Rep PointOfInterest = D1 ('MetaData "PointOfInterest" "Amazonka.ConnectContactLens.Types.PointOfInterest" "libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens" 'False) (C1 ('MetaCons "PointOfInterest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "beginOffsetMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "endOffsetMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newPointOfInterest Source #

Create a value of PointOfInterest 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:beginOffsetMillis:PointOfInterest', pointOfInterest_beginOffsetMillis - The beginning offset in milliseconds where the category rule was detected.

$sel:endOffsetMillis:PointOfInterest', pointOfInterest_endOffsetMillis - The ending offset in milliseconds where the category rule was detected.

RealtimeContactAnalysisSegment

data RealtimeContactAnalysisSegment Source #

An analyzed segment for a real-time analysis session.

See: newRealtimeContactAnalysisSegment smart constructor.

Instances

Instances details
Eq RealtimeContactAnalysisSegment Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.RealtimeContactAnalysisSegment

Read RealtimeContactAnalysisSegment Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.RealtimeContactAnalysisSegment

Show RealtimeContactAnalysisSegment Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.RealtimeContactAnalysisSegment

Generic RealtimeContactAnalysisSegment Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.RealtimeContactAnalysisSegment

Associated Types

type Rep RealtimeContactAnalysisSegment :: Type -> Type #

NFData RealtimeContactAnalysisSegment Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.RealtimeContactAnalysisSegment

Hashable RealtimeContactAnalysisSegment Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.RealtimeContactAnalysisSegment

FromJSON RealtimeContactAnalysisSegment Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.RealtimeContactAnalysisSegment

type Rep RealtimeContactAnalysisSegment Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.RealtimeContactAnalysisSegment

type Rep RealtimeContactAnalysisSegment = D1 ('MetaData "RealtimeContactAnalysisSegment" "Amazonka.ConnectContactLens.Types.RealtimeContactAnalysisSegment" "libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens" 'False) (C1 ('MetaCons "RealtimeContactAnalysisSegment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "categories") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Categories)) :*: S1 ('MetaSel ('Just "transcript") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Transcript))))

newRealtimeContactAnalysisSegment :: RealtimeContactAnalysisSegment Source #

Create a value of RealtimeContactAnalysisSegment 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:categories:RealtimeContactAnalysisSegment', realtimeContactAnalysisSegment_categories - The matched category rules.

$sel:transcript:RealtimeContactAnalysisSegment', realtimeContactAnalysisSegment_transcript - The analyzed transcript.

Transcript

data Transcript Source #

A list of messages in the session.

See: newTranscript smart constructor.

Instances

Instances details
Eq Transcript Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Transcript

Read Transcript Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Transcript

Show Transcript Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Transcript

Generic Transcript Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Transcript

Associated Types

type Rep Transcript :: Type -> Type #

NFData Transcript Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Transcript

Methods

rnf :: Transcript -> () #

Hashable Transcript Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Transcript

FromJSON Transcript Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Transcript

type Rep Transcript Source # 
Instance details

Defined in Amazonka.ConnectContactLens.Types.Transcript

type Rep Transcript = D1 ('MetaData "Transcript" "Amazonka.ConnectContactLens.Types.Transcript" "libZSservicesZSamazonka-connect-contact-lensZSamazonka-connect-contact-lens" 'False) (C1 ('MetaCons "Transcript'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "issuesDetected") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [IssueDetected])) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "participantId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "participantRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "beginOffsetMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)) :*: (S1 ('MetaSel ('Just "endOffsetMillis") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "sentiment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SentimentValue)))))

newTranscript Source #

Create a value of Transcript 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:issuesDetected:Transcript', transcript_issuesDetected - List of positions where issues were detected on the transcript.

$sel:id:Transcript', transcript_id - The identifier of the transcript.

$sel:participantId:Transcript', transcript_participantId - The identifier of the participant.

$sel:participantRole:Transcript', transcript_participantRole - The role of participant. For example, is it a customer, agent, or system.

$sel:content:Transcript', transcript_content - The content of the transcript.

$sel:beginOffsetMillis:Transcript', transcript_beginOffsetMillis - The beginning offset in the contact for this transcript.

$sel:endOffsetMillis:Transcript', transcript_endOffsetMillis - The end offset in the contact for this transcript.

$sel:sentiment:Transcript', transcript_sentiment - The sentiment of the detected for this piece of transcript.