Struct aws_sdk_s3control::types::StorageLensConfiguration
source · #[non_exhaustive]pub struct StorageLensConfiguration {
pub id: String,
pub account_level: Option<AccountLevel>,
pub include: Option<Include>,
pub exclude: Option<Exclude>,
pub data_export: Option<StorageLensDataExport>,
pub is_enabled: bool,
pub aws_org: Option<StorageLensAwsOrg>,
pub storage_lens_arn: Option<String>,
}
Expand description
A container for the Amazon S3 Storage Lens configuration.
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.id: String
A container for the Amazon S3 Storage Lens configuration ID.
account_level: Option<AccountLevel>
A container for all the account-level configurations of your S3 Storage Lens configuration.
include: Option<Include>
A container for what is included in this configuration. This container can only be valid if there is no Exclude
container submitted, and it's not empty.
exclude: Option<Exclude>
A container for what is excluded in this configuration. This container can only be valid if there is no Include
container submitted, and it's not empty.
data_export: Option<StorageLensDataExport>
A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
is_enabled: bool
A container for whether the S3 Storage Lens configuration is enabled.
aws_org: Option<StorageLensAwsOrg>
A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
storage_lens_arn: Option<String>
The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name
Implementations§
source§impl StorageLensConfiguration
impl StorageLensConfiguration
sourcepub fn account_level(&self) -> Option<&AccountLevel>
pub fn account_level(&self) -> Option<&AccountLevel>
A container for all the account-level configurations of your S3 Storage Lens configuration.
sourcepub fn include(&self) -> Option<&Include>
pub fn include(&self) -> Option<&Include>
A container for what is included in this configuration. This container can only be valid if there is no Exclude
container submitted, and it's not empty.
sourcepub fn exclude(&self) -> Option<&Exclude>
pub fn exclude(&self) -> Option<&Exclude>
A container for what is excluded in this configuration. This container can only be valid if there is no Include
container submitted, and it's not empty.
sourcepub fn data_export(&self) -> Option<&StorageLensDataExport>
pub fn data_export(&self) -> Option<&StorageLensDataExport>
A container to specify the properties of your S3 Storage Lens metrics export including, the destination, schema and format.
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
A container for whether the S3 Storage Lens configuration is enabled.
sourcepub fn aws_org(&self) -> Option<&StorageLensAwsOrg>
pub fn aws_org(&self) -> Option<&StorageLensAwsOrg>
A container for the Amazon Web Services organization for this S3 Storage Lens configuration.
sourcepub fn storage_lens_arn(&self) -> Option<&str>
pub fn storage_lens_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the S3 Storage Lens configuration. This property is read-only and follows the following format: arn:aws:s3:us-east-1:example-account-id:storage-lens/your-dashboard-name
source§impl StorageLensConfiguration
impl StorageLensConfiguration
sourcepub fn builder() -> StorageLensConfigurationBuilder
pub fn builder() -> StorageLensConfigurationBuilder
Creates a new builder-style object to manufacture StorageLensConfiguration
.
Trait Implementations§
source§impl Clone for StorageLensConfiguration
impl Clone for StorageLensConfiguration
source§fn clone(&self) -> StorageLensConfiguration
fn clone(&self) -> StorageLensConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StorageLensConfiguration
impl Debug for StorageLensConfiguration
source§impl PartialEq for StorageLensConfiguration
impl PartialEq for StorageLensConfiguration
source§fn eq(&self, other: &StorageLensConfiguration) -> bool
fn eq(&self, other: &StorageLensConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.