naftiko: 1.0.0-alpha2 info: label: AWS Lambda API — Event Source Mappings description: 'AWS Lambda API — Event Source Mappings. 5 operations. Lead operation: Aws Lambda List Event Source Mappings. Self-contained Naftiko capability covering one Aws Lambda business surface.' tags: - Aws Lambda - Event Source Mappings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AWS_LAMBDA_API_KEY: AWS_LAMBDA_API_KEY capability: consumes: - type: http namespace: aws-lambda-event-source-mappings baseUri: https://lambda.{region}.amazonaws.com description: AWS Lambda API — Event Source Mappings business capability. Self-contained, no shared references. resources: - name: 2015-03-31-event-source-mappings path: /2015-03-31/event-source-mappings operations: - name: listeventsourcemappings method: GET description: Aws Lambda List Event Source Mappings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: EventSourceArn in: query type: string description: The ARN of the event source (Amazon Kinesis stream, Amazon DynamoDB stream, Amazon SQS queue, Amazon MSK cluster, or self-managed Apache Kafka cluster) - name: FunctionName in: query type: string description: The name, ARN, or partial ARN of the Lambda function to filter by - name: createeventsourcemapping method: POST description: Aws Lambda Create an Event Source Mapping outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: 2015-03-31-event-source-mappings-UUID path: /2015-03-31/event-source-mappings/{UUID} operations: - name: geteventsourcemapping method: GET description: Aws Lambda Get an Event Source Mapping outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateeventsourcemapping method: PUT description: Aws Lambda Update an Event Source Mapping outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteeventsourcemapping method: DELETE description: Aws Lambda Delete an Event Source Mapping outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.AWS_LAMBDA_API_KEY}}' placement: header exposes: - type: rest namespace: aws-lambda-event-source-mappings-rest port: 8080 description: REST adapter for AWS Lambda API — Event Source Mappings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/2015-03-31/event-source-mappings name: 2015-03-31-event-source-mappings description: REST surface for 2015-03-31-event-source-mappings. operations: - method: GET name: listeventsourcemappings description: Aws Lambda List Event Source Mappings call: aws-lambda-event-source-mappings.listeventsourcemappings with: EventSourceArn: rest.EventSourceArn FunctionName: rest.FunctionName outputParameters: - type: object mapping: $. - method: POST name: createeventsourcemapping description: Aws Lambda Create an Event Source Mapping call: aws-lambda-event-source-mappings.createeventsourcemapping with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/2015-03-31/event-source-mappings/{uuid} name: 2015-03-31-event-source-mappings-uuid description: REST surface for 2015-03-31-event-source-mappings-UUID. operations: - method: GET name: geteventsourcemapping description: Aws Lambda Get an Event Source Mapping call: aws-lambda-event-source-mappings.geteventsourcemapping outputParameters: - type: object mapping: $. - method: PUT name: updateeventsourcemapping description: Aws Lambda Update an Event Source Mapping call: aws-lambda-event-source-mappings.updateeventsourcemapping with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteeventsourcemapping description: Aws Lambda Delete an Event Source Mapping call: aws-lambda-event-source-mappings.deleteeventsourcemapping outputParameters: - type: object mapping: $. - type: mcp namespace: aws-lambda-event-source-mappings-mcp port: 9090 transport: http description: MCP adapter for AWS Lambda API — Event Source Mappings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: aws-lambda-list-event-source description: Aws Lambda List Event Source Mappings hints: readOnly: true destructive: false idempotent: true call: aws-lambda-event-source-mappings.listeventsourcemappings with: EventSourceArn: tools.EventSourceArn FunctionName: tools.FunctionName outputParameters: - type: object mapping: $. - name: aws-lambda-create-event-source description: Aws Lambda Create an Event Source Mapping hints: readOnly: false destructive: false idempotent: false call: aws-lambda-event-source-mappings.createeventsourcemapping with: body: tools.body outputParameters: - type: object mapping: $. - name: aws-lambda-get-event-source description: Aws Lambda Get an Event Source Mapping hints: readOnly: true destructive: false idempotent: true call: aws-lambda-event-source-mappings.geteventsourcemapping outputParameters: - type: object mapping: $. - name: aws-lambda-update-event-source description: Aws Lambda Update an Event Source Mapping hints: readOnly: false destructive: false idempotent: true call: aws-lambda-event-source-mappings.updateeventsourcemapping with: body: tools.body outputParameters: - type: object mapping: $. - name: aws-lambda-delete-event-source description: Aws Lambda Delete an Event Source Mapping hints: readOnly: false destructive: true idempotent: true call: aws-lambda-event-source-mappings.deleteeventsourcemapping outputParameters: - type: object mapping: $.