NAME
Paws::IoT1ClickDevices - Perl Interface to AWS AWS IoT 1-Click Devices Service
SYNOPSIS
use Paws;
my $obj = Paws->service('IoT1ClickDevices');
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
Stub description
For the AWS API documentation, see https://aws.amazon.com/documentation/
METHODS
ClaimDevicesByClaimCode
Each argument is described in detail in: Paws::IoT1ClickDevices::ClaimDevicesByClaimCode
Returns: a Paws::IoT1ClickDevices::ClaimDevicesByClaimCodeResponse instance
Adds device(s) to your account (i.e., claim one or more devices) if and only if you received a claim code with the device(s).
DescribeDevice
Each argument is described in detail in: Paws::IoT1ClickDevices::DescribeDevice
Returns: a Paws::IoT1ClickDevices::DescribeDeviceResponse instance
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
FinalizeDeviceClaim
Each argument is described in detail in: Paws::IoT1ClickDevices::FinalizeDeviceClaim
Returns: a Paws::IoT1ClickDevices::FinalizeDeviceClaimResponse instance
Given a device ID, finalizes the claim request for the associated device.
Claiming a device consists of initiating a claim, then publishing a device event, and finalizing the claim. For a device of type button, a device event can be published by simply clicking the device.
GetDeviceMethods
Each argument is described in detail in: Paws::IoT1ClickDevices::GetDeviceMethods
Returns: a Paws::IoT1ClickDevices::GetDeviceMethodsResponse instance
Given a device ID, returns the invokable methods associated with the device.
InitiateDeviceClaim
Each argument is described in detail in: Paws::IoT1ClickDevices::InitiateDeviceClaim
Returns: a Paws::IoT1ClickDevices::InitiateDeviceClaimResponse instance
Given a device ID, initiates a claim request for the associated device.
Claiming a device consists of initiating a claim, then publishing a device event, and finalizing the claim. For a device of type button, a device event can be published by simply clicking the device.
InvokeDeviceMethod
- DeviceId => Str
- [DeviceMethod => Paws::IoT1ClickDevices::DeviceMethod]
- [DeviceMethodParameters => Str]
Each argument is described in detail in: Paws::IoT1ClickDevices::InvokeDeviceMethod
Returns: a Paws::IoT1ClickDevices::InvokeDeviceMethodResponse instance
Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.
ListDeviceEvents
Each argument is described in detail in: Paws::IoT1ClickDevices::ListDeviceEvents
Returns: a Paws::IoT1ClickDevices::ListDeviceEventsResponse instance
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
ListDevices
Each argument is described in detail in: Paws::IoT1ClickDevices::ListDevices
Returns: a Paws::IoT1ClickDevices::ListDevicesResponse instance
Lists the 1-Click compatible devices associated with your AWS account.
UnclaimDevice
Each argument is described in detail in: Paws::IoT1ClickDevices::UnclaimDevice
Returns: a Paws::IoT1ClickDevices::UnclaimDeviceResponse instance
Disassociates a device from your AWS account using its device ID.
UpdateDeviceState
Each argument is described in detail in: Paws::IoT1ClickDevices::UpdateDeviceState
Returns: a Paws::IoT1ClickDevices::UpdateDeviceStateResponse instance
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
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