pub struct BatchUpdateCustomVocabularyItem { /* private fields */ }Expand description
Fluent builder constructing a request to BatchUpdateCustomVocabularyItem.
Batch update custom vocabulary item for the specified locale in the specified bot.
Implementations§
source§impl BatchUpdateCustomVocabularyItem
impl BatchUpdateCustomVocabularyItem
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<BatchUpdateCustomVocabularyItem, AwsResponseRetryClassifier>, SdkError<BatchUpdateCustomVocabularyItemError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<BatchUpdateCustomVocabularyItem, AwsResponseRetryClassifier>, SdkError<BatchUpdateCustomVocabularyItemError>>
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<BatchUpdateCustomVocabularyItemOutput, SdkError<BatchUpdateCustomVocabularyItemError>>
pub async fn send(
self
) -> Result<BatchUpdateCustomVocabularyItemOutput, SdkError<BatchUpdateCustomVocabularyItemError>>
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 the batch update request for the custom vocabulary item.
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 the batch update request for the custom vocabulary item.
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 the batch update request for the custom vocabulary item.
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 the batch update request for the custom vocabulary item.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The locale identifier of the bot to the batch update request for the custom vocabulary item.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The locale identifier of the bot to the batch update request for the custom vocabulary item.
sourcepub fn custom_vocabulary_item_list(self, input: CustomVocabularyItem) -> Self
pub fn custom_vocabulary_item_list(self, input: CustomVocabularyItem) -> 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 the batch update request for the custom vocabulary item.
sourcepub fn set_custom_vocabulary_item_list(
self,
input: Option<Vec<CustomVocabularyItem>>
) -> Self
pub fn set_custom_vocabulary_item_list(
self,
input: Option<Vec<CustomVocabularyItem>>
) -> Self
The custom vocabulary item list of the bot to the batch update request for the custom vocabulary item.
Trait Implementations§
source§impl Clone for BatchUpdateCustomVocabularyItem
impl Clone for BatchUpdateCustomVocabularyItem
source§fn clone(&self) -> BatchUpdateCustomVocabularyItem
fn clone(&self) -> BatchUpdateCustomVocabularyItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more