naftiko: 1.0.0-alpha2 info: label: Amazon S3 Control API — Batch Operations description: 'Amazon S3 Control API — Batch Operations. 5 operations. Lead operation: Amazon S3 List Batch Operations Jobs. Self-contained Naftiko capability covering one Amazon S3 business surface.' tags: - Amazon S3 - Batch Operations 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: control-batch-operations baseUri: https://s3-control.{region}.amazonaws.com description: Amazon S3 Control API — Batch Operations business capability. Self-contained, no shared references. resources: - name: v20180820-jobs path: /v20180820/jobs operations: - name: listjobs method: GET description: Amazon S3 List Batch Operations Jobs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: jobStatuses in: query type: array description: The List Jobs request returns jobs that match the statuses listed. - name: nextToken in: query type: string description: A pagination token to request the next page of results. - name: maxResults in: query type: integer description: The maximum number of jobs to return. - name: createjob method: POST description: Amazon S3 Create Batch Operations Job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v20180820-jobs-id path: /v20180820/jobs/{id} operations: - name: describejob method: GET description: Amazon S3 Describe Batch Operations Job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID for the job whose information you want to retrieve. required: true - name: v20180820-jobs-id-priority path: /v20180820/jobs/{id}/priority operations: - name: updatejobpriority method: POST description: Amazon S3 Update Job Priority outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID for the job whose priority you want to update. required: true - name: priority in: query type: integer description: The priority you want to assign to this job. required: true - name: v20180820-jobs-id-status path: /v20180820/jobs/{id}/status operations: - name: updatejobstatus method: POST description: Amazon S3 Update Job Status outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The ID of the job whose status you want to update. required: true - name: requestedJobStatus in: query type: string description: The status that you want to move the specified job to. required: true - name: statusUpdateReason in: query type: string description: A description of the reason why you want to change the job status. authentication: type: apikey key: Authorization value: '{{env.AMAZON_S3_API_KEY}}' placement: header exposes: - type: rest namespace: control-batch-operations-rest port: 8080 description: REST adapter for Amazon S3 Control API — Batch Operations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v20180820/jobs name: v20180820-jobs description: REST surface for v20180820-jobs. operations: - method: GET name: listjobs description: Amazon S3 List Batch Operations Jobs call: control-batch-operations.listjobs with: jobStatuses: rest.jobStatuses nextToken: rest.nextToken maxResults: rest.maxResults outputParameters: - type: object mapping: $. - method: POST name: createjob description: Amazon S3 Create Batch Operations Job call: control-batch-operations.createjob with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v20180820/jobs/{id} name: v20180820-jobs-id description: REST surface for v20180820-jobs-id. operations: - method: GET name: describejob description: Amazon S3 Describe Batch Operations Job call: control-batch-operations.describejob with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/v20180820/jobs/{id}/priority name: v20180820-jobs-id-priority description: REST surface for v20180820-jobs-id-priority. operations: - method: POST name: updatejobpriority description: Amazon S3 Update Job Priority call: control-batch-operations.updatejobpriority with: id: rest.id priority: rest.priority outputParameters: - type: object mapping: $. - path: /v1/v20180820/jobs/{id}/status name: v20180820-jobs-id-status description: REST surface for v20180820-jobs-id-status. operations: - method: POST name: updatejobstatus description: Amazon S3 Update Job Status call: control-batch-operations.updatejobstatus with: id: rest.id requestedJobStatus: rest.requestedJobStatus statusUpdateReason: rest.statusUpdateReason outputParameters: - type: object mapping: $. - type: mcp namespace: control-batch-operations-mcp port: 9090 transport: http description: MCP adapter for Amazon S3 Control API — Batch Operations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-s3-list-batch-operations description: Amazon S3 List Batch Operations Jobs hints: readOnly: true destructive: false idempotent: true call: control-batch-operations.listjobs with: jobStatuses: tools.jobStatuses nextToken: tools.nextToken maxResults: tools.maxResults outputParameters: - type: object mapping: $. - name: amazon-s3-create-batch-operations description: Amazon S3 Create Batch Operations Job hints: readOnly: false destructive: false idempotent: false call: control-batch-operations.createjob with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-s3-describe-batch-operations description: Amazon S3 Describe Batch Operations Job hints: readOnly: true destructive: false idempotent: true call: control-batch-operations.describejob with: id: tools.id outputParameters: - type: object mapping: $. - name: amazon-s3-update-job-priority description: Amazon S3 Update Job Priority hints: readOnly: false destructive: false idempotent: false call: control-batch-operations.updatejobpriority with: id: tools.id priority: tools.priority outputParameters: - type: object mapping: $. - name: amazon-s3-update-job-status description: Amazon S3 Update Job Status hints: readOnly: false destructive: false idempotent: false call: control-batch-operations.updatejobstatus with: id: tools.id requestedJobStatus: tools.requestedJobStatus statusUpdateReason: tools.statusUpdateReason outputParameters: - type: object mapping: $.