aws_sdk_codecatalyst/client/
update_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 [`UpdateDevEnvironment`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`space_name(impl Into<String>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::set_space_name):<br>required: **true**<br><p>The name of the space.</p><br>
7    ///   - [`project_name(impl Into<String>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::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::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::set_id):<br>required: **true**<br><p>The system-generated unique ID of the Dev Environment.</p><br>
9    ///   - [`alias(impl Into<String>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::alias) / [`set_alias(Option<String>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::set_alias):<br>required: **false**<br><p>The user-specified alias for the Dev Environment. Changing this value will not cause a restart.</p><br>
10    ///   - [`ides(IdeConfiguration)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::ides) / [`set_ides(Option<Vec::<IdeConfiguration>>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::set_ides):<br>required: **false**<br><p>Information about the integrated development environment (IDE) configured for a Dev Environment.</p><br>
11    ///   - [`instance_type(InstanceType)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::instance_type) / [`set_instance_type(Option<InstanceType>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::set_instance_type):<br>required: **false**<br><p>The Amazon EC2 instace type to use for the Dev Environment.</p><note>  <p>Changing this value will cause a restart of the Dev Environment if it is running.</p> </note><br>
12    ///   - [`inactivity_timeout_minutes(i32)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::inactivity_timeout_minutes) / [`set_inactivity_timeout_minutes(Option<i32>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::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><note>  <p>Changing this value will cause a restart of the Dev Environment if it is running.</p> </note><br>
13    ///   - [`client_token(impl Into<String>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::set_client_token):<br>required: **false**<br><p>A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.</p><br>
14    /// - On success, responds with [`UpdateDevEnvironmentOutput`](crate::operation::update_dev_environment::UpdateDevEnvironmentOutput) with field(s):
15    ///   - [`id(String)`](crate::operation::update_dev_environment::UpdateDevEnvironmentOutput::id): <p>The system-generated unique ID of the Dev Environment.</p>
16    ///   - [`space_name(String)`](crate::operation::update_dev_environment::UpdateDevEnvironmentOutput::space_name): <p>The name of the space.</p>
17    ///   - [`project_name(String)`](crate::operation::update_dev_environment::UpdateDevEnvironmentOutput::project_name): <p>The name of the project in the space.</p>
18    ///   - [`alias(Option<String>)`](crate::operation::update_dev_environment::UpdateDevEnvironmentOutput::alias): <p>The user-specified alias for the Dev Environment.</p>
19    ///   - [`ides(Option<Vec::<IdeConfiguration>>)`](crate::operation::update_dev_environment::UpdateDevEnvironmentOutput::ides): <p>Information about the integrated development environment (IDE) configured for the Dev Environment.</p>
20    ///   - [`instance_type(Option<InstanceType>)`](crate::operation::update_dev_environment::UpdateDevEnvironmentOutput::instance_type): <p>The Amazon EC2 instace type to use for the Dev Environment.</p>
21    ///   - [`inactivity_timeout_minutes(i32)`](crate::operation::update_dev_environment::UpdateDevEnvironmentOutput::inactivity_timeout_minutes): <p>The amount of time the Dev Environment will run without any activity detected before stopping, in minutes.</p>
22    ///   - [`client_token(Option<String>)`](crate::operation::update_dev_environment::UpdateDevEnvironmentOutput::client_token): <p>A user-specified idempotency token. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries return the result from the original successful request and have no additional effect.</p>
23    /// - On failure, responds with [`SdkError<UpdateDevEnvironmentError>`](crate::operation::update_dev_environment::UpdateDevEnvironmentError)
24    pub fn update_dev_environment(&self) -> crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder {
25        crate::operation::update_dev_environment::builders::UpdateDevEnvironmentFluentBuilder::new(self.handle.clone())
26    }
27}