AWS Lambda Lambda Event Invoke Config API

The Lambda Event Invoke Config API from AWS Lambda — 2 operation(s) for lambda event invoke config.

GitHub OpenAPI

Operations 5

DELETE /2019-09-25/functions/{FunctionName}/event-invoke-config Delete Function Event Invoke Config #
GET /2019-09-25/functions/{FunctionName}/event-invoke-config Get Function Event Invoke Config #
PUT /2019-09-25/functions/{FunctionName}/event-invoke-config Put Function Event Invoke Config #
POST /2019-09-25/functions/{FunctionName}/event-invoke-config Update Function Event Invoke Config #
GET /2019-09-25/functions/{FunctionName}/event-invoke-config/list List Function Event Invoke Configs #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/aws-lambda:aws-lambda-event-invoke-config-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

aws-lambda-event-invoke-config-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Lambda Event Invoke Config API
  version: '2015-03-31'
  description: Generated from AWS's published Smithy model for AWS Lambda. 5 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://lambda.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /2019-09-25/functions/{FunctionName}/event-invoke-config:
    delete:
      operationId: DeleteFunctionEventInvokeConfig
      summary: Delete Function Event Invoke Config
      description: Deletes the configuration for asynchronous invocation for a function, version, or alias. To configure options
        for asynchronous invocation, use PutFunctionEventInvokeConfig.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: string
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '409':
          description: ResourceConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function, version, or alias. Name formats Function name - my-function (name-only),
          my-function:v1 (with alias). Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial
          ARN - 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length
          constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in
          length.
      - name: Qualifier
        in: query
        schema:
          type: string
        description: A version number or alias name.
      tags:
      - Event Invoke Config
    get:
      operationId: GetFunctionEventInvokeConfig
      summary: Get Function Event Invoke Config
      description: Retrieves the configuration for asynchronous invocation for a function, version, or alias. To configure
        options for asynchronous invocation, use PutFunctionEventInvokeConfig.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FunctionEventInvokeConfig'
              example:
                DestinationConfig:
                  OnFailure:
                    Destination: arn:aws:sqs:us-east-2:123456789012:failed-invocations
                  OnSuccess: {}
                FunctionArn: arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE
                LastModified: '2016-11-21T19:49:20.006Z'
                MaximumEventAgeInSeconds: 3600
                MaximumRetryAttempts: 0
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function, version, or alias. Name formats Function name - my-function (name-only),
          my-function:v1 (with alias). Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial
          ARN - 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length
          constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in
          length.
      - name: Qualifier
        in: query
        schema:
          type: string
        description: A version number or alias name.
      tags:
      - Event Invoke Config
    put:
      operationId: PutFunctionEventInvokeConfig
      summary: Put Function Event Invoke Config
      description: Configures options for asynchronous invocation on a function, version, or alias. If a configuration already
        exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed.
        To set one option without affecting existing settings for other options, use UpdateFunctionEventInvokeConfig. By default,
        Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for
        up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too
        long, Lambda discards it. To retain discarded events, configure a dead-letter queue with UpdateFunctionConfiguration.
        To send an invocation record to a queue, topic, S3 bucket, function, or event bus, specify a destination. You can
        configure separate destinations for successful invocations (on-success) and events that fail all processing attempts
        (on-failure). You can configure destinations in addition to or instead of a dead-letter queue. S3 buckets are supported
        only for on-failure destinations. To retain records of successful invocations, use another destination type.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FunctionEventInvokeConfig'
              example:
                DestinationConfig:
                  OnFailure: {}
                  OnSuccess: {}
                FunctionArn: arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST
                LastModified: '2016-11-21T19:49:20.006Z'
                MaximumEventAgeInSeconds: 3600
                MaximumRetryAttempts: 0
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '409':
          description: ResourceConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function, version, or alias. Name formats Function name - my-function (name-only),
          my-function:v1 (with alias). Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial
          ARN - 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length
          constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in
          length.
      - name: Qualifier
        in: query
        schema:
          type: string
        description: A version number or alias name.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                MaximumRetryAttempts:
                  type: integer
                  description: The maximum number of times to retry when the function returns an error.
                MaximumEventAgeInSeconds:
                  type: integer
                  description: The maximum age of a request that Lambda sends to a function for processing.
                DestinationConfig:
                  $ref: '#/components/schemas/DestinationConfig'
            example:
              FunctionName: my-function
              MaximumEventAgeInSeconds: 3600
              MaximumRetryAttempts: 0
      tags:
      - Event Invoke Config
    post:
      operationId: UpdateFunctionEventInvokeConfig
      summary: Update Function Event Invoke Config
      description: Updates the configuration for asynchronous invocation for a function, version, or alias. To configure options
        for asynchronous invocation, use PutFunctionEventInvokeConfig.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FunctionEventInvokeConfig'
              example:
                DestinationConfig:
                  OnFailure:
                    Destination: arn:aws:sqs:us-east-2:123456789012:destination
                  OnSuccess: {}
                FunctionArn: arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST
                LastModified: 1573687896.493
                MaximumEventAgeInSeconds: 3600
                MaximumRetryAttempts: 0
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '409':
          description: ResourceConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceConflictException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function, version, or alias. Name formats Function name - my-function (name-only),
          my-function:v1 (with alias). Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function. Partial
          ARN - 123456789012:function:my-function. You can append a version number or alias to any of the formats. The length
          constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in
          length.
      - name: Qualifier
        in: query
        schema:
          type: string
        description: A version number or alias name.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                MaximumRetryAttempts:
                  type: integer
                  description: The maximum number of times to retry when the function returns an error.
                MaximumEventAgeInSeconds:
                  type: integer
                  description: The maximum age of a request that Lambda sends to a function for processing.
                DestinationConfig:
                  $ref: '#/components/schemas/DestinationConfig'
            example:
              DestinationConfig:
                OnFailure:
                  Destination: arn:aws:sqs:us-east-2:123456789012:destination
              FunctionName: my-function
      tags:
      - Event Invoke Config
  /2019-09-25/functions/{FunctionName}/event-invoke-config/list:
    get:
      operationId: ListFunctionEventInvokeConfigs
      summary: List Function Event Invoke Configs
      description: Retrieves a list of configurations for asynchronous invocation for a Lambda Event Function. To retrieve
        more configurations, use the Marker parameter. To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListFunctionEventInvokeConfigsResponse'
              example:
                FunctionEventInvokeConfigs:
                - FunctionArn: arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN
                  LastModified: 1577824406.719
                  MaximumEventAgeInSeconds: 1800
                  MaximumRetryAttempts: 2
                - FunctionArn: arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE
                  LastModified: 1577824396.653
                  MaximumEventAgeInSeconds: 3600
                  MaximumRetryAttempts: 0
        '400':
          description: InvalidParameterValueException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidParameterValueException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '500':
          description: ServiceException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceException'
        '429':
          description: TooManyRequestsException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TooManyRequestsException'
      parameters:
      - name: FunctionName
        in: path
        required: true
        schema:
          type: string
        description: The name or ARN of the Lambda function. Name formats Function name - my-function. Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.
          Partial ARN - 123456789012:function:my-function. The length constraint applies only to the full ARN. If you specify
          only the function name, it is limited to 64 characters in length.
      - name: Marker
        in: query
        schema:
          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
        schema:
          type: integer
        description: The maximum number of configurations to return.
      tags:
      - Event Invoke Config
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: lambda
  schemas:
    DestinationConfig:
      type: object
      properties:
        OnSuccess:
          $ref: '#/components/schemas/OnSuccess'
        OnFailure:
          $ref: '#/components/schemas/OnFailure'
    FunctionEventInvokeConfig:
      type: object
      properties:
        LastModified:
          type: string
          format: date-time
          description: The date and time that the configuration was last updated.
        FunctionArn:
          type: string
          description: The Amazon Resource Name (ARN) of the function.
        MaximumRetryAttempts:
          type: integer
          description: The maximum number of times to retry when the function returns an error.
        MaximumEventAgeInSeconds:
          type: integer
          description: The maximum age of a request that Lambda sends to a function for processing.
        DestinationConfig:
          $ref: '#/components/schemas/DestinationConfig'
    InvalidParameterValueException:
      type: object
      properties:
        Type:
          type: string
          description: The exception type.
        message:
          type: string
          description: The exception message.
    ListFunctionEventInvokeConfigsResponse:
      type: object
      properties:
        FunctionEventInvokeConfigs:
          type: array
          items:
            $ref: '#/components/schemas/FunctionEventInvokeConfig'
          description: A list of configurations.
        NextMarker:
          type: string
          description: The pagination token that's included if more results are available.
    OnFailure:
      type: object
      properties:
        Destination:
          type: string
          description: The Amazon Resource Name (ARN) of the destination resource. To retain records of failed invocations
            from Kinesis, DynamoDB, self-managed Apache Kafka, or Amazon MSK, you can configure an Amazon SNS topic, Amazon
            SQS queue, Amazon S3 bucket, or Kafka topic as the destination. Amazon SNS destinations have a message size limit
            of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda will drop
            the payload when sending OnFailure event to the destination. For details on this behavior, refer to Retaining
            records of asynchronous invocations. To retain reco
    OnSuccess:
      type: object
      properties:
        Destination:
          type: string
          description: The Amazon Resource Name (ARN) of the destination resource. Amazon SNS destinations have a message
            size limit of 256 KB. If the combined size of the function request and response payload exceeds the limit, Lambda
            will drop the payload when sending OnFailure event to the destination. For details on this behavior, refer to
            Retaining records of asynchronous invocations.
    ResourceConflictException:
      type: object
      properties:
        Type:
          type: string
          description: The exception type.
        message:
          type: string
          description: The exception message.
    ResourceNotFoundException:
      type: object
      properties:
        Type:
          type: string
        Message:
          type: string
    ServiceException:
      type: object
      properties:
        Type:
          type: string
        Message:
          type: string
    TooManyRequestsException:
      type: object
      properties:
        retryAfterSeconds:
          type: string
          description: The number of seconds the caller should wait before retrying.
        Type:
          type: string
        message:
          type: string
        Reason:
          type: string
          enum:
          - ConcurrentInvocationLimitExceeded
          - FunctionInvocationRateLimitExceeded
          - ReservedFunctionConcurrentInvocationLimitExceeded
          - ReservedFunctionInvocationRateLimitExceeded
          - CallerRateLimitExceeded
          - ConcurrentSnapshotCreateLimitExceeded
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/lambda/service/2015-03-31/lambda-2015-03-31.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)