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
Documentation
data AttributePayload Source #
The attribute payload.
See: newAttributePayload
smart constructor.
AttributePayload' | |
|
Instances
newAttributePayload :: AttributePayload Source #
Create a value of AttributePayload
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:attributes:AttributePayload'
, attributePayload_attributes
- A JSON string containing up to three key-value pair in JSON format. For
example:
{\"attributes\":{\"string1\":\"string2\"}}
$sel:merge:AttributePayload'
, attributePayload_merge
- Specifies whether the list of attributes provided in the
AttributePayload
is merged with the attributes stored in the registry,
instead of overwriting them.
To remove an attribute, call UpdateThing
with an empty attribute
value.
The merge
attribute is only valid when calling UpdateThing
or
UpdateThingGroup
.
attributePayload_attributes :: Lens' AttributePayload (Maybe (HashMap Text Text)) Source #
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
attributePayload_merge :: Lens' AttributePayload (Maybe Bool) Source #
Specifies whether the list of attributes provided in the
AttributePayload
is merged with the attributes stored in the registry,
instead of overwriting them.
To remove an attribute, call UpdateThing
with an empty attribute
value.
The merge
attribute is only valid when calling UpdateThing
or
UpdateThingGroup
.