pub struct DescribeEnvironments { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeEnvironments
.
Returns descriptions for existing environments.
Implementations
sourceimpl DescribeEnvironments
impl DescribeEnvironments
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
sourceimpl Clone for DescribeEnvironments
impl Clone for DescribeEnvironments
sourcefn clone(&self) -> DescribeEnvironments
fn clone(&self) -> DescribeEnvironments
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for DescribeEnvironments
impl Send for DescribeEnvironments
impl Sync for DescribeEnvironments
impl Unpin for DescribeEnvironments
impl !UnwindSafe for DescribeEnvironments
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more