aws_sdk_codecatalyst/client/stop_dev_environment_session.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 [`StopDevEnvironmentSession`](crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`space_name(impl Into<String>)`](crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder::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_session::builders::StopDevEnvironmentSessionFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder::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_session::builders::StopDevEnvironmentSessionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder::set_id):<br>required: **true**<br><p>The system-generated unique ID of the Dev Environment. To obtain this ID, use <code>ListDevEnvironments</code>.</p><br>
9 /// - [`session_id(impl Into<String>)`](crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder::set_session_id):<br>required: **true**<br><p>The system-generated unique ID of the Dev Environment session. This ID is returned by <code>StartDevEnvironmentSession</code>.</p><br>
10 /// - On success, responds with [`StopDevEnvironmentSessionOutput`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionOutput) with field(s):
11 /// - [`space_name(String)`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionOutput::space_name): <p>The name of the space.</p>
12 /// - [`project_name(String)`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionOutput::project_name): <p>The name of the project in the space.</p>
13 /// - [`id(String)`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionOutput::id): <p>The system-generated unique ID of the Dev Environment.</p>
14 /// - [`session_id(String)`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionOutput::session_id): <p>The system-generated unique ID of the Dev Environment session.</p>
15 /// - On failure, responds with [`SdkError<StopDevEnvironmentSessionError>`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionError)
16 pub fn stop_dev_environment_session(&self) -> crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder {
17 crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder::new(self.handle.clone())
18 }
19}