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