1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateEntityToThing`](crate::operation::associate_entity_to_thing::builders::AssociateEntityToThingFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`thing_name(impl Into<String>)`](crate::operation::associate_entity_to_thing::builders::AssociateEntityToThingFluentBuilder::thing_name) / [`set_thing_name(Option<String>)`](crate::operation::associate_entity_to_thing::builders::AssociateEntityToThingFluentBuilder::set_thing_name):<br>required: **true**<br><p>The name of the thing to which the entity is to be associated.</p><br>
    ///   - [`entity_id(impl Into<String>)`](crate::operation::associate_entity_to_thing::builders::AssociateEntityToThingFluentBuilder::entity_id) / [`set_entity_id(Option<String>)`](crate::operation::associate_entity_to_thing::builders::AssociateEntityToThingFluentBuilder::set_entity_id):<br>required: **true**<br><p>The ID of the device to be associated with the thing.</p> <p>The ID should be in the following format.</p> <p><code>urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME</code></p><br>
    ///   - [`namespace_version(i64)`](crate::operation::associate_entity_to_thing::builders::AssociateEntityToThingFluentBuilder::namespace_version) / [`set_namespace_version(Option<i64>)`](crate::operation::associate_entity_to_thing::builders::AssociateEntityToThingFluentBuilder::set_namespace_version):<br>required: **false**<br><p>The version of the user's namespace. Defaults to the latest version of the user's namespace.</p><br>
    /// - On success, responds with [`AssociateEntityToThingOutput`](crate::operation::associate_entity_to_thing::AssociateEntityToThingOutput)
    /// - On failure, responds with [`SdkError<AssociateEntityToThingError>`](crate::operation::associate_entity_to_thing::AssociateEntityToThingError)
    #[deprecated(note = "since: 2022-08-30")]
    pub fn associate_entity_to_thing(&self) -> crate::operation::associate_entity_to_thing::builders::AssociateEntityToThingFluentBuilder {
        crate::operation::associate_entity_to_thing::builders::AssociateEntityToThingFluentBuilder::new(self.handle.clone())
    }
}