Menu
AWS IoT
API Reference (API Version 2015-05-28)

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

Length Constraints: Maximum length of 800.

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 calling UpdateThing.

Type: Boolean

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: