AttributePayload
The attribute payload.
Contents
- attributes
-
A JSON string containing up to three key-value pair in JSON format. For example:
{\"attributes\":{\"string1\":\"string2\"}}
Type: String to string map
Key Length Constraints: Maximum length of 128.
Key Pattern:
[a-zA-Z0-9_.,@/:#-]+
Value Length Constraints: Maximum length of 800.
Value Pattern:
[a-zA-Z0-9_.,@/:#=\[\]-]*
Required: No
- 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.Note
The
merge
attribute is only valid when callingUpdateThing
orUpdateThingGroup
.Type: Boolean
Required: No
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: