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

Class: Aws::WAFRegional::Types::GetSampledRequestsResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/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)


1562
1563
1564
1565
1566
1567
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 1562

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:



1562
1563
1564
1565
1566
1567
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 1562

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:



1562
1563
1564
1565
1566
1567
# File 'gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/types.rb', line 1562

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