Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- AbortTransactionRequest
- AbortTransactionResult
- CommitTransactionRequest
- CommitTransactionResult
- EndSessionRequest
- EndSessionResult
- ExecuteStatementRequest
- ExecuteStatementResult
- FetchPageRequest
- FetchPageResult
- IOUsage
- Page
- StartSessionRequest
- StartSessionResult
- StartTransactionRequest
- StartTransactionResult
- TimingInformation
- ValueHolder
Synopsis
- defaultService :: Service
- _InvalidSessionException :: AsError a => Getting (First ServiceError) a ServiceError
- _CapacityExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _OccConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _RateExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- data AbortTransactionRequest = AbortTransactionRequest' {
- newAbortTransactionRequest :: AbortTransactionRequest
- data AbortTransactionResult = AbortTransactionResult' {}
- newAbortTransactionResult :: AbortTransactionResult
- abortTransactionResult_timingInformation :: Lens' AbortTransactionResult (Maybe TimingInformation)
- data CommitTransactionRequest = CommitTransactionRequest' {}
- newCommitTransactionRequest :: Text -> ByteString -> CommitTransactionRequest
- commitTransactionRequest_transactionId :: Lens' CommitTransactionRequest Text
- commitTransactionRequest_commitDigest :: Lens' CommitTransactionRequest ByteString
- data CommitTransactionResult = CommitTransactionResult' {}
- newCommitTransactionResult :: CommitTransactionResult
- commitTransactionResult_timingInformation :: Lens' CommitTransactionResult (Maybe TimingInformation)
- commitTransactionResult_consumedIOs :: Lens' CommitTransactionResult (Maybe IOUsage)
- commitTransactionResult_commitDigest :: Lens' CommitTransactionResult (Maybe ByteString)
- commitTransactionResult_transactionId :: Lens' CommitTransactionResult (Maybe Text)
- data EndSessionRequest = EndSessionRequest' {
- newEndSessionRequest :: EndSessionRequest
- data EndSessionResult = EndSessionResult' {}
- newEndSessionResult :: EndSessionResult
- endSessionResult_timingInformation :: Lens' EndSessionResult (Maybe TimingInformation)
- data ExecuteStatementRequest = ExecuteStatementRequest' {
- parameters :: Maybe [ValueHolder]
- transactionId :: Text
- statement :: Text
- newExecuteStatementRequest :: Text -> Text -> ExecuteStatementRequest
- executeStatementRequest_parameters :: Lens' ExecuteStatementRequest (Maybe [ValueHolder])
- executeStatementRequest_transactionId :: Lens' ExecuteStatementRequest Text
- executeStatementRequest_statement :: Lens' ExecuteStatementRequest Text
- data ExecuteStatementResult = ExecuteStatementResult' {}
- newExecuteStatementResult :: ExecuteStatementResult
- executeStatementResult_timingInformation :: Lens' ExecuteStatementResult (Maybe TimingInformation)
- executeStatementResult_consumedIOs :: Lens' ExecuteStatementResult (Maybe IOUsage)
- executeStatementResult_firstPage :: Lens' ExecuteStatementResult (Maybe Page)
- data FetchPageRequest = FetchPageRequest' {}
- newFetchPageRequest :: Text -> Text -> FetchPageRequest
- fetchPageRequest_transactionId :: Lens' FetchPageRequest Text
- fetchPageRequest_nextPageToken :: Lens' FetchPageRequest Text
- data FetchPageResult = FetchPageResult' {}
- newFetchPageResult :: FetchPageResult
- fetchPageResult_timingInformation :: Lens' FetchPageResult (Maybe TimingInformation)
- fetchPageResult_consumedIOs :: Lens' FetchPageResult (Maybe IOUsage)
- fetchPageResult_page :: Lens' FetchPageResult (Maybe Page)
- data IOUsage = IOUsage' {}
- newIOUsage :: IOUsage
- iOUsage_readIOs :: Lens' IOUsage (Maybe Integer)
- iOUsage_writeIOs :: Lens' IOUsage (Maybe Integer)
- data Page = Page' {
- nextPageToken :: Maybe Text
- values :: Maybe [ValueHolder]
- newPage :: Page
- page_nextPageToken :: Lens' Page (Maybe Text)
- page_values :: Lens' Page (Maybe [ValueHolder])
- data StartSessionRequest = StartSessionRequest' {
- ledgerName :: Text
- newStartSessionRequest :: Text -> StartSessionRequest
- startSessionRequest_ledgerName :: Lens' StartSessionRequest Text
- data StartSessionResult = StartSessionResult' {}
- newStartSessionResult :: StartSessionResult
- startSessionResult_timingInformation :: Lens' StartSessionResult (Maybe TimingInformation)
- startSessionResult_sessionToken :: Lens' StartSessionResult (Maybe Text)
- data StartTransactionRequest = StartTransactionRequest' {
- newStartTransactionRequest :: StartTransactionRequest
- data StartTransactionResult = StartTransactionResult' {}
- newStartTransactionResult :: StartTransactionResult
- startTransactionResult_timingInformation :: Lens' StartTransactionResult (Maybe TimingInformation)
- startTransactionResult_transactionId :: Lens' StartTransactionResult (Maybe Text)
- data TimingInformation = TimingInformation' {}
- newTimingInformation :: TimingInformation
- timingInformation_processingTimeMilliseconds :: Lens' TimingInformation (Maybe Integer)
- data ValueHolder = ValueHolder' {}
- newValueHolder :: ValueHolder
- valueHolder_ionText :: Lens' ValueHolder (Maybe Text)
- valueHolder_ionBinary :: Lens' ValueHolder (Maybe ByteString)
Service Configuration
defaultService :: Service Source #
API version 2019-07-11
of the Amazon QLDB Session SDK configuration.
Errors
_InvalidSessionException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the session doesn't exist anymore because it timed out or expired.
_CapacityExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned when the request exceeds the processing capacity of the ledger.
_OccConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned when a transaction cannot be written to the journal due to a failure in the verification phase of optimistic concurrency control (OCC).
_RateExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned when the rate of requests exceeds the allowed throughput.
_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Returned if a resource limit such as number of active sessions is exceeded.
AbortTransactionRequest
data AbortTransactionRequest Source #
Contains the details of the transaction to abort.
See: newAbortTransactionRequest
smart constructor.
Instances
newAbortTransactionRequest :: AbortTransactionRequest Source #
Create a value of AbortTransactionRequest
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
AbortTransactionResult
data AbortTransactionResult Source #
Contains the details of the aborted transaction.
See: newAbortTransactionResult
smart constructor.
AbortTransactionResult' | |
|
Instances
newAbortTransactionResult :: AbortTransactionResult Source #
Create a value of AbortTransactionResult
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:timingInformation:AbortTransactionResult'
, abortTransactionResult_timingInformation
- Contains server-side performance information for the command.
abortTransactionResult_timingInformation :: Lens' AbortTransactionResult (Maybe TimingInformation) Source #
Contains server-side performance information for the command.
CommitTransactionRequest
data CommitTransactionRequest Source #
Contains the details of the transaction to commit.
See: newCommitTransactionRequest
smart constructor.
CommitTransactionRequest' | |
|
Instances
newCommitTransactionRequest Source #
Create a value of CommitTransactionRequest
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:transactionId:CommitTransactionRequest'
, commitTransactionRequest_transactionId
- Specifies the transaction ID of the transaction to commit.
$sel:commitDigest:CommitTransactionRequest'
, commitTransactionRequest_commitDigest
- Specifies the commit digest for the transaction to commit. For every
active transaction, the commit digest must be passed. QLDB validates
CommitDigest
and rejects the commit with an error if the digest
computed on the client does not match the digest computed by QLDB.
The purpose of the CommitDigest
parameter is to ensure that QLDB
commits a transaction if and only if the server has processed the exact
set of statements sent by the client, in the same order that client sent
them, and with no duplicates.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
commitTransactionRequest_transactionId :: Lens' CommitTransactionRequest Text Source #
Specifies the transaction ID of the transaction to commit.
commitTransactionRequest_commitDigest :: Lens' CommitTransactionRequest ByteString Source #
Specifies the commit digest for the transaction to commit. For every
active transaction, the commit digest must be passed. QLDB validates
CommitDigest
and rejects the commit with an error if the digest
computed on the client does not match the digest computed by QLDB.
The purpose of the CommitDigest
parameter is to ensure that QLDB
commits a transaction if and only if the server has processed the exact
set of statements sent by the client, in the same order that client sent
them, and with no duplicates.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
CommitTransactionResult
data CommitTransactionResult Source #
Contains the details of the committed transaction.
See: newCommitTransactionResult
smart constructor.
CommitTransactionResult' | |
|
Instances
newCommitTransactionResult :: CommitTransactionResult Source #
Create a value of CommitTransactionResult
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:timingInformation:CommitTransactionResult'
, commitTransactionResult_timingInformation
- Contains server-side performance information for the command.
$sel:consumedIOs:CommitTransactionResult'
, commitTransactionResult_consumedIOs
- Contains metrics about the number of I/O requests that were consumed.
$sel:commitDigest:CommitTransactionResult'
, commitTransactionResult_commitDigest
- The commit digest of the committed transaction.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:transactionId:CommitTransactionResult'
, commitTransactionResult_transactionId
- The transaction ID of the committed transaction.
commitTransactionResult_timingInformation :: Lens' CommitTransactionResult (Maybe TimingInformation) Source #
Contains server-side performance information for the command.
commitTransactionResult_consumedIOs :: Lens' CommitTransactionResult (Maybe IOUsage) Source #
Contains metrics about the number of I/O requests that were consumed.
commitTransactionResult_commitDigest :: Lens' CommitTransactionResult (Maybe ByteString) Source #
The commit digest of the committed transaction.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
commitTransactionResult_transactionId :: Lens' CommitTransactionResult (Maybe Text) Source #
The transaction ID of the committed transaction.
EndSessionRequest
data EndSessionRequest Source #
Specifies a request to end the session.
See: newEndSessionRequest
smart constructor.
Instances
newEndSessionRequest :: EndSessionRequest Source #
Create a value of EndSessionRequest
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
EndSessionResult
data EndSessionResult Source #
Contains the details of the ended session.
See: newEndSessionResult
smart constructor.
EndSessionResult' | |
|
Instances
newEndSessionResult :: EndSessionResult Source #
Create a value of EndSessionResult
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:timingInformation:EndSessionResult'
, endSessionResult_timingInformation
- Contains server-side performance information for the command.
endSessionResult_timingInformation :: Lens' EndSessionResult (Maybe TimingInformation) Source #
Contains server-side performance information for the command.
ExecuteStatementRequest
data ExecuteStatementRequest Source #
Specifies a request to execute a statement.
See: newExecuteStatementRequest
smart constructor.
ExecuteStatementRequest' | |
|
Instances
newExecuteStatementRequest Source #
:: Text | |
-> Text | |
-> ExecuteStatementRequest |
Create a value of ExecuteStatementRequest
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:parameters:ExecuteStatementRequest'
, executeStatementRequest_parameters
- Specifies the parameters for the parameterized statement in the request.
$sel:transactionId:ExecuteStatementRequest'
, executeStatementRequest_transactionId
- Specifies the transaction ID of the request.
$sel:statement:ExecuteStatementRequest'
, executeStatementRequest_statement
- Specifies the statement of the request.
executeStatementRequest_parameters :: Lens' ExecuteStatementRequest (Maybe [ValueHolder]) Source #
Specifies the parameters for the parameterized statement in the request.
executeStatementRequest_transactionId :: Lens' ExecuteStatementRequest Text Source #
Specifies the transaction ID of the request.
executeStatementRequest_statement :: Lens' ExecuteStatementRequest Text Source #
Specifies the statement of the request.
ExecuteStatementResult
data ExecuteStatementResult Source #
Contains the details of the executed statement.
See: newExecuteStatementResult
smart constructor.
ExecuteStatementResult' | |
|
Instances
newExecuteStatementResult :: ExecuteStatementResult Source #
Create a value of ExecuteStatementResult
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:timingInformation:ExecuteStatementResult'
, executeStatementResult_timingInformation
- Contains server-side performance information for the command.
$sel:consumedIOs:ExecuteStatementResult'
, executeStatementResult_consumedIOs
- Contains metrics about the number of I/O requests that were consumed.
$sel:firstPage:ExecuteStatementResult'
, executeStatementResult_firstPage
- Contains the details of the first fetched page.
executeStatementResult_timingInformation :: Lens' ExecuteStatementResult (Maybe TimingInformation) Source #
Contains server-side performance information for the command.
executeStatementResult_consumedIOs :: Lens' ExecuteStatementResult (Maybe IOUsage) Source #
Contains metrics about the number of I/O requests that were consumed.
executeStatementResult_firstPage :: Lens' ExecuteStatementResult (Maybe Page) Source #
Contains the details of the first fetched page.
FetchPageRequest
data FetchPageRequest Source #
Specifies the details of the page to be fetched.
See: newFetchPageRequest
smart constructor.
FetchPageRequest' | |
|
Instances
:: Text | |
-> Text | |
-> FetchPageRequest |
Create a value of FetchPageRequest
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:transactionId:FetchPageRequest'
, fetchPageRequest_transactionId
- Specifies the transaction ID of the page to be fetched.
$sel:nextPageToken:FetchPageRequest'
, fetchPageRequest_nextPageToken
- Specifies the next page token of the page to be fetched.
fetchPageRequest_transactionId :: Lens' FetchPageRequest Text Source #
Specifies the transaction ID of the page to be fetched.
fetchPageRequest_nextPageToken :: Lens' FetchPageRequest Text Source #
Specifies the next page token of the page to be fetched.
FetchPageResult
data FetchPageResult Source #
Contains the page that was fetched.
See: newFetchPageResult
smart constructor.
FetchPageResult' | |
|
Instances
newFetchPageResult :: FetchPageResult Source #
Create a value of FetchPageResult
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:timingInformation:FetchPageResult'
, fetchPageResult_timingInformation
- Contains server-side performance information for the command.
$sel:consumedIOs:FetchPageResult'
, fetchPageResult_consumedIOs
- Contains metrics about the number of I/O requests that were consumed.
$sel:page:FetchPageResult'
, fetchPageResult_page
- Contains details of the fetched page.
fetchPageResult_timingInformation :: Lens' FetchPageResult (Maybe TimingInformation) Source #
Contains server-side performance information for the command.
fetchPageResult_consumedIOs :: Lens' FetchPageResult (Maybe IOUsage) Source #
Contains metrics about the number of I/O requests that were consumed.
fetchPageResult_page :: Lens' FetchPageResult (Maybe Page) Source #
Contains details of the fetched page.
IOUsage
Contains I/O usage metrics for a command that was invoked.
See: newIOUsage
smart constructor.
Instances
Eq IOUsage Source # | |
Read IOUsage Source # | |
Show IOUsage Source # | |
Generic IOUsage Source # | |
NFData IOUsage Source # | |
Defined in Amazonka.QLDBSession.Types.IOUsage | |
Hashable IOUsage Source # | |
Defined in Amazonka.QLDBSession.Types.IOUsage | |
FromJSON IOUsage Source # | |
type Rep IOUsage Source # | |
Defined in Amazonka.QLDBSession.Types.IOUsage type Rep IOUsage = D1 ('MetaData "IOUsage" "Amazonka.QLDBSession.Types.IOUsage" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "IOUsage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "readIOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "writeIOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) |
newIOUsage :: IOUsage Source #
Create a value of IOUsage
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:readIOs:IOUsage'
, iOUsage_readIOs
- The number of read I/O requests that the command made.
$sel:writeIOs:IOUsage'
, iOUsage_writeIOs
- The number of write I/O requests that the command made.
iOUsage_readIOs :: Lens' IOUsage (Maybe Integer) Source #
The number of read I/O requests that the command made.
iOUsage_writeIOs :: Lens' IOUsage (Maybe Integer) Source #
The number of write I/O requests that the command made.
Page
Contains details of the fetched page.
See: newPage
smart constructor.
Page' | |
|
Instances
Eq Page Source # | |
Read Page Source # | |
Show Page Source # | |
Generic Page Source # | |
NFData Page Source # | |
Defined in Amazonka.QLDBSession.Types.Page | |
Hashable Page Source # | |
Defined in Amazonka.QLDBSession.Types.Page | |
FromJSON Page Source # | |
type Rep Page Source # | |
Defined in Amazonka.QLDBSession.Types.Page type Rep Page = D1 ('MetaData "Page" "Amazonka.QLDBSession.Types.Page" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "Page'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ValueHolder])))) |
Create a value of Page
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:nextPageToken:Page'
, page_nextPageToken
- The token of the next page.
$sel:values:Page'
, page_values
- A structure that contains values in multiple encoding formats.
page_values :: Lens' Page (Maybe [ValueHolder]) Source #
A structure that contains values in multiple encoding formats.
StartSessionRequest
data StartSessionRequest Source #
Specifies a request to start a new session.
See: newStartSessionRequest
smart constructor.
StartSessionRequest' | |
|
Instances
newStartSessionRequest Source #
Create a value of StartSessionRequest
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:ledgerName:StartSessionRequest'
, startSessionRequest_ledgerName
- The name of the ledger to start a new session against.
startSessionRequest_ledgerName :: Lens' StartSessionRequest Text Source #
The name of the ledger to start a new session against.
StartSessionResult
data StartSessionResult Source #
Contains the details of the started session.
See: newStartSessionResult
smart constructor.
StartSessionResult' | |
|
Instances
newStartSessionResult :: StartSessionResult Source #
Create a value of StartSessionResult
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:timingInformation:StartSessionResult'
, startSessionResult_timingInformation
- Contains server-side performance information for the command.
$sel:sessionToken:StartSessionResult'
, startSessionResult_sessionToken
- Session token of the started session. This SessionToken
is required
for every subsequent command that is issued during the current session.
startSessionResult_timingInformation :: Lens' StartSessionResult (Maybe TimingInformation) Source #
Contains server-side performance information for the command.
startSessionResult_sessionToken :: Lens' StartSessionResult (Maybe Text) Source #
Session token of the started session. This SessionToken
is required
for every subsequent command that is issued during the current session.
StartTransactionRequest
data StartTransactionRequest Source #
Specifies a request to start a transaction.
See: newStartTransactionRequest
smart constructor.
Instances
newStartTransactionRequest :: StartTransactionRequest Source #
Create a value of StartTransactionRequest
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
StartTransactionResult
data StartTransactionResult Source #
Contains the details of the started transaction.
See: newStartTransactionResult
smart constructor.
StartTransactionResult' | |
|
Instances
newStartTransactionResult :: StartTransactionResult Source #
Create a value of StartTransactionResult
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:timingInformation:StartTransactionResult'
, startTransactionResult_timingInformation
- Contains server-side performance information for the command.
$sel:transactionId:StartTransactionResult'
, startTransactionResult_transactionId
- The transaction ID of the started transaction.
startTransactionResult_timingInformation :: Lens' StartTransactionResult (Maybe TimingInformation) Source #
Contains server-side performance information for the command.
startTransactionResult_transactionId :: Lens' StartTransactionResult (Maybe Text) Source #
The transaction ID of the started transaction.
TimingInformation
data TimingInformation Source #
Contains server-side performance information for a command. Amazon QLDB captures timing information between the times when it receives the request and when it sends the corresponding response.
See: newTimingInformation
smart constructor.
TimingInformation' | |
|
Instances
newTimingInformation :: TimingInformation Source #
Create a value of TimingInformation
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:processingTimeMilliseconds:TimingInformation'
, timingInformation_processingTimeMilliseconds
- The amount of time that QLDB spent on processing the command, measured
in milliseconds.
timingInformation_processingTimeMilliseconds :: Lens' TimingInformation (Maybe Integer) Source #
The amount of time that QLDB spent on processing the command, measured in milliseconds.
ValueHolder
data ValueHolder Source #
A structure that can contain a value in multiple encoding formats.
See: newValueHolder
smart constructor.
Instances
newValueHolder :: ValueHolder Source #
Create a value of ValueHolder
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:ionText:ValueHolder'
, valueHolder_ionText
- An Amazon Ion plaintext value contained in a ValueHolder
structure.
$sel:ionBinary:ValueHolder'
, valueHolder_ionBinary
- An Amazon Ion binary value contained in a ValueHolder
structure.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
valueHolder_ionText :: Lens' ValueHolder (Maybe Text) Source #
An Amazon Ion plaintext value contained in a ValueHolder
structure.
valueHolder_ionBinary :: Lens' ValueHolder (Maybe ByteString) Source #
An Amazon Ion binary value contained in a ValueHolder
structure.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.