logo
pub struct Iot1ClickDevicesClient { /* private fields */ }
Expand description

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

Implementations

Creates a client backed by the default tokio event loop.

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

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

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.

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

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.

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

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

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

Lists the tags associated with the specified resource ARN.

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.

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

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

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

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

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more