Constructor for creating a new Transaction object.
The event object.
The context object.
Optionalconfig: TransactionConfigOptional configuration 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.
ProtectedgetGenerates 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.