amazonka-qldb-session-2.0: Amazon QLDB Session SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.QLDBSession

Description

Derived from API version 2019-07-11 of the AWS service descriptions, licensed under Apache 2.0.

The transactional data APIs for Amazon QLDB

Instead of interacting directly with this API, we recommend using the QLDB driver or the QLDB shell to execute data transactions on a ledger.

  • If you are working with an AWS SDK, use the QLDB driver. The driver provides a high-level abstraction layer above this QLDB Session data plane and manages SendCommand API calls for you. For information and a list of supported programming languages, see Getting started with the driver in the Amazon QLDB Developer Guide.
  • If you are working with the AWS Command Line Interface (AWS CLI), use the QLDB shell. The shell is a command line interface that uses the QLDB driver to interact with a ledger. For information, see Accessing Amazon QLDB using the QLDB shell.
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2019-07-11 of the Amazon QLDB Session SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by QLDBSession.

BadRequestException

_BadRequestException :: AsError a => Fold a ServiceError Source #

Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.

CapacityExceededException

_CapacityExceededException :: AsError a => Fold a ServiceError Source #

Returned when the request exceeds the processing capacity of the ledger.

InvalidSessionException

_InvalidSessionException :: AsError a => Fold a ServiceError Source #

Returned if the session doesn't exist anymore because it timed out or expired.

LimitExceededException

_LimitExceededException :: AsError a => Fold a ServiceError Source #

Returned if a resource limit such as number of active sessions is exceeded.

OccConflictException

_OccConflictException :: AsError a => Fold 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

_RateExceededException :: AsError a => Fold a ServiceError Source #

Returned when the rate of requests exceeds the allowed throughput.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

SendCommand

data SendCommand Source #

See: newSendCommand smart constructor.

Instances

Instances details
ToJSON SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

ToHeaders SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Methods

toHeaders :: SendCommand -> [Header] #

ToPath SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

ToQuery SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

AWSRequest SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Associated Types

type AWSResponse SendCommand #

Generic SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Associated Types

type Rep SendCommand :: Type -> Type #

Read SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Show SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

NFData SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Methods

rnf :: SendCommand -> () #

Eq SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Hashable SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

type AWSResponse SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

type Rep SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

newSendCommand :: SendCommand Source #

Create a value of SendCommand 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:

SendCommand, sendCommand_abortTransaction - Command to abort the current transaction.

SendCommand, sendCommand_commitTransaction - Command to commit the specified transaction.

SendCommand, sendCommand_endSession - Command to end the current session.

SendCommand, sendCommand_executeStatement - Command to execute a statement in the specified transaction.

SendCommand, sendCommand_fetchPage - Command to fetch a page.

SendCommand, sendCommand_sessionToken - Specifies the session token for the current command. A session token is constant throughout the life of the session.

To obtain a session token, run the StartSession command. This SessionToken is required for every subsequent command that is issued during the current session.

SendCommand, sendCommand_startSession - Command to start a new session. A session token is obtained as part of the response.

SendCommand, sendCommand_startTransaction - Command to start a new transaction.

data SendCommandResponse Source #

See: newSendCommandResponse smart constructor.

Instances

Instances details
Generic SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Associated Types

type Rep SendCommandResponse :: Type -> Type #

Read SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Show SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

NFData SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Methods

rnf :: SendCommandResponse -> () #

Eq SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

type Rep SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

newSendCommandResponse Source #

Create a value of SendCommandResponse 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:

SendCommand, sendCommandResponse_abortTransaction - Contains the details of the aborted transaction.

SendCommand, sendCommandResponse_commitTransaction - Contains the details of the committed transaction.

SendCommand, sendCommandResponse_endSession - Contains the details of the ended session.

SendCommand, sendCommandResponse_executeStatement - Contains the details of the executed statement.

SendCommand, sendCommandResponse_fetchPage - Contains the details of the fetched page.

