Struct aws_sdk_s3control::types::S3BucketDestination
source · #[non_exhaustive]pub struct S3BucketDestination {
pub format: Format,
pub output_schema_version: OutputSchemaVersion,
pub account_id: String,
pub arn: String,
pub prefix: Option<String>,
pub encryption: Option<StorageLensDataExportEncryption>,
}
Expand description
A container for the bucket where the Amazon S3 Storage Lens metrics export files are located.
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.format: Format
output_schema_version: OutputSchemaVersion
The schema version of the export file.
account_id: String
The account ID of the owner of the S3 Storage Lens metrics export bucket.
arn: String
The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
prefix: Option<String>
The prefix of the destination bucket where the metrics export will be delivered.
encryption: Option<StorageLensDataExportEncryption>
The container for the type encryption of the metrics exports in this bucket.
Implementations§
source§impl S3BucketDestination
impl S3BucketDestination
sourcepub fn output_schema_version(&self) -> &OutputSchemaVersion
pub fn output_schema_version(&self) -> &OutputSchemaVersion
The schema version of the export file.
sourcepub fn account_id(&self) -> &str
pub fn account_id(&self) -> &str
The account ID of the owner of the S3 Storage Lens metrics export bucket.
sourcepub fn arn(&self) -> &str
pub fn arn(&self) -> &str
The Amazon Resource Name (ARN) of the bucket. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:bucket/your-destination-bucket-name
sourcepub fn prefix(&self) -> Option<&str>
pub fn prefix(&self) -> Option<&str>
The prefix of the destination bucket where the metrics export will be delivered.
sourcepub fn encryption(&self) -> Option<&StorageLensDataExportEncryption>
pub fn encryption(&self) -> Option<&StorageLensDataExportEncryption>
The container for the type encryption of the metrics exports in this bucket.
source§impl S3BucketDestination
impl S3BucketDestination
sourcepub fn builder() -> S3BucketDestinationBuilder
pub fn builder() -> S3BucketDestinationBuilder
Creates a new builder-style object to manufacture S3BucketDestination
.
Trait Implementations§
source§impl Clone for S3BucketDestination
impl Clone for S3BucketDestination
source§fn clone(&self) -> S3BucketDestination
fn clone(&self) -> S3BucketDestination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3BucketDestination
impl Debug for S3BucketDestination
source§impl PartialEq for S3BucketDestination
impl PartialEq for S3BucketDestination
source§fn eq(&self, other: &S3BucketDestination) -> bool
fn eq(&self, other: &S3BucketDestination) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3BucketDestination
Auto Trait Implementations§
impl Freeze for S3BucketDestination
impl RefUnwindSafe for S3BucketDestination
impl Send for S3BucketDestination
impl Sync for S3BucketDestination
impl Unpin for S3BucketDestination
impl UnwindSafe for S3BucketDestination
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> 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