[−][src]Struct rusoto_waf_regional::SampledHTTPRequest
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide. For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
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<String>
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.
rule_within_rule_group: Option<String>
This value is returned if the GetSampledRequests
request specifies the ID of a RuleGroup
rather than the ID of an individual rule. RuleWithinRuleGroup
is the rule within the specified RuleGroup
that matched the request listed in the response.
timestamp: Option<f64>
The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).
weight: i64
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 Clone for SampledHTTPRequest
[src]
pub fn clone(&self) -> SampledHTTPRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SampledHTTPRequest
[src]
impl Default for SampledHTTPRequest
[src]
pub fn default() -> SampledHTTPRequest
[src]
impl<'de> Deserialize<'de> for SampledHTTPRequest
[src]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<SampledHTTPRequest> for SampledHTTPRequest
[src]
pub fn eq(&self, other: &SampledHTTPRequest) -> bool
[src]
pub fn ne(&self, other: &SampledHTTPRequest) -> bool
[src]
impl StructuralPartialEq for SampledHTTPRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for SampledHTTPRequest
[src]
impl Send for SampledHTTPRequest
[src]
impl Sync for SampledHTTPRequest
[src]
impl Unpin for SampledHTTPRequest
[src]
impl UnwindSafe for SampledHTTPRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,