Amazon SQS Tags API

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

GitHub OpenAPI

Operations 3

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

POST /#TagQueue Add cost allocation tags to a queue · Tag Queue #
Ask an LLM
“How do I tag an SQS queue for cost allocation?”
“Can I overwrite a tag key that already exists on a queue?”
Tell an agent
Tag queue {queue} with {tags}.
Add cost allocation tags {tags} to SQS queue {queue}.
POST /#UntagQueue Remove cost allocation tags from a queue · Untag Queue #
Ask an LLM
“How do I remove tags from an SQS queue?”
“Can I strip several tag keys from a queue at once?”
Tell an agent destructive · confirm first
Untag queue {queue} by removing keys {keys}.
Remove cost allocation tags {keys} from SQS queue {queue}.
POST /#ListQueueTags List cost allocation tags on a queue · List Queue Tags #
Ask an LLM
“Which cost allocation tags are on a given SQS queue?”
“What tag keys have been added to a queue?”
Tell an agent
List the tags on queue {queue}.
Show cost allocation tags for SQS queue {queue}.

Documentation

Specifications

Code Examples

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-sqs:amazon-sqs-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-sqs-tags-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Simple Queue Service Tags API
  version: '2012-11-05'
  description: Generated from AWS's published Smithy model for Amazon Simple Queue Service. 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://sqs.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /#TagQueue:
    post:
      operationId: TagQueue
      summary: Tag Queue
      description: 'Add cost allocation tags to the specified Amazon SQS queue. For an overview, see Tagging Your Amazon SQS
        Queues in the Amazon SQS Developer Guide. When you use queue tags, keep the following guidelines in mind: Adding more
        than 50 tags to a queue isn''t recommended. Tags don''t have any semantic meaning. Amazon SQS interprets tags as character
        strings. Tags are case-sensitive. A new tag with a key identical to that of an existing tag overwrites the existing
        tag. For a full list of tag restrictions, see Quotas related to queues in the Amazon SQS Developer Guide. Cross-account
        permissions don''t apply to this action. For more information, see Grant cross-account permissions to a role and a
        username in the Amazon SQS Developer Guide.'
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                type: string
        '404':
          description: InvalidAddress
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidAddress'
        '403':
          description: InvalidSecurity; RequestThrottled
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidSecurity'
        '400':
          description: QueueDoesNotExist; UnsupportedOperation
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/QueueDoesNotExist'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonSQS.TagQueue
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/TagQueueRequest'
      tags:
      - Tags
  /#UntagQueue:
    post:
      operationId: UntagQueue
      summary: Untag Queue
      description: Remove cost allocation tags from the specified Amazon SQS queue. For an overview, see Tagging Your Amazon
        SQS Queues in the Amazon SQS Developer Guide. Cross-account permissions don't apply to this action. For more information,
        see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                type: string
        '404':
          description: InvalidAddress
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidAddress'
        '403':
          description: InvalidSecurity; RequestThrottled
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidSecurity'
        '400':
          description: QueueDoesNotExist; UnsupportedOperation
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/QueueDoesNotExist'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonSQS.UntagQueue
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/UntagQueueRequest'
      tags:
      - Tags
  /#ListQueueTags:
    post:
      operationId: ListQueueTags
      summary: List Queue Tags
      description: List all cost allocation tags added to the specified Amazon SQS queue. For an overview, see Tagging Your
        Amazon SQS Queues in the Amazon SQS Developer Guide. Cross-account permissions don't apply to this action. For more
        information, see Grant cross-account permissions to a role and a username in the Amazon SQS Developer Guide.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListQueueTagsResult'
        '404':
          description: InvalidAddress
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidAddress'
        '403':
          description: InvalidSecurity; RequestThrottled
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InvalidSecurity'
        '400':
          description: QueueDoesNotExist; UnsupportedOperation
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/QueueDoesNotExist'
      parameters:
      - name: X-Amz-Target
        in: header
        required: true
        schema:
          type: string
          enum:
          - AmazonSQS.ListQueueTags
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListQueueTagsRequest'
      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: sqs
  schemas:
    InvalidAddress:
      type: object
      properties:
        message:
          type: string
    InvalidSecurity:
      type: object
      properties:
        message:
          type: string
    ListQueueTagsRequest:
      type: object
      properties:
        QueueUrl:
          type: string
          description: The URL of the queue.
      required:
      - QueueUrl
    ListQueueTagsResult:
      type: object
      properties:
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The list of all tags added to the specified queue.
    QueueDoesNotExist:
      type: object
      properties:
        message:
          type: string
    TagQueueRequest:
      type: object
      properties:
        QueueUrl:
          type: string
          description: The URL of the queue.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The list of tags to be added to the specified queue.
      required:
      - QueueUrl
      - Tags
    UntagQueueRequest:
      type: object
      properties:
        QueueUrl:
          type: string
          description: The URL of the queue.
        TagKeys:
          type: array
          items:
            type: string
          description: The list of tags to be removed from the specified queue.
      required:
      - QueueUrl
      - TagKeys
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/sqs/service/2012-11-05/sqs-2012-11-05.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)