Struct rusoto_iot_data::IotDataClient [−][src]
pub struct IotDataClient { /* fields omitted */ }
Expand description
A client for the AWS IoT Data Plane API.
Implementations
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,
Trait Implementations
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.
Auto Trait Implementations
impl !RefUnwindSafe for IotDataClient
impl Send for IotDataClient
impl Sync for IotDataClient
impl Unpin for IotDataClient
impl !UnwindSafe for IotDataClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self