aws_sdk_s3/client/
get_bucket_metadata_table_configuration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetBucketMetadataTableConfiguration`](crate::operation::get_bucket_metadata_table_configuration::builders::GetBucketMetadataTableConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`bucket(impl Into<String>)`](crate::operation::get_bucket_metadata_table_configuration::builders::GetBucketMetadataTableConfigurationFluentBuilder::bucket) / [`set_bucket(Option<String>)`](crate::operation::get_bucket_metadata_table_configuration::builders::GetBucketMetadataTableConfigurationFluentBuilder::set_bucket):<br>required: **true**<br><p>The general purpose bucket that contains the metadata table configuration that you want to retrieve.</p><br>
    ///   - [`expected_bucket_owner(impl Into<String>)`](crate::operation::get_bucket_metadata_table_configuration::builders::GetBucketMetadataTableConfigurationFluentBuilder::expected_bucket_owner) / [`set_expected_bucket_owner(Option<String>)`](crate::operation::get_bucket_metadata_table_configuration::builders::GetBucketMetadataTableConfigurationFluentBuilder::set_expected_bucket_owner):<br>required: **false**<br><p>The expected owner of the general purpose bucket that you want to retrieve the metadata table configuration from.</p><br>
    /// - On success, responds with [`GetBucketMetadataTableConfigurationOutput`](crate::operation::get_bucket_metadata_table_configuration::GetBucketMetadataTableConfigurationOutput) with field(s):
    ///   - [`get_bucket_metadata_table_configuration_result(Option<GetBucketMetadataTableConfigurationResult>)`](crate::operation::get_bucket_metadata_table_configuration::GetBucketMetadataTableConfigurationOutput::get_bucket_metadata_table_configuration_result): <p>The metadata table configuration for the general purpose bucket.</p>
    /// - On failure, responds with [`SdkError<GetBucketMetadataTableConfigurationError>`](crate::operation::get_bucket_metadata_table_configuration::GetBucketMetadataTableConfigurationError)
    pub fn get_bucket_metadata_table_configuration(
        &self,
    ) -> crate::operation::get_bucket_metadata_table_configuration::builders::GetBucketMetadataTableConfigurationFluentBuilder {
        crate::operation::get_bucket_metadata_table_configuration::builders::GetBucketMetadataTableConfigurationFluentBuilder::new(
            self.handle.clone(),
        )
    }
}