// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateServiceEnvironment`](crate::operation::update_service_environment::builders::UpdateServiceEnvironmentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`service_environment(impl Into<String>)`](crate::operation::update_service_environment::builders::UpdateServiceEnvironmentFluentBuilder::service_environment) / [`set_service_environment(Option<String>)`](crate::operation::update_service_environment::builders::UpdateServiceEnvironmentFluentBuilder::set_service_environment):<br>required: **true**<br><p>The name or ARN of the service environment to update.</p><br>
/// - [`state(ServiceEnvironmentState)`](crate::operation::update_service_environment::builders::UpdateServiceEnvironmentFluentBuilder::state) / [`set_state(Option<ServiceEnvironmentState>)`](crate::operation::update_service_environment::builders::UpdateServiceEnvironmentFluentBuilder::set_state):<br>required: **false**<br><p>The state of the service environment.</p><br>
/// - [`capacity_limits(CapacityLimit)`](crate::operation::update_service_environment::builders::UpdateServiceEnvironmentFluentBuilder::capacity_limits) / [`set_capacity_limits(Option<Vec::<CapacityLimit>>)`](crate::operation::update_service_environment::builders::UpdateServiceEnvironmentFluentBuilder::set_capacity_limits):<br>required: **false**<br><p>The capacity limits for the service environment. This defines the maximum resources that can be used by service jobs in this environment.</p><br>
/// - On success, responds with [`UpdateServiceEnvironmentOutput`](crate::operation::update_service_environment::UpdateServiceEnvironmentOutput) with field(s):
/// - [`service_environment_name(Option<String>)`](crate::operation::update_service_environment::UpdateServiceEnvironmentOutput::service_environment_name): <p>The name of the service environment that was updated.</p>
/// - [`service_environment_arn(Option<String>)`](crate::operation::update_service_environment::UpdateServiceEnvironmentOutput::service_environment_arn): <p>The Amazon Resource Name (ARN) of the service environment that was updated.</p>
/// - On failure, responds with [`SdkError<UpdateServiceEnvironmentError>`](crate::operation::update_service_environment::UpdateServiceEnvironmentError)
pub fn update_service_environment(&self) -> crate::operation::update_service_environment::builders::UpdateServiceEnvironmentFluentBuilder {
crate::operation::update_service_environment::builders::UpdateServiceEnvironmentFluentBuilder::new(self.handle.clone())
}
}