// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RequestEnvironmentInfo`](crate::operation::request_environment_info::builders::RequestEnvironmentInfoFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`environment_id(impl Into<String>)`](crate::operation::request_environment_info::builders::RequestEnvironmentInfoFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::request_environment_info::builders::RequestEnvironmentInfoFluentBuilder::set_environment_id):<br>required: **false**<br><p>The ID of the environment of the requested data.</p> <p>If no such environment is found, <code>RequestEnvironmentInfo</code> returns an <code>InvalidParameterValue</code> error. </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><br>
/// - [`environment_name(impl Into<String>)`](crate::operation::request_environment_info::builders::RequestEnvironmentInfoFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::request_environment_info::builders::RequestEnvironmentInfoFluentBuilder::set_environment_name):<br>required: **false**<br><p>The name of the environment of the requested data.</p> <p>If no such environment is found, <code>RequestEnvironmentInfo</code> returns an <code>InvalidParameterValue</code> error. </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><br>
/// - [`info_type(EnvironmentInfoType)`](crate::operation::request_environment_info::builders::RequestEnvironmentInfoFluentBuilder::info_type) / [`set_info_type(Option<EnvironmentInfoType>)`](crate::operation::request_environment_info::builders::RequestEnvironmentInfoFluentBuilder::set_info_type):<br>required: **true**<br><p>The type of information to request.</p><br>
/// - On success, responds with [`RequestEnvironmentInfoOutput`](crate::operation::request_environment_info::RequestEnvironmentInfoOutput)
/// - On failure, responds with [`SdkError<RequestEnvironmentInfoError>`](crate::operation::request_environment_info::RequestEnvironmentInfoError)
pub fn request_environment_info(&self) -> crate::operation::request_environment_info::builders::RequestEnvironmentInfoFluentBuilder {
crate::operation::request_environment_info::builders::RequestEnvironmentInfoFluentBuilder::new(self.handle.clone())
}
}