Event - Amazon Lambda
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Event

An event that occurred during the execution of a durable function.

Contents

CallbackFailedDetails

Contains details about a failed callback operation, including error information and the reason for failure.

Type: CallbackFailedDetails object

Required: No

CallbackStartedDetails

Contains details about a callback operation that has started, including timing information and callback metadata.

Type: CallbackStartedDetails object

Required: No

CallbackSucceededDetails

Contains details about a successfully completed callback operation, including the result data and completion timestamp.

Type: CallbackSucceededDetails object

Required: No

CallbackTimedOutDetails

Contains details about a callback operation that timed out, including timeout duration and any partial results.

Type: CallbackTimedOutDetails object

Required: No

ChainedInvokeFailedDetails

Contains details about a failed chained function invocation, including error information and failure reason.

Type: ChainedInvokeFailedDetails object

Required: No

ChainedInvokeStartedDetails

Contains details about a chained function invocation that has started execution, including start time and execution context.

Type: ChainedInvokeStartedDetails object

Required: No

ChainedInvokeStoppedDetails

Details about a chained invocation that was stopped.

Type: ChainedInvokeStoppedDetails object

Required: No

ChainedInvokeSucceededDetails

Details about a chained invocation that succeeded.

Type: ChainedInvokeSucceededDetails object

Required: No

ChainedInvokeTimedOutDetails

Details about a chained invocation that timed out.

Type: ChainedInvokeTimedOutDetails object

Required: No

ContextFailedDetails

Details about a context that failed.

Type: ContextFailedDetails object

Required: No

ContextStartedDetails

Details about a context that started.

Type: ContextStartedDetails object

Required: No

ContextSucceededDetails

Details about a context that succeeded.

Type: ContextSucceededDetails object

Required: No

EventId

The unique identifier for this event. Event IDs increment sequentially.

Type: Integer

Valid Range: Minimum value of 1.

Required: No

EventTimestamp

The date and time when this event occurred, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

Type: Timestamp

Required: No

EventType

The type of event that occurred.

Type: String

Valid Values: ExecutionStarted | ExecutionSucceeded | ExecutionFailed | ExecutionTimedOut | ExecutionStopped | ContextStarted | ContextSucceeded | ContextFailed | WaitStarted | WaitSucceeded | WaitCancelled | StepStarted | StepSucceeded | StepFailed | ChainedInvokeStarted | ChainedInvokeSucceeded | ChainedInvokeFailed | ChainedInvokeTimedOut | ChainedInvokeStopped | CallbackStarted | CallbackSucceeded | CallbackFailed | CallbackTimedOut | InvocationCompleted

Required: No

ExecutionFailedDetails

Details about an execution that failed.

Type: ExecutionFailedDetails object

Required: No

ExecutionStartedDetails

Details about an execution that started.

Type: ExecutionStartedDetails object

Required: No

ExecutionStoppedDetails

Details about an execution that was stopped.

Type: ExecutionStoppedDetails object

Required: No

ExecutionSucceededDetails

Details about an execution that succeeded.

Type: ExecutionSucceededDetails object

Required: No

ExecutionTimedOutDetails

Details about an execution that timed out.

Type: ExecutionTimedOutDetails object

Required: No

Id

The unique identifier for this operation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z0-9-_]+

Required: No

InvocationCompletedDetails

Details about a function invocation that completed.

Type: InvocationCompletedDetails object

Required: No

Name

The customer-provided name for this operation.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: [\x20-\x7E]+

Required: No

ParentId

The unique identifier of the parent operation, if this operation is running within a child context.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z0-9-_]+

Required: No

StepFailedDetails

Details about a step that failed.

Type: StepFailedDetails object

Required: No

StepStartedDetails

Details about a step that started.

Type: StepStartedDetails object

Required: No

StepSucceededDetails

Details about a step that succeeded.

Type: StepSucceededDetails object

Required: No

SubType

The subtype of the event, providing additional categorization.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 32.

Pattern: [a-zA-Z0-9-_]+

Required: No

WaitCancelledDetails

Details about a wait operation that was cancelled.

Type: WaitCancelledDetails object

Required: No

WaitStartedDetails

Details about a wait operation that started.

Type: WaitStartedDetails object

Required: No

WaitSucceededDetails

Details about a wait operation that succeeded.

Type: WaitSucceededDetails object

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: