AWS Backup Tags API

The Tags API from AWS Backup — 1 operation(s) for tags.

GitHub OpenAPI

Operations 4

GET /tags/{ResourceArn} List Tags #
POST /tags/{ResourceArn} Tag Resource #
DELETE /tags/{ResourceArn} Untag Resource #
POST /#ListTagsForResource List Tags For 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/aws-backup:aws-backup-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

aws-backup-tags-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Backup Tags API
  version: '2018-11-15'
  description: Generated from AWS's published Smithy model for AWS Backup. 4 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://backup.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /tags/{ResourceArn}:
    get:
      operationId: ListTags
      summary: List Tags
      description: Returns the tags assigned to the resource, such as a target recovery point, backup plan, or backup vault.
        This operation returns results depending on the resource type used in the value for resourceArn. For example, recovery
        points of Amazon DynamoDB with Advanced Settings have an ARN (Amazon Resource Name) that begins with arn:aws:backup.
        Recovery points (backups) of DynamoDB without Advanced Settings enabled have an ARN that begins with arn:aws:dynamodb.
        When this operation is called and when you include values of resourceArn that have an ARN other than arn:aws:backup,
        it may return one of the exceptions listed below. To prevent this exception, include only values representing resource
        types that are fully managed by Backup. These have an ARN that begins arn:aws:backup and they are noted in the Feature
        availability by resource table.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTagsOutput'
        '400':
          description: InvalidParameterValueException; MissingParameterValueException; ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '500':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      parameters:
      - name: ResourceArn
        in: path
        required: true
        schema:
          type: string
        description: An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the
          type of resource. Valid targets for ListTags are recovery points, backup plans, and backup vaults.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The next item following a partial list of returned items. For example, if a request is made to return
          MaxResults number of items, NextToken allows you to return more items in your list starting at the location pointed
          to by the next token.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of items to be returned.
      tags:
      - Tags
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Assigns a set of key-value pairs to a resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '400':
          description: InvalidParameterValueException; LimitExceededException; MissingParameterValueException; ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '500':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      parameters:
      - name: ResourceArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN that uniquely identifies the resource.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: 'Key-value pairs that are used to help organize your resources. You can assign your own metadata
                    to the resources you create. For clarity, this is the structure to assign tags: [{"Key":"string","Value":"string"}].'
              required:
              - Tags
      tags:
      - Tags
    delete:
      operationId: UntagResource
      summary: Untag Resource
      description: This operation removes tags from the specified resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UntagResourceResponse'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackupSearchResourceNotFoundException'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackupSearchAccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackupSearchInternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackupSearchThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BackupSearchValidationException'
      parameters:
      - name: ResourceArn
        in: path
        required: true
        schema:
          type: string
        description: The Amazon Resource Name (ARN) that uniquely identifies the resource where you want to remove tags.
      - name: tagKeys
        in: query
        required: true
        schema:
          type: array
          items:
            type: string
        description: This required parameter contains the tag keys you want to remove from the source.
      tags:
      - Tags
      servers:
      - url: https://backup-search.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_backup_search: []
  /#ListTagsForResource:
    post:
      operationId: ListTagsForResource
      summary: List Tags For Resource
      description: Lists the tags applied to the resource identified by its Amazon Resource Name (ARN).
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/ListTagsForResourceOutput'
        '404':
          description: ResourceNotFoundException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/BackupGatewayResourceNotFoundException'
        '500':
          description: InternalServerException
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '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:
          - BackupOnPremises_v20210101.ListTagsForResource
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/ListTagsForResourceInput'
      tags:
      - Tags
      servers:
      - url: https://backup-gateway.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_backup_gateway: []
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: backup
    sigv4_backup_gateway:
      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: backup-gateway
    sigv4_backup_search:
      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: backup-search
  schemas:
    BackupGatewayResourceNotFoundException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: A description of which resource wasn't found.
        Message:
          type: string
    BackupSearchAccessDeniedException:
      type: object
      properties:
        message:
          type: string
          description: User does not have sufficient access to perform this action.
      required:
      - message
    BackupSearchInternalServerException:
      type: object
      properties:
        message:
          type: string
          description: Unexpected error during processing of request.
        retryAfterSeconds:
          type: integer
          description: Retry the call after number of seconds.
      required:
      - message
    BackupSearchResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
          description: Request references a resource which does not exist.
        resourceId:
          type: string
          description: Hypothetical identifier of the resource affected.
        resourceType:
          type: string
          description: Hypothetical type of the resource affected.
      required:
      - message
      - resourceId
      - resourceType
    BackupSearchThrottlingException:
      type: object
      properties:
        message:
          type: string
          description: Request was unsuccessful due to request throttling.
        serviceCode:
          type: string
          description: This is the code unique to the originating service.
        quotaCode:
          type: string
          description: This is the code unique to the originating service with the quota.
        retryAfterSeconds:
          type: integer
          description: Retry the call after number of seconds.
      required:
      - message
    BackupSearchValidationException:
      type: object
      properties:
        message:
          type: string
          description: The input fails to satisfy the constraints specified by an Amazon service.
      required:
      - message
    InternalServerException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: A description of which internal error occured.
        Message:
          type: string
    InvalidParameterValueException:
      type: object
      properties:
        Code:
          type: string
        Message:
          type: string
        Type:
          type: string
        Context:
          type: string
    ListTagsForResourceInput:
      type: object
      properties:
        ResourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the resource's tags to list.
      required:
      - ResourceArn
    ListTagsForResourceOutput:
      type: object
      properties:
        ResourceArn:
          type: string
          description: The Amazon Resource Name (ARN) of the resource's tags that you listed.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of the resource's tags.
    ListTagsOutput:
      type: object
      properties:
        NextToken:
          type: string
          description: The next item following a partial list of returned items. For example, if a request is made to return
            MaxResults number of items, NextToken allows you to return more items in your list starting at the location pointed
            to by the next token.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: Information about the tags.
    ServiceUnavailableException:
      type: object
      properties:
        Code:
          type: string
        Message:
          type: string
        Type:
          type: string
        Context:
          type: string
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The key part of a tag's key-value pair. The key can't start with aws:.
        Value:
          type: string
          description: The value part of a tag's key-value pair.
      required:
      - Key
      - Value
    ThrottlingException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: 'Error: TPS has been limited to protect against intentional or unintentional high request volumes.'
        Message:
          type: string
      required:
      - ErrorCode
    UntagResourceResponse:
      type: object
      properties: {}
    ValidationException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: A description of what caused the validation error.
        Message:
          type: string
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/backup/service/2018-11-15/backup-2018-11-15.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/backup/service/2018-11-15/backup-2018-11-15.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/backup-gateway/service/2021-01-01/backup-gateway-2021-01-01.json
  - https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/backupsearch/service/2018-05-10/backupsearch-2018-05-10.json