Struct aws_sdk_connect::input::CreateVocabularyInput
source · #[non_exhaustive]pub struct CreateVocabularyInput { /* private fields */ }
Implementations§
source§impl CreateVocabularyInput
impl CreateVocabularyInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateVocabulary, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateVocabulary, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateVocabulary
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateVocabularyInput
.
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 instanceId in the 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"} }.
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<CreateVocabularyInput> for CreateVocabularyInput
impl PartialEq<CreateVocabularyInput> 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 ==
.