#[non_exhaustive]pub struct PutBucketAbacInput {
pub bucket: Option<String>,
pub content_md5: Option<String>,
pub checksum_algorithm: Option<ChecksumAlgorithm>,
pub expected_bucket_owner: Option<String>,
pub abac_status: Option<AbacStatus>,
}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 general purpose bucket.
content_md5: Option<String>The MD5 hash of the PutBucketAbac request body.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
checksum_algorithm: Option<ChecksumAlgorithm>Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.
expected_bucket_owner: Option<String>The Amazon Web Services account ID of the general purpose bucket's owner.
abac_status: Option<AbacStatus>The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.
Implementations§
Source§impl PutBucketAbacInput
impl PutBucketAbacInput
Sourcepub fn content_md5(&self) -> Option<&str>
pub fn content_md5(&self) -> Option<&str>
The MD5 hash of the PutBucketAbac request body.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
Sourcepub fn checksum_algorithm(&self) -> Option<&ChecksumAlgorithm>
pub fn checksum_algorithm(&self) -> Option<&ChecksumAlgorithm>
Indicates the algorithm that you want Amazon S3 to use to create the checksum. For more information, see Checking object integrity in the Amazon S3 User Guide.
Sourcepub fn expected_bucket_owner(&self) -> Option<&str>
pub fn expected_bucket_owner(&self) -> Option<&str>
The Amazon Web Services account ID of the general purpose bucket's owner.
Sourcepub fn abac_status(&self) -> Option<&AbacStatus>
pub fn abac_status(&self) -> Option<&AbacStatus>
The ABAC status of the general purpose bucket. When ABAC is enabled for the general purpose bucket, you can use tags to manage access to the general purpose buckets as well as for cost tracking purposes. When ABAC is disabled for the general purpose buckets, you can only use tags for cost tracking purposes. For more information, see Using tags with S3 general purpose buckets.
Source§impl PutBucketAbacInput
impl PutBucketAbacInput
Sourcepub fn builder() -> PutBucketAbacInputBuilder
pub fn builder() -> PutBucketAbacInputBuilder
Creates a new builder-style object to manufacture PutBucketAbacInput.
Trait Implementations§
Source§impl Clone for PutBucketAbacInput
impl Clone for PutBucketAbacInput
Source§fn clone(&self) -> PutBucketAbacInput
fn clone(&self) -> PutBucketAbacInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PutBucketAbacInput
impl Debug for PutBucketAbacInput
Source§impl PartialEq for PutBucketAbacInput
impl PartialEq for PutBucketAbacInput
impl StructuralPartialEq for PutBucketAbacInput
Auto Trait Implementations§
impl Freeze for PutBucketAbacInput
impl RefUnwindSafe for PutBucketAbacInput
impl Send for PutBucketAbacInput
impl Sync for PutBucketAbacInput
impl Unpin for PutBucketAbacInput
impl UnwindSafe for PutBucketAbacInput
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more