{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-redshift/json-schema/amazon-redshift-usage-limit-list-schema.json",
  "title": "UsageLimitList",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-redshift-usage-limit-api-openapi.yml#/components/schemas/UsageLimitList",
  "type": "object",
  "properties": {
    "UsageLimits": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UsageLimit"
      },
      "description": "Contains the output from the DescribeUsageLimits action."
    },
    "Marker": {
      "type": "string",
      "description": "A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned marker value in the Marker parameter and retrying the command. If the Marker field is empty, all response records have been retrieved for the request."
    }
  },
  "$defs": {
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The key, or name, for the resource tag."
        },
        "Value": {
          "type": "string",
          "description": "The value for the resource tag."
        }
      }
    },
    "UsageLimit": {
      "type": "object",
      "properties": {
        "UsageLimitId": {
          "type": "string",
          "description": "The identifier of the usage limit."
        },
        "ClusterIdentifier": {
          "type": "string",
          "description": "The identifier of the cluster with a usage limit."
        },
        "FeatureType": {
          "type": "string",
          "enum": [
            "spectrum",
            "concurrency-scaling",
            "cross-region-datasharing",
            "extra-compute-for-automatic-optimization"
          ],
          "description": "The Amazon Redshift feature to which the limit applies."
        },
        "LimitType": {
          "type": "string",
          "enum": [
            "time",
            "data-scanned"
          ],
          "description": "The type of limit. Depending on the feature type, this can be based on a time duration or data size."
        },
        "Amount": {
          "type": "integer",
          "description": "The limit amount. If time-based, this amount is in minutes. If data-based, this amount is in terabytes (TB)."
        },
        "Period": {
          "type": "string",
          "enum": [
            "daily",
            "weekly",
            "monthly"
          ],
          "description": "The time period that the amount applies to. A weekly period begins on Sunday. The default is monthly."
        },
        "BreachAction": {
          "type": "string",
          "enum": [
            "log",
            "emit-metric",
            "disable"
          ],
          "description": "The action that Amazon Redshift takes when the limit is reached. Possible values are: log - To log an event in a system table. The default is log. emit-metric - To emit CloudWatch metrics. disable - To disable the feature until the next usage period begins."
        },
        "Tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Tag"
          },
          "description": "A list of tag instances."
        }
      }
    }
  }
}