Struct aws_sdk_dax::input::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
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_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
.
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