naftiko: 1.0.0-alpha2 info: label: AWS CloudWatch Amazon CloudWatch API — Metric Streams description: 'AWS CloudWatch Amazon CloudWatch API — Metric Streams. 2 operations. Lead operation: Aws Cloudwatch List the Metric Streams in Your Account. Self-contained Naftiko capability covering one Cloudwatch business surface.' tags: - Cloudwatch - Metric Streams created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLOUDWATCH_API_KEY: CLOUDWATCH_API_KEY capability: consumes: - type: http namespace: cloudwatch-metric-streams baseUri: https://monitoring.{region}.amazonaws.com description: AWS CloudWatch Amazon CloudWatch API — Metric Streams business capability. Self-contained, no shared references. resources: - name: '#ListMetricStreams' path: /#ListMetricStreams operations: - name: listmetricstreams method: POST description: Aws Cloudwatch List the Metric Streams in Your Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: '#PutMetricStream' path: /#PutMetricStream operations: - name: putmetricstream method: POST description: Aws Cloudwatch Create or Update a Metric Stream 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-metric-streams-rest port: 8080 description: REST adapter for AWS CloudWatch Amazon CloudWatch API — Metric Streams. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/listmetricstreams name: listmetricstreams description: 'REST surface for #ListMetricStreams.' operations: - method: POST name: listmetricstreams description: Aws Cloudwatch List the Metric Streams in Your Account call: cloudwatch-metric-streams.listmetricstreams with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/putmetricstream name: putmetricstream description: 'REST surface for #PutMetricStream.' operations: - method: POST name: putmetricstream description: Aws Cloudwatch Create or Update a Metric Stream call: cloudwatch-metric-streams.putmetricstream with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: cloudwatch-metric-streams-mcp port: 9090 transport: http description: MCP adapter for AWS CloudWatch Amazon CloudWatch API — Metric Streams. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: aws-cloudwatch-list-metric-streams description: Aws Cloudwatch List the Metric Streams in Your Account hints: readOnly: true destructive: false idempotent: false call: cloudwatch-metric-streams.listmetricstreams with: body: tools.body outputParameters: - type: object mapping: $. - name: aws-cloudwatch-create-update-metric description: Aws Cloudwatch Create or Update a Metric Stream hints: readOnly: false destructive: false idempotent: false call: cloudwatch-metric-streams.putmetricstream with: body: tools.body outputParameters: - type: object mapping: $.