Trait rusoto_iot_data::IotData
source · [−]pub trait IotData {
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;
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;
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;
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;
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;
}
Expand description
Trait representing the capabilities of the AWS IoT Data Plane API. AWS IoT Data Plane clients implement this trait.
Required Methods
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,
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,
Deletes the shadow for the specified thing.
For more information, see DeleteThingShadow in the AWS IoT Developer Guide.
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,
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,
Gets the shadow for the specified thing.
For more information, see GetThingShadow in the AWS IoT Developer Guide.
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,
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,
Lists the shadows for the specified thing.
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,
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,
Publishes state information.
For more information, see HTTP Protocol in the AWS IoT Developer Guide.
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,
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,
Updates the shadow for the specified thing.
For more information, see UpdateThingShadow in the AWS IoT Developer Guide.