Amazon Lambda · Capability

Amazon Lambda API — Functions

Amazon Lambda API — Functions. 7 operations. Lead operation: Amazon Lambda Create Function. Self-contained Naftiko capability covering one Amazon Lambda business surface.

Run with Naftiko Amazon LambdaFunctions

What You Can Do

POST
Createfunction — Amazon Lambda Create Function
/v1/functions
GET
Listfunctions — Amazon Lambda List Functions
/v1/functions
GET
Getfunction — Amazon Lambda Get Function
/v1/functions/{functionname}
DELETE
Deletefunction — Amazon Lambda Delete Function
/v1/functions/{functionname}
PUT
Updatefunctioncode — Amazon Lambda Update Function Code
/v1/functions/{functionname}/code
PUT
Updatefunctionconfiguration — Amazon Lambda Update Function Configuration
/v1/functions/{functionname}/configuration
POST
Invokefunction — Amazon Lambda Invoke Function
/v1/functions/{functionname}/invocations

MCP Tools

amazon-lambda-create-function

Amazon Lambda Create Function

amazon-lambda-list-functions

Amazon Lambda List Functions

read-only idempotent
amazon-lambda-get-function

Amazon Lambda Get Function

read-only idempotent
amazon-lambda-delete-function

Amazon Lambda Delete Function

idempotent
amazon-lambda-update-function-code

Amazon Lambda Update Function Code

idempotent
amazon-lambda-update-function-configuration

Amazon Lambda Update Function Configuration

idempotent
amazon-lambda-invoke-function

Amazon Lambda Invoke Function

Capability Spec

amazon-lambda-functions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Lambda API — Functions
  description: 'Amazon Lambda API — Functions. 7 operations. Lead operation: Amazon Lambda Create Function. Self-contained
    Naftiko capability covering one Amazon Lambda business surface.'
  tags:
  - Amazon Lambda
  - Functions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_LAMBDA_API_KEY: AMAZON_LAMBDA_API_KEY
capability:
  consumes:
  - type: http
    namespace: amazon-lambda-functions
    baseUri: https://lambda.us-east-1.amazonaws.com
    description: Amazon Lambda API — Functions business capability. Self-contained, no shared references.
    resources:
    - name: functions
      path: /functions
      operations:
      - name: createfunction
        method: POST
        description: Amazon Lambda Create Function
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: listfunctions
        method: GET
        description: Amazon Lambda List Functions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: functions-FunctionName
      path: /functions/{FunctionName}
      operations:
      - name: getfunction
        method: GET
        description: Amazon Lambda Get Function
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: The name of the Lambda function.
          required: true
      - name: deletefunction
        method: DELETE
        description: Amazon Lambda Delete Function
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: The name of the Lambda function.
          required: true
    - name: functions-FunctionName-code
      path: /functions/{FunctionName}/code
      operations:
      - name: updatefunctioncode
        method: PUT
        description: Amazon Lambda Update Function Code
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: The name of the Lambda function.
          required: true
    - name: functions-FunctionName-configuration
      path: /functions/{FunctionName}/configuration
      operations:
      - name: updatefunctionconfiguration
        method: PUT
        description: Amazon Lambda Update Function Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: The name of the Lambda function.
          required: true
    - name: functions-FunctionName-invocations
      path: /functions/{FunctionName}/invocations
      operations:
      - name: invokefunction
        method: POST
        description: Amazon Lambda Invoke Function
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: The name of the Lambda function.
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_LAMBDA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: amazon-lambda-functions-rest
    port: 8080
    description: REST adapter for Amazon Lambda API — Functions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/functions
      name: functions
      description: REST surface for functions.
      operations:
      - method: POST
        name: createfunction
        description: Amazon Lambda Create Function
        call: amazon-lambda-functions.createfunction
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listfunctions
        description: Amazon Lambda List Functions
        call: amazon-lambda-functions.listfunctions
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/functions/{functionname}
      name: functions-functionname
      description: REST surface for functions-FunctionName.
      operations:
      - method: GET
        name: getfunction
        description: Amazon Lambda Get Function
        call: amazon-lambda-functions.getfunction
        with:
          FunctionName: rest.FunctionName
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletefunction
        description: Amazon Lambda Delete Function
        call: amazon-lambda-functions.deletefunction
        with:
          FunctionName: rest.FunctionName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/functions/{functionname}/code
      name: functions-functionname-code
      description: REST surface for functions-FunctionName-code.
      operations:
      - method: PUT
        name: updatefunctioncode
        description: Amazon Lambda Update Function Code
        call: amazon-lambda-functions.updatefunctioncode
        with:
          FunctionName: rest.FunctionName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/functions/{functionname}/configuration
      name: functions-functionname-configuration
      description: REST surface for functions-FunctionName-configuration.
      operations:
      - method: PUT
        name: updatefunctionconfiguration
        description: Amazon Lambda Update Function Configuration
        call: amazon-lambda-functions.updatefunctionconfiguration
        with:
          FunctionName: rest.FunctionName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/functions/{functionname}/invocations
      name: functions-functionname-invocations
      description: REST surface for functions-FunctionName-invocations.
      operations:
      - method: POST
        name: invokefunction
        description: Amazon Lambda Invoke Function
        call: amazon-lambda-functions.invokefunction
        with:
          FunctionName: rest.FunctionName
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: amazon-lambda-functions-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Lambda API — Functions. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: amazon-lambda-create-function
      description: Amazon Lambda Create Function
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-lambda-functions.createfunction
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-lambda-list-functions
      description: Amazon Lambda List Functions
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-lambda-functions.listfunctions
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-lambda-get-function
      description: Amazon Lambda Get Function
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: amazon-lambda-functions.getfunction
      with:
        FunctionName: tools.FunctionName
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-lambda-delete-function
      description: Amazon Lambda Delete Function
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: amazon-lambda-functions.deletefunction
      with:
        FunctionName: tools.FunctionName
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-lambda-update-function-code
      description: Amazon Lambda Update Function Code
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: amazon-lambda-functions.updatefunctioncode
      with:
        FunctionName: tools.FunctionName
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-lambda-update-function-configuration
      description: Amazon Lambda Update Function Configuration
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: amazon-lambda-functions.updatefunctionconfiguration
      with:
        FunctionName: tools.FunctionName
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-lambda-invoke-function
      description: Amazon Lambda Invoke Function
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: amazon-lambda-functions.invokefunction
      with:
        FunctionName: tools.FunctionName
      outputParameters:
      - type: object
        mapping: $.