amazonka-rds-data-2.0: Amazon RDS DataService 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.RDSData.CommitTransaction

Description

Ends a SQL transaction started with the BeginTransaction operation and commits the changes.

Synopsis

Creating a Request

data CommitTransaction Source #

The request parameters represent the input of a commit transaction request.

See: newCommitTransaction smart constructor.

Constructors

CommitTransaction' 

Fields

  • resourceArn :: Text

    The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

  • secretArn :: Text

    The name or ARN of the secret that enables access to the DB cluster.

  • transactionId :: Text

    The identifier of the transaction to end and commit.

Instances

Instances details
ToJSON CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

ToHeaders CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

ToPath CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

ToQuery CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

AWSRequest CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Associated Types

type AWSResponse CommitTransaction #

Generic CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Associated Types

type Rep CommitTransaction :: Type -> Type #

Read CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Show CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

NFData CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Methods

rnf :: CommitTransaction -> () #

Eq CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Hashable CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

type AWSResponse CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

type Rep CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

type Rep CommitTransaction = D1 ('MetaData "CommitTransaction" "Amazonka.RDSData.CommitTransaction" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" 'False) (C1 ('MetaCons "CommitTransaction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "secretArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCommitTransaction Source #

Create a value of CommitTransaction 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:resourceArn:CommitTransaction', commitTransaction_resourceArn - The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

$sel:secretArn:CommitTransaction', commitTransaction_secretArn - The name or ARN of the secret that enables access to the DB cluster.

$sel:transactionId:CommitTransaction', commitTransaction_transactionId - The identifier of the transaction to end and commit.

Request Lenses

commitTransaction_resourceArn :: Lens' CommitTransaction Text Source #

The Amazon Resource Name (ARN) of the Aurora Serverless DB cluster.

commitTransaction_secretArn :: Lens' CommitTransaction Text Source #

The name or ARN of the secret that enables access to the DB cluster.

commitTransaction_transactionId :: Lens' CommitTransaction Text Source #

The identifier of the transaction to end and commit.

Destructuring the Response

data CommitTransactionResponse Source #

The response elements represent the output of a commit transaction request.

See: newCommitTransactionResponse smart constructor.

Constructors

CommitTransactionResponse' 

Fields

Instances

Instances details
Generic CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Associated Types

type Rep CommitTransactionResponse :: Type -> Type #

Read CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Show CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

NFData CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Eq CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

type Rep CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

type Rep CommitTransactionResponse = D1 ('MetaData "CommitTransactionResponse" "Amazonka.RDSData.CommitTransaction" "amazonka-rds-data-2.0-IBcRzqxHiGyCjqyJwy4iJz" 'False) (C1 ('MetaCons "CommitTransactionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transactionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCommitTransactionResponse Source #

Create a value of CommitTransactionResponse 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:transactionStatus:CommitTransactionResponse', commitTransactionResponse_transactionStatus - The status of the commit operation.

$sel:httpStatus:CommitTransactionResponse', commitTransactionResponse_httpStatus - The response's http status code.

Response Lenses