Struct rusoto_cloudtrail::LookupEventsRequest
source · [−]pub struct LookupEventsRequest {
pub end_time: Option<f64>,
pub event_category: Option<String>,
pub lookup_attributes: Option<Vec<LookupAttribute>>,
pub max_results: Option<i64>,
pub next_token: Option<String>,
pub start_time: Option<f64>,
}
Expand description
Contains a request for LookupEvents.
Fields
end_time: Option<f64>
Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.
event_category: Option<String>
Specifies the event category. If you do not specify an event category, events of the category are not returned in the response. For example, if you do not specify insight
as the value of EventCategory
, no Insights events are returned.
lookup_attributes: Option<Vec<LookupAttribute>>
Contains a list of lookup attributes. Currently the list can contain only one item.
max_results: Option<i64>
The number of events to return. Possible values are 1 through 50. The default is 50.
next_token: Option<String>
The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.
start_time: Option<f64>
Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.
Trait Implementations
sourceimpl Clone for LookupEventsRequest
impl Clone for LookupEventsRequest
sourcefn clone(&self) -> LookupEventsRequest
fn clone(&self) -> LookupEventsRequest
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 LookupEventsRequest
impl Debug for LookupEventsRequest
sourceimpl Default for LookupEventsRequest
impl Default for LookupEventsRequest
sourcefn default() -> LookupEventsRequest
fn default() -> LookupEventsRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LookupEventsRequest> for LookupEventsRequest
impl PartialEq<LookupEventsRequest> for LookupEventsRequest
sourcefn eq(&self, other: &LookupEventsRequest) -> bool
fn eq(&self, other: &LookupEventsRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LookupEventsRequest) -> bool
fn ne(&self, other: &LookupEventsRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for LookupEventsRequest
impl Serialize for LookupEventsRequest
impl StructuralPartialEq for LookupEventsRequest
Auto Trait Implementations
impl RefUnwindSafe for LookupEventsRequest
impl Send for LookupEventsRequest
impl Sync for LookupEventsRequest
impl Unpin for LookupEventsRequest
impl UnwindSafe for LookupEventsRequest
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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