Amazon Macie · JSON Structure

Amazon Macie Bucket Sort Criteria Structure

Specifies criteria for sorting the results of a query for information about S3 buckets.

Type: object Properties: 2
Data SecuritySensitive DataPrivacyComplianceMachine LearningS3

BucketSortCriteria is a JSON Structure definition published by Amazon Macie, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

attributeName orderBy

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-macie/refs/heads/main/json-structure/amazon-macie-bucket-sort-criteria-structure.json",
  "name": "BucketSortCriteria",
  "description": "Specifies criteria for sorting the results of a query for information about S3 buckets.",
  "type": "object",
  "properties": {
    "attributeName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "description": "The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, sensitivityScore, or sizeInBytes."
        }
      ]
    },
    "orderBy": {
      "allOf": [
        {
          "$ref": "#/components/schemas/OrderBy"
        },
        {
          "description": "The sort order to apply to the results, based on the value specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order."
        }
      ]
    }
  }
}