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

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.

InvalidSessionException

_InvalidSessionException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

CapacityExceededException

_CapacityExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

OccConflictException

_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

_RateExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Returned when the rate of requests exceeds the allowed throughput.

BadRequestException

_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

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

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
Eq SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Read SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Show SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Generic SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Associated Types

type Rep SendCommand :: Type -> Type #

NFData SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Methods

rnf :: SendCommand -> () #

Hashable SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

ToJSON SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

AWSRequest SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Associated Types

type AWSResponse 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

type Rep SendCommand Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

type AWSResponse 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:

$sel:fetchPage:SendCommand', sendCommand_fetchPage - Command to fetch a page.

$sel:sessionToken: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.

$sel:abortTransaction:SendCommand', sendCommand_abortTransaction - Command to abort the current transaction.

$sel:endSession:SendCommand', sendCommand_endSession - Command to end the current session.

$sel:startTransaction:SendCommand', sendCommand_startTransaction - Command to start a new transaction.

$sel:executeStatement:SendCommand', sendCommand_executeStatement - Command to execute a statement in the specified transaction.

$sel:commitTransaction:SendCommand', sendCommand_commitTransaction - Command to commit the specified transaction.

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

data SendCommandResponse Source #

See: newSendCommandResponse smart constructor.

Instances

Instances details
Eq SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Read SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Show SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Generic SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Associated Types

type Rep SendCommandResponse :: Type -> Type #

NFData SendCommandResponse Source # 
Instance details

Defined in Amazonka.QLDBSession.SendCommand

Methods

rnf :: SendCommandResponse -> () #

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:

$sel:fetchPage:SendCommand', sendCommandResponse_fetchPage - Contains the details of the fetched page.

$sel:abortTransaction:SendCommand', sendCommandResponse_abortTransaction - Contains the details of the aborted transaction.

$sel:endSession:SendCommand', sendCommandResponse_endSession - Contains the details of the ended session.

$sel:startTransaction:SendCommand', sendCommandResponse_startTransaction - Contains the details of the started transaction.

$sel:executeStatement:SendCommand', sendCommandResponse_executeStatement - Contains the details of the executed statement.

$sel:commitTransaction:SendCommand', sendCommandResponse_commitTransaction - Contains the details of the committed transaction.

$sel:startSession: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.

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

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.

CommitTransactionRequest

data CommitTransactionRequest Source #

Contains the details of the transaction to commit.

See: newCommitTransactionRequest smart constructor.

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.

CommitTransactionResult

data CommitTransactionResult Source #

Contains the details of the committed transaction.

See: newCommitTransactionResult smart constructor.

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.

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.

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.

ExecuteStatementRequest

data ExecuteStatementRequest Source #

Specifies a request to execute a statement.

See: newExecuteStatementRequest smart constructor.

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.

ExecuteStatementResult

data ExecuteStatementResult Source #

Contains the details of the executed statement.

See: newExecuteStatementResult smart constructor.

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.

FetchPageRequest

data FetchPageRequest Source #

Specifies the details of the page to be fetched.

See: newFetchPageRequest smart constructor.

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.

FetchPageResult

data FetchPageResult Source #

Contains the page that was fetched.

See: newFetchPageResult smart constructor.

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.

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

Page

data Page Source #

Contains details of the fetched page.

See: newPage smart constructor.

Constructors

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

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.

StartSessionRequest

data StartSessionRequest Source #

Specifies a request to start a new session.

See: newStartSessionRequest smart constructor.

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.

StartSessionResult

data StartSessionResult Source #

Contains the details of the started session.

See: newStartSessionResult smart constructor.

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.

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.

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.

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

ValueHolder

data ValueHolder Source #

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

See: newValueHolder smart constructor.

Constructors

ValueHolder' (Maybe Text) (Maybe Base64) 

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.