pub struct DeleteBucketLifecycleInput {
pub bucket: BucketName,
pub expected_bucket_owner: Option<AccountId>,
}Fields§
§bucket: BucketNameThe bucket name of the lifecycle to delete.
expected_bucket_owner: Option<AccountId>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).
This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteBucketLifecycleInput
impl Clone for DeleteBucketLifecycleInput
Source§fn clone(&self) -> DeleteBucketLifecycleInput
fn clone(&self) -> DeleteBucketLifecycleInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteBucketLifecycleInput
impl Debug for DeleteBucketLifecycleInput
Source§impl Default for DeleteBucketLifecycleInput
impl Default for DeleteBucketLifecycleInput
Source§fn default() -> DeleteBucketLifecycleInput
fn default() -> DeleteBucketLifecycleInput
Returns the “default value” for a type. Read more
Source§impl DtoExt for DeleteBucketLifecycleInput
impl DtoExt for DeleteBucketLifecycleInput
Source§fn ignore_empty_strings(&mut self)
fn ignore_empty_strings(&mut self)
Modifies all empty string fields from
Some("") to NoneSource§impl PartialEq for DeleteBucketLifecycleInput
impl PartialEq for DeleteBucketLifecycleInput
Source§fn eq(&self, other: &DeleteBucketLifecycleInput) -> bool
fn eq(&self, other: &DeleteBucketLifecycleInput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteBucketLifecycleInput
Auto Trait Implementations§
impl Freeze for DeleteBucketLifecycleInput
impl RefUnwindSafe for DeleteBucketLifecycleInput
impl Send for DeleteBucketLifecycleInput
impl Sync for DeleteBucketLifecycleInput
impl Unpin for DeleteBucketLifecycleInput
impl UnsafeUnpin for DeleteBucketLifecycleInput
impl UnwindSafe for DeleteBucketLifecycleInput
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
Mutably borrows from an owned value. Read more