aws_sdk_datazone/client/
delete_project.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 [`DeleteProject`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which the project is deleted.</p><br>
7    ///   - [`identifier(impl Into<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the project that is to be deleted.</p><br>
8    ///   - [`skip_deletion_check(bool)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::skip_deletion_check) / [`set_skip_deletion_check(Option<bool>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::set_skip_deletion_check):<br>required: **false**<br><p>Specifies the optional flag to delete all child entities within the project.</p><br>
9    /// - On success, responds with [`DeleteProjectOutput`](crate::operation::delete_project::DeleteProjectOutput)
10    /// - On failure, responds with [`SdkError<DeleteProjectError>`](crate::operation::delete_project::DeleteProjectError)
11    pub fn delete_project(&self) -> crate::operation::delete_project::builders::DeleteProjectFluentBuilder {
12        crate::operation::delete_project::builders::DeleteProjectFluentBuilder::new(self.handle.clone())
13    }
14}