Skip to content

InvokeLambdaAction

Source code in docs_src/capo_mailmanager/types/invoke_lambda_action.py
class InvokeLambdaAction(TypedDict, closed=True):
    action_failure_policy: NotRequired[
        "capo_mailmanager.types.action_failure_policy.ActionFailurePolicy"
    ]
    """<p>A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the Amazon Web Services Lambda function no longer exists.</p>"""
    function_arn: "capo_mailmanager.types.lambda_function_arn.LambdaFunctionArn"
    """<p>The Amazon Resource Name (ARN) of the Lambda function to invoke.</p>"""
    invocation_type: (
        "capo_mailmanager.types.lambda_invocation_type.LambdaInvocationType"
    )
    """<p>The invocation type of the Lambda function. Use EVENT for asynchronous invocation or REQUEST_RESPONSE for synchronous invocation.</p>"""
    role_arn: "capo_mailmanager.types.iam_role_arn.IamRoleArn"
    """<p>The Amazon Resource Name (ARN) of the IAM role to use to invoke the Lambda function.</p>"""
    retry_time_minutes: NotRequired[
        "capo_mailmanager.types.lambda_retry_time_minutes.LambdaRetryTimeMinutes"
    ]
    """<p>The maximum time in minutes that the email processing can be retried if the Lambda invocation fails. The maximum value is 2160 minutes (36 hours).</p>"""

action_failure_policy instance-attribute

action_failure_policy: NotRequired[ActionFailurePolicy]

A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the Amazon Web Services Lambda function no longer exists.

function_arn instance-attribute

function_arn: LambdaFunctionArn

The Amazon Resource Name (ARN) of the Lambda function to invoke.

invocation_type instance-attribute

invocation_type: LambdaInvocationType

The invocation type of the Lambda function. Use EVENT for asynchronous invocation or REQUEST_RESPONSE for synchronous invocation.

retry_time_minutes instance-attribute

retry_time_minutes: NotRequired[LambdaRetryTimeMinutes]

The maximum time in minutes that the email processing can be retried if the Lambda invocation fails. The maximum value is 2160 minutes (36 hours).

role_arn instance-attribute

role_arn: IamRoleArn

The Amazon Resource Name (ARN) of the IAM role to use to invoke the Lambda function.