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
impl StructuralPartialEq for StorageLensConfiguration
Auto Trait Implementations§
impl Freeze for StorageLensConfiguration
impl RefUnwindSafe for StorageLensConfiguration
impl Send for StorageLensConfiguration
impl Sync for StorageLensConfiguration
impl Unpin for StorageLensConfiguration
impl UnwindSafe for StorageLensConfiguration
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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