Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . iot-data ]

update-thing-shadow

Description

Updates the thing shadow for the specified thing.

For more information, see update-thing-shadow in the AWS IoT Developer Guide .

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Note

The default endpoint data.iot.[region].amazonaws.com is intended for testing purposes only. For production code it is strongly recommended to use the custom endpoint for your account (retrievable via the iot describe-endpoint command) to ensure best availability and reachability of the service.

Synopsis

  update-thing-shadow
--thing-name <value>
--payload <value>
outfile <value>

Options

--thing-name (string)

The name of the thing.

--payload (blob)

The state information, in JSON format.

outfile (string) Filename where the content will be saved

See 'aws help' for descriptions of global parameters.

Output

payload -> (blob)

The state information, in JSON format.