Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype SentimentValue where
- SentimentValue' { }
- pattern SentimentValue_NEGATIVE :: SentimentValue
- pattern SentimentValue_NEUTRAL :: SentimentValue
- pattern SentimentValue_POSITIVE :: SentimentValue
- data Categories = Categories' {}
- newCategories :: Categories
- categories_matchedCategories :: Lens' Categories [Text]
- categories_matchedDetails :: Lens' Categories (HashMap Text CategoryDetails)
- data CategoryDetails = CategoryDetails' {}
- newCategoryDetails :: CategoryDetails
- categoryDetails_pointsOfInterest :: Lens' CategoryDetails [PointOfInterest]
- data CharacterOffsets = CharacterOffsets' {}
- newCharacterOffsets :: Natural -> Natural -> CharacterOffsets
- characterOffsets_beginOffsetChar :: Lens' CharacterOffsets Natural
- characterOffsets_endOffsetChar :: Lens' CharacterOffsets Natural
- data IssueDetected = IssueDetected' {}
- newIssueDetected :: CharacterOffsets -> IssueDetected
- issueDetected_characterOffsets :: Lens' IssueDetected CharacterOffsets
- data PointOfInterest = PointOfInterest' {}
- newPointOfInterest :: Natural -> Natural -> PointOfInterest
- pointOfInterest_beginOffsetMillis :: Lens' PointOfInterest Natural
- pointOfInterest_endOffsetMillis :: Lens' PointOfInterest Natural
- data RealtimeContactAnalysisSegment = RealtimeContactAnalysisSegment' {}
- newRealtimeContactAnalysisSegment :: RealtimeContactAnalysisSegment
- realtimeContactAnalysisSegment_categories :: Lens' RealtimeContactAnalysisSegment (Maybe Categories)
- realtimeContactAnalysisSegment_transcript :: Lens' RealtimeContactAnalysisSegment (Maybe Transcript)
- data Transcript = Transcript' {}
- newTranscript :: Text -> Text -> Text -> Text -> Natural -> Natural -> SentimentValue -> Transcript
- transcript_issuesDetected :: Lens' Transcript (Maybe [IssueDetected])
- transcript_id :: Lens' Transcript Text
- transcript_participantId :: Lens' Transcript Text
- transcript_participantRole :: Lens' Transcript Text
- transcript_content :: Lens' Transcript Text
- transcript_beginOffsetMillis :: Lens' Transcript Natural
- transcript_endOffsetMillis :: Lens' Transcript Natural
- transcript_sentiment :: Lens' Transcript SentimentValue
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.
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request is not valid.
_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 #
pattern SentimentValue_NEGATIVE :: SentimentValue | |
pattern SentimentValue_NEUTRAL :: SentimentValue | |
pattern SentimentValue_POSITIVE :: SentimentValue |
Instances
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.
Categories' | |
|
Instances
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.
CategoryDetails' | |
|
Instances
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.
CharacterOffsets' | |
|
Instances
:: Natural | |
-> Natural | |
-> CharacterOffsets |
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.
characterOffsets_beginOffsetChar :: Lens' CharacterOffsets Natural Source #
The beginning of the issue.
characterOffsets_endOffsetChar :: Lens' CharacterOffsets Natural Source #
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.
IssueDetected' | |
|
Instances
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.
PointOfInterest' | |
|
Instances
:: Natural | |
-> Natural | |
-> PointOfInterest |
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.
RealtimeContactAnalysisSegment' | |
|
Instances
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.
realtimeContactAnalysisSegment_categories :: Lens' RealtimeContactAnalysisSegment (Maybe Categories) Source #
The matched category rules.
realtimeContactAnalysisSegment_transcript :: Lens' RealtimeContactAnalysisSegment (Maybe Transcript) Source #
The analyzed transcript.
Transcript
data Transcript Source #
A list of messages in the session.
See: newTranscript
smart constructor.
Transcript' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> Natural | |
-> Natural | |
-> SentimentValue | |
-> Transcript |
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.