#[non_exhaustive]pub struct DescribeEventsInput {
pub source_identifier: Option<String>,
pub source_type: Option<SourceType>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
pub duration: Option<i32>,
pub max_records: Option<i32>,
pub marker: Option<String>,
}
Expand description
Represents the input of a DescribeEvents
operation.
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_identifier: 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_records: Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a marker is included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
marker: Option<String>
An optional marker returned from a prior request. Use this marker for pagination of results from this operation. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords
.
Implementations§
source§impl DescribeEventsInput
impl DescribeEventsInput
sourcepub fn source_identifier(&self) -> Option<&str>
pub fn source_identifier(&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_records(&self) -> Option<i32>
pub fn max_records(&self) -> Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a marker is included in the response so that the remaining results can be retrieved.
Default: 100
Constraints: minimum 20; maximum 100.
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 ==
.impl StructuralPartialEq for DescribeEventsInput
Auto Trait Implementations§
impl Freeze for DescribeEventsInput
impl RefUnwindSafe for DescribeEventsInput
impl Send for DescribeEventsInput
impl Sync for DescribeEventsInput
impl Unpin for DescribeEventsInput
impl UnwindSafe for DescribeEventsInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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