Struct aws_sdk_s3control::model::StorageLensConfiguration
source · [−]#[non_exhaustive]pub struct StorageLensConfiguration {
pub id: Option<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: Option<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
sourceimpl 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
sourceimpl StorageLensConfiguration
impl StorageLensConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StorageLensConfiguration
Trait Implementations
sourceimpl Clone for StorageLensConfiguration
impl Clone for StorageLensConfiguration
sourcefn clone(&self) -> StorageLensConfiguration
fn clone(&self) -> StorageLensConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for StorageLensConfiguration
impl Debug for StorageLensConfiguration
sourceimpl PartialEq<StorageLensConfiguration> for StorageLensConfiguration
impl PartialEq<StorageLensConfiguration> for StorageLensConfiguration
sourcefn eq(&self, other: &StorageLensConfiguration) -> bool
fn eq(&self, other: &StorageLensConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StorageLensConfiguration) -> bool
fn ne(&self, other: &StorageLensConfiguration) -> bool
This method tests for !=
.
impl StructuralPartialEq for StorageLensConfiguration
Auto Trait Implementations
impl RefUnwindSafe for StorageLensConfiguration
impl Send for StorageLensConfiguration
impl Sync for StorageLensConfiguration
impl Unpin for StorageLensConfiguration
impl UnwindSafe for StorageLensConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more