naftiko: 1.0.0-alpha2 info: label: Amazon Fargate API — Task Definitions description: 'Amazon Fargate API — Task Definitions. 4 operations. Lead operation: Amazon Fargate Deregister a Task Definition. Self-contained Naftiko capability covering one Amazon Fargate business surface.' tags: - Amazon Fargate - Task Definitions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_FARGATE_API_KEY: AMAZON_FARGATE_API_KEY capability: consumes: - type: http namespace: amazon-fargate-task-definitions baseUri: https://ecs.{region}.amazonaws.com description: Amazon Fargate API — Task Definitions business capability. Self-contained, no shared references. resources: - name: '#DeregisterTaskDefinition' path: /#DeregisterTaskDefinition operations: - name: deregistertaskdefinition method: POST description: Amazon Fargate Deregister a Task Definition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: '#DescribeTaskDefinition' path: /#DescribeTaskDefinition operations: - name: describetaskdefinition method: POST description: Amazon Fargate Describe a Task Definition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: '#ListTaskDefinitions' path: /#ListTaskDefinitions operations: - name: listtaskdefinitions method: POST description: Amazon Fargate List Task Definitions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: '#RegisterTaskDefinition' path: /#RegisterTaskDefinition operations: - name: registertaskdefinition method: POST description: Amazon Fargate Register a Task Definition 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_FARGATE_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-fargate-task-definitions-rest port: 8080 description: REST adapter for Amazon Fargate API — Task Definitions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/deregistertaskdefinition name: deregistertaskdefinition description: 'REST surface for #DeregisterTaskDefinition.' operations: - method: POST name: deregistertaskdefinition description: Amazon Fargate Deregister a Task Definition call: amazon-fargate-task-definitions.deregistertaskdefinition with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/describetaskdefinition name: describetaskdefinition description: 'REST surface for #DescribeTaskDefinition.' operations: - method: POST name: describetaskdefinition description: Amazon Fargate Describe a Task Definition call: amazon-fargate-task-definitions.describetaskdefinition with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/listtaskdefinitions name: listtaskdefinitions description: 'REST surface for #ListTaskDefinitions.' operations: - method: POST name: listtaskdefinitions description: Amazon Fargate List Task Definitions call: amazon-fargate-task-definitions.listtaskdefinitions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/registertaskdefinition name: registertaskdefinition description: 'REST surface for #RegisterTaskDefinition.' operations: - method: POST name: registertaskdefinition description: Amazon Fargate Register a Task Definition call: amazon-fargate-task-definitions.registertaskdefinition with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-fargate-task-definitions-mcp port: 9090 transport: http description: MCP adapter for Amazon Fargate API — Task Definitions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-fargate-deregister-task-definition description: Amazon Fargate Deregister a Task Definition hints: readOnly: false destructive: false idempotent: false call: amazon-fargate-task-definitions.deregistertaskdefinition with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-fargate-describe-task-definition description: Amazon Fargate Describe a Task Definition hints: readOnly: false destructive: false idempotent: false call: amazon-fargate-task-definitions.describetaskdefinition with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-fargate-list-task-definitions description: Amazon Fargate List Task Definitions hints: readOnly: true destructive: false idempotent: false call: amazon-fargate-task-definitions.listtaskdefinitions with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-fargate-register-task-definition description: Amazon Fargate Register a Task Definition hints: readOnly: false destructive: false idempotent: false call: amazon-fargate-task-definitions.registertaskdefinition with: body: tools.body outputParameters: - type: object mapping: $.