aws_sdk_codecatalyst/client/delete_dev_environment.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 [`DeleteDevEnvironment`](crate::operation::delete_dev_environment::builders::DeleteDevEnvironmentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`space_name(impl Into<String>)`](crate::operation::delete_dev_environment::builders::DeleteDevEnvironmentFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::delete_dev_environment::builders::DeleteDevEnvironmentFluentBuilder::set_space_name):<br>required: **true**<br><p>The name of the space.</p><br>
7 /// - [`project_name(impl Into<String>)`](crate::operation::delete_dev_environment::builders::DeleteDevEnvironmentFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::delete_dev_environment::builders::DeleteDevEnvironmentFluentBuilder::set_project_name):<br>required: **true**<br><p>The name of the project in the space.</p><br>
8 /// - [`id(impl Into<String>)`](crate::operation::delete_dev_environment::builders::DeleteDevEnvironmentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::delete_dev_environment::builders::DeleteDevEnvironmentFluentBuilder::set_id):<br>required: **true**<br><p>The system-generated unique ID of the Dev Environment you want to delete. To retrieve a list of Dev Environment IDs, use <code>ListDevEnvironments</code>.</p><br>
9 /// - On success, responds with [`DeleteDevEnvironmentOutput`](crate::operation::delete_dev_environment::DeleteDevEnvironmentOutput) with field(s):
10 /// - [`space_name(String)`](crate::operation::delete_dev_environment::DeleteDevEnvironmentOutput::space_name): <p>The name of the space.</p>
11 /// - [`project_name(String)`](crate::operation::delete_dev_environment::DeleteDevEnvironmentOutput::project_name): <p>The name of the project in the space.</p>
12 /// - [`id(String)`](crate::operation::delete_dev_environment::DeleteDevEnvironmentOutput::id): <p>The system-generated unique ID of the deleted Dev Environment.</p>
13 /// - On failure, responds with [`SdkError<DeleteDevEnvironmentError>`](crate::operation::delete_dev_environment::DeleteDevEnvironmentError)
14 pub fn delete_dev_environment(&self) -> crate::operation::delete_dev_environment::builders::DeleteDevEnvironmentFluentBuilder {
15 crate::operation::delete_dev_environment::builders::DeleteDevEnvironmentFluentBuilder::new(self.handle.clone())
16 }
17}