Struct aws_sdk_macie2::input::GetUsageStatisticsInput
source · [−]#[non_exhaustive]pub struct GetUsageStatisticsInput {
pub filter_by: Option<Vec<UsageStatisticsFilter>>,
pub max_results: i32,
pub next_token: Option<String>,
pub sort_by: Option<UsageStatisticsSortBy>,
pub time_range: Option<TimeRange>,
}
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.filter_by: Option<Vec<UsageStatisticsFilter>>
An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.
max_results: i32
The maximum number of items to include in each page of the response.
next_token: Option<String>
The nextToken string that specifies which page of results to return in a paginated response.
sort_by: Option<UsageStatisticsSortBy>
The criteria to use to sort the query results.
time_range: Option<TimeRange>
The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetUsageStatistics, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetUsageStatistics, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetUsageStatistics
>
Creates a new builder-style object to manufacture GetUsageStatisticsInput
An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.
The maximum number of items to include in each page of the response.
The nextToken string that specifies which page of results to return in a paginated response.
The criteria to use to sort the query results.
The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.
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 GetUsageStatisticsInput
impl Send for GetUsageStatisticsInput
impl Sync for GetUsageStatisticsInput
impl Unpin for GetUsageStatisticsInput
impl UnwindSafe for GetUsageStatisticsInput
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