Struct aws_sdk_macie2::model::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: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.
Implementations
The type of currency that the value for the metric (estimatedCost) is reported in.
The estimated value for the metric.
The current value for the quota that corresponds to the metric specified by the type field.
Creates a new builder-style object to manufacture UsageByAccount
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UsageByAccount
impl Send for UsageByAccount
impl Sync for UsageByAccount
impl Unpin for UsageByAccount
impl UnwindSafe for UsageByAccount
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more