| 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.LakeFormation.CancelTransaction
Description
Attempts to cancel the specified transaction. Returns an exception if the transaction was previously committed.
Synopsis
- data CancelTransaction = CancelTransaction' {}
- newCancelTransaction :: Text -> CancelTransaction
- cancelTransaction_transactionId :: Lens' CancelTransaction Text
- data CancelTransactionResponse = CancelTransactionResponse' {
- httpStatus :: Int
- newCancelTransactionResponse :: Int -> CancelTransactionResponse
- cancelTransactionResponse_httpStatus :: Lens' CancelTransactionResponse Int
Creating a Request
data CancelTransaction Source #
See: newCancelTransaction smart constructor.
Constructors
| CancelTransaction' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CancelTransaction |
Create a value of CancelTransaction 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:
CancelTransaction, cancelTransaction_transactionId - The transaction to cancel.
Request Lenses
cancelTransaction_transactionId :: Lens' CancelTransaction Text Source #
The transaction to cancel.
Destructuring the Response
data CancelTransactionResponse Source #
See: newCancelTransactionResponse smart constructor.
Constructors
| CancelTransactionResponse' | |
Fields
| |
Instances
newCancelTransactionResponse Source #
Create a value of CancelTransactionResponse 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:httpStatus:CancelTransactionResponse', cancelTransactionResponse_httpStatus - The response's http status code.
Response Lenses
cancelTransactionResponse_httpStatus :: Lens' CancelTransactionResponse Int Source #
The response's http status code.