naftiko: 1.0.0-alpha2 info: label: AWS CloudWatch Amazon CloudWatch API — Anomaly Detection description: 'AWS CloudWatch Amazon CloudWatch API — Anomaly Detection. 3 operations. Lead operation: Aws Cloudwatch Delete an Anomaly Detection Model. Self-contained Naftiko capability covering one Cloudwatch business surface.' tags: - Cloudwatch - Anomaly Detection created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLOUDWATCH_API_KEY: CLOUDWATCH_API_KEY capability: consumes: - type: http namespace: cloudwatch-anomaly-detection baseUri: https://monitoring.{region}.amazonaws.com description: AWS CloudWatch Amazon CloudWatch API — Anomaly Detection business capability. Self-contained, no shared references. resources: - name: '#DeleteAnomalyDetector' path: /#DeleteAnomalyDetector operations: - name: deleteanomalydetector method: POST description: Aws Cloudwatch Delete an Anomaly Detection Model outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: '#DescribeAnomalyDetectors' path: /#DescribeAnomalyDetectors operations: - name: describeanomalydetectors method: POST description: Aws Cloudwatch List Anomaly Detection Models outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: '#PutAnomalyDetector' path: /#PutAnomalyDetector operations: - name: putanomalydetector method: POST description: Aws Cloudwatch Create an Anomaly Detection Model for a Metric 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.CLOUDWATCH_API_KEY}}' placement: header exposes: - type: rest namespace: cloudwatch-anomaly-detection-rest port: 8080 description: REST adapter for AWS CloudWatch Amazon CloudWatch API — Anomaly Detection. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/deleteanomalydetector name: deleteanomalydetector description: 'REST surface for #DeleteAnomalyDetector.' operations: - method: POST name: deleteanomalydetector description: Aws Cloudwatch Delete an Anomaly Detection Model call: cloudwatch-anomaly-detection.deleteanomalydetector with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/describeanomalydetectors name: describeanomalydetectors description: 'REST surface for #DescribeAnomalyDetectors.' operations: - method: POST name: describeanomalydetectors description: Aws Cloudwatch List Anomaly Detection Models call: cloudwatch-anomaly-detection.describeanomalydetectors with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/putanomalydetector name: putanomalydetector description: 'REST surface for #PutAnomalyDetector.' operations: - method: POST name: putanomalydetector description: Aws Cloudwatch Create an Anomaly Detection Model for a Metric call: cloudwatch-anomaly-detection.putanomalydetector with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: cloudwatch-anomaly-detection-mcp port: 9090 transport: http description: MCP adapter for AWS CloudWatch Amazon CloudWatch API — Anomaly Detection. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: aws-cloudwatch-delete-anomaly-detection description: Aws Cloudwatch Delete an Anomaly Detection Model hints: readOnly: false destructive: false idempotent: false call: cloudwatch-anomaly-detection.deleteanomalydetector with: body: tools.body outputParameters: - type: object mapping: $. - name: aws-cloudwatch-list-anomaly-detection description: Aws Cloudwatch List Anomaly Detection Models hints: readOnly: true destructive: false idempotent: false call: cloudwatch-anomaly-detection.describeanomalydetectors with: body: tools.body outputParameters: - type: object mapping: $. - name: aws-cloudwatch-create-anomaly-detection description: Aws Cloudwatch Create an Anomaly Detection Model for a Metric hints: readOnly: false destructive: false idempotent: false call: cloudwatch-anomaly-detection.putanomalydetector with: body: tools.body outputParameters: - type: object mapping: $.