1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeEnvironmentResources`](crate::operation::describe_environment_resources::builders::DescribeEnvironmentResourcesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_id(impl Into<String>)`](crate::operation::describe_environment_resources::builders::DescribeEnvironmentResourcesFluentBuilder::environment_id) / [`set_environment_id(Option<String>)`](crate::operation::describe_environment_resources::builders::DescribeEnvironmentResourcesFluentBuilder::set_environment_id):<br>required: **false**<br><p>The ID of the environment to retrieve AWS resource usage data.</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::describe_environment_resources::builders::DescribeEnvironmentResourcesFluentBuilder::environment_name) / [`set_environment_name(Option<String>)`](crate::operation::describe_environment_resources::builders::DescribeEnvironmentResourcesFluentBuilder::set_environment_name):<br>required: **false**<br><p>The name of the environment to retrieve AWS resource usage data.</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>
    /// - On success, responds with [`DescribeEnvironmentResourcesOutput`](crate::operation::describe_environment_resources::DescribeEnvironmentResourcesOutput) with field(s):
    ///   - [`environment_resources(Option<EnvironmentResourceDescription>)`](crate::operation::describe_environment_resources::DescribeEnvironmentResourcesOutput::environment_resources): <p>A list of <code>EnvironmentResourceDescription</code>.</p>
    /// - On failure, responds with [`SdkError<DescribeEnvironmentResourcesError>`](crate::operation::describe_environment_resources::DescribeEnvironmentResourcesError)
    pub fn describe_environment_resources(
        &self,
    ) -> crate::operation::describe_environment_resources::builders::DescribeEnvironmentResourcesFluentBuilder {
        crate::operation::describe_environment_resources::builders::DescribeEnvironmentResourcesFluentBuilder::new(self.handle.clone())
    }
}