APIs.io Engineering Platform AWS Lambda — 2018 10 31

APIs.io Engineering Platform AWS Lambda — 2018 10 31. 9 operations. Lead operation: 2018 10 31. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering Platform2018 10 31

What You Can Do

GET
Listlayers — Lists Lambda layers and shows information about the latest version of each. Specify a /v1/2018-10-31/layers
GET
Getlayerversionbyarn — Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
/v1/2018-10-31/layers-find-layerversion-arn
GET
Listlayerversions — Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a /v1/2018-10-31/layers/{layername}/versions
POST
Publishlayerversion

Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created.

/v1/2018-10-31/layers/{layername}/versions
DELETE
Deletelayerversion — Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version re
/v1/2018-10-31/layers/{layername}/versions/{versionnumber}
GET
Getlayerversion — Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.
/v1/2018-10-31/layers/{layername}/versions/{versionnumber}
POST
Addlayerversionpermission

Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You ca

/v1/2018-10-31/layers/{layername}/versions/{versionnumber}/policy
GET
Getlayerversionpolicy — Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.
/v1/2018-10-31/layers/{layername}/versions/{versionnumber}/policy
DELETE
Removelayerversionpermission — Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.
/v1/2018-10-31/layers/{layername}/versions/{versionnumber}/policy/{statementid}

MCP Tools

lists-href-https-docs-aws-amazon-com-lambda-latest

Lists Lambda layers and shows information about the latest version of each. Specify a read-only idempotent

returns-information-about-version-href-https

Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

read-only idempotent
lists-versions-href-https-docs-aws-amazon-com-lambda

Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a read-only idempotent

p-creates-href-https-docs-aws-amazon-com-lambda-latest

Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion with the same layer name, a new version is created.

deletes-version-href-https-docs-aws-amazon-com-lambda

Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version re

idempotent
returns-information-about-version-href-https-2

Returns information about a version of an Lambda layer, with a link to download the layer archive that's valid for 10 minutes.

read-only idempotent
p-adds-permissions-resource-based-policy

Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You ca

returns-permission-policy-version-href-https

Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

read-only idempotent
removes-statement-permissions-policy-version

Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.

idempotent

Capability Spec

