Struct aws_sdk_elasticache::input::DescribeEventsInput
source · [−]#[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
sourceimpl DescribeEventsInput
impl DescribeEventsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeEvents, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeEvents, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeEvents
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeEventsInput
sourceimpl 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.
Trait Implementations
sourceimpl Clone for DescribeEventsInput
impl Clone for DescribeEventsInput
sourcefn clone(&self) -> DescribeEventsInput
fn clone(&self) -> DescribeEventsInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DescribeEventsInput
impl Debug for DescribeEventsInput
sourceimpl PartialEq<DescribeEventsInput> for DescribeEventsInput
impl PartialEq<DescribeEventsInput> for DescribeEventsInput
sourcefn eq(&self, other: &DescribeEventsInput) -> bool
fn eq(&self, other: &DescribeEventsInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeEventsInput) -> bool
fn ne(&self, other: &DescribeEventsInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeEventsInput
Auto Trait Implementations
impl RefUnwindSafe for DescribeEventsInput
impl Send for DescribeEventsInput
impl Sync for DescribeEventsInput
impl Unpin for DescribeEventsInput
impl UnwindSafe for DescribeEventsInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more