aws_sdk_s3/client/
get_bucket_metadata_configuration.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 [`GetBucketMetadataConfiguration`](crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`bucket(impl Into<String>)`](crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationFluentBuilder::bucket) / [`set_bucket(Option<String>)`](crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationFluentBuilder::set_bucket):<br>required: **true**<br><p>The general purpose bucket that corresponds to the metadata configuration that you want to retrieve.</p><br>
7    ///   - [`expected_bucket_owner(impl Into<String>)`](crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationFluentBuilder::expected_bucket_owner) / [`set_expected_bucket_owner(Option<String>)`](crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationFluentBuilder::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 for.</p><br>
8    /// - On success, responds with [`GetBucketMetadataConfigurationOutput`](crate::operation::get_bucket_metadata_configuration::GetBucketMetadataConfigurationOutput) with field(s):
9    ///   - [`get_bucket_metadata_configuration_result(Option<GetBucketMetadataConfigurationResult>)`](crate::operation::get_bucket_metadata_configuration::GetBucketMetadataConfigurationOutput::get_bucket_metadata_configuration_result): <p>The metadata configuration for the general purpose bucket.</p>
10    /// - On failure, responds with [`SdkError<GetBucketMetadataConfigurationError>`](crate::operation::get_bucket_metadata_configuration::GetBucketMetadataConfigurationError)
11    pub fn get_bucket_metadata_configuration(
12        &self,
13    ) -> crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationFluentBuilder {
14        crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationFluentBuilder::new(self.handle.clone())
15    }
16}