naftiko: 1.0.0-alpha2 info: label: Amazon Resilience Hub — Applications description: 'Amazon Resilience Hub — Applications. 6 operations. Lead operation: Amazon Resilience Hub Create App. Self-contained Naftiko capability covering one Amazon Resilience Hub business surface.' tags: - Amazon Resilience Hub - Applications 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-applications baseUri: https://resiliencehub.amazonaws.com description: Amazon Resilience Hub — Applications business capability. Self-contained, no shared references. resources: - name: create-app path: /create-app operations: - name: createapp method: POST description: Amazon Resilience Hub Create App outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: delete-app path: /delete-app operations: - name: deleteapp method: DELETE description: Amazon Resilience Hub Delete App outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: appArn in: query type: string description: The Amazon Resource Name (ARN) of the application. required: true - name: forceDelete in: query type: boolean description: A boolean option to override the failure when deleting an unprotected app. - name: describe-app path: /describe-app operations: - name: describeapp method: POST description: Amazon Resilience Hub Describe App outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: list-app-versions path: /list-app-versions operations: - name: listappversions method: GET description: Amazon Resilience Hub List App Versions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: appArn in: query type: string description: The Amazon Resource Name (ARN) of the application. required: true - name: maxResults in: query type: integer - name: nextToken in: query type: string - name: list-apps path: /list-apps operations: - name: listapps method: GET description: Amazon Resilience Hub List Apps outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: appArn in: query type: string description: The Amazon Resource Name (ARN) of the app. - name: maxResults in: query type: integer description: Maximum number of results to include in the response. - name: nextToken in: query type: string description: Null, or the token from a previous call to get the next set of results. - name: name in: query type: string description: The name for the one of the listed applications. - name: publish-app-version path: /publish-app-version operations: - name: publishappversion method: POST description: Amazon Resilience Hub Publish App Version 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_RESILIENCE_HUB_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-resilience-hub-applications-rest port: 8080 description: REST adapter for Amazon Resilience Hub — Applications. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/create-app name: create-app description: REST surface for create-app. operations: - method: POST name: createapp description: Amazon Resilience Hub Create App call: amazon-resilience-hub-applications.createapp with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/delete-app name: delete-app description: REST surface for delete-app. operations: - method: DELETE name: deleteapp description: Amazon Resilience Hub Delete App call: amazon-resilience-hub-applications.deleteapp with: appArn: rest.appArn forceDelete: rest.forceDelete outputParameters: - type: object mapping: $. - path: /v1/describe-app name: describe-app description: REST surface for describe-app. operations: - method: POST name: describeapp description: Amazon Resilience Hub Describe App call: amazon-resilience-hub-applications.describeapp with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/list-app-versions name: list-app-versions description: REST surface for list-app-versions. operations: - method: GET name: listappversions description: Amazon Resilience Hub List App Versions call: amazon-resilience-hub-applications.listappversions with: appArn: rest.appArn maxResults: rest.maxResults nextToken: rest.nextToken outputParameters: - type: object mapping: $. - path: /v1/list-apps name: list-apps description: REST surface for list-apps. operations: - method: GET name: listapps description: Amazon Resilience Hub List Apps call: amazon-resilience-hub-applications.listapps with: appArn: rest.appArn maxResults: rest.maxResults nextToken: rest.nextToken name: rest.name outputParameters: - type: object mapping: $. - path: /v1/publish-app-version name: publish-app-version description: REST surface for publish-app-version. operations: - method: POST name: publishappversion description: Amazon Resilience Hub Publish App Version call: amazon-resilience-hub-applications.publishappversion with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-resilience-hub-applications-mcp port: 9090 transport: http description: MCP adapter for Amazon Resilience Hub — Applications. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-resilience-hub-create-app description: Amazon Resilience Hub Create App hints: readOnly: false destructive: false idempotent: false call: amazon-resilience-hub-applications.createapp with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-resilience-hub-delete-app description: Amazon Resilience Hub Delete App hints: readOnly: false destructive: true idempotent: true call: amazon-resilience-hub-applications.deleteapp with: appArn: tools.appArn forceDelete: tools.forceDelete outputParameters: - type: object mapping: $. - name: amazon-resilience-hub-describe-app description: Amazon Resilience Hub Describe App hints: readOnly: false destructive: false idempotent: false call: amazon-resilience-hub-applications.describeapp with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-resilience-hub-list-app description: Amazon Resilience Hub List App Versions hints: readOnly: true destructive: false idempotent: true call: amazon-resilience-hub-applications.listappversions with: appArn: tools.appArn maxResults: tools.maxResults nextToken: tools.nextToken outputParameters: - type: object mapping: $. - name: amazon-resilience-hub-list-apps description: Amazon Resilience Hub List Apps hints: readOnly: true destructive: false idempotent: true call: amazon-resilience-hub-applications.listapps with: appArn: tools.appArn maxResults: tools.maxResults nextToken: tools.nextToken name: tools.name outputParameters: - type: object mapping: $. - name: amazon-resilience-hub-publish-app description: Amazon Resilience Hub Publish App Version hints: readOnly: false destructive: false idempotent: false call: amazon-resilience-hub-applications.publishappversion with: body: tools.body outputParameters: - type: object mapping: $.