http://macie2.{region}.amazonaws.com/usage/statisticsRetrieves (queries) quotas and aggregated usage data for one or more accounts.
Pagination limit
Pagination token
Specifies criteria for sorting the results of a query for Amazon Macie account quotas and usage data.
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 nextToken string that specifies which page of results to return in a paginated response.
An inclusive time period that Amazon Macie usage data applies to. Possible values are:
The maximum number of items to include in each page of the response.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request POST \2 --url 'http://macie2.{region}.amazonaws.com/usage/statistics' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://macie2.{region}.amazonaws.com/usage/statisticsRetrieves (queries) quotas and aggregated usage data for one or more accounts.
Pagination limit
Pagination token
Specifies criteria for sorting the results of a query for Amazon Macie account quotas and usage data.
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 nextToken string that specifies which page of results to return in a paginated response.
An inclusive time period that Amazon Macie usage data applies to. Possible values are:
The maximum number of items to include in each page of the response.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request POST \2 --url 'http://macie2.{region}.amazonaws.com/usage/statistics' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}