{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-s3/json-schema/amazon-s3-list-bucket-metrics-configurations-output-schema.json",
  "title": "ListBucketMetricsConfigurationsOutput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-s3-metrics-api-openapi.yml#/components/schemas/ListBucketMetricsConfigurationsOutput",
  "type": "object",
  "properties": {
    "IsTruncated": {
      "type": "boolean",
      "description": "Indicates whether the returned list of metrics configurations is complete. A value of true indicates that the list is not complete and the NextContinuationToken will be provided for a subsequent request."
    },
    "ContinuationToken": {
      "type": "string",
      "description": "The marker that is used as a starting point for this metrics configuration list response. This value is present if it was sent in the request."
    },
    "NextContinuationToken": {
      "type": "string",
      "description": "The marker used to continue a metrics configuration listing that has been truncated. Use the NextContinuationToken from a previously truncated list response to continue the listing. The continuation token is an opaque value that Amazon S3 understands."
    },
    "MetricsConfigurationList": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MetricsConfiguration"
      },
      "description": "The list of metrics configurations for a bucket."
    }
  },
  "$defs": {
    "MetricsAndOperator": {
      "type": "object",
      "properties": {
        "Prefix": {
          "type": "string",
          "description": "The prefix used when evaluating an AND predicate."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "The list of tags used when evaluating an AND predicate. Tag filters are not supported for directory buckets."
        },
        "AccessPointArn": {
          "type": "string",
          "description": "The access point ARN used when evaluating an AND predicate."
        }
      }
    },
    "MetricsConfiguration": {
      "type": "object",
      "properties": {
        "Id": {
          "type": "string",
          "description": "The ID used to identify the metrics configuration. The ID has a 64 character limit and can only contain letters, numbers, periods, dashes, and underscores."
        },
        "Filter": {
          "$ref": "#/$defs/MetricsFilter"
        }
      },
      "required": [
        "Id"
      ]
    },
    "MetricsFilter": {
      "type": "object",
      "properties": {
        "Prefix": {
          "type": "string",
          "description": "The prefix used when evaluating a metrics filter."
        },
        "Tag": {
          "$ref": "#/$defs/Tag"
        },
        "AccessPointArn": {
          "type": "string",
          "description": "The access point ARN used when evaluating a metrics filter."
        },
        "And": {
          "$ref": "#/$defs/MetricsAndOperator"
        }
      },
      "description": "Exactly one member is set."
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "Name of the object key."
        },
        "Value": {
          "type": "string",
          "description": "Value of the tag."
        }
      },
      "required": [
        "Key",
        "Value"
      ]
    }
  }
}