Struct rusoto_shield::ListAttacksRequest
source · [−]pub struct ListAttacksRequest {
pub end_time: Option<TimeRange>,
pub max_results: Option<i64>,
pub next_token: Option<String>,
pub resource_arns: Option<Vec<String>>,
pub start_time: Option<TimeRange>,
}
Fields
end_time: Option<TimeRange>
The end of the time period for the attacks. This is a timestamp
type. The sample request above indicates a number
type because the default used by WAF is Unix time in seconds. However any valid timestamp format is allowed.
max_results: Option<i64>
The maximum number of AttackSummary objects to return. If you leave this blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of objects returned could be less than MaxResults
, even if there are still more objects yet to return. If there are more objects to return, Shield Advanced returns a value in NextToken
that you can use in your next request, to get the next batch of objects.
next_token: Option<String>
The ListAttacksRequest.NextMarker
value from a previous call to ListAttacksRequest
. Pass null if this is the first call.
resource_arns: Option<Vec<String>>
The ARN (Amazon Resource Name) of the resource that was attacked. If this is left blank, all applicable resources for this account will be included.
start_time: Option<TimeRange>
The start of the time period for the attacks. This is a timestamp
type. The sample request above indicates a number
type because the default used by WAF is Unix time in seconds. However any valid timestamp format is allowed.
Trait Implementations
sourceimpl Clone for ListAttacksRequest
impl Clone for ListAttacksRequest
sourcefn clone(&self) -> ListAttacksRequest
fn clone(&self) -> ListAttacksRequest
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 ListAttacksRequest
impl Debug for ListAttacksRequest
sourceimpl Default for ListAttacksRequest
impl Default for ListAttacksRequest
sourcefn default() -> ListAttacksRequest
fn default() -> ListAttacksRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ListAttacksRequest> for ListAttacksRequest
impl PartialEq<ListAttacksRequest> for ListAttacksRequest
sourcefn eq(&self, other: &ListAttacksRequest) -> bool
fn eq(&self, other: &ListAttacksRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListAttacksRequest) -> bool
fn ne(&self, other: &ListAttacksRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for ListAttacksRequest
impl Serialize for ListAttacksRequest
impl StructuralPartialEq for ListAttacksRequest
Auto Trait Implementations
impl RefUnwindSafe for ListAttacksRequest
impl Send for ListAttacksRequest
impl Sync for ListAttacksRequest
impl Unpin for ListAttacksRequest
impl UnwindSafe for ListAttacksRequest
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