pub struct RequestEnvironmentInfo { /* private fields */ }
Expand description
Fluent builder constructing a request to RequestEnvironmentInfo
.
Initiates a request to compile the specified type of information of the deployed environment.
Setting the InfoType
to tail
compiles the last lines from the application server log files of every Amazon EC2 instance in your environment.
Setting the InfoType
to bundle
compresses the application server log files for every Amazon EC2 instance into a .zip
file. Legacy and .NET containers do not support bundle logs.
Use RetrieveEnvironmentInfo
to obtain the set of logs.
Related Topics
-
RetrieveEnvironmentInfo
Implementations§
source§impl RequestEnvironmentInfo
impl RequestEnvironmentInfo
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RequestEnvironmentInfo, AwsResponseRetryClassifier>, SdkError<RequestEnvironmentInfoError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<RequestEnvironmentInfo, AwsResponseRetryClassifier>, SdkError<RequestEnvironmentInfoError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<RequestEnvironmentInfoOutput, SdkError<RequestEnvironmentInfoError>>
pub async fn send(
self
) -> Result<RequestEnvironmentInfoOutput, SdkError<RequestEnvironmentInfoError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
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 set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
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 set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
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, input: EnvironmentInfoType) -> Self
pub fn info_type(self, input: EnvironmentInfoType) -> Self
The type of information to request.
sourcepub fn set_info_type(self, input: Option<EnvironmentInfoType>) -> Self
pub fn set_info_type(self, input: Option<EnvironmentInfoType>) -> Self
The type of information to request.
Trait Implementations§
source§impl Clone for RequestEnvironmentInfo
impl Clone for RequestEnvironmentInfo
source§fn clone(&self) -> RequestEnvironmentInfo
fn clone(&self) -> RequestEnvironmentInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more