aws_sdk_glue/client/
batch_update_partition.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 [`BatchUpdatePartition`](crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`catalog_id(impl Into<String>)`](crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The ID of the catalog in which the partition is to be updated. Currently, this should be the Amazon Web Services account ID.</p><br>
7    ///   - [`database_name(impl Into<String>)`](crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder::database_name) / [`set_database_name(Option<String>)`](crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder::set_database_name):<br>required: **true**<br><p>The name of the metadata database in which the partition is to be updated.</p><br>
8    ///   - [`table_name(impl Into<String>)`](crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder::table_name) / [`set_table_name(Option<String>)`](crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder::set_table_name):<br>required: **true**<br><p>The name of the metadata table in which the partition is to be updated.</p><br>
9    ///   - [`entries(BatchUpdatePartitionRequestEntry)`](crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder::entries) / [`set_entries(Option<Vec::<BatchUpdatePartitionRequestEntry>>)`](crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder::set_entries):<br>required: **true**<br><p>A list of up to 100 <code>BatchUpdatePartitionRequestEntry</code> objects to update.</p><br>
10    /// - On success, responds with [`BatchUpdatePartitionOutput`](crate::operation::batch_update_partition::BatchUpdatePartitionOutput) with field(s):
11    ///   - [`errors(Option<Vec::<BatchUpdatePartitionFailureEntry>>)`](crate::operation::batch_update_partition::BatchUpdatePartitionOutput::errors): <p>The errors encountered when trying to update the requested partitions. A list of <code>BatchUpdatePartitionFailureEntry</code> objects.</p>
12    /// - On failure, responds with [`SdkError<BatchUpdatePartitionError>`](crate::operation::batch_update_partition::BatchUpdatePartitionError)
13    pub fn batch_update_partition(&self) -> crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder {
14        crate::operation::batch_update_partition::builders::BatchUpdatePartitionFluentBuilder::new(self.handle.clone())
15    }
16}