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.RollbackTransaction

Description

Performs a rollback of a transaction. Rolling back a transaction cancels its changes.

Synopsis

Creating a Request

data RollbackTransaction Source #

The request parameters represent the input of a request to perform a rollback of a transaction.

See: newRollbackTransaction smart constructor.

Constructors

RollbackTransaction' 

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 roll back.

Instances

Instances details
Eq RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Read RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Show RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Generic RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Associated Types

type Rep RollbackTransaction :: Type -> Type #

NFData RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Methods

rnf :: RollbackTransaction -> () #

Hashable RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

ToJSON RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

AWSRequest RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Associated Types

type AWSResponse RollbackTransaction #

ToHeaders RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

ToPath RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

ToQuery RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

type Rep RollbackTransaction Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

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

Defined in Amazonka.RDSData.RollbackTransaction

newRollbackTransaction Source #

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

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

$sel:transactionId:RollbackTransaction', rollbackTransaction_transactionId - The identifier of the transaction to roll back.

Request Lenses

rollbackTransaction_resourceArn :: Lens' RollbackTransaction Text Source #

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

rollbackTransaction_secretArn :: Lens' RollbackTransaction Text Source #

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

rollbackTransaction_transactionId :: Lens' RollbackTransaction Text Source #

The identifier of the transaction to roll back.

Destructuring the Response

data RollbackTransactionResponse Source #

The response elements represent the output of a request to perform a rollback of a transaction.

See: newRollbackTransactionResponse smart constructor.

Constructors

RollbackTransactionResponse' 

Fields

Instances

Instances details
Eq RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Read RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Show RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Generic RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

Associated Types

type Rep RollbackTransactionResponse :: Type -> Type #

NFData RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

type Rep RollbackTransactionResponse Source # 
Instance details

Defined in Amazonka.RDSData.RollbackTransaction

type Rep RollbackTransactionResponse = D1 ('MetaData "RollbackTransactionResponse" "Amazonka.RDSData.RollbackTransaction" "libZSservicesZSamazonka-rds-dataZSamazonka-rds-data" 'False) (C1 ('MetaCons "RollbackTransactionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transactionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newRollbackTransactionResponse Source #

Create a value of RollbackTransactionResponse 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:RollbackTransactionResponse', rollbackTransactionResponse_transactionStatus - The status of the rollback operation.

$sel:httpStatus:RollbackTransactionResponse', rollbackTransactionResponse_httpStatus - The response's http status code.

Response Lenses