// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateEnvironment`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`environment_id(impl Into<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::set_environment_id):<br>required: **true**<br>The unique identifier of the environment to update.<br>
/// - [`name(impl Into<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::set_name):<br>required: **false**<br>The new customer-visible name.<br>
/// - [`configuration(UpdateEnvironmentConfiguration)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::configuration) / [`set_configuration(Option<UpdateEnvironmentConfiguration>)`](crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::set_configuration):<br>required: **false**<br>Type-specific configuration changes. Omission preserves the configuration.<br>
/// - On success, responds with [`UpdateEnvironmentOutput`](crate::operation::update_environment::UpdateEnvironmentOutput) with field(s):
/// - [`environment_id(String)`](crate::operation::update_environment::UpdateEnvironmentOutput::environment_id): The unique identifier of the updated environment.
/// - [`environment_arn(String)`](crate::operation::update_environment::UpdateEnvironmentOutput::environment_arn): The ARN of the updated environment.
/// - [`name(String)`](crate::operation::update_environment::UpdateEnvironmentOutput::name): The current customer-visible name of the environment.
/// - [`status(EnvironmentStatus)`](crate::operation::update_environment::UpdateEnvironmentOutput::status): The current operational status of the environment.
/// - [`status_message(Option<String>)`](crate::operation::update_environment::UpdateEnvironmentOutput::status_message): Human-readable details about the current status.
/// - [`status_updated_at(DateTime)`](crate::operation::update_environment::UpdateEnvironmentOutput::status_updated_at): The timestamp when the status last transitioned. Uses the existing GetEnvironment/ListEnvironments ISO-8601 wire format for this field.
/// - [`created_at(DateTime)`](crate::operation::update_environment::UpdateEnvironmentOutput::created_at): The timestamp when the environment was created. Uses the existing GetEnvironment/ListEnvironments ISO-8601 wire format for this field.
/// - [`configuration(Option<EnvironmentConfigurationDetails>)`](crate::operation::update_environment::UpdateEnvironmentOutput::configuration): Type-specific state, including Collector details and the latest scan. Read source and operating-policy settings through GetEnvironment.
/// - On failure, responds with [`SdkError<UpdateEnvironmentError>`](crate::operation::update_environment::UpdateEnvironmentError)
pub fn update_environment(&self) -> crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder {
crate::operation::update_environment::builders::UpdateEnvironmentFluentBuilder::new(self.handle.clone())
}
}