aws_sdk_iotmanagedintegrations/client/send_managed_thing_command.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 [`SendManagedThingCommand`](crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`managed_thing_id(impl Into<String>)`](crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder::managed_thing_id) / [`set_managed_thing_id(Option<String>)`](crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder::set_managed_thing_id):<br>required: **true**<br><p>The id of the device.</p><br>
7 /// - [`endpoints(CommandEndpoint)`](crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder::endpoints) / [`set_endpoints(Option<Vec::<CommandEndpoint>>)`](crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder::set_endpoints):<br>required: **true**<br><p>The device endpoint.</p><br>
8 /// - [`connector_association_id(impl Into<String>)`](crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder::connector_association_id) / [`set_connector_association_id(Option<String>)`](crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder::set_connector_association_id):<br>required: **false**<br><p>The ID tracking the current discovery process for one connector association.</p><br>
9 /// - [`account_association_id(impl Into<String>)`](crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder::account_association_id) / [`set_account_association_id(Option<String>)`](crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder::set_account_association_id):<br>required: **false**<br><p>The identifier of the account association to use when sending a command to a managed thing.</p><br>
10 /// - On success, responds with [`SendManagedThingCommandOutput`](crate::operation::send_managed_thing_command::SendManagedThingCommandOutput) with field(s):
11 /// - [`trace_id(Option<String>)`](crate::operation::send_managed_thing_command::SendManagedThingCommandOutput::trace_id): <p>The trace request identifier. This is specified by the device owner, but will be generated by IoT managed integrations if not provided by the device owner.</p>
12 /// - On failure, responds with [`SdkError<SendManagedThingCommandError>`](crate::operation::send_managed_thing_command::SendManagedThingCommandError)
13 pub fn send_managed_thing_command(&self) -> crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder {
14 crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder::new(self.handle.clone())
15 }
16}