libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.QLDBSession.Types

Description

 
Synopsis

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

Instances details
Eq AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

Read AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

Show AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

Generic AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

Associated Types

type Rep AbortTransactionRequest :: Type -> Type #

NFData AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

Methods

rnf :: AbortTransactionRequest -> () #

Hashable AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

ToJSON AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

type Rep AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

type Rep AbortTransactionRequest = D1 ('MetaData "AbortTransactionRequest" "Amazonka.QLDBSession.Types.AbortTransactionRequest" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "AbortTransactionRequest'" 'PrefixI 'False) (U1 :: Type -> Type))

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.

Constructors

AbortTransactionResult' 

Fields

Instances

Instances details
Eq AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

Read AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

Show AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

Generic AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

Associated Types

type Rep AbortTransactionResult :: Type -> Type #

NFData AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

Methods

rnf :: AbortTransactionResult -> () #

Hashable AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

FromJSON AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

type Rep AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

type Rep AbortTransactionResult = D1 ('MetaData "AbortTransactionResult" "Amazonka.QLDBSession.Types.AbortTransactionResult" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "AbortTransactionResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation))))

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.

Constructors

CommitTransactionRequest' 

Fields

  • transactionId :: Text

    Specifies the transaction ID of the transaction to commit.

  • commitDigest :: Base64

    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.

Instances

Instances details
Eq CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

Read CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

Show CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

Generic CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

Associated Types

type Rep CommitTransactionRequest :: Type -> Type #

NFData CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

Hashable CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

ToJSON CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

type Rep CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

type Rep CommitTransactionRequest = D1 ('MetaData "CommitTransactionRequest" "Amazonka.QLDBSession.Types.CommitTransactionRequest" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "CommitTransactionRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "commitDigest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64)))

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.

Constructors

CommitTransactionResult' 

Fields

Instances

Instances details
Eq CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

Read CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

Show CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

Generic CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

Associated Types

type Rep CommitTransactionResult :: Type -> Type #

NFData CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

Methods

rnf :: CommitTransactionResult -> () #

Hashable CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

FromJSON CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

type Rep CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

type Rep CommitTransactionResult = D1 ('MetaData "CommitTransactionResult" "Amazonka.QLDBSession.Types.CommitTransactionResult" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "CommitTransactionResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation)) :*: S1 ('MetaSel ('Just "consumedIOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IOUsage))) :*: (S1 ('MetaSel ('Just "commitDigest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.

Constructors

EndSessionRequest' 

Instances

Instances details
Eq EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

Read EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

Show EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

Generic EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

Associated Types

type Rep EndSessionRequest :: Type -> Type #

NFData EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

Methods

rnf :: EndSessionRequest -> () #

Hashable EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

ToJSON EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

type Rep EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

type Rep EndSessionRequest = D1 ('MetaData "EndSessionRequest" "Amazonka.QLDBSession.Types.EndSessionRequest" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "EndSessionRequest'" 'PrefixI 'False) (U1 :: Type -> Type))

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.

Constructors

EndSessionResult' 

Fields

Instances

Instances details
Eq EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

Read EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

Show EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

Generic EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

Associated Types

type Rep EndSessionResult :: Type -> Type #

NFData EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

Methods

rnf :: EndSessionResult -> () #

Hashable EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

FromJSON EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

type Rep EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

type Rep EndSessionResult = D1 ('MetaData "EndSessionResult" "Amazonka.QLDBSession.Types.EndSessionResult" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "EndSessionResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation))))

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.

Constructors

ExecuteStatementRequest' 

Fields

Instances

Instances details
Eq ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

Read ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

Show ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

Generic ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

Associated Types

type Rep ExecuteStatementRequest :: Type -> Type #

NFData ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

Methods

rnf :: ExecuteStatementRequest -> () #

Hashable ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

ToJSON ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

type Rep ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

type Rep ExecuteStatementRequest = D1 ('MetaData "ExecuteStatementRequest" "Amazonka.QLDBSession.Types.ExecuteStatementRequest" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "ExecuteStatementRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ValueHolder])) :*: (S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newExecuteStatementRequest Source #

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.

ExecuteStatementResult

data ExecuteStatementResult Source #

Contains the details of the executed statement.

See: newExecuteStatementResult smart constructor.

Constructors

ExecuteStatementResult' 

Fields

Instances

Instances details
Eq ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

Read ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

Show ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

Generic ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

Associated Types

type Rep ExecuteStatementResult :: Type -> Type #

NFData ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

Methods

rnf :: ExecuteStatementResult -> () #

Hashable ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

FromJSON ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

type Rep ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

type Rep ExecuteStatementResult = D1 ('MetaData "ExecuteStatementResult" "Amazonka.QLDBSession.Types.ExecuteStatementResult" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "ExecuteStatementResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation)) :*: (S1 ('MetaSel ('Just "consumedIOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IOUsage)) :*: S1 ('MetaSel ('Just "firstPage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Page)))))

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.

Constructors

FetchPageRequest' 

Fields

Instances

Instances details
Eq FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

Read FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

Show FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

Generic FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

Associated Types

type Rep FetchPageRequest :: Type -> Type #

NFData FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

Methods

rnf :: FetchPageRequest -> () #

Hashable FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

ToJSON FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

type Rep FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

type Rep FetchPageRequest = D1 ('MetaData "FetchPageRequest" "Amazonka.QLDBSession.Types.FetchPageRequest" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "FetchPageRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newFetchPageRequest Source #

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.

Constructors

FetchPageResult' 

Fields

Instances

Instances details
Eq FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

Read FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

Show FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

Generic FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

Associated Types

type Rep FetchPageResult :: Type -> Type #

NFData FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

Methods

rnf :: FetchPageResult -> () #

Hashable FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

FromJSON FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

type Rep FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

type Rep FetchPageResult = D1 ('MetaData "FetchPageResult" "Amazonka.QLDBSession.Types.FetchPageResult" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "FetchPageResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation)) :*: (S1 ('MetaSel ('Just "consumedIOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IOUsage)) :*: S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Page)))))

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

data IOUsage Source #

Contains I/O usage metrics for a command that was invoked.

See: newIOUsage smart constructor.

Constructors

IOUsage' 

Fields

Instances

Instances details
Eq IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Methods

(==) :: IOUsage -> IOUsage -> Bool #

(/=) :: IOUsage -> IOUsage -> Bool #

Read IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Show IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Generic IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Associated Types

type Rep IOUsage :: Type -> Type #

Methods

from :: IOUsage -> Rep IOUsage x #

to :: Rep IOUsage x -> IOUsage #

NFData IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Methods

rnf :: IOUsage -> () #

Hashable IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Methods

hashWithSalt :: Int -> IOUsage -> Int #

hash :: IOUsage -> Int #

FromJSON IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

type Rep IOUsage Source # 
Instance details

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

data Page Source #

Contains details of the fetched page.

See: newPage smart constructor.

Constructors

Page' 

Fields

Instances

Instances details
Eq Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

Methods

(==) :: Page -> Page -> Bool #

(/=) :: Page -> Page -> Bool #

Read Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

Show Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

Methods

showsPrec :: Int -> Page -> ShowS #

show :: Page -> String #

showList :: [Page] -> ShowS #

Generic Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

Associated Types

type Rep Page :: Type -> Type #

Methods

from :: Page -> Rep Page x #

to :: Rep Page x -> Page #

NFData Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

Methods

rnf :: Page -> () #

Hashable Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

Methods

hashWithSalt :: Int -> Page -> Int #

hash :: Page -> Int #

FromJSON Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

type Rep Page Source # 
Instance details

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]))))

newPage :: Page Source #

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_nextPageToken :: Lens' Page (Maybe Text) Source #

The token of the next page.

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.

Constructors

StartSessionRequest' 

Fields

  • ledgerName :: Text

    The name of the ledger to start a new session against.

Instances

Instances details
Eq StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

Read StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

Show StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

Generic StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

Associated Types

type Rep StartSessionRequest :: Type -> Type #

NFData StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

Methods

rnf :: StartSessionRequest -> () #

Hashable StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

ToJSON StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

type Rep StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

type Rep StartSessionRequest = D1 ('MetaData "StartSessionRequest" "Amazonka.QLDBSession.Types.StartSessionRequest" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "StartSessionRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ledgerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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.

Constructors

StartSessionResult' 

Fields

Instances

Instances details
Eq StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

Read StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

Show StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

Generic StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

Associated Types

type Rep StartSessionResult :: Type -> Type #

NFData StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

Methods

rnf :: StartSessionResult -> () #

Hashable StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

FromJSON StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

type Rep StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

type Rep StartSessionResult = D1 ('MetaData "StartSessionResult" "Amazonka.QLDBSession.Types.StartSessionResult" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "StartSessionResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation)) :*: S1 ('MetaSel ('Just "sessionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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

Instances details
Eq StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

Read StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

Show StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

Generic StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

Associated Types

type Rep StartTransactionRequest :: Type -> Type #

NFData StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

Methods

rnf :: StartTransactionRequest -> () #

Hashable StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

ToJSON StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

type Rep StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

type Rep StartTransactionRequest = D1 ('MetaData "StartTransactionRequest" "Amazonka.QLDBSession.Types.StartTransactionRequest" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "StartTransactionRequest'" 'PrefixI 'False) (U1 :: Type -> Type))

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.

Constructors

StartTransactionResult' 

Fields

Instances

Instances details
Eq StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

Read StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

Show StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

Generic StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

Associated Types

type Rep StartTransactionResult :: Type -> Type #

NFData StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

Methods

rnf :: StartTransactionResult -> () #

Hashable StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

FromJSON StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

type Rep StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

type Rep StartTransactionResult = D1 ('MetaData "StartTransactionResult" "Amazonka.QLDBSession.Types.StartTransactionResult" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "StartTransactionResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation)) :*: S1 ('MetaSel ('Just "transactionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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.

Constructors

TimingInformation' 

Fields

Instances

Instances details
Eq TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

Read TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

Show TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

Generic TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

Associated Types

type Rep TimingInformation :: Type -> Type #

NFData TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

Methods

rnf :: TimingInformation -> () #

Hashable TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

FromJSON TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

type Rep TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

type Rep TimingInformation = D1 ('MetaData "TimingInformation" "Amazonka.QLDBSession.Types.TimingInformation" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "TimingInformation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "processingTimeMilliseconds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

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.

Constructors

ValueHolder' 

Fields

Instances

Instances details
Eq ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Read ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Show ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Generic ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Associated Types

type Rep ValueHolder :: Type -> Type #

NFData ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Methods

rnf :: ValueHolder -> () #

Hashable ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

ToJSON ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

FromJSON ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

type Rep ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

type Rep ValueHolder = D1 ('MetaData "ValueHolder" "Amazonka.QLDBSession.Types.ValueHolder" "libZSservicesZSamazonka-qldb-sessionZSamazonka-qldb-session" 'False) (C1 ('MetaCons "ValueHolder'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ionText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ionBinary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64))))

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.