1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StopDevEnvironmentSession`](crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`StopDevEnvironmentSessionOutput`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionOutput) with field(s):
    ///   - [`space_name(String)`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionOutput::space_name): <p>The name of the space.</p>
    ///   - [`project_name(String)`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionOutput::project_name): <p>The name of the project in the space.</p>
    ///   - [`id(String)`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionOutput::id): <p>The system-generated unique ID of the Dev Environment.</p>
    ///   - [`session_id(String)`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionOutput::session_id): <p>The system-generated unique ID of the Dev Environment session.</p>
    /// - On failure, responds with [`SdkError<StopDevEnvironmentSessionError>`](crate::operation::stop_dev_environment_session::StopDevEnvironmentSessionError)
    pub fn stop_dev_environment_session(&self) -> crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder {
        crate::operation::stop_dev_environment_session::builders::StopDevEnvironmentSessionFluentBuilder::new(self.handle.clone())
    }
}