pub struct GetSampledRequestsRequest {
pub max_items: i64,
pub rule_id: String,
pub time_window: TimeWindow,
pub web_acl_id: String,
}
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource received during the time range. If your resource received fewer requests than the value of MaxItems
, GetSampledRequests
returns information about all of them.
RuleId
is one of three values:
-
The RuleId
of the Rule
or the RuleGroupId
of the RuleGroup
for which you want GetSampledRequests
to return a sample of requests.
-
Default_Action
, which causes GetSampledRequests
to return a sample of the requests that didn't match any of the rules in the specified WebACL
.
The start date and time and the end date and time of the range for which you want GetSampledRequests
to return a sample of requests. Specify the date and time in the following format: "2016-09-27T14:50Z"
. You can specify any time range in the previous three hours.
The WebACLId
of the WebACL
for which you want GetSampledRequests
to return a sample of requests.
Performs copy-assignment from source
. Read more
Returns the "default value" for a type. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static