Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TypedAttributeValue = TypedAttributeValue' {}
- newTypedAttributeValue :: TypedAttributeValue
- typedAttributeValue_binaryValue :: Lens' TypedAttributeValue (Maybe ByteString)
- typedAttributeValue_datetimeValue :: Lens' TypedAttributeValue (Maybe UTCTime)
- typedAttributeValue_numberValue :: Lens' TypedAttributeValue (Maybe Text)
- typedAttributeValue_stringValue :: Lens' TypedAttributeValue (Maybe Text)
- typedAttributeValue_booleanValue :: Lens' TypedAttributeValue (Maybe Bool)
Documentation
data TypedAttributeValue Source #
Represents the data for a typed attribute. You can set one, and only one, of the elements. Each attribute in an item is a name-value pair. Attributes have a single value.
See: newTypedAttributeValue
smart constructor.
TypedAttributeValue' | |
|
Instances
newTypedAttributeValue :: TypedAttributeValue Source #
Create a value of TypedAttributeValue
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:binaryValue:TypedAttributeValue'
, typedAttributeValue_binaryValue
- A binary data value.--
-- 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:datetimeValue:TypedAttributeValue'
, typedAttributeValue_datetimeValue
- A date and time value.
$sel:numberValue:TypedAttributeValue'
, typedAttributeValue_numberValue
- A number data value.
$sel:stringValue:TypedAttributeValue'
, typedAttributeValue_stringValue
- A string data value.
$sel:booleanValue:TypedAttributeValue'
, typedAttributeValue_booleanValue
- A Boolean data value.
typedAttributeValue_binaryValue :: Lens' TypedAttributeValue (Maybe ByteString) Source #
A binary data value.--
-- 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.
typedAttributeValue_datetimeValue :: Lens' TypedAttributeValue (Maybe UTCTime) Source #
A date and time value.
typedAttributeValue_numberValue :: Lens' TypedAttributeValue (Maybe Text) Source #
A number data value.
typedAttributeValue_stringValue :: Lens' TypedAttributeValue (Maybe Text) Source #
A string data value.
typedAttributeValue_booleanValue :: Lens' TypedAttributeValue (Maybe Bool) Source #
A Boolean data value.