Amazon Data Exchange Revisions API

Operations for managing data set revisions

GitHub OpenAPI

Operations 5

POST /v1/data-sets/{DataSetId}/revisions Create Revision #
GET /v1/data-sets/{DataSetId}/revisions List Data Set Revisions #
DELETE /v1/data-sets/{DataSetId}/revisions/{RevisionId} Delete Revision #
GET /v1/data-sets/{DataSetId}/revisions/{RevisionId} Get Revision #
PATCH /v1/data-sets/{DataSetId}/revisions/{RevisionId} Update Revision #

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-data-exchange:amazon-data-exchange-revisions-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-data-exchange-revisions-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Data Exchange Revisions API
  version: '2017-07-25'
  description: Generated from AWS's published Smithy model for AWS Data Exchange. 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://dataexchange.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /v1/data-sets/{DataSetId}/revisions:
    post:
      operationId: CreateRevision
      summary: Create Revision
      description: This operation creates a revision for a data set.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateRevisionResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: DataSetId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for a data set.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Comment:
                  type: string
                  description: An optional comment about the revision.
                Tags:
                  type: object
                  additionalProperties:
                    type: string
                  description: A revision tag is an optional label that you can assign to a revision when you create it. Each
                    tag consists of a key and an optional value, both of which you define. When you use tagging, you can also
                    use tag-based access control in IAM policies to control access to these data sets and revisions.
      tags:
      - Revisions
    get:
      operationId: ListDataSetRevisions
      summary: List Data Set Revisions
      description: This operation lists a data set's revisions sorted by CreatedAt in descending order.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDataSetRevisionsResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: DataSetId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for a data set.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results returned by a single call.
      - name: nextToken
        in: query
        schema:
          type: string
        description: The token value retrieved from a previous call to access the next page of results.
      tags:
      - Revisions
  /v1/data-sets/{DataSetId}/revisions/{RevisionId}:
    delete:
      operationId: DeleteRevision
      summary: Delete Revision
      description: This operation deletes a revision.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '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'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: DataSetId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for a data set.
      - name: RevisionId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for a revision.
      tags:
      - Revisions
    get:
      operationId: GetRevision
      summary: Get Revision
      description: This operation returns information about a revision.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetRevisionResponse'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: DataSetId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for a data set.
      - name: RevisionId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for a revision.
      tags:
      - Revisions
    patch:
      operationId: UpdateRevision
      summary: Update Revision
      description: This operation updates a revision.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateRevisionResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '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'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: DataSetId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for a data set.
      - name: RevisionId
        in: path
        required: true
        schema:
          type: string
        description: The unique identifier for a revision.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                Comment:
                  type: string
                  description: An optional comment about the revision.
                Finalized:
                  type: boolean
                  description: Finalizing a revision tells AWS Data Exchange that your changes to the assets in the revision
                    are complete. After it's in this read-only state, you can publish the revision to your products.
      tags:
      - Revisions
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: dataexchange
  schemas:
    AccessDeniedException:
      type: object
      properties:
        Message:
          type: string
          description: Access to the resource is denied.
      required:
      - Message
    ConflictException:
      type: object
      properties:
        Message:
          type: string
          description: The request couldn't be completed because it conflicted with the current state of the resource.
        ResourceId:
          type: string
          description: The unique identifier for the resource with the conflict.
        ResourceType:
          type: string
          description: The type of the resource with the conflict.
      required:
      - Message
    CreateRevisionResponse:
      type: object
      properties:
        Arn:
          type: string
          description: The ARN for the revision.
        Comment:
          type: string
          description: An optional comment about the revision.
        CreatedAt:
          type: string
          format: date-time
          description: The date and time that the revision was created, in ISO 8601 format.
        DataSetId:
          type: string
          description: The unique identifier for the data set associated with the data set revision.
        Finalized:
          type: boolean
          description: To publish a revision to a data set in a product, the revision must first be finalized. Finalizing
            a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in
            this read-only state, you can publish the revision to your products. Finalized revisions can be published through
            the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog
            API action. When using the API, revisions are uniquely identified by their ARN.
        Id:
          type: string
          description: The unique identifier for the revision.
        SourceId:
          type: string
          description: The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter
            is returned when a revision owner is viewing the entitled copy of its owned revision.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The tags for the revision.
        UpdatedAt:
          type: string
          format: date-time
          description: The date and time that the revision was last updated, in ISO 8601 format.
        RevocationComment:
          type: string
          description: A required comment to inform subscribers of the reason their access to the revision was revoked.
        Revoked:
          type: boolean
          description: A status indicating that subscribers' access to the revision was revoked.
        RevokedAt:
          type: string
          format: date-time
          description: The date and time that the revision was revoked, in ISO 8601 format.
    GetRevisionResponse:
      type: object
      properties:
        Arn:
          type: string
          description: The ARN for the revision.
        Comment:
          type: string
          description: An optional comment about the revision.
        CreatedAt:
          type: string
          format: date-time
          description: The date and time that the revision was created, in ISO 8601 format.
        DataSetId:
          type: string
          description: The unique identifier for the data set associated with the data set revision.
        Finalized:
          type: boolean
          description: To publish a revision to a data set in a product, the revision must first be finalized. Finalizing
            a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in
            this read-only state, you can publish the revision to your products. Finalized revisions can be published through
            the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog
            API action. When using the API, revisions are uniquely identified by their ARN.
        Id:
          type: string
          description: The unique identifier for the revision.
        SourceId:
          type: string
          description: The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter
            is returned when a revision owner is viewing the entitled copy of its owned revision.
        Tags:
          type: object
          additionalProperties:
            type: string
          description: The tags for the revision.
        UpdatedAt:
          type: string
          format: date-time
          description: The date and time that the revision was last updated, in ISO 8601 format.
        RevocationComment:
          type: string
          description: A required comment to inform subscribers of the reason their access to the revision was revoked.
        Revoked:
          type: boolean
          description: A status indicating that subscribers' access to the revision was revoked.
        RevokedAt:
          type: string
          format: date-time
          description: The date and time that the revision was revoked, in ISO 8601 format.
    InternalServerException:
      type: object
      properties:
        Message:
          type: string
          description: The message identifying the service exception that occurred.
      required:
      - Message
    ListDataSetRevisionsResponse:
      type: object
      properties:
        NextToken:
          type: string
          description: The token value retrieved from a previous call to access the next page of results.
        Revisions:
          type: array
          items:
            $ref: '#/components/schemas/RevisionEntry'
          description: The asset objects listed by the request.
    ResourceNotFoundException:
      type: object
      properties:
        Message:
          type: string
          description: The resource couldn't be found.
        ResourceId:
          type: string
          description: The unique identifier for the resource that couldn't be found.
        ResourceType:
          type: string
          description: The type of resource that couldn't be found.
      required:
      - Message
    RevisionEntry:
      type: object
      properties:
        Arn:
          type: string
          description: The ARN for the revision.
        Comment:
          type: string
          description: An optional comment about the revision.
        CreatedAt:
          type: string
          format: date-time
          description: The date and time that the revision was created, in ISO 8601 format.
        DataSetId:
          type: string
          description: The unique identifier for the data set associated with the data set revision.
        Finalized:
          type: boolean
          description: To publish a revision to a data set in a product, the revision must first be finalized. Finalizing
            a revision tells AWS Data Exchange that your changes to the assets in the revision are complete. After it's in
            this read-only state, you can publish the revision to your products. Finalized revisions can be published through
            the AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog
            API action. When using the API, revisions are uniquely identified by their ARN.
        Id:
          type: string
          description: The unique identifier for the revision.
        SourceId:
          type: string
          description: The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter
            is returned when a revision owner is viewing the entitled copy of its owned revision.
        UpdatedAt:
          type: string
          format: date-time
          description: The date and time that the revision was last updated, in ISO 8601 format.
        RevocationComment:
          type: string
          description: A required comment to inform subscribers of the reason their access to the revision was revoked.
        Revoked:
          type: boolean
          description: A status indicating that subscribers' access to the revision was revoked.
        RevokedAt:
          type: string
          format: date-time
          description: The date and time that the revision was revoked, in ISO 8601 format.
      required:
      - Arn
      - CreatedAt
      - DataSetId
      - Id
      - UpdatedAt
    ThrottlingException:
      type: object
      properties:
        Message:
          type: string
          description: The limit on the number of requests per second was exceeded.
      required:
      - Message
    UpdateRevisionResponse:
      type: object
      properties:
        Arn:
          type: string
          description: The ARN for the revision.
        Comment:
          type: string
          description: An optional comment about the revision.
        CreatedAt:
          type: string
          format: date-time
          description: The date and time that the revision was created, in ISO 8601 format.
        DataSetId:
          type: string
          description: The unique identifier for the data set associated with the data set revision.
        Finalized:
          type: boolean
          description: To publish a revision to a data set in a product, the revision must first be finalized. Finalizing
            a revision tells AWS Data Exchange that changes to the assets in the revision are complete. After it's in this
            read-only state, you can publish the revision to your products. Finalized revisions can be published through the
            AWS Data Exchange console or the AWS Marketplace Catalog API, using the StartChangeSet AWS Marketplace Catalog
            API action. When using the API, revisions are uniquely identified by their ARN.
        Id:
          type: string
          description: The unique identifier for the revision.
        SourceId:
          type: string
          description: The revision ID of the owned revision corresponding to the entitled revision being viewed. This parameter
            is returned when a revision owner is viewing the entitled copy of its owned revision.
        UpdatedAt:
          type: string
          format: date-time
          description: The date and time that the revision was last updated, in ISO 8601 format.
        RevocationComment:
          type: string
          description: A required comment to inform subscribers of the reason their access to the revision was revoked.
        Revoked:
          type: boolean
          description: A status indicating that subscribers' access to the revision was revoked.
        RevokedAt:
          type: string
          format: date-time
          description: The date and time that the revision was revoked, in ISO 8601 format.
    ValidationException:
      type: object
      properties:
        Message:
          type: string
          description: The message that informs you about what was invalid about the request.
        ExceptionCause:
          type: string
          description: The unique identifier for the resource that couldn't be found.
      required:
      - Message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/dataexchange/service/2017-07-25/dataexchange-2017-07-25.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)