http://macie2.{region}.amazonaws.com/datasources/search-resourcesRetrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
Pagination limit
Pagination token
The nextToken string that specifies which page of results to return in a paginated response.
The maximum number of items to include in each page of the response. The default value is 50.
Specifies criteria for sorting the results of a query for information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
Specifies property- and tag-based conditions that define filter criteria for including or excluding S3 buckets from the query results. Exclude conditions take precedence over include conditions.
{
"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/datasources/search-resources' \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/datasources/search-resourcesRetrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
Pagination limit
Pagination token
The nextToken string that specifies which page of results to return in a paginated response.
The maximum number of items to include in each page of the response. The default value is 50.
Specifies criteria for sorting the results of a query for information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
Specifies property- and tag-based conditions that define filter criteria for including or excluding S3 buckets from the query results. Exclude conditions take precedence over include conditions.
{
"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/datasources/search-resources' \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}