{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-describe-capacity-reservations-request-schema.json",
  "title": "DescribeCapacityReservationsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-ec2-capacity-reservation-api-openapi.yml#/components/schemas/DescribeCapacityReservationsRequest",
  "type": "object",
  "properties": {
    "CapacityReservationIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ID of the Capacity Reservation."
    },
    "NextToken": {
      "type": "string",
      "description": "The token to use to retrieve the next page of results."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination."
    },
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Filter"
      },
      "description": "One or more filters. instance-type - The type of instance for which the Capacity Reservation reserves capacity. owner-id - The ID of the Amazon Web Services account that owns the Capacity Reservation. instance-platform - The type of operating system for which the Capacity Reservation reserves capacity. availability-zone - The Availability Zone of the Capacity Reservation. tenancy - Indicates the tenancy of the Capacity Reservation. A Capacity Reservation can have one of the following tenancy settings: default - The Capacity Reservation is created on hardware that is shared with other Amazon We"
    },
    "DryRun": {
      "type": "boolean",
      "description": "Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation."
    }
  },
  "$defs": {
    "Filter": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "The name of the filter. Filter names are case-sensitive."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The filter values. Filter values are case-sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values."
        }
      }
    }
  }
}