Struct aws_sdk_dax::operation::describe_events::DescribeEventsInput
source · #[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 will be returned. If not specified, then 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.
end_time: Option<DateTime>The end of the time interval for which to retrieve events, specified in ISO 8601 format.
duration: Option<i32>The number of minutes' worth of events to retrieve.
max_results: Option<i32>The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
The value for MaxResults must be between 20 and 100.
next_token: Option<String>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
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 will be returned. If not specified, then 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.
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.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.
The value for MaxResults must be between 20 and 100.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.
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<DescribeEventsInput> for DescribeEventsInput
impl PartialEq<DescribeEventsInput> 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 ==.