Struct aws_sdk_s3::operation::put_bucket_inventory_configuration::PutBucketInventoryConfigurationInput
source · #[non_exhaustive]pub struct PutBucketInventoryConfigurationInput {
pub bucket: Option<String>,
pub id: Option<String>,
pub inventory_configuration: Option<InventoryConfiguration>,
pub expected_bucket_owner: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bucket: Option<String>
The name of the bucket where the inventory configuration will be stored.
id: Option<String>
The ID used to identify the inventory configuration.
inventory_configuration: Option<InventoryConfiguration>
Specifies the inventory configuration.
expected_bucket_owner: Option<String>
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
Implementations§
source§impl PutBucketInventoryConfigurationInput
impl PutBucketInventoryConfigurationInput
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The name of the bucket where the inventory configuration will be stored.
sourcepub fn inventory_configuration(&self) -> Option<&InventoryConfiguration>
pub fn inventory_configuration(&self) -> Option<&InventoryConfiguration>
Specifies the inventory configuration.
sourcepub fn expected_bucket_owner(&self) -> Option<&str>
pub fn expected_bucket_owner(&self) -> Option<&str>
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
source§impl PutBucketInventoryConfigurationInput
impl PutBucketInventoryConfigurationInput
sourcepub fn builder() -> PutBucketInventoryConfigurationInputBuilder
pub fn builder() -> PutBucketInventoryConfigurationInputBuilder
Creates a new builder-style object to manufacture PutBucketInventoryConfigurationInput
.
Trait Implementations§
source§impl Clone for PutBucketInventoryConfigurationInput
impl Clone for PutBucketInventoryConfigurationInput
source§fn clone(&self) -> PutBucketInventoryConfigurationInput
fn clone(&self) -> PutBucketInventoryConfigurationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for PutBucketInventoryConfigurationInput
impl PartialEq for PutBucketInventoryConfigurationInput
source§fn eq(&self, other: &PutBucketInventoryConfigurationInput) -> bool
fn eq(&self, other: &PutBucketInventoryConfigurationInput) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutBucketInventoryConfigurationInput
Auto Trait Implementations§
impl Freeze for PutBucketInventoryConfigurationInput
impl RefUnwindSafe for PutBucketInventoryConfigurationInput
impl Send for PutBucketInventoryConfigurationInput
impl Sync for PutBucketInventoryConfigurationInput
impl Unpin for PutBucketInventoryConfigurationInput
impl UnwindSafe for PutBucketInventoryConfigurationInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)