Skip to main content

aws_sdk_qapps/client/
batch_delete_category.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`BatchDeleteCategory`](crate::operation::batch_delete_category::builders::BatchDeleteCategoryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::batch_delete_category::builders::BatchDeleteCategoryFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::batch_delete_category::builders::BatchDeleteCategoryFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application environment instance.</p><br>
7    ///   - [`categories(impl Into<String>)`](crate::operation::batch_delete_category::builders::BatchDeleteCategoryFluentBuilder::categories) / [`set_categories(Option<Vec::<String>>)`](crate::operation::batch_delete_category::builders::BatchDeleteCategoryFluentBuilder::set_categories):<br>required: **true**<br><p>The list of IDs of the categories to be deleted.</p><br>
8    /// - On success, responds with [`BatchDeleteCategoryOutput`](crate::operation::batch_delete_category::BatchDeleteCategoryOutput)
9    /// - On failure, responds with [`SdkError<BatchDeleteCategoryError>`](crate::operation::batch_delete_category::BatchDeleteCategoryError)
10    pub fn batch_delete_category(&self) -> crate::operation::batch_delete_category::builders::BatchDeleteCategoryFluentBuilder {
11        crate::operation::batch_delete_category::builders::BatchDeleteCategoryFluentBuilder::new(self.handle.clone())
12    }
13}