Expand description
Data structures used by operation inputs/outputs.
Modules§
Structs§
- Alternative
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of
Items
,Entities
, orTranscript
.- Audio
Event A wrapper for your audio chunks. Your audio stream consists of one or more audio events, which consist of one or more audio chunks.
For more information, see Event stream encoding.
- Call
Analytics Entity Contains entities identified as personally identifiable information (PII) in your transcription output, along with various associated attributes. Examples include category, confidence score, content, type, and start and end times.
- Call
Analytics Item A word, phrase, or punctuation mark in your Call Analytics transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
- Category
Event Provides information on any
TranscriptFilterType
categories that matched your transcription output. Matches are identified for each segment upon completion of that segment.- Channel
Definition Makes it possible to specify which speaker is on which audio channel. For example, if your agent is the first participant to speak, you would set
ChannelId
to0
(to indicate the first channel) andParticipantRole
toAGENT
(to indicate that it's the agent speaking).- Character
Offsets Provides the location, using character count, in your transcript where a match is identified. For example, the location of an issue or a category match within a segment.
- Configuration
Event Allows you to set audio channel definitions and post-call analytics settings.
- Entity
Contains entities identified as personally identifiable information (PII) in your transcription output, along with various associated attributes. Examples include category, confidence score, type, stability score, and start and end times.
- Issue
Detected Lists the issues that were identified in your audio segment.
- Item
A word, phrase, or punctuation mark in your transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
- Language
With Score The language code that represents the language identified in your audio, including the associated confidence score. If you enabled channel identification in your request and each channel contained a different language, you will have more than one
LanguageWithScore
result.- Medical
Alternative A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of
Items
,Entities
, orTranscript
.- Medical
Entity Contains entities identified as personal health information (PHI) in your transcription output, along with various associated attributes. Examples include category, confidence score, type, stability score, and start and end times.
- Medical
Item A word, phrase, or punctuation mark in your transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
- Medical
Result The
Result
associated with a.
Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.
- Medical
Transcript The
MedicalTranscript
associated with a.
MedicalTranscript
containsResults
, which contains a set of transcription results from one or more audio segments, along with additional information per your request parameters.- Medical
Transcript Event The
MedicalTranscriptEvent
associated with aMedicalTranscriptResultStream
.Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters.
- Points
OfInterest Contains the timestamps of matched categories.
- Post
Call Analytics Settings Allows you to specify additional settings for your streaming Call Analytics post-call request, including output locations for your redacted and unredacted transcript, which IAM role to use, and, optionally, which encryption key to use.
ContentRedactionOutput
,DataAccessRoleArn
, andOutputLocation
are required fields.- Result
The
Result
associated with a.
Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.
- Timestamp
Range Contains the timestamp range (start time through end time) of a matched category.
- Transcript
The
Transcript
associated with a.
Transcript
containsResults
, which contains a set of transcription results from one or more audio segments, along with additional information per your request parameters.- Transcript
Event The
TranscriptEvent
associated with aTranscriptResultStream
.Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters.
- Utterance
Event Contains set of transcription results from one or more audio segments, along with additional information about the parameters included in your request. For example, channel definitions, partial result stabilization, sentiment, and issue detection.
Enums§
- Audio
Stream An encoded stream of audio blobs. Audio streams are encoded as either HTTP/2 or WebSocket data frames.
For more information, see Transcribing streaming audio.
- Call
Analytics Language Code - When writing a match expression against
CallAnalyticsLanguageCode
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Call
Analytics Transcript Result Stream Contains detailed information about your Call Analytics streaming session. These details are provided in the
UtteranceEvent
andCategoryEvent
objects.- Content
Identification Type - When writing a match expression against
ContentIdentificationType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Content
Redaction Output - When writing a match expression against
ContentRedactionOutput
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Content
Redaction Type - When writing a match expression against
ContentRedactionType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Item
Type - When writing a match expression against
ItemType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Language
Code - When writing a match expression against
LanguageCode
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Media
Encoding - When writing a match expression against
MediaEncoding
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Medical
Content Identification Type - When writing a match expression against
MedicalContentIdentificationType
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Medical
Transcript Result Stream Contains detailed information about your streaming session.
- Partial
Results Stability - When writing a match expression against
PartialResultsStability
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Participant
Role - When writing a match expression against
ParticipantRole
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Sentiment
- When writing a match expression against
Sentiment
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Specialty
- When writing a match expression against
Specialty
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Transcript
Result Stream Contains detailed information about your streaming session.
- Type
- When writing a match expression against
Type
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature. - Vocabulary
Filter Method - When writing a match expression against
VocabularyFilterMethod
, it is important to ensure your code is forward-compatible. That is, if a match arm handles a case for a feature that is supported by the service but has not been represented as an enum variant in a current version of SDK, your code should continue to work when you upgrade SDK to a future version in which the enum does include a variant for that feature.