Struct aws_sdk_transcribe::client::Client
source · [−]pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* 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.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_transcribe::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_transcribe::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_transcribe::Client::from_conf(config);
Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the CreateCallAnalyticsCategory
operation.
- The fluent builder is configurable:
category_name(impl Into<String>)
/set_category_name(Option<String>)
:The name that you choose for your category when you create it.
rules(Vec<Rule>)
/set_rules(Option<Vec<Rule>>)
:To create a category, you must specify between 1 and 20 rules. For each rule, you specify a filter to be applied to the attributes of the call. For example, you can specify a sentiment filter to detect if the customer’s sentiment was negative or neutral.
- On success, responds with
CreateCallAnalyticsCategoryOutput
with field(s):category_properties(Option<CategoryProperties>)
:The rules and associated metadata used to create a category.
- On failure, responds with
SdkError<CreateCallAnalyticsCategoryError>
Constructs a fluent builder for the CreateLanguageModel
operation.
- The fluent builder is configurable:
language_code(ClmLanguageCode)
/set_language_code(Option<ClmLanguageCode>)
:The language of the input text you’re using to train your custom language model.
base_model_name(BaseModelName)
/set_base_model_name(Option<BaseModelName>)
:The Amazon Transcribe standard language model, or base model used to create your custom language model.
If you want to use your custom language model to transcribe audio with a sample rate of 16,000 Hz or greater, choose
Wideband
.If you want to use your custom language model to transcribe audio with a sample rate that is less than 16,000 Hz, choose
Narrowband
.model_name(impl Into<String>)
/set_model_name(Option<String>)
:The name you choose for your custom language model when you create it.
input_data_config(InputDataConfig)
/set_input_data_config(Option<InputDataConfig>)
:Contains the data access role and the Amazon S3 prefixes to read the required input files to create a custom language model.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:Adds one or more tags, each in the form of a key:value pair, to a new language model at the time you create this new model.
- On success, responds with
CreateLanguageModelOutput
with field(s):language_code(Option<ClmLanguageCode>)
:The language code of the text you’ve used to create a custom language model.
base_model_name(Option<BaseModelName>)
:The Amazon Transcribe standard language model, or base model you’ve used to create a custom language model.
model_name(Option<String>)
:The name you’ve chosen for your custom language model.
input_data_config(Option<InputDataConfig>)
:The data access role and Amazon S3 prefixes you’ve chosen to create your custom language model.
model_status(Option<ModelStatus>)
:The status of the custom language model. When the status is
COMPLETED
the model is ready to use.
- On failure, responds with
SdkError<CreateLanguageModelError>
Constructs a fluent builder for the CreateMedicalVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:The name of the custom vocabulary. This case-sensitive name must be unique within an Amazon Web Services account. If you try to create a vocabulary with the same name as a previous vocabulary, you get a
ConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:The language code for the language used for the entries in your custom vocabulary. The language code of your custom vocabulary must match the language code of your transcription job. US English (en-US) is the only language code available for Amazon Transcribe Medical.
vocabulary_file_uri(impl Into<String>)
/set_vocabulary_file_uri(Option<String>)
:The location in Amazon S3 of the text file you use to define your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you’re calling. Enter information about your
VocabularyFileUri
in the following format:https://s3.
.amazonaws.com/ / / The following is an example URI for a vocabulary file that is stored in Amazon S3:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Medical Custom Vocabularies.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:Adds one or more tags, each in the form of a key:value pair, to a new medical vocabulary at the time you create this new vocabulary.
- On success, responds with
CreateMedicalVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name of the vocabulary. The name must be unique within an Amazon Web Services account and is case sensitive.
language_code(Option<LanguageCode>)
:The language code for the entries in your custom vocabulary. US English (en-US) is the only valid language code for Amazon Transcribe Medical.
vocabulary_state(Option<VocabularyState>)
:The processing state of your custom vocabulary in Amazon Transcribe Medical. If the state is
READY
, you can use the vocabulary in aStartMedicalTranscriptionJob
request.last_modified_time(Option<DateTime>)
:The date and time that you created the vocabulary.
failure_reason(Option<String>)
:If the
VocabularyState
field isFAILED
, this field contains information about why the job failed.
- On failure, responds with
SdkError<CreateMedicalVocabularyError>
Constructs a fluent builder for the CreateVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:The name of the vocabulary. The name must be unique within an Amazon Web Services account. The name is case sensitive. If you try to create a vocabulary with the same name as a previous vocabulary you will receive a
ConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see
table-language-matrix
.phrases(Vec<String>)
/set_phrases(Option<Vec<String>>)
:An array of strings that contains the vocabulary entries.
vocabulary_file_uri(impl Into<String>)
/set_vocabulary_file_uri(Option<String>)
:The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:
https://s3.
.amazonaws.com/ / / For example:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Custom vocabularies.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the time you create this new vocabulary.
- On success, responds with
CreateVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name of the vocabulary.
language_code(Option<LanguageCode>)
:The language code of the vocabulary entries.
vocabulary_state(Option<VocabularyState>)
:The processing state of the vocabulary. When the
VocabularyState
field containsREADY
the vocabulary is ready to be used in aStartTranscriptionJob
request.last_modified_time(Option<DateTime>)
:The date and time that the vocabulary was created.
failure_reason(Option<String>)
:If the
VocabularyState
field isFAILED
, this field contains information about why the job failed.
- On failure, responds with
SdkError<CreateVocabularyError>
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>)
:The vocabulary filter name. The name must be unique within the account that contains it. If you try to create a vocabulary filter with the same name as another vocabulary filter, you get a
ConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:The language code of the words in the vocabulary filter. All words in the filter must be in the same language. The vocabulary filter can only be used with transcription jobs in the specified language.
words(Vec<String>)
/set_words(Option<Vec<String>>)
:The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
If you provide a list of words in the
Words
parameter, you can’t use theVocabularyFilterFileUri
parameter.vocabulary_filter_file_uri(impl Into<String>)
/set_vocabulary_filter_file_uri(Option<String>)
:The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
The specified file must be less than 50 KB of UTF-8 characters.
If you provide the location of a list of words in the
VocabularyFilterFileUri
parameter, you can’t use theWords
parameter.tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary filter at the time you create this new vocabulary filter.
- On success, responds with
CreateVocabularyFilterOutput
with field(s):vocabulary_filter_name(Option<String>)
:The name of the vocabulary filter.
language_code(Option<LanguageCode>)
:The language code of the words in the collection.
last_modified_time(Option<DateTime>)
:The date and time that the vocabulary filter was modified.
- On failure, responds with
SdkError<CreateVocabularyFilterError>
Constructs a fluent builder for the DeleteCallAnalyticsCategory
operation.
- The fluent builder is configurable:
category_name(impl Into<String>)
/set_category_name(Option<String>)
:The name of the call analytics category that you’re choosing to delete. The value is case sensitive.
- On success, responds with
DeleteCallAnalyticsCategoryOutput
- On failure, responds with
SdkError<DeleteCallAnalyticsCategoryError>
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>)
:The name of the call analytics job you want to delete.
- On success, responds with
DeleteCallAnalyticsJobOutput
- On failure, responds with
SdkError<DeleteCallAnalyticsJobError>
Constructs a fluent builder for the DeleteLanguageModel
operation.
- The fluent builder is configurable:
model_name(impl Into<String>)
/set_model_name(Option<String>)
:The name of the model you’re choosing to delete.
- On success, responds with
DeleteLanguageModelOutput
- On failure, responds with
SdkError<DeleteLanguageModelError>
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>)
:The name you provide to the
DeleteMedicalTranscriptionJob
object to delete a transcription job.
- On success, responds with
DeleteMedicalTranscriptionJobOutput
- On failure, responds with
SdkError<DeleteMedicalTranscriptionJobError>
Constructs a fluent builder for the DeleteMedicalVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:The name of the vocabulary that you want to delete.
- On success, responds with
DeleteMedicalVocabularyOutput
- On failure, responds with
SdkError<DeleteMedicalVocabularyError>
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>)
:The name of the transcription job to be deleted.
- On success, responds with
DeleteTranscriptionJobOutput
- On failure, responds with
SdkError<DeleteTranscriptionJobError>
Constructs a fluent builder for the DeleteVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:The name of the vocabulary to delete.
- On success, responds with
DeleteVocabularyOutput
- On failure, responds with
SdkError<DeleteVocabularyError>
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>)
:The name of the vocabulary filter to remove.
- On success, responds with
DeleteVocabularyFilterOutput
- On failure, responds with
SdkError<DeleteVocabularyFilterError>
Constructs a fluent builder for the DescribeLanguageModel
operation.
- The fluent builder is configurable:
model_name(impl Into<String>)
/set_model_name(Option<String>)
:The name of the custom language model you submit to get more information.
- On success, responds with
DescribeLanguageModelOutput
with field(s):language_model(Option<LanguageModel>)
:The name of the custom language model you requested more information about.
- On failure, responds with
SdkError<DescribeLanguageModelError>
Constructs a fluent builder for the GetCallAnalyticsCategory
operation.
- The fluent builder is configurable:
category_name(impl Into<String>)
/set_category_name(Option<String>)
:The name of the category you want information about. This value is case sensitive.
- On success, responds with
GetCallAnalyticsCategoryOutput
with field(s):category_properties(Option<CategoryProperties>)
:The rules you’ve defined for a category.
- On failure, responds with
SdkError<GetCallAnalyticsCategoryError>
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>)
:The name of the analytics job you want information about. This value is case sensitive.
- On success, responds with
GetCallAnalyticsJobOutput
with field(s):call_analytics_job(Option<CallAnalyticsJob>)
:An object that contains the results of your call analytics job.
- On failure, responds with
SdkError<GetCallAnalyticsJobError>
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>)
:The name of the medical transcription job.
- On success, responds with
GetMedicalTranscriptionJobOutput
with field(s):medical_transcription_job(Option<MedicalTranscriptionJob>)
:An object that contains the results of the medical transcription job.
- On failure, responds with
SdkError<GetMedicalTranscriptionJobError>
Constructs a fluent builder for the GetMedicalVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:The name of the vocabulary that you want information about. The value is case sensitive.
- On success, responds with
GetMedicalVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name of the vocabulary returned by Amazon Transcribe Medical.
language_code(Option<LanguageCode>)
:The valid language code for your vocabulary entries.
vocabulary_state(Option<VocabularyState>)
:The processing state of the vocabulary. If the
VocabularyState
isREADY
then you can use it in theStartMedicalTranscriptionJob
operation.last_modified_time(Option<DateTime>)
:The date and time that the vocabulary was last modified with a text file different from the one that was previously used.
failure_reason(Option<String>)
:If the
VocabularyState
isFAILED
, this field contains information about why the job failed.download_uri(Option<String>)
:The location in Amazon S3 where the vocabulary is stored. Use this URI to get the contents of the vocabulary. You can download your vocabulary from the URI for a limited time.
- On failure, responds with
SdkError<GetMedicalVocabularyError>
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>)
:The name of the job.
- On success, responds with
GetTranscriptionJobOutput
with field(s):transcription_job(Option<TranscriptionJob>)
:An object that contains the results of the transcription job.
- On failure, responds with
SdkError<GetTranscriptionJobError>
Constructs a fluent builder for the GetVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:The name of the vocabulary to return information about. The name is case sensitive.
- On success, responds with
GetVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name of the vocabulary to return.
language_code(Option<LanguageCode>)
:The language code of the vocabulary entries.
vocabulary_state(Option<VocabularyState>)
:The processing state of the vocabulary.
last_modified_time(Option<DateTime>)
:The date and time that the vocabulary was last modified.
failure_reason(Option<String>)
:If the
VocabularyState
field isFAILED
, this field contains information about why the job failed.download_uri(Option<String>)
:The S3 location where the vocabulary is stored. Use this URI to get the contents of the vocabulary. The URI is available for a limited time.
- On failure, responds with
SdkError<GetVocabularyError>
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>)
:The name of the vocabulary filter for which to return information.
- On success, responds with
GetVocabularyFilterOutput
with field(s):vocabulary_filter_name(Option<String>)
:The name of the vocabulary filter.
language_code(Option<LanguageCode>)
:The language code of the words in the vocabulary filter.
last_modified_time(Option<DateTime>)
:The date and time that the contents of the vocabulary filter were updated.
download_uri(Option<String>)
:The URI of the list of words in the vocabulary filter. You can use this URI to get the list of words.
- On failure, responds with
SdkError<GetVocabularyFilterError>
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>)
:When included,
NextToken
fetches the next set of categories if the result of the previous request was truncated.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of categories to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
- On success, responds with
ListCallAnalyticsCategoriesOutput
with field(s):next_token(Option<String>)
:The operation returns a page of jobs at a time. The maximum size of the list is set by the
MaxResults
parameter. If there are more categories in the list than the page size, Amazon Transcribe returns theNextPage
token. Include the token in the next request to the operation to return the next page of analytics categories.categories(Option<Vec<CategoryProperties>>)
:A list of objects containing information about analytics categories.
- On failure, responds with
SdkError<ListCallAnalyticsCategoriesError>
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>)
:When specified, returns only call analytics jobs with the specified status. Jobs are ordered by creation date, with the most recent jobs returned first. If you don’t specify a status, Amazon Transcribe returns all analytics jobs ordered by creation date.
job_name_contains(impl Into<String>)
/set_job_name_contains(Option<String>)
:When specified, the jobs returned in the list are limited to jobs whose name contains the specified string.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:If you receive a truncated result in the previous request of , include
NextToken
to fetch the next set of jobs.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of call analytics jobs to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
- On success, responds with
ListCallAnalyticsJobsOutput
with field(s):status(Option<CallAnalyticsJobStatus>)
:When specified, returns only call analytics jobs with that status. Jobs are ordered by creation date, with the most recent jobs returned first. If you don’t specify a status, Amazon Transcribe returns all transcription jobs ordered by creation date.
next_token(Option<String>)
:The operation returns a page of jobs at a time. The maximum size of the page is set by the
MaxResults
parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns theNextPage
token. Include the token in your next request to the operation to return next page of jobs.call_analytics_job_summaries(Option<Vec<CallAnalyticsJobSummary>>)
:A list of objects containing summary information for a transcription job.
- On failure, responds with
SdkError<ListCallAnalyticsJobsError>
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>)
:When specified, returns only custom language models with the specified status. Language models are ordered by creation date, with the newest models first. If you don’t specify a status, Amazon Transcribe returns all custom language models ordered by date.
name_contains(impl Into<String>)
/set_name_contains(Option<String>)
:When specified, the custom language model names returned contain the substring you’ve specified.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:When included, fetches the next set of jobs if the result of the previous request was truncated.
max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of language models to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
- On success, responds with
ListLanguageModelsOutput
with field(s):next_token(Option<String>)
:The operation returns a page of jobs at a time. The maximum size of the list is set by the MaxResults parameter. If there are more language models in the list than the page size, Amazon Transcribe returns the
NextPage
token. Include the token in the next request to the operation to return the next page of language models.models(Option<Vec<LanguageModel>>)
:A list of objects containing information about custom language models.
- On failure, responds with
SdkError<ListLanguageModelsError>
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>)
:When specified, returns only medical transcription jobs with the specified status. Jobs are ordered by creation date, with the newest jobs returned first. If you don’t specify a status, Amazon Transcribe Medical returns all transcription jobs ordered by creation date.
job_name_contains(impl Into<String>)
/set_job_name_contains(Option<String>)
:When specified, the jobs returned in the list are limited to jobs whose name contains the specified string.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:If you a receive a truncated result in the previous request of
ListMedicalTranscriptionJobs
, includeNextToken
to fetch the next set of jobs.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of medical transcription jobs to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
- On success, responds with
ListMedicalTranscriptionJobsOutput
with field(s):status(Option<TranscriptionJobStatus>)
:The requested status of the medical transcription jobs returned.
next_token(Option<String>)
:The
ListMedicalTranscriptionJobs
operation returns a page of jobs at a time. The maximum size of the page is set by theMaxResults
parameter. If the number of jobs exceeds what can fit on a page, Amazon Transcribe Medical returns theNextPage
token. Include the token in the next request to theListMedicalTranscriptionJobs
operation to return in the next page of jobs.medical_transcription_job_summaries(Option<Vec<MedicalTranscriptionJobSummary>>)
:A list of objects containing summary information for a transcription job.
- On failure, responds with
SdkError<ListMedicalTranscriptionJobsError>
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>)
:If the result of your previous request to
ListMedicalVocabularies
was truncated, include theNextToken
to fetch the next set of vocabularies.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of vocabularies to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
state_equals(VocabularyState)
/set_state_equals(Option<VocabularyState>)
:When specified, returns only vocabularies with the
VocabularyState
equal to the specified vocabulary state. Use this field to see which vocabularies are ready for your medical transcription jobs.name_contains(impl Into<String>)
/set_name_contains(Option<String>)
:Returns vocabularies whose names contain the specified string. The search is not case sensitive.
ListMedicalVocabularies
returns both “vocabularyname
” and “VocabularyName
”.
- On success, responds with
ListMedicalVocabulariesOutput
with field(s):status(Option<VocabularyState>)
:The requested vocabulary state.
next_token(Option<String>)
:The
ListMedicalVocabularies
operation returns a page of vocabularies at a time. You set the maximum number of vocabularies to return on a page with theMaxResults
parameter. If there are more jobs in the list will fit on a page, Amazon Transcribe Medical returns theNextPage
token. To return the next page of vocabularies, include the token in the next request to theListMedicalVocabularies
operation .vocabularies(Option<Vec<VocabularyInfo>>)
:A list of objects that describe the vocabularies that match your search criteria.
- On failure, responds with
SdkError<ListMedicalVocabulariesError>
Constructs a fluent builder for the ListTagsForResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:Lists all tags associated with a given Amazon Resource Name (ARN). ARNs have the format
arn:partition:service:region:account-id:resource-type/resource-id
(for example,arn:aws:transcribe:us-east-1:account-id:transcription-job/your-job-name
). Valid values forresource-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>)
:Lists all tags associated with the given Amazon Resource Name (ARN).
tags(Option<Vec<Tag>>)
:Lists all tags associated with the given transcription job, vocabulary, or resource.
- On failure, responds with
SdkError<ListTagsForResourceError>
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>)
:When specified, returns only transcription jobs with the specified status. Jobs are ordered by creation date, with the newest jobs returned first. If you don’t specify a status, Amazon Transcribe returns all transcription jobs ordered by creation date.
job_name_contains(impl Into<String>)
/set_job_name_contains(Option<String>)
:When specified, the jobs returned in the list are limited to jobs whose name contains the specified string.
next_token(impl Into<String>)
/set_next_token(Option<String>)
:If the result of the previous request to
ListTranscriptionJobs
is truncated, include theNextToken
to fetch the next set of jobs.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of jobs to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
- On success, responds with
ListTranscriptionJobsOutput
with field(s):status(Option<TranscriptionJobStatus>)
:The requested status of the jobs returned.
next_token(Option<String>)
:The
ListTranscriptionJobs
operation returns a page of jobs at a time. The maximum size of the page is set by theMaxResults
parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns theNextPage
token. Include the token in the next request to theListTranscriptionJobs
operation to return in the next page of jobs.transcription_job_summaries(Option<Vec<TranscriptionJobSummary>>)
:A list of objects containing summary information for a transcription job.
- On failure, responds with
SdkError<ListTranscriptionJobsError>
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>)
:If the result of the previous request to
ListVocabularies
was truncated, include theNextToken
to fetch the next set of jobs.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of vocabularies to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
state_equals(VocabularyState)
/set_state_equals(Option<VocabularyState>)
:When specified, only returns vocabularies with the
VocabularyState
field equal to the specified state.name_contains(impl Into<String>)
/set_name_contains(Option<String>)
:When specified, the vocabularies returned in the list are limited to vocabularies whose name contains the specified string. The search is not case sensitive,
ListVocabularies
returns both “vocabularyname” and “VocabularyName” in the response list.
- On success, responds with
ListVocabulariesOutput
with field(s):status(Option<VocabularyState>)
:The requested vocabulary state.
next_token(Option<String>)
:The
ListVocabularies
operation returns a page of vocabularies at a time. The maximum size of the page is set in theMaxResults
parameter. If there are more jobs in the list than will fit on the page, Amazon Transcribe returns theNextPage
token. To return in the next page of jobs, include the token in the next request to theListVocabularies
operation.vocabularies(Option<Vec<VocabularyInfo>>)
:A list of objects that describe the vocabularies that match the search criteria in the request.
- On failure, responds with
SdkError<ListVocabulariesError>
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>)
:If the result of the previous request to
ListVocabularyFilters
was truncated, include theNextToken
to fetch the next set of collections.max_results(i32)
/set_max_results(Option<i32>)
:The maximum number of filters to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
name_contains(impl Into<String>)
/set_name_contains(Option<String>)
:Filters the response so that it only contains vocabulary filters whose name contains the specified string.
- On success, responds with
ListVocabularyFiltersOutput
with field(s):next_token(Option<String>)
:The
ListVocabularyFilters
operation returns a page of collections at a time. The maximum size of the page is set by theMaxResults
parameter. If there are more jobs in the list than the page size, Amazon Transcribe returns theNextPage
token. Include the token in the next request to theListVocabularyFilters
operation to return in the next page of jobs.vocabulary_filters(Option<Vec<VocabularyFilterInfo>>)
:The list of vocabulary filters. It contains at most
MaxResults
number of filters. If there are more filters, call theListVocabularyFilters
operation again with theNextToken
parameter in the request set to the value of theNextToken
field in the response.
- On failure, responds with
SdkError<ListVocabularyFiltersError>
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>)
:The name of the call analytics job. You can’t use the string “.” or “..” by themselves as the job name. The name must also be unique within an Amazon Web Services account. If you try to create a call analytics job with the same name as a previous call analytics job, you get a
ConflictException
error.media(Media)
/set_media(Option<Media>)
:Describes the input media file in a transcription request.
output_location(impl Into<String>)
/set_output_location(Option<String>)
:The Amazon S3 location where the output of the call analytics job is stored. You can provide the following location types to store the output of call analytics job:
-
s3://DOC-EXAMPLE-BUCKET1
If you specify a bucket, Amazon Transcribe saves the output of the analytics job as a JSON file at the root level of the bucket.
-
s3://DOC-EXAMPLE-BUCKET1/folder/
f you specify a path, Amazon Transcribe saves the output of the analytics job as s3://DOC-EXAMPLE-BUCKET1/folder/your-transcription-job-name.json.
If you specify a folder, you must provide a trailing slash.
-
s3://DOC-EXAMPLE-BUCKET1/folder/filename.json.
If you provide a path that has the filename specified, Amazon Transcribe saves the output of the analytics job as s3://DOC-EXAMPLEBUCKET1/folder/filename.json.
You can specify an Amazon Web Services Key Management Service (KMS) key to encrypt the output of our analytics job using the
OutputEncryptionKMSKeyId
parameter. If you don’t specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side encryption of the analytics job output that is placed in your S3 bucket.-
output_encryption_kms_key_id(impl Into<String>)
/set_output_encryption_kms_key_id(Option<String>)
:The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service key used to encrypt the output of the call analytics job. The user calling the operation must have permission to use the specified KMS key.
You use either of the following to identify an Amazon Web Services KMS key in the current account:
-
KMS Key ID: “1234abcd-12ab-34cd-56ef-1234567890ab”
-
KMS Key Alias: “alias/ExampleAlias”
You can use either of the following to identify a KMS key in the current account or another account:
-
Amazon Resource Name (ARN) of a KMS key in the current account or another account: “arn:aws:kms:region:account ID:key/1234abcd-12ab-34cd-56ef1234567890ab”
-
ARN of a KMS Key Alias: “arn:aws:kms:region:accountID:alias/ExampleAlias”
If you don’t specify an encryption key, the output of the call analytics job 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 in the
OutputLocation
parameter.-
data_access_role_arn(impl Into<String>)
/set_data_access_role_arn(Option<String>)
:The Amazon Resource Name (ARN) of a role that has access to the S3 bucket that contains your input files. Amazon Transcribe assumes this role to read queued audio files. If you have specified an output S3 bucket for your transcription results, this role should have access to the output bucket as well.
settings(CallAnalyticsJobSettings)
/set_settings(Option<CallAnalyticsJobSettings>)
:A
Settings
object that provides optional settings for a call analytics job.channel_definitions(Vec<ChannelDefinition>)
/set_channel_definitions(Option<Vec<ChannelDefinition>>)
:When you start a call analytics job, you must pass an array that maps the agent and the customer to specific audio channels. The values you can assign to a channel are 0 and 1. The agent and the customer must each have their own channel. You can’t assign more than one channel to an agent or customer.
- On success, responds with
StartCallAnalyticsJobOutput
with field(s):call_analytics_job(Option<CallAnalyticsJob>)
:An object containing the details of the asynchronous call analytics job.
- On failure, responds with
SdkError<StartCallAnalyticsJobError>
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>)
:The name of the medical transcription job. You can’t use the strings “
.
” or “..
” by themselves as the job name. The name must also be unique within an Amazon Web Services account. If you try to create a medical transcription job with the same name as a previous medical transcription job, you get aConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:The language code for the language spoken in the input media file. US English (en-US) is the valid value for medical transcription jobs. Any other value you enter for language code results in a
BadRequestException
error.media_sample_rate_hertz(i32)
/set_media_sample_rate_hertz(Option<i32>)
:The sample rate, in Hertz, of the audio track in the input media file.
If you do not specify the media sample rate, Amazon Transcribe Medical determines the sample rate. If you specify the sample rate, it must match the rate detected by Amazon Transcribe Medical. In most cases, you should leave the
MediaSampleRateHertz
field blank and let Amazon Transcribe Medical determine the sample rate.media_format(MediaFormat)
/set_media_format(Option<MediaFormat>)
:The audio format of the input media file.
media(Media)
/set_media(Option<Media>)
:Describes the input media file in a transcription request.
output_bucket_name(impl Into<String>)
/set_output_bucket_name(Option<String>)
:The Amazon S3 location where the transcription is stored.
You must set
OutputBucketName
for Amazon Transcribe Medical to store the transcription results. Your transcript appears in the S3 location you specify. When you call theGetMedicalTranscriptionJob
, the operation returns this location in theTranscriptFileUri
field. The S3 bucket must have permissions that allow Amazon Transcribe Medical to put files in the bucket. For more information, see Permissions Required for IAM User Roles.You can specify an Amazon Web Services Key Management Service (KMS) key to encrypt the output of your transcription using the
OutputEncryptionKMSKeyId
parameter. If you don’t specify a KMS key, Amazon Transcribe Medical uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket.output_key(impl Into<String>)
/set_output_key(Option<String>)
:You can specify a location in an Amazon S3 bucket to store the output of your medical transcription job.
If you don’t specify an output key, Amazon Transcribe Medical stores the output of your transcription job in the Amazon S3 bucket you specified. By default, the object key is “your-transcription-job-name.json”.
You can use output keys to specify the Amazon S3 prefix and file name of the transcription output. For example, specifying the Amazon S3 prefix, “folder1/folder2/”, as an output key would lead to the output being stored as “folder1/folder2/your-transcription-job-name.json”. If you specify “my-other-job-name.json” as the output key, the object key is changed to “my-other-job-name.json”. You can use an output key to change both the prefix and the file name, for example “folder/my-other-job-name.json”.
If you specify an output key, you must also specify an S3 bucket in the
OutputBucketName
parameter.output_encryption_kms_key_id(impl Into<String>)
/set_output_encryption_kms_key_id(Option<String>)
:The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service (KMS) key used to encrypt the output of the transcription job. The user calling the
StartMedicalTranscriptionJob
operation must have permission to use the specified KMS key.You use either of the following to identify a KMS key in the current account:
-
KMS Key ID: “1234abcd-12ab-34cd-56ef-1234567890ab”
-
KMS Key Alias: “alias/ExampleAlias”
You can use either of the following to identify a KMS key in the current account or another account:
-
Amazon Resource Name (ARN) of a KMS key in the current account or another account: “arn:aws:kms:region:account-ID:key/1234abcd-12ab-34cd-56ef-1234567890ab”
-
ARN of a KMS Key Alias: “arn:aws:kms:region:account ID:alias/ExampleAlias”
If you don’t specify an encryption key, the output of the medical transcription job 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 in the
OutputBucketName
parameter.-
kms_encryption_context(HashMap<String, String>)
/set_kms_encryption_context(Option<HashMap<String, String>>)
:A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data.
settings(MedicalTranscriptionSetting)
/set_settings(Option<MedicalTranscriptionSetting>)
:Optional settings for the medical transcription job.
content_identification_type(MedicalContentIdentificationType)
/set_content_identification_type(Option<MedicalContentIdentificationType>)
:You can configure Amazon Transcribe Medical to label content in the transcription output. If you specify
PHI
, Amazon Transcribe Medical labels the personal health information (PHI) that it identifies in the transcription output.specialty(Specialty)
/set_specialty(Option<Specialty>)
:The medical specialty of any clinician speaking in the input media.
r#type(Type)
/set_type(Option<Type>)
:The type of speech in the input audio.
CONVERSATION
refers to conversations between two or more speakers, e.g., a conversations between doctors and patients.DICTATION
refers to single-speaker dictated speech, such as clinical notes.tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:Add tags to an Amazon Transcribe medical transcription job.
- On success, responds with
StartMedicalTranscriptionJobOutput
with field(s):medical_transcription_job(Option<MedicalTranscriptionJob>)
:A batch job submitted to transcribe medical speech to text.
- On failure, responds with
SdkError<StartMedicalTranscriptionJobError>
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>)
:The name of the job. You can’t use the strings “
.
” or “..
” by themselves as the job name. The name must also be unique within an Amazon Web Services account. If you try to create a transcription job with the same name as a previous transcription job, you get aConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:The language code for the language used in the input media file.
To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video 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>)
:The sample rate, in Hertz, of the audio track in the input media file.
If you do not specify the media sample rate, Amazon Transcribe determines the sample rate. If you specify the sample rate, it must match the sample rate detected by Amazon Transcribe. In most cases, you should leave the
MediaSampleRateHertz
field blank and let Amazon Transcribe determine the sample rate.media_format(MediaFormat)
/set_media_format(Option<MediaFormat>)
:The format of the input media file.
media(Media)
/set_media(Option<Media>)
:An object that describes the input media for a transcription job.
output_bucket_name(impl Into<String>)
/set_output_bucket_name(Option<String>)
:The location where the transcription is stored.
If you set the
OutputBucketName
, Amazon Transcribe puts the transcript in the specified S3 bucket. When you call theGetTranscriptionJob
operation, the operation returns this location in theTranscriptFileUri
field. If you enable content redaction, the redacted transcript appears inRedactedTranscriptFileUri
. If you enable content redaction and choose to output an unredacted transcript, that transcript’s location still appears in theTranscriptFileUri
. The S3 bucket must have permissions that allow Amazon Transcribe to put files in the bucket. For more information, see Permissions Required for IAM User Roles.You can specify an Amazon Web Services Key Management Service (KMS) key to encrypt the output of your transcription using the
OutputEncryptionKMSKeyId
parameter. If you don’t specify a KMS key, Amazon Transcribe uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket.If you don’t set the
OutputBucketName
, Amazon Transcribe generates a pre-signed URL, a shareable URL that provides secure access to your transcription, and returns it in theTranscriptFileUri
field. Use this URL to download the transcription.output_key(impl Into<String>)
/set_output_key(Option<String>)
:You can specify a location in an Amazon S3 bucket to store the output of your transcription job.
If you don’t specify an output key, Amazon Transcribe stores the output of your transcription job in the Amazon S3 bucket you specified. By default, the object key is “your-transcription-job-name.json”.
You can use output keys to specify the Amazon S3 prefix and file name of the transcription output. For example, specifying the Amazon S3 prefix, “folder1/folder2/”, as an output key would lead to the output being stored as “folder1/folder2/your-transcription-job-name.json”. If you specify “my-other-job-name.json” as the output key, the object key is changed to “my-other-job-name.json”. You can use an output key to change both the prefix and the file name, for example “folder/my-other-job-name.json”.
If you specify an output key, you must also specify an S3 bucket in the
OutputBucketName
parameter.output_encryption_kms_key_id(impl Into<String>)
/set_output_encryption_kms_key_id(Option<String>)
:The Amazon Resource Name (ARN) of the Amazon Web Services Key Management Service (KMS) key used to encrypt the output of the transcription job. The user calling the
StartTranscriptionJob
operation must have permission to use the specified KMS key.You can use either of the following to identify a KMS key in the current account:
-
KMS Key ID: “1234abcd-12ab-34cd-56ef-1234567890ab”
-
KMS Key Alias: “alias/ExampleAlias”
You can use either of the following to identify a KMS key in the current account or another account:
-
Amazon Resource Name (ARN) of a KMS Key: “arn:aws:kms:region:account ID:key/1234abcd-12ab-34cd-56ef-1234567890ab”
-
ARN of a KMS Key Alias: “arn:aws:kms:region:account-ID:alias/ExampleAlias”
If you don’t specify an encryption key, the output of the transcription job 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 in the
OutputBucketName
parameter.-
kms_encryption_context(HashMap<String, String>)
/set_kms_encryption_context(Option<HashMap<String, String>>)
:A map of plain text, non-secret key:value pairs, known as encryption context pairs, that provide an added layer of security for your data.
settings(Settings)
/set_settings(Option<Settings>)
:A
Settings
object that provides optional settings for a transcription job.model_settings(ModelSettings)
/set_model_settings(Option<ModelSettings>)
:Choose the custom language model you use for your transcription job in this parameter.
job_execution_settings(JobExecutionSettings)
/set_job_execution_settings(Option<JobExecutionSettings>)
:Provides information about how a transcription job is executed. Use this field to indicate that the job can be queued for deferred execution if the concurrency limit is reached and there are no slots available to immediately run the job.
content_redaction(ContentRedaction)
/set_content_redaction(Option<ContentRedaction>)
:An object that contains the request parameters for content redaction.
identify_language(bool)
/set_identify_language(Option<bool>)
:Set this field to
true
to enable automatic language identification. Automatic language identification is disabled by default. You receive aBadRequestException
error if you enter a value for aLanguageCode
.language_options(Vec<LanguageCode>)
/set_language_options(Option<Vec<LanguageCode>>)
:An object containing a list of languages that might be present in your collection of audio files. Automatic language identification chooses a language that best matches the source audio from that list.
To transcribe speech in Modern Standard Arabic (ar-SA), your audio or video file must be encoded at a sample rate of 16,000 Hz or higher.
subtitles(Subtitles)
/set_subtitles(Option<Subtitles>)
:Add subtitles to your batch transcription job.
tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:Add tags to an Amazon Transcribe transcription job.
language_id_settings(HashMap<LanguageCode, LanguageIdSettings>)
/set_language_id_settings(Option<HashMap<LanguageCode, LanguageIdSettings>>)
:The language identification settings associated with your transcription job. These settings include
VocabularyName
,VocabularyFilterName
, andLanguageModelName
.
- On success, responds with
StartTranscriptionJobOutput
with field(s):transcription_job(Option<TranscriptionJob>)
:An object containing details of the asynchronous transcription job.
- On failure, responds with
SdkError<StartTranscriptionJobError>
Constructs a fluent builder for the TagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The Amazon Resource Name (ARN) of the Amazon Transcribe 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-east-1:account-id:transcription-job/your-job-name
). Valid values forresource-type
are:transcription-job
,medical-transcription-job
,vocabulary
,medical-vocabulary
,vocabulary-filter
, andlanguage-model
.tags(Vec<Tag>)
/set_tags(Option<Vec<Tag>>)
:The tags you are assigning to a given Amazon Transcribe resource.
- On success, responds with
TagResourceOutput
- On failure, responds with
SdkError<TagResourceError>
Constructs a fluent builder for the UntagResource
operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)
/set_resource_arn(Option<String>)
:The 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-east-1:account-id:transcription-job/your-job-name
). Valid values forresource-type
are:transcription-job
,medical-transcription-job
,vocabulary
,medical-vocabulary
,vocabulary-filter
, andlanguage-model
.tag_keys(Vec<String>)
/set_tag_keys(Option<Vec<String>>)
:A list of tag keys you want to remove from a specified Amazon Transcribe resource.
- On success, responds with
UntagResourceOutput
- On failure, responds with
SdkError<UntagResourceError>
Constructs a fluent builder for the UpdateCallAnalyticsCategory
operation.
- The fluent builder is configurable:
category_name(impl Into<String>)
/set_category_name(Option<String>)
:The name of the analytics category to update. The name is case sensitive. If you try to update a call analytics category with the same name as a previous category you will receive a
ConflictException
error.rules(Vec<Rule>)
/set_rules(Option<Vec<Rule>>)
:The rules used for the updated analytics category. The rules that you provide in this field replace the ones that are currently being used.
- On success, responds with
UpdateCallAnalyticsCategoryOutput
with field(s):category_properties(Option<CategoryProperties>)
:The attributes describing the analytics category. You can see information such as the rules that you’ve used to update the category and when the category was originally created.
- On failure, responds with
SdkError<UpdateCallAnalyticsCategoryError>
Constructs a fluent builder for the UpdateMedicalVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:The name of the vocabulary to update. The name is case sensitive. If you try to update a vocabulary with the same name as a vocabulary you’ve already made, you get a
ConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:The language code of the language used for the entries in the updated vocabulary. U.S. English (en-US) is the only valid language code in Amazon Transcribe Medical.
vocabulary_file_uri(impl Into<String>)
/set_vocabulary_file_uri(Option<String>)
:The location in Amazon S3 of the text file that contains your custom vocabulary. The URI must be in the same Amazon Web Services Region as the resource that you are calling. The following is the format for a URI:
https://s3.
.amazonaws.com/ / / For example:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about Amazon S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies in Amazon Transcribe Medical, see Medical Custom Vocabularies.
- On success, responds with
UpdateMedicalVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name of the updated vocabulary.
language_code(Option<LanguageCode>)
:The language code for the language of the text file used to update the custom vocabulary. US English (en-US) is the only language supported in Amazon Transcribe Medical.
last_modified_time(Option<DateTime>)
:The date and time that the vocabulary was updated.
vocabulary_state(Option<VocabularyState>)
:The processing state of the update to the vocabulary. When the
VocabularyState
field isREADY
, the vocabulary is ready to be used in aStartMedicalTranscriptionJob
request.
- On failure, responds with
SdkError<UpdateMedicalVocabularyError>
Constructs a fluent builder for the UpdateVocabulary
operation.
- The fluent builder is configurable:
vocabulary_name(impl Into<String>)
/set_vocabulary_name(Option<String>)
:The name of the vocabulary to update. The name is case sensitive. If you try to update a vocabulary with the same name as a previous vocabulary you will receive a
ConflictException
error.language_code(LanguageCode)
/set_language_code(Option<LanguageCode>)
:The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see Supported languages.
phrases(Vec<String>)
/set_phrases(Option<Vec<String>>)
:An array of strings containing the vocabulary entries.
vocabulary_file_uri(impl Into<String>)
/set_vocabulary_file_uri(Option<String>)
:The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:
https://s3.
.amazonaws.com/ / / For example:
https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Custom Vocabularies.
- On success, responds with
UpdateVocabularyOutput
with field(s):vocabulary_name(Option<String>)
:The name of the vocabulary that was updated.
language_code(Option<LanguageCode>)
:The language code of the vocabulary entries.
last_modified_time(Option<DateTime>)
:The date and time that the vocabulary was updated.
vocabulary_state(Option<VocabularyState>)
:The processing state of the vocabulary. When the
VocabularyState
field containsREADY
the vocabulary is ready to be used in aStartTranscriptionJob
request.
- On failure, responds with
SdkError<UpdateVocabularyError>
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>)
:The name of the vocabulary filter to update. If you try to update a vocabulary filter with the same name as another vocabulary filter, you get a
ConflictException
error.words(Vec<String>)
/set_words(Option<Vec<String>>)
:The words to use in the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
If you provide a list of words in the
Words
parameter, you can’t use theVocabularyFilterFileUri
parameter.vocabulary_filter_file_uri(impl Into<String>)
/set_vocabulary_filter_file_uri(Option<String>)
:The Amazon S3 location of a text file used as input to create the vocabulary filter. Only use characters from the character set defined for custom vocabularies. For a list of character sets, see Character Sets for Custom Vocabularies.
The specified file must be less than 50 KB of UTF-8 characters.
If you provide the location of a list of words in the
VocabularyFilterFileUri
parameter, you can’t use theWords
parameter.
- On success, responds with
UpdateVocabularyFilterOutput
with field(s):vocabulary_filter_name(Option<String>)
:The name of the updated vocabulary filter.
language_code(Option<LanguageCode>)
:The language code of the words in the vocabulary filter.
last_modified_time(Option<DateTime>)
:The date and time that the vocabulary filter was updated.
- On failure, responds with
SdkError<UpdateVocabularyFilterError>
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more