Class: Aws::WAFV2::Types::BotStatistics

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

Overview

Statistics about a specific bot's traffic to a path, including the bot name, request count, and percentage of traffic.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bot_nameString

The name of the bot. For example, gptbot or googlebot.

Returns:

  • (String)


721
722
723
724
725
726
727
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 721

class BotStatistics < Struct.new(
  :bot_name,
  :request_count,
  :percentage)
  SENSITIVE = []
  include Aws::Structure
end

#percentageFloat

The percentage of total requests to the associated path that came from this bot.

Returns:

  • (Float)


721
722
723
724
725
726
727
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 721

class BotStatistics < Struct.new(
  :bot_name,
  :request_count,
  :percentage)
  SENSITIVE = []
  include Aws::Structure
end

#request_countInteger

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

Returns:

  • (Integer)


721
722
723
724
725
726
727
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/types.rb', line 721

class BotStatistics < Struct.new(
  :bot_name,
  :request_count,
  :percentage)
  SENSITIVE = []
  include Aws::Structure
end