SendCommand, sendCommandResponse_startSession - Contains the details of the started session that includes a session token. This SessionToken is required for every subsequent command that is issued during the current session.

SendCommand, sendCommandResponse_startTransaction - Contains the details of the started transaction.

$sel:httpStatus:SendCommandResponse', sendCommandResponse_httpStatus - The response's http status code.

Types

AbortTransactionRequest

data AbortTransactionRequest Source #

Contains the details of the transaction to abort.

See: newAbortTransactionRequest smart constructor.

Instances

Instances details
ToJSON 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 #

Read AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

Show AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

NFData AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

Methods

rnf :: AbortTransactionRequest -> () #

Eq AbortTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionRequest

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

Instances

Instances details
FromJSON 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 #

Read AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

Show AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

NFData AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

Methods

rnf :: AbortTransactionResult -> () #

Eq AbortTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.AbortTransactionResult

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

CommitTransactionRequest

data CommitTransactionRequest Source #

Contains the details of the transaction to commit.

See: newCommitTransactionRequest smart constructor.

Instances

Instances details
ToJSON 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 #

Read CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

Show CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

NFData CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

Eq CommitTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionRequest

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

CommitTransactionResult

data CommitTransactionResult Source #

Contains the details of the committed transaction.

See: newCommitTransactionResult smart constructor.

Instances

Instances details
FromJSON 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 #

Read CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

Show CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

NFData CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

Methods

rnf :: CommitTransactionResult -> () #

Eq CommitTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.CommitTransactionResult

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" 'False) (C1 ('MetaCons "CommitTransactionResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "commitDigest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "consumedIOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IOUsage))) :*: (S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation)) :*: 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: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:consumedIOs:CommitTransactionResult', commitTransactionResult_consumedIOs - Contains metrics about the number of I/O requests that were consumed.

$sel:timingInformation:CommitTransactionResult', commitTransactionResult_timingInformation - Contains server-side performance information for the command.

$sel:transactionId:CommitTransactionResult', commitTransactionResult_transactionId - 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
ToJSON 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 #

Read EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

Show EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

NFData EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

Methods

rnf :: EndSessionRequest -> () #

Eq EndSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionRequest

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

Instances

Instances details
FromJSON 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 #

Read EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

Show EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

NFData EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

Methods

rnf :: EndSessionResult -> () #

Eq EndSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.EndSessionResult

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

ExecuteStatementRequest

data ExecuteStatementRequest Source #

Specifies a request to execute a statement.

See: newExecuteStatementRequest smart constructor.

Instances

Instances details
ToJSON 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 #

Read ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

Show ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

NFData ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

Methods

rnf :: ExecuteStatementRequest -> () #

Eq ExecuteStatementRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementRequest

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

ExecuteStatementResult

data ExecuteStatementResult Source #

Contains the details of the executed statement.

See: newExecuteStatementResult smart constructor.

Instances

Instances details
FromJSON 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 #

Read ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

Show ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

NFData ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

Methods

rnf :: ExecuteStatementResult -> () #

Eq ExecuteStatementResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ExecuteStatementResult

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" 'False) (C1 ('MetaCons "ExecuteStatementResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "consumedIOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IOUsage)) :*: (S1 ('MetaSel ('Just "firstPage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Page)) :*: S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation)))))

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: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.

$sel:timingInformation:ExecuteStatementResult', executeStatementResult_timingInformation - Contains server-side performance information for the command.

FetchPageRequest

data FetchPageRequest Source #

Specifies the details of the page to be fetched.

See: newFetchPageRequest smart constructor.

Instances

Instances details
ToJSON 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 #

Read FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

Show FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

NFData FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

Methods

rnf :: FetchPageRequest -> () #

Eq FetchPageRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageRequest

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

FetchPageResult

data FetchPageResult Source #

Contains the page that was fetched.

See: newFetchPageResult smart constructor.

Instances

Instances details
FromJSON 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 #

Read FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

Show FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

NFData FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

