AWS Backup Vaults API

The Backup Vaults API from AWS Backup — 2 operation(s) for backup vaults.

GitHub OpenAPI
Business capability
Disaster Recovery & Resilience BC-4220.60

Operations 4

PUT /backup-vaults/{BackupVaultName} Create Backup Vault #
DELETE /backup-vaults/{BackupVaultName} Delete Backup Vault #
GET /backup-vaults/{BackupVaultName} Describe Backup Vault #
GET /backup-vaults List Backup Vaults #

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-backup-vaults-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-backup-vaults-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Backup Backup Vaults 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:
  /backup-vaults/{BackupVaultName}:
    put:
      operationId: CreateBackupVault
      summary: Create Backup Vault
      description: Creates a logical container where backups are stored. A CreateBackupVault request includes a name, optionally
        one or more resource tags, an encryption key, and a request ID. Do not include sensitive data, such as passport numbers,
        in the name of a backup vault.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateBackupVaultOutput'
        '400':
          description: AlreadyExistsException; InvalidParameterValueException; LimitExceededException; MissingParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlreadyExistsException'
        '500':
          description: ServiceUnavailableException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceUnavailableException'
      parameters:
      - name: BackupVaultName
        in: path
        required: true
        schema:
          type: string
        description: The name of a logical container where backups are stored. Backup vaults are identified by names that
          are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist
          of letters, numbers, and hyphens.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                BackupVaultTags:
                  type: object
                  additionalProperties:
                    type: string
                  description: The tags to assign to the backup vault.
                EncryptionKeyArn:
                  type: string
                  description: The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
                CreatorRequestId:
                  type: string
                  description: A unique string that identifies the request and allows failed requests to be retried without
                    the risk of running the operation twice. This parameter is optional. If used, this parameter must contain
                    1 to 50 alphanumeric or '-_.' characters.
      tags:
      - Backup Vaults
    delete:
      operationId: DeleteBackupVault
      summary: Delete Backup Vault
      description: Deletes the backup vault identified by its name. A vault can be deleted only if it is empty.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '400':
          description: InvalidParameterValueException; InvalidRequestException; MissingParameterValueException; 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 name of a logical container where backups are stored. Backup vaults are identified by names that
          are unique to the account used to create them and the Amazon Web Services Region where they are created.
      tags:
      - Backup Vaults
    get:
      operationId: DescribeBackupVault
      summary: Describe Backup Vault
      description: Returns metadata about a backup vault specified by its name.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeBackupVaultOutput'
        '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: BackupVaultName
        in: path
        required: true
        schema:
          type: string
        description: The name of a logical container where backups are stored. Backup vaults are identified by names that
          are unique to the account used to create them and the Amazon Web Services Region where they are created.
      - name: backupVaultAccountId
        in: query
        schema:
          type: string
        description: The account ID of the specified backup vault.
      tags:
      - Backup Vaults
  /backup-vaults:
    get:
      operationId: ListBackupVaults
      summary: List Backup Vaults
      description: Returns a list of recovery point storage containers along with information about them.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListBackupVaultsOutput'
        '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: vaultType
        in: query
        schema:
          type: string
          enum:
          - BACKUP_VAULT
          - LOGICALLY_AIR_GAPPED_BACKUP_VAULT
          - RESTORE_ACCESS_BACKUP_VAULT
        description: This parameter will sort the list of vaults by vault type.
      - name: shared
        in: query
        schema:
          type: boolean
        description: This parameter will sort the list of vaults by shared 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:
      - Backup Vaults
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
  schemas:
    AlreadyExistsException:
      type: object
      properties:
        Code:
          type: string
        Message:
          type: string
        CreatorRequestId:
          type: string
        Arn:
          type: string
        Type:
          type: string
        Context:
          type: string
    BackupVaultListMember:
      type: object
      properties:
        BackupVaultName:
          type: string
          description: The name of a logical container where backups are stored. Backup vaults are identified by names that
            are unique to the account used to create them and the Amazon Web Services Region where they are created.
        BackupVaultArn:
          type: string
          description: An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.
        VaultType:
          type: string
          enum:
          - BACKUP_VAULT
          - LOGICALLY_AIR_GAPPED_BACKUP_VAULT
          - RESTORE_ACCESS_BACKUP_VAULT
          description: The type of vault in which the described recovery point is stored.
        VaultState:
          type: string
          enum:
          - CREATING
          - AVAILABLE
          - FAILED
          description: The current state of the vault.
        CreationDate:
          type: string
          format: date-time
          description: The date and time a resource backup is created, in Unix format and Coordinated Universal Time (UTC).
            The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
            January 26, 2018 12:11:30.087 AM.
        EncryptionKeyArn:
          type: string
          description: A server-side encryption key you can specify to encrypt your backups from services that support full
            Backup management; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. If
            you specify a key, you must specify its ARN, not its alias. If you do not specify a key, Backup creates a KMS
            key for you by default. To learn which Backup services support full Backup management and how Backup handles encryption
            for backups from services that do not yet support full Backup, see Encryption for backups in Backup
        CreatorRequestId:
          type: string
          description: A unique string that identifies the request and allows failed requests to be retried without the risk
            of running the operation twice. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric
            or '-_.' characters.
        NumberOfRecoveryPoints:
          type: integer
          description: The number of recovery points that are stored in a backup vault. Recovery point count value displayed
            in the console can be an approximation.
        Locked:
          type: boolean
          description: A Boolean value that indicates whether Backup Vault Lock applies to the selected backup vault. If true,
            Vault Lock prevents delete and update operations on the recovery points in the selected vault.
        MinRetentionDays:
          type: integer
          description: The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its
            recovery points. If this parameter is not specified, Vault Lock does not enforce a minimum retention period. If
            specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or
            longer than the minimum retention period. If the job's retention period is shorter than that minimum retention
            period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use
            a different vault. Recovery points already stored i
        MaxRetentionDays:
          type: integer
          description: The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its
            recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on
            the recovery points in the vault (allowing indefinite storage). If specified, any backup or copy job to the vault
            must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If
            the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy
            job, and you should either modify your lifecycle s
        LockDate:
          type: string
          format: date-time
          description: The date and time when Backup Vault Lock configuration becomes immutable, meaning it cannot be changed
            or deleted. If you applied Vault Lock to your vault without specifying a lock date, you can change your Vault
            Lock settings, or delete Vault Lock from the vault entirely, at any time. This value is in Unix format, Coordinated
            Universal Time (UTC), and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January
            26, 2018 12:11:30.087 AM.
        EncryptionKeyType:
          type: string
          enum:
          - AWS_OWNED_KMS_KEY
          - CUSTOMER_MANAGED_KMS_KEY
          description: The type of encryption key used for the backup vault. Valid values are CUSTOMER_MANAGED_KMS_KEY for
            customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.
    CreateBackupVaultOutput:
      type: object
      properties:
        BackupVaultName:
          type: string
          description: The name of a logical container where backups are stored. Backup vaults are identified by names that
            are unique to the account used to create them and the Region where they are created. They consist of lowercase
            letters, numbers, and hyphens.
        BackupVaultArn:
          type: string
          description: An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.
        CreationDate:
          type: string
          format: date-time
          description: The date and time a backup vault is created, in Unix format and Coordinated Universal Time (UTC). The
            value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January
            26, 2018 12:11:30.087 AM.
    DescribeBackupVaultOutput:
      type: object
      properties:
        BackupVaultName:
          type: string
          description: The name of a logical container where backups are stored. Backup vaults are identified by names that
            are unique to the account used to create them and the Region where they are created.
        BackupVaultArn:
          type: string
          description: An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault.
        VaultType:
          type: string
          enum:
          - BACKUP_VAULT
          - LOGICALLY_AIR_GAPPED_BACKUP_VAULT
          - RESTORE_ACCESS_BACKUP_VAULT
          description: The type of vault described.
        VaultState:
          type: string
          enum:
          - CREATING
          - AVAILABLE
          - FAILED
          description: The current state of the vault.->
        EncryptionKeyArn:
          type: string
          description: The server-side encryption key that is used to protect your backups; for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
        CreationDate:
          type: string
          format: date-time
          description: The date and time that a backup vault is created, in Unix format and Coordinated Universal Time (UTC).
            The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday,
            January 26, 2018 12:11:30.087 AM.
        CreatorRequestId:
          type: string
          description: A unique string that identifies the request and allows failed requests to be retried without the risk
            of running the operation twice. This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric
            or '-_.' characters.
        NumberOfRecoveryPoints:
          type: integer
          description: The number of recovery points that are stored in a backup vault. Recovery point count value displayed
            in the console can be an approximation. Use ListRecoveryPointsByBackupVault API to obtain the exact count.
        Locked:
          type: boolean
          description: A Boolean that indicates whether Backup Vault Lock is currently protecting the backup vault. True means
            that Vault Lock causes delete or update operations on the recovery points stored in the vault to fail.
        MinRetentionDays:
          type: integer
          description: The Backup Vault Lock setting that specifies the minimum retention period that the vault retains its
            recovery points. If this parameter is not specified, Vault Lock will not enforce a minimum retention period. If
            specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or
            longer than the minimum retention period. If the job's retention period is shorter than that minimum retention
            period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use
            a different vault. Recovery points already stored i
        MaxRetentionDays:
          type: integer
          description: The Backup Vault Lock setting that specifies the maximum retention period that the vault retains its
            recovery points. If this parameter is not specified, Vault Lock does not enforce a maximum retention period on
            the recovery points in the vault (allowing indefinite storage). If specified, any backup or copy job to the vault
            must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If
            the job's retention period is longer than that maximum retention period, then the vault fails the backup or copy
            job, and you should either modify your lifecycle s
        LockDate:
          type: string
          format: date-time
          description: The date and time when Backup Vault Lock configuration cannot be changed or deleted. If you applied
            Vault Lock to your vault without specifying a lock date, you can change any of your Vault Lock settings, or delete
            Vault Lock from the vault entirely, at any time. This value is in Unix format, Coordinated Universal Time (UTC),
            and accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087
            AM.
        SourceBackupVaultArn:
          type: string
          description: The ARN of the source backup vault from which this restore access backup vault was created.
        MpaApprovalTeamArn:
          type: string
          description: The ARN of the MPA approval team associated with this backup vault.
        MpaSessionArn:
          type: string
          description: The ARN of the MPA session associated with this backup vault.
        LatestMpaApprovalTeamUpdate:
          $ref: '#/components/schemas/LatestMpaApprovalTeamUpdate'
        EncryptionKeyType:
          type: string
          enum:
          - AWS_OWNED_KMS_KEY
          - CUSTOMER_MANAGED_KMS_KEY
          description: The type of encryption key used for the backup vault. Valid values are CUSTOMER_MANAGED_KMS_KEY for
            customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.
    InvalidParameterValueException:
      type: object
      properties:
        Code:
          type: string
        Message:
          type: string
        Type:
          type: string
        Context:
          type: string
    LatestMpaApprovalTeamUpdate:
      type: object
      properties:
        MpaSessionArn:
          type: string
          description: The ARN of the MPA session associated with this update.
        Status:
          type: string
          enum:
          - PENDING
          - APPROVED
          - FAILED
          description: The current status of the MPA approval team update.
        StatusMessage:
          type: string
          description: A message describing the current status of the MPA approval team update.
        InitiationDate:
          type: string
          format: date-time
          description: The date and time when the MPA approval team update was initiated.
        ExpiryDate:
          type: string
          format: date-time
          description: The date and time when the MPA approval team update will expire.
    ListBackupVaultsOutput:
      type: object
      properties:
        BackupVaultList:
          type: array
          items:
            $ref: '#/components/schemas/BackupVaultListMember'
          description: An array of backup vault list members containing vault metadata, including Amazon Resource Name (ARN),
            display name, creation date, number of saved recovery points, and encryption information if the resources saved
            in the backup vault are encrypted.
        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.
    ServiceUnavailableException:
      type: object
      properties:
        Code:
          type: string
        Message:
          type: string
        Type:
          type: string
        Context:
          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)