You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::WAF::Types::GetSampledRequestsResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#population_sizeInteger

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.

Returns:

  • (Integer)


2124
2125
2126
2127
2128
2129
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2124

class GetSampledRequestsResponse < Struct.new(
  :sampled_requests,
  :population_size,
  :time_window)
  include Aws::Structure
end

#sampled_requestsArray<Types::SampledHTTPRequest>

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

Returns:



2124
2125
2126
2127
2128
2129
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2124

class GetSampledRequestsResponse < Struct.new(
  :sampled_requests,
  :population_size,
  :time_window)
  include Aws::Structure
end

#time_windowTypes::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.

Returns:



2124
2125
2126
2127
2128
2129
# File 'gems/aws-sdk-waf/lib/aws-sdk-waf/types.rb', line 2124

class GetSampledRequestsResponse < Struct.new(
  :sampled_requests,
  :population_size,
  :time_window)
  include Aws::Structure
end