Amazon IoT Core Billing Groups API

The Billing Groups API from Amazon IoT Core — 5 operation(s) for billing groups.

GitHub OpenAPI

Operations 8

PUT /billing-groups/addThingToBillingGroup Add Thing To Billing Group #
POST /billing-groups/{billingGroupName} Create Billing Group #
DELETE /billing-groups/{billingGroupName} Delete Billing Group #
GET /billing-groups/{billingGroupName} Describe Billing Group #
PATCH /billing-groups/{billingGroupName} Update Billing Group #
GET /billing-groups List Billing Groups #
PUT /billing-groups/removeThingFromBillingGroup Remove Thing From Billing Group #
GET /billing-groups/{billingGroupName}/things List Things In Billing Group #

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-iot-core:amazon-iot-core-billing-groups-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

amazon-iot-core-billing-groups-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS IoT Billing Groups API
  version: '2015-05-28'
  description: Generated from AWS's published Smithy model for AWS IoT. 8 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://iot.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /billing-groups/addThingToBillingGroup:
    put:
      operationId: AddThingToBillingGroup
      summary: Add Thing To Billing Group
      description: Adds a thing to a billing group. Requires permission to access the AddThingToBillingGroup action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddThingToBillingGroupResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                billingGroupName:
                  type: string
                  description: The name of the billing group. This call is asynchronous. It might take several seconds for
                    the detachment to propagate.
                billingGroupArn:
                  type: string
                  description: The ARN of the billing group.
                thingName:
                  type: string
                  description: The name of the thing to be added to the billing group.
                thingArn:
                  type: string
                  description: The ARN of the thing to be added to the billing group.
      tags:
      - Billing Groups
  /billing-groups/{billingGroupName}:
    post:
      operationId: CreateBillingGroup
      summary: Create Billing Group
      description: Creates a billing group. If this call is made multiple times using the same billing group name and configuration,
        the call will succeed. If this call is made with the same billing group name but different configuration a ResourceAlreadyExistsException
        is thrown. Requires permission to access the CreateBillingGroup action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateBillingGroupResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '409':
          description: ResourceAlreadyExistsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceAlreadyExistsException'
      parameters:
      - name: billingGroupName
        in: path
        required: true
        schema:
          type: string
        description: The name you wish to give to the billing group.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                billingGroupProperties:
                  $ref: '#/components/schemas/BillingGroupProperties'
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: Metadata which can be used to manage the billing group.
      tags:
      - Billing Groups
    delete:
      operationId: DeleteBillingGroup
      summary: Delete Billing Group
      description: Deletes the billing group. Requires permission to access the DeleteBillingGroup action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteBillingGroupResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '409':
          description: VersionConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VersionConflictException'
      parameters:
      - name: billingGroupName
        in: path
        required: true
        schema:
          type: string
        description: The name of the billing group.
      - name: expectedVersion
        in: query
        schema:
          type: integer
        description: The expected version of the billing group. If the version of the billing group does not match the expected
          version specified in the request, the DeleteBillingGroup request is rejected with a VersionConflictException.
      tags:
      - Billing Groups
    get:
      operationId: DescribeBillingGroup
      summary: Describe Billing Group
      description: Returns information about a billing group. Requires permission to access the DescribeBillingGroup action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeBillingGroupResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: billingGroupName
        in: path
        required: true
        schema:
          type: string
        description: The name of the billing group.
      tags:
      - Billing Groups
    patch:
      operationId: UpdateBillingGroup
      summary: Update Billing Group
      description: Updates information about the billing group. Requires permission to access the UpdateBillingGroup action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateBillingGroupResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '409':
          description: VersionConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VersionConflictException'
      parameters:
      - name: billingGroupName
        in: path
        required: true
        schema:
          type: string
        description: The name of the billing group.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                billingGroupProperties:
                  $ref: '#/components/schemas/BillingGroupProperties'
                expectedVersion:
                  type: integer
                  description: The expected version of the billing group. If the version of the billing group does not match
                    the expected version specified in the request, the UpdateBillingGroup request is rejected with a VersionConflictException.
              required:
              - billingGroupProperties
      tags:
      - Billing Groups
  /billing-groups:
    get:
      operationId: ListBillingGroups
      summary: List Billing Groups
      description: Lists the billing groups you have created. Requires permission to access the ListBillingGroups action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListBillingGroupsResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: To retrieve the next set of results, the nextToken value from a previous response; otherwise null to
          receive the first set of results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return per request.
      - name: namePrefixFilter
        in: query
        schema:
          type: string
        description: Limit the results to billing groups whose names have the given prefix.
      tags:
      - Billing Groups
  /billing-groups/removeThingFromBillingGroup:
    put:
      operationId: RemoveThingFromBillingGroup
      summary: Remove Thing From Billing Group
      description: Removes the given thing from the billing group. Requires permission to access the RemoveThingFromBillingGroup
        action. This call is asynchronous. It might take several seconds for the detachment to propagate.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoveThingFromBillingGroupResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                billingGroupName:
                  type: string
                  description: The name of the billing group.
                billingGroupArn:
                  type: string
                  description: The ARN of the billing group.
                thingName:
                  type: string
                  description: The name of the thing to be removed from the billing group.
                thingArn:
                  type: string
                  description: The ARN of the thing to be removed from the billing group.
      tags:
      - Billing Groups
  /billing-groups/{billingGroupName}/things:
    get:
      operationId: ListThingsInBillingGroup
      summary: List Things In Billing Group
      description: Lists the things you have added to the given billing group. Requires permission to access the ListThingsInBillingGroup
        action.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListThingsInBillingGroupResponse'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '400':
          description: InvalidRequestException; ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidRequestException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
      parameters:
      - name: billingGroupName
        in: path
        required: true
        schema:
          type: string
        description: The name of the billing group.
      - name: nextToken
        in: query
        schema:
          type: string
        description: To retrieve the next set of results, the nextToken value from a previous response; otherwise null to
          receive the first set of results.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to return per request.
      tags:
      - Billing Groups
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: iot
  schemas:
    AddThingToBillingGroupResponse:
      type: object
      properties: {}
    BillingGroupMetadata:
      type: object
      properties:
        creationDate:
          type: string
          format: date-time
          description: The date the billing group was created.
    BillingGroupProperties:
      type: object
      properties:
        billingGroupDescription:
          type: string
          description: The description of the billing group.
    CreateBillingGroupResponse:
      type: object
      properties:
        billingGroupName:
          type: string
          description: The name you gave to the billing group.
        billingGroupArn:
          type: string
          description: The ARN of the billing group.
        billingGroupId:
          type: string
          description: The ID of the billing group.
    DeleteBillingGroupResponse:
      type: object
      properties: {}
    DescribeBillingGroupResponse:
      type: object
      properties:
        billingGroupName:
          type: string
          description: The name of the billing group.
        billingGroupId:
          type: string
          description: The ID of the billing group.
        billingGroupArn:
          type: string
          description: The ARN of the billing group.
        version:
          type: integer
          description: The version of the billing group.
        billingGroupProperties:
          $ref: '#/components/schemas/BillingGroupProperties'
        billingGroupMetadata:
          $ref: '#/components/schemas/BillingGroupMetadata'
    GroupNameAndArn:
      type: object
      properties:
        groupName:
          type: string
          description: The group name.
        groupArn:
          type: string
          description: The group ARN.
    InternalFailureException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    InvalidRequestException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    ListBillingGroupsResponse:
      type: object
      properties:
        billingGroups:
          type: array
          items:
            $ref: '#/components/schemas/GroupNameAndArn'
          description: The list of billing groups.
        nextToken:
          type: string
          description: The token to use to get the next set of results, or null if there are no additional results.
    ListThingsInBillingGroupResponse:
      type: object
      properties:
        things:
          type: array
          items:
            type: string
          description: A list of things in the billing group.
        nextToken:
          type: string
          description: The token to use to get the next set of results. Will not be returned if operation has returned all
            results.
    RemoveThingFromBillingGroupResponse:
      type: object
      properties: {}
    ResourceAlreadyExistsException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
        resourceId:
          type: string
          description: The ID of the resource that caused the exception.
        resourceArn:
          type: string
          description: The ARN of the resource that caused the exception.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The tag's key.
        Value:
          type: string
          description: The tag's value.
      required:
      - Key
    UpdateBillingGroupResponse:
      type: object
      properties:
        version:
          type: integer
          description: The latest version of the billing group.
    VersionConflictException:
      type: object
      properties:
        message:
          type: string
          description: The message for the exception.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/iot/service/2015-05-28/iot-2015-05-28.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)