aws_sdk_iot/client/get_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 [`GetThingConnectivityData`](crate::operation::get_thing_connectivity_data::builders::GetThingConnectivityDataFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`thing_name(impl Into<String>)`](crate::operation::get_thing_connectivity_data::builders::GetThingConnectivityDataFluentBuilder::thing_name) / [`set_thing_name(Option<String>)`](crate::operation::get_thing_connectivity_data::builders::GetThingConnectivityDataFluentBuilder::set_thing_name):<br>required: **true**<br><p>The name of your IoT thing.</p><br>
7 /// - On success, responds with [`GetThingConnectivityDataOutput`](crate::operation::get_thing_connectivity_data::GetThingConnectivityDataOutput) with field(s):
8 /// - [`thing_name(Option<String>)`](crate::operation::get_thing_connectivity_data::GetThingConnectivityDataOutput::thing_name): <p>The name of your IoT thing.</p>
9 /// - [`connected(Option<bool>)`](crate::operation::get_thing_connectivity_data::GetThingConnectivityDataOutput::connected): <p>A Boolean that indicates the connectivity status.</p>
10 /// - [`timestamp(Option<DateTime>)`](crate::operation::get_thing_connectivity_data::GetThingConnectivityDataOutput::timestamp): <p>The timestamp of when the event occurred.</p>
11 /// - [`disconnect_reason(Option<DisconnectReasonValue>)`](crate::operation::get_thing_connectivity_data::GetThingConnectivityDataOutput::disconnect_reason): <p>The reason why the client is disconnecting.</p>
12 /// - On failure, responds with [`SdkError<GetThingConnectivityDataError>`](crate::operation::get_thing_connectivity_data::GetThingConnectivityDataError)
13 pub fn get_thing_connectivity_data(&self) -> crate::operation::get_thing_connectivity_data::builders::GetThingConnectivityDataFluentBuilder {
14 crate::operation::get_thing_connectivity_data::builders::GetThingConnectivityDataFluentBuilder::new(self.handle.clone())
15 }
16}