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.IoT.Types.UserProperty
Description
Synopsis
- data UserProperty = UserProperty' {}
- newUserProperty :: Text -> Text -> UserProperty
- userProperty_key :: Lens' UserProperty Text
- userProperty_value :: Lens' UserProperty Text
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' | |
Instances
Arguments
:: Text | |
-> Text | |
-> UserProperty |
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
.