Struct aws_sdk_elasticbeanstalk::operation::request_environment_info::RequestEnvironmentInfoInput
source · #[non_exhaustive]pub struct RequestEnvironmentInfoInput {
pub environment_id: Option<String>,
pub environment_name: Option<String>,
pub info_type: Option<EnvironmentInfoType>,
}
Expand description
Request to retrieve logs from an environment and store them in your Elastic Beanstalk storage bucket.
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 of the requested data.
If no such environment is found, RequestEnvironmentInfo
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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo
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 request.
Implementations§
source§impl RequestEnvironmentInfoInput
impl RequestEnvironmentInfoInput
sourcepub fn environment_id(&self) -> Option<&str>
pub fn environment_id(&self) -> Option<&str>
The ID of the environment of the requested data.
If no such environment is found, RequestEnvironmentInfo
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 environment of the requested data.
If no such environment is found, RequestEnvironmentInfo
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 request.
source§impl RequestEnvironmentInfoInput
impl RequestEnvironmentInfoInput
sourcepub fn builder() -> RequestEnvironmentInfoInputBuilder
pub fn builder() -> RequestEnvironmentInfoInputBuilder
Creates a new builder-style object to manufacture RequestEnvironmentInfoInput
.
Trait Implementations§
source§impl Clone for RequestEnvironmentInfoInput
impl Clone for RequestEnvironmentInfoInput
source§fn clone(&self) -> RequestEnvironmentInfoInput
fn clone(&self) -> RequestEnvironmentInfoInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RequestEnvironmentInfoInput
impl Debug for RequestEnvironmentInfoInput
source§impl PartialEq<RequestEnvironmentInfoInput> for RequestEnvironmentInfoInput
impl PartialEq<RequestEnvironmentInfoInput> for RequestEnvironmentInfoInput
source§fn eq(&self, other: &RequestEnvironmentInfoInput) -> bool
fn eq(&self, other: &RequestEnvironmentInfoInput) -> bool
self
and other
values to be equal, and is used
by ==
.