Struct aws_sdk_elasticbeanstalk::operation::describe_environments::builders::DescribeEnvironmentsFluentBuilder
source · pub struct DescribeEnvironmentsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeEnvironments.
Returns descriptions for existing environments.
Implementations§
source§impl DescribeEnvironmentsFluentBuilder
impl DescribeEnvironmentsFluentBuilder
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeEnvironments, AwsResponseRetryClassifier>, SdkError<DescribeEnvironmentsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DescribeEnvironments, AwsResponseRetryClassifier>, SdkError<DescribeEnvironmentsError>>
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<DescribeEnvironmentsOutput, SdkError<DescribeEnvironmentsError>>
pub async fn send( self ) -> Result<DescribeEnvironmentsOutput, SdkError<DescribeEnvironmentsError>>
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 application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application.
sourcepub fn version_label(self, input: impl Into<String>) -> Self
pub fn version_label(self, input: impl Into<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
sourcepub fn set_version_label(self, input: Option<String>) -> Self
pub fn set_version_label(self, input: Option<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that are associated with this application version.
sourcepub fn environment_ids(self, input: impl Into<String>) -> Self
pub fn environment_ids(self, input: impl Into<String>) -> Self
Appends an item to EnvironmentIds.
To override the contents of this collection use set_environment_ids.
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
sourcepub fn set_environment_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_environment_ids(self, input: Option<Vec<String>>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified IDs.
sourcepub fn environment_names(self, input: impl Into<String>) -> Self
pub fn environment_names(self, input: impl Into<String>) -> Self
Appends an item to EnvironmentNames.
To override the contents of this collection use set_environment_names.
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
sourcepub fn set_environment_names(self, input: Option<Vec<String>>) -> Self
pub fn set_environment_names(self, input: Option<Vec<String>>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those that have the specified names.
sourcepub fn include_deleted(self, input: bool) -> Self
pub fn include_deleted(self, input: bool) -> Self
Indicates whether to include deleted environments:
true: Environments that have been deleted after IncludedDeletedBackTo are displayed.
false: Do not include deleted environments.
sourcepub fn set_include_deleted(self, input: Option<bool>) -> Self
pub fn set_include_deleted(self, input: Option<bool>) -> Self
Indicates whether to include deleted environments:
true: Environments that have been deleted after IncludedDeletedBackTo are displayed.
false: Do not include deleted environments.
sourcepub fn included_deleted_back_to(self, input: DateTime) -> Self
pub fn included_deleted_back_to(self, input: DateTime) -> Self
If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed.
sourcepub fn set_included_deleted_back_to(self, input: Option<DateTime>) -> Self
pub fn set_included_deleted_back_to(self, input: Option<DateTime>) -> Self
If specified when IncludeDeleted is set to true, then environments deleted after this date are displayed.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
For a paginated request. Specify a maximum number of environments to include in each response.
If no MaxRecords is specified, all available environments are retrieved in a single response.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
For a paginated request. Specify a maximum number of environments to include in each response.
If no MaxRecords is specified, all available environments are retrieved in a single response.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.
If no NextToken is specified, the first page is retrieved.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
For a paginated request. Specify a token from a previous response page to retrieve the next response page. All other parameter values must be identical to the ones specified in the initial request.
If no NextToken is specified, the first page is retrieved.
Trait Implementations§
source§impl Clone for DescribeEnvironmentsFluentBuilder
impl Clone for DescribeEnvironmentsFluentBuilder
source§fn clone(&self) -> DescribeEnvironmentsFluentBuilder
fn clone(&self) -> DescribeEnvironmentsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more