aws_sdk_codecatalyst/client/stop_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 [`StopDevEnvironment`](crate::operation::stop_dev_environment::builders::StopDevEnvironmentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`space_name(impl Into<String>)`](crate::operation::stop_dev_environment::builders::StopDevEnvironmentFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::stop_dev_environment::builders::StopDevEnvironmentFluentBuilder::set_space_name):<br>required: **true**<br><p>The name of the space.</p><br>
7 /// - [`project_name(impl Into<String>)`](crate::operation::stop_dev_environment::builders::StopDevEnvironmentFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::stop_dev_environment::builders::StopDevEnvironmentFluentBuilder::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::stop_dev_environment::builders::StopDevEnvironmentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::stop_dev_environment::builders::StopDevEnvironmentFluentBuilder::set_id):<br>required: **true**<br><p>The system-generated unique ID of the Dev Environment.</p><br>
9 /// - On success, responds with [`StopDevEnvironmentOutput`](crate::operation::stop_dev_environment::StopDevEnvironmentOutput) with field(s):
10 /// - [`space_name(String)`](crate::operation::stop_dev_environment::StopDevEnvironmentOutput::space_name): <p>The name of the space.</p>
11 /// - [`project_name(String)`](crate::operation::stop_dev_environment::StopDevEnvironmentOutput::project_name): <p>The name of the project in the space.</p>
12 /// - [`id(String)`](crate::operation::stop_dev_environment::StopDevEnvironmentOutput::id): <p>The system-generated unique ID of the Dev Environment.</p>
13 /// - [`status(DevEnvironmentStatus)`](crate::operation::stop_dev_environment::StopDevEnvironmentOutput::status): <p>The status of the Dev Environment.</p>
14 /// - On failure, responds with [`SdkError<StopDevEnvironmentError>`](crate::operation::stop_dev_environment::StopDevEnvironmentError)
15 pub fn stop_dev_environment(&self) -> crate::operation::stop_dev_environment::builders::StopDevEnvironmentFluentBuilder {
16 crate::operation::stop_dev_environment::builders::StopDevEnvironmentFluentBuilder::new(self.handle.clone())
17 }
18}