aws_sdk_iotmanagedintegrations/client/get_managed_thing_connectivity_data.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 [`GetManagedThingConnectivityData`](crate::operation::get_managed_thing_connectivity_data::builders::GetManagedThingConnectivityDataFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`identifier(impl Into<String>)`](crate::operation::get_managed_thing_connectivity_data::builders::GetManagedThingConnectivityDataFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_managed_thing_connectivity_data::builders::GetManagedThingConnectivityDataFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of a managed thing.</p><br>
7 /// - On success, responds with [`GetManagedThingConnectivityDataOutput`](crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataOutput) with field(s):
8 /// - [`managed_thing_id(Option<String>)`](crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataOutput::managed_thing_id): <p>The id of a managed thing.</p>
9 /// - [`connected(Option<bool>)`](crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataOutput::connected): <p>The connectivity status for a managed thing.</p>
10 /// - [`timestamp(Option<DateTime>)`](crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataOutput::timestamp): <p>The timestamp value of when the connectivity status for a managed thing was last taken.</p>
11 /// - [`disconnect_reason(Option<DisconnectReasonValue>)`](crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataOutput::disconnect_reason): <p>The reason for the connectivity disconnect with the managed thing.</p>
12 /// - On failure, responds with [`SdkError<GetManagedThingConnectivityDataError>`](crate::operation::get_managed_thing_connectivity_data::GetManagedThingConnectivityDataError)
13 pub fn get_managed_thing_connectivity_data(
14 &self,
15 ) -> crate::operation::get_managed_thing_connectivity_data::builders::GetManagedThingConnectivityDataFluentBuilder {
16 crate::operation::get_managed_thing_connectivity_data::builders::GetManagedThingConnectivityDataFluentBuilder::new(self.handle.clone())
17 }
18}