Struct aws_sdk_wafv2::output::GetSampledRequestsOutput
source · [−]#[non_exhaustive]pub struct GetSampledRequestsOutput {
pub sampled_requests: Option<Vec<SampledHttpRequest>>,
pub population_size: i64,
pub time_window: Option<TimeWindow>,
}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.sampled_requests: Option<Vec<SampledHttpRequest>>A complex type that contains detailed information about each of the requests in the sample.
population_size: i64The total number of requests from which GetSampledRequests got a sample of MaxItems requests. If PopulationSize is less than MaxItems, the sample includes every request that your Amazon Web Services resource received during the specified time range.
time_window: Option<TimeWindow>Usually, TimeWindow is the time range that you specified in the GetSampledRequests request. However, if your Amazon Web Services resource received more than 5,000 requests during the time range that you specified in the request, GetSampledRequests returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.
Implementations
sourceimpl GetSampledRequestsOutput
impl GetSampledRequestsOutput
sourcepub fn sampled_requests(&self) -> Option<&[SampledHttpRequest]>
pub fn sampled_requests(&self) -> Option<&[SampledHttpRequest]>
A complex type that contains detailed information about each of the requests in the sample.
sourcepub fn population_size(&self) -> i64
pub fn population_size(&self) -> i64
The total number of requests from which GetSampledRequests got a sample of MaxItems requests. If PopulationSize is less than MaxItems, the sample includes every request that your Amazon Web Services resource received during the specified time range.
sourcepub fn time_window(&self) -> Option<&TimeWindow>
pub fn time_window(&self) -> Option<&TimeWindow>
Usually, TimeWindow is the time range that you specified in the GetSampledRequests request. However, if your Amazon Web Services resource received more than 5,000 requests during the time range that you specified in the request, GetSampledRequests returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.
sourceimpl GetSampledRequestsOutput
impl GetSampledRequestsOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetSampledRequestsOutput
Trait Implementations
sourceimpl Clone for GetSampledRequestsOutput
impl Clone for GetSampledRequestsOutput
sourcefn clone(&self) -> GetSampledRequestsOutput
fn clone(&self) -> GetSampledRequestsOutput
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 GetSampledRequestsOutput
impl Debug for GetSampledRequestsOutput
sourceimpl PartialEq<GetSampledRequestsOutput> for GetSampledRequestsOutput
impl PartialEq<GetSampledRequestsOutput> for GetSampledRequestsOutput
sourcefn eq(&self, other: &GetSampledRequestsOutput) -> bool
fn eq(&self, other: &GetSampledRequestsOutput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GetSampledRequestsOutput) -> bool
fn ne(&self, other: &GetSampledRequestsOutput) -> bool
This method tests for !=.
impl StructuralPartialEq for GetSampledRequestsOutput
Auto Trait Implementations
impl RefUnwindSafe for GetSampledRequestsOutput
impl Send for GetSampledRequestsOutput
impl Sync for GetSampledRequestsOutput
impl Unpin for GetSampledRequestsOutput
impl UnwindSafe for GetSampledRequestsOutput
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