ResourceAlreadyExistsException
is thrown.curl --location -g --request POST 'https://api.iotwireless.{region}.amazonaws.com/things/' \
--header 'Content-Type: application/json' \
--data-raw '{
"thingTypeName": "string",
"attributePayload": {
"attributes": {
"property1": "string",
"property2": "string"
},
"merge": true
},
"billingGroupName": "string"
}'
{
"thingName": "string",
"thingArn": "string",
"thingId": "string"
}
{"attributes":{"string1":"string2"}}
AttributePayload
is merged with the attributes stored in the registry, instead of overwriting them.UpdateThing
with an empty attribute value.