Struct aws_sdk_transcribe::Client
source · pub struct Client { /* private fields */ }
Expand description
Client for Amazon Transcribe Service
Client for invoking operations on Amazon Transcribe Service. Each operation on Amazon Transcribe Service is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
§Constructing a Client
A Config
is required to construct a client. For most use cases, the aws-config
crate should be used to automatically resolve this config using
aws_config::load_from_env()
, since this will resolve an SdkConfig
which can be shared
across multiple different AWS SDK clients. This config resolution process can be customized
by calling aws_config::from_env()
instead, which returns a ConfigLoader
that uses
the builder pattern to customize the default config.
In the simplest case, creating a client looks as follows:
let config = aws_config::load_from_env().await;
let client = aws_sdk_transcribe::Client::new(&config);
Occasionally, SDKs may have additional service-specific values that can be set on the Config
that
is absent from SdkConfig
, or slightly different settings for a specific client may be desired.
The Config
struct implements From<&SdkConfig>
, so setting these specific settings can be
done as follows:
let sdk_config = ::aws_config::load_from_env().await;
let config = aws_sdk_transcribe::config::Builder::from(&sdk_config)
.some_service_specific_setting("value")
.build();
See the aws-config
docs and Config
for more information on customizing configuration.
Note: Client construction is expensive due to connection thread pool initialization, and should be done once at application start-up.
§Using the Client
A client has a function for every operation that can be performed by the service.
For example, the CreateCallAnalyticsCategory
operation has
a Client::create_call_analytics_category
, function which returns a builder for that operation.
The fluent builder ultimately has a send()
function that returns an async future that
returns a result, as illustrated below:
let result = client.create_call_analytics_category()
.category_name("example")
.send()
.await;
The underlying HTTP requests that get made by this can be modified with the customize_operation
function on the fluent builder. See the customize
module for more
information.
Implementations§
source§impl Client
impl Client
sourcepub fn create_call_analytics_category(
&self
) -> CreateCallAnalyticsCategoryFluentBuilder
pub fn create_call_analytics_category( &self ) -> CreateCallAnalyticsCategoryFluentBuilder
Constructs a fluent builder for the CreateCallAnalyticsCategory
operation.
- The fluent builder is configurable:
category_name(impl Into<String>)
/set_category_name(Option<String>)
:
required: trueA unique name, chosen by you, for your Call Analytics category. It’s helpful to use a detailed naming system that will make sense to you in the future. For example, it’s better to use
sentiment-positive-last30seconds
for a category over a generic name liketest-category
.Category names are case sensitive.
rules(Rule)
/set_rules(Option<Vec::<Rule>>)
:
required: trueRules define a Call Analytics category. When creating a new category, you must create between 1 and 20 rules for that category. For each rule, you specify a filter you want applied to the attributes of a call. For example, you can choose a sentiment filter that detects if a customer’s sentiment was positive during the last 30 seconds of the call.
input_type(InputType)
/set_input_type(Option<InputType>)
:
required: falseChoose whether you want to create a real-time or a post-call category for your Call Analytics transcription.
Specifying
POST_CALL
assigns your category to post-call transcriptions; categories with this input type cannot be applied to streaming (real-time) transcriptions.Specifying
REAL_TIME
assigns your category to streaming transcriptions; categories with this input type cannot be applied to post-call transcriptions.If you do not include
InputType
, your category is created as a post-call category by default.
- On success, responds with
CreateCallAnalyticsCategoryOutput
with field(s):category_properties(Option<CategoryProperties>)
:Provides you with the properties of your new category, including its associated rules.
- On failure, responds with
SdkError<CreateCallAnalyticsCategoryError>
source§impl Client
impl Client
sourcepub fn create_language_model(&self) -> CreateLanguageModelFluentBuilder
pub fn create_language_model(&self) -> CreateLanguageModelFluentBuilder
Constructs a fluent builder for the CreateLanguageModel
operation.
- The fluent builder is configurable:
language_code(ClmLanguageCode)
/set_language_code(Option<ClmLanguageCode>)
:
required: trueThe language code that represents the language of your model. Each custom language model must contain terms in only one language, and the language you select for your custom language model must match the language of your training and tuning data.
For a list of supported languages and their associated language codes, refer to the Supported languages table. Note that US English (
en-US
) is the only language supported with Amazon Transcribe Medical.A custom language model can only be used to transcribe files in the same language as the model. For example, if you create a custom language model using US English (
en-US
), you can only apply this model to files that contain English audio.base_model_name(BaseModelName)
/set_base_model_name(Option<BaseModelName>)
:
required: trueThe Amazon Transcribe standard language model, or base model, used to create your custom language model. Amazon Transcribe offers two options for base models: Wideband and Narrowband.
If the audio you want to transcribe has a sample rate of 16,000 Hz or greater, choose
WideBand
. To transcribe audio with a sample rate less than 16,000 Hz, chooseNarrowBand
.model_name(impl Into<String>)
/set_model_name(Option<String>)
:
required: trueA unique name, chosen by you, for your custom language model.
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new custom language model with the same name as an existing custom language model, you get a
ConflictException
error.input_data_config(InputDataConfig)
/set_input_data_config(Option<InputDataConfig>)
:
required: trueContains 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:S3Uri
, which is the Amazon S3 location of your training data, andDataAccessRoleArn
, which is the Amazon Resource Name (ARN) of the role that has permission to access your specified Amazon S3 location. You can optionally includeTuningDataS3Uri
, which is the Amazon S3 location of your tuning data. If you specify different Amazon S3 locations for training and tuning data, the ARN you use must have permissions to access both locations.tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseAdds one or more custom tags, each in the form of a key:value pair, to a new custom language model at the time you create this new model.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
- On success, responds with
CreateLanguageModelOutput
with field(s):language_code(Option<ClmLanguageCode>)
:The language code you selected for your custom language model.
base_model_name(Option<BaseModelName>)
:The Amazon Transcribe standard language model, or base model, you specified when creating your custom language model.
model_name(Option<String>)
:The name of your custom language model.
input_data_config(Option<InputDataConfig>)
:Lists your data access role ARN (Amazon Resource Name) and the Amazon S3 locations you provided for your training (
S3Uri
) and tuning (TuningDataS3Uri
) data.model_status(Option<ModelStatus>)
:The status of your custom language model. When the status displays as
COMPLETED
, your model is ready to use.
- On failure, responds with
SdkError<CreateLanguageModelError>
source§impl Client
impl Client
sourcepub fn create_medical_vocabulary(&self) -> CreateMedicalVocabularyFluentBuilder
pub fn create_medical_vocabulary(&self) -> CreateMedicalVocabularyFluentBuilder
Constructs a fluent builder for the CreateMedicalVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:
required: trueA unique name, chosen by you, for your new custom medical vocabulary.
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new custom medical vocabulary with the same name as an existing custom medical vocabulary, you get a
ConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:
required: trueThe language code that represents the language of the entries in your custom vocabulary. US English (
en-US
) is the only language supported with Amazon Transcribe Medical.vocabulary_file_uri(impl Into<String>)
/set_vocabulary_file_uri(Option<String>)
:
required: trueThe Amazon S3 location (URI) of the text file that contains your custom medical vocabulary. The URI must be in the same Amazon Web Services Region as the resource you’re calling.
Here’s an example URI path:
s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseAdds one or more custom tags, each in the form of a key:value pair, to a new custom medical vocabulary at the time you create this new custom vocabulary.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
- On success, responds with
CreateMedicalVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name you chose for your custom medical vocabulary.
language_code(Option<LanguageCode>)
:The language code you selected for your custom medical vocabulary. US English (
en-US
) is the only language supported with Amazon Transcribe Medical.vocabulary_state(Option<VocabularyState>)
:The processing state of your custom medical vocabulary. If the state is
READY
, you can use the custom vocabulary in aStartMedicalTranscriptionJob
request.last_modified_time(Option<DateTime>)
:The date and time you created your custom medical vocabulary.
Timestamps are in the format
YYYY-MM-DD’T’HH:MM:SS.SSSSSS-UTC
. For example,2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.failure_reason(Option<String>)
:If
VocabularyState
isFAILED
,FailureReason
contains information about why the medical transcription job request failed. See also: Common Errors.
- On failure, responds with
SdkError<CreateMedicalVocabularyError>
source§impl Client
impl Client
sourcepub fn create_vocabulary(&self) -> CreateVocabularyFluentBuilder
pub fn create_vocabulary(&self) -> CreateVocabularyFluentBuilder
Constructs a fluent builder for the CreateVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:
required: trueA unique name, chosen by you, for your new custom vocabulary.
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new custom vocabulary with the same name as an existing custom vocabulary, you get a
ConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:
required: trueThe language code that represents the language of the entries in your custom vocabulary. Each custom vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the custom vocabulary. For example, if you create a custom vocabulary using US English (
en-US
), you can only apply this custom vocabulary to files that contain English audio.For a list of supported languages and their associated language codes, refer to the Supported languages table.
phrases(impl Into<String>)
/set_phrases(Option<Vec::<String>>)
:
required: falseUse this parameter if you want to create your custom vocabulary by including all desired terms, as comma-separated values, within your request. The other option for creating your custom vocabulary is to save your entries in a text file and upload them to an Amazon S3 bucket, then specify the location of your file using the
VocabularyFileUri
parameter.Note that if you include
Phrases
in your request, you cannot useVocabularyFileUri
; you must choose one or the other.Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary filter request fails. Refer to Character Sets for Custom Vocabularies to get the character set for your language.
vocabulary_file_uri(impl Into<String>)
/set_vocabulary_file_uri(Option<String>)
:
required: falseThe Amazon S3 location of the text file that contains your custom vocabulary. The URI must be located in the same Amazon Web Services Region as the resource you’re calling.
Here’s an example URI path:
s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt
Note that if you include
VocabularyFileUri
in your request, you cannot use thePhrases
flag; you must choose one or the other.tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseAdds one or more custom tags, each in the form of a key:value pair, to a new custom vocabulary at the time you create this new custom vocabulary.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
data_access_role_arn(impl Into<String>)
/set_data_access_role_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files (in this case, your custom vocabulary). If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format
arn:partition:iam::account:role/role-name-with-path
. For example:arn:aws:iam::111122223333:role/Admin
.For more information, see IAM ARNs.
- On success, responds with
CreateVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name you chose for your custom vocabulary.
language_code(Option<LanguageCode>)
:The language code you selected for your custom vocabulary.
vocabulary_state(Option<VocabularyState>)
:The processing state of your custom vocabulary. If the state is
READY
, you can use the custom vocabulary in aStartTranscriptionJob
request.last_modified_time(Option<DateTime>)
:The date and time you created your custom vocabulary.
Timestamps are in the format
YYYY-MM-DD’T’HH:MM:SS.SSSSSS-UTC
. For example,2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.failure_reason(Option<String>)
:If
VocabularyState
isFAILED
,FailureReason
contains information about why the custom vocabulary request failed. See also: Common Errors.
- On failure, responds with
SdkError<CreateVocabularyError>
source§impl Client
impl Client
sourcepub fn create_vocabulary_filter(&self) -> CreateVocabularyFilterFluentBuilder
pub fn create_vocabulary_filter(&self) -> CreateVocabularyFilterFluentBuilder
Constructs a fluent builder for the CreateVocabularyFilter
operation.
- The fluent builder is configurable:
vocabulary_filter_name(impl Into<String>)
/set_vocabulary_filter_name(Option<String>)
:
required: trueA unique name, chosen by you, for your new custom vocabulary filter.
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new custom vocabulary filter with the same name as an existing custom vocabulary filter, you get a
ConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:
required: trueThe language code that represents the language of the entries in your vocabulary filter. Each custom vocabulary filter must contain terms in only one language.
A custom vocabulary filter can only be used to transcribe files in the same language as the filter. For example, if you create a custom vocabulary filter using US English (
en-US
), you can only apply this filter to files that contain English audio.For a list of supported languages and their associated language codes, refer to the Supported languages table.
words(impl Into<String>)
/set_words(Option<Vec::<String>>)
:
required: falseUse this parameter if you want to create your custom vocabulary filter by including all desired terms, as comma-separated values, within your request. The other option for creating your vocabulary filter is to save your entries in a text file and upload them to an Amazon S3 bucket, then specify the location of your file using the
VocabularyFilterFileUri
parameter.Note that if you include
Words
in your request, you cannot useVocabularyFilterFileUri
; you must choose one or the other.Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary filter request fails. Refer to Character Sets for Custom Vocabularies to get the character set for your language.
vocabulary_filter_file_uri(impl Into<String>)
/set_vocabulary_filter_file_uri(Option<String>)
:
required: falseThe Amazon S3 location of the text file that contains your custom vocabulary filter terms. The URI must be located in the same Amazon Web Services Region as the resource you’re calling.
Here’s an example URI path:
s3://DOC-EXAMPLE-BUCKET/my-vocab-filter-file.txt
Note that if you include
VocabularyFilterFileUri
in your request, you cannot useWords
; you must choose one or the other.tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseAdds one or more custom tags, each in the form of a key:value pair, to a new custom vocabulary filter at the time you create this new vocabulary filter.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
data_access_role_arn(impl Into<String>)
/set_data_access_role_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files (in this case, your custom vocabulary filter). If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format
arn:partition:iam::account:role/role-name-with-path
. For example:arn:aws:iam::111122223333:role/Admin
.For more information, see IAM ARNs.
- On success, responds with
CreateVocabularyFilterOutput
with field(s):vocabulary_filter_name(Option<String>)
:The name you chose for your custom vocabulary filter.
language_code(Option<LanguageCode>)
:The language code you selected for your custom vocabulary filter.
last_modified_time(Option<DateTime>)
:The date and time you created your custom vocabulary filter.
Timestamps are in the format
YYYY-MM-DD’T’HH:MM:SS.SSSSSS-UTC
. For example,2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
- On failure, responds with
SdkError<CreateVocabularyFilterError>
source§impl Client
impl Client
sourcepub fn delete_call_analytics_category(
&self
) -> DeleteCallAnalyticsCategoryFluentBuilder
pub fn delete_call_analytics_category( &self ) -> DeleteCallAnalyticsCategoryFluentBuilder
Constructs a fluent builder for the DeleteCallAnalyticsCategory
operation.
- The fluent builder is configurable:
category_name(impl Into<String>)
/set_category_name(Option<String>)
:
required: trueThe name of the Call Analytics category you want to delete. Category names are case sensitive.
- On success, responds with
DeleteCallAnalyticsCategoryOutput
- On failure, responds with
SdkError<DeleteCallAnalyticsCategoryError>
source§impl Client
impl Client
sourcepub fn delete_call_analytics_job(&self) -> DeleteCallAnalyticsJobFluentBuilder
pub fn delete_call_analytics_job(&self) -> DeleteCallAnalyticsJobFluentBuilder
Constructs a fluent builder for the DeleteCallAnalyticsJob
operation.
- The fluent builder is configurable:
call_analytics_job_name(impl Into<String>)
/set_call_analytics_job_name(Option<String>)
:
required: trueThe name of the Call Analytics job you want to delete. Job names are case sensitive.
- On success, responds with
DeleteCallAnalyticsJobOutput
- On failure, responds with
SdkError<DeleteCallAnalyticsJobError>
source§impl Client
impl Client
sourcepub fn delete_language_model(&self) -> DeleteLanguageModelFluentBuilder
pub fn delete_language_model(&self) -> DeleteLanguageModelFluentBuilder
Constructs a fluent builder for the DeleteLanguageModel
operation.
- The fluent builder is configurable:
model_name(impl Into<String>)
/set_model_name(Option<String>)
:
required: trueThe name of the custom language model you want to delete. Model names are case sensitive.
- On success, responds with
DeleteLanguageModelOutput
- On failure, responds with
SdkError<DeleteLanguageModelError>
source§impl Client
impl Client
sourcepub fn delete_medical_scribe_job(&self) -> DeleteMedicalScribeJobFluentBuilder
pub fn delete_medical_scribe_job(&self) -> DeleteMedicalScribeJobFluentBuilder
Constructs a fluent builder for the DeleteMedicalScribeJob
operation.
- The fluent builder is configurable:
medical_scribe_job_name(impl Into<String>)
/set_medical_scribe_job_name(Option<String>)
:
required: trueThe name of the Medical Scribe job you want to delete. Job names are case sensitive.
- On success, responds with
DeleteMedicalScribeJobOutput
- On failure, responds with
SdkError<DeleteMedicalScribeJobError>
source§impl Client
impl Client
sourcepub fn delete_medical_transcription_job(
&self
) -> DeleteMedicalTranscriptionJobFluentBuilder
pub fn delete_medical_transcription_job( &self ) -> DeleteMedicalTranscriptionJobFluentBuilder
Constructs a fluent builder for the DeleteMedicalTranscriptionJob
operation.
- The fluent builder is configurable:
medical_transcription_job_name(impl Into<String>)
/set_medical_transcription_job_name(Option<String>)
:
required: trueThe name of the medical transcription job you want to delete. Job names are case sensitive.
- On success, responds with
DeleteMedicalTranscriptionJobOutput
- On failure, responds with
SdkError<DeleteMedicalTranscriptionJobError>
source§impl Client
impl Client
sourcepub fn delete_medical_vocabulary(&self) -> DeleteMedicalVocabularyFluentBuilder
pub fn delete_medical_vocabulary(&self) -> DeleteMedicalVocabularyFluentBuilder
Constructs a fluent builder for the DeleteMedicalVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:
required: trueThe name of the custom medical vocabulary you want to delete. Custom medical vocabulary names are case sensitive.
- On success, responds with
DeleteMedicalVocabularyOutput
- On failure, responds with
SdkError<DeleteMedicalVocabularyError>
source§impl Client
impl Client
sourcepub fn delete_transcription_job(&self) -> DeleteTranscriptionJobFluentBuilder
pub fn delete_transcription_job(&self) -> DeleteTranscriptionJobFluentBuilder
Constructs a fluent builder for the DeleteTranscriptionJob
operation.
- The fluent builder is configurable:
transcription_job_name(impl Into<String>)
/set_transcription_job_name(Option<String>)
:
required: trueThe name of the transcription job you want to delete. Job names are case sensitive.
- On success, responds with
DeleteTranscriptionJobOutput
- On failure, responds with
SdkError<DeleteTranscriptionJobError>
source§impl Client
impl Client
sourcepub fn delete_vocabulary(&self) -> DeleteVocabularyFluentBuilder
pub fn delete_vocabulary(&self) -> DeleteVocabularyFluentBuilder
Constructs a fluent builder for the DeleteVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:
required: trueThe name of the custom vocabulary you want to delete. Custom vocabulary names are case sensitive.
- On success, responds with
DeleteVocabularyOutput
- On failure, responds with
SdkError<DeleteVocabularyError>
source§impl Client
impl Client
sourcepub fn delete_vocabulary_filter(&self) -> DeleteVocabularyFilterFluentBuilder
pub fn delete_vocabulary_filter(&self) -> DeleteVocabularyFilterFluentBuilder
Constructs a fluent builder for the DeleteVocabularyFilter
operation.
- The fluent builder is configurable:
vocabulary_filter_name(impl Into<String>)
/set_vocabulary_filter_name(Option<String>)
:
required: trueThe name of the custom vocabulary filter you want to delete. Custom vocabulary filter names are case sensitive.
- On success, responds with
DeleteVocabularyFilterOutput
- On failure, responds with
SdkError<DeleteVocabularyFilterError>
source§impl Client
impl Client
sourcepub fn describe_language_model(&self) -> DescribeLanguageModelFluentBuilder
pub fn describe_language_model(&self) -> DescribeLanguageModelFluentBuilder
Constructs a fluent builder for the DescribeLanguageModel
operation.
- The fluent builder is configurable:
model_name(impl Into<String>)
/set_model_name(Option<String>)
:
required: trueThe name of the custom language model you want information about. Model names are case sensitive.
- On success, responds with
DescribeLanguageModelOutput
with field(s):language_model(Option<LanguageModel>)
:Provides information about the specified custom language model.
This parameter also shows if the base language model you used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model.
If you tried to create a new custom language model and the request wasn’t successful, you can use this
DescribeLanguageModel
to help identify the reason for this failure.
- On failure, responds with
SdkError<DescribeLanguageModelError>
source§impl Client
impl Client
sourcepub fn get_call_analytics_category(
&self
) -> GetCallAnalyticsCategoryFluentBuilder
pub fn get_call_analytics_category( &self ) -> GetCallAnalyticsCategoryFluentBuilder
Constructs a fluent builder for the GetCallAnalyticsCategory
operation.
- The fluent builder is configurable:
category_name(impl Into<String>)
/set_category_name(Option<String>)
:
required: trueThe name of the Call Analytics category you want information about. Category names are case sensitive.
- On success, responds with
GetCallAnalyticsCategoryOutput
with field(s):category_properties(Option<CategoryProperties>)
:Provides you with the properties of the Call Analytics category you specified in your
GetCallAnalyticsCategory
request.
- On failure, responds with
SdkError<GetCallAnalyticsCategoryError>
source§impl Client
impl Client
sourcepub fn get_call_analytics_job(&self) -> GetCallAnalyticsJobFluentBuilder
pub fn get_call_analytics_job(&self) -> GetCallAnalyticsJobFluentBuilder
Constructs a fluent builder for the GetCallAnalyticsJob
operation.
- The fluent builder is configurable:
call_analytics_job_name(impl Into<String>)
/set_call_analytics_job_name(Option<String>)
:
required: trueThe name of the Call Analytics job you want information about. Job names are case sensitive.
- On success, responds with
GetCallAnalyticsJobOutput
with field(s):call_analytics_job(Option<CallAnalyticsJob>)
:Provides detailed information about the specified Call Analytics job, including job status and, if applicable, failure reason.
- On failure, responds with
SdkError<GetCallAnalyticsJobError>
source§impl Client
impl Client
sourcepub fn get_medical_scribe_job(&self) -> GetMedicalScribeJobFluentBuilder
pub fn get_medical_scribe_job(&self) -> GetMedicalScribeJobFluentBuilder
Constructs a fluent builder for the GetMedicalScribeJob
operation.
- The fluent builder is configurable:
medical_scribe_job_name(impl Into<String>)
/set_medical_scribe_job_name(Option<String>)
:
required: trueThe name of the Medical Scribe job you want information about. Job names are case sensitive.
- On success, responds with
GetMedicalScribeJobOutput
with field(s):medical_scribe_job(Option<MedicalScribeJob>)
:Provides detailed information about the specified Medical Scribe job, including job status and, if applicable, failure reason
- On failure, responds with
SdkError<GetMedicalScribeJobError>
source§impl Client
impl Client
sourcepub fn get_medical_transcription_job(
&self
) -> GetMedicalTranscriptionJobFluentBuilder
pub fn get_medical_transcription_job( &self ) -> GetMedicalTranscriptionJobFluentBuilder
Constructs a fluent builder for the GetMedicalTranscriptionJob
operation.
- The fluent builder is configurable:
medical_transcription_job_name(impl Into<String>)
/set_medical_transcription_job_name(Option<String>)
:
required: trueThe name of the medical transcription job you want information about. Job names are case sensitive.
- On success, responds with
GetMedicalTranscriptionJobOutput
with field(s):medical_transcription_job(Option<MedicalTranscriptionJob>)
:Provides detailed information about the specified medical transcription job, including job status and, if applicable, failure reason.
- On failure, responds with
SdkError<GetMedicalTranscriptionJobError>
source§impl Client
impl Client
sourcepub fn get_medical_vocabulary(&self) -> GetMedicalVocabularyFluentBuilder
pub fn get_medical_vocabulary(&self) -> GetMedicalVocabularyFluentBuilder
Constructs a fluent builder for the GetMedicalVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:
required: trueThe name of the custom medical vocabulary you want information about. Custom medical vocabulary names are case sensitive.
- On success, responds with
GetMedicalVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name of the custom medical vocabulary you requested information about.
language_code(Option<LanguageCode>)
:The language code you selected for your custom medical vocabulary. US English (
en-US
) is the only language supported with Amazon Transcribe Medical.vocabulary_state(Option<VocabularyState>)
:The processing state of your custom medical vocabulary. If the state is
READY
, you can use the custom vocabulary in aStartMedicalTranscriptionJob
request.last_modified_time(Option<DateTime>)
:The date and time the specified custom medical vocabulary was last modified.
Timestamps are in the format
YYYY-MM-DD’T’HH:MM:SS.SSSSSS-UTC
. For example,2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.failure_reason(Option<String>)
:If
VocabularyState
isFAILED
,FailureReason
contains information about why the custom medical vocabulary request failed. See also: Common Errors.download_uri(Option<String>)
:The Amazon S3 location where the specified custom medical vocabulary is stored; use this URI to view or download the custom vocabulary.
- On failure, responds with
SdkError<GetMedicalVocabularyError>
source§impl Client
impl Client
sourcepub fn get_transcription_job(&self) -> GetTranscriptionJobFluentBuilder
pub fn get_transcription_job(&self) -> GetTranscriptionJobFluentBuilder
Constructs a fluent builder for the GetTranscriptionJob
operation.
- The fluent builder is configurable:
transcription_job_name(impl Into<String>)
/set_transcription_job_name(Option<String>)
:
required: trueThe name of the transcription job you want information about. Job names are case sensitive.
- On success, responds with
GetTranscriptionJobOutput
with field(s):transcription_job(Option<TranscriptionJob>)
:Provides detailed information about the specified transcription job, including job status and, if applicable, failure reason.
- On failure, responds with
SdkError<GetTranscriptionJobError>
source§impl Client
impl Client
sourcepub fn get_vocabulary(&self) -> GetVocabularyFluentBuilder
pub fn get_vocabulary(&self) -> GetVocabularyFluentBuilder
Constructs a fluent builder for the GetVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:
required: trueThe name of the custom vocabulary you want information about. Custom vocabulary names are case sensitive.
- On success, responds with
GetVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name of the custom vocabulary you requested information about.
language_code(Option<LanguageCode>)
:The language code you selected for your custom vocabulary.
vocabulary_state(Option<VocabularyState>)
:The processing state of your custom vocabulary. If the state is
READY
, you can use the custom vocabulary in aStartTranscriptionJob
request.last_modified_time(Option<DateTime>)
:The date and time the specified custom vocabulary was last modified.
Timestamps are in the format
YYYY-MM-DD’T’HH:MM:SS.SSSSSS-UTC
. For example,2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.failure_reason(Option<String>)
:If
VocabularyState
isFAILED
,FailureReason
contains information about why the custom vocabulary request failed. See also: Common Errors.download_uri(Option<String>)
:The Amazon S3 location where the custom vocabulary is stored; use this URI to view or download the custom vocabulary.
- On failure, responds with
SdkError<GetVocabularyError>
source§impl Client
impl Client
sourcepub fn get_vocabulary_filter(&self) -> GetVocabularyFilterFluentBuilder
pub fn get_vocabulary_filter(&self) -> GetVocabularyFilterFluentBuilder
Constructs a fluent builder for the GetVocabularyFilter
operation.
- The fluent builder is configurable:
vocabulary_filter_name(impl Into<String>)
/set_vocabulary_filter_name(Option<String>)
:
required: trueThe name of the custom vocabulary filter you want information about. Custom vocabulary filter names are case sensitive.
- On success, responds with
GetVocabularyFilterOutput
with field(s):vocabulary_filter_name(Option<String>)
:The name of the custom vocabulary filter you requested information about.
language_code(Option<LanguageCode>)
:The language code you selected for your custom vocabulary filter.
last_modified_time(Option<DateTime>)
:The date and time the specified custom vocabulary filter was last modified.
Timestamps are in the format
YYYY-MM-DD’T’HH:MM:SS.SSSSSS-UTC
. For example,2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.download_uri(Option<String>)
:The Amazon S3 location where the custom vocabulary filter is stored; use this URI to view or download the custom vocabulary filter.
- On failure, responds with
SdkError<GetVocabularyFilterError>
source§impl Client
impl Client
sourcepub fn list_call_analytics_categories(
&self
) -> ListCallAnalyticsCategoriesFluentBuilder
pub fn list_call_analytics_categories( &self ) -> ListCallAnalyticsCategoriesFluentBuilder
Constructs a fluent builder for the ListCallAnalyticsCategories
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIf your
ListCallAnalyticsCategories
request returns more results than can be displayed,NextToken
is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextToken
with the value of the copied string. Repeat as needed to view all your results.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of Call Analytics categories to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
- On success, responds with
ListCallAnalyticsCategoriesOutput
with field(s):next_token(Option<String>)
:If
NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextToken
parameter in your results output, then run your request again includingNextToken
with the value of the copied string. Repeat as needed to view all your results.categories(Option<Vec::<CategoryProperties>>)
:Provides detailed information about your Call Analytics categories, including all the rules associated with each category.
- On failure, responds with
SdkError<ListCallAnalyticsCategoriesError>
source§impl Client
impl Client
sourcepub fn list_call_analytics_jobs(&self) -> ListCallAnalyticsJobsFluentBuilder
pub fn list_call_analytics_jobs(&self) -> ListCallAnalyticsJobsFluentBuilder
Constructs a fluent builder for the ListCallAnalyticsJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
status(CallAnalyticsJobStatus)
/set_status(Option<CallAnalyticsJobStatus>)
:
required: falseReturns only Call Analytics jobs with the specified status. Jobs are ordered by creation date, with the newest job first. If you do not include
Status
, all Call Analytics jobs are returned.job_name_contains(impl Into<String>)
/set_job_name_contains(Option<String>)
:
required: falseReturns only the Call Analytics jobs that contain the specified string. The search is not case sensitive.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIf your
ListCallAnalyticsJobs
request returns more results than can be displayed,NextToken
is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextToken
with the value of the copied string. Repeat as needed to view all your results.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of Call Analytics jobs to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
- On success, responds with
ListCallAnalyticsJobsOutput
with field(s):status(Option<CallAnalyticsJobStatus>)
:Lists all Call Analytics jobs that have the status specified in your request. Jobs are ordered by creation date, with the newest job first.
next_token(Option<String>)
:If
NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextToken
parameter in your results output, then run your request again includingNextToken
with the value of the copied string. Repeat as needed to view all your results.call_analytics_job_summaries(Option<Vec::<CallAnalyticsJobSummary>>)
:Provides a summary of information about each result.
- On failure, responds with
SdkError<ListCallAnalyticsJobsError>
source§impl Client
impl Client
sourcepub fn list_language_models(&self) -> ListLanguageModelsFluentBuilder
pub fn list_language_models(&self) -> ListLanguageModelsFluentBuilder
Constructs a fluent builder for the ListLanguageModels
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
status_equals(ModelStatus)
/set_status_equals(Option<ModelStatus>)
:
required: falseReturns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not include
StatusEquals
, all custom language models are returned.name_contains(impl Into<String>)
/set_name_contains(Option<String>)
:
required: falseReturns only the custom language models that contain the specified string. The search is not case sensitive.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIf your
ListLanguageModels
request returns more results than can be displayed,NextToken
is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextToken
with the value of the copied string. Repeat as needed to view all your results.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of custom language models to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
- On success, responds with
ListLanguageModelsOutput
with field(s):next_token(Option<String>)
:If
NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextToken
parameter in your results output, then run your request again includingNextToken
with the value of the copied string. Repeat as needed to view all your results.models(Option<Vec::<LanguageModel>>)
:Provides information about the custom language models that match the criteria specified in your request.
- On failure, responds with
SdkError<ListLanguageModelsError>
source§impl Client
impl Client
sourcepub fn list_medical_scribe_jobs(&self) -> ListMedicalScribeJobsFluentBuilder
pub fn list_medical_scribe_jobs(&self) -> ListMedicalScribeJobsFluentBuilder
Constructs a fluent builder for the ListMedicalScribeJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
status(MedicalScribeJobStatus)
/set_status(Option<MedicalScribeJobStatus>)
:
required: falseReturns only Medical Scribe jobs with the specified status. Jobs are ordered by creation date, with the newest job first. If you do not include
Status
, all Medical Scribe jobs are returned.job_name_contains(impl Into<String>)
/set_job_name_contains(Option<String>)
:
required: falseReturns only the Medical Scribe jobs that contain the specified string. The search is not case sensitive.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIf your
ListMedicalScribeJobs
request returns more results than can be displayed,NextToken
is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextToken
with the value of the copied string. Repeat as needed to view all your results.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of Medical Scribe jobs to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
- On success, responds with
ListMedicalScribeJobsOutput
with field(s):status(Option<MedicalScribeJobStatus>)
:Lists all Medical Scribe jobs that have the status specified in your request. Jobs are ordered by creation date, with the newest job first.
next_token(Option<String>)
:If
NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextToken
parameter in your results output, then run your request again includingNextToken
with the value of the copied string. Repeat as needed to view all your results.medical_scribe_job_summaries(Option<Vec::<MedicalScribeJobSummary>>)
:Provides a summary of information about each result.
- On failure, responds with
SdkError<ListMedicalScribeJobsError>
source§impl Client
impl Client
sourcepub fn list_medical_transcription_jobs(
&self
) -> ListMedicalTranscriptionJobsFluentBuilder
pub fn list_medical_transcription_jobs( &self ) -> ListMedicalTranscriptionJobsFluentBuilder
Constructs a fluent builder for the ListMedicalTranscriptionJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
status(TranscriptionJobStatus)
/set_status(Option<TranscriptionJobStatus>)
:
required: falseReturns only medical transcription jobs with the specified status. Jobs are ordered by creation date, with the newest job first. If you do not include
Status
, all medical transcription jobs are returned.job_name_contains(impl Into<String>)
/set_job_name_contains(Option<String>)
:
required: falseReturns only the medical transcription jobs that contain the specified string. The search is not case sensitive.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIf your
ListMedicalTranscriptionJobs
request returns more results than can be displayed,NextToken
is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextToken
with the value of the copied string. Repeat as needed to view all your results.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of medical transcription jobs to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
- On success, responds with
ListMedicalTranscriptionJobsOutput
with field(s):status(Option<TranscriptionJobStatus>)
:Lists all medical transcription jobs that have the status specified in your request. Jobs are ordered by creation date, with the newest job first.
next_token(Option<String>)
:If
NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextToken
parameter in your results output, then run your request again includingNextToken
with the value of the copied string. Repeat as needed to view all your results.medical_transcription_job_summaries(Option<Vec::<MedicalTranscriptionJobSummary>>)
:Provides a summary of information about each result.
- On failure, responds with
SdkError<ListMedicalTranscriptionJobsError>
source§impl Client
impl Client
sourcepub fn list_medical_vocabularies(&self) -> ListMedicalVocabulariesFluentBuilder
pub fn list_medical_vocabularies(&self) -> ListMedicalVocabulariesFluentBuilder
Constructs a fluent builder for the ListMedicalVocabularies
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIf your
ListMedicalVocabularies
request returns more results than can be displayed,NextToken
is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextToken
with the value of the copied string. Repeat as needed to view all your results.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of custom medical vocabularies to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
state_equals(VocabularyState)
/set_state_equals(Option<VocabularyState>)
:
required: falseReturns only custom medical vocabularies with the specified state. Custom vocabularies are ordered by creation date, with the newest vocabulary first. If you do not include
StateEquals
, all custom medical vocabularies are returned.name_contains(impl Into<String>)
/set_name_contains(Option<String>)
:
required: falseReturns only the custom medical vocabularies that contain the specified string. The search is not case sensitive.
- On success, responds with
ListMedicalVocabulariesOutput
with field(s):status(Option<VocabularyState>)
:Lists all custom medical vocabularies that have the status specified in your request. Custom vocabularies are ordered by creation date, with the newest vocabulary first.
next_token(Option<String>)
:If
NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextToken
parameter in your results output, then run your request again includingNextToken
with the value of the copied string. Repeat as needed to view all your results.vocabularies(Option<Vec::<VocabularyInfo>>)
:Provides information about the custom medical vocabularies that match the criteria specified in your request.
- On failure, responds with
SdkError<ListMedicalVocabulariesError>
source§impl Client
impl Client
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueReturns a list of all tags associated with the specified Amazon Resource Name (ARN). ARNs have the format
arn:partition:service:region:account-id:resource-type/resource-id
.For example,
arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name
.Valid values for
resource-type
are:transcription-job
,medical-transcription-job
,vocabulary
,medical-vocabulary
,vocabulary-filter
, andlanguage-model
.
- On success, responds with
ListTagsForResourceOutput
with field(s):resource_arn(Option<String>)
:The Amazon Resource Name (ARN) specified in your request.
tags(Option<Vec::<Tag>>)
:Lists all tags associated with the given transcription job, vocabulary, model, or resource.
- On failure, responds with
SdkError<ListTagsForResourceError>
source§impl Client
impl Client
sourcepub fn list_transcription_jobs(&self) -> ListTranscriptionJobsFluentBuilder
pub fn list_transcription_jobs(&self) -> ListTranscriptionJobsFluentBuilder
Constructs a fluent builder for the ListTranscriptionJobs
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
status(TranscriptionJobStatus)
/set_status(Option<TranscriptionJobStatus>)
:
required: falseReturns only transcription jobs with the specified status. Jobs are ordered by creation date, with the newest job first. If you do not include
Status
, all transcription jobs are returned.job_name_contains(impl Into<String>)
/set_job_name_contains(Option<String>)
:
required: falseReturns only the transcription jobs that contain the specified string. The search is not case sensitive.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIf your
ListTranscriptionJobs
request returns more results than can be displayed,NextToken
is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextToken
with the value of the copied string. Repeat as needed to view all your results.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of transcription jobs to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
- On success, responds with
ListTranscriptionJobsOutput
with field(s):status(Option<TranscriptionJobStatus>)
:Lists all transcription jobs that have the status specified in your request. Jobs are ordered by creation date, with the newest job first.
next_token(Option<String>)
:If
NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextToken
parameter in your results output, then run your request again includingNextToken
with the value of the copied string. Repeat as needed to view all your results.transcription_job_summaries(Option<Vec::<TranscriptionJobSummary>>)
:Provides a summary of information about each result.
- On failure, responds with
SdkError<ListTranscriptionJobsError>
source§impl Client
impl Client
sourcepub fn list_vocabularies(&self) -> ListVocabulariesFluentBuilder
pub fn list_vocabularies(&self) -> ListVocabulariesFluentBuilder
Constructs a fluent builder for the ListVocabularies
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIf your
ListVocabularies
request returns more results than can be displayed,NextToken
is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextToken
with the value of the copied string. Repeat as needed to view all your results.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of custom vocabularies to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
state_equals(VocabularyState)
/set_state_equals(Option<VocabularyState>)
:
required: falseReturns only custom vocabularies with the specified state. Vocabularies are ordered by creation date, with the newest vocabulary first. If you do not include
StateEquals
, all custom medical vocabularies are returned.name_contains(impl Into<String>)
/set_name_contains(Option<String>)
:
required: falseReturns only the custom vocabularies that contain the specified string. The search is not case sensitive.
- On success, responds with
ListVocabulariesOutput
with field(s):status(Option<VocabularyState>)
:Lists all custom vocabularies that have the status specified in your request. Vocabularies are ordered by creation date, with the newest vocabulary first.
next_token(Option<String>)
:If
NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextToken
parameter in your results output, then run your request again includingNextToken
with the value of the copied string. Repeat as needed to view all your results.vocabularies(Option<Vec::<VocabularyInfo>>)
:Provides information about the custom vocabularies that match the criteria specified in your request.
- On failure, responds with
SdkError<ListVocabulariesError>
source§impl Client
impl Client
sourcepub fn list_vocabulary_filters(&self) -> ListVocabularyFiltersFluentBuilder
pub fn list_vocabulary_filters(&self) -> ListVocabularyFiltersFluentBuilder
Constructs a fluent builder for the ListVocabularyFilters
operation.
This operation supports pagination; See into_paginator()
.
- The fluent builder is configurable:
next_token(impl Into<String>)
/set_next_token(Option<String>)
:
required: falseIf your
ListVocabularyFilters
request returns more results than can be displayed,NextToken
is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, includingNextToken
with the value of the copied string. Repeat as needed to view all your results.max_results(i32)
/set_max_results(Option<i32>)
:
required: falseThe maximum number of custom vocabulary filters to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
name_contains(impl Into<String>)
/set_name_contains(Option<String>)
:
required: falseReturns only the custom vocabulary filters that contain the specified string. The search is not case sensitive.
- On success, responds with
ListVocabularyFiltersOutput
with field(s):next_token(Option<String>)
:If
NextToken
is present in your response, it indicates that not all results are displayed. To view the next set of results, copy the string associated with theNextToken
parameter in your results output, then run your request again includingNextToken
with the value of the copied string. Repeat as needed to view all your results.vocabulary_filters(Option<Vec::<VocabularyFilterInfo>>)
:Provides information about the custom vocabulary filters that match the criteria specified in your request.
- On failure, responds with
SdkError<ListVocabularyFiltersError>
source§impl Client
impl Client
sourcepub fn start_call_analytics_job(&self) -> StartCallAnalyticsJobFluentBuilder
pub fn start_call_analytics_job(&self) -> StartCallAnalyticsJobFluentBuilder
Constructs a fluent builder for the StartCallAnalyticsJob
operation.
- The fluent builder is configurable:
call_analytics_job_name(impl Into<String>)
/set_call_analytics_job_name(Option<String>)
:
required: trueA unique name, chosen by you, for your Call Analytics job.
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new job with the same name as an existing job, you get a
ConflictException
error.media(Media)
/set_media(Option<Media>)
:
required: trueDescribes the Amazon S3 location of the media file you want to use in your Call Analytics request.
output_location(impl Into<String>)
/set_output_location(Option<String>)
:
required: falseThe Amazon S3 location where you want your Call Analytics transcription output stored. You can use any of the following formats to specify the output location:
-
s3://DOC-EXAMPLE-BUCKET
-
s3://DOC-EXAMPLE-BUCKET/my-output-folder/
-
s3://DOC-EXAMPLE-BUCKET/my-output-folder/my-call-analytics-job.json
Unless you specify a file name (option 3), the name of your output file has a default value that matches the name you specified for your transcription job using the
CallAnalyticsJobName
parameter.You can specify a KMS key to encrypt your output using the
OutputEncryptionKMSKeyId
parameter. If you do not specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side encryption.If you do not specify
OutputLocation
, your transcript is placed in a service-managed Amazon S3 bucket and you are provided with a URI to access your transcript.-
output_encryption_kms_key_id(impl Into<String>)
/set_output_encryption_kms_key_id(Option<String>)
:
required: falseThe KMS key you want to use to encrypt your Call Analytics output.
If using a key located in the current Amazon Web Services account, you can specify your KMS key in one of four ways:
-
Use the KMS key ID itself. For example,
1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use an alias for the KMS key ID. For example,
alias/ExampleAlias
. -
Use the Amazon Resource Name (ARN) for the KMS key ID. For example,
arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use the ARN for the KMS key alias. For example,
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different Amazon Web Services account than the current Amazon Web Services account, you can specify your KMS key in one of two ways:
-
Use the ARN for the KMS key ID. For example,
arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use the ARN for the KMS key alias. For example,
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3).
If you specify a KMS key to encrypt your output, you must also specify an output location using the
OutputLocation
parameter.Note that the role making the request must have permission to use the specified KMS key.
-
data_access_role_arn(impl Into<String>)
/set_data_access_role_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files. If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format
arn:partition:iam::account:role/role-name-with-path
. For example:arn:aws:iam::111122223333:role/Admin
.For more information, see IAM ARNs.
settings(CallAnalyticsJobSettings)
/set_settings(Option<CallAnalyticsJobSettings>)
:
required: falseSpecify additional optional settings in your request, including content redaction; allows you to apply custom language models, vocabulary filters, and custom vocabularies to your Call Analytics job.
channel_definitions(ChannelDefinition)
/set_channel_definitions(Option<Vec::<ChannelDefinition>>)
:
required: falseMakes it possible to specify which speaker is on which 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).
- On success, responds with
StartCallAnalyticsJobOutput
with field(s):call_analytics_job(Option<CallAnalyticsJob>)
:Provides detailed information about the current Call Analytics job, including job status and, if applicable, failure reason.
- On failure, responds with
SdkError<StartCallAnalyticsJobError>
source§impl Client
impl Client
sourcepub fn start_medical_scribe_job(&self) -> StartMedicalScribeJobFluentBuilder
pub fn start_medical_scribe_job(&self) -> StartMedicalScribeJobFluentBuilder
Constructs a fluent builder for the StartMedicalScribeJob
operation.
- The fluent builder is configurable:
medical_scribe_job_name(impl Into<String>)
/set_medical_scribe_job_name(Option<String>)
:
required: trueA unique name, chosen by you, for your Medical Scribe job.
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new job with the same name as an existing job, you get a
ConflictException
error.media(Media)
/set_media(Option<Media>)
:
required: trueDescribes the Amazon S3 location of the media file you want to use in your request.
For information on supported media formats, refer to the
MediaFormat
parameter or the Media formats section in the Amazon S3 Developer Guide.output_bucket_name(impl Into<String>)
/set_output_bucket_name(Option<String>)
:
required: trueThe name of the Amazon S3 bucket where you want your Medical Scribe output stored. Do not include the
S3://
prefix of the specified bucket.Note that the role specified in the
DataAccessRoleArn
request parameter must have permission to use the specified location. You can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.output_encryption_kms_key_id(impl Into<String>)
/set_output_encryption_kms_key_id(Option<String>)
:
required: falseThe KMS key you want to use to encrypt your Medical Scribe output.
If using a key located in the current Amazon Web Services account, you can specify your KMS key in one of four ways:
-
Use the KMS key ID itself. For example,
1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use an alias for the KMS key ID. For example,
alias/ExampleAlias
. -
Use the Amazon Resource Name (ARN) for the KMS key ID. For example,
arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use the ARN for the KMS key alias. For example,
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different Amazon Web Services account than the current Amazon Web Services account, you can specify your KMS key in one of two ways:
-
Use the ARN for the KMS key ID. For example,
arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use the ARN for the KMS key alias. For example,
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3).
Note that the role specified in the
DataAccessRoleArn
request parameter must have permission to use the specified KMS key.-
kms_encryption_context(impl Into<String>, impl Into<String>)
/set_kms_encryption_context(Option<HashMap::<String, String>>)
:
required: falseA map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS.
data_access_role_arn(impl Into<String>)
/set_data_access_role_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files, write to the output bucket, and use your KMS key if supplied. If the role that you specify doesn’t have the appropriate permissions your request fails.
IAM role ARNs have the format
arn:partition:iam::account:role/role-name-with-path
. For example:arn:aws:iam::111122223333:role/Admin
.For more information, see IAM ARNs.
settings(MedicalScribeSettings)
/set_settings(Option<MedicalScribeSettings>)
:
required: trueMakes it possible to control how your Medical Scribe job is processed using a
MedicalScribeSettings
object. SpecifyChannelIdentification
ifChannelDefinitions
are set. EnabledShowSpeakerLabels
ifChannelIdentification
andChannelDefinitions
are not set. One and only one ofChannelIdentification
andShowSpeakerLabels
must be set. IfShowSpeakerLabels
is set,MaxSpeakerLabels
must also be set. UseSettings
to specify a vocabulary or vocabulary filter or both usingVocabularyName
,VocabularyFilterName
.VocabularyFilterMethod
must be specified ifVocabularyFilterName
is set.channel_definitions(MedicalScribeChannelDefinition)
/set_channel_definitions(Option<Vec::<MedicalScribeChannelDefinition>>)
:
required: falseMakes it possible to specify which speaker is on which channel. For example, if the clinician is the first participant to speak, you would set
ChannelId
of the firstChannelDefinition
in the list to0
(to indicate the first channel) andParticipantRole
toCLINICIAN
(to indicate that it’s the clinician speaking). Then you would set theChannelId
of the secondChannelDefinition
in the list to1
(to indicate the second channel) andParticipantRole
toPATIENT
(to indicate that it’s the patient speaking).tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseAdds one or more custom tags, each in the form of a key:value pair, to the Medica Scribe job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
- On success, responds with
StartMedicalScribeJobOutput
with field(s):medical_scribe_job(Option<MedicalScribeJob>)
:Provides detailed information about the current Medical Scribe job, including job status and, if applicable, failure reason.
- On failure, responds with
SdkError<StartMedicalScribeJobError>
source§impl Client
impl Client
sourcepub fn start_medical_transcription_job(
&self
) -> StartMedicalTranscriptionJobFluentBuilder
pub fn start_medical_transcription_job( &self ) -> StartMedicalTranscriptionJobFluentBuilder
Constructs a fluent builder for the StartMedicalTranscriptionJob
operation.
- The fluent builder is configurable:
medical_transcription_job_name(impl Into<String>)
/set_medical_transcription_job_name(Option<String>)
:
required: trueA unique name, chosen by you, for your medical transcription job. The name that you specify is also used as the default name of your transcription output file. If you want to specify a different name for your transcription output, use the
OutputKey
parameter.This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new job with the same name as an existing job, you get a
ConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:
required: trueThe language code that represents the language spoken in the input media file. US English (
en-US
) is the only valid value for medical transcription jobs. Any other value you enter for language code results in aBadRequestException
error.media_sample_rate_hertz(i32)
/set_media_sample_rate_hertz(Option<i32>)
:
required: falseThe sample rate, in hertz, of the audio track in your input media file.
If you do not specify the media sample rate, Amazon Transcribe Medical determines it for you. If you specify the sample rate, it must match the rate detected by Amazon Transcribe Medical; if there’s a mismatch between the value that you specify and the value detected, your job fails. Therefore, in most cases, it’s advised to omit
MediaSampleRateHertz
and let Amazon Transcribe Medical determine the sample rate.media_format(MediaFormat)
/set_media_format(Option<MediaFormat>)
:
required: falseSpecify the format of your input media file.
media(Media)
/set_media(Option<Media>)
:
required: trueDescribes the Amazon S3 location of the media file you want to use in your request.
For information on supported media formats, refer to the
MediaFormat
parameter or the Media formats section in the Amazon S3 Developer Guide.output_bucket_name(impl Into<String>)
/set_output_bucket_name(Option<String>)
:
required: trueThe name of the Amazon S3 bucket where you want your medical transcription output stored. Do not include the
S3://
prefix of the specified bucket.If you want your output to go to a sub-folder of this bucket, specify it using the
OutputKey
parameter;OutputBucketName
only accepts the name of a bucket.For example, if you want your output stored in
S3://DOC-EXAMPLE-BUCKET
, setOutputBucketName
toDOC-EXAMPLE-BUCKET
. However, if you want your output stored inS3://DOC-EXAMPLE-BUCKET/test-files/
, setOutputBucketName
toDOC-EXAMPLE-BUCKET
andOutputKey
totest-files/
.Note that Amazon Transcribe must have permission to use the specified location. You can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.
output_key(impl Into<String>)
/set_output_key(Option<String>)
:
required: falseUse in combination with
OutputBucketName
to specify the output location of your transcript and, optionally, a unique name for your output file. The default name for your transcription output is the same as the name you specified for your medical transcription job (MedicalTranscriptionJobName
).Here are some examples of how you can use
OutputKey
:-
If you specify ‘DOC-EXAMPLE-BUCKET’ as the
OutputBucketName
and ‘my-transcript.json’ as theOutputKey
, your transcription output path iss3://DOC-EXAMPLE-BUCKET/my-transcript.json
. -
If you specify ‘my-first-transcription’ as the
MedicalTranscriptionJobName
, ‘DOC-EXAMPLE-BUCKET’ as theOutputBucketName
, and ‘my-transcript’ as theOutputKey
, your transcription output path iss3://DOC-EXAMPLE-BUCKET/my-transcript/my-first-transcription.json
. -
If you specify ‘DOC-EXAMPLE-BUCKET’ as the
OutputBucketName
and ‘test-files/my-transcript.json’ as theOutputKey
, your transcription output path iss3://DOC-EXAMPLE-BUCKET/test-files/my-transcript.json
. -
If you specify ‘my-first-transcription’ as the
MedicalTranscriptionJobName
, ‘DOC-EXAMPLE-BUCKET’ as theOutputBucketName
, and ‘test-files/my-transcript’ as theOutputKey
, your transcription output path iss3://DOC-EXAMPLE-BUCKET/test-files/my-transcript/my-first-transcription.json
.
If you specify the name of an Amazon S3 bucket sub-folder that doesn’t exist, one is created for you.
-
output_encryption_kms_key_id(impl Into<String>)
/set_output_encryption_kms_key_id(Option<String>)
:
required: falseThe KMS key you want to use to encrypt your medical transcription output.
If using a key located in the current Amazon Web Services account, you can specify your KMS key in one of four ways:
-
Use the KMS key ID itself. For example,
1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use an alias for the KMS key ID. For example,
alias/ExampleAlias
. -
Use the Amazon Resource Name (ARN) for the KMS key ID. For example,
arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use the ARN for the KMS key alias. For example,
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different Amazon Web Services account than the current Amazon Web Services account, you can specify your KMS key in one of two ways:
-
Use the ARN for the KMS key ID. For example,
arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use the ARN for the KMS key alias. For example,
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3).
If you specify a KMS key to encrypt your output, you must also specify an output location using the
OutputLocation
parameter.Note that the role making the request must have permission to use the specified KMS key.
-
kms_encryption_context(impl Into<String>, impl Into<String>)
/set_kms_encryption_context(Option<HashMap::<String, String>>)
:
required: falseA map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS.
settings(MedicalTranscriptionSetting)
/set_settings(Option<MedicalTranscriptionSetting>)
:
required: falseSpecify 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.
content_identification_type(MedicalContentIdentificationType)
/set_content_identification_type(Option<MedicalContentIdentificationType>)
:
required: falseLabels all personal health information (PHI) identified in your transcript. For more information, see Identifying personal health information (PHI) in a transcription.
specialty(Specialty)
/set_specialty(Option<Specialty>)
:
required: trueSpecify the predominant medical specialty represented in your media. For batch transcriptions,
PRIMARYCARE
is the only valid value. If you require additional specialties, refer to .r#type(Type)
/set_type(Option<Type>)
:
required: trueSpecify whether your input media contains only one person (
DICTATION
) or contains a conversation between two people (CONVERSATION
).For example,
DICTATION
could be used for a medical professional wanting to transcribe voice memos;CONVERSATION
could be used for transcribing the doctor-patient dialogue during the patient’s office visit.tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseAdds one or more custom tags, each in the form of a key:value pair, to a new medical transcription job at the time you start this new job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
- On success, responds with
StartMedicalTranscriptionJobOutput
with field(s):medical_transcription_job(Option<MedicalTranscriptionJob>)
:Provides detailed information about the current medical transcription job, including job status and, if applicable, failure reason.
- On failure, responds with
SdkError<StartMedicalTranscriptionJobError>
source§impl Client
impl Client
sourcepub fn start_transcription_job(&self) -> StartTranscriptionJobFluentBuilder
pub fn start_transcription_job(&self) -> StartTranscriptionJobFluentBuilder
Constructs a fluent builder for the StartTranscriptionJob
operation.
- The fluent builder is configurable:
transcription_job_name(impl Into<String>)
/set_transcription_job_name(Option<String>)
:
required: trueA unique name, chosen by you, for your transcription job. The name that you specify is also used as the default name of your transcription output file. If you want to specify a different name for your transcription output, use the
OutputKey
parameter.This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account. If you try to create a new job with the same name as an existing job, you get a
ConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:
required: falseThe language code that represents the language spoken in the input media file.
If you’re unsure of the language spoken in your media file, consider using
IdentifyLanguage
orIdentifyMultipleLanguages
to enable automatic language identification.Note that you must include one of
LanguageCode
,IdentifyLanguage
, orIdentifyMultipleLanguages
in your request. If you include more than one of these parameters, your transcription job fails.For a list of supported languages and their associated language codes, refer to the Supported languages table.
To transcribe speech in Modern Standard Arabic (
ar-SA
), your media file must be encoded at a sample rate of 16,000 Hz or higher.media_sample_rate_hertz(i32)
/set_media_sample_rate_hertz(Option<i32>)
:
required: falseThe sample rate, in hertz, of the audio track in your input media file.
If you do not specify the media sample rate, Amazon Transcribe determines it for you. If you specify the sample rate, it must match the rate detected by Amazon Transcribe. If there’s a mismatch between the value that you specify and the value detected, your job fails. In most cases, you can omit
MediaSampleRateHertz
and let Amazon Transcribe determine the sample rate.media_format(MediaFormat)
/set_media_format(Option<MediaFormat>)
:
required: falseSpecify the format of your input media file.
media(Media)
/set_media(Option<Media>)
:
required: trueDescribes the Amazon S3 location of the media file you want to use in your request.
output_bucket_name(impl Into<String>)
/set_output_bucket_name(Option<String>)
:
required: falseThe name of the Amazon S3 bucket where you want your transcription output stored. Do not include the
S3://
prefix of the specified bucket.If you want your output to go to a sub-folder of this bucket, specify it using the
OutputKey
parameter;OutputBucketName
only accepts the name of a bucket.For example, if you want your output stored in
S3://DOC-EXAMPLE-BUCKET
, setOutputBucketName
toDOC-EXAMPLE-BUCKET
. However, if you want your output stored inS3://DOC-EXAMPLE-BUCKET/test-files/
, setOutputBucketName
toDOC-EXAMPLE-BUCKET
andOutputKey
totest-files/
.Note that Amazon Transcribe must have permission to use the specified location. You can change Amazon S3 permissions using the Amazon Web Services Management Console. See also Permissions Required for IAM User Roles.
If you do not specify
OutputBucketName
, your transcript is placed in a service-managed Amazon S3 bucket and you are provided with a URI to access your transcript.output_key(impl Into<String>)
/set_output_key(Option<String>)
:
required: falseUse in combination with
OutputBucketName
to specify the output location of your transcript and, optionally, a unique name for your output file. The default name for your transcription output is the same as the name you specified for your transcription job (TranscriptionJobName
).Here are some examples of how you can use
OutputKey
:-
If you specify ‘DOC-EXAMPLE-BUCKET’ as the
OutputBucketName
and ‘my-transcript.json’ as theOutputKey
, your transcription output path iss3://DOC-EXAMPLE-BUCKET/my-transcript.json
. -
If you specify ‘my-first-transcription’ as the
TranscriptionJobName
, ‘DOC-EXAMPLE-BUCKET’ as theOutputBucketName
, and ‘my-transcript’ as theOutputKey
, your transcription output path iss3://DOC-EXAMPLE-BUCKET/my-transcript/my-first-transcription.json
. -
If you specify ‘DOC-EXAMPLE-BUCKET’ as the
OutputBucketName
and ‘test-files/my-transcript.json’ as theOutputKey
, your transcription output path iss3://DOC-EXAMPLE-BUCKET/test-files/my-transcript.json
. -
If you specify ‘my-first-transcription’ as the
TranscriptionJobName
, ‘DOC-EXAMPLE-BUCKET’ as theOutputBucketName
, and ‘test-files/my-transcript’ as theOutputKey
, your transcription output path iss3://DOC-EXAMPLE-BUCKET/test-files/my-transcript/my-first-transcription.json
.
If you specify the name of an Amazon S3 bucket sub-folder that doesn’t exist, one is created for you.
-
output_encryption_kms_key_id(impl Into<String>)
/set_output_encryption_kms_key_id(Option<String>)
:
required: falseThe KMS key you want to use to encrypt your transcription output.
If using a key located in the current Amazon Web Services account, you can specify your KMS key in one of four ways:
-
Use the KMS key ID itself. For example,
1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use an alias for the KMS key ID. For example,
alias/ExampleAlias
. -
Use the Amazon Resource Name (ARN) for the KMS key ID. For example,
arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use the ARN for the KMS key alias. For example,
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If using a key located in a different Amazon Web Services account than the current Amazon Web Services account, you can specify your KMS key in one of two ways:
-
Use the ARN for the KMS key ID. For example,
arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab
. -
Use the ARN for the KMS key alias. For example,
arn:aws:kms:region:account-ID:alias/ExampleAlias
.
If you do not specify an encryption key, your output is encrypted with the default Amazon S3 key (SSE-S3).
If you specify a KMS key to encrypt your output, you must also specify an output location using the
OutputLocation
parameter.Note that the role making the request must have permission to use the specified KMS key.
-
kms_encryption_context(impl Into<String>, impl Into<String>)
/set_kms_encryption_context(Option<HashMap::<String, String>>)
:
required: falseA map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data. For more information, see KMS encryption context and Asymmetric keys in KMS.
settings(Settings)
/set_settings(Option<Settings>)
:
required: falseSpecify additional optional settings in your request, including channel identification, alternative transcriptions, speaker partitioning. You can use that to apply custom vocabularies and vocabulary filters.
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
Settings
with theVocabularyName
orVocabularyFilterName
(or both) sub-parameter.If you’re using automatic language identification with your request and want to include a custom language model, a custom vocabulary, or a custom vocabulary filter, use instead the
parameter with the
LanguageModelName
,VocabularyName
orVocabularyFilterName
sub-parameters.model_settings(ModelSettings)
/set_model_settings(Option<ModelSettings>)
:
required: falseSpecify the custom language model you want to include with your transcription job. If you include
ModelSettings
in your request, you must include theLanguageModelName
sub-parameter.For more information, see Custom language models.
job_execution_settings(JobExecutionSettings)
/set_job_execution_settings(Option<JobExecutionSettings>)
:
required: falseMakes it possible to control how your transcription job is processed. Currently, the only
JobExecutionSettings
modification you can choose is enabling job queueing using theAllowDeferredExecution
sub-parameter.If you include
JobExecutionSettings
in your request, you must also include the sub-parameters:AllowDeferredExecution
andDataAccessRoleArn
.content_redaction(ContentRedaction)
/set_content_redaction(Option<ContentRedaction>)
:
required: falseMakes 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:RedactionOutput
andRedactionType
. You can optionally includePiiEntityTypes
to choose which types of PII you want to redact. If you do not includePiiEntityTypes
in your request, all PII is redacted.identify_language(bool)
/set_identify_language(Option<bool>)
:
required: falseEnables automatic language identification in your transcription job request. Use this parameter if your media file contains only one language. If your media contains multiple languages, use
IdentifyMultipleLanguages
instead.If you include
IdentifyLanguage
, you can optionally include a list of language codes, usingLanguageOptions
, that you think may be present in your media file. IncludingLanguageOptions
restrictsIdentifyLanguage
to only the language options that you specify, which can improve transcription accuracy.If you want to apply a custom language model, a custom vocabulary, or a custom vocabulary filter to your automatic language identification request, include
LanguageIdSettings
with the relevant sub-parameters (VocabularyName
,LanguageModelName
, andVocabularyFilterName
). If you includeLanguageIdSettings
, also includeLanguageOptions
.Note that you must include one of
LanguageCode
,IdentifyLanguage
, orIdentifyMultipleLanguages
in your request. If you include more than one of these parameters, your transcription job fails.identify_multiple_languages(bool)
/set_identify_multiple_languages(Option<bool>)
:
required: falseEnables automatic multi-language identification in your transcription job request. Use this parameter if your media file contains more than one language. If your media contains only one language, use
IdentifyLanguage
instead.If you include
IdentifyMultipleLanguages
, you can optionally include a list of language codes, usingLanguageOptions
, that you think may be present in your media file. IncludingLanguageOptions
restrictsIdentifyLanguage
to only the language options that you specify, which can improve transcription accuracy.If you want to apply a custom vocabulary or a custom vocabulary filter to your automatic language identification request, include
LanguageIdSettings
with the relevant sub-parameters (VocabularyName
andVocabularyFilterName
). If you includeLanguageIdSettings
, also includeLanguageOptions
.Note that you must include one of
LanguageCode
,IdentifyLanguage
, orIdentifyMultipleLanguages
in your request. If you include more than one of these parameters, your transcription job fails.language_options(LanguageCode)
/set_language_options(Option<Vec::<LanguageCode>>)
:
required: falseYou can specify two or more language codes that represent the languages you think may be present in your media. Including more than five is not recommended. If you’re unsure what languages are present, do not include this parameter.
If you include
LanguageOptions
in your request, you must also includeIdentifyLanguage
.For more information, refer to Supported languages.
To transcribe speech in Modern Standard Arabic (
ar-SA
), your media file must be encoded at a sample rate of 16,000 Hz or higher.subtitles(Subtitles)
/set_subtitles(Option<Subtitles>)
:
required: falseProduces subtitle files for your input media. You can specify WebVTT (.vtt) and SubRip (.srt) formats.
tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: falseAdds one or more custom tags, each in the form of a key:value pair, to a new transcription job at the time you start this new job.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
language_id_settings(LanguageCode, LanguageIdSettings)
/set_language_id_settings(Option<HashMap::<LanguageCode, LanguageIdSettings>>)
:
required: falseIf 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
LanguageIdSettings
with the relevant sub-parameters (VocabularyName
,LanguageModelName
, andVocabularyFilterName
). Note that multi-language identification (IdentifyMultipleLanguages
) doesn’t support custom language models.LanguageIdSettings
supports 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
LanguageOptions
when usingLanguageIdSettings
to ensure that the correct language dialect is identified. For example, if you specify a custom vocabulary that is inen-US
but Amazon Transcribe determines that the language spoken in your media isen-AU
, your custom vocabulary is not applied to your transcription. If you includeLanguageOptions
and includeen-US
as 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 the
LanguageModelName
sub-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 the
VocabularyName
orVocabularyFilterName
(or both) sub-parameter.toxicity_detection(ToxicityDetectionSettings)
/set_toxicity_detection(Option<Vec::<ToxicityDetectionSettings>>)
:
required: falseEnables toxic speech detection in your transcript. If you include
ToxicityDetection
in your request, you must also includeToxicityCategories
.For information on the types of toxic speech Amazon Transcribe can detect, see Detecting toxic speech.
- On success, responds with
StartTranscriptionJobOutput
with field(s):transcription_job(Option<TranscriptionJob>)
:Provides detailed information about the current transcription job, including job status and, if applicable, failure reason.
- On failure, responds with
SdkError<StartTranscriptionJobError>
source§impl Client
impl Client
sourcepub fn tag_resource(&self) -> TagResourceFluentBuilder
pub fn tag_resource(&self) -> TagResourceFluentBuilder
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the resource you want to tag. ARNs have the format
arn:partition:service:region:account-id:resource-type/resource-id
.For example,
arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name
.Valid values for
resource-type
are:transcription-job
,medical-transcription-job
,vocabulary
,medical-vocabulary
,vocabulary-filter
, andlanguage-model
.tags(Tag)
/set_tags(Option<Vec::<Tag>>)
:
required: trueAdds one or more custom tags, each in the form of a key:value pair, to the specified resource.
To learn more about using tags with Amazon Transcribe, refer to Tagging resources.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
source§impl Client
impl Client
sourcepub fn untag_resource(&self) -> UntagResourceFluentBuilder
pub fn untag_resource(&self) -> UntagResourceFluentBuilder
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:
required: trueThe Amazon Resource Name (ARN) of the Amazon Transcribe resource you want to remove tags from. ARNs have the format
arn:partition:service:region:account-id:resource-type/resource-id
.For example,
arn:aws:transcribe:us-west-2:111122223333:transcription-job/transcription-job-name
.Valid values for
resource-type
are:transcription-job
,medical-transcription-job
,vocabulary
,medical-vocabulary
,vocabulary-filter
, andlanguage-model
.tag_keys(impl Into<String>)
/set_tag_keys(Option<Vec::<String>>)
:
required: trueRemoves the specified tag keys from the specified Amazon Transcribe resource.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
source§impl Client
impl Client
sourcepub fn update_call_analytics_category(
&self
) -> UpdateCallAnalyticsCategoryFluentBuilder
pub fn update_call_analytics_category( &self ) -> UpdateCallAnalyticsCategoryFluentBuilder
Constructs a fluent builder for the UpdateCallAnalyticsCategory
operation.
- The fluent builder is configurable:
category_name(impl Into<String>)
/set_category_name(Option<String>)
:
required: trueThe name of the Call Analytics category you want to update. Category names are case sensitive.
rules(Rule)
/set_rules(Option<Vec::<Rule>>)
:
required: trueThe rules used for the updated Call Analytics category. The rules you provide in this field replace the ones that are currently being used in the specified category.
input_type(InputType)
/set_input_type(Option<InputType>)
:
required: falseChoose whether you want to update a real-time or a post-call category. The input type you specify must match the input type specified when the category was created. For example, if you created a category with the
POST_CALL
input type, you must usePOST_CALL
as the input type when updating this category.
- On success, responds with
UpdateCallAnalyticsCategoryOutput
with field(s):category_properties(Option<CategoryProperties>)
:Provides you with the properties of the Call Analytics category you specified in your
UpdateCallAnalyticsCategory
request.
- On failure, responds with
SdkError<UpdateCallAnalyticsCategoryError>
source§impl Client
impl Client
sourcepub fn update_medical_vocabulary(&self) -> UpdateMedicalVocabularyFluentBuilder
pub fn update_medical_vocabulary(&self) -> UpdateMedicalVocabularyFluentBuilder
Constructs a fluent builder for the UpdateMedicalVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:
required: trueThe name of the custom medical vocabulary you want to update. Custom medical vocabulary names are case sensitive.
language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:
required: trueThe language code that represents the language of the entries in the custom vocabulary you want to update. US English (
en-US
) is the only language supported with Amazon Transcribe Medical.vocabulary_file_uri(impl Into<String>)
/set_vocabulary_file_uri(Option<String>)
:
required: trueThe Amazon S3 location of the text file that contains your custom medical vocabulary. The URI must be located in the same Amazon Web Services Region as the resource you’re calling.
Here’s an example URI path:
s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt
- On success, responds with
UpdateMedicalVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name of the updated custom medical vocabulary.
language_code(Option<LanguageCode>)
:The language code you selected for your custom medical vocabulary. US English (
en-US
) is the only language supported with Amazon Transcribe Medical.last_modified_time(Option<DateTime>)
:The date and time the specified custom medical vocabulary was last updated.
Timestamps are in the format
YYYY-MM-DD’T’HH:MM:SS.SSSSSS-UTC
. For example,2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.vocabulary_state(Option<VocabularyState>)
:The processing state of your custom medical vocabulary. If the state is
READY
, you can use the custom vocabulary in aStartMedicalTranscriptionJob
request.
- On failure, responds with
SdkError<UpdateMedicalVocabularyError>
source§impl Client
impl Client
sourcepub fn update_vocabulary(&self) -> UpdateVocabularyFluentBuilder
pub fn update_vocabulary(&self) -> UpdateVocabularyFluentBuilder
Constructs a fluent builder for the UpdateVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:
required: trueThe name of the custom vocabulary you want to update. Custom vocabulary names are case sensitive.
language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:
required: trueThe language code that represents the language of the entries in the custom vocabulary you want to update. Each custom vocabulary must contain terms in only one language.
A custom vocabulary can only be used to transcribe files in the same language as the custom vocabulary. For example, if you create a custom vocabulary using US English (
en-US
), you can only apply this custom vocabulary to files that contain English audio.For a list of supported languages and their associated language codes, refer to the Supported languages table.
phrases(impl Into<String>)
/set_phrases(Option<Vec::<String>>)
:
required: falseUse this parameter if you want to update your custom vocabulary by including all desired terms, as comma-separated values, within your request. The other option for updating your custom vocabulary is to save your entries in a text file and upload them to an Amazon S3 bucket, then specify the location of your file using the
VocabularyFileUri
parameter.Note that if you include
Phrases
in your request, you cannot useVocabularyFileUri
; you must choose one or the other.Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary filter request fails. Refer to Character Sets for Custom Vocabularies to get the character set for your language.
vocabulary_file_uri(impl Into<String>)
/set_vocabulary_file_uri(Option<String>)
:
required: falseThe Amazon S3 location of the text file that contains your custom vocabulary. The URI must be located in the same Amazon Web Services Region as the resource you’re calling.
Here’s an example URI path:
s3://DOC-EXAMPLE-BUCKET/my-vocab-file.txt
Note that if you include
VocabularyFileUri
in your request, you cannot use thePhrases
flag; you must choose one or the other.data_access_role_arn(impl Into<String>)
/set_data_access_role_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files (in this case, your custom vocabulary). If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format
arn:partition:iam::account:role/role-name-with-path
. For example:arn:aws:iam::111122223333:role/Admin
.For more information, see IAM ARNs.
- On success, responds with
UpdateVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name of the updated custom vocabulary.
language_code(Option<LanguageCode>)
:The language code you selected for your custom vocabulary.
last_modified_time(Option<DateTime>)
:The date and time the specified custom vocabulary was last updated.
Timestamps are in the format
YYYY-MM-DD’T’HH:MM:SS.SSSSSS-UTC
. For example,2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.vocabulary_state(Option<VocabularyState>)
:The processing state of your custom vocabulary. If the state is
READY
, you can use the custom vocabulary in aStartTranscriptionJob
request.
- On failure, responds with
SdkError<UpdateVocabularyError>
source§impl Client
impl Client
sourcepub fn update_vocabulary_filter(&self) -> UpdateVocabularyFilterFluentBuilder
pub fn update_vocabulary_filter(&self) -> UpdateVocabularyFilterFluentBuilder
Constructs a fluent builder for the UpdateVocabularyFilter
operation.
- The fluent builder is configurable:
vocabulary_filter_name(impl Into<String>)
/set_vocabulary_filter_name(Option<String>)
:
required: trueThe name of the custom vocabulary filter you want to update. Custom vocabulary filter names are case sensitive.
words(impl Into<String>)
/set_words(Option<Vec::<String>>)
:
required: falseUse this parameter if you want to update your custom vocabulary filter by including all desired terms, as comma-separated values, within your request. The other option for updating your vocabulary filter is to save your entries in a text file and upload them to an Amazon S3 bucket, then specify the location of your file using the
VocabularyFilterFileUri
parameter.Note that if you include
Words
in your request, you cannot useVocabularyFilterFileUri
; you must choose one or the other.Each language has a character set that contains all allowed characters for that specific language. If you use unsupported characters, your custom vocabulary filter request fails. Refer to Character Sets for Custom Vocabularies to get the character set for your language.
vocabulary_filter_file_uri(impl Into<String>)
/set_vocabulary_filter_file_uri(Option<String>)
:
required: falseThe Amazon S3 location of the text file that contains your custom vocabulary filter terms. The URI must be located in the same Amazon Web Services Region as the resource you’re calling.
Here’s an example URI path:
s3://DOC-EXAMPLE-BUCKET/my-vocab-filter-file.txt
Note that if you include
VocabularyFilterFileUri
in your request, you cannot useWords
; you must choose one or the other.data_access_role_arn(impl Into<String>)
/set_data_access_role_arn(Option<String>)
:
required: falseThe Amazon Resource Name (ARN) of an IAM role that has permissions to access the Amazon S3 bucket that contains your input files (in this case, your custom vocabulary filter). If the role that you specify doesn’t have the appropriate permissions to access the specified Amazon S3 location, your request fails.
IAM role ARNs have the format
arn:partition:iam::account:role/role-name-with-path
. For example:arn:aws:iam::111122223333:role/Admin
.For more information, see IAM ARNs.
- On success, responds with
UpdateVocabularyFilterOutput
with field(s):vocabulary_filter_name(Option<String>)
:The name of the updated custom vocabulary filter.
language_code(Option<LanguageCode>)
:The language code you selected for your custom vocabulary filter.
last_modified_time(Option<DateTime>)
:The date and time the specified custom vocabulary filter was last updated.
Timestamps are in the format
YYYY-MM-DD’T’HH:MM:SS.SSSSSS-UTC
. For example,2022-05-04T12:32:58.761000-07:00
represents 12:32 PM UTC-7 on May 4, 2022.
- On failure, responds with
SdkError<UpdateVocabularyFilterError>
source§impl Client
impl Client
sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config
.
§Panics
This method will panic in the following cases:
- Retries or timeouts are enabled without a
sleep_impl
configured. - Identity caching is enabled without a
sleep_impl
andtime_source
configured. - No
behavior_version
is provided.
The panic message for each of these will have instructions on how to resolve them.
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
§Panics
- This method will panic if the
sdk_config
is missing an async sleep implementation. If you experience this panic, set thesleep_impl
on the Config passed into this function to fix it. - This method will panic if the
sdk_config
is missing an HTTP connector. If you experience this panic, set thehttp_connector
on the Config passed into this function to fix it. - This method will panic if no
BehaviorVersion
is provided. If you experience this panic, setbehavior_version
on the Config or enable thebehavior-version-latest
Cargo feature.