[][src]Trait rusoto_iot1click_devices::Iot1ClickDevices

pub trait Iot1ClickDevices {
#[must_use]    pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
;
#[must_use] pub 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
; }

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

#[must_use]pub 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]

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).

#[must_use]pub 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]

Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.

#[must_use]pub 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]

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.

#[must_use]pub 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]

Given a device ID, returns the invokable methods associated with the device.

#[must_use]pub 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]

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.

#[must_use]pub 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]

Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.

#[must_use]pub 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]

Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.

#[must_use]pub 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]

Lists the 1-Click compatible devices associated with your AWS account.

#[must_use]pub 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]

Lists the tags associated with the specified resource ARN.

#[must_use]pub 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]

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.

#[must_use]pub 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]

Disassociates a device from your AWS account using its device ID.

#[must_use]pub 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]

Using tag keys, deletes the tags (key/value pairs) associated with the specified resource ARN.

#[must_use]pub 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]

Using a Boolean value (true or false), this operation enables or disables the device given a device ID.

Loading content...

Implementors

impl Iot1ClickDevices for Iot1ClickDevicesClient[src]

pub 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]

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).

pub 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]

Given a device ID, returns a DescribeDeviceResponse object describing the details of the device.

pub 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]

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.

pub 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]

Given a device ID, returns the invokable methods associated with the device.

pub 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]

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.

pub 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]

Given a device ID, issues a request to invoke a named device method (with possible parameters). See the "Example POST" code snippet below.

pub 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]

Using a device ID, returns a DeviceEventsResponse object containing an array of events for the device.

pub 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]

Lists the 1-Click compatible devices associated with your AWS account.

pub 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]

Lists the tags associated with the specified resource ARN.

pub 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]

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.

pub 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]

Disassociates a device from your AWS account using its device ID.

pub 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]

Using tag keys, deletes the tags (key/value pairs) associated with the specified resource ARN.

pub 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]

Using a Boolean value (true or false), this operation enables or disables the device given a device ID.

Loading content...