[−][src]Trait rusoto_iot1click_devices::Iot1ClickDevices
Trait representing the capabilities of the AWS IoT 1-Click Devices Service API. AWS IoT 1-Click Devices Service clients implement this trait.
Required methods
fn claim_devices_by_claim_code(
&self,
input: ClaimDevicesByClaimCodeRequest
) -> RusotoFuture<ClaimDevicesByClaimCodeResponse, ClaimDevicesByClaimCodeError>
&self,
input: ClaimDevicesByClaimCodeRequest
) -> RusotoFuture<ClaimDevicesByClaimCodeResponse, ClaimDevicesByClaimCodeError>
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).
fn describe_device(
&self,
input: DescribeDeviceRequest
) -> RusotoFuture<DescribeDeviceResponse, DescribeDeviceError>
&self,
input: DescribeDeviceRequest
) -> RusotoFuture<DescribeDeviceResponse, DescribeDeviceError>
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
fn finalize_device_claim(
&self,
input: FinalizeDeviceClaimRequest
) -> RusotoFuture<FinalizeDeviceClaimResponse, FinalizeDeviceClaimError>
&self,
input: FinalizeDeviceClaimRequest
) -> RusotoFuture<FinalizeDeviceClaimResponse, FinalizeDeviceClaimError>
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.
fn get_device_methods(
&self,
input: GetDeviceMethodsRequest
) -> RusotoFuture<GetDeviceMethodsResponse, GetDeviceMethodsError>
&self,
input: GetDeviceMethodsRequest
) -> RusotoFuture<GetDeviceMethodsResponse, GetDeviceMethodsError>
Given a device ID, returns the invokable methods associated with the device.
fn initiate_device_claim(
&self,
input: InitiateDeviceClaimRequest
) -> RusotoFuture<InitiateDeviceClaimResponse, InitiateDeviceClaimError>
&self,
input: InitiateDeviceClaimRequest
) -> RusotoFuture<InitiateDeviceClaimResponse, InitiateDeviceClaimError>
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.
fn invoke_device_method(
&self,
input: InvokeDeviceMethodRequest
) -> RusotoFuture<InvokeDeviceMethodResponse, InvokeDeviceMethodError>
&self,
input: InvokeDeviceMethodRequest
) -> RusotoFuture<InvokeDeviceMethodResponse, InvokeDeviceMethodError>
Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.
fn list_device_events(
&self,
input: ListDeviceEventsRequest
) -> RusotoFuture<ListDeviceEventsResponse, ListDeviceEventsError>
&self,
input: ListDeviceEventsRequest
) -> RusotoFuture<ListDeviceEventsResponse, ListDeviceEventsError>
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
fn list_devices(
&self,
input: ListDevicesRequest
) -> RusotoFuture<ListDevicesResponse, ListDevicesError>
&self,
input: ListDevicesRequest
) -> RusotoFuture<ListDevicesResponse, ListDevicesError>
Lists the 1-Click compatible devices associated with your AWS account.
fn list_tags_for_resource(
&self,
input: ListTagsForResourceRequest
) -> RusotoFuture<ListTagsForResourceResponse, ListTagsForResourceError>
&self,
input: ListTagsForResourceRequest
) -> RusotoFuture<ListTagsForResourceResponse, ListTagsForResourceError>
Lists the tags associated with the specified resource ARN.
fn tag_resource(
&self,
input: TagResourceRequest
) -> RusotoFuture<(), TagResourceError>
&self,
input: TagResourceRequest
) -> RusotoFuture<(), TagResourceError>
Adds or updates the tags associated with the resource ARN. See AWS IoT 1-Click Service Limits for the maximum number of tags allowed per resource.
fn unclaim_device(
&self,
input: UnclaimDeviceRequest
) -> RusotoFuture<UnclaimDeviceResponse, UnclaimDeviceError>
&self,
input: UnclaimDeviceRequest
) -> RusotoFuture<UnclaimDeviceResponse, UnclaimDeviceError>
Disassociates a device from your AWS account using its device ID.
fn untag_resource(
&self,
input: UntagResourceRequest
) -> RusotoFuture<(), UntagResourceError>
&self,
input: UntagResourceRequest
) -> RusotoFuture<(), UntagResourceError>
Using tag keys, deletes the tags (key/value pairs) associated with the specified resource ARN.
fn update_device_state(
&self,
input: UpdateDeviceStateRequest
) -> RusotoFuture<UpdateDeviceStateResponse, UpdateDeviceStateError>
&self,
input: UpdateDeviceStateRequest
) -> RusotoFuture<UpdateDeviceStateResponse, UpdateDeviceStateError>
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.
Implementors
impl Iot1ClickDevices for Iot1ClickDevicesClient
[src]
fn claim_devices_by_claim_code(
&self,
input: ClaimDevicesByClaimCodeRequest
) -> RusotoFuture<ClaimDevicesByClaimCodeResponse, ClaimDevicesByClaimCodeError>
[src]
&self,
input: ClaimDevicesByClaimCodeRequest
) -> RusotoFuture<ClaimDevicesByClaimCodeResponse, ClaimDevicesByClaimCodeError>
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).
fn describe_device(
&self,
input: DescribeDeviceRequest
) -> RusotoFuture<DescribeDeviceResponse, DescribeDeviceError>
[src]
&self,
input: DescribeDeviceRequest
) -> RusotoFuture<DescribeDeviceResponse, DescribeDeviceError>
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
fn finalize_device_claim(
&self,
input: FinalizeDeviceClaimRequest
) -> RusotoFuture<FinalizeDeviceClaimResponse, FinalizeDeviceClaimError>
[src]
&self,
input: FinalizeDeviceClaimRequest
) -> RusotoFuture<FinalizeDeviceClaimResponse, FinalizeDeviceClaimError>
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.
fn get_device_methods(
&self,
input: GetDeviceMethodsRequest
) -> RusotoFuture<GetDeviceMethodsResponse, GetDeviceMethodsError>
[src]
&self,
input: GetDeviceMethodsRequest
) -> RusotoFuture<GetDeviceMethodsResponse, GetDeviceMethodsError>
Given a device ID, returns the invokable methods associated with the device.
fn initiate_device_claim(
&self,
input: InitiateDeviceClaimRequest
) -> RusotoFuture<InitiateDeviceClaimResponse, InitiateDeviceClaimError>
[src]
&self,
input: InitiateDeviceClaimRequest
) -> RusotoFuture<InitiateDeviceClaimResponse, InitiateDeviceClaimError>
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.
fn invoke_device_method(
&self,
input: InvokeDeviceMethodRequest
) -> RusotoFuture<InvokeDeviceMethodResponse, InvokeDeviceMethodError>
[src]
&self,
input: InvokeDeviceMethodRequest
) -> RusotoFuture<InvokeDeviceMethodResponse, InvokeDeviceMethodError>
Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.
fn list_device_events(
&self,
input: ListDeviceEventsRequest
) -> RusotoFuture<ListDeviceEventsResponse, ListDeviceEventsError>
[src]
&self,
input: ListDeviceEventsRequest
) -> RusotoFuture<ListDeviceEventsResponse, ListDeviceEventsError>
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
fn list_devices(
&self,
input: ListDevicesRequest
) -> RusotoFuture<ListDevicesResponse, ListDevicesError>
[src]
&self,
input: ListDevicesRequest
) -> RusotoFuture<ListDevicesResponse, ListDevicesError>
Lists the 1-Click compatible devices associated with your AWS account.
fn list_tags_for_resource(
&self,
input: ListTagsForResourceRequest
) -> RusotoFuture<ListTagsForResourceResponse, ListTagsForResourceError>
[src]
&self,
input: ListTagsForResourceRequest
) -> RusotoFuture<ListTagsForResourceResponse, ListTagsForResourceError>
Lists the tags associated with the specified resource ARN.
fn tag_resource(
&self,
input: TagResourceRequest
) -> RusotoFuture<(), TagResourceError>
[src]
&self,
input: TagResourceRequest
) -> RusotoFuture<(), TagResourceError>
Adds or updates the tags associated with the resource ARN. See AWS IoT 1-Click Service Limits for the maximum number of tags allowed per resource.
fn unclaim_device(
&self,
input: UnclaimDeviceRequest
) -> RusotoFuture<UnclaimDeviceResponse, UnclaimDeviceError>
[src]
&self,
input: UnclaimDeviceRequest
) -> RusotoFuture<UnclaimDeviceResponse, UnclaimDeviceError>
Disassociates a device from your AWS account using its device ID.
fn untag_resource(
&self,
input: UntagResourceRequest
) -> RusotoFuture<(), UntagResourceError>
[src]
&self,
input: UntagResourceRequest
) -> RusotoFuture<(), UntagResourceError>
Using tag keys, deletes the tags (key/value pairs) associated with the specified resource ARN.
fn update_device_state(
&self,
input: UpdateDeviceStateRequest
) -> RusotoFuture<UpdateDeviceStateResponse, UpdateDeviceStateError>
[src]
&self,
input: UpdateDeviceStateRequest
) -> RusotoFuture<UpdateDeviceStateResponse, UpdateDeviceStateError>
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.