#[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 event_categories: Option<Vec<String>>,
pub filters: Option<Vec<Filter>>,
pub max_records: Option<i32>,
pub marker: Option<String>,
}
Expand description
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 an event source.
source_type: Option<SourceType>
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
start_time: Option<DateTime>
The start time for the events to be listed.
end_time: Option<DateTime>
The end time for the events to be listed.
duration: Option<i32>
The duration of the events to be listed.
event_categories: Option<Vec<String>>
A list of event categories for the source type that you've chosen.
filters: Option<Vec<Filter>>
Filters applied to events. The only valid filter is replication-instance-id
.
max_records: Option<i32>
The maximum number of records to include in the response. If more records exist than the specified MaxRecords
value, a pagination token called 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 pagination token provided by a previous request. 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 an event source.
sourcepub fn source_type(&self) -> Option<&SourceType>
pub fn source_type(&self) -> Option<&SourceType>
The type of DMS resource that generates events.
Valid values: replication-instance | replication-task
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The start time for the events to be listed.
sourcepub fn event_categories(&self) -> &[String]
pub fn event_categories(&self) -> &[String]
A list of event categories for the source type that you've chosen.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_categories.is_none()
.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
Filters applied to events. The only valid filter is replication-instance-id
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
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 pagination token called 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 ==
.