Constructor for creating a new Transaction object.
The event object.
The context object.
Optional
config: TransactionConfigOptional configuration for the transaction.
None
Readonly
loggerA logger object used for logging messages, errors, and other information.
Readonly
publisherThe publisher of the content.
Readonly
requestThe 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.
Protected
getGenerates an error response with the provided error message and error code.
The error message to include in the response.
The error code associated with the error.
Represents a step transaction that extends the Transaction class.