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 [`DetachFromIndex`](crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`directory_arn(impl Into<String>)`](crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder::directory_arn) / [`set_directory_arn(Option<String>)`](crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder::set_directory_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the directory the index and object exist in.</p><br>
    ///   - [`index_reference(ObjectReference)`](crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder::index_reference) / [`set_index_reference(Option<ObjectReference>)`](crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder::set_index_reference):<br>required: **true**<br><p>A reference to the index object.</p><br>
    ///   - [`target_reference(ObjectReference)`](crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder::target_reference) / [`set_target_reference(Option<ObjectReference>)`](crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder::set_target_reference):<br>required: **true**<br><p>A reference to the object being detached from the index.</p><br>
    /// - On success, responds with [`DetachFromIndexOutput`](crate::operation::detach_from_index::DetachFromIndexOutput) with field(s):
    ///   - [`detached_object_identifier(Option<String>)`](crate::operation::detach_from_index::DetachFromIndexOutput::detached_object_identifier): <p>The <code>ObjectIdentifier</code> of the object that was detached from the index.</p>
    /// - On failure, responds with [`SdkError<DetachFromIndexError>`](crate::operation::detach_from_index::DetachFromIndexError)
    pub fn detach_from_index(&self) -> crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder {
        crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder::new(self.handle.clone())
    }
}