naftiko: 1.0.0-alpha2 info: label: Amazon Athena API — Prepared Statements description: 'Amazon Athena API — Prepared Statements. 4 operations. Lead operation: Amazon Athena Create Prepared Statement. Self-contained Naftiko capability covering one Amazon Athena business surface.' tags: - Amazon Athena - Prepared Statements created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_ATHENA_API_KEY: AMAZON_ATHENA_API_KEY capability: consumes: - type: http namespace: amazon-athena-prepared-statements baseUri: https://athena.us-east-1.amazonaws.com description: Amazon Athena API — Prepared Statements business capability. Self-contained, no shared references. resources: - name: ?Action=CreatePreparedStatement path: /?Action=CreatePreparedStatement operations: - name: createpreparedstatement method: POST description: Amazon Athena Create Prepared Statement outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ?Action=DeletePreparedStatement path: /?Action=DeletePreparedStatement operations: - name: deletepreparedstatement method: POST description: Amazon Athena Delete Prepared Statement outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ?Action=GetPreparedStatement path: /?Action=GetPreparedStatement operations: - name: getpreparedstatement method: POST description: Amazon Athena Get Prepared Statement outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ?Action=ListPreparedStatements path: /?Action=ListPreparedStatements operations: - name: listpreparedstatements method: POST description: Amazon Athena List Prepared Statements outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.AMAZON_ATHENA_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-athena-prepared-statements-rest port: 8080 description: REST adapter for Amazon Athena API — Prepared Statements. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/action-createpreparedstatement name: action-createpreparedstatement description: REST surface for ?Action=CreatePreparedStatement. operations: - method: POST name: createpreparedstatement description: Amazon Athena Create Prepared Statement call: amazon-athena-prepared-statements.createpreparedstatement with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-deletepreparedstatement name: action-deletepreparedstatement description: REST surface for ?Action=DeletePreparedStatement. operations: - method: POST name: deletepreparedstatement description: Amazon Athena Delete Prepared Statement call: amazon-athena-prepared-statements.deletepreparedstatement with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-getpreparedstatement name: action-getpreparedstatement description: REST surface for ?Action=GetPreparedStatement. operations: - method: POST name: getpreparedstatement description: Amazon Athena Get Prepared Statement call: amazon-athena-prepared-statements.getpreparedstatement with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-listpreparedstatements name: action-listpreparedstatements description: REST surface for ?Action=ListPreparedStatements. operations: - method: POST name: listpreparedstatements description: Amazon Athena List Prepared Statements call: amazon-athena-prepared-statements.listpreparedstatements with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-athena-prepared-statements-mcp port: 9090 transport: http description: MCP adapter for Amazon Athena API — Prepared Statements. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-athena-create-prepared-statement description: Amazon Athena Create Prepared Statement hints: readOnly: false destructive: false idempotent: false call: amazon-athena-prepared-statements.createpreparedstatement with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-athena-delete-prepared-statement description: Amazon Athena Delete Prepared Statement hints: readOnly: false destructive: false idempotent: false call: amazon-athena-prepared-statements.deletepreparedstatement with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-athena-get-prepared-statement description: Amazon Athena Get Prepared Statement hints: readOnly: true destructive: false idempotent: false call: amazon-athena-prepared-statements.getpreparedstatement with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-athena-list-prepared-statements description: Amazon Athena List Prepared Statements hints: readOnly: true destructive: false idempotent: false call: amazon-athena-prepared-statements.listpreparedstatements with: body: tools.body outputParameters: - type: object mapping: $.