Amazon EBS Amazon EBS Amazon Elastic Block Store (EBS) API

The Amazon EBS Amazon Elastic Block Store (EBS) API API from Amazon EBS — 1 operation(s) for amazon ebs amazon elastic block store (ebs) api.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

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 /snapshots/completion/{SnapshotId} Seal and complete an EBS snapshot · Complete Snapshot #
Ask an LLM
“How do I finish an EBS snapshot after writing all its blocks?”
“Can I write more blocks to a snapshot after I complete it?”
Tell an agent
Complete snapshot {SnapshotId} with {ChangedBlocksCount} blocks written.
Seal snapshot {SnapshotId} and set its checksum to {Checksum}.
POST /snapshots Create a new EBS snapshot · Start Snapshot #
Ask an LLM
“How do I create a new Amazon EBS snapshot of a volume?”
“Can I create a snapshot from an existing parent snapshot?”
Tell an agent
Create a snapshot of a {VolumeSize} GiB volume.
Start snapshot {ParentSnapshotId} from parent snapshot {ParentSnapshotId}.
GET /snapshots/{SecondSnapshotId}/changedblocks Compare two snapshots for changed blocks · List Changed Blocks #
Ask an LLM
“Which blocks differ between two snapshots of the same volume?”
“Can I find changed blocks between a parent and child snapshot?”
Tell an agent
List changed blocks between snapshot {firstSnapshotId} and {SecondSnapshotId}.
Show blocks changed between {firstSnapshotId} and {SecondSnapshotId} starting at block {startingBlockIndex}.

Documentation

