amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.Types.UserProperty

Description

 
Synopsis

Documentation

data UserProperty Source #

A key-value pair that you define in the header. Both the key and the value are either literal strings or valid substitution templates.

See: newUserProperty smart constructor.

Constructors

UserProperty' 

Fields

  • key :: Text

    A key to be specified in UserProperty.

  • value :: Text

    A value to be specified in UserProperty.

Instances

Instances details
FromJSON UserProperty Source # 
Instance details

Defined in Amazonka.IoT.Types.UserProperty

ToJSON UserProperty Source # 
Instance details

Defined in Amazonka.IoT.Types.UserProperty

Generic UserProperty Source # 
Instance details

Defined in Amazonka.IoT.Types.UserProperty

Associated Types

type Rep UserProperty :: Type -> Type #

Read UserProperty Source # 
Instance details

Defined in Amazonka.IoT.Types.UserProperty

Show UserProperty Source # 
Instance details

Defined in Amazonka.IoT.Types.UserProperty

NFData UserProperty Source # 
Instance details

Defined in Amazonka.IoT.Types.UserProperty

Methods

rnf :: UserProperty -> () #

Eq UserProperty Source # 
Instance details

Defined in Amazonka.IoT.Types.UserProperty

Hashable UserProperty Source # 
Instance details

Defined in Amazonka.IoT.Types.UserProperty

type Rep UserProperty Source # 
Instance details

Defined in Amazonka.IoT.Types.UserProperty

type Rep UserProperty = D1 ('MetaData "UserProperty" "Amazonka.IoT.Types.UserProperty" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "UserProperty'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUserProperty Source #

Create a value of UserProperty 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:key:UserProperty', userProperty_key - A key to be specified in UserProperty.

$sel:value:UserProperty', userProperty_value - A value to be specified in UserProperty.

userProperty_key :: Lens' UserProperty Text Source #

A key to be specified in UserProperty.

userProperty_value :: Lens' UserProperty Text Source #

A value to be specified in UserProperty.