[−][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<'life0, 'async_trait>(
&'life0 self,
input: ClaimDevicesByClaimCodeRequest
) -> Pin<Box<dyn Future<Output = Result<ClaimDevicesByClaimCodeResponse, RusotoError<ClaimDevicesByClaimCodeError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: ClaimDevicesByClaimCodeRequest
) -> Pin<Box<dyn Future<Output = Result<ClaimDevicesByClaimCodeResponse, RusotoError<ClaimDevicesByClaimCodeError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: DescribeDeviceRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDeviceResponse, RusotoError<DescribeDeviceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: DescribeDeviceRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDeviceResponse, RusotoError<DescribeDeviceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
fn finalize_device_claim<'life0, 'async_trait>(
&'life0 self,
input: FinalizeDeviceClaimRequest
) -> Pin<Box<dyn Future<Output = Result<FinalizeDeviceClaimResponse, RusotoError<FinalizeDeviceClaimError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: FinalizeDeviceClaimRequest
) -> Pin<Box<dyn Future<Output = Result<FinalizeDeviceClaimResponse, RusotoError<FinalizeDeviceClaimError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: GetDeviceMethodsRequest
) -> Pin<Box<dyn Future<Output = Result<GetDeviceMethodsResponse, RusotoError<GetDeviceMethodsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: GetDeviceMethodsRequest
) -> Pin<Box<dyn Future<Output = Result<GetDeviceMethodsResponse, RusotoError<GetDeviceMethodsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Given a device ID, returns the invokable methods associated with the device.
fn initiate_device_claim<'life0, 'async_trait>(
&'life0 self,
input: InitiateDeviceClaimRequest
) -> Pin<Box<dyn Future<Output = Result<InitiateDeviceClaimResponse, RusotoError<InitiateDeviceClaimError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: InitiateDeviceClaimRequest
) -> Pin<Box<dyn Future<Output = Result<InitiateDeviceClaimResponse, RusotoError<InitiateDeviceClaimError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: InvokeDeviceMethodRequest
) -> Pin<Box<dyn Future<Output = Result<InvokeDeviceMethodResponse, RusotoError<InvokeDeviceMethodError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: InvokeDeviceMethodRequest
) -> Pin<Box<dyn Future<Output = Result<InvokeDeviceMethodResponse, RusotoError<InvokeDeviceMethodError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: ListDeviceEventsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDeviceEventsResponse, RusotoError<ListDeviceEventsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: ListDeviceEventsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDeviceEventsResponse, RusotoError<ListDeviceEventsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
fn list_devices<'life0, 'async_trait>(
&'life0 self,
input: ListDevicesRequest
) -> Pin<Box<dyn Future<Output = Result<ListDevicesResponse, RusotoError<ListDevicesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: ListDevicesRequest
) -> Pin<Box<dyn Future<Output = Result<ListDevicesResponse, RusotoError<ListDevicesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the 1-Click compatible devices associated with your AWS account.
fn list_tags_for_resource<'life0, 'async_trait>(
&'life0 self,
input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the tags associated with the specified resource ARN.
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: UnclaimDeviceRequest
) -> Pin<Box<dyn Future<Output = Result<UnclaimDeviceResponse, RusotoError<UnclaimDeviceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: UnclaimDeviceRequest
) -> Pin<Box<dyn Future<Output = Result<UnclaimDeviceResponse, RusotoError<UnclaimDeviceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Disassociates a device from your AWS account using its device ID.
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Using tag keys, deletes the tags (key/value pairs) associated with the specified resource ARN.
fn update_device_state<'life0, 'async_trait>(
&'life0 self,
input: UpdateDeviceStateRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDeviceStateResponse, RusotoError<UpdateDeviceStateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
input: UpdateDeviceStateRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDeviceStateResponse, RusotoError<UpdateDeviceStateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: ClaimDevicesByClaimCodeRequest
) -> Pin<Box<dyn Future<Output = Result<ClaimDevicesByClaimCodeResponse, RusotoError<ClaimDevicesByClaimCodeError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: ClaimDevicesByClaimCodeRequest
) -> Pin<Box<dyn Future<Output = Result<ClaimDevicesByClaimCodeResponse, RusotoError<ClaimDevicesByClaimCodeError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: DescribeDeviceRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDeviceResponse, RusotoError<DescribeDeviceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: DescribeDeviceRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeDeviceResponse, RusotoError<DescribeDeviceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.
fn finalize_device_claim<'life0, 'async_trait>(
&'life0 self,
input: FinalizeDeviceClaimRequest
) -> Pin<Box<dyn Future<Output = Result<FinalizeDeviceClaimResponse, RusotoError<FinalizeDeviceClaimError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: FinalizeDeviceClaimRequest
) -> Pin<Box<dyn Future<Output = Result<FinalizeDeviceClaimResponse, RusotoError<FinalizeDeviceClaimError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: GetDeviceMethodsRequest
) -> Pin<Box<dyn Future<Output = Result<GetDeviceMethodsResponse, RusotoError<GetDeviceMethodsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: GetDeviceMethodsRequest
) -> Pin<Box<dyn Future<Output = Result<GetDeviceMethodsResponse, RusotoError<GetDeviceMethodsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Given a device ID, returns the invokable methods associated with the device.
fn initiate_device_claim<'life0, 'async_trait>(
&'life0 self,
input: InitiateDeviceClaimRequest
) -> Pin<Box<dyn Future<Output = Result<InitiateDeviceClaimResponse, RusotoError<InitiateDeviceClaimError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: InitiateDeviceClaimRequest
) -> Pin<Box<dyn Future<Output = Result<InitiateDeviceClaimResponse, RusotoError<InitiateDeviceClaimError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: InvokeDeviceMethodRequest
) -> Pin<Box<dyn Future<Output = Result<InvokeDeviceMethodResponse, RusotoError<InvokeDeviceMethodError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: InvokeDeviceMethodRequest
) -> Pin<Box<dyn Future<Output = Result<InvokeDeviceMethodResponse, RusotoError<InvokeDeviceMethodError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: ListDeviceEventsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDeviceEventsResponse, RusotoError<ListDeviceEventsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: ListDeviceEventsRequest
) -> Pin<Box<dyn Future<Output = Result<ListDeviceEventsResponse, RusotoError<ListDeviceEventsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.
fn list_devices<'life0, 'async_trait>(
&'life0 self,
input: ListDevicesRequest
) -> Pin<Box<dyn Future<Output = Result<ListDevicesResponse, RusotoError<ListDevicesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: ListDevicesRequest
) -> Pin<Box<dyn Future<Output = Result<ListDevicesResponse, RusotoError<ListDevicesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the 1-Click compatible devices associated with your AWS account.
fn list_tags_for_resource<'life0, 'async_trait>(
&'life0 self,
input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the tags associated with the specified resource ARN.
fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<TagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
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<'life0, 'async_trait>(
&'life0 self,
input: UnclaimDeviceRequest
) -> Pin<Box<dyn Future<Output = Result<UnclaimDeviceResponse, RusotoError<UnclaimDeviceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: UnclaimDeviceRequest
) -> Pin<Box<dyn Future<Output = Result<UnclaimDeviceResponse, RusotoError<UnclaimDeviceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Disassociates a device from your AWS account using its device ID.
fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Using tag keys, deletes the tags (key/value pairs) associated with the specified resource ARN.
fn update_device_state<'life0, 'async_trait>(
&'life0 self,
input: UpdateDeviceStateRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDeviceStateResponse, RusotoError<UpdateDeviceStateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: UpdateDeviceStateRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateDeviceStateResponse, RusotoError<UpdateDeviceStateError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Using a Boolean value (true or false), this operation enables or disables the device given a device ID.