aws_sdk_clouddirectory/client/detach_from_index.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 [`DetachFromIndex`](crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`DetachFromIndexOutput`](crate::operation::detach_from_index::DetachFromIndexOutput) with field(s):
10 /// - [`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>
11 /// - On failure, responds with [`SdkError<DetachFromIndexError>`](crate::operation::detach_from_index::DetachFromIndexError)
12 pub fn detach_from_index(&self) -> crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder {
13 crate::operation::detach_from_index::builders::DetachFromIndexFluentBuilder::new(self.handle.clone())
14 }
15}