| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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' | |
Instances
newValueHolder :: ValueHolder Source #
Create a value of ValueHolder with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel: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.
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.
valueHolder_ionText :: Lens' ValueHolder (Maybe Text) Source #
An Amazon Ion plaintext value contained in a ValueHolder structure.