Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

start_transaction

start_transaction(**kwargs)

Starts a new transaction and returns its transaction ID. Transaction IDs are opaque objects that you can use to identify a transaction.

See also: AWS API Documentation

Request Syntax

response = client.start_transaction(
    TransactionType='READ_AND_WRITE'|'READ_ONLY'
)
Parameters
TransactionType (string) -- Indicates whether this transaction should be read only or read and write. Writes made using a read-only transaction ID will be rejected. Read-only transactions do not need to be committed.
Return type
dict
Returns
Response Syntax
{
    'TransactionId': 'string'
}

Response Structure

  • (dict) --
    • TransactionId (string) --

      An opaque identifier for the transaction.

Exceptions

  • LakeFormation.Client.exceptions.InternalServiceException
  • LakeFormation.Client.exceptions.OperationTimeoutException