Methods

rnf :: FetchPageResult -> () #

Eq FetchPageResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.FetchPageResult

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" 'False) (C1 ('MetaCons "FetchPageResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "consumedIOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IOUsage)) :*: (S1 ('MetaSel ('Just "page") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Page)) :*: S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation)))))

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: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.

$sel:timingInformation:FetchPageResult', fetchPageResult_timingInformation - Contains server-side performance information for the command.

IOUsage

data IOUsage Source #

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

See: newIOUsage smart constructor.

Constructors

IOUsage' (Maybe Integer) (Maybe Integer) 

Instances

Instances details
FromJSON 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 #

Read IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Show IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

NFData IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Methods

rnf :: IOUsage -> () #

Eq IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Methods

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

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

Hashable IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

Methods

hashWithSalt :: Int -> IOUsage -> Int #

hash :: IOUsage -> Int #

type Rep IOUsage Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.IOUsage

type Rep IOUsage = D1 ('MetaData "IOUsage" "Amazonka.QLDBSession.Types.IOUsage" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

Page

data Page Source #

Contains details of the fetched page.

See: newPage smart constructor.

Constructors

Page' (Maybe Text) (Maybe [ValueHolder]) 

Instances

Instances details
FromJSON Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

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 #

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 #

NFData Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

Methods

rnf :: Page -> () #

Eq Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

Methods

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

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

Hashable Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

Methods

hashWithSalt :: Int -> Page -> Int #

hash :: Page -> Int #

type Rep Page Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.Page

type Rep Page = D1 ('MetaData "Page" "Amazonka.QLDBSession.Types.Page" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

StartSessionRequest

data StartSessionRequest Source #

Specifies a request to start a new session.

See: newStartSessionRequest smart constructor.

Instances

Instances details
ToJSON 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 #

Read StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

Show StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

NFData StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

Methods

rnf :: StartSessionRequest -> () #

Eq StartSessionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionRequest

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

StartSessionResult

data StartSessionResult Source #

Contains the details of the started session.

See: newStartSessionResult smart constructor.

Instances

Instances details
FromJSON 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 #

Read StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

Show StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

NFData StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

Methods

rnf :: StartSessionResult -> () #

Eq StartSessionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartSessionResult

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" 'False) (C1 ('MetaCons "StartSessionResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sessionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timingInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimingInformation))))

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: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.

$sel:timingInformation:StartSessionResult', startSessionResult_timingInformation - Contains server-side performance information for the command.

StartTransactionRequest

data StartTransactionRequest Source #

Specifies a request to start a transaction.

See: newStartTransactionRequest smart constructor.

Instances

Instances details
ToJSON 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 #

Read StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

Show StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

NFData StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

Methods

rnf :: StartTransactionRequest -> () #

Eq StartTransactionRequest Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionRequest

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

Instances

Instances details
FromJSON 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 #

Read StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

Show StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

NFData StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

Methods

rnf :: StartTransactionResult -> () #

Eq StartTransactionResult Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.StartTransactionResult

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

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.

Instances

Instances details
FromJSON 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 #

Read TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

Show TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

NFData TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

Methods

rnf :: TimingInformation -> () #

Eq TimingInformation Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.TimingInformation

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" '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.

ValueHolder

data ValueHolder Source #

A structure that can contain a value in multiple encoding formats.

See: newValueHolder smart constructor.

Constructors

ValueHolder' (Maybe Base64) (Maybe Text) 

Instances

Instances details
FromJSON ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

ToJSON 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 #

Read ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Show ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

NFData ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Methods

rnf :: ValueHolder -> () #

Eq ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Hashable 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" "amazonka-qldb-session-2.0-gRYyYLKJNC7JJpkGq35oC" 'False) (C1 ('MetaCons "ValueHolder'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ionBinary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "ionText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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: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.

$sel:ionText:ValueHolder', valueHolder_ionText - An Amazon Ion plaintext value contained in a ValueHolder structure.