naftiko: 1.0.0-alpha2 info: label: Amazon Athena API — Data Catalogs description: 'Amazon Athena API — Data Catalogs. 4 operations. Lead operation: Amazon Athena Create Data Catalog. Self-contained Naftiko capability covering one Amazon Athena business surface.' tags: - Amazon Athena - Data Catalogs 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-data-catalogs baseUri: https://athena.us-east-1.amazonaws.com description: Amazon Athena API — Data Catalogs business capability. Self-contained, no shared references. resources: - name: ?Action=CreateDataCatalog path: /?Action=CreateDataCatalog operations: - name: createdatacatalog method: POST description: Amazon Athena Create Data Catalog outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ?Action=DeleteDataCatalog path: /?Action=DeleteDataCatalog operations: - name: deletedatacatalog method: POST description: Amazon Athena Delete Data Catalog outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ?Action=GetDataCatalog path: /?Action=GetDataCatalog operations: - name: getdatacatalog method: POST description: Amazon Athena Get Data Catalog outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ?Action=ListDataCatalogs path: /?Action=ListDataCatalogs operations: - name: listdatacatalogs method: POST description: Amazon Athena List Data Catalogs 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-data-catalogs-rest port: 8080 description: REST adapter for Amazon Athena API — Data Catalogs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/action-createdatacatalog name: action-createdatacatalog description: REST surface for ?Action=CreateDataCatalog. operations: - method: POST name: createdatacatalog description: Amazon Athena Create Data Catalog call: amazon-athena-data-catalogs.createdatacatalog with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-deletedatacatalog name: action-deletedatacatalog description: REST surface for ?Action=DeleteDataCatalog. operations: - method: POST name: deletedatacatalog description: Amazon Athena Delete Data Catalog call: amazon-athena-data-catalogs.deletedatacatalog with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-getdatacatalog name: action-getdatacatalog description: REST surface for ?Action=GetDataCatalog. operations: - method: POST name: getdatacatalog description: Amazon Athena Get Data Catalog call: amazon-athena-data-catalogs.getdatacatalog with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/action-listdatacatalogs name: action-listdatacatalogs description: REST surface for ?Action=ListDataCatalogs. operations: - method: POST name: listdatacatalogs description: Amazon Athena List Data Catalogs call: amazon-athena-data-catalogs.listdatacatalogs with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-athena-data-catalogs-mcp port: 9090 transport: http description: MCP adapter for Amazon Athena API — Data Catalogs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-athena-create-data-catalog description: Amazon Athena Create Data Catalog hints: readOnly: false destructive: false idempotent: false call: amazon-athena-data-catalogs.createdatacatalog with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-athena-delete-data-catalog description: Amazon Athena Delete Data Catalog hints: readOnly: false destructive: false idempotent: false call: amazon-athena-data-catalogs.deletedatacatalog with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-athena-get-data-catalog description: Amazon Athena Get Data Catalog hints: readOnly: true destructive: false idempotent: false call: amazon-athena-data-catalogs.getdatacatalog with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-athena-list-data-catalogs description: Amazon Athena List Data Catalogs hints: readOnly: true destructive: false idempotent: false call: amazon-athena-data-catalogs.listdatacatalogs with: body: tools.body outputParameters: - type: object mapping: $.