http://macie2.{region}.amazonaws.com/datasources/s3Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.
Pagination limit
Pagination token
Specifies, as a map, one or more property-based conditions that filter the results of a query for information about S3 buckets.
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 S3 buckets.
{
"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/s3' \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/s3Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.
Pagination limit
Pagination token
Specifies, as a map, one or more property-based conditions that filter the results of a query for information about S3 buckets.
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 S3 buckets.
{
"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/s3' \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}