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
sourceimpl DescribeEvents
impl DescribeEvents
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
sourceimpl Clone for DescribeEvents
impl Clone for DescribeEvents
sourcefn clone(&self) -> DescribeEvents
fn clone(&self) -> DescribeEvents
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 DescribeEvents
impl Send for DescribeEvents
impl Sync for DescribeEvents
impl Unpin for DescribeEvents
impl !UnwindSafe for DescribeEvents
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