@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSIoT1ClickDevicesAsync extends AWSIoT1ClickDevices
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSIoT1ClickDevicesAsync
instead.
Stub description
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<ClaimDevicesByClaimCodeResult> |
claimDevicesByClaimCodeAsync(ClaimDevicesByClaimCodeRequest claimDevicesByClaimCodeRequest)
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).
|
Future<ClaimDevicesByClaimCodeResult> |
claimDevicesByClaimCodeAsync(ClaimDevicesByClaimCodeRequest claimDevicesByClaimCodeRequest,
AsyncHandler<ClaimDevicesByClaimCodeRequest,ClaimDevicesByClaimCodeResult> asyncHandler)
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).
|
Future<DescribeDeviceResult> |
describeDeviceAsync(DescribeDeviceRequest describeDeviceRequest)
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
|
Future<DescribeDeviceResult> |
describeDeviceAsync(DescribeDeviceRequest describeDeviceRequest,
AsyncHandler<DescribeDeviceRequest,DescribeDeviceResult> asyncHandler)
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
|
Future<FinalizeDeviceClaimResult> |
finalizeDeviceClaimAsync(FinalizeDeviceClaimRequest finalizeDeviceClaimRequest)
Given a device ID, finalizes the claim request for the associated device.
|
Future<FinalizeDeviceClaimResult> |
finalizeDeviceClaimAsync(FinalizeDeviceClaimRequest finalizeDeviceClaimRequest,
AsyncHandler<FinalizeDeviceClaimRequest,FinalizeDeviceClaimResult> asyncHandler)
Given a device ID, finalizes the claim request for the associated device.
|
Future<GetDeviceMethodsResult> |
getDeviceMethodsAsync(GetDeviceMethodsRequest getDeviceMethodsRequest)
Given a device ID, returns the invokable methods associated with the device.
|
Future<GetDeviceMethodsResult> |
getDeviceMethodsAsync(GetDeviceMethodsRequest getDeviceMethodsRequest,
AsyncHandler<GetDeviceMethodsRequest,GetDeviceMethodsResult> asyncHandler)
Given a device ID, returns the invokable methods associated with the device.
|
Future<InitiateDeviceClaimResult> |
initiateDeviceClaimAsync(InitiateDeviceClaimRequest initiateDeviceClaimRequest)
Given a device ID, initiates a claim request for the associated device.
|
Future<InitiateDeviceClaimResult> |
initiateDeviceClaimAsync(InitiateDeviceClaimRequest initiateDeviceClaimRequest,
AsyncHandler<InitiateDeviceClaimRequest,InitiateDeviceClaimResult> asyncHandler)
Given a device ID, initiates a claim request for the associated device.
|
Future<InvokeDeviceMethodResult> |
invokeDeviceMethodAsync(InvokeDeviceMethodRequest invokeDeviceMethodRequest)
Given a device ID, issues a request to invoke a named device method (with possible parameters).
|
Future<InvokeDeviceMethodResult> |
invokeDeviceMethodAsync(InvokeDeviceMethodRequest invokeDeviceMethodRequest,
AsyncHandler<InvokeDeviceMethodRequest,InvokeDeviceMethodResult> asyncHandler)
Given a device ID, issues a request to invoke a named device method (with possible parameters).
|
Future<ListDeviceEventsResult> |
listDeviceEventsAsync(ListDeviceEventsRequest listDeviceEventsRequest)
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
|
Future<ListDeviceEventsResult> |
listDeviceEventsAsync(ListDeviceEventsRequest listDeviceEventsRequest,
AsyncHandler<ListDeviceEventsRequest,ListDeviceEventsResult> asyncHandler)
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
|
Future<ListDevicesResult> |
listDevicesAsync(ListDevicesRequest listDevicesRequest)
Lists the 1-Click compatible devices associated with your AWS account.
|
Future<ListDevicesResult> |
listDevicesAsync(ListDevicesRequest listDevicesRequest,
AsyncHandler<ListDevicesRequest,ListDevicesResult> asyncHandler)
Lists the 1-Click compatible devices associated with your AWS account.
|
Future<UnclaimDeviceResult> |
unclaimDeviceAsync(UnclaimDeviceRequest unclaimDeviceRequest)
Disassociates a device from your AWS account using its device ID.
|
Future<UnclaimDeviceResult> |
unclaimDeviceAsync(UnclaimDeviceRequest unclaimDeviceRequest,
AsyncHandler<UnclaimDeviceRequest,UnclaimDeviceResult> asyncHandler)
Disassociates a device from your AWS account using its device ID.
|
Future<UpdateDeviceStateResult> |
updateDeviceStateAsync(UpdateDeviceStateRequest updateDeviceStateRequest)
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
|
Future<UpdateDeviceStateResult> |
updateDeviceStateAsync(UpdateDeviceStateRequest updateDeviceStateRequest,
AsyncHandler<UpdateDeviceStateRequest,UpdateDeviceStateResult> asyncHandler)
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
|
claimDevicesByClaimCode, describeDevice, finalizeDeviceClaim, getCachedResponseMetadata, getDeviceMethods, initiateDeviceClaim, invokeDeviceMethod, listDeviceEvents, listDevices, shutdown, unclaimDevice, updateDeviceState
Future<ClaimDevicesByClaimCodeResult> claimDevicesByClaimCodeAsync(ClaimDevicesByClaimCodeRequest claimDevicesByClaimCodeRequest)
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).
claimDevicesByClaimCodeRequest
- Future<ClaimDevicesByClaimCodeResult> claimDevicesByClaimCodeAsync(ClaimDevicesByClaimCodeRequest claimDevicesByClaimCodeRequest, AsyncHandler<ClaimDevicesByClaimCodeRequest,ClaimDevicesByClaimCodeResult> asyncHandler)
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).
claimDevicesByClaimCodeRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeDeviceResult> describeDeviceAsync(DescribeDeviceRequest describeDeviceRequest)
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
describeDeviceRequest
- Future<DescribeDeviceResult> describeDeviceAsync(DescribeDeviceRequest describeDeviceRequest, AsyncHandler<DescribeDeviceRequest,DescribeDeviceResult> asyncHandler)
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
describeDeviceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<FinalizeDeviceClaimResult> finalizeDeviceClaimAsync(FinalizeDeviceClaimRequest finalizeDeviceClaimRequest)
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.
finalizeDeviceClaimRequest
- Future<FinalizeDeviceClaimResult> finalizeDeviceClaimAsync(FinalizeDeviceClaimRequest finalizeDeviceClaimRequest, AsyncHandler<FinalizeDeviceClaimRequest,FinalizeDeviceClaimResult> asyncHandler)
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.
finalizeDeviceClaimRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetDeviceMethodsResult> getDeviceMethodsAsync(GetDeviceMethodsRequest getDeviceMethodsRequest)
Given a device ID, returns the invokable methods associated with the device.
getDeviceMethodsRequest
- Future<GetDeviceMethodsResult> getDeviceMethodsAsync(GetDeviceMethodsRequest getDeviceMethodsRequest, AsyncHandler<GetDeviceMethodsRequest,GetDeviceMethodsResult> asyncHandler)
Given a device ID, returns the invokable methods associated with the device.
getDeviceMethodsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<InitiateDeviceClaimResult> initiateDeviceClaimAsync(InitiateDeviceClaimRequest initiateDeviceClaimRequest)
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.
initiateDeviceClaimRequest
- Future<InitiateDeviceClaimResult> initiateDeviceClaimAsync(InitiateDeviceClaimRequest initiateDeviceClaimRequest, AsyncHandler<InitiateDeviceClaimRequest,InitiateDeviceClaimResult> asyncHandler)
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.
initiateDeviceClaimRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<InvokeDeviceMethodResult> invokeDeviceMethodAsync(InvokeDeviceMethodRequest invokeDeviceMethodRequest)
Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.
invokeDeviceMethodRequest
- Future<InvokeDeviceMethodResult> invokeDeviceMethodAsync(InvokeDeviceMethodRequest invokeDeviceMethodRequest, AsyncHandler<InvokeDeviceMethodRequest,InvokeDeviceMethodResult> asyncHandler)
Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.
invokeDeviceMethodRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListDeviceEventsResult> listDeviceEventsAsync(ListDeviceEventsRequest listDeviceEventsRequest)
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
listDeviceEventsRequest
- Future<ListDeviceEventsResult> listDeviceEventsAsync(ListDeviceEventsRequest listDeviceEventsRequest, AsyncHandler<ListDeviceEventsRequest,ListDeviceEventsResult> asyncHandler)
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
listDeviceEventsRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest listDevicesRequest)
Lists the 1-Click compatible devices associated with your AWS account.
listDevicesRequest
- Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest listDevicesRequest, AsyncHandler<ListDevicesRequest,ListDevicesResult> asyncHandler)
Lists the 1-Click compatible devices associated with your AWS account.
listDevicesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UnclaimDeviceResult> unclaimDeviceAsync(UnclaimDeviceRequest unclaimDeviceRequest)
Disassociates a device from your AWS account using its device ID.
unclaimDeviceRequest
- Future<UnclaimDeviceResult> unclaimDeviceAsync(UnclaimDeviceRequest unclaimDeviceRequest, AsyncHandler<UnclaimDeviceRequest,UnclaimDeviceResult> asyncHandler)
Disassociates a device from your AWS account using its device ID.
unclaimDeviceRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateDeviceStateResult> updateDeviceStateAsync(UpdateDeviceStateRequest updateDeviceStateRequest)
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
updateDeviceStateRequest
- Future<UpdateDeviceStateResult> updateDeviceStateAsync(UpdateDeviceStateRequest updateDeviceStateRequest, AsyncHandler<UpdateDeviceStateRequest,UpdateDeviceStateResult> asyncHandler)
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
updateDeviceStateRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.