amazonka-lakeformation-2.0: Amazon Lake Formation SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.LakeFormation.StartTransaction

Description

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

Synopsis

Creating a Request

data StartTransaction Source #

See: newStartTransaction smart constructor.

Constructors

StartTransaction' 

Fields

  • transactionType :: Maybe TransactionType

    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.

Instances

Instances details
ToJSON StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

ToHeaders StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

ToPath StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

ToQuery StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

AWSRequest StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

Associated Types

type AWSResponse StartTransaction #

Generic StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

Associated Types

type Rep StartTransaction :: Type -> Type #

Read StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

Show StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

NFData StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

Methods

rnf :: StartTransaction -> () #

Eq StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

Hashable StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

type AWSResponse StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

type Rep StartTransaction Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

type Rep StartTransaction = D1 ('MetaData "StartTransaction" "Amazonka.LakeFormation.StartTransaction" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "StartTransaction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transactionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransactionType))))

newStartTransaction :: StartTransaction Source #

Create a value of StartTransaction with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:transactionType:StartTransaction', startTransaction_transactionType - 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.

Request Lenses

startTransaction_transactionType :: Lens' StartTransaction (Maybe TransactionType) Source #

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.

Destructuring the Response

data StartTransactionResponse Source #

See: newStartTransactionResponse smart constructor.

Constructors

StartTransactionResponse' 

Fields

Instances

Instances details
Generic StartTransactionResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

Associated Types

type Rep StartTransactionResponse :: Type -> Type #

Read StartTransactionResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

Show StartTransactionResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

NFData StartTransactionResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

Eq StartTransactionResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

type Rep StartTransactionResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.StartTransaction

type Rep StartTransactionResponse = D1 ('MetaData "StartTransactionResponse" "Amazonka.LakeFormation.StartTransaction" "amazonka-lakeformation-2.0-HHqQokxI1tpCfoS44CTFPa" 'False) (C1 ('MetaCons "StartTransactionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartTransactionResponse Source #

Create a value of StartTransactionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

StartTransactionResponse, startTransactionResponse_transactionId - An opaque identifier for the transaction.

$sel:httpStatus:StartTransactionResponse', startTransactionResponse_httpStatus - The response's http status code.

Response Lenses