Struct rusoto_waf_regional::SampledHTTPRequest
[−]
[src]
pub struct SampledHTTPRequest { pub action: Option<Action>, pub request: HTTPRequest, pub timestamp: Option<Timestamp>, pub weight: SampleWeight, }
The response from a GetSampledRequests request includes a SampledHTTPRequests
complex type that appears as SampledRequests
in the response syntax. SampledHTTPRequests
contains one SampledHTTPRequest
object for each web request that is returned by GetSampledRequests
.
Fields
action: Option<Action>
The action for the Rule
that the request matched: ALLOW
, BLOCK
, or COUNT
.
request: HTTPRequest
A complex type that contains detailed information about the request.
timestamp: Option<Timestamp>
The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).
weight: SampleWeight
A value that indicates how one result in the response relates proportionally to other results in the response. A result that has a weight of 2
represents roughly twice as many CloudFront web requests as a result that has a weight of 1
.
Trait Implementations
impl Default for SampledHTTPRequest
[src]
fn default() -> SampledHTTPRequest
Returns the "default value" for a type. Read more
impl Debug for SampledHTTPRequest
[src]
impl Clone for SampledHTTPRequest
[src]
fn clone(&self) -> SampledHTTPRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more