Specifications

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-ebs:amazon-ebs-amazon-ebs-amazon-elastic-block-store-ebs-api-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-ebs-amazon-ebs-amazon-elastic-block-store-ebs-api-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon Elastic Block Store Amazon Ebs Amazon Elastic Block Store Ebs Api API
  version: '2019-11-02'
  description: Generated from AWS's published Smithy model for Amazon Elastic Block Store. 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://ebs.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /snapshots/completion/{SnapshotId}:
    post:
      operationId: CompleteSnapshot
      summary: Complete Snapshot
      description: Seals and completes the snapshot after all of the required blocks of data have been written to it. Completing
        the snapshot changes the status to completed. You cannot write new blocks to a snapshot after it has been completed.
        You should always retry requests that receive server (5xx) error responses, and ThrottlingException and RequestThrottledException
        client error responses. For more information see Error retries in the Amazon Elastic Compute Cloud User Guide.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompleteSnapshotResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '400':
          description: RequestThrottledException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestThrottledException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
      parameters:
      - name: SnapshotId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the snapshot.
      - name: x-amz-ChangedBlocksCount
        in: header
        required: true
        schema:
          type: integer
        description: The number of blocks that were written to the snapshot.
      - name: x-amz-Checksum
        in: header
        schema:
          type: string
        description: An aggregated Base-64 SHA256 checksum based on the checksums of each written block. To generate the aggregated
          checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of
          their block index, concatenate them to form a single string, and then generate the checksum on the entire string
          using the SHA256 algorithm.
      - name: x-amz-Checksum-Algorithm
        in: header
        schema:
          type: string
          enum:
          - SHA256
        description: The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.
      - name: x-amz-Checksum-Aggregation-Method
        in: header
        schema:
          type: string
          enum:
          - LINEAR
        description: The aggregation method used to generate the checksum. Currently, the only supported aggregation method
          is LINEAR.
      tags:
      - Amazon Ebs Amazon Elastic Block Store Ebs Api
  /snapshots:
    post:
      operationId: StartSnapshot
      summary: Start Snapshot
      description: Creates a new Amazon EBS snapshot. The new snapshot enters the pending state after the request completes.
        After creating the snapshot, use PutSnapshotBlock to write blocks of data to the snapshot. You should always retry
        requests that receive server (5xx) error responses, and ThrottlingException and RequestThrottledException client error
        responses. For more information see Error retries in the Amazon Elastic Compute Cloud User Guide.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StartSnapshotResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '400':
          description: ConcurrentLimitExceededException; RequestThrottledException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConcurrentLimitExceededException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                VolumeSize:
                  type: integer
                  description: The size of the volume, in GiB. The maximum size is 65536 GiB (64 TiB).
                ParentSnapshotId:
                  type: string
                  description: The ID of the parent snapshot. If there is no parent snapshot, or if you are creating the first
                    snapshot for an on-premises volume, omit this parameter. You can't specify ParentSnapshotId and Encrypted
                    in the same request. If you specify both parameters, the request fails with ValidationException. The encryption
                    status of the snapshot depends on the values that you specify for Encrypted, KmsKeyArn, and ParentSnapshotId,
                    and whether your Amazon Web Services account is enabled for encryption by default. For more information,
                    see Using encryption in the Amazon Elastic Compute Cloud User Guide. If
                Tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: The tags to apply to the snapshot.
                Description:
                  type: string
                  description: A description for the snapshot.
                ClientToken:
                  type: string
                  description: A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
                    Idempotency ensures that an API request completes only once. With an idempotent request, if the original
                    request completes successfully. The subsequent retries with the same client token return the result from
                    the original successful request and they have no additional effect. If you do not specify a client token,
                    one is automatically generated by the Amazon Web Services SDK. For more information, see Idempotency for
                    StartSnapshot API in the Amazon Elastic Compute Cloud User Guide.
                Encrypted:
                  type: boolean
                  description: Indicates whether to encrypt the snapshot. You can't specify Encrypted and ParentSnapshotId
                    in the same request. If you specify both parameters, the request fails with ValidationException. The encryption
                    status of the snapshot depends on the values that you specify for Encrypted, KmsKeyArn, and ParentSnapshotId,
                    and whether your Amazon Web Services account is enabled for encryption by default. For more information,
                    see Using encryption in the Amazon Elastic Compute Cloud User Guide. To create an encrypted snapshot,
                    you must have permission to use the KMS key. For more information, see Permissi
                KmsKeyArn:
                  type: string
                  description: The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to be used to encrypt
                    the snapshot. The encryption status of the snapshot depends on the values that you specify for Encrypted,
                    KmsKeyArn, and ParentSnapshotId, and whether your Amazon Web Services account is enabled for encryption
                    by default. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.
                    To create an encrypted snapshot, you must have permission to use the KMS key. For more information, see
                    Permissions to use Key Management Service keys in the Amazon Elastic Compute Cloud User Gu
                Timeout:
                  type: integer
                  description: 'The amount of time (in minutes) after which the snapshot is automatically cancelled if: No
                    blocks are written to the snapshot. The snapshot is not completed after writing the last block of data.
                    If no value is specified, the timeout defaults to 60 minutes.'
              required:
              - VolumeSize
      tags:
      - Amazon Ebs Amazon Elastic Block Store Ebs Api
  /snapshots/{SecondSnapshotId}/changedblocks:
    get:
      operationId: ListChangedBlocks
      summary: List Changed Blocks
      description: Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots
        of the same volume/snapshot lineage. You should always retry requests that receive server (5xx) error responses, and
        ThrottlingException and RequestThrottledException client error responses. For more information see Error retries in
        the Amazon Elastic Compute Cloud User Guide.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListChangedBlocksResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '400':
          description: RequestThrottledException; ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RequestThrottledException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
      parameters:
      - name: firstSnapshotId
        in: query
        schema:
          type: string
        description: The ID of the first snapshot to use for the comparison. The FirstSnapshotID parameter must be specified
          with a SecondSnapshotId parameter; otherwise, an error occurs.
      - name: SecondSnapshotId
        in: path
        required: true
        schema:
          type: string
        description: The ID of the second snapshot to use for the comparison. The SecondSnapshotId parameter must be specified
          with a FirstSnapshotID parameter; otherwise, an error occurs.
      - name: pageToken
        in: query
        schema:
          type: string
        description: The token to request the next page of results. If you specify NextToken, then StartingBlockIndex is ignored.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of blocks to be returned by the request. Even if additional blocks can be retrieved
          from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks. To retrieve the
          next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken
          is null when there are no more blocks to return.
      - name: startingBlockIndex
        in: query
        schema:
          type: integer
        description: The block index from which the comparison should start. The list in the response will start from this
          block index or the next valid block index in the snapshots. If you specify NextToken, then StartingBlockIndex is
          ignored.
      tags:
      - Amazon Ebs Amazon Elastic Block Store Ebs Api
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: ebs
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          type: string
          enum:
          - UNAUTHORIZED_ACCOUNT
          - DEPENDENCY_ACCESS_DENIED
          description: The reason for the exception.
      required:
      - Reason
    ChangedBlock:
      type: object
      properties:
        BlockIndex:
          type: integer
          description: The block index.
        FirstBlockToken:
          type: string
          description: The block token for the block index of the FirstSnapshotId specified in the ListChangedBlocks operation.
            This value is absent if the first snapshot does not have the changed block that is on the second snapshot.
        SecondBlockToken:
          type: string
          description: The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.
    CompleteSnapshotResponse:
      type: object
      properties:
        Status:
          type: string
          enum:
          - completed
          - pending
          - error
          description: The status of the snapshot.
    ConcurrentLimitExceededException:
      type: object
      properties:
        Message:
          type: string
    ConflictException:
      type: object
      properties:
        Message:
          type: string
    InternalServerException:
      type: object
      properties:
        Message:
          type: string
    ListChangedBlocksResponse:
      type: object
      properties:
        ChangedBlocks:
          type: array
          items:
            $ref: '#/components/schemas/ChangedBlock'
          description: An array of objects containing information about the changed blocks.
        ExpiryTime:
          type: string
          format: date-time
          description: The time when the BlockToken expires.
        VolumeSize:
          type: integer
          description: The size of the volume in GB.
        BlockSize:
          type: integer
          description: The size of the blocks in the snapshot, in bytes.
        NextToken:
          type: string
          description: The token to use to retrieve the next page of results. This value is null when there are no more results
            to return.
    RequestThrottledException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          type: string
          enum:
          - ACCOUNT_THROTTLED
          - DEPENDENCY_REQUEST_THROTTLED
          - RESOURCE_LEVEL_THROTTLE
          description: The reason for the exception.
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          type: string
          enum:
          - SNAPSHOT_NOT_FOUND
          - GRANT_NOT_FOUND
          - DEPENDENCY_RESOURCE_NOT_FOUND
          - IMAGE_NOT_FOUND
          description: The reason for the exception.
    ServiceQuotaExceededException:
      type: object
      properties:
        Message:
          type: string
        Reason:
          type: string
          enum:
          - DEPENDENCY_SERVICE_QUOTA_EXCEEDED
          description: The reason for the exception.
    StartSnapshotResponse:
      type: object
      properties:
        Description:
          type: string
          description: The description of the snapshot.
        SnapshotId:
          type: string
          description: The ID of the snapshot.
        OwnerId:
          type: string
          description: The Amazon Web Services account ID of the snapshot owner.
        Status:
          type: string
          enum:
          - completed
          - pending
          - error
          description: The status of the snapshot.
        StartTime:
          type: string
          format: date-time
          description: The timestamp when the snapshot was created.
        VolumeSize:
          type: integer
          description: The size of the volume, in GiB.
        BlockSize:
          type: integer
          description: The size of the blocks in the snapshot, in bytes.
        Tags:
          type: array
          items:
            $ref: '#/components/schemas/Tag'
          description: The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information,
            see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.
        ParentSnapshotId:
          type: string
          description: The ID of the parent snapshot.
        KmsKeyArn:
          type: string
          description: The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.
        SseType:
          type: string
          enum:
          - sse-ebs
          - sse-kms
          - none
          description: Reserved for future use.
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The key of the tag.
        Value:
          type: string
          description: The value of the tag.
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/ebs/service/2019-11-02/ebs-2019-11-02.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)