Struct rusoto_waf::TimeWindow
[−]
[src]
pub struct TimeWindow { pub end_time: f64, pub start_time: f64, }
In a GetSampledRequests request, the StartTime
and EndTime
objects specify the time range for which you want AWS WAF to return a sample of web requests.
In a GetSampledRequests response, the StartTime
and EndTime
objects specify the time range for which AWS WAF actually returned a sample of web requests. AWS WAF gets the specified number of requests from among the first 5,000 requests that your AWS resource receives during the specified time period. If your resource receives more than 5,000 requests during that period, AWS WAF stops sampling after the 5,000th request. In that case, EndTime
is the time that AWS WAF received the 5,000th request.
Fields
end_time: f64
The end of the time range from which you want GetSampledRequests
to return a sample of the requests that your AWS resource received. Specify the date and time in the following format: "2016-09-27T14:50Z"
. You can specify any time range in the previous three hours.
start_time: f64
The beginning of the time range from which you want GetSampledRequests
to return a sample of the requests that your AWS resource received. Specify the date and time in the following format: "2016-09-27T14:50Z"
. You can specify any time range in the previous three hours.
Trait Implementations
impl Default for TimeWindow
[src]
fn default() -> TimeWindow
[src]
Returns the "default value" for a type. Read more
impl Debug for TimeWindow
[src]
impl Clone for TimeWindow
[src]
fn clone(&self) -> TimeWindow
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more