aws_sdk_qapps/client/
batch_create_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 [`BatchCreateCategory`](crate::operation::batch_create_category::builders::BatchCreateCategoryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::batch_create_category::builders::BatchCreateCategoryFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::batch_create_category::builders::BatchCreateCategoryFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application environment instance.</p><br>
7    ///   - [`categories(BatchCreateCategoryInputCategory)`](crate::operation::batch_create_category::builders::BatchCreateCategoryFluentBuilder::categories) / [`set_categories(Option<Vec::<BatchCreateCategoryInputCategory>>)`](crate::operation::batch_create_category::builders::BatchCreateCategoryFluentBuilder::set_categories):<br>required: **true**<br><p>The list of category objects to be created</p><br>
8    /// - On success, responds with [`BatchCreateCategoryOutput`](crate::operation::batch_create_category::BatchCreateCategoryOutput)
9    /// - On failure, responds with [`SdkError<BatchCreateCategoryError>`](crate::operation::batch_create_category::BatchCreateCategoryError)
10    pub fn batch_create_category(&self) -> crate::operation::batch_create_category::builders::BatchCreateCategoryFluentBuilder {
11        crate::operation::batch_create_category::builders::BatchCreateCategoryFluentBuilder::new(self.handle.clone())
12    }
13}