[−][src]Struct rusoto_iot1click_devices::Iot1ClickDevicesClient
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]
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,
Trait Implementations
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.
impl Clone for Iot1ClickDevicesClient
[src]
fn clone(&self) -> 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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self