#[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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RetrieveEnvironmentInfo, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RetrieveEnvironmentInfo, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RetrieveEnvironmentInfo
>
Creates a new builder-style object to manufacture RetrieveEnvironmentInfoInput
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.
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.
The type of information to retrieve.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for RetrieveEnvironmentInfoInput
impl Sync for RetrieveEnvironmentInfoInput
impl Unpin for RetrieveEnvironmentInfoInput
impl UnwindSafe for RetrieveEnvironmentInfoInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more