{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-outposts/json-schema/amazon-outposts-update-quote-input-schema.json",
  "title": "UpdateQuoteInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-outposts-quotes-api-openapi.yml#/components/schemas/UpdateQuoteInput",
  "type": "object",
  "properties": {
    "QuoteIdentifier": {
      "type": "string",
      "description": "The ID of the quote."
    },
    "OutpostIdentifier": {
      "type": "string",
      "description": "The ID or ARN of the Outpost to associate with the quote. Specify an empty string to remove the Outpost association."
    },
    "CountryCode": {
      "type": "string",
      "description": "The country code for the Outpost site location."
    },
    "RequestedCapacities": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/QuoteCapacity"
      },
      "description": "The updated capacity requirements for the quote."
    },
    "RequestedConstraints": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/QuoteConstraint"
      },
      "description": "The updated physical constraints for the quote."
    },
    "RequestedPaymentOptions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "ALL_UPFRONT",
          "NO_UPFRONT",
          "PARTIAL_UPFRONT"
        ]
      },
      "description": "The updated payment options to include in the quote pricing."
    },
    "RequestedPaymentTerms": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "THREE_YEARS",
          "ONE_YEAR",
          "FIVE_YEARS"
        ]
      },
      "description": "The updated payment terms to include in the quote pricing."
    },
    "Description": {
      "type": "string",
      "description": "A description for the quote."
    }
  },
  "required": [
    "QuoteIdentifier"
  ],
  "$defs": {
    "QuoteCapacity": {
      "type": "object",
      "properties": {
        "QuoteCapacityType": {
          "type": "string",
          "enum": [
            "EC2",
            "EBS",
            "S3"
          ],
          "description": "The type of capacity. Valid values are EC2, EBS, and S3."
        },
        "Unit": {
          "type": "string",
          "description": "The unit of measurement for the capacity. For Amazon EC2, this is the instance type (for example, c5.24xlarge). For Amazon EBS and Amazon S3, this is the storage unit (for example, TiB for tebibytes)."
        },
        "Quantity": {
          "type": "number",
          "description": "The quantity of the specified capacity unit. For Amazon EC2, this is the number of additional instances to add to the Outpost. For Amazon EBS and Amazon S3, this is the total desired end-state capacity of the Outpost."
        }
      }
    },
    "QuoteConstraint": {
      "type": "object",
      "properties": {
        "QuoteConstraintType": {
          "type": "string",
          "enum": [
            "RACK_MAXIMUM",
            "RACK_MAX_POWER_KVA",
            "RACK_MAX_WEIGHT_LBS",
            "RACK_SPACE_CONSTRAINED"
          ],
          "description": "The type of constraint. Valid values are RACK_MAXIMUM, RACK_MAX_POWER_KVA, RACK_MAX_WEIGHT_LBS, and RACK_SPACE_CONSTRAINED."
        },
        "Value": {
          "type": "string",
          "description": "The value of the constraint."
        }
      }
    }
  }
}