Amazon B2B Data Interchange Tags API

Manage resource tags

GitHub OpenAPI

Operations 3

POST /#ListTagsForResource List Tags For Resource #
POST /#TagResource Tag Resource #
POST /#UntagResource Untag Resource #

Documentation

Specifications

Schemas & Data

Other Resources

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-b2b-data-interchange:amazon-b2b-data-interchange-tags-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-b2b-data-interchange-tags-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS B2B Data Interchange Tags API
  version: '2022-06-23'
  description: Generated from AWS's published Smithy model for AWS B2B Data Interchange. 3 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://b2bi.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#ListTagsForResource:
    post:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Lists all of the tags associated with the Amazon Resource Name (ARN) that you specify. The resource can
        be a capability, partnership, profile, or transformer.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListTagsForResourceResponse'
              example:
                Tags:
                - Key: sampleKey
                  Value: SampleValue
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - B2BI.ListTagsForResource
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListTagsForResourceRequest'
            example:
              ResourceARN: arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9
      tags:
      - Tags
  /#TagResource:
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are
        capability, partnership, profile, transformers and other entities. There is no response returned from this call.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                type: string
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - B2BI.TagResource
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/TagResourceRequest'
            example:
              ResourceARN: arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9
              Tags:
              - Key: sampleKey
                Value: SampleValue
      tags:
      - Tags
  /#UntagResource:
    post:
      operationId: UntagResource
      summary: Untag Resource
      description: Detaches a key-value pair from the specified resource, as identified by its Amazon Resource Name (ARN).
        Resources are capability, partnership, profile, transformers and other entities.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                type: string
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '400':
          description: ValidationException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - B2BI.UntagResource
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/UntagResourceRequest'
            example:
              ResourceARN: arn:aws:b2bi:us-west-2:123456789012:profile/p-60fbc37c87f04fce9
              TagKeys:
              - sampleKey
      tags:
      - Tags
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: b2bi
  schemas:
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The server attempts to retry a failed command.
      required:
      - message
    ListTagsForResourceRequest:
      type: object
      properties:
        ResourceARN:
          type: string
          description: Requests the tags associated with a particular Amazon Resource Name (ARN). An ARN is an identifier
            for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
      required:
      - ResourceARN
    ListTagsForResourceResponse:
      type: object
      properties:
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: Returns the key-value pairs assigned to ARNs that you can use to group and search for resources by
            type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
      required:
      - message
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: Specifies the name assigned to the tag that you create.
        Value:
          type: string
          description: Contains one or more values that you assigned to the key name that you create.
      required:
      - Key
      - Value
    TagResourceRequest:
      type: object
      properties:
        ResourceARN:
          type: string
          description: Specifies an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability,
            partnership, profile, or transformer.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by
            type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
      required:
      - ResourceARN
      - Tags
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: The server attempts to retry a command that was throttled.
      required:
      - message
    UntagResourceRequest:
      type: object
      properties:
        ResourceARN:
          type: string
          description: Specifies an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability,
            partnership, profile, or transformer.
        TagKeys:
          type: array
          items:
            type: string
          description: Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by
            type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
      required:
      - ResourceARN
      - TagKeys
    ValidationException:
      type: object
      properties:
        Message:
          type: string
      required:
      - Message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/b2bi/service/2022-06-23/b2bi-2022-06-23.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)