1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`BatchCreatePartition`](crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`catalog_id(impl Into<String>)`](crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The ID of the catalog in which the partition is to be created. Currently, this should be the Amazon Web Services account ID.</p><br>
    ///   - [`database_name(impl Into<String>)`](crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the metadata database in which the partition is to be created.</p><br>
    ///   - [`table_name(impl Into<String>)`](crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder::set_table_name):<br>required: **true**<br><p>The name of the metadata table in which the partition is to be created.</p><br>
    ///   - [`partition_input_list(PartitionInput)`](crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder::partition_input_list) / [`set_partition_input_list(Option<Vec::<PartitionInput>>)`](crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder::set_partition_input_list):<br>required: **true**<br><p>A list of <code>PartitionInput</code> structures that define the partitions to be created.</p><br>
    /// - On success, responds with [`BatchCreatePartitionOutput`](crate::operation::batch_create_partition::BatchCreatePartitionOutput) with field(s):
    ///   - [`errors(Option<Vec::<PartitionError>>)`](crate::operation::batch_create_partition::BatchCreatePartitionOutput::errors): <p>The errors encountered when trying to create the requested partitions.</p>
    /// - On failure, responds with [`SdkError<BatchCreatePartitionError>`](crate::operation::batch_create_partition::BatchCreatePartitionError)
    pub fn batch_create_partition(&self) -> crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder {
        crate::operation::batch_create_partition::builders::BatchCreatePartitionFluentBuilder::new(self.handle.clone())
    }
}