aws_sdk_iotsitewise/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>The ID of the project.</p><br>
7    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p><br>
8    /// - On success, responds with [`DeleteProjectOutput`](crate::operation::delete_project::DeleteProjectOutput)
9    /// - On failure, responds with [`SdkError<DeleteProjectError>`](crate::operation::delete_project::DeleteProjectError)
10    pub fn delete_project(&self) -> crate::operation::delete_project::builders::DeleteProjectFluentBuilder {
11        crate::operation::delete_project::builders::DeleteProjectFluentBuilder::new(self.handle.clone())
12    }
13}