Amazon Billing And Cost Management Billing And Cost Management Bill Scenario API

The Billing And Cost Management Bill Scenario API from Amazon Billing And Cost Management — 5 operation(s) for billing and cost management bill scenario.

GitHub OpenAPI

Operations 5

POST /#CreateBillScenario Create Bill Scenario #
POST /#GetBillScenario Get Bill Scenario #
POST /#UpdateBillScenario Update Bill Scenario #
POST /#DeleteBillScenario Delete Bill Scenario #
POST /#ListBillScenarios List Bill Scenarios #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/amazon-billing-and-cost-management:amazon-billing-and-cost-management-bill-scenario-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

amazon-billing-and-cost-management-bill-scenario-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Cost Explorer Service Bill Scenario API
  version: '2017-10-25'
  description: Generated from AWS's published Smithy model for AWS Cost Explorer Service. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://bcm-pricing-calculator.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#CreateBillScenario:
    post:
      operationId: CreateBillScenario
      summary: Create Bill Scenario
      description: Creates a new bill scenario to model potential changes to Amazon Web Services usage and costs.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/CreateBillScenarioResponse'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorConflictException'
        '400':
          description: DataUnavailableException; ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorDataUnavailableException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorServiceQuotaExceededException'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorInternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSBCMPricingCalculator.CreateBillScenario
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/CreateBillScenarioRequest'
      tags:
      - Bill Scenario
  /#GetBillScenario:
    post:
      operationId: GetBillScenario
      summary: Get Bill Scenario
      description: Retrieves details of a specific bill scenario.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/GetBillScenarioResponse'
        '400':
          description: DataUnavailableException; ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorDataUnavailableException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorResourceNotFoundException'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorInternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSBCMPricingCalculator.GetBillScenario
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/GetBillScenarioRequest'
      tags:
      - Bill Scenario
  /#UpdateBillScenario:
    post:
      operationId: UpdateBillScenario
      summary: Update Bill Scenario
      description: Updates an existing bill scenario.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/UpdateBillScenarioResponse'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorConflictException'
        '400':
          description: DataUnavailableException; ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorDataUnavailableException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorResourceNotFoundException'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorInternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSBCMPricingCalculator.UpdateBillScenario
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/UpdateBillScenarioRequest'
      tags:
      - Bill Scenario
  /#DeleteBillScenario:
    post:
      operationId: DeleteBillScenario
      summary: Delete Bill Scenario
      description: Deletes an existing bill scenario.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/DeleteBillScenarioResponse'
        '409':
          description: ConflictException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorConflictException'
        '400':
          description: DataUnavailableException; ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorDataUnavailableException'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorInternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSBCMPricingCalculator.DeleteBillScenario
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/DeleteBillScenarioRequest'
      tags:
      - Bill Scenario
  /#ListBillScenarios:
    post:
      operationId: ListBillScenarios
      summary: List Bill Scenarios
      description: Lists all bill scenarios for the account.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListBillScenariosResponse'
        '400':
          description: DataUnavailableException; ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorDataUnavailableException'
        '403':
          description: AccessDeniedException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorInternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BcmPricingCalculatorThrottlingException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AWSBCMPricingCalculator.ListBillScenarios
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListBillScenariosRequest'
      tags:
      - Bill Scenario
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: bcm-pricing-calculator
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    BcmPricingCalculatorConflictException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The identifier of the resource that was not found.
        resourceType:
          type: string
          description: The type of the resource that was not found.
      required:
      - message
      - resourceId
      - resourceType
    BcmPricingCalculatorDataUnavailableException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    BcmPricingCalculatorInternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: An internal error has occurred. Retry your request, but if the problem persists, contact Amazon Web
            Services support.
      required:
      - message
    BcmPricingCalculatorResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The identifier of the resource that was not found.
        resourceType:
          type: string
          description: The type of the resource that was not found.
      required:
      - message
      - resourceId
      - resourceType
    BcmPricingCalculatorServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: The identifier of the resource that exceeded quota.
        resourceType:
          type: string
          description: The type of the resource that exceeded quota.
        serviceCode:
          type: string
          description: The service code that exceeded quota.
        quotaCode:
          type: string
          description: The quota code that was exceeded.
      required:
      - message
      - resourceId
      - resourceType
    BcmPricingCalculatorThrottlingException:
      type: object
      properties:
        message:
          type: string
        serviceCode:
          type: string
          description: The service code that exceeded the throttling limit.
        quotaCode:
          type: string
          description: The quota code that exceeded the throttling limit.
        retryAfterSeconds:
          type: integer
          description: The service code that exceeded the throttling limit. Retry your request, but if the problem persists,
            contact Amazon Web Services support.
      required:
      - message
    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.
    BillScenarioSummary:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the bill scenario.
        name:
          type: string
          description: The name of the bill scenario.
        billInterval:
          $ref: '#/components/schemas/BillInterval'
        status:
          type: string
          enum:
          - READY
          - LOCKED
          - FAILED
          - STALE
          description: The current status of the bill scenario.
        createdAt:
          type: string
          description: The timestamp when the bill scenario was created.
        expiresAt:
          type: string
          description: The timestamp when the bill scenario will expire.
        failureMessage:
          type: string
          description: An error message if the bill scenario creation or processing failed.
        groupSharingPreference:
          type: string
          enum:
          - OPEN
          - PRIORITIZED
          - RESTRICTED
          description: The setting for the reserved instance and savings plan group sharing used in this estimate.
        costCategoryGroupSharingPreferenceArn:
          type: string
          description: The arn of the cost category used in the reserved and prioritized group sharing.
      required:
      - id
    CreateBillScenarioRequest:
      type: object
      properties:
        name:
          type: string
          description: A descriptive name for the bill scenario.
        clientToken:
          type: string
          description: A unique, case-sensitive identifier to ensure idempotency of the request.
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags to apply to the bill scenario.
        groupSharingPreference:
          type: string
          enum:
          - OPEN
          - PRIORITIZED
          - RESTRICTED
          description: The setting for the reserved instance and savings plan group sharing used in this estimate.
        costCategoryGroupSharingPreferenceArn:
          type: string
          description: The arn of the cost category used in the reserved and prioritized group sharing.
      required:
      - name
    CreateBillScenarioResponse:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier for the created bill scenario.
        name:
          type: string
          description: The name of the created bill scenario.
        billInterval:
          $ref: '#/components/schemas/BillInterval'
        status:
          type: string
          enum:
          - READY
          - LOCKED
          - FAILED
          - STALE
          description: The current status of the bill scenario.
        createdAt:
          type: string
          description: The timestamp when the bill scenario was created.
        expiresAt:
          type: string
          description: The timestamp when the bill scenario will expire.
        failureMessage:
          type: string
          description: An error message if the bill scenario creation failed.
        groupSharingPreference:
          type: string
          enum:
          - OPEN
          - PRIORITIZED
          - RESTRICTED
          description: The setting for the reserved instance and savings plan group sharing used in this estimate.
        costCategoryGroupSharingPreferenceArn:
          type: string
          description: The arn of the cost category used in the reserved and prioritized group sharing.
      required:
      - id
    DeleteBillScenarioRequest:
      type: object
      properties:
        identifier:
          type: string
          description: The unique identifier of the bill scenario to delete.
      required:
      - identifier
    DeleteBillScenarioResponse:
      type: object
      properties: {}
    FilterTimestamp:
      type: object
      properties:
        afterTimestamp:
          type: string
          description: Include results after this timestamp.
        beforeTimestamp:
          type: string
          description: Include results before this timestamp.
    GetBillScenarioRequest:
      type: object
      properties:
        identifier:
          type: string
          description: The unique identifier of the bill scenario to retrieve.
      required:
      - identifier
    GetBillScenarioResponse:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the retrieved bill scenario.
        name:
          type: string
          description: The name of the retrieved bill scenario.
        billInterval:
          $ref: '#/components/schemas/BillInterval'
        status:
          type: string
          enum:
          - READY
          - LOCKED
          - FAILED
          - STALE
          description: The current status of the bill scenario.
        createdAt:
          type: string
          description: The timestamp when the bill scenario was created.
        expiresAt:
          type: string
          description: The timestamp when the bill scenario will expire.
        failureMessage:
          type: string
          description: An error message if the bill scenario retrieval failed.
        groupSharingPreference:
          type: string
          enum:
          - OPEN
          - PRIORITIZED
          - RESTRICTED
          description: The setting for the reserved instance and savings plan group sharing used in this estimate.
        costCategoryGroupSharingPreferenceArn:
          type: string
          description: The arn of the cost category used in the reserved and prioritized group sharing.
      required:
      - id
    ListBillScenariosFilter:
      type: object
      properties:
        name:
          type: string
          enum:
          - STATUS
          - NAME
          - GROUP_SHARING_PREFERENCE
          - COST_CATEGORY_ARN
          description: The name of the filter attribute.
        values:
          type: array
          items:
            type: string
          description: The values to filter by.
        matchOption:
          type: string
          enum:
          - EQUALS
          - STARTS_WITH
          - CONTAINS
          description: The match option for the filter (e.g., equals, contains).
      required:
      - name
      - values
    ListBillScenariosRequest:
      type: object
      properties:
        filters:
          type: array
          items:
            $ref: '#/components/schemas/ListBillScenariosFilter'
          description: Filters to apply to the list of bill scenarios.
        createdAtFilter:
          $ref: '#/components/schemas/FilterTimestamp'
        expiresAtFilter:
          $ref: '#/components/schemas/FilterTimestamp'
        nextToken:
          type: string
          description: A token to retrieve the next page of results.
        maxResults:
          type: integer
          description: The maximum number of results to return per page.
    ListBillScenariosResponse:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/BillScenarioSummary'
          description: The list of bill scenarios for the account.
        nextToken:
          type: string
          description: A token to retrieve the next page of results, if any.
    UpdateBillScenarioRequest:
      type: object
      properties:
        identifier:
          type: string
          description: The unique identifier of the bill scenario to update.
        name:
          type: string
          description: The new name for the bill scenario.
        expiresAt:
          type: string
          description: The new expiration date for the bill scenario.
        groupSharingPreference:
          type: string
          enum:
          - OPEN
          - PRIORITIZED
          - RESTRICTED
          description: The setting for the reserved instance and savings plan group sharing used in this estimate.
        costCategoryGroupSharingPreferenceArn:
          type: string
          description: The arn of the cost category used in the reserved and prioritized group sharing.
      required:
      - identifier
    UpdateBillScenarioResponse:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the updated bill scenario.
        name:
          type: string
          description: The updated name of the bill scenario.
        billInterval:
          $ref: '#/components/schemas/BillInterval'
        status:
          type: string
          enum:
          - READY
          - LOCKED
          - FAILED
          - STALE
          description: The current status of the updated bill scenario.
        createdAt:
          type: string
          description: The timestamp when the bill scenario was originally created.
        expiresAt:
          type: string
          description: The updated expiration timestamp for the bill scenario.
        failureMessage:
          type: string
          description: An error message if the bill scenario update failed.
        groupSharingPreference:
          type: string
          enum:
          - OPEN
          - PRIORITIZED
          - RESTRICTED
          description: The setting for the reserved instance and savings plan group sharing used in this estimate.
        costCategoryGroupSharingPreferenceArn:
          type: string
          description: The arn of the cost category used in the reserved and prioritized group sharing.
      required:
      - id
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/bcm-pricing-calculator/service/2024-06-19/bcm-pricing-calculator-2024-06-19.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)