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 |
Indicates to the service that the specified transaction is still active and should not be treated as idle and aborted.
Write transactions that remain idle for a long period are automatically aborted unless explicitly extended.
Synopsis
- data ExtendTransaction = ExtendTransaction' {}
- newExtendTransaction :: ExtendTransaction
- extendTransaction_transactionId :: Lens' ExtendTransaction (Maybe Text)
- data ExtendTransactionResponse = ExtendTransactionResponse' {
- httpStatus :: Int
- newExtendTransactionResponse :: Int -> ExtendTransactionResponse
- extendTransactionResponse_httpStatus :: Lens' ExtendTransactionResponse Int
Creating a Request
data ExtendTransaction Source #
See: newExtendTransaction
smart constructor.
ExtendTransaction' | |
|
Instances
newExtendTransaction :: ExtendTransaction Source #
Create a value of ExtendTransaction
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:
ExtendTransaction
, extendTransaction_transactionId
- The transaction to extend.
Request Lenses
extendTransaction_transactionId :: Lens' ExtendTransaction (Maybe Text) Source #
The transaction to extend.
Destructuring the Response
data ExtendTransactionResponse Source #
See: newExtendTransactionResponse
smart constructor.
ExtendTransactionResponse' | |
|
Instances
newExtendTransactionResponse Source #
Create a value of ExtendTransactionResponse
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:ExtendTransactionResponse'
, extendTransactionResponse_httpStatus
- The response's http status code.
Response Lenses
extendTransactionResponse_httpStatus :: Lens' ExtendTransactionResponse Int Source #
The response's http status code.