aws-lambda-2018-10-31.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform AWS Lambda — 2018 10 31
  description: 'APIs.io Engineering Platform AWS Lambda — 2018 10 31. 9 operations. Lead operation: 2018 10 31. Self-contained
    Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - 2018 10 31
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: aws-lambda-2018-10-31
    baseUri: http://lambda.{region}.amazonaws.com
    description: APIs.io Engineering Platform AWS Lambda — 2018 10 31 business capability. Self-contained, no shared references.
    resources:
    - name: 2018-10-31-layers
      path: /2018-10-31/layers
      operations:
      - name: listlayers
        method: GET
        description: Lists <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html">Lambda layers</a>
          and shows information about the latest version of each. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.ht
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: CompatibleRuntime
          in: query
          type: string
          description: A runtime identifier. For example, <code>go1.x</code>.
        - name: Marker
          in: query
          type: string
          description: A pagination token returned by a previous call.
        - name: MaxItems
          in: query
          type: integer
          description: The maximum number of layers to return.
        - name: CompatibleArchitecture
          in: query
          type: string
          description: The compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction
            set architecture</a>.
    - name: 2018-10-31-layers#find=LayerVersion&Arn
      path: /2018-10-31/layers#find=LayerVersion&Arn
      operations:
      - name: getlayerversionbyarn
        method: GET
        description: Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>, with a link to download the layer archive that's valid for 10 minutes.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Arn
          in: query
          type: string
          description: The ARN of the layer version.
          required: true
        - name: find
          in: query
          type: string
          required: true
    - name: 2018-10-31-layers-LayerName-versions
      path: /2018-10-31/layers/{LayerName}/versions
      operations:
      - name: listlayerversions
        method: GET
        description: Lists the versions of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>. Versions that have been deleted aren't listed. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambd
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: CompatibleRuntime
          in: query
          type: string
          description: A runtime identifier. For example, <code>go1.x</code>.
        - name: LayerName
          in: path
          type: string
          description: The name or Amazon Resource Name (ARN) of the layer.
          required: true
        - name: Marker
          in: query
          type: string
          description: A pagination token returned by a previous call.
        - name: MaxItems
          in: query
          type: integer
          description: The maximum number of versions to return.
        - name: CompatibleArchitecture
          in: query
          type: string
          description: The compatible <a href="https://docs.aws.amazon.com/lambda/latest/dg/foundation-arch.html">instruction
            set architecture</a>.
      - name: publishlayerversion
        method: POST
        description: '<p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a> from a ZIP archive. Each time you call <code>PublishLayerVersion</code> with the same layer name, a new
          version is created.</p> '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: LayerName
          in: path
          type: string
          description: The name or Amazon Resource Name (ARN) of the layer.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: 2018-10-31-layers-LayerName-versions-VersionNumber
      path: /2018-10-31/layers/{LayerName}/versions/{VersionNumber}
      operations:
      - name: deletelayerversion
        method: DELETE
        description: Deletes a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of
          the version re
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: LayerName
          in: path
          type: string
          description: The name or Amazon Resource Name (ARN) of the layer.
          required: true
        - name: VersionNumber
          in: path
          type: integer
          description: The version number.
          required: true
      - name: getlayerversion
        method: GET
        description: Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>, with a link to download the layer archive that's valid for 10 minutes.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: LayerName
          in: path
          type: string
          description: The name or Amazon Resource Name (ARN) of the layer.
          required: true
        - name: VersionNumber
          in: path
          type: integer
          description: The version number.
          required: true
    - name: 2018-10-31-layers-LayerName-versions-VersionNumber-policy
      path: /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy
      operations:
      - name: addlayerversionpermission
        method: POST
        description: <p>Adds permissions to the resource-based policy of a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>. Use this action to grant layer usage permission to other accounts. You ca
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: LayerName
          in: path
          type: string
          description: The name or Amazon Resource Name (ARN) of the layer.
          required: true
        - name: VersionNumber
          in: path
          type: integer
          description: The version number.
          required: true
        - name: RevisionId
          in: query
          type: string
          description: Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying
            a policy that has changed since you last read it.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getlayerversionpolicy
        method: GET
        description: Returns the permission policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>. For more information, see <a>AddLayerVersionPermission</a>.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: LayerName
          in: path
          type: string
          description: The name or Amazon Resource Name (ARN) of the layer.
          required: true
        - name: VersionNumber
          in: path
          type: integer
          description: The version number.
          required: true
    - name: 2018-10-31-layers-LayerName-versions-VersionNumber-policy-StatementId
      path: /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}
      operations:
      - name: removelayerversionpermission
        method: DELETE
        description: Removes a statement from the permissions policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>. For more information, see <a>AddLayerVersionPermission</a>.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: LayerName
          in: path
          type: string
          description: The name or Amazon Resource Name (ARN) of the layer.
          required: true
        - name: VersionNumber
          in: path
          type: integer
          description: The version number.
          required: true
        - name: StatementId
          in: path
          type: string
          description: The identifier that was specified when the statement was added.
          required: true
        - name: RevisionId
          in: query
          type: string
          description: Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying
            a policy that has changed since you last read it.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: aws-lambda-2018-10-31-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform AWS Lambda — 2018 10 31. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/2018-10-31/layers
      name: 2018-10-31-layers
      description: REST surface for 2018-10-31-layers.
      operations:
      - method: GET
        name: listlayers
        description: Lists <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html">Lambda layers</a>
          and shows information about the latest version of each. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.ht
        call: aws-lambda-2018-10-31.listlayers
        with:
          CompatibleRuntime: rest.CompatibleRuntime
          Marker: rest.Marker
          MaxItems: rest.MaxItems
          CompatibleArchitecture: rest.CompatibleArchitecture
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2018-10-31/layers-find-layerversion-arn
      name: 2018-10-31-layers-find-layerversion-arn
      description: REST surface for 2018-10-31-layers#find=LayerVersion&Arn.
      operations:
      - method: GET
        name: getlayerversionbyarn
        description: Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>, with a link to download the layer archive that's valid for 10 minutes.
        call: aws-lambda-2018-10-31.getlayerversionbyarn
        with:
          Arn: rest.Arn
          find: rest.find
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2018-10-31/layers/{layername}/versions
      name: 2018-10-31-layers-layername-versions
      description: REST surface for 2018-10-31-layers-LayerName-versions.
      operations:
      - method: GET
        name: listlayerversions
        description: Lists the versions of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>. Versions that have been deleted aren't listed. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambd
        call: aws-lambda-2018-10-31.listlayerversions
        with:
          CompatibleRuntime: rest.CompatibleRuntime
          LayerName: rest.LayerName
          Marker: rest.Marker
          MaxItems: rest.MaxItems
          CompatibleArchitecture: rest.CompatibleArchitecture
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: publishlayerversion
        description: '<p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a> from a ZIP archive. Each time you call <code>PublishLayerVersion</code> with the same layer name, a new
          version is created.</p> '
        call: aws-lambda-2018-10-31.publishlayerversion
        with:
          LayerName: rest.LayerName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2018-10-31/layers/{layername}/versions/{versionnumber}
      name: 2018-10-31-layers-layername-versions-versionnumber
      description: REST surface for 2018-10-31-layers-LayerName-versions-VersionNumber.
      operations:
      - method: DELETE
        name: deletelayerversion
        description: Deletes a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of
          the version re
        call: aws-lambda-2018-10-31.deletelayerversion
        with:
          LayerName: rest.LayerName
          VersionNumber: rest.VersionNumber
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getlayerversion
        description: Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>, with a link to download the layer archive that's valid for 10 minutes.
        call: aws-lambda-2018-10-31.getlayerversion
        with:
          LayerName: rest.LayerName
          VersionNumber: rest.VersionNumber
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2018-10-31/layers/{layername}/versions/{versionnumber}/policy
      name: 2018-10-31-layers-layername-versions-versionnumber-policy
      description: REST surface for 2018-10-31-layers-LayerName-versions-VersionNumber-policy.
      operations:
      - method: POST
        name: addlayerversionpermission
        description: <p>Adds permissions to the resource-based policy of a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>. Use this action to grant layer usage permission to other accounts. You ca
        call: aws-lambda-2018-10-31.addlayerversionpermission
        with:
          LayerName: rest.LayerName
          VersionNumber: rest.VersionNumber
          RevisionId: rest.RevisionId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getlayerversionpolicy
        description: Returns the permission policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>. For more information, see <a>AddLayerVersionPermission</a>.
        call: aws-lambda-2018-10-31.getlayerversionpolicy
        with:
          LayerName: rest.LayerName
          VersionNumber: rest.VersionNumber
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2018-10-31/layers/{layername}/versions/{versionnumber}/policy/{statementid}
      name: 2018-10-31-layers-layername-versions-versionnumber-policy-statementid
      description: REST surface for 2018-10-31-layers-LayerName-versions-VersionNumber-policy-StatementId.
      operations:
      - method: DELETE
        name: removelayerversionpermission
        description: Removes a statement from the permissions policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
          layer</a>. For more information, see <a>AddLayerVersionPermission</a>.
        call: aws-lambda-2018-10-31.removelayerversionpermission
        with:
          LayerName: rest.LayerName
          VersionNumber: rest.VersionNumber
          StatementId: rest.StatementId
          RevisionId: rest.RevisionId
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: aws-lambda-2018-10-31-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform AWS Lambda — 2018 10 31. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: lists-href-https-docs-aws-amazon-com-lambda-latest
      description: Lists <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-layers.html">Lambda layers</a> and
        shows information about the latest version of each. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.ht
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-lambda-2018-10-31.listlayers
      with:
        CompatibleRuntime: tools.CompatibleRuntime
        Marker: tools.Marker
        MaxItems: tools.MaxItems
        CompatibleArchitecture: tools.CompatibleArchitecture
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-information-about-version-href-https
      description: Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
        layer</a>, with a link to download the layer archive that's valid for 10 minutes.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-lambda-2018-10-31.getlayerversionbyarn
      with:
        Arn: tools.Arn
        find: tools.find
      outputParameters:
      - type: object
        mapping: $.
    - name: lists-versions-href-https-docs-aws-amazon-com-lambda
      description: Lists the versions of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
        layer</a>. Versions that have been deleted aren't listed. Specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambd
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-lambda-2018-10-31.listlayerversions
      with:
        CompatibleRuntime: tools.CompatibleRuntime
        LayerName: tools.LayerName
        Marker: tools.Marker
        MaxItems: tools.MaxItems
        CompatibleArchitecture: tools.CompatibleArchitecture
      outputParameters:
      - type: object
        mapping: $.
    - name: p-creates-href-https-docs-aws-amazon-com-lambda-latest
      description: '<p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
        layer</a> from a ZIP archive. Each time you call <code>PublishLayerVersion</code> with the same layer name, a new
        version is created.</p> '
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-lambda-2018-10-31.publishlayerversion
      with:
        LayerName: tools.LayerName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: deletes-version-href-https-docs-aws-amazon-com-lambda
      description: Deletes a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
        layer</a>. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of
        the version re
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: aws-lambda-2018-10-31.deletelayerversion
      with:
        LayerName: tools.LayerName
        VersionNumber: tools.VersionNumber
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-information-about-version-href-https-2
      description: Returns information about a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
        layer</a>, with a link to download the layer archive that's valid for 10 minutes.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-lambda-2018-10-31.getlayerversion
      with:
        LayerName: tools.LayerName
        VersionNumber: tools.VersionNumber
      outputParameters:
      - type: object
        mapping: $.
    - name: p-adds-permissions-resource-based-policy
      description: <p>Adds permissions to the resource-based policy of a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
        layer</a>. Use this action to grant layer usage permission to other accounts. You ca
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: aws-lambda-2018-10-31.addlayerversionpermission
      with:
        LayerName: tools.LayerName
        VersionNumber: tools.VersionNumber
        RevisionId: tools.RevisionId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: returns-permission-policy-version-href-https
      description: Returns the permission policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
        layer</a>. For more information, see <a>AddLayerVersionPermission</a>.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: aws-lambda-2018-10-31.getlayerversionpolicy
      with:
        LayerName: tools.LayerName
        VersionNumber: tools.VersionNumber
      outputParameters:
      - type: object
        mapping: $.
    - name: removes-statement-permissions-policy-version
      description: Removes a statement from the permissions policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
        layer</a>. For more information, see <a>AddLayerVersionPermission</a>.
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: aws-lambda-2018-10-31.removelayerversionpermission
      with:
        LayerName: tools.LayerName
        VersionNumber: tools.VersionNumber
        StatementId: tools.StatementId
        RevisionId: tools.RevisionId
      outputParameters:
      - type: object
        mapping: $.