Amazon Data Exchange · Capability

AWS Data Exchange API — Assets

AWS Data Exchange API — Assets. 4 operations. Lead operation: List Revision Assets. Self-contained Naftiko capability covering one Amazon Data Exchange business surface.

Run with Naftiko Amazon Data ExchangeAssets

What You Can Do

GET
Listrevisionassets — List Revision Assets
/v1/v1/data-sets/{datasetid}/revisions/{revisionid}/assets
GET
Getasset — Get Asset
/v1/v1/data-sets/{datasetid}/revisions/{revisionid}/assets/{assetid}
PATCH
Updateasset — Update Asset
/v1/v1/data-sets/{datasetid}/revisions/{revisionid}/assets/{assetid}
DELETE
Deleteasset — Delete Asset
/v1/v1/data-sets/{datasetid}/revisions/{revisionid}/assets/{assetid}

MCP Tools

list-revision-assets

List Revision Assets

read-only idempotent
get-asset

Get Asset

read-only idempotent
update-asset

Update Asset

idempotent
delete-asset

Delete Asset

idempotent

Capability Spec

amazon-data-exchange-assets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: AWS Data Exchange API — Assets
  description: 'AWS Data Exchange API — Assets. 4 operations. Lead operation: List Revision Assets. Self-contained Naftiko
    capability covering one Amazon Data Exchange business surface.'
  tags:
  - Amazon Data Exchange
  - Assets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_DATA_EXCHANGE_API_KEY: AMAZON_DATA_EXCHANGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-data-exchange-assets
    baseUri: https://dataexchange.amazonaws.com
    description: AWS Data Exchange API — Assets business capability. Self-contained, no shared references.
    resources:
    - name: v1-data-sets-DataSetId-revisions-RevisionId-assets
      path: /v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets
      operations:
      - name: listrevisionassets
        method: GET
        description: List Revision Assets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: DataSetId
          in: path
          type: string
          required: true
        - name: RevisionId
          in: path
          type: string
          required: true
        - name: maxResults
          in: query
          type: integer
        - name: nextToken
          in: query
          type: string
    - name: v1-data-sets-DataSetId-revisions-RevisionId-assets-AssetId
      path: /v1/data-sets/{DataSetId}/revisions/{RevisionId}/assets/{AssetId}
      operations:
      - name: getasset
        method: GET
        description: Get Asset
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: DataSetId
          in: path
          type: string
          required: true
        - name: RevisionId
          in: path
          type: string
          required: true
        - name: AssetId
          in: path
          type: string
          required: true
      - name: updateasset
        method: PATCH
        description: Update Asset
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: DataSetId
          in: path
          type: string
          required: true
        - name: RevisionId
          in: path
          type: string
          required: true
        - name: AssetId
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteasset
        method: DELETE
        description: Delete Asset
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: DataSetId
          in: path
          type: string
          required: true
        - name: RevisionId
          in: path
          type: string
          required: true
        - name: AssetId
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_DATA_EXCHANGE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-data-exchange-assets-rest
    port: 8080
    description: REST adapter for AWS Data Exchange API — Assets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/data-sets/{datasetid}/revisions/{revisionid}/assets
      name: v1-data-sets-datasetid-revisions-revisionid-assets
      description: REST surface for v1-data-sets-DataSetId-revisions-RevisionId-assets.
      operations:
      - method: GET
        name: listrevisionassets
        description: List Revision Assets
        call: amazon-data-exchange-assets.listrevisionassets
        with:
          DataSetId: rest.DataSetId
          RevisionId: rest.RevisionId
          maxResults: rest.maxResults
          nextToken: rest.nextToken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/data-sets/{datasetid}/revisions/{revisionid}/assets/{assetid}
      name: v1-data-sets-datasetid-revisions-revisionid-assets-assetid
      description: REST surface for v1-data-sets-DataSetId-revisions-RevisionId-assets-AssetId.
      operations:
      - method: GET
        name: getasset
        description: Get Asset
        call: amazon-data-exchange-assets.getasset
        with:
          DataSetId: rest.DataSetId
          RevisionId: rest.RevisionId
          AssetId: rest.AssetId
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateasset
        description: Update Asset
        call: amazon-data-exchange-assets.updateasset
        with:
          DataSetId: rest.DataSetId
          RevisionId: rest.RevisionId
          AssetId: rest.AssetId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteasset
        description: Delete Asset
        call: amazon-data-exchange-assets.deleteasset
        with:
          DataSetId: rest.DataSetId
          RevisionId: rest.RevisionId
          AssetId: rest.AssetId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-data-exchange-assets-mcp
    port: 9090
    transport: http
    description: MCP adapter for AWS Data Exchange API — Assets. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-revision-assets
      description: List Revision Assets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-data-exchange-assets.listrevisionassets
      with:
        DataSetId: tools.DataSetId
        RevisionId: tools.RevisionId
        maxResults: tools.maxResults
        nextToken: tools.nextToken
      outputParameters:
      - type: object
        mapping: $.
    - name: get-asset
      description: Get Asset
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-data-exchange-assets.getasset
      with:
        DataSetId: tools.DataSetId
        RevisionId: tools.RevisionId
        AssetId: tools.AssetId
      outputParameters:
      - type: object
        mapping: $.
    - name: update-asset
      description: Update Asset
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: amazon-data-exchange-assets.updateasset
      with:
        DataSetId: tools.DataSetId
        RevisionId: tools.RevisionId
        AssetId: tools.AssetId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-asset
      description: Delete Asset
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: amazon-data-exchange-assets.deleteasset
      with:
        DataSetId: tools.DataSetId
        RevisionId: tools.RevisionId
        AssetId: tools.AssetId
      outputParameters:
      - type: object
        mapping: $.