Amazon DataZone · Capability

Amazon DataZone API — Environments

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

Run with Naftiko Amazon DatazoneEnvironments

What You Can Do

GET
Listenvironments — List Environments
/v1/v2/domains/{domainidentifier}/environments
POST
Createenvironment — Create Environment
/v1/v2/domains/{domainidentifier}/environments

MCP Tools

list-environments

List Environments

read-only idempotent
create-environment

Create Environment

Capability Spec

amazon-datazone-environments.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon DataZone API — Environments
  description: 'Amazon DataZone API — Environments. 2 operations. Lead operation: List Environments. Self-contained Naftiko
    capability covering one Amazon Datazone business surface.'
  tags:
  - Amazon Datazone
  - Environments
  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-environments
    baseUri: https://datazone.amazonaws.com
    description: Amazon DataZone API — Environments business capability. Self-contained, no shared references.
    resources:
    - name: v2-domains-domainIdentifier-environments
      path: /v2/domains/{domainIdentifier}/environments
      operations:
      - name: listenvironments
        method: GET
        description: List Environments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: domainIdentifier
          in: path
          type: string
          required: true
        - name: projectIdentifier
          in: query
          type: string
          required: true
        - name: maxResults
          in: query
          type: integer
      - name: createenvironment
        method: POST
        description: Create Environment
        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
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_DATAZONE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-datazone-environments-rest
    port: 8080
    description: REST adapter for Amazon DataZone API — Environments. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v2/domains/{domainidentifier}/environments
      name: v2-domains-domainidentifier-environments
      description: REST surface for v2-domains-domainIdentifier-environments.
      operations:
      - method: GET
        name: listenvironments
        description: List Environments
        call: amazon-datazone-environments.listenvironments
        with:
          domainIdentifier: rest.domainIdentifier
          projectIdentifier: rest.projectIdentifier
          maxResults: rest.maxResults
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createenvironment
        description: Create Environment
        call: amazon-datazone-environments.createenvironment
        with:
          domainIdentifier: rest.domainIdentifier
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-datazone-environments-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon DataZone API — Environments. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: list-environments
      description: List Environments
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-datazone-environments.listenvironments
      with:
        domainIdentifier: tools.domainIdentifier
        projectIdentifier: tools.projectIdentifier
        maxResults: tools.maxResults
      outputParameters:
      - type: object
        mapping: $.
    - name: create-environment
      description: Create Environment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-datazone-environments.createenvironment
      with:
        domainIdentifier: tools.domainIdentifier
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.