1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RestartAppServer`](crate::operation::restart_app_server::builders::RestartAppServerFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_id(impl ::std::convert::Into<String>)`](crate::operation::restart_app_server::builders::RestartAppServerFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::restart_app_server::builders::RestartAppServerFluentBuilder::set_environment_id): <p>The ID of the environment to restart the server for.</p>  <p> Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns <code>MissingRequiredParameter</code> error. </p>
    ///   - [`environment_name(impl ::std::convert::Into<String>)`](crate::operation::restart_app_server::builders::RestartAppServerFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::restart_app_server::builders::RestartAppServerFluentBuilder::set_environment_name): <p>The name of the environment to restart the server for.</p>  <p> Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns <code>MissingRequiredParameter</code> error. </p>
    /// - On success, responds with [`RestartAppServerOutput`](crate::operation::restart_app_server::RestartAppServerOutput)
    /// - On failure, responds with [`SdkError<RestartAppServerError>`](crate::operation::restart_app_server::RestartAppServerError)
    pub fn restart_app_server(&self) -> crate::operation::restart_app_server::builders::RestartAppServerFluentBuilder {
        crate::operation::restart_app_server::builders::RestartAppServerFluentBuilder::new(self.handle.clone())
    }
}