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
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SendManagedThingCommand`](crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`SendManagedThingCommandOutput`](crate::operation::send_managed_thing_command::SendManagedThingCommandOutput) with field(s):
    ///   - [`trace_id(Option<String>)`](crate::operation::send_managed_thing_command::SendManagedThingCommandOutput::trace_id): <p>The trace request identifier. This is generated by IoT managed integrations and can be used to trace this command and its related operations in CloudWatch.</p>
    /// - On failure, responds with [`SdkError<SendManagedThingCommandError>`](crate::operation::send_managed_thing_command::SendManagedThingCommandError)
    pub fn send_managed_thing_command(&self) -> crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder {
        crate::operation::send_managed_thing_command::builders::SendManagedThingCommandFluentBuilder::new(self.handle.clone())
    }
}