{
  "$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-offering-rates-request-schema.json",
  "title": "DescribeSavingsPlansOfferingRatesRequest",
  "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/DescribeSavingsPlansOfferingRatesRequest",
  "type": "object",
  "properties": {
    "savingsPlanOfferingIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The IDs of the offerings."
    },
    "savingsPlanPaymentOptions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "All Upfront",
          "Partial Upfront",
          "No Upfront"
        ]
      },
      "description": "The payment options."
    },
    "savingsPlanTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Compute",
          "EC2Instance",
          "SageMaker",
          "Database"
        ]
      },
      "description": "The plan types."
    },
    "products": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "EC2",
          "Fargate",
          "Lambda",
          "SageMaker",
          "RDS",
          "DSQL",
          "DynamoDB",
          "ElastiCache",
          "DocDB",
          "Neptune",
          "Timestream",
          "Keyspaces",
          "DMS",
          "OpenSearch"
        ]
      },
      "description": "The Amazon Web Services products."
    },
    "serviceCodes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "AmazonEC2",
          "AmazonECS",
          "AmazonEKS",
          "AWSLambda",
          "AmazonSageMaker",
          "AmazonRDS",
          "AuroraDSQL",
          "AmazonDynamoDB",
          "AmazonElastiCache",
          "AmazonDocDB",
          "AmazonNeptune",
          "AmazonTimestream",
          "AmazonMCS",
          "AWSDatabaseMigrationSvc",
          "AmazonES"
        ]
      },
      "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/SavingsPlanOfferingRateFilterElement"
      },
      "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": {
    "SavingsPlanOfferingRateFilterElement": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "enum": [
            "region",
            "instanceFamily",
            "instanceType",
            "productDescription",
            "tenancy",
            "productId"
          ],
          "description": "The filter name."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The filter values."
        }
      }
    }
  }
}