{
  "$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-create-workload-estimate-response-schema.json",
  "title": "CreateWorkloadEstimateResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-billing-and-cost-management-workload-estimate-api-openapi.yml#/components/schemas/CreateWorkloadEstimateResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for the created workload estimate."
    },
    "name": {
      "type": "string",
      "description": "The name of the created workload estimate."
    },
    "createdAt": {
      "type": "string",
      "description": "The timestamp when the workload estimate was created."
    },
    "expiresAt": {
      "type": "string",
      "description": "The timestamp when the workload estimate will expire."
    },
    "rateType": {
      "type": "string",
      "enum": [
        "BEFORE_DISCOUNTS",
        "AFTER_DISCOUNTS",
        "AFTER_DISCOUNTS_AND_COMMITMENTS"
      ],
      "description": "The type of pricing rates used for the estimate."
    },
    "rateTimestamp": {
      "type": "string",
      "description": "The timestamp of the pricing rates used for the estimate."
    },
    "status": {
      "type": "string",
      "enum": [
        "UPDATING",
        "VALID",
        "INVALID",
        "ACTION_NEEDED"
      ],
      "description": "The current status of the workload estimate."
    },
    "totalCost": {
      "type": "number",
      "description": "The total estimated cost for the workload."
    },
    "costCurrency": {
      "type": "string",
      "enum": [
        "USD"
      ],
      "description": "The currency of the estimated cost."
    },
    "failureMessage": {
      "type": "string",
      "description": "An error message if the workload estimate creation failed."
    }
  },
  "required": [
    "id"
  ]
}