Get Usage Totals
macie2_get_usage_totals | R Documentation |
Retrieves (queries) aggregated usage data for an account¶
Description¶
Retrieves (queries) aggregated usage data for an account.
Usage¶
macie2_get_usage_totals(timeRange)
Arguments¶
timeRange |
The inclusive time period to retrieve the 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 for this parameter, Amazon Macie provides aggregated usage data for the preceding 30 days. |
Value¶
A list with the following syntax:
list(
timeRange = "MONTH_TO_DATE"|"PAST_30_DAYS",
usageTotals = list(
list(
currency = "USD",
estimatedCost = "string",
type = "DATA_INVENTORY_EVALUATION"|"SENSITIVE_DATA_DISCOVERY"|"AUTOMATED_SENSITIVE_DATA_DISCOVERY"|"AUTOMATED_OBJECT_MONITORING"
)
)
)
Request syntax¶
svc$get_usage_totals(
timeRange = "string"
)