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

Amazonka.QLDBSession.Types.ValueHolder

Description

 
Synopsis

Documentation

data ValueHolder Source #

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

See: newValueHolder smart constructor.

Constructors

ValueHolder' 

Fields

Instances

Instances details
Eq ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Read ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Show ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Generic ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Associated Types

type Rep ValueHolder :: Type -> Type #

NFData ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

Methods

rnf :: ValueHolder -> () #

Hashable ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

ToJSON ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

FromJSON ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

type Rep ValueHolder Source # 
Instance details

Defined in Amazonka.QLDBSession.Types.ValueHolder

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

newValueHolder :: ValueHolder Source #

Create a value of ValueHolder with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

$sel:ionBinary:ValueHolder', valueHolder_ionBinary - An Amazon Ion binary value contained in a ValueHolder structure.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.

valueHolder_ionText :: Lens' ValueHolder (Maybe Text) Source #

An Amazon Ion plaintext value contained in a ValueHolder structure.

valueHolder_ionBinary :: Lens' ValueHolder (Maybe ByteString) Source #

An Amazon Ion binary value contained in a ValueHolder structure.-- -- Note: This Lens automatically encodes and decodes Base64 data. -- The underlying isomorphism will encode to Base64 representation during -- serialisation, and decode from Base64 representation during deserialisation. -- This Lens accepts and returns only raw unencoded data.