Module aws_sdk_transcribe::types
source · Expand description
Data structures used by operation inputs/outputs.
Modules§
- Builders
- Error types that Amazon Transcribe Service can respond with.
Structs§
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 .
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.Contains details about a call analytics job, including information about skipped analytics features.
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.
Provides detailed information about a specific Call Analytics job.
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.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.
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).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.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.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.
-
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.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.
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.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
-
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.Indicates which speaker is on which channel. The options are
CLINICIANandPATIENTProvides 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.Provides detailed information about a specific Medical Scribe job.
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.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.Provides you with the Amazon S3 URI you can use to access your transcript.
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.Provides detailed information about a specific medical transcription job.
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.
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.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.
-
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 .
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.
-
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.
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.
Provides information about your subtitle file, including format, start index, and Amazon S3 location.
Contains
GenerateAbstractiveSummary, which is a required parameter if you want to enable Generative call summarization in your Call Analytics request.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.
Contains
ToxicityCategories, which is a required parameter if you want to enable toxicity detection (ToxicityDetection) in your transcription request.Provides you with the Amazon S3 URI you can use to access your transcript.
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.
-
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.Provides detailed information about a specific transcription job.
Provides information about a custom vocabulary filter, including the language of the filter, when it was last modified, and its name.
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§
- 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. 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.
- 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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. - 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.