Amazon EC2 · Schema

ModifyCapacityReservationRequest

Amazon Web ServicesCloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual Machines

Properties

Name Type Description
CapacityReservationId string The ID of the Capacity Reservation.
InstanceCount integer The number of instances for which to reserve capacity. The number of instances can't be increased or decreased by more than 1000 in a single request.
EndDate string The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reserva
EndDateType string Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: unlimited - The Capacity Reservation remains active until you explicitly cance
Accept boolean Reserved. Capacity Reservations you have created are accepted by default.
DryRun boolean 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 DryRun
AdditionalInfo string Reserved for future use.
InstanceMatchCriteria string The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open
AcceptModificationTerms boolean Indicates that you accept the modification terms of the quote identified by QuoteId. To apply a quoted modification, set this parameter to true.
StartDate string The new start date for the Capacity Reservation, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ). Applies to future-dated Capacity Reservations only. Requires a quote from Create
QuoteId string The ID of the quote that describes the modification you want to apply. Generate a quote by using CreateCapacityReservationDateChangeQuote. The quote must be in the active state, and each quote can be
View JSON Schema on GitHub

JSON Schema

amazon-ec2-modify-capacity-reservation-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-modify-capacity-reservation-request-schema.json",
  "title": "ModifyCapacityReservationRequest",
  "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/ModifyCapacityReservationRequest",
  "type": "object",
  "properties": {
    "CapacityReservationId": {
      "type": "string",
      "description": "The ID of the Capacity Reservation."
    },
    "InstanceCount": {
      "type": "integer",
      "description": "The number of instances for which to reserve capacity. The number of instances can't be increased or decreased by more than 1000 in a single request."
    },
    "EndDate": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time at which the Capacity Reservation expires. When a Capacity Reservation expires, the reserved capacity is released and you can no longer launch instances into it. The Capacity Reservation's state changes to expired when it reaches its end date and time. The Capacity Reservation is cancelled within an hour from the specified time. For example, if you specify 5/31/2019, 13:30:55, the Capacity Reservation is guaranteed to end between 13:30:55 and 14:30:55 on 5/31/2019. You must provide an EndDate value if EndDateType is limited. Omit EndDate if EndDateType is unlimited."
    },
    "EndDateType": {
      "type": "string",
      "enum": [
        "unlimited",
        "limited"
      ],
      "description": "Indicates the way in which the Capacity Reservation ends. A Capacity Reservation can have one of the following end types: unlimited - The Capacity Reservation remains active until you explicitly cancel it. Do not provide an EndDate value if EndDateType is unlimited. limited - The Capacity Reservation expires automatically at a specified date and time. You must provide an EndDate value if EndDateType is limited."
    },
    "Accept": {
      "type": "boolean",
      "description": "Reserved. Capacity Reservations you have created are accepted by default."
    },
    "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."
    },
    "AdditionalInfo": {
      "type": "string",
      "description": "Reserved for future use."
    },
    "InstanceMatchCriteria": {
      "type": "string",
      "enum": [
        "open",
        "targeted"
      ],
      "description": "The matching criteria (instance eligibility) that you want to use in the modified Capacity Reservation. If you change the instance eligibility of an existing Capacity Reservation from targeted to open, any running instances that match the attributes of the Capacity Reservation, have the CapacityReservationPreference set to open, and are not yet running in the Capacity Reservation, will automatically use the modified Capacity Reservation. To modify the instance eligibility, the Capacity Reservation must be completely idle (zero usage)."
    },
    "AcceptModificationTerms": {
      "type": "boolean",
      "description": "Indicates that you accept the modification terms of the quote identified by QuoteId. To apply a quoted modification, set this parameter to true."
    },
    "StartDate": {
      "type": "string",
      "format": "date-time",
      "description": "The new start date for the Capacity Reservation, in the ISO8601 format in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ). Applies to future-dated Capacity Reservations only. Requires a quote from CreateCapacityReservationDateChangeQuote; pass the quote ID in QuoteId with AcceptModificationTerms set to true."
    },
    "QuoteId": {
      "type": "string",
      "description": "The ID of the quote that describes the modification you want to apply. Generate a quote by using CreateCapacityReservationDateChangeQuote. The quote must be in the active state, and each quote can be used only once."
    }
  },
  "required": [
    "CapacityReservationId"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-ec2-modify-capacity-reservation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.