Amazon DataZone · Capability

Amazon DataZone API — Domains

Amazon DataZone API — Domains. 5 operations. Lead operation: List Domains. Self-contained Naftiko capability covering one Amazon Datazone business surface.

Run with Naftiko Amazon DatazoneDomains

What You Can Do

GET
Listdomains — List Domains
/v1/v2/domains
POST
Createdomain — Create Domain
/v1/v2/domains
GET
Getdomain — Get Domain
/v1/v2/domains/{domainidentifier}
PUT
Updatedomain — Update Domain
/v1/v2/domains/{domainidentifier}
DELETE
Deletedomain — Delete Domain
/v1/v2/domains/{domainidentifier}

MCP Tools

list-domains

List Domains

read-only idempotent
create-domain

Create Domain

get-domain

Get Domain

read-only idempotent
update-domain

Update Domain

idempotent
delete-domain

Delete Domain

idempotent

Capability Spec

amazon-datazone-domains.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon DataZone API — Domains
  description: 'Amazon DataZone API — Domains. 5 operations. Lead operation: List Domains. Self-contained Naftiko capability
    covering one Amazon Datazone business surface.'
  tags:
  - Amazon Datazone
  - Domains
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_DATAZONE_API_KEY: AMAZON_DATAZONE_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-datazone-domains
    baseUri: https://datazone.amazonaws.com
    description: Amazon DataZone API — Domains business capability. Self-contained, no shared references.
    resources:
    - name: v2-domains
      path: /v2/domains
      operations:
      - name: listdomains
        method: GET
        description: List Domains
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
        - name: maxResults
          in: query
          type: integer
        - name: nextToken
          in: query
          type: string
      - name: createdomain
        method: POST
        description: Create Domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v2-domains-domainIdentifier
      path: /v2/domains/{domainIdentifier}
      operations:
      - name: getdomain
        method: GET
        description: Get Domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domainIdentifier
          in: path
          type: string
          required: true
      - name: updatedomain
        method: PUT
        description: Update Domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domainIdentifier
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletedomain
        method: DELETE
        description: Delete Domain
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domainIdentifier
          in: path
          type: string
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_DATAZONE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-datazone-domains-rest
    port: 8080
    description: REST adapter for Amazon DataZone API — Domains. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v2/domains
      name: v2-domains
      description: REST surface for v2-domains.
      operations:
      - method: GET
        name: listdomains
        description: List Domains
        call: amazon-datazone-domains.listdomains
        with:
          status: rest.status
          maxResults: rest.maxResults
          nextToken: rest.nextToken
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createdomain
        description: Create Domain
        call: amazon-datazone-domains.createdomain
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v2/domains/{domainidentifier}
      name: v2-domains-domainidentifier
      description: REST surface for v2-domains-domainIdentifier.
      operations:
      - method: GET
        name: getdomain
        description: Get Domain
        call: amazon-datazone-domains.getdomain
        with:
          domainIdentifier: rest.domainIdentifier
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatedomain
        description: Update Domain
        call: amazon-datazone-domains.updatedomain
        with:
          domainIdentifier: rest.domainIdentifier
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletedomain
        description: Delete Domain
        call: amazon-datazone-domains.deletedomain
        with:
          domainIdentifier: rest.domainIdentifier
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-datazone-domains-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon DataZone API — Domains. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-domains
      description: List Domains
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-datazone-domains.listdomains
      with:
        status: tools.status
        maxResults: tools.maxResults
        nextToken: tools.nextToken
      outputParameters:
      - type: object
        mapping: $.
    - name: create-domain
      description: Create Domain
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-datazone-domains.createdomain
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: get-domain
      description: Get Domain
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-datazone-domains.getdomain
      with:
        domainIdentifier: tools.domainIdentifier
      outputParameters:
      - type: object
        mapping: $.
    - name: update-domain
      description: Update Domain
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: amazon-datazone-domains.updatedomain
      with:
        domainIdentifier: tools.domainIdentifier
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-domain
      description: Delete Domain
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: amazon-datazone-domains.deletedomain
      with:
        domainIdentifier: tools.domainIdentifier
      outputParameters:
      - type: object
        mapping: $.