Constructs a new instance of the Transaction class.
The event object passed to the Lambda function.
The context object passed to the Lambda function.
Optionalconfig: TransactionConfigOptional configuration object for the transaction.
None
ReadonlyloggerA logger object used for logging messages, errors, and other information.
ReadonlypublisherThe publisher of the content.
ReadonlyrequestThe request object for making a request of type InputType.
A function that acts as a response proxy for a given response object.
Executes a transaction using the provided execution function and returns a promise that resolves to the response or miscellaneous response.
The execution function to be executed.
Retrieves a database instance based on the provided configuration.
A database instance based on the provided configuration.
Retrieves a database transaction based on the provided database configuration.
A promise that resolves to the database transaction.
Get the remaining time in milliseconds for the current execution context.
The remaining time in milliseconds, or -1 if the time is not available.
Represents a transaction object that handles the execution of a request and manages the response.