Struct aws_sdk_macie2::types::UsageTotal
source · #[non_exhaustive]pub struct UsageTotal {
pub currency: Option<Currency>,
pub estimated_cost: Option<String>,
pub type: Option<UsageType>,
}
Expand description
Provides aggregated data for an Amazon Macie usage metric. The value for the metric reports estimated usage data for an account for the preceding 30 days or the current calendar month to date, depending on the time period (timeRange) specified in the request.
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.
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 UsageTotal
impl UsageTotal
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 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 UsageTotal
impl UsageTotal
sourcepub fn builder() -> UsageTotalBuilder
pub fn builder() -> UsageTotalBuilder
Creates a new builder-style object to manufacture UsageTotal
.
Trait Implementations§
source§impl Clone for UsageTotal
impl Clone for UsageTotal
source§fn clone(&self) -> UsageTotal
fn clone(&self) -> UsageTotal
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UsageTotal
impl Debug for UsageTotal
source§impl PartialEq for UsageTotal
impl PartialEq for UsageTotal
source§fn eq(&self, other: &UsageTotal) -> bool
fn eq(&self, other: &UsageTotal) -> bool
self
and other
values to be equal, and is used
by ==
.