// 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:
/// - [`lookup(EnvironmentLookup)`](crate::operation::get_environment::builders::GetEnvironmentFluentBuilder::lookup) / [`set_lookup(Option<EnvironmentLookup>)`](crate::operation::get_environment::builders::GetEnvironmentFluentBuilder::set_lookup):<br>required: **true**<br><p>The lookup criteria used to resolve the item.</p><br>
/// - On success, responds with [`GetEnvironmentOutput`](crate::operation::get_environment::GetEnvironmentOutput) with field(s):
/// - [`environment(Option<Environment>)`](crate::operation::get_environment::GetEnvironmentOutput::environment): <p>The governance environment that was retrieved.</p>
/// - 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())
}
}