1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteEntity`](crate::operation::delete_entity::builders::DeleteEntityFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`workspace_id(impl Into<String>)`](crate::operation::delete_entity::builders::DeleteEntityFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::delete_entity::builders::DeleteEntityFluentBuilder::set_workspace_id): <p>The ID of the workspace that contains the entity to delete.</p>
    ///   - [`entity_id(impl Into<String>)`](crate::operation::delete_entity::builders::DeleteEntityFluentBuilder::entity_id) / [`set_entity_id(Option<String>)`](crate::operation::delete_entity::builders::DeleteEntityFluentBuilder::set_entity_id): <p>The ID of the entity to delete.</p>
    ///   - [`is_recursive(bool)`](crate::operation::delete_entity::builders::DeleteEntityFluentBuilder::is_recursive) / [`set_is_recursive(Option<bool>)`](crate::operation::delete_entity::builders::DeleteEntityFluentBuilder::set_is_recursive): <p>A Boolean value that specifies whether the operation deletes child entities.</p>
    /// - On success, responds with [`DeleteEntityOutput`](crate::operation::delete_entity::DeleteEntityOutput) with field(s):
    ///   - [`state(Option<State>)`](crate::operation::delete_entity::DeleteEntityOutput::state): <p>The current state of the deleted entity.</p>
    /// - On failure, responds with [`SdkError<DeleteEntityError>`](crate::operation::delete_entity::DeleteEntityError)
    pub fn delete_entity(
        &self,
    ) -> crate::operation::delete_entity::builders::DeleteEntityFluentBuilder {
        crate::operation::delete_entity::builders::DeleteEntityFluentBuilder::new(
            self.handle.clone(),
        )
    }
}