libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
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.CloudDirectory.Types.TypedAttributeValue

Description

 
Synopsis

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.

Constructors

TypedAttributeValue' 

Fields

Instances

Instances details
Eq TypedAttributeValue Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.TypedAttributeValue

Read TypedAttributeValue Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.TypedAttributeValue

Show TypedAttributeValue Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.TypedAttributeValue

Generic TypedAttributeValue Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.TypedAttributeValue

Associated Types

type Rep TypedAttributeValue :: Type -> Type #

NFData TypedAttributeValue Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.TypedAttributeValue

Methods

rnf :: TypedAttributeValue -> () #

Hashable TypedAttributeValue Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.TypedAttributeValue

ToJSON TypedAttributeValue Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.TypedAttributeValue

FromJSON TypedAttributeValue Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.TypedAttributeValue

type Rep TypedAttributeValue Source # 
Instance details

Defined in Amazonka.CloudDirectory.Types.TypedAttributeValue

type Rep TypedAttributeValue = D1 ('MetaData "TypedAttributeValue" "Amazonka.CloudDirectory.Types.TypedAttributeValue" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "TypedAttributeValue'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "binaryValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Base64)) :*: S1 ('MetaSel ('Just "datetimeValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "numberValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "booleanValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

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.