Struct aws_sdk_elasticbeanstalk::operation::describe_events::builders::DescribeEventsFluentBuilder
source · pub struct DescribeEventsFluentBuilder { /* 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 DescribeEventsFluentBuilder
impl DescribeEventsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeEventsInputBuilder
pub fn as_input(&self) -> &DescribeEventsInputBuilder
Access the DescribeEvents as a reference.
sourcepub async fn send(
self
) -> Result<DescribeEventsOutput, SdkError<DescribeEventsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeEventsOutput, SdkError<DescribeEventsError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<DescribeEventsOutput, DescribeEventsError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeEventsOutput, DescribeEventsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 PaginationStream
.
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 get_application_name(&self) -> &Option<String>
pub fn get_application_name(&self) -> &Option<String>
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 get_version_label(&self) -> &Option<String>
pub fn get_version_label(&self) -> &Option<String>
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 get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
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 get_environment_id(&self) -> &Option<String>
pub fn get_environment_id(&self) -> &Option<String>
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 get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
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 get_platform_arn(&self) -> &Option<String>
pub fn get_platform_arn(&self) -> &Option<String>
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 get_request_id(&self) -> &Option<String>
pub fn get_request_id(&self) -> &Option<String>
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 get_severity(&self) -> &Option<EventSeverity>
pub fn get_severity(&self) -> &Option<EventSeverity>
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 get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
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 get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
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 get_max_records(&self) -> &Option<i32>
pub fn get_max_records(&self) -> &Option<i32>
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.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Pagination token. If specified, the events return the next batch of results.
Trait Implementations§
source§impl Clone for DescribeEventsFluentBuilder
impl Clone for DescribeEventsFluentBuilder
source§fn clone(&self) -> DescribeEventsFluentBuilder
fn clone(&self) -> DescribeEventsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for DescribeEventsFluentBuilder
impl !RefUnwindSafe for DescribeEventsFluentBuilder
impl Send for DescribeEventsFluentBuilder
impl Sync for DescribeEventsFluentBuilder
impl Unpin for DescribeEventsFluentBuilder
impl !UnwindSafe for DescribeEventsFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more