Skip to content

LambdaFunctionScheduledEventAttributes

Source code in docs_src/capo_swf/types/lambda_function_scheduled_event_attributes.py
class LambdaFunctionScheduledEventAttributes(TypedDict, closed=True):
    id: "capo_swf.types.function_id.FunctionId"
    """<p>The unique ID of the Lambda task.</p>"""
    name: "capo_swf.types.function_name.FunctionName"
    """<p>The name of the Lambda function.</p>"""
    control: NotRequired["capo_swf.types.data.Data"]
    """<p>Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.</p>"""
    input: NotRequired["capo_swf.types.function_input.FunctionInput"]
    """<p>The input provided to the Lambda task.</p>"""
    start_to_close_timeout: NotRequired[
        "capo_swf.types.duration_in_seconds_optional.DurationInSecondsOptional"
    ]
    """<p>The maximum amount of time a worker can take to process the Lambda task.</p>"""
    decision_task_completed_event_id: "capo_swf.types.event_id.EventId"
    """<p>The ID of the <code>LambdaFunctionCompleted</code> event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.</p>"""

control instance-attribute

control: NotRequired[Data]

Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.

decision_task_completed_event_id instance-attribute

decision_task_completed_event_id: EventId

The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

id instance-attribute

The unique ID of the Lambda task.

input instance-attribute

input: NotRequired[FunctionInput]

The input provided to the Lambda task.

name instance-attribute

The name of the Lambda function.

start_to_close_timeout instance-attribute

start_to_close_timeout: NotRequired[DurationInSecondsOptional]

The maximum amount of time a worker can take to process the Lambda task.