APIs.io Engineering Platform AWS Lambda — 2015 03 31

APIs.io Engineering Platform AWS Lambda — 2015 03 31. 23 operations. Lead operation: 2015 03 31. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering Platform2015 03 31

What You Can Do

POST
Createeventsourcemapping

Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.

For details about how to configure different event sources, see the following topics.

    <
    /v1/2015-03-31/event-source-mappings
GET
Listeventsourcemappings — Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.
/v1/2015-03-31/event-source-mappings
DELETE
Deleteeventsourcemapping

Deletes an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.

When you delete an

/v1/2015-03-31/event-source-mappings/{uuid}
GET
Geteventsourcemapping — Returns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.
/v1/2015-03-31/event-source-mappings/{uuid}
PUT
Updateeventsourcemapping

Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.

For details about how to configure different event sources, see the following topics. <

/v1/2015-03-31/event-source-mappings/{uuid}
POST
Createfunction

Creates a Lambda function. To create a function, you need a deployment package and an /v1/2015-03-31/functions

GET
Listfunctions

Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.

Set FunctionVersion to ALL to include all published versions of each functi

/v1/2015-03-31/functions
DELETE
Deletefunction

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted.

To delete Lambda event source mappings that invoke a function, use Del

GET
Getfunction — Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are returned.
/v1/2015-03-31/functions/{functionname}
POST
Createalias

Creates an alias for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different ver

/v1/2015-03-31/functions/{functionname}/aliases
GET
Listaliases — Returns a list of aliases for a Lambda function.
/v1/2015-03-31/functions/{functionname}/aliases
DELETE
Deletealias — Deletes a Lambda function alias.
/v1/2015-03-31/functions/{functionname}/aliases/{name}
GET
Getalias — Returns details about a Lambda function alias.
/v1/2015-03-31/functions/{functionname}/aliases/{name}
PUT
Updatealias — Updates the configuration of a Lambda function alias.
/v1/2015-03-31/functions/{functionname}/aliases/{name}
PUT
Updatefunctioncode

Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see /v1/2015-03-31/functions/{functionname}/code

GET
Getfunctionconfiguration

Returns the version-specific settings of a Lambda function or version. The output includes only options that can vary between versions of a function. To modify these settings, use UpdateFunctionConfiguration.

To get all of

/v1/2015-03-31/functions/{functionname}/configuration
PUT
Updatefunctionconfiguration

Modify the version-specific settings of a Lambda function.

When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute.

/v1/2015-03-31/functions/{functionname}/configuration
POST
Invoke

Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event.

For /v1/2015-03-31/functions/{functionname}/invocations

POST
Addpermission

Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or

/v1/2015-03-31/functions/{functionname}/policy
GET
Getpolicy — Returns the resource-based IAM policy for a function, version, or alias.
/v1/2015-03-31/functions/{functionname}/policy
DELETE
Removepermission — Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.
/v1/2015-03-31/functions/{functionname}/policy/{statementid}
GET
Listversionsbyfunction — Returns a list of versions, with the version-specific configuration of each. Lambda returns up to 50 versions per call.
/v1/2015-03-31/functions/{functionname}/versions
POST
Publishversion

Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that do

/v1/2015-03-31/functions/{functionname}/versions

MCP Tools

p-creates-mapping-between-event-source

Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.

For details about how to configure different event sources, see the following topics.

lists-event-source-mappings-specify

Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.

read-only idempotent
p-deletes-href-https-docs-aws-amazon-com-lambda-latest

Deletes an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.

When you delete an

idempotent
returns-details-about-event-source

Returns details about an event source mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.

read-only idempotent
p-updates-event-source-mapping-you

Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.

For details about how to configure different event sources, see the following topics. <

idempotent
p-creates-lambda-function-create-function

Creates a Lambda function. To create a function, you need a deployment package and an

p-returns-list-lambda-functions-version

Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.

Set FunctionVersion to ALL to include all published versions of each functi

read-only idempotent
p-deletes-lambda-function-delete-specific

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. Otherwise, all versions and aliases are deleted.

To delete Lambda event source mappings that invoke a function, use Del

idempotent
returns-information-about-function-function

Returns information about the function or function version, with a link to download the deployment package that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are returned.

read-only idempotent
p-creates-href-https-docs-aws-amazon-com-lambda-latest

Creates an alias for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different ver

returns-list-href-https-docs-aws-amazon-com-lambda

Returns a list of aliases for a Lambda function.

read-only idempotent
deletes-lambda-function-href-https-docs-aws-amazon-com

Deletes a Lambda function alias.

idempotent
returns-details-about-lambda-function

Returns details about a Lambda function alias.

read-only idempotent
updates-configuration-lambda-function-href-https

Updates the configuration of a Lambda function alias.

idempotent
p-updates-lambda-function-s-code-if

Updates a Lambda function's code. If code signing is enabled for the function, the code package must be signed by a trusted publisher. For more information, see idempotent

p-returns-version-specific-settings-lambda

Returns the version-specific settings of a Lambda function or version. The output includes only options that can vary between versions of a function. To modify these settings, use UpdateFunctionConfiguration.

To get all of

read-only idempotent
p-modify-version-specific-settings-lambda

Modify the version-specific settings of a Lambda function.

When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute.

idempotent
p-invokes-lambda-function-you-can

Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. To invoke a function asynchronously, set InvocationType to Event.

For

p-grants-amazon-web-service-amazon

Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or

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

Returns the resource-based IAM policy for a function, version, or alias.

read-only idempotent
revokes-function-use-permission-amazon

Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.

idempotent
returns-list-href-https-docs-aws-amazon-com-lambda-2

Returns a list of versions, with the version-specific configuration of each. Lambda returns up to 50 versions per call.

read-only idempotent
p-creates-href-https-docs-aws-amazon-com-lambda-latest-2

Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that do

Capability Spec

aws-lambda-2015-03-31.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform AWS Lambda — 2015 03 31
  description: 'APIs.io Engineering Platform AWS Lambda — 2015 03 31. 23 operations. Lead operation: 2015 03 31. Self-contained
    Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - 2015 03 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-2015-03-31
    baseUri: http://lambda.{region}.amazonaws.com
    description: APIs.io Engineering Platform AWS Lambda — 2015 03 31 business capability. Self-contained, no shared references.
    resources:
    - name: 2015-03-31-event-source-mappings
      path: /2015-03-31/event-source-mappings/
      operations:
      - name: createeventsourcemapping
        method: POST
        description: <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event
          source and invokes the function.</p> <p>For details about how to configure different event sources, see the following
          topics. </p> <ul> <
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listeventsourcemappings
        method: GET
        description: Lists event source mappings. Specify an <code>EventSourceArn</code> to show only event source mappings
          for a single event source.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: EventSourceArn
          in: query
          type: string
          description: <p>The Amazon Resource Name (ARN) of the event source.</p> <ul> <li> <p> <b>Amazon Kinesis</b> –
            The ARN of the data stream or a stream consumer.</p> </li> <l
        - name: FunctionName
          in: query
          type: string
          description: <p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function
            name</b> – <code>MyFunction</code>.</p> </li> <li
        - 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 event source mappings to return. Note that ListEventSourceMappings returns a
            maximum of 100 items in each response, even if you set the nu
    - name: 2015-03-31-event-source-mappings-UUID
      path: /2015-03-31/event-source-mappings/{UUID}
      operations:
      - name: deleteeventsourcemapping
        method: DELETE
        description: '<p>Deletes an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-invocation-modes.html">event
          source mapping</a>. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</a>.</p>
          <p>When you delete an '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UUID
          in: path
          type: string
          description: The identifier of the event source mapping.
          required: true
      - name: geteventsourcemapping
        method: GET
        description: Returns details about an event source mapping. You can get the identifier of a mapping from the output
          of <a>ListEventSourceMappings</a>.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UUID
          in: path
          type: string
          description: The identifier of the event source mapping.
          required: true
      - name: updateeventsourcemapping
        method: PUT
        description: <p>Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation
          and resume later from the same location.</p> <p>For details about how to configure different event sources, see
          the following topics. <
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: UUID
          in: path
          type: string
          description: The identifier of the event source mapping.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: 2015-03-31-functions
      path: /2015-03-31/functions
      operations:
      - name: createfunction
        method: POST
        description: <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment
          package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-perm
        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-functions
      path: /2015-03-31/functions/
      operations:
      - name: listfunctions
        method: GET
        description: <p>Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns
          up to 50 functions per call.</p> <p>Set <code>FunctionVersion</code> to <code>ALL</code> to include all published
          versions of each functi
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: MasterRegion
          in: query
          type: string
          description: For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, <code>us-east-1</code>
            filters the list of functions to include o
        - name: FunctionVersion
          in: query
          type: string
          description: Set to <code>ALL</code> to include entries for all published versions of each function.
        - name: Marker
          in: query
          type: string
          description: Specify the pagination token that's returned by a previous request to retrieve the next page of results.
        - name: MaxItems
          in: query
          type: integer
          description: 'The maximum number of functions to return in the response. Note that <code>ListFunctions</code> returns
            a maximum of 50 items in each response, even if you set '
    - name: 2015-03-31-functions-FunctionName
      path: /2015-03-31/functions/{FunctionName}
      operations:
      - name: deletefunction
        method: DELETE
        description: <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
          Otherwise, all versions and aliases are deleted.</p> <p>To delete Lambda event source mappings that invoke a function,
          use <a>Del
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: <p>The name of the Lambda function or version.</p> <p class="title"> <b>Name formats</b> </p> <ul>
            <li> <p> <b>Function name</b> – <code>my-function</code> (n
          required: true
        - name: Qualifier
          in: query
          type: string
          description: Specify a version to delete. You can't delete a version that an alias references.
      - name: getfunction
        method: GET
        description: Returns information about the function or function version, with a link to download the deployment package
          that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are
          returned.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: <p>The name of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p>
            <ul> <li> <p> <b>Function name</b> – <code>my-function</
          required: true
        - name: Qualifier
          in: query
          type: string
          description: Specify a version or alias to get details about a published version of the function.
    - name: 2015-03-31-functions-FunctionName-aliases
      path: /2015-03-31/functions/{FunctionName}/aliases
      operations:
      - name: createalias
        method: POST
        description: <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>
          for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to
          invoke a different ver
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: '<p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function
            name</b> - <code>MyFunction</code>.</p> </li> <li> '
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: listaliases
        method: GET
        description: Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">aliases</a>
          for a Lambda function.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: '<p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function
            name</b> - <code>MyFunction</code>.</p> </li> <li> '
          required: true
        - name: FunctionVersion
          in: query
          type: string
          description: Specify a function version to only list aliases that invoke that version.
        - name: Marker
          in: query
          type: string
          description: Specify the pagination token that's returned by a previous request to retrieve the next page of results.
        - name: MaxItems
          in: query
          type: integer
          description: Limit the number of aliases returned.
    - name: 2015-03-31-functions-FunctionName-aliases-Name
      path: /2015-03-31/functions/{FunctionName}/aliases/{Name}
      operations:
      - name: deletealias
        method: DELETE
        description: Deletes a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: '<p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function
            name</b> - <code>MyFunction</code>.</p> </li> <li> '
          required: true
        - name: Name
          in: path
          type: string
          description: The name of the alias.
          required: true
      - name: getalias
        method: GET
        description: Returns details about a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: '<p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function
            name</b> - <code>MyFunction</code>.</p> </li> <li> '
          required: true
        - name: Name
          in: path
          type: string
          description: The name of the alias.
          required: true
      - name: updatealias
        method: PUT
        description: Updates the configuration of a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: '<p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function
            name</b> - <code>MyFunction</code>.</p> </li> <li> '
          required: true
        - name: Name
          in: path
          type: string
          description: The name of the alias.
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: 2015-03-31-functions-FunctionName-code
      path: /2015-03-31/functions/{FunctionName}/code
      operations:
      - name: updatefunctioncode
        method: PUT
        description: <p>Updates a Lambda function's code. If code signing is enabled for the function, the code package must
          be signed by a trusted publisher. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesign
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: <p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function
            name</b> – <code>my-function</code>.</p> </li> <l
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: 2015-03-31-functions-FunctionName-configuration
      path: /2015-03-31/functions/{FunctionName}/configuration
      operations:
      - name: getfunctionconfiguration
        method: GET
        description: '<p>Returns the version-specific settings of a Lambda function or version. The output includes only options
          that can vary between versions of a function. To modify these settings, use <a>UpdateFunctionConfiguration</a>.</p>
          <p>To get all of '
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: <p>The name of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p>
            <ul> <li> <p> <b>Function name</b> – <code>my-function</
          required: true
        - name: Qualifier
          in: query
          type: string
          description: Specify a version or alias to get details about a published version of the function.
      - name: updatefunctionconfiguration
        method: PUT
        description: <p>Modify the version-specific settings of a Lambda function.</p> <p>When you update a function, Lambda
          provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process
          can take a minute.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: <p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function
            name</b> – <code>my-function</code>.</p> </li> <l
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: 2015-03-31-functions-FunctionName-invocations
      path: /2015-03-31/functions/{FunctionName}/invocations
      operations:
      - name: invoke
        method: POST
        description: <p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or
          asynchronously. To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>.</p>
          <p>For <a href="https://do
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: <p>The name of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p>
            <ul> <li> <p> <b>Function name</b> – <code>my-function</
          required: true
        - name: X-Amz-Invocation-Type
          in: header
          type: string
          description: <p>Choose from the following options.</p> <ul> <li> <p> <code>RequestResponse</code> (default) –
            Invoke the function synchronously. Keep the connection open u
        - name: X-Amz-Log-Type
          in: header
          type: string
          description: Set to <code>Tail</code> to include the execution log in the response. Applies to synchronously invoked
            functions only.
        - name: X-Amz-Client-Context
          in: header
          type: string
          description: Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context
            object.
        - name: Qualifier
          in: query
          type: string
          description: Specify a version or alias to invoke a published version of the function.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: 2015-03-31-functions-FunctionName-policy
      path: /2015-03-31/functions/{FunctionName}/policy
      operations:
      - name: addpermission
        method: POST
        description: <p>Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization permission
          to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to
          a single version or
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: <p>The name of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p>
            <ul> <li> <p> <b>Function name</b> – <code>my-function</
          required: true
        - name: Qualifier
          in: query
          type: string
          description: Specify a version or alias to add permissions to a published version of the function.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: getpolicy
        method: GET
        description: Returns the <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based
          IAM policy</a> for a function, version, or alias.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: <p>The name of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p>
            <ul> <li> <p> <b>Function name</b> – <code>my-function</
          required: true
        - name: Qualifier
          in: query
          type: string
          description: Specify a version or alias to get the policy for that resource.
    - name: 2015-03-31-functions-FunctionName-policy-StatementId
      path: /2015-03-31/functions/{FunctionName}/policy/{StatementId}
      operations:
      - name: removepermission
        method: DELETE
        description: Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You
          can get the ID of the statement from the output of <a>GetPolicy</a>.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: <p>The name of the Lambda function, version, or alias.</p> <p class="title"> <b>Name formats</b> </p>
            <ul> <li> <p> <b>Function name</b> – <code>my-function</
          required: true
        - name: StatementId
          in: path
          type: string
          description: Statement ID of the permission to remove.
          required: true
        - name: Qualifier
          in: query
          type: string
          description: Specify a version or alias to remove permissions from a published version of the function.
        - name: RevisionId
          in: query
          type: string
          description: Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid
            modifying a policy that has changed since you last read it.
    - name: 2015-03-31-functions-FunctionName-versions
      path: /2015-03-31/functions/{FunctionName}/versions
      operations:
      - name: listversionsbyfunction
        method: GET
        description: Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">versions</a>,
          with the version-specific configuration of each. Lambda returns up to 50 versions per call.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: '<p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function
            name</b> - <code>MyFunction</code>.</p> </li> <li> '
          required: true
        - name: Marker
          in: query
          type: string
          description: Specify the pagination token that's returned by a previous request to retrieve the next page of results.
        - name: MaxItems
          in: query
          type: integer
          description: The maximum number of versions to return. Note that <code>ListVersionsByFunction</code> returns a maximum
            of 50 items in each response, even if you set the numb
      - name: publishversion
        method: POST
        description: <p>Creates a <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">version</a>
          from the current code and configuration of a function. Use versions to create a snapshot of your function code and
          configuration that do
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: FunctionName
          in: path
          type: string
          description: '<p>The name of the Lambda function.</p> <p class="title"> <b>Name formats</b> </p> <ul> <li> <p> <b>Function
            name</b> - <code>MyFunction</code>.</p> </li> <li> '
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.ENGINEERING_PLATFORM_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: aws-lambda-2015-03-31-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform AWS Lambda — 2015 03 31. 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: POST
        name: createeventsourcemapping
        description: <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event
          source and invokes the function.</p> <p>For details about how to configure different event sources, see the following
          topics. </p> <ul> <
        call: aws-lambda-2015-03-31.createeventsourcemapping
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listeventsourcemappings
        description: Lists event source mappings. Specify an <code>EventSourceArn</code> to show only event source mappings
          for a single event source.
        call: aws-lambda-2015-03-31.listeventsourcemappings
        with:
          EventSourceArn: rest.EventSourceArn
          FunctionName: rest.FunctionName
          Marker: rest.Marker
          MaxItems: rest.MaxItems
        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: DELETE
        name: deleteeventsourcemapping
        description: '<p>Deletes an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-invocation-modes.html">event
          source mapping</a>. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</a>.</p>
          <p>When you delete an '
        call: aws-lambda-2015-03-31.deleteeventsourcemapping
        with:
          UUID: rest.UUID
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: geteventsourcemapping
        description: Returns details about an event source mapping. You can get the identifier of a mapping from the output
          of <a>ListEventSourceMappings</a>.
        call: aws-lambda-2015-03-31.geteventsourcemapping
        with:
          UUID: rest.UUID
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateeventsourcemapping
        description: <p>Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation
          and resume later from the same location.</p> <p>For details about how to configure different event sources, see
          the following topics. <
        call: aws-lambda-2015-03-31.updateeventsourcemapping
        with:
          UUID: rest.UUID
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2015-03-31/functions
      name: 2015-03-31-functions
      description: REST surface for 2015-03-31-functions.
      operations:
      - method: POST
        name: createfunction
        description: <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment
          package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-perm
        call: aws-lambda-2015-03-31.createfunction
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2015-03-31/functions
      name: 2015-03-31-functions
      description: REST surface for 2015-03-31-functions.
      operations:
      - method: GET
        name: listfunctions
        description: <p>Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns
          up to 50 functions per call.</p> <p>Set <code>FunctionVersion</code> to <code>ALL</code> to include all published
          versions of each functi
        call: aws-lambda-2015-03-31.listfunctions
        with:
          MasterRegion: rest.MasterRegion
          FunctionVersion: rest.FunctionVersion
          Marker: rest.Marker
          MaxItems: rest.MaxItems
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2015-03-31/functions/{functionname}
      name: 2015-03-31-functions-functionname
      description: REST surface for 2015-03-31-functions-FunctionName.
      operations:
      - method: DELETE
        name: deletefunction
        description: <p>Deletes a Lambda function. To delete a specific function version, use the <code>Qualifier</code> parameter.
          Otherwise, all versions and aliases are deleted.</p> <p>To delete Lambda event source mappings that invoke a function,
          use <a>Del
        call: aws-lambda-2015-03-31.deletefunction
        with:
          FunctionName: rest.FunctionName
          Qualifier: rest.Qualifier
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getfunction
        description: Returns information about the function or function version, with a link to download the deployment package
          that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are
          returned.
        call: aws-lambda-2015-03-31.getfunction
        with:
          FunctionName: rest.FunctionName
          Qualifier: rest.Qualifier
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2015-03-31/functions/{functionname}/aliases
      name: 2015-03-31-functions-functionname-aliases
      description: REST surface for 2015-03-31-functions-FunctionName-aliases.
      operations:
      - method: POST
        name: createalias
        description: <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>
          for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to
          invoke a different ver
        call: aws-lambda-2015-03-31.createalias
        with:
          FunctionName: rest.FunctionName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: listaliases
        description: Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">aliases</a>
          for a Lambda function.
        call: aws-lambda-2015-03-31.listaliases
        with:
          FunctionName: rest.FunctionName
          FunctionVersion: rest.FunctionVersion
          Marker: rest.Marker
          MaxItems: rest.MaxItems
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/2015-03-31/functions/{functionname}/aliases/{name}
      name: 2015-03-31-functions-functionname-aliases-name
      description: REST surface for 2015-03-31-functions-FunctionName-aliases-Name.
      operations:
      - method: DELETE
        name: deletealias
        description: Deletes a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.
        call: aws-lambda-2015-03-31.deletealias
        with:
          FunctionName: rest.FunctionName
          Name: rest.Name
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getalias
        description: Returns details about a Lambda function <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-aliases.html">alias</a>.
        call: aws-lambda-2015-03-31.getalias
        with:
          FunctionName: rest.FunctionName
          Name: rest.Name
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
      

# --- truncated at 32 KB (52 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/apis-io-engineering-platform/refs/heads/main/capabilities/aws-lambda-2015-03-31.yaml