| 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.DescribeTransaction
Description
Returns the details of a single transaction.
Synopsis
- data DescribeTransaction = DescribeTransaction' {}
- newDescribeTransaction :: Text -> DescribeTransaction
- describeTransaction_transactionId :: Lens' DescribeTransaction Text
- data DescribeTransactionResponse = DescribeTransactionResponse' {}
- newDescribeTransactionResponse :: Int -> DescribeTransactionResponse
- describeTransactionResponse_transactionDescription :: Lens' DescribeTransactionResponse (Maybe TransactionDescription)
- describeTransactionResponse_httpStatus :: Lens' DescribeTransactionResponse Int
Creating a Request
data DescribeTransaction Source #
See: newDescribeTransaction smart constructor.
Constructors
| DescribeTransaction' | |
Fields
| |
Instances
newDescribeTransaction Source #
Arguments
| :: Text | |
| -> DescribeTransaction |
Create a value of DescribeTransaction 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:
DescribeTransaction, describeTransaction_transactionId - The transaction for which to return status.
Request Lenses
describeTransaction_transactionId :: Lens' DescribeTransaction Text Source #
The transaction for which to return status.
Destructuring the Response
data DescribeTransactionResponse Source #
See: newDescribeTransactionResponse smart constructor.
Constructors
| DescribeTransactionResponse' | |
Fields
| |
Instances
newDescribeTransactionResponse Source #
Create a value of DescribeTransactionResponse 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:transactionDescription:DescribeTransactionResponse', describeTransactionResponse_transactionDescription - Returns a TransactionDescription object containing information about
the transaction.
$sel:httpStatus:DescribeTransactionResponse', describeTransactionResponse_httpStatus - The response's http status code.
Response Lenses
describeTransactionResponse_transactionDescription :: Lens' DescribeTransactionResponse (Maybe TransactionDescription) Source #
Returns a TransactionDescription object containing information about
the transaction.
describeTransactionResponse_httpStatus :: Lens' DescribeTransactionResponse Int Source #
The response's http status code.