naftiko: 1.0.0-alpha2 info: label: AWS Firewall Manager API — Resources description: 'AWS Firewall Manager API — Resources. 4 operations. Lead operation: Put Resource Set. Self-contained Naftiko capability covering one Amazon Firewall Manager business surface.' tags: - Amazon Firewall Manager - Resources created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_FIREWALL_MANAGER_API_KEY: AMAZON_FIREWALL_MANAGER_API_KEY capability: consumes: - type: http namespace: amazon-firewall-manager-resources baseUri: https://fms.{region}.amazonaws.com description: AWS Firewall Manager API — Resources business capability. Self-contained, no shared references. resources: - name: fms-2018-01-01-resource-set path: /fms/2018-01-01/resource-set operations: - name: putresourceset method: PUT description: Put Resource Set outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: fms-2018-01-01-resource-set-list path: /fms/2018-01-01/resource-set/list operations: - name: listresourcesets method: POST description: List Resource Sets outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: fms-2018-01-01-tags-resourceArn path: /fms/2018-01-01/tags/{resourceArn} operations: - name: listtagsforresource method: GET description: List Tags For Resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resourceArn in: path type: string description: The Amazon Resource Name (ARN) of the resource. required: true - name: tagresource method: POST description: Tag Resource outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: resourceArn in: path type: string description: The ARN of the resource. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: Authorization value: '{{env.AMAZON_FIREWALL_MANAGER_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-firewall-manager-resources-rest port: 8080 description: REST adapter for AWS Firewall Manager API — Resources. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/fms/2018-01-01/resource-set name: fms-2018-01-01-resource-set description: REST surface for fms-2018-01-01-resource-set. operations: - method: PUT name: putresourceset description: Put Resource Set call: amazon-firewall-manager-resources.putresourceset with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/fms/2018-01-01/resource-set/list name: fms-2018-01-01-resource-set-list description: REST surface for fms-2018-01-01-resource-set-list. operations: - method: POST name: listresourcesets description: List Resource Sets call: amazon-firewall-manager-resources.listresourcesets with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/fms/2018-01-01/tags/{resourcearn} name: fms-2018-01-01-tags-resourcearn description: REST surface for fms-2018-01-01-tags-resourceArn. operations: - method: GET name: listtagsforresource description: List Tags For Resource call: amazon-firewall-manager-resources.listtagsforresource with: resourceArn: rest.resourceArn outputParameters: - type: object mapping: $. - method: POST name: tagresource description: Tag Resource call: amazon-firewall-manager-resources.tagresource with: resourceArn: rest.resourceArn body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-firewall-manager-resources-mcp port: 9090 transport: http description: MCP adapter for AWS Firewall Manager API — Resources. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: put-resource-set description: Put Resource Set hints: readOnly: false destructive: false idempotent: true call: amazon-firewall-manager-resources.putresourceset with: body: tools.body outputParameters: - type: object mapping: $. - name: list-resource-sets description: List Resource Sets hints: readOnly: true destructive: false idempotent: false call: amazon-firewall-manager-resources.listresourcesets with: body: tools.body outputParameters: - type: object mapping: $. - name: list-tags-resource description: List Tags For Resource hints: readOnly: true destructive: false idempotent: true call: amazon-firewall-manager-resources.listtagsforresource with: resourceArn: tools.resourceArn outputParameters: - type: object mapping: $. - name: tag-resource description: Tag Resource hints: readOnly: false destructive: false idempotent: false call: amazon-firewall-manager-resources.tagresource with: resourceArn: tools.resourceArn body: tools.body outputParameters: - type: object mapping: $.