Amazon Lex Tags API

The tags API from Amazon Lex — 1 operation(s) for tags.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /tags/{resourceARN} List tags on a bot resource · List Tags For Resource #
Ask an LLM
“What tags are on my bot or bot alias?”
“Which Lex resources can carry tags at all?”
Tell an agent
List the tags on {resourceARN}.
Show every tag attached to resource {resourceARN}.
POST /tags/{resourceARN} Add tags to a bot resource · Tag Resource #
Ask an LLM
“How do I tag a bot for cost allocation?”
“Does tagging overwrite a tag key that already exists?”
Tell an agent
Tag {resourceARN} with {tags}.
Add tags {tags} to bot resource {resourceARN}, replacing any existing values.
DELETE /tags/{resourceARN} Remove tags from a bot resource · Untag Resource #
Ask an LLM
“How do I remove tags from a bot alias?”
“Can I strip specific tag keys off a bot channel?”
Tell an agent destructive · confirm first
Remove tag keys {tagKeys} from {resourceARN}.
Untag {resourceARN} by deleting keys {tagKeys}.
GET /tags/{resourceArn} List Tags For Resource #
POST /tags/{resourceArn} Tag Resource #
DELETE /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-lex:amazon-lex-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-lex-tags-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Lex Model Building V2 Tags API
  version: '2020-08-07'
  description: Generated from AWS's published Smithy model for Amazon Lex Model Building V2. 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://models-v2-lex.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /tags/{resourceARN}:
    get:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Gets a list of tags associated with a resource. Only bots, bot aliases, and bot channels can have tags
        associated with them.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTagsForResourceResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListTagsForResourceRequest'
      tags:
      - Tags
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced
        with the new value.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagResourceResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagResourceRequest'
      tags:
      - Tags
    delete:
      operationId: UntagResource
      summary: Untag Resource
      description: Removes tags from a bot, bot alias, or bot channel.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UntagResourceResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UntagResourceRequest'
      tags:
      - Tags
  /tags/{resourceArn}:
    get:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Gets a list of tags associated with the specified resource. Only bots, bot aliases, and bot channels can
        have tags associated with them.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ModelsLexListTagsForResourceResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '429':
          description: LimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundException'
      deprecated: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModelsLexListTagsForResourceRequest'
      tags:
      - Tags
      servers:
      - url: https://models.lex.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Adds the specified tags to the specified resource. If a tag key already exists, the existing value is replaced
        with the new value.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagResourceResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '429':
          description: LimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundException'
      deprecated: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModelsLexTagResourceRequest'
      tags:
      - Tags
      servers:
      - url: https://models.lex.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
    delete:
      operationId: UntagResource
      summary: Untag Resource
      description: Removes tags from a bot, bot alias or bot channel.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UntagResourceResponse'
        '400':
          description: BadRequestException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalFailureException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalFailureException'
        '429':
          description: LimitExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LimitExceededException'
        '404':
          description: NotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundException'
      deprecated: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ModelsLexUntagResourceRequest'
      tags:
      - Tags
      servers:
      - url: https://models.lex.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
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: lex
  schemas:
    BadRequestException:
      type: object
      properties:
        message:
          type: string
    ConflictException:
      type: object
      properties:
        message:
          type: string
    InternalFailureException:
      type: object
      properties:
        message:
          type: string
    InternalServerException:
      type: object
      properties:
        message:
          type: string
    LimitExceededException:
      type: object
      properties:
        retryAfterSeconds:
          type: string
        message:
          type: string
    ListTagsForResourceRequest:
      type: object
      properties:
        resourceARN:
          type: string
          description: The Amazon Resource Name (ARN) of the resource to get a list of tags for.
      required:
      - resourceARN
    ListTagsForResourceResponse:
      type: object
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags associated with a resource.
    ModelsLexListTagsForResourceRequest:
      type: object
      properties:
        resourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the resource to get a list of tags for.
      required:
      - resourceArn
    ModelsLexListTagsForResourceResponse:
      type: object
      properties:
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The tags associated with a resource.
    ModelsLexTagResourceRequest:
      type: object
      properties:
        resourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag.
        tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of tag keys to add to the resource. If a tag key already exists, the existing value is replaced
            with the new value.
      required:
      - resourceArn
      - tags
    ModelsLexUntagResourceRequest:
      type: object
      properties:
        resourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the resource to remove the tags from.
        tagKeys:
          type: array
          items:
            type: string
          description: A list of tag keys to remove from the resource. If a tag key does not exist on the resource, it is
            ignored.
      required:
      - resourceArn
      - tagKeys
    NotFoundException:
      type: object
      properties:
        message:
          type: string
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
    Tag:
      type: object
      properties:
        key:
          type: string
          description: The key for the tag. Keys are not case-sensitive and must be unique.
        value:
          type: string
          description: The value associated with a key. The value may be an empty string but it can't be null.
      required:
      - key
      - value
    TagResourceRequest:
      type: object
      properties:
        resourceARN:
          type: string
          description: The Amazon Resource Name (ARN) of the bot, bot alias, or bot channel to tag.
        tags:
          type: object
          additionalProperties:
            type: string
          description: A list of tag keys to add to the resource. If a tag key already exists, the existing value is replaced
            with the new value.
      required:
      - resourceARN
      - tags
    TagResourceResponse:
      type: object
      properties: {}
    ThrottlingException:
      type: object
      properties:
        retryAfterSeconds:
          type: integer
          description: The number of seconds after which the user can invoke the API again.
        message:
          type: string
    UntagResourceRequest:
      type: object
      properties:
        resourceARN:
          type: string
          description: The Amazon Resource Name (ARN) of the resource to remove the tags from.
        tagKeys:
          type: array
          items:
            type: string
          description: A list of tag keys to remove from the resource. If a tag key does not exist on the resource, it is
            ignored.
      required:
      - resourceARN
      - tagKeys
    UntagResourceResponse:
      type: object
      properties: {}
    ValidationException:
      type: object
      properties:
        message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/lex-models-v2/service/2020-08-07/lex-models-v2-2020-08-07.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/lex-models-v2/service/2020-08-07/lex-models-v2-2020-08-07.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/lex-model-building-service/service/2017-04-19/lex-model-building-service-2017-04-19.json