Struct aws_sdk_macie2::model::UsageRecord
source · #[non_exhaustive]pub struct UsageRecord { /* private fields */ }
Expand description
Provides quota and aggregated usage data for an Amazon Macie account.
Implementations§
source§impl UsageRecord
impl UsageRecord
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The unique identifier for the Amazon Web Services account that the data applies to.
sourcepub fn automated_discovery_free_trial_start_date(&self) -> Option<&DateTime>
pub fn automated_discovery_free_trial_start_date(&self) -> Option<&DateTime>
The date and time, in UTC and extended ISO 8601 format, when the free trial of automated sensitive data discovery started for the account. If the account is a member account in an organization, this value is the same as the value for the organization's Amazon Macie administrator account.
sourcepub fn free_trial_start_date(&self) -> Option<&DateTime>
pub fn free_trial_start_date(&self) -> Option<&DateTime>
The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for the account.
sourcepub fn usage(&self) -> Option<&[UsageByAccount]>
pub fn usage(&self) -> Option<&[UsageByAccount]>
An array of objects that contains usage data and quotas for the account. Each object contains the data for a specific usage metric and the corresponding quota.
source§impl UsageRecord
impl UsageRecord
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UsageRecord
.
Trait Implementations§
source§impl Clone for UsageRecord
impl Clone for UsageRecord
source§fn clone(&self) -> UsageRecord
fn clone(&self) -> UsageRecord
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UsageRecord
impl Debug for UsageRecord
source§impl PartialEq<UsageRecord> for UsageRecord
impl PartialEq<UsageRecord> for UsageRecord
source§fn eq(&self, other: &UsageRecord) -> bool
fn eq(&self, other: &UsageRecord) -> bool
self
and other
values to be equal, and is used
by ==
.