Class: Aws::WAFV2::Types::PathStatistics

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

Overview

Statistics about bot traffic to a specific URI path, including the path, request count, percentage of total traffic, and the top bots accessing that path.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#pathString

The URI path. For example, /api/ or /api/v1/users.

Returns:

  • (String)


6844
6845
6846
6847
6848
6849
6850
6851
6852
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 6844

class PathStatistics < Struct.new(
  :source,
  :path,
  :request_count,
  :percentage,
  :top_bots)
  SENSITIVE = []
  include Aws::Structure
end

#percentageFloat

The percentage of total requests that were made to this path.

Returns:

  • (Float)


6844
6845
6846
6847
6848
6849
6850
6851
6852
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 6844

class PathStatistics < Struct.new(
  :source,
  :path,
  :request_count,
  :percentage,
  :top_bots)
  SENSITIVE = []
  include Aws::Structure
end

#request_countInteger

The number of requests to this path within the specified time window.

Returns:

  • (Integer)


6844
6845
6846
6847
6848
6849
6850
6851
6852
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 6844

class PathStatistics < Struct.new(
  :source,
  :path,
  :request_count,
  :percentage,
  :top_bots)
  SENSITIVE = []
  include Aws::Structure
end

#sourceTypes::FilterSource

Information about the bot filter that was applied to generate these statistics. This field is only populated when you filter by bot category, organization, or name.

Returns:



6844
6845
6846
6847
6848
6849
6850
6851
6852
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 6844

class PathStatistics < Struct.new(
  :source,
  :path,
  :request_count,
  :percentage,
  :top_bots)
  SENSITIVE = []
  include Aws::Structure
end

#top_botsArray<Types::BotStatistics>

The list of top bots accessing this path, ordered by request count. The number of bots included is determined by the NumberOfTopTrafficBotsPerPath parameter in the request.

Returns:



6844
6845
6846
6847
6848
6849
6850
6851
6852
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 6844

class PathStatistics < Struct.new(
  :source,
  :path,
  :request_count,
  :percentage,
  :top_bots)
  SENSITIVE = []
  include Aws::Structure
end