1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PutBucketInventoryConfiguration`](crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`bucket(impl Into<String>)`](crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder::bucket) / [`set_bucket(Option<String>)`](crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder::set_bucket): <p>The name of the bucket where the inventory configuration will be stored.</p>
/// - [`id(impl Into<String>)`](crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder::set_id): <p>The ID used to identify the inventory configuration.</p>
/// - [`inventory_configuration(InventoryConfiguration)`](crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder::inventory_configuration) / [`set_inventory_configuration(Option<InventoryConfiguration>)`](crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder::set_inventory_configuration): <p>Specifies the inventory configuration.</p>
/// - [`expected_bucket_owner(impl Into<String>)`](crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder::expected_bucket_owner) / [`set_expected_bucket_owner(Option<String>)`](crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder::set_expected_bucket_owner): <p>The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).</p>
/// - On success, responds with [`PutBucketInventoryConfigurationOutput`](crate::operation::put_bucket_inventory_configuration::PutBucketInventoryConfigurationOutput)
/// - On failure, responds with [`SdkError<PutBucketInventoryConfigurationError>`](crate::operation::put_bucket_inventory_configuration::PutBucketInventoryConfigurationError)
pub fn put_bucket_inventory_configuration(&self) -> crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder{
crate::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationFluentBuilder::new(self.handle.clone())
}
}