NAME

Paws::IoTData - Perl Interface to AWS AWS IoT Data Plane

SYNOPSIS

use Paws;

my $obj = Paws->service('IoTData');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

AWS IoT

AWS IoT-Data enables secure, bi-directional communication between Internet-connected things (such as sensors, actuators, embedded devices, or smart appliances) and the AWS cloud. It implements a broker for applications and things to publish messages over HTTP (Publish) and retrieve, update, and delete shadows. A shadow is a persistent representation of your things and their state in the AWS cloud.

Find the endpoint address for actions in the AWS IoT data plane by running this CLI command:

aws iot describe-endpoint --endpoint-type iot:Data-ATS

The service name used by AWS Signature Version 4 (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) to sign requests is: iotdevicegateway.

For the AWS API documentation, see https://docs.aws.amazon.com/iot/

METHODS

DeleteThingShadow

ThingName => Str
[ShadowName => Str]

Each argument is described in detail in: Paws::IoTData::DeleteThingShadow

Returns: a Paws::IoTData::DeleteThingShadowResponse instance

Deletes the shadow for the specified thing.

For more information, see DeleteThingShadow (http://docs.aws.amazon.com/iot/latest/developerguide/API_DeleteThingShadow.html) in the AWS IoT Developer Guide.

GetThingShadow

ThingName => Str
[ShadowName => Str]

Each argument is described in detail in: Paws::IoTData::GetThingShadow

Returns: a Paws::IoTData::GetThingShadowResponse instance

Gets the shadow for the specified thing.

For more information, see GetThingShadow (http://docs.aws.amazon.com/iot/latest/developerguide/API_GetThingShadow.html) in the AWS IoT Developer Guide.

ListNamedShadowsForThing

ThingName => Str
[NextToken => Str]
[PageSize => Int]

Each argument is described in detail in: Paws::IoTData::ListNamedShadowsForThing

Returns: a Paws::IoTData::ListNamedShadowsForThingResponse instance

Lists the shadows for the specified thing.

Publish

Topic => Str
[Payload => Str]
[Qos => Int]

Each argument is described in detail in: Paws::IoTData::Publish

Returns: nothing

Publishes state information.

For more information, see HTTP Protocol (http://docs.aws.amazon.com/iot/latest/developerguide/protocols.html#http) in the AWS IoT Developer Guide.

UpdateThingShadow

Payload => Str
ThingName => Str
[ShadowName => Str]

Each argument is described in detail in: Paws::IoTData::UpdateThingShadow

Returns: a Paws::IoTData::UpdateThingShadowResponse instance

Updates the shadow for the specified thing.

For more information, see UpdateThingShadow (http://docs.aws.amazon.com/iot/latest/developerguide/API_UpdateThingShadow.html) in the AWS IoT Developer Guide.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues