#[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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RequestEnvironmentInfo, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RequestEnvironmentInfo, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<RequestEnvironmentInfo
>
Creates a new builder-style object to manufacture RequestEnvironmentInfoInput
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.
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.
The type of information to request.
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 RefUnwindSafe for RequestEnvironmentInfoInput
impl Send for RequestEnvironmentInfoInput
impl Sync for RequestEnvironmentInfoInput
impl Unpin for RequestEnvironmentInfoInput
impl UnwindSafe for RequestEnvironmentInfoInput
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