aws_sdk_s3tables/client/
update_table_metadata_location.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 [`UpdateTableMetadataLocation`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`table_bucket_arn(impl Into<String>)`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::table_bucket_arn) / [`set_table_bucket_arn(Option<String>)`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::set_table_bucket_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the table bucket.</p><br>
7    ///   - [`namespace(impl Into<String>)`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::namespace) / [`set_namespace(Option<String>)`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::set_namespace):<br>required: **true**<br><p>The namespace of the table.</p><br>
8    ///   - [`name(impl Into<String>)`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::set_name):<br>required: **true**<br><p>The name of the table.</p><br>
9    ///   - [`version_token(impl Into<String>)`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::version_token) / [`set_version_token(Option<String>)`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::set_version_token):<br>required: **true**<br><p>The version token of the table.</p><br>
10    ///   - [`metadata_location(impl Into<String>)`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::metadata_location) / [`set_metadata_location(Option<String>)`](crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::set_metadata_location):<br>required: **true**<br><p>The new metadata location for the table.</p><br>
11    /// - On success, responds with [`UpdateTableMetadataLocationOutput`](crate::operation::update_table_metadata_location::UpdateTableMetadataLocationOutput) with field(s):
12    ///   - [`name(String)`](crate::operation::update_table_metadata_location::UpdateTableMetadataLocationOutput::name): <p>The name of the table.</p>
13    ///   - [`table_arn(String)`](crate::operation::update_table_metadata_location::UpdateTableMetadataLocationOutput::table_arn): <p>The Amazon Resource Name (ARN) of the table.</p>
14    ///   - [`namespace(Vec::<String>)`](crate::operation::update_table_metadata_location::UpdateTableMetadataLocationOutput::namespace): <p>The namespace the table is associated with.</p>
15    ///   - [`version_token(String)`](crate::operation::update_table_metadata_location::UpdateTableMetadataLocationOutput::version_token): <p>The version token of the table.</p>
16    ///   - [`metadata_location(String)`](crate::operation::update_table_metadata_location::UpdateTableMetadataLocationOutput::metadata_location): <p>The metadata location of the table.</p>
17    /// - On failure, responds with [`SdkError<UpdateTableMetadataLocationError>`](crate::operation::update_table_metadata_location::UpdateTableMetadataLocationError)
18    pub fn update_table_metadata_location(
19        &self,
20    ) -> crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder {
21        crate::operation::update_table_metadata_location::builders::UpdateTableMetadataLocationFluentBuilder::new(self.handle.clone())
22    }
23}