#[non_exhaustive]pub struct DescribeEventsInput {
pub source_name: Option<String>,
pub source_type: Option<SourceType>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub duration: Option<i32>,
pub max_results: Option<i32>,
pub next_token: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.source_name: Option<String>
The identifier of the event source for which events are returned. If not specified, all sources are included in the response.
source_type: Option<SourceType>
The event source to retrieve events for. If no value is specified, all events are returned.
start_time: Option<DateTime>
The beginning of the time interval to retrieve events for, specified in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
end_time: Option<DateTime>
The end of the time interval for which to retrieve events, specified in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
duration: Option<i32>
The number of minutes worth of events to retrieve.
max_results: Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
next_token: Option<String>
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
Implementations§
source§impl DescribeEventsInput
impl DescribeEventsInput
sourcepub fn source_name(&self) -> Option<&str>
pub fn source_name(&self) -> Option<&str>
The identifier of the event source for which events are returned. If not specified, all sources are included in the response.
sourcepub fn source_type(&self) -> Option<&SourceType>
pub fn source_type(&self) -> Option<&SourceType>
The event source to retrieve events for. If no value is specified, all events are returned.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The beginning of the time interval to retrieve events for, specified in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
sourcepub fn end_time(&self) -> Option<&DateTime>
pub fn end_time(&self) -> Option<&DateTime>
The end of the time interval for which to retrieve events, specified in ISO 8601 format. Example: 2017-03-30T07:03:49.555Z
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An optional argument to pass in case the total number of records exceeds the value of MaxResults. If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
source§impl DescribeEventsInput
impl DescribeEventsInput
sourcepub fn builder() -> DescribeEventsInputBuilder
pub fn builder() -> DescribeEventsInputBuilder
Creates a new builder-style object to manufacture DescribeEventsInput
.
Trait Implementations§
source§impl Clone for DescribeEventsInput
impl Clone for DescribeEventsInput
source§fn clone(&self) -> DescribeEventsInput
fn clone(&self) -> DescribeEventsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeEventsInput
impl Debug for DescribeEventsInput
source§impl PartialEq for DescribeEventsInput
impl PartialEq for DescribeEventsInput
source§fn eq(&self, other: &DescribeEventsInput) -> bool
fn eq(&self, other: &DescribeEventsInput) -> bool
self
and other
values to be equal, and is used
by ==
.