pub struct DescribeEvents { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeEvents
.
Returns list of event descriptions matching criteria up to the last 6 weeks.
This action returns the most recent 1,000 events from the specified NextToken
.
Implementations§
source§impl DescribeEvents
impl DescribeEvents
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeEvents, AwsResponseRetryClassifier>, SdkError<DescribeEventsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeEvents, AwsResponseRetryClassifier>, SdkError<DescribeEventsError>>
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<DescribeEventsOutput, SdkError<DescribeEventsError>>
pub async fn send(
self
) -> Result<DescribeEventsOutput, SdkError<DescribeEventsError>>
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 into_paginator(self) -> DescribeEventsPaginator
pub fn into_paginator(self) -> DescribeEventsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a Stream
.
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 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 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 those 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 those associated with this application version.
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
sourcepub fn environment_id(self, input: impl Into<String>) -> Self
pub fn environment_id(self, input: impl Into<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
sourcepub fn set_environment_id(self, input: Option<String>) -> Self
pub fn set_environment_id(self, input: Option<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
sourcepub fn platform_arn(self, input: impl Into<String>) -> Self
pub fn platform_arn(self, input: impl Into<String>) -> Self
The ARN of a custom platform version. If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this custom platform version.
sourcepub fn set_platform_arn(self, input: Option<String>) -> Self
pub fn set_platform_arn(self, input: Option<String>) -> Self
The ARN of a custom platform version. If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this custom platform version.
sourcepub fn request_id(self, input: impl Into<String>) -> Self
pub fn request_id(self, input: impl Into<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
sourcepub fn set_request_id(self, input: Option<String>) -> Self
pub fn set_request_id(self, input: Option<String>) -> Self
If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
sourcepub fn severity(self, input: EventSeverity) -> Self
pub fn severity(self, input: EventSeverity) -> Self
If specified, limits the events returned from this call to include only those with the specified severity or higher.
sourcepub fn set_severity(self, input: Option<EventSeverity>) -> Self
pub fn set_severity(self, input: Option<EventSeverity>) -> Self
If specified, limits the events returned from this call to include only those with the specified severity or higher.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime
.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime
.
sourcepub fn max_records(self, input: i32) -> Self
pub fn max_records(self, input: i32) -> Self
Specifies the maximum number of events that can be returned, beginning with the most recent event.
sourcepub fn set_max_records(self, input: Option<i32>) -> Self
pub fn set_max_records(self, input: Option<i32>) -> Self
Specifies the maximum number of events that can be returned, beginning with the most recent event.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Pagination token. If specified, the events return the next batch of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Pagination token. If specified, the events return the next batch of results.
Trait Implementations§
source§impl Clone for DescribeEvents
impl Clone for DescribeEvents
source§fn clone(&self) -> DescribeEvents
fn clone(&self) -> DescribeEvents
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more