aws_sdk_codecatalyst/client/get_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 [`GetDevEnvironment`](crate::operation::get_dev_environment::builders::GetDevEnvironmentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`space_name(impl Into<String>)`](crate::operation::get_dev_environment::builders::GetDevEnvironmentFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::get_dev_environment::builders::GetDevEnvironmentFluentBuilder::set_space_name):<br>required: **true**<br><p>The name of the space.</p><br>
7 /// - [`project_name(impl Into<String>)`](crate::operation::get_dev_environment::builders::GetDevEnvironmentFluentBuilder::project_name) / [`set_project_name(Option<String>)`](crate::operation::get_dev_environment::builders::GetDevEnvironmentFluentBuilder::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::get_dev_environment::builders::GetDevEnvironmentFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_dev_environment::builders::GetDevEnvironmentFluentBuilder::set_id):<br>required: **true**<br><p>The system-generated unique ID of the Dev Environment for which you want to view information. To retrieve a list of Dev Environment IDs, use <code>ListDevEnvironments</code>.</p><br>
9 /// - On success, responds with [`GetDevEnvironmentOutput`](crate::operation::get_dev_environment::GetDevEnvironmentOutput) with field(s):
10 /// - [`space_name(String)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::space_name): <p>The name of the space.</p>
11 /// - [`project_name(String)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::project_name): <p>The name of the project in the space.</p>
12 /// - [`id(String)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::id): <p>The system-generated unique ID of the Dev Environment.</p>
13 /// - [`last_updated_time(DateTime)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::last_updated_time): <p>The time when the Dev Environment was last updated, in coordinated universal time (UTC) timestamp format as specified in <a href="https://www.rfc-editor.org/rfc/rfc3339#section-5.6">RFC 3339</a>.</p>
14 /// - [`creator_id(String)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::creator_id): <p>The system-generated unique ID of the user who created the Dev Environment.</p>
15 /// - [`status(DevEnvironmentStatus)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::status): <p>The current status of the Dev Environment.</p>
16 /// - [`status_reason(Option<String>)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::status_reason): <p>The reason for the status.</p>
17 /// - [`repositories(Vec::<DevEnvironmentRepositorySummary>)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::repositories): <p>The source repository that contains the branch cloned into the Dev Environment.</p>
18 /// - [`alias(Option<String>)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::alias): <p>The user-specified alias for the Dev Environment.</p>
19 /// - [`ides(Option<Vec::<Ide>>)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::ides): <p>Information about the integrated development environment (IDE) configured for the Dev Environment.</p>
20 /// - [`instance_type(InstanceType)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::instance_type): <p>The Amazon EC2 instace type to use for the Dev Environment.</p>
21 /// - [`inactivity_timeout_minutes(i32)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::inactivity_timeout_minutes): <p>The amount of time the Dev Environment will run without any activity detected before stopping, in minutes.</p>
22 /// - [`persistent_storage(Option<PersistentStorage>)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::persistent_storage): <p>Information about the amount of storage allocated to the Dev Environment. By default, a Dev Environment is configured to have 16GB of persistent storage.</p>
23 /// - [`vpc_connection_name(Option<String>)`](crate::operation::get_dev_environment::GetDevEnvironmentOutput::vpc_connection_name): <p>The name of the connection used to connect to Amazon VPC used when the Dev Environment was created, if any.</p>
24 /// - On failure, responds with [`SdkError<GetDevEnvironmentError>`](crate::operation::get_dev_environment::GetDevEnvironmentError)
25 pub fn get_dev_environment(&self) -> crate::operation::get_dev_environment::builders::GetDevEnvironmentFluentBuilder {
26 crate::operation::get_dev_environment::builders::GetDevEnvironmentFluentBuilder::new(self.handle.clone())
27 }
28}