Expand description
Data structures used by operation inputs/outputs.
Modules§
Structs§
- Absolute
Time Range A time range, in milliseconds, between two points in your media file.
You can use
StartTimeandEndTimeto search a custom segment. For example, settingStartTimeto 10000 andEndTimeto 50000 only searches for your specified criteria in the audio contained between the 10,000 millisecond mark and the 50,000 millisecond mark of your media file. You must useStartTimeandEndTimeas a set; that is, if you include one, you must include both.You can use also
Firstto search from the start of the audio until the time that you specify, orLastto search from the time that you specify until the end of the audio. For example, settingFirstto 50000 only searches for your specified criteria in the audio contained between the start of the media file to the 50,000 millisecond mark. You can useFirstandLastindependently of each other.If you prefer to use percentage instead of milliseconds, see .
- Call
Analytics Job Provides detailed information about a Call Analytics job.
To view the job's status, refer to
CallAnalyticsJobStatus. If the status isCOMPLETED, the job is finished. You can find your completed transcript at the URI specified inTranscriptFileUri. If the status isFAILED,FailureReasonprovides details on why your transcription job failed.If you enabled personally identifiable information (PII) redaction, the redacted transcript appears at the location specified in
RedactedTranscriptFileUri.If you chose to redact the audio in your media file, you can find your redacted media file at the location specified in the
RedactedMediaFileUrifield of your response.- Call
Analytics JobDetails Contains details about a call analytics job, including information about skipped analytics features.
- Call
Analytics JobSettings Provides additional optional settings for your request, including content redaction, automatic language identification; allows you to apply custom language models, custom vocabulary filters, and custom vocabularies.
- Call
Analytics JobSummary Provides detailed information about a specific Call Analytics job.
- Call
Analytics Skipped Feature Represents a skipped analytics feature during the analysis of a call analytics job.
The
Featurefield indicates the type of analytics feature that was skipped.The
Messagefield contains additional information or a message explaining why the analytics feature was skipped.The
ReasonCodefield provides a code indicating the reason why the analytics feature was skipped.- Category
Properties Provides you with the properties of the Call Analytics category you specified in your request. This includes the list of rules that define the specified category.
- Channel
Definition Makes it possible to specify which speaker is on which channel. For example, if your agent is the first participant to speak, you would set
ChannelIdto0(to indicate the first channel) andParticipantRoletoAGENT(to indicate that it's the agent speaking).- Clinical
Note Generation Settings The output configuration for clinical note generation.
- Content
Redaction Makes it possible to redact or flag specified personally identifiable information (PII) in your transcript. If you use
ContentRedaction, you must also include the sub-parameters:RedactionOutputandRedactionType. You can optionally includePiiEntityTypesto choose which types of PII you want to redact.- Input
Data Config Contains the Amazon S3 location of the training data you want to use to create a new custom language model, and permissions to access this location.
When using
InputDataConfig, you must include these sub-parameters:S3UriandDataAccessRoleArn. You can optionally includeTuningDataS3Uri.- Interruption
Filter Flag the presence or absence of interruptions in your Call Analytics transcription output.
Rules using
InterruptionFilterare designed to match:-
Instances where an agent interrupts a customer
-
Instances where a customer interrupts an agent
-
Either participant interrupting the other
-
A lack of interruptions
See Rule criteria for post-call categories for usage examples.
-
- JobExecution
Settings Makes it possible to control how your transcription job is processed. Currently, the only
JobExecutionSettingsmodification you can choose is enabling job queueing using theAllowDeferredExecutionsub-parameter.If you include
JobExecutionSettingsin your request, you must also include the sub-parameters:AllowDeferredExecutionandDataAccessRoleArn.- Language
Code Item Provides information on the speech contained in a discreet utterance when multi-language identification is enabled in your request. This utterance represents a block of speech consisting of one language, preceded or followed by a block of speech in a different language.
- Language
IdSettings If using automatic language identification in your request and you want to apply a custom language model, a custom vocabulary, or a custom vocabulary filter, include
LanguageIdSettingswith the relevant sub-parameters (VocabularyName,LanguageModelName, andVocabularyFilterName). Note that multi-language identification (IdentifyMultipleLanguages) doesn't support custom language models.LanguageIdSettingssupports two to five language codes. Each language code you include can have an associated custom language model, custom vocabulary, and custom vocabulary filter. The language codes that you specify must match the languages of the associated custom language models, custom vocabularies, and custom vocabulary filters.It's recommended that you include
LanguageOptionswhen usingLanguageIdSettingsto ensure that the correct language dialect is identified. For example, if you specify a custom vocabulary that is inen-USbut Amazon Transcribe determines that the language spoken in your media isen-AU, your custom vocabulary is not applied to your transcription. If you includeLanguageOptionsand includeen-USas the only English language dialect, your custom vocabulary is applied to your transcription.If you want to include a custom language model with your request but do not want to use automatic language identification, use instead the
parameter with theLanguageModelNamesub-parameter. If you want to include a custom vocabulary or a custom vocabulary filter (or both) with your request but do not want to use automatic language identification, use instead theparameter with theVocabularyNameorVocabularyFilterName(or both) sub-parameter.- Language
Model Provides information about a custom language model, including:
-
The base model name
-
When the model was created
-
The location of the files used to train the model
-
When the model was last modified
-
The name you chose for the model
-
The model's language
-
The model's processing state
-
Any available upgrades for the base model
-
- Media
Describes the Amazon S3 location of the media file you want to use in your request.
For information on supported media formats, refer to the
MediaFormatparameter or the Media formats section in the Amazon S3 Developer Guide.- Medical
Scribe Channel Definition Indicates which speaker is on which channel. The options are
CLINICIANandPATIENT- Medical
Scribe Context The
MedicalScribeContextobject that contains contextual information used to generate customized clinical notes.- Medical
Scribe Job Provides detailed information about a Medical Scribe job.
To view the status of the specified Medical Scribe job, check the
MedicalScribeJobStatusfield. If the status isCOMPLETED, the job is finished and you can find the results at the locations specified inMedicalScribeOutput. If the status isFAILED,FailureReasonprovides details on why your Medical Scribe job failed.- Medical
Scribe JobSummary Provides detailed information about a specific Medical Scribe job.
- Medical
Scribe Output The location of the output of your Medical Scribe job.
ClinicalDocumentUriholds the Amazon S3 URI for the Clinical Document andTranscriptFileUriholds the Amazon S3 URI for the Transcript.- Medical
Scribe Patient Context Contains patient-specific information used to customize the clinical note generation.
- Medical
Scribe Settings Makes it possible to control how your Medical Scribe job is processed using a
MedicalScribeSettingsobject. SpecifyChannelIdentificationifChannelDefinitionsare set. EnabledShowSpeakerLabelsifChannelIdentificationandChannelDefinitionsare not set. One and only one ofChannelIdentificationandShowSpeakerLabelsmust be set. IfShowSpeakerLabelsis set,MaxSpeakerLabelsmust also be set. UseSettingsto specify a vocabulary or vocabulary filter or both usingVocabularyName,VocabularyFilterName.VocabularyFilterMethodmust be specified ifVocabularyFilterNameis set.- Medical
Transcript Provides you with the Amazon S3 URI you can use to access your transcript.
- Medical
Transcription Job Provides detailed information about a medical transcription job.
To view the status of the specified medical transcription job, check the
TranscriptionJobStatusfield. If the status isCOMPLETED, the job is finished and you can find the results at the location specified inTranscriptFileUri. If the status isFAILED,FailureReasonprovides details on why your transcription job failed.- Medical
Transcription JobSummary Provides detailed information about a specific medical transcription job.
- Medical
Transcription Setting Allows additional optional settings in your request, including channel identification, alternative transcriptions, and speaker partitioning. You can use that to apply custom vocabularies to your medical transcription job.
- Model
Settings Provides the name of the custom language model that was included in the specified transcription job.
Only use
ModelSettingswith theLanguageModelNamesub-parameter if you're not using automatic language identification (). If usingLanguageIdSettingsin your request, this parameter contains aLanguageModelNamesub-parameter.- NonTalk
Time Filter Flag the presence or absence of periods of silence in your Call Analytics transcription output.
Rules using
NonTalkTimeFilterare designed to match:-
The presence of silence at specified periods throughout the call
-
The presence of speech at specified periods throughout the call
See Rule criteria for post-call categories for usage examples.
-
- Relative
Time Range A time range, in percentage, between two points in your media file.
You can use
StartPercentageandEndPercentageto search a custom segment. For example, settingStartPercentageto 10 andEndPercentageto 50 only searches for your specified criteria in the audio contained between the 10 percent mark and the 50 percent mark of your media file.You can use also
Firstto search from the start of the media file until the time that you specify. Or useLastto search from the time that you specify until the end of the media file. For example, settingFirstto 10 only searches for your specified criteria in the audio contained in the first 10 percent of the media file.If you prefer to use milliseconds instead of percentage, see .
- Sentiment
Filter Flag the presence or absence of specific sentiments detected in your Call Analytics transcription output.
Rules using
SentimentFilterare designed to match:-
The presence or absence of a positive sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a negative sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a neutral sentiment felt by the customer, agent, or both at specified points in the call
-
The presence or absence of a mixed sentiment felt by the customer, the agent, or both at specified points in the call
See Rule criteria for post-call categories for usage examples.
-
- Settings
Allows additional optional settings in your request, including channel identification, alternative transcriptions, and speaker partitioning. You can use that to apply custom vocabularies to your transcription job.
- Subtitles
Generate subtitles for your media file with your transcription request.
You can choose a start index of 0 or 1, and you can specify either WebVTT or SubRip (or both) as your output format.
Note that your subtitle files are placed in the same location as your transcription output.
- Subtitles
Output Provides information about your subtitle file, including format, start index, and Amazon S3 location.
- Summarization
Contains
GenerateAbstractiveSummary, which is a required parameter if you want to enable Generative call summarization in your Call Analytics request.- Tag
Adds metadata, in the form of a key:value pair, to the specified resource.
For example, you could add the tag
Department:Salesto a resource to indicate that it pertains to your organization's sales department. You can also use tags for tag-based access control.To learn more about tagging, see Tagging resources.
- Toxicity
Detection Settings Contains
ToxicityCategories, which is a required parameter if you want to enable toxicity detection (ToxicityDetection) in your transcription request.- Transcript
Provides you with the Amazon S3 URI you can use to access your transcript.
- Transcript
Filter Flag the presence or absence of specific words or phrases detected in your Call Analytics transcription output.
Rules using
TranscriptFilterare designed to match:-
Custom words or phrases spoken by the agent, the customer, or both
-
Custom words or phrases not spoken by the agent, the customer, or either
-
Custom words or phrases that occur at a specific time frame
See Rule criteria for post-call categories and Rule criteria for streaming categories for usage examples.
-
- Transcription
Job Provides detailed information about a transcription job.
To view the status of the specified transcription job, check the
TranscriptionJobStatusfield. If the status isCOMPLETED, the job is finished and you can find the results at the location specified inTranscriptFileUri. If the status isFAILED,FailureReasonprovides details on why your transcription job failed.If you enabled content redaction, the redacted transcript can be found at the location specified in
RedactedTranscriptFileUri.- Transcription
JobSummary Provides detailed information about a specific transcription job.
- Vocabulary
Filter Info Provides information about a custom vocabulary filter, including the language of the filter, when it was last modified, and its name.
- Vocabulary
Info Provides information about a custom vocabulary, including the language of the custom vocabulary, when it was last modified, its name, and the processing state.
Enums§
- Base
Model Name - When writing a match expression against
BaseModelName, 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 Feature - When writing a match expression against
CallAnalyticsFeature, 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 JobStatus - When writing a match expression against
CallAnalyticsJobStatus, 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 Skipped Reason Code - When writing a match expression against
CallAnalyticsSkippedReasonCode, 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. - ClmLanguage
Code - When writing a match expression against
ClmLanguageCode, 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. - Input
Type - When writing a match expression against
InputType, 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
Format - When writing a match expression against
MediaFormat, 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
Scribe JobStatus - When writing a match expression against
MedicalScribeJobStatus, 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
Scribe Language Code - When writing a match expression against
MedicalScribeLanguageCode, 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
Scribe Note Template - When writing a match expression against
MedicalScribeNoteTemplate, 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
Scribe Participant Role - When writing a match expression against
MedicalScribeParticipantRole, 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. - Model
Status - When writing a match expression against
ModelStatus, 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. - Output
Location Type - When writing a match expression against
OutputLocationType, 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. - PiiEntity
Type - When writing a match expression against
PiiEntityType, 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. - Pronouns
- When writing a match expression against
Pronouns, 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. - Redaction
Output - When writing a match expression against
RedactionOutput, 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. - Redaction
Type - When writing a match expression against
RedactionType, 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. - Rule
A rule is a set of criteria that you can specify to flag an attribute in your Call Analytics output. Rules define a Call Analytics category.
Rules can include these parameters: , , , and .
To learn more about Call Analytics rules and categories, see Creating categories for post-call transcriptions and Creating categories for real-time transcriptions.
To learn more about Call Analytics, see Analyzing call center audio with Call Analytics.
- Sentiment
Value - When writing a match expression against
SentimentValue, 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. - Subtitle
Format - When writing a match expression against
SubtitleFormat, 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. - Toxicity
Category - When writing a match expression against
ToxicityCategory, 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
Filter Type - When writing a match expression against
TranscriptFilterType, 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. - Transcription
JobStatus - When writing a match expression against
TranscriptionJobStatus, 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. - 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. - Vocabulary
State - When writing a match expression against
VocabularyState, 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.