Struct aws_sdk_elasticbeanstalk::operation::retrieve_environment_info::builders::RetrieveEnvironmentInfoFluentBuilder
source · pub struct RetrieveEnvironmentInfoFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to RetrieveEnvironmentInfo.
Retrieves the compiled information from a RequestEnvironmentInfo request.
Related Topics
-
RequestEnvironmentInfo
Implementations§
source§impl RetrieveEnvironmentInfoFluentBuilder
impl RetrieveEnvironmentInfoFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RetrieveEnvironmentInfo, AwsResponseRetryClassifier>, SdkError<RetrieveEnvironmentInfoError>>
pub async fn customize( self ) -> Result<CustomizableOperation<RetrieveEnvironmentInfo, AwsResponseRetryClassifier>, SdkError<RetrieveEnvironmentInfoError>>
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<RetrieveEnvironmentInfoOutput, SdkError<RetrieveEnvironmentInfoError>>
pub async fn send( self ) -> Result<RetrieveEnvironmentInfoOutput, SdkError<RetrieveEnvironmentInfoError>>
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 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 set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
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, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
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 set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
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, input: EnvironmentInfoType) -> Self
pub fn info_type(self, input: EnvironmentInfoType) -> Self
The type of information to retrieve.
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 retrieve.
Trait Implementations§
source§impl Clone for RetrieveEnvironmentInfoFluentBuilder
impl Clone for RetrieveEnvironmentInfoFluentBuilder
source§fn clone(&self) -> RetrieveEnvironmentInfoFluentBuilder
fn clone(&self) -> RetrieveEnvironmentInfoFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more