aws_sdk_codecatalyst/client/start_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 [`StartDevEnvironment`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`space_name(impl Into<String>)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::set_space_name):<br>required: **true**<br><p>The name of the space.</p><br>
7 /// - [`project_name(impl Into<String>)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::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::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::set_id):<br>required: **true**<br><p>The system-generated unique ID of the Dev Environment.</p><br>
9 /// - [`ides(IdeConfiguration)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::ides) / [`set_ides(Option<Vec::<IdeConfiguration>>)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::set_ides):<br>required: **false**<br><p>Information about the integrated development environment (IDE) configured for a Dev Environment.</p><br>
10 /// - [`instance_type(InstanceType)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::instance_type) / [`set_instance_type(Option<InstanceType>)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::set_instance_type):<br>required: **false**<br><p>The Amazon EC2 instace type to use for the Dev Environment.</p><br>
11 /// - [`inactivity_timeout_minutes(i32)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::inactivity_timeout_minutes) / [`set_inactivity_timeout_minutes(Option<i32>)`](crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::set_inactivity_timeout_minutes):<br>required: **false**<br><p>The amount of time the Dev Environment will run without any activity detected before stopping, in minutes. Only whole integers are allowed. Dev Environments consume compute minutes when running.</p><br>
12 /// - On success, responds with [`StartDevEnvironmentOutput`](crate::operation::start_dev_environment::StartDevEnvironmentOutput) with field(s):
13 /// - [`space_name(String)`](crate::operation::start_dev_environment::StartDevEnvironmentOutput::space_name): <p>The name of the space.</p>
14 /// - [`project_name(String)`](crate::operation::start_dev_environment::StartDevEnvironmentOutput::project_name): <p>The name of the project in the space.</p>
15 /// - [`id(String)`](crate::operation::start_dev_environment::StartDevEnvironmentOutput::id): <p>The system-generated unique ID of the Dev Environment.</p>
16 /// - [`status(DevEnvironmentStatus)`](crate::operation::start_dev_environment::StartDevEnvironmentOutput::status): <p>The status of the Dev Environment.</p>
17 /// - On failure, responds with [`SdkError<StartDevEnvironmentError>`](crate::operation::start_dev_environment::StartDevEnvironmentError)
18 pub fn start_dev_environment(&self) -> crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder {
19 crate::operation::start_dev_environment::builders::StartDevEnvironmentFluentBuilder::new(self.handle.clone())
20 }
21}