aws-sdk-s3 1.131.0

AWS SDK for Amazon Simple Storage Service
Documentation
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 [`GetBucketMetadataConfiguration`](crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetBucketMetadataConfigurationOutput`](crate::operation::get_bucket_metadata_configuration::GetBucketMetadataConfigurationOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetBucketMetadataConfigurationError>`](crate::operation::get_bucket_metadata_configuration::GetBucketMetadataConfigurationError)
    pub fn get_bucket_metadata_configuration(
        &self,
    ) -> crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationFluentBuilder {
        crate::operation::get_bucket_metadata_configuration::builders::GetBucketMetadataConfigurationFluentBuilder::new(self.handle.clone())
    }
}