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 ==
.impl StructuralPartialEq for UsageTotal
Auto Trait Implementations§
impl Freeze for UsageTotal
impl RefUnwindSafe for UsageTotal
impl Send for UsageTotal
impl Sync for UsageTotal
impl Unpin for UsageTotal
impl UnwindSafe for UsageTotal
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more