{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-billing-and-cost-management/json-schema/amazon-billing-and-cost-management-describe-savings-plans-offerings-request-schema.json",
  "title": "DescribeSavingsPlansOfferingsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-billing-and-cost-management-operations-api-openapi.yml#/components/schemas/DescribeSavingsPlansOfferingsRequest",
  "type": "object",
  "properties": {
    "offeringIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The IDs of the offerings."
    },
    "paymentOptions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "All Upfront",
          "Partial Upfront",
          "No Upfront"
        ]
      },
      "description": "The payment options."
    },
    "productType": {
      "type": "string",
      "enum": [
        "EC2",
        "Fargate",
        "Lambda",
        "SageMaker",
        "RDS",
        "DSQL",
        "DynamoDB",
        "ElastiCache",
        "DocDB",
        "Neptune",
        "Timestream",
        "Keyspaces",
        "DMS",
        "OpenSearch"
      ],
      "description": "The product type."
    },
    "planTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Compute",
          "EC2Instance",
          "SageMaker",
          "Database"
        ]
      },
      "description": "The plan types."
    },
    "durations": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "description": "The duration, in seconds."
    },
    "currencies": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "CNY",
          "USD",
          "EUR"
        ]
      },
      "description": "The currencies."
    },
    "descriptions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The descriptions."
    },
    "serviceCodes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The services."
    },
    "usageTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The usage details of the line item in the billing report."
    },
    "operations": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The specific Amazon Web Services operation for the line item in the billing report."
    },
    "filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SavingsPlanOfferingFilterElement"
      },
      "description": "The filters."
    },
    "nextToken": {
      "type": "string",
      "description": "The token for the next page of results."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of results to return with a single call. To retrieve additional results, make another call with the returned token value."
    }
  },
  "$defs": {
    "SavingsPlanOfferingFilterElement": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "enum": [
            "region",
            "instanceFamily"
          ],
          "description": "The filter name."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The filter values."
        }
      }
    }
  }
}