{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aws-lambda/json-schema/aws-lambda-update-function-event-invoke-config-request-schema.json",
  "title": "UpdateFunctionEventInvokeConfigRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aws-lambda-event-invoke-config-api-openapi.yml#/components/schemas/UpdateFunctionEventInvokeConfigRequest",
  "type": "object",
  "properties": {
    "FunctionName": {
      "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."
    },
    "Qualifier": {
      "type": "string",
      "description": "A version number or alias name."
    },
    "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": "#/$defs/DestinationConfig"
    }
  },
  "required": [
    "FunctionName"
  ],
  "$defs": {
    "DestinationConfig": {
      "type": "object",
      "properties": {
        "OnSuccess": {
          "$ref": "#/$defs/OnSuccess"
        },
        "OnFailure": {
          "$ref": "#/$defs/OnFailure"
        }
      }
    },
    "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."
        }
      }
    }
  }
}