| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.RDSData.RollbackTransaction
Description
Performs a rollback of a transaction. Rolling back a transaction cancels its changes.
Synopsis
- data RollbackTransaction = RollbackTransaction' {
- resourceArn :: Text
- secretArn :: Text
- transactionId :: Text
- newRollbackTransaction :: Text -> Text -> Text -> RollbackTransaction
- rollbackTransaction_resourceArn :: Lens' RollbackTransaction Text
- rollbackTransaction_secretArn :: Lens' RollbackTransaction Text
- rollbackTransaction_transactionId :: Lens' RollbackTransaction Text
- data RollbackTransactionResponse = RollbackTransactionResponse' {}
- newRollbackTransactionResponse :: Int -> RollbackTransactionResponse
- rollbackTransactionResponse_transactionStatus :: Lens' RollbackTransactionResponse (Maybe Text)
- rollbackTransactionResponse_httpStatus :: Lens' RollbackTransactionResponse Int
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
| |
Instances
newRollbackTransaction Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> RollbackTransaction |
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
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
rollbackTransactionResponse_transactionStatus :: Lens' RollbackTransactionResponse (Maybe Text) Source #
The status of the rollback operation.
rollbackTransactionResponse_httpStatus :: Lens' RollbackTransactionResponse Int Source #
The response's http status code.