aws_sdk_mobile/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    ///   - [`project_id(impl Into<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::project_id) / [`set_project_id(Option<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::set_project_id):<br>required: **true**<br><p>Unique project identifier.</p><br>
7    /// - On success, responds with [`DeleteProjectOutput`](crate::operation::delete_project::DeleteProjectOutput) with field(s):
8    ///   - [`deleted_resources(Option<Vec::<Resource>>)`](crate::operation::delete_project::DeleteProjectOutput::deleted_resources): <p>Resources which were deleted.</p>
9    ///   - [`orphaned_resources(Option<Vec::<Resource>>)`](crate::operation::delete_project::DeleteProjectOutput::orphaned_resources): <p>Resources which were not deleted, due to a risk of losing potentially important data or files.</p>
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}