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 ==.impl StructuralPartialEq for DescribeEnvironmentResourcesInput
Auto Trait Implementations§
impl Freeze for DescribeEnvironmentResourcesInput
impl RefUnwindSafe for DescribeEnvironmentResourcesInput
impl Send for DescribeEnvironmentResourcesInput
impl Sync for DescribeEnvironmentResourcesInput
impl Unpin for DescribeEnvironmentResourcesInput
impl UnwindSafe for DescribeEnvironmentResourcesInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more