Struct aws_sdk_macie2::types::UsageByAccount
source · #[non_exhaustive]pub struct UsageByAccount {
pub currency: Option<Currency>,
pub estimated_cost: Option<String>,
pub service_limit: Option<ServiceLimit>,
pub type: Option<UsageType>,
}
Expand description
Provides data for a specific usage metric and the corresponding quota for an Amazon Macie account.
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.currency: Option<Currency>
The type of currency that the value for the metric (estimatedCost) is reported in.
estimated_cost: Option<String>
The estimated value for the metric.
service_limit: Option<ServiceLimit>
The current value for the quota that corresponds to the metric specified by the type field.
type: Option<UsageType>
The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
Implementations§
source§impl UsageByAccount
impl UsageByAccount
sourcepub fn currency(&self) -> Option<&Currency>
pub fn currency(&self) -> Option<&Currency>
The type of currency that the value for the metric (estimatedCost) is reported in.
sourcepub fn estimated_cost(&self) -> Option<&str>
pub fn estimated_cost(&self) -> Option<&str>
The estimated value for the metric.
sourcepub fn service_limit(&self) -> Option<&ServiceLimit>
pub fn service_limit(&self) -> Option<&ServiceLimit>
The current value for the quota that corresponds to the metric specified by the type field.
sourcepub fn type(&self) -> Option<&UsageType>
pub fn type(&self) -> Option<&UsageType>
The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
source§impl UsageByAccount
impl UsageByAccount
sourcepub fn builder() -> UsageByAccountBuilder
pub fn builder() -> UsageByAccountBuilder
Creates a new builder-style object to manufacture UsageByAccount
.
Trait Implementations§
source§impl Clone for UsageByAccount
impl Clone for UsageByAccount
source§fn clone(&self) -> UsageByAccount
fn clone(&self) -> UsageByAccount
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UsageByAccount
impl Debug for UsageByAccount
source§impl PartialEq for UsageByAccount
impl PartialEq for UsageByAccount
source§fn eq(&self, other: &UsageByAccount) -> bool
fn eq(&self, other: &UsageByAccount) -> bool
self
and other
values to be equal, and is used
by ==
.