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

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2020-08-21 of the Amazon Connect Contact Lens SDK configuration.

Errors

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

You do not have sufficient access to perform this action.

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

The throttling limit has been exceeded.

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

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

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

The specified resource was not found.

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.

Constructors

Categories' 

Fields

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.

categories_matchedCategories :: Lens' Categories [Text] Source #

The category rules that have been matched in the analyzed segment.

categories_matchedDetails :: Lens' Categories (HashMap Text CategoryDetails) Source #

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.

Constructors

CategoryDetails' 

Fields

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.

categoryDetails_pointsOfInterest :: Lens' CategoryDetails [PointOfInterest] Source #

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.

Constructors

CharacterOffsets' 

Fields

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.

Constructors

IssueDetected' 

Fields

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.

issueDetected_characterOffsets :: Lens' IssueDetected CharacterOffsets Source #

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.

Constructors

PointOfInterest' 

Fields

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.

pointOfInterest_beginOffsetMillis :: Lens' PointOfInterest Natural Source #

The beginning offset in milliseconds where the category rule was detected.

pointOfInterest_endOffsetMillis :: Lens' PointOfInterest Natural Source #

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.

Constructors

RealtimeContactAnalysisSegment' 

Fields

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.

Constructors

Transcript' 

Fields

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.

transcript_issuesDetected :: Lens' Transcript (Maybe [IssueDetected]) Source #

List of positions where issues were detected on the transcript.

transcript_id :: Lens' Transcript Text Source #

The identifier of the transcript.

transcript_participantId :: Lens' Transcript Text Source #

The identifier of the participant.

transcript_participantRole :: Lens' Transcript Text Source #

The role of participant. For example, is it a customer, agent, or system.

transcript_content :: Lens' Transcript Text Source #

The content of the transcript.

transcript_beginOffsetMillis :: Lens' Transcript Natural Source #

The beginning offset in the contact for this transcript.

transcript_endOffsetMillis :: Lens' Transcript Natural Source #

The end offset in the contact for this transcript.

transcript_sentiment :: Lens' Transcript SentimentValue Source #

The sentiment of the detected for this piece of transcript.