#[non_exhaustive]pub struct CreateVocabularyInput {
pub client_token: Option<String>,
pub instance_id: Option<String>,
pub vocabulary_name: Option<String>,
pub language_code: Option<VocabularyLanguageCode>,
pub content: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_token: Option<String>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
instance_id: Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
vocabulary_name: Option<String>
A unique name of the custom vocabulary.
language_code: Option<VocabularyLanguageCode>
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
content: Option<String>
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase
, IPA
, SoundsLike
, and DisplayAs
fields. Separate the fields with TAB characters. The size limit is 50KB. For more information, see Create a custom vocabulary using a table.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
Implementations§
source§impl CreateVocabularyInput
impl CreateVocabularyInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. If a create request is received more than once with same client token, subsequent requests return the previous response without creating a vocabulary again.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn vocabulary_name(&self) -> Option<&str>
pub fn vocabulary_name(&self) -> Option<&str>
A unique name of the custom vocabulary.
sourcepub fn language_code(&self) -> Option<&VocabularyLanguageCode>
pub fn language_code(&self) -> Option<&VocabularyLanguageCode>
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
sourcepub fn content(&self) -> Option<&str>
pub fn content(&self) -> Option<&str>
The content of the custom vocabulary in plain-text format with a table of values. Each row in the table represents a word or a phrase, described with Phrase
, IPA
, SoundsLike
, and DisplayAs
fields. Separate the fields with TAB characters. The size limit is 50KB. For more information, see Create a custom vocabulary using a table.
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
source§impl CreateVocabularyInput
impl CreateVocabularyInput
sourcepub fn builder() -> CreateVocabularyInputBuilder
pub fn builder() -> CreateVocabularyInputBuilder
Creates a new builder-style object to manufacture CreateVocabularyInput
.
Trait Implementations§
source§impl Clone for CreateVocabularyInput
impl Clone for CreateVocabularyInput
source§fn clone(&self) -> CreateVocabularyInput
fn clone(&self) -> CreateVocabularyInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateVocabularyInput
impl Debug for CreateVocabularyInput
source§impl PartialEq for CreateVocabularyInput
impl PartialEq for CreateVocabularyInput
source§fn eq(&self, other: &CreateVocabularyInput) -> bool
fn eq(&self, other: &CreateVocabularyInput) -> bool
self
and other
values to be equal, and is used
by ==
.