// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetEnvironment`](crate::operation::get_environment::builders::GetEnvironmentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`environment_id(impl Into<String>)`](crate::operation::get_environment::builders::GetEnvironmentFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::get_environment::builders::GetEnvironmentFluentBuilder::set_environment_id):<br>required: **true**<br>The unique identifier of the environment to retrieve.<br>
/// - On success, responds with [`GetEnvironmentOutput`](crate::operation::get_environment::GetEnvironmentOutput) with field(s):
/// - [`environment_id(String)`](crate::operation::get_environment::GetEnvironmentOutput::environment_id): The unique identifier of the environment.
/// - [`environment_arn(String)`](crate::operation::get_environment::GetEnvironmentOutput::environment_arn): The ARN of the environment.
/// - [`name(String)`](crate::operation::get_environment::GetEnvironmentOutput::name): The customer-visible name of the environment.
/// - [`status(EnvironmentStatus)`](crate::operation::get_environment::GetEnvironmentOutput::status): The current operational status of the environment.
/// - [`status_message(Option<String>)`](crate::operation::get_environment::GetEnvironmentOutput::status_message): Human-readable details about the current status. Present when the status requires additional context (e.g., failure reason).
/// - [`status_updated_at(DateTime)`](crate::operation::get_environment::GetEnvironmentOutput::status_updated_at): The timestamp when the status last transitioned.
/// - [`created_at(DateTime)`](crate::operation::get_environment::GetEnvironmentOutput::created_at): The timestamp when the environment was created.
/// - [`updated_at(DateTime)`](crate::operation::get_environment::GetEnvironmentOutput::updated_at): The timestamp when the environment's properties were last updated.
/// - [`configuration(Option<EnvironmentConfigurationDetails>)`](crate::operation::get_environment::GetEnvironmentOutput::configuration): Type-specific configuration and state, including code sources, operating policy, Collector details, and the latest scan.
/// - On failure, responds with [`SdkError<GetEnvironmentError>`](crate::operation::get_environment::GetEnvironmentError)
pub fn get_environment(&self) -> crate::operation::get_environment::builders::GetEnvironmentFluentBuilder {
crate::operation::get_environment::builders::GetEnvironmentFluentBuilder::new(self.handle.clone())
}
}