AWS Backup Backup Resources API

The Backup Resources API from AWS Backup — 3 operation(s) for backup resources.

GitHub OpenAPI

Operations 5

GET /resources/{ResourceArn} Describe Protected Resource #
GET /resources List Protected Resources #
GET /backup-vaults/{BackupVaultName}/resources List Protected Resources By Backup Vault #
POST /#TagResource Tag Resource #
POST /#UntagResource 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/aws-backup:aws-backup-resources-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-resources-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Backup Resources API
  version: '2018-11-15'
  description: Generated from AWS's published Smithy model for AWS Backup. 5 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:
  /resources/{ResourceArn}:
    get:
      operationId: DescribeProtectedResource
      summary: Describe Protected Resource
      description: Returns information about a saved resource, including the last time it was backed up, its Amazon Resource
        Name (ARN), and the Amazon Web Services service type of the saved resource.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeProtectedResourceOutput'
        '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
          resource type.
      tags:
      - Resources
  /resources:
    get:
      operationId: ListProtectedResources
      summary: List Protected Resources
      description: Returns an array of resources with recovery points created by Backup (regardless of the recovery point's
        status), including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource
        type.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListProtectedResourcesOutput'
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '500':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      parameters:
      - 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:
      - Resources
  /backup-vaults/{BackupVaultName}/resources:
    get:
      operationId: ListProtectedResourcesByBackupVault
      summary: List Protected Resources By Backup Vault
      description: This request lists the protected resources corresponding to each backup vault.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListProtectedResourcesByBackupVaultOutput'
        '400':
          description: InvalidParameterValueException; ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '500':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      parameters:
      - name: BackupVaultName
        in: path
        required: true
        schema:
          type: string
        description: The list of protected resources by backup vault within the vault(s) you specify by name.
      - name: backupVaultAccountId
        in: query
        schema:
          type: string
        description: The list of protected resources by backup vault within the vault(s) you specify by account ID.
      - 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:
      - Resources
  /#TagResource:
    post:
      operationId: TagResource
      summary: Tag Resource
      description: Tag the resource.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/TagResourceOutput'
        '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.TagResource
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/TagResourceInput'
      tags:
      - Resources
      servers:
      - url: https://backup-gateway.{region}.amazonaws.com
        variables:
          region:
            default: us-east-1
      security:
      - sigv4_backup_gateway: []
  /#UntagResource:
    post:
      operationId: UntagResource
      summary: Untag Resource
      description: Removes tags from the resource.
      responses:
        '200':
          description: Success
          content:
            application/x-amz-json-1.0:
              schema:
                $ref: '#/components/schemas/UntagResourceOutput'
        '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.UntagResource
      requestBody:
        required: true
        content:
          application/x-amz-json-1.0:
            schema:
              $ref: '#/components/schemas/UntagResourceInput'
      tags:
      - Resources
      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
  schemas:
    BackupGatewayResourceNotFoundException:
      type: object
      properties:
        ErrorCode:
          type: string
          description: A description of which resource wasn't found.
        Message:
          type: string
    DescribeProtectedResourceOutput:
      type: object
      properties:
        ResourceArn:
          type: string
          description: An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
        ResourceType:
          type: string
          description: The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume
            or an Amazon RDS database.
        LastBackupTime:
          type: string
          format: date-time
          description: The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time
            (UTC). The value of LastBackupTime is accurate to milliseconds. For example, the value 1516925490.087 represents
            Friday, January 26, 2018 12:11:30.087 AM.
        ResourceName:
          type: string
          description: The name of the resource that belongs to the specified backup.
        LastBackupVaultArn:
          type: string
          description: The ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.
        LastRecoveryPointArn:
          type: string
          description: The ARN (Amazon Resource Name) of the most recent recovery point.
        LatestRestoreExecutionTimeMinutes:
          type: integer
          description: The time, in minutes, that the most recent restore job took to complete.
        LatestRestoreJobCreationDate:
          type: string
          format: date-time
          description: The creation date of the most recent restore job.
        LatestRestoreRecoveryPointCreationDate:
          type: string
          format: date-time
          description: The date the most recent recovery point was created.
    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
    ListProtectedResourcesByBackupVaultOutput:
      type: object
      properties:
        Results:
          type: array
          items:
            $ref: '#/components/schemas/ProtectedResource'
          description: These are the results returned for the request ListProtectedResourcesByBackupVault.
        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.
    ListProtectedResourcesOutput:
      type: object
      properties:
        Results:
          type: array
          items:
            $ref: '#/components/schemas/ProtectedResource'
          description: An array of resources successfully backed up by Backup including the time the resource was saved, an
            Amazon Resource Name (ARN) of the resource, and a resource type.
        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.
    ProtectedResource:
      type: object
      properties:
        ResourceArn:
          type: string
          description: An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on
            the resource type.
        ResourceType:
          type: string
          description: The type of Amazon Web Services resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume
            or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups,
            the only supported resource type is Amazon EC2.
        LastBackupTime:
          type: string
          format: date-time
          description: The date and time a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).
            The value of LastBackupTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
            January 26, 2018 12:11:30.087 AM.
        ResourceName:
          type: string
          description: The non-unique name of the resource that belongs to the specified backup.
        LastBackupVaultArn:
          type: string
          description: The ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.
        LastRecoveryPointArn:
          type: string
          description: The ARN (Amazon Resource Name) of the most recent recovery point.
    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
    TagResourceInput:
      type: object
      properties:
        ResourceARN:
          type: string
          description: The Amazon Resource Name (ARN) of the resource to tag.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: A list of tags to assign to the resource.
      required:
      - ResourceARN
      - Tags
    TagResourceOutput:
      type: object
      properties:
        ResourceARN:
          type: string
          description: The Amazon Resource Name (ARN) of the resource you tagged.
    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
    UntagResourceInput:
      type: object
      properties:
        ResourceARN:
          type: string
          description: The Amazon Resource Name (ARN) of the resource from which to remove tags.
        TagKeys:
          type: array
          items:
            type: string
          description: The list of tag keys specifying which tags to remove.
      required:
      - ResourceARN
      - TagKeys
    UntagResourceOutput:
      type: object
      properties:
        ResourceARN:
          type: string
          description: The Amazon Resource Name (ARN) of the resource from which you removed tags.
    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