BatchCreateBillScenarioUsageModificationResponse

BillingCost ManagementCost ExplorerBudgetsCost OptimizationFinOpsAmazon Web Services

Properties

Name Type Description
items array Returns the list of successful usage line items that were created for the Bill Scenario.
errors array Returns the list of errors reason and the usage item keys that cannot be created in the Bill Scenario.
View JSON Schema on GitHub

JSON Schema

amazon-billing-and-cost-management-batch-create-bill-scenario-usage-modification-response-schema.json Raw ↑
{
  "$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-batch-create-bill-scenario-usage-modification-response-schema.json",
  "title": "BatchCreateBillScenarioUsageModificationResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-billing-and-cost-management-bill-scenario-usage-modification-api-openapi.yml#/components/schemas/BatchCreateBillScenarioUsageModificationResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchCreateBillScenarioUsageModificationItem"
      },
      "description": "Returns the list of successful usage line items that were created for the Bill Scenario."
    },
    "errors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchCreateBillScenarioUsageModificationError"
      },
      "description": "Returns the list of errors reason and the usage item keys that cannot be created in the Bill Scenario."
    }
  },
  "$defs": {
    "BatchCreateBillScenarioUsageModificationError": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The key of the entry that caused the error."
        },
        "errorMessage": {
          "type": "string",
          "description": "A descriptive message for the error that occurred."
        },
        "errorCode": {
          "type": "string",
          "enum": [
            "BAD_REQUEST",
            "NOT_FOUND",
            "CONFLICT",
            "INTERNAL_SERVER_ERROR"
          ],
          "description": "The error code associated with the failed operation."
        }
      }
    },
    "BatchCreateBillScenarioUsageModificationItem": {
      "type": "object",
      "properties": {
        "serviceCode": {
          "type": "string",
          "description": "The Amazon Web Services service code for this usage modification."
        },
        "usageType": {
          "type": "string",
          "description": "The type of usage that was modified."
        },
        "operation": {
          "type": "string",
          "description": "The specific operation associated with this usage modification."
        },
        "location": {
          "type": "string",
          "description": "The location associated with this usage modification."
        },
        "availabilityZone": {
          "type": "string",
          "description": "The availability zone associated with this usage modification, if applicable."
        },
        "id": {
          "type": "string",
          "description": "The unique identifier assigned to the created usage modification."
        },
        "group": {
          "type": "string",
          "description": "The group identifier for the created usage modification."
        },
        "usageAccountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID associated with the created usage modification."
        },
        "quantities": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/UsageQuantity"
          },
          "description": "The modified usage quantities."
        },
        "historicalUsage": {
          "$ref": "#/$defs/HistoricalUsageEntity"
        },
        "key": {
          "type": "string",
          "description": "The key of the successfully created entry."
        }
      },
      "required": [
        "serviceCode",
        "usageType",
        "operation"
      ]
    },
    "BcmPricingCalculatorExpression": {
      "type": "object",
      "properties": {
        "and": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BcmPricingCalculatorExpression"
          },
          "description": "A list of expressions to be combined with AND logic."
        },
        "or": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/BcmPricingCalculatorExpression"
          },
          "description": "A list of expressions to be combined with OR logic."
        },
        "not": {
          "$ref": "#/$defs/BcmPricingCalculatorExpression"
        },
        "costCategories": {
          "$ref": "#/$defs/ExpressionFilter"
        },
        "dimensions": {
          "$ref": "#/$defs/ExpressionFilter"
        },
        "tags": {
          "$ref": "#/$defs/ExpressionFilter"
        }
      }
    },
    "BillInterval": {
      "type": "object",
      "properties": {
        "start": {
          "type": "string",
          "description": "The start date and time of the interval."
        },
        "end": {
          "type": "string",
          "description": "The end date and time of the interval."
        }
      }
    },
    "ExpressionFilter": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "description": "The key or attribute to filter on."
        },
        "matchOptions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The match options for the filter (e.g., equals, contains)."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The values to match against."
        }
      }
    },
    "HistoricalUsageEntity": {
      "type": "object",
      "properties": {
        "serviceCode": {
          "type": "string",
          "description": "The Amazon Web Services service code associated with the usage."
        },
        "usageType": {
          "type": "string",
          "description": "The type of usage."
        },
        "operation": {
          "type": "string",
          "description": "The specific operation associated with the usage."
        },
        "location": {
          "type": "string",
          "description": "The location associated with the usage."
        },
        "usageAccountId": {
          "type": "string",
          "description": "The Amazon Web Services account ID associated with the usage."
        },
        "billInterval": {
          "$ref": "#/$defs/BillInterval"
        },
        "filterExpression": {
          "$ref": "#/$defs/BcmPricingCalculatorExpression"
        }
      },
      "required": [
        "serviceCode",
        "usageType",
        "operation",
        "usageAccountId",
        "billInterval",
        "filterExpression"
      ]
    },
    "UsageQuantity": {
      "type": "object",
      "properties": {
        "startHour": {
          "type": "string",
          "description": "The start hour of the usage period."
        },
        "unit": {
          "type": "string",
          "description": "The unit of measurement for the usage quantity."
        },
        "amount": {
          "type": "number",
          "description": "The numeric value of the usage quantity."
        }
      }
    }
  }
}

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-billing-and-cost-management-batch-create-bill-scenario-usage-modification-response"
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. See our Privacy Policy and Terms.

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