aws-sdk-iotmanagedintegrations 1.42.0

AWS SDK for Managed integrations for AWS IoT Device Management
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetManagedThingState`](crate::operation::get_managed_thing_state::builders::GetManagedThingStateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetManagedThingStateOutput`](crate::operation::get_managed_thing_state::GetManagedThingStateOutput) with field(s):
    ///   - [`endpoints(Vec::<StateEndpoint>)`](crate::operation::get_managed_thing_state::GetManagedThingStateOutput::endpoints): <p>The device endpoint.</p>
    /// - On failure, responds with [`SdkError<GetManagedThingStateError>`](crate::operation::get_managed_thing_state::GetManagedThingStateError)
    pub fn get_managed_thing_state(&self) -> crate::operation::get_managed_thing_state::builders::GetManagedThingStateFluentBuilder {
        crate::operation::get_managed_thing_state::builders::GetManagedThingStateFluentBuilder::new(self.handle.clone())
    }
}