pub struct BatchCreateCustomVocabularyItem { /* private fields */ }Expand description
Fluent builder constructing a request to BatchCreateCustomVocabularyItem.
Batch create custom vocabulary item for the specified locale in the specified bot.
Implementations§
source§impl BatchCreateCustomVocabularyItem
impl BatchCreateCustomVocabularyItem
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<BatchCreateCustomVocabularyItem, AwsResponseRetryClassifier>, SdkError<BatchCreateCustomVocabularyItemError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<BatchCreateCustomVocabularyItem, AwsResponseRetryClassifier>, SdkError<BatchCreateCustomVocabularyItemError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<BatchCreateCustomVocabularyItemOutput, SdkError<BatchCreateCustomVocabularyItemError>>
pub async fn send(
self
) -> Result<BatchCreateCustomVocabularyItemOutput, SdkError<BatchCreateCustomVocabularyItemError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The unique identifier of the bot to batch create the custom vocabulary item for.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The unique identifier of the bot to batch create the custom vocabulary item for.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The bot version of the bot to batch create the custom vocabulary item for.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The bot version of the bot to batch create the custom vocabulary item for.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The unique locale identifier of the bot to batch create the custom vocabulary item for.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The unique locale identifier of the bot to batch create the custom vocabulary item for.
sourcepub fn custom_vocabulary_item_list(self, input: NewCustomVocabularyItem) -> Self
pub fn custom_vocabulary_item_list(self, input: NewCustomVocabularyItem) -> Self
Appends an item to customVocabularyItemList.
To override the contents of this collection use set_custom_vocabulary_item_list.
The custom vocabulary item list of the bot to batch create the custom vocabulary item for.
sourcepub fn set_custom_vocabulary_item_list(
self,
input: Option<Vec<NewCustomVocabularyItem>>
) -> Self
pub fn set_custom_vocabulary_item_list(
self,
input: Option<Vec<NewCustomVocabularyItem>>
) -> Self
The custom vocabulary item list of the bot to batch create the custom vocabulary item for.
Trait Implementations§
source§impl Clone for BatchCreateCustomVocabularyItem
impl Clone for BatchCreateCustomVocabularyItem
source§fn clone(&self) -> BatchCreateCustomVocabularyItem
fn clone(&self) -> BatchCreateCustomVocabularyItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more