naftiko: 1.0.0-alpha2 info: label: Amazon S3 Tables API — Table Buckets description: 'Amazon S3 Tables API — Table Buckets. 4 operations. Lead operation: Amazon S3 List Table Buckets. Self-contained Naftiko capability covering one Amazon S3 business surface.' tags: - Amazon S3 - Table Buckets created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_S3_API_KEY: AMAZON_S3_API_KEY capability: consumes: - type: http namespace: tables-table-buckets baseUri: https://s3tables.{region}.amazonaws.com description: Amazon S3 Tables API — Table Buckets business capability. Self-contained, no shared references. resources: - name: buckets path: /buckets operations: - name: listtablebuckets method: GET description: Amazon S3 List Table Buckets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: prefix in: query type: string description: The prefix of the table buckets. - name: continuationToken in: query type: string description: ContinuationToken indicates to S3 Tables that the list is being continued with a token. - name: maxBuckets in: query type: integer description: The maximum number of table buckets to return in the list. - name: createtablebucket method: PUT description: Amazon S3 Create Table Bucket outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: buckets-tableBucketARN path: /buckets/{tableBucketARN} operations: - name: gettablebucket method: GET description: Amazon S3 Get Table Bucket outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletetablebucket method: DELETE description: Amazon S3 Delete Table Bucket outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.AMAZON_S3_API_KEY}}' placement: header exposes: - type: rest namespace: tables-table-buckets-rest port: 8080 description: REST adapter for Amazon S3 Tables API — Table Buckets. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/buckets name: buckets description: REST surface for buckets. operations: - method: GET name: listtablebuckets description: Amazon S3 List Table Buckets call: tables-table-buckets.listtablebuckets with: prefix: rest.prefix continuationToken: rest.continuationToken maxBuckets: rest.maxBuckets outputParameters: - type: object mapping: $. - method: PUT name: createtablebucket description: Amazon S3 Create Table Bucket call: tables-table-buckets.createtablebucket with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/buckets/{tablebucketarn} name: buckets-tablebucketarn description: REST surface for buckets-tableBucketARN. operations: - method: GET name: gettablebucket description: Amazon S3 Get Table Bucket call: tables-table-buckets.gettablebucket outputParameters: - type: object mapping: $. - method: DELETE name: deletetablebucket description: Amazon S3 Delete Table Bucket call: tables-table-buckets.deletetablebucket outputParameters: - type: object mapping: $. - type: mcp namespace: tables-table-buckets-mcp port: 9090 transport: http description: MCP adapter for Amazon S3 Tables API — Table Buckets. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-s3-list-table-buckets description: Amazon S3 List Table Buckets hints: readOnly: true destructive: false idempotent: true call: tables-table-buckets.listtablebuckets with: prefix: tools.prefix continuationToken: tools.continuationToken maxBuckets: tools.maxBuckets outputParameters: - type: object mapping: $. - name: amazon-s3-create-table-bucket description: Amazon S3 Create Table Bucket hints: readOnly: false destructive: false idempotent: true call: tables-table-buckets.createtablebucket with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-s3-get-table-bucket description: Amazon S3 Get Table Bucket hints: readOnly: true destructive: false idempotent: true call: tables-table-buckets.gettablebucket outputParameters: - type: object mapping: $. - name: amazon-s3-delete-table-bucket description: Amazon S3 Delete Table Bucket hints: readOnly: false destructive: true idempotent: true call: tables-table-buckets.deletetablebucket outputParameters: - type: object mapping: $.