aws_sdk_s3/client/delete_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 [`DeleteBucketMetadataConfiguration`](crate::operation::delete_bucket_metadata_configuration::builders::DeleteBucketMetadataConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`bucket(impl Into<String>)`](crate::operation::delete_bucket_metadata_configuration::builders::DeleteBucketMetadataConfigurationFluentBuilder::bucket) / [`set_bucket(Option<String>)`](crate::operation::delete_bucket_metadata_configuration::builders::DeleteBucketMetadataConfigurationFluentBuilder::set_bucket):<br>required: **true**<br><p>The general purpose bucket that you want to remove the metadata configuration from.</p><br>
7 /// - [`expected_bucket_owner(impl Into<String>)`](crate::operation::delete_bucket_metadata_configuration::builders::DeleteBucketMetadataConfigurationFluentBuilder::expected_bucket_owner) / [`set_expected_bucket_owner(Option<String>)`](crate::operation::delete_bucket_metadata_configuration::builders::DeleteBucketMetadataConfigurationFluentBuilder::set_expected_bucket_owner):<br>required: **false**<br><p>The expected bucket owner of the general purpose bucket that you want to remove the metadata table configuration from.</p><br>
8 /// - On success, responds with [`DeleteBucketMetadataConfigurationOutput`](crate::operation::delete_bucket_metadata_configuration::DeleteBucketMetadataConfigurationOutput)
9 /// - On failure, responds with [`SdkError<DeleteBucketMetadataConfigurationError>`](crate::operation::delete_bucket_metadata_configuration::DeleteBucketMetadataConfigurationError)
10 pub fn delete_bucket_metadata_configuration(
11 &self,
12 ) -> crate::operation::delete_bucket_metadata_configuration::builders::DeleteBucketMetadataConfigurationFluentBuilder {
13 crate::operation::delete_bucket_metadata_configuration::builders::DeleteBucketMetadataConfigurationFluentBuilder::new(self.handle.clone())
14 }
15}