[][src]Struct rusoto_iot1click_devices::Iot1ClickDevicesClient

pub struct Iot1ClickDevicesClient { /* fields omitted */ }

A client for the AWS IoT 1-Click Devices Service API.

Methods

impl Iot1ClickDevicesClient[src]

pub fn new(region: Region) -> Iot1ClickDevicesClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> Iot1ClickDevicesClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl Iot1ClickDevices for Iot1ClickDevicesClient[src]

fn claim_devices_by_claim_code(
    &self,
    input: ClaimDevicesByClaimCodeRequest
) -> RusotoFuture<ClaimDevicesByClaimCodeResponse, ClaimDevicesByClaimCodeError>
[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).

fn describe_device(
    &self,
    input: DescribeDeviceRequest
) -> RusotoFuture<DescribeDeviceResponse, DescribeDeviceError>
[src]

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]

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]

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

fn initiate_device_claim(
    &self,
    input: InitiateDeviceClaimRequest
) -> RusotoFuture<InitiateDeviceClaimResponse, InitiateDeviceClaimError>
[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.

fn invoke_device_method(
    &self,
    input: InvokeDeviceMethodRequest
) -> RusotoFuture<InvokeDeviceMethodResponse, InvokeDeviceMethodError>
[src]

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]

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]

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

fn list_tags_for_resource(
    &self,
    input: ListTagsForResourceRequest
) -> RusotoFuture<ListTagsForResourceResponse, ListTagsForResourceError>
[src]

Lists the tags associated with the specified resource ARN.

fn tag_resource(
    &self,
    input: TagResourceRequest
) -> RusotoFuture<(), TagResourceError>
[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.

fn unclaim_device(
    &self,
    input: UnclaimDeviceRequest
) -> RusotoFuture<UnclaimDeviceResponse, UnclaimDeviceError>
[src]

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

fn untag_resource(
    &self,
    input: UntagResourceRequest
) -> RusotoFuture<(), UntagResourceError>
[src]

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]

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

impl Clone for Iot1ClickDevicesClient[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Iot1ClickDevicesClient

impl Sync for Iot1ClickDevicesClient

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self