Struct aws_sdk_elasticbeanstalk::operation::describe_environment_resources::DescribeEnvironmentResourcesInput
source · #[non_exhaustive]pub struct DescribeEnvironmentResourcesInput {
pub environment_id: Option<String>,
pub environment_name: Option<String>,
}Expand description
Request to describe the resources in an environment.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.environment_id: Option<String>The ID of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
environment_name: Option<String>The name of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
Implementations§
source§impl DescribeEnvironmentResourcesInput
impl DescribeEnvironmentResourcesInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
The name of the environment to retrieve AWS resource usage data.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
source§impl DescribeEnvironmentResourcesInput
impl DescribeEnvironmentResourcesInput
sourcepub fn builder() -> DescribeEnvironmentResourcesInputBuilder
pub fn builder() -> DescribeEnvironmentResourcesInputBuilder
Creates a new builder-style object to manufacture DescribeEnvironmentResourcesInput.
Trait Implementations§
source§impl Clone for DescribeEnvironmentResourcesInput
impl Clone for DescribeEnvironmentResourcesInput
source§fn clone(&self) -> DescribeEnvironmentResourcesInput
fn clone(&self) -> DescribeEnvironmentResourcesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for DescribeEnvironmentResourcesInput
impl PartialEq for DescribeEnvironmentResourcesInput
source§fn eq(&self, other: &DescribeEnvironmentResourcesInput) -> bool
fn eq(&self, other: &DescribeEnvironmentResourcesInput) -> bool
self and other values to be equal, and is used
by ==.