aws-sdk-assurance 1.0.0

AWS SDK for AWS Assurance
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteProject`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_arn(impl Into<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::environment_arn) / [`set_environment_arn(Option<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::set_environment_arn):<br>required: **true**<br><p>The ARN of this governance environment.</p><br>
    ///   - [`project(impl Into<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::project) / [`set_project(Option<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::set_project):<br>required: **true**<br><p>The name of the project.</p><br>
    /// - On success, responds with [`DeleteProjectOutput`](crate::operation::delete_project::DeleteProjectOutput) with field(s):
    ///   - [`message(Option<String>)`](crate::operation::delete_project::DeleteProjectOutput::message): <p>A human-readable confirmation message describing the deletion result.</p>
    /// - On failure, responds with [`SdkError<DeleteProjectError>`](crate::operation::delete_project::DeleteProjectError)
    pub fn delete_project(&self) -> crate::operation::delete_project::builders::DeleteProjectFluentBuilder {
        crate::operation::delete_project::builders::DeleteProjectFluentBuilder::new(self.handle.clone())
    }
}