Amazon MSK Tags API

The Tags API from Amazon MSK — 2 operation(s) for tags.

GitHub OpenAPI

Operations 6

GET /v1/tags/{ResourceArn} List Tags For Resource #
POST /v1/tags/{ResourceArn} Tag Resource #
DELETE /v1/tags/{ResourceArn} Untag Resource #
GET /v1/tags/{resourceArn} List Tags For Resource #
POST /v1/tags/{resourceArn} Tag Resource #
DELETE /v1/tags/{resourceArn} Untag Resource #

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-msk:amazon-msk-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-msk-tags-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Managed Streaming for Kafka Tags API
  version: '2018-11-14'
  description: Generated from AWS's published Smithy model for Managed Streaming for Kafka. 6 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://kafka.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /v1/tags/{ResourceArn}:
    get:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Returns a list of the tags associated with the specified resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTagsForResourceResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundException'
      parameters:
      - name: ResourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags.
      tags:
      - Tags
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Adds tags to the specified MSK resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundException'
      parameters:
      - name: ResourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The key-value pair for the resource tag.
              required:
              - Tags
      tags:
      - Tags
    delete:
      operationId: UntagResource
      summary: Untag Resource
      description: Removes the tags associated with the keys that are provided in the query.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundException'
      parameters:
      - name: ResourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that uniquely identifies the resource that's associated with the tags.
      - name: tagKeys
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
        description: 'Tag keys must be unique for a given cluster. In addition, the following restrictions apply: Each tag
          key must be unique. If you add a tag with a key that''s already in use, your new tag overwrites the existing key-value
          pair. You can''t start a tag key with aws: because this prefix is reserved for use by AWS. AWS creates tags that
          begin with this prefix on your behalf, but you can''t edit or delete them. Tag keys must be between 1 and 128 Unicode
          characters in length. Tag keys must consist of the following characters: Unicode letters, digits, white space, and
          the following special characters: _ .'
      tags:
      - Tags
  /v1/tags/{resourceArn}:
    get:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Lists all the tags attached to the specified resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectListTagsForResourceResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectBadRequestException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectForbiddenException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectInternalServerErrorException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectNotFoundException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectServiceUnavailableException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectTooManyRequestsException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectUnauthorizedException'
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource for which you want to list all attached tags.
      tags:
      - Tags
      servers:
      - url: https://kafkaconnect.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_kafkaconnect: []
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Attaches tags to the specified resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagResourceResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectBadRequestException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectConflictException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectForbiddenException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectInternalServerErrorException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectNotFoundException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectServiceUnavailableException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectTooManyRequestsException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectUnauthorizedException'
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource to which you want to attach tags.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The tags that you want to attach to the resource.
              required:
              - tags
      tags:
      - Tags
      servers:
      - url: https://kafkaconnect.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_kafkaconnect: []
    delete:
      operationId: UntagResource
      summary: Untag Resource
      description: Removes tags from the specified resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UntagResourceResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectBadRequestException'
        '403':
          description: ForbiddenException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectForbiddenException'
        '500':
          description: InternalServerErrorException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectInternalServerErrorException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectNotFoundException'
        '503':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectServiceUnavailableException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectTooManyRequestsException'
        '401':
          description: UnauthorizedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KafkaconnectUnauthorizedException'
      parameters:
      - name: resourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) of the resource from which you want to remove tags.
      - name: tagKeys
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
        description: The keys of the tags that you want to remove from the resource.
      tags:
      - Tags
      servers:
      - url: https://kafkaconnect.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_kafkaconnect: []
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: kafka
    sigv4_kafkaconnect:
      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: kafkaconnect
  schemas:
    BadRequestException:
      type: object
      properties:
        InvalidParameter:
          type: string
          description: The parameter that caused the error.
        Message:
          type: string
          description: The description of the error.
    InternalServerErrorException:
      type: object
      properties:
        InvalidParameter:
          type: string
          description: The parameter that caused the error.
        Message:
          type: string
          description: The description of the error.
    KafkaconnectBadRequestException:
      type: object
      properties:
        message:
          type: string
    KafkaconnectConflictException:
      type: object
      properties:
        message:
          type: string
    KafkaconnectForbiddenException:
      type: object
      properties:
        message:
          type: string
    KafkaconnectInternalServerErrorException:
      type: object
      properties:
        message:
          type: string
    KafkaconnectListTagsForResourceResponse:
      type: object
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          description: Lists the tags attached to the specified resource in the corresponding request.
    KafkaconnectNotFoundException:
      type: object
      properties:
        message:
          type: string
    KafkaconnectServiceUnavailableException:
      type: object
      properties:
        message:
          type: string
    KafkaconnectTooManyRequestsException:
      type: object
      properties:
        message:
          type: string
    KafkaconnectUnauthorizedException:
      type: object
      properties:
        message:
          type: string
    ListTagsForResourceResponse:
      type: object
      properties:
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The key-value pair for the resource tag.
    NotFoundException:
      type: object
      properties:
        InvalidParameter:
          type: string
          description: The parameter that caused the error.
        Message:
          type: string
          description: The description of the error.
    TagResourceResponse:
      type: object
      properties: {}
    UntagResourceResponse:
      type: object
      properties: {}
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/kafka/service/2018-11-14/kafka-2018-11-14.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)
  sources:
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/kafka/service/2018-11-14/kafka-2018-11-14.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/kafkaconnect/service/2021-09-14/kafkaconnect-2021-09-14.json