[−][src]Struct rusoto_iot_data::IotDataClient
A client for the AWS IoT Data Plane API.
Implementations
impl IotDataClient
[src]
pub fn new(region: Region) -> IotDataClient
[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
) -> IotDataClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
[src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> IotDataClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> IotDataClient
[src]
Trait Implementations
impl Clone for IotDataClient
[src]
pub fn clone(&self) -> IotDataClient
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl IotData for IotDataClient
[src]
pub fn delete_thing_shadow<'life0, 'async_trait>(
&'life0 self,
input: DeleteThingShadowRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteThingShadowResponse, RusotoError<DeleteThingShadowError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: DeleteThingShadowRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteThingShadowResponse, RusotoError<DeleteThingShadowError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Deletes the shadow for the specified thing.
For more information, see DeleteThingShadow in the AWS IoT Developer Guide.
pub fn get_thing_shadow<'life0, 'async_trait>(
&'life0 self,
input: GetThingShadowRequest
) -> Pin<Box<dyn Future<Output = Result<GetThingShadowResponse, RusotoError<GetThingShadowError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: GetThingShadowRequest
) -> Pin<Box<dyn Future<Output = Result<GetThingShadowResponse, RusotoError<GetThingShadowError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Gets the shadow for the specified thing.
For more information, see GetThingShadow in the AWS IoT Developer Guide.
pub fn list_named_shadows_for_thing<'life0, 'async_trait>(
&'life0 self,
input: ListNamedShadowsForThingRequest
) -> Pin<Box<dyn Future<Output = Result<ListNamedShadowsForThingResponse, RusotoError<ListNamedShadowsForThingError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: ListNamedShadowsForThingRequest
) -> Pin<Box<dyn Future<Output = Result<ListNamedShadowsForThingResponse, RusotoError<ListNamedShadowsForThingError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Lists the shadows for the specified thing.
pub fn publish<'life0, 'async_trait>(
&'life0 self,
input: PublishRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<PublishError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: PublishRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<PublishError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Publishes state information.
For more information, see HTTP Protocol in the AWS IoT Developer Guide.
pub fn update_thing_shadow<'life0, 'async_trait>(
&'life0 self,
input: UpdateThingShadowRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateThingShadowResponse, RusotoError<UpdateThingShadowError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
input: UpdateThingShadowRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateThingShadowResponse, RusotoError<UpdateThingShadowError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Updates the shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.
Auto Trait Implementations
impl !RefUnwindSafe for IotDataClient
[src]
impl Send for IotDataClient
[src]
impl Sync for IotDataClient
[src]
impl Unpin for IotDataClient
[src]
impl !UnwindSafe for IotDataClient
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,