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: Formatoutput_schema_version: OutputSchemaVersionThe schema version of the export file.
account_id: StringThe account ID of the owner of the S3 Storage Lens metrics export bucket.
arn: StringThe 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 ==.