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: $.