1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AttachObject`](crate::operation::attach_object::builders::AttachObjectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`directory_arn(impl Into<String>)`](crate::operation::attach_object::builders::AttachObjectFluentBuilder::directory_arn) / [`set_directory_arn(Option<String>)`](crate::operation::attach_object::builders::AttachObjectFluentBuilder::set_directory_arn): <p>Amazon Resource Name (ARN) that is associated with the <code>Directory</code> where both objects reside. For more information, see <code>arns</code>.</p>
    ///   - [`parent_reference(ObjectReference)`](crate::operation::attach_object::builders::AttachObjectFluentBuilder::parent_reference) / [`set_parent_reference(Option<ObjectReference>)`](crate::operation::attach_object::builders::AttachObjectFluentBuilder::set_parent_reference): <p>The parent object reference.</p>
    ///   - [`child_reference(ObjectReference)`](crate::operation::attach_object::builders::AttachObjectFluentBuilder::child_reference) / [`set_child_reference(Option<ObjectReference>)`](crate::operation::attach_object::builders::AttachObjectFluentBuilder::set_child_reference): <p>The child object reference to be attached to the object.</p>
    ///   - [`link_name(impl Into<String>)`](crate::operation::attach_object::builders::AttachObjectFluentBuilder::link_name) / [`set_link_name(Option<String>)`](crate::operation::attach_object::builders::AttachObjectFluentBuilder::set_link_name): <p>The link name with which the child object is attached to the parent.</p>
    /// - On success, responds with [`AttachObjectOutput`](crate::operation::attach_object::AttachObjectOutput) with field(s):
    ///   - [`attached_object_identifier(Option<String>)`](crate::operation::attach_object::AttachObjectOutput::attached_object_identifier): <p>The attached <code>ObjectIdentifier</code>, which is the child <code>ObjectIdentifier</code>.</p>
    /// - On failure, responds with [`SdkError<AttachObjectError>`](crate::operation::attach_object::AttachObjectError)
    pub fn attach_object(
        &self,
    ) -> crate::operation::attach_object::builders::AttachObjectFluentBuilder {
        crate::operation::attach_object::builders::AttachObjectFluentBuilder::new(
            self.handle.clone(),
        )
    }
}