Struct aws_sdk_elasticbeanstalk::operation::retrieve_environment_info::RetrieveEnvironmentInfoInput
source · #[non_exhaustive]pub struct RetrieveEnvironmentInfoInput {
pub environment_id: Option<String>,
pub environment_name: Option<String>,
pub info_type: Option<EnvironmentInfoType>,
}
Expand description
Request to download logs retrieved with RequestEnvironmentInfo
.
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 data's environment.
If no such environment is found, returns an InvalidParameterValue
error.
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 data's environment.
If no such environment is found, returns an InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
error.
info_type: Option<EnvironmentInfoType>
The type of information to retrieve.
Implementations§
source§impl RetrieveEnvironmentInfoInput
impl RetrieveEnvironmentInfoInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the data's environment.
If no such environment is found, returns an InvalidParameterValue
error.
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 data's environment.
If no such environment is found, returns an InvalidParameterValue
error.
Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter
error.
sourcepub fn info_type(&self) -> Option<&EnvironmentInfoType>
pub fn info_type(&self) -> Option<&EnvironmentInfoType>
The type of information to retrieve.
source§impl RetrieveEnvironmentInfoInput
impl RetrieveEnvironmentInfoInput
sourcepub fn builder() -> RetrieveEnvironmentInfoInputBuilder
pub fn builder() -> RetrieveEnvironmentInfoInputBuilder
Creates a new builder-style object to manufacture RetrieveEnvironmentInfoInput
.
Trait Implementations§
source§impl Clone for RetrieveEnvironmentInfoInput
impl Clone for RetrieveEnvironmentInfoInput
source§fn clone(&self) -> RetrieveEnvironmentInfoInput
fn clone(&self) -> RetrieveEnvironmentInfoInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RetrieveEnvironmentInfoInput
impl Debug for RetrieveEnvironmentInfoInput
source§impl PartialEq<RetrieveEnvironmentInfoInput> for RetrieveEnvironmentInfoInput
impl PartialEq<RetrieveEnvironmentInfoInput> for RetrieveEnvironmentInfoInput
source§fn eq(&self, other: &RetrieveEnvironmentInfoInput) -> bool
fn eq(&self, other: &RetrieveEnvironmentInfoInput) -> bool
self
and other
values to be equal, and is used
by ==
.