| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ConnectContactLens.Lens
Description
Synopsis
- listRealtimeContactAnalysisSegments_maxResults :: Lens' ListRealtimeContactAnalysisSegments (Maybe Natural)
- listRealtimeContactAnalysisSegments_nextToken :: Lens' ListRealtimeContactAnalysisSegments (Maybe Text)
- listRealtimeContactAnalysisSegments_instanceId :: Lens' ListRealtimeContactAnalysisSegments Text
- listRealtimeContactAnalysisSegments_contactId :: Lens' ListRealtimeContactAnalysisSegments Text
- listRealtimeContactAnalysisSegmentsResponse_nextToken :: Lens' ListRealtimeContactAnalysisSegmentsResponse (Maybe Text)
- listRealtimeContactAnalysisSegmentsResponse_httpStatus :: Lens' ListRealtimeContactAnalysisSegmentsResponse Int
- listRealtimeContactAnalysisSegmentsResponse_segments :: Lens' ListRealtimeContactAnalysisSegmentsResponse [RealtimeContactAnalysisSegment]
- categories_matchedCategories :: Lens' Categories [Text]
- categories_matchedDetails :: Lens' Categories (HashMap Text CategoryDetails)
- categoryDetails_pointsOfInterest :: Lens' CategoryDetails [PointOfInterest]
- characterOffsets_beginOffsetChar :: Lens' CharacterOffsets Natural
- characterOffsets_endOffsetChar :: Lens' CharacterOffsets Natural
- issueDetected_characterOffsets :: Lens' IssueDetected CharacterOffsets
- pointOfInterest_beginOffsetMillis :: Lens' PointOfInterest Natural
- pointOfInterest_endOffsetMillis :: Lens' PointOfInterest Natural
- realtimeContactAnalysisSegment_categories :: Lens' RealtimeContactAnalysisSegment (Maybe Categories)
- realtimeContactAnalysisSegment_transcript :: Lens' RealtimeContactAnalysisSegment (Maybe 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
Operations
ListRealtimeContactAnalysisSegments
listRealtimeContactAnalysisSegments_maxResults :: Lens' ListRealtimeContactAnalysisSegments (Maybe Natural) Source #
The maximimum number of results to return per page.
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.
listRealtimeContactAnalysisSegments_instanceId :: Lens' ListRealtimeContactAnalysisSegments Text Source #
The identifier of the Amazon Connect instance.
listRealtimeContactAnalysisSegments_contactId :: Lens' ListRealtimeContactAnalysisSegments Text Source #
The identifier of the contact.
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.
listRealtimeContactAnalysisSegmentsResponse_httpStatus :: Lens' ListRealtimeContactAnalysisSegmentsResponse Int Source #
The response's http status code.
listRealtimeContactAnalysisSegmentsResponse_segments :: Lens' ListRealtimeContactAnalysisSegmentsResponse [RealtimeContactAnalysisSegment] Source #
An analyzed transcript or category.
Types
Categories
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
categoryDetails_pointsOfInterest :: Lens' CategoryDetails [PointOfInterest] Source #
The section of audio where the category rule was detected.
CharacterOffsets
characterOffsets_beginOffsetChar :: Lens' CharacterOffsets Natural Source #
The beginning of the issue.
characterOffsets_endOffsetChar :: Lens' CharacterOffsets Natural Source #
The end of the issue.
IssueDetected
issueDetected_characterOffsets :: Lens' IssueDetected CharacterOffsets Source #
The offset for when the issue was detected in the segment.
PointOfInterest
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
realtimeContactAnalysisSegment_categories :: Lens' RealtimeContactAnalysisSegment (Maybe Categories) Source #
The matched category rules.
realtimeContactAnalysisSegment_transcript :: Lens' RealtimeContactAnalysisSegment (Maybe Transcript) Source #
The analyzed transcript.
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.