1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchDeleteCustomVocabularyItem`](crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bot_id(impl Into<String>)`](crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder::set_bot_id):<br>required: **true**<br><p>The identifier of the bot associated with this custom vocabulary.</p><br>
    ///   - [`bot_version(impl Into<String>)`](crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder::bot_version) / [`set_bot_version(Option<String>)`](crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder::set_bot_version):<br>required: **true**<br><p>The identifier of the version of the bot associated with this custom vocabulary.</p><br>
    ///   - [`locale_id(impl Into<String>)`](crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder::locale_id) / [`set_locale_id(Option<String>)`](crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder::set_locale_id):<br>required: **true**<br><p>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html"> Supported Languages </a>.</p><br>
    ///   - [`custom_vocabulary_item_list(CustomVocabularyEntryId)`](crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder::custom_vocabulary_item_list) / [`set_custom_vocabulary_item_list(Option<Vec::<CustomVocabularyEntryId>>)`](crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder::set_custom_vocabulary_item_list):<br>required: **true**<br><p>A list of custom vocabulary items requested to be deleted. Each entry must contain the unique custom vocabulary entry identifier.</p><br>
    /// - On success, responds with [`BatchDeleteCustomVocabularyItemOutput`](crate::operation::batch_delete_custom_vocabulary_item::BatchDeleteCustomVocabularyItemOutput) with field(s):
    ///   - [`bot_id(Option<String>)`](crate::operation::batch_delete_custom_vocabulary_item::BatchDeleteCustomVocabularyItemOutput::bot_id): <p>The identifier of the bot associated with this custom vocabulary.</p>
    ///   - [`bot_version(Option<String>)`](crate::operation::batch_delete_custom_vocabulary_item::BatchDeleteCustomVocabularyItemOutput::bot_version): <p>The identifier of the version of the bot associated with this custom vocabulary.</p>
    ///   - [`locale_id(Option<String>)`](crate::operation::batch_delete_custom_vocabulary_item::BatchDeleteCustomVocabularyItemOutput::locale_id): <p>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).</p>
    ///   - [`errors(Option<Vec::<FailedCustomVocabularyItem>>)`](crate::operation::batch_delete_custom_vocabulary_item::BatchDeleteCustomVocabularyItemOutput::errors): <p>A list of custom vocabulary items that failed to delete during the operation. The reason for the error is contained within each error object.</p>
    ///   - [`resources(Option<Vec::<CustomVocabularyItem>>)`](crate::operation::batch_delete_custom_vocabulary_item::BatchDeleteCustomVocabularyItemOutput::resources): <p>A list of custom vocabulary items that were successfully deleted during the operation.</p>
    /// - On failure, responds with [`SdkError<BatchDeleteCustomVocabularyItemError>`](crate::operation::batch_delete_custom_vocabulary_item::BatchDeleteCustomVocabularyItemError)
    pub fn batch_delete_custom_vocabulary_item(
        &self,
    ) -> crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder {
        crate::operation::batch_delete_custom_vocabulary_item::builders::BatchDeleteCustomVocabularyItemFluentBuilder::new(self.handle.clone())
    }
}