aws_sdk_iotmanagedintegrations/client/get_managed_thing_state.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetManagedThingState`](crate::operation::get_managed_thing_state::builders::GetManagedThingStateFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`managed_thing_id(impl Into<String>)`](crate::operation::get_managed_thing_state::builders::GetManagedThingStateFluentBuilder::managed_thing_id) / [`set_managed_thing_id(Option<String>)`](crate::operation::get_managed_thing_state::builders::GetManagedThingStateFluentBuilder::set_managed_thing_id):<br>required: **true**<br><p>The id of the device.</p><br>
7 /// - On success, responds with [`GetManagedThingStateOutput`](crate::operation::get_managed_thing_state::GetManagedThingStateOutput) with field(s):
8 /// - [`endpoints(Vec::<StateEndpoint>)`](crate::operation::get_managed_thing_state::GetManagedThingStateOutput::endpoints): <p>The device endpoint.</p>
9 /// - On failure, responds with [`SdkError<GetManagedThingStateError>`](crate::operation::get_managed_thing_state::GetManagedThingStateError)
10 pub fn get_managed_thing_state(&self) -> crate::operation::get_managed_thing_state::builders::GetManagedThingStateFluentBuilder {
11 crate::operation::get_managed_thing_state::builders::GetManagedThingStateFluentBuilder::new(self.handle.clone())
12 }
13}