naftiko: 1.0.0-alpha2 info: label: Amazon Resilience Hub — Resiliency Policies description: 'Amazon Resilience Hub — Resiliency Policies. 4 operations. Lead operation: Amazon Resilience Hub Create Resiliency Policy. Self-contained Naftiko capability covering one Amazon Resilience Hub business surface.' tags: - Amazon Resilience Hub - Resiliency Policies created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_RESILIENCE_HUB_API_KEY: AMAZON_RESILIENCE_HUB_API_KEY capability: consumes: - type: http namespace: amazon-resilience-hub-resiliency-policies baseUri: https://resiliencehub.amazonaws.com description: Amazon Resilience Hub — Resiliency Policies business capability. Self-contained, no shared references. resources: - name: create-resiliency-policy path: /create-resiliency-policy operations: - name: createresiliencypolicy method: POST description: Amazon Resilience Hub Create Resiliency Policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: describe-resiliency-policy path: /describe-resiliency-policy operations: - name: describeresiliencypolicy method: POST description: Amazon Resilience Hub Describe Resiliency Policy outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: list-resiliency-policies path: /list-resiliency-policies operations: - name: listresiliencypolicies method: GET description: Amazon Resilience Hub List Resiliency Policies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: policyName in: query type: string description: The name of the policy - name: maxResults in: query type: integer - name: nextToken in: query type: string - name: list-suggested-resiliency-policies path: /list-suggested-resiliency-policies operations: - name: listsuggestedresiliencypolicies method: GET description: Amazon Resilience Hub List Suggested Resiliency Policies outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: maxResults in: query type: integer - name: nextToken in: query type: string authentication: type: apikey key: Authorization value: '{{env.AMAZON_RESILIENCE_HUB_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-resilience-hub-resiliency-policies-rest port: 8080 description: REST adapter for Amazon Resilience Hub — Resiliency Policies. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/create-resiliency-policy name: create-resiliency-policy description: REST surface for create-resiliency-policy. operations: - method: POST name: createresiliencypolicy description: Amazon Resilience Hub Create Resiliency Policy call: amazon-resilience-hub-resiliency-policies.createresiliencypolicy with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/describe-resiliency-policy name: describe-resiliency-policy description: REST surface for describe-resiliency-policy. operations: - method: POST name: describeresiliencypolicy description: Amazon Resilience Hub Describe Resiliency Policy call: amazon-resilience-hub-resiliency-policies.describeresiliencypolicy with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/list-resiliency-policies name: list-resiliency-policies description: REST surface for list-resiliency-policies. operations: - method: GET name: listresiliencypolicies description: Amazon Resilience Hub List Resiliency Policies call: amazon-resilience-hub-resiliency-policies.listresiliencypolicies with: policyName: rest.policyName maxResults: rest.maxResults nextToken: rest.nextToken outputParameters: - type: object mapping: $. - path: /v1/list-suggested-resiliency-policies name: list-suggested-resiliency-policies description: REST surface for list-suggested-resiliency-policies. operations: - method: GET name: listsuggestedresiliencypolicies description: Amazon Resilience Hub List Suggested Resiliency Policies call: amazon-resilience-hub-resiliency-policies.listsuggestedresiliencypolicies with: maxResults: rest.maxResults nextToken: rest.nextToken outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-resilience-hub-resiliency-policies-mcp port: 9090 transport: http description: MCP adapter for Amazon Resilience Hub — Resiliency Policies. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-resilience-hub-create-resiliency description: Amazon Resilience Hub Create Resiliency Policy hints: readOnly: false destructive: false idempotent: false call: amazon-resilience-hub-resiliency-policies.createresiliencypolicy with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-resilience-hub-describe-resiliency description: Amazon Resilience Hub Describe Resiliency Policy hints: readOnly: false destructive: false idempotent: false call: amazon-resilience-hub-resiliency-policies.describeresiliencypolicy with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-resilience-hub-list-resiliency description: Amazon Resilience Hub List Resiliency Policies hints: readOnly: true destructive: false idempotent: true call: amazon-resilience-hub-resiliency-policies.listresiliencypolicies with: policyName: tools.policyName maxResults: tools.maxResults nextToken: tools.nextToken outputParameters: - type: object mapping: $. - name: amazon-resilience-hub-list-suggested description: Amazon Resilience Hub List Suggested Resiliency Policies hints: readOnly: true destructive: false idempotent: true call: amazon-resilience-hub-resiliency-policies.listsuggestedresiliencypolicies with: maxResults: tools.maxResults nextToken: tools.nextToken outputParameters: - type: object mapping: $.