libZSservicesZSamazonka-rds-dataZSamazonka-rds-data
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Read CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Show CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Generic CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Associated Types

type Rep CommitTransaction :: Type -> Type #

NFData CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Methods

rnf :: CommitTransaction -> () #

Hashable CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

ToJSON CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

AWSRequest CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Associated Types

type AWSResponse 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

type Rep CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

type Rep CommitTransaction = D1 ('MetaData "CommitTransaction" "Amazonka.RDSData.CommitTransaction" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" '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))))
type AWSResponse CommitTransaction Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

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
Eq CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Read CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Show CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Generic CommitTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.CommitTransaction

Associated Types

type Rep CommitTransactionResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" '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