Struct aws_sdk_macie2::model::UsageStatisticsFilter
source · [−]#[non_exhaustive]pub struct UsageStatisticsFilter {
pub comparator: Option<UsageStatisticsFilterComparator>,
pub key: Option<UsageStatisticsFilterKey>,
pub values: Option<Vec<String>>,
}
Expand description
Specifies a condition for filtering the results of a query for quota and usage data for one or more Amazon Macie accounts.
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.comparator: Option<UsageStatisticsFilterComparator>
The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.
key: Option<UsageStatisticsFilterKey>
The field to use in the condition.
values: Option<Vec<String>>
An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.
Valid values for each supported field are:
accountId - The unique identifier for an Amazon Web Services account.
freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for an account.
serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.
total - A string that represents the current estimated cost for an account.
Implementations
The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.
The field to use in the condition.
An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.
Valid values for each supported field are:
accountId - The unique identifier for an Amazon Web Services account.
freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for an account.
serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.
total - A string that represents the current estimated cost for an account.
Creates a new builder-style object to manufacture UsageStatisticsFilter
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 UsageStatisticsFilter
impl Send for UsageStatisticsFilter
impl Sync for UsageStatisticsFilter
impl Unpin for UsageStatisticsFilter
impl UnwindSafe for UsageStatisticsFilter
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