Skip to content

GetSampledRequestsResponse

Source code in docs_src/capo_waf_regional/types/get_sampled_requests_response.py
class GetSampledRequestsResponse(TypedDict, closed=True):
    sampled_requests: NotRequired[
        "capo_waf_regional.types.sampled_http_requests.SampledHTTPRequests"
    ]
    """<p>A complex type that contains detailed information about each of the requests in the sample.</p>"""
    population_size: "capo_waf_regional.types.population_size.PopulationSize"
    """<p>The total number of requests from which <code>GetSampledRequests</code> got a sample of <code>MaxItems</code> requests. If <code>PopulationSize</code> is less than <code>MaxItems</code>, the sample includes every request that your AWS resource received during the specified time range.</p>"""
    time_window: NotRequired["capo_waf_regional.types.time_window.TimeWindow"]
    """<p>Usually, <code>TimeWindow</code> is the time range that you specified in the <code>GetSampledRequests</code> request. However, if your AWS resource received more than 5,000 requests during the time range that you specified in the request, <code>GetSampledRequests</code> returns the time range for the first 5,000 requests. Times are in Coordinated Universal Time (UTC) format.</p>"""

population_size instance-attribute

population_size: PopulationSize

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 AWS resource received during the specified time range.

sampled_requests instance-attribute

sampled_requests: NotRequired[SampledHTTPRequests]

A complex type that contains detailed information about each of the requests in the sample.

time_window instance-attribute

time_window: NotRequired[TimeWindow]

Usually, TimeWindow is the time range that you specified in the GetSampledRequests request. However, if your AWS 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.