naftiko: 1.0.0-alpha2 info: label: Amazon FinSpace API — Environments description: 'Amazon FinSpace API — Environments. 5 operations. Lead operation: Amazon FinSpace Create Environment. Self-contained Naftiko capability covering one Amazon Finspace business surface.' tags: - Amazon Finspace - Environments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_FINSPACE_API_KEY: AMAZON_FINSPACE_API_KEY capability: consumes: - type: http namespace: amazon-finspace-environments baseUri: https://finspace.{region}.amazonaws.com description: Amazon FinSpace API — Environments business capability. Self-contained, no shared references. resources: - name: environment path: /environment operations: - name: createenvironment method: POST description: Amazon FinSpace Create Environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listenvironments method: GET description: Amazon FinSpace List Environments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: nextToken in: query type: string description: Pagination token - name: maxResults in: query type: integer description: Maximum results - name: environment-environmentId path: /environment/{environmentId} operations: - name: getenvironment method: GET description: Amazon FinSpace Get Environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: environmentId in: path type: string description: Environment ID required: true - name: updateenvironment method: PUT description: Amazon FinSpace Update Environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: environmentId in: path type: string description: Environment ID required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteenvironment method: DELETE description: Amazon FinSpace Delete Environment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: environmentId in: path type: string description: Environment ID required: true authentication: type: apikey key: Authorization value: '{{env.AMAZON_FINSPACE_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-finspace-environments-rest port: 8080 description: REST adapter for Amazon FinSpace API — Environments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/environment name: environment description: REST surface for environment. operations: - method: POST name: createenvironment description: Amazon FinSpace Create Environment call: amazon-finspace-environments.createenvironment with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listenvironments description: Amazon FinSpace List Environments call: amazon-finspace-environments.listenvironments with: nextToken: rest.nextToken maxResults: rest.maxResults outputParameters: - type: object mapping: $. - path: /v1/environment/{environmentid} name: environment-environmentid description: REST surface for environment-environmentId. operations: - method: GET name: getenvironment description: Amazon FinSpace Get Environment call: amazon-finspace-environments.getenvironment with: environmentId: rest.environmentId outputParameters: - type: object mapping: $. - method: PUT name: updateenvironment description: Amazon FinSpace Update Environment call: amazon-finspace-environments.updateenvironment with: environmentId: rest.environmentId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteenvironment description: Amazon FinSpace Delete Environment call: amazon-finspace-environments.deleteenvironment with: environmentId: rest.environmentId outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-finspace-environments-mcp port: 9090 transport: http description: MCP adapter for Amazon FinSpace API — Environments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-finspace-create-environment description: Amazon FinSpace Create Environment hints: readOnly: false destructive: false idempotent: false call: amazon-finspace-environments.createenvironment with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-finspace-list-environments description: Amazon FinSpace List Environments hints: readOnly: true destructive: false idempotent: true call: amazon-finspace-environments.listenvironments with: nextToken: tools.nextToken maxResults: tools.maxResults outputParameters: - type: object mapping: $. - name: amazon-finspace-get-environment description: Amazon FinSpace Get Environment hints: readOnly: true destructive: false idempotent: true call: amazon-finspace-environments.getenvironment with: environmentId: tools.environmentId outputParameters: - type: object mapping: $. - name: amazon-finspace-update-environment description: Amazon FinSpace Update Environment hints: readOnly: false destructive: false idempotent: true call: amazon-finspace-environments.updateenvironment with: environmentId: tools.environmentId body: tools.body outputParameters: - type: object mapping: $. - name: amazon-finspace-delete-environment description: Amazon FinSpace Delete Environment hints: readOnly: false destructive: true idempotent: true call: amazon-finspace-environments.deleteenvironment with: environmentId: tools.environmentId outputParameters: - type: object mapping: $.