Class: Aws::WAFV2::Types::GetRevenueStatisticsRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#currencyString

The currency for the revenue amounts in the response.

Returns:

  • (String)


3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
# File 'lib/aws-sdk-wafv2/types.rb', line 3933

class GetRevenueStatisticsRequest < Struct.new(
  :statistic_type,
  :time_window,
  :scope,
  :currency,
  :group_by,
  :filters,
  :next_marker,
  :limit,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#filtersArray<Types::MonetizationFilter>

Optional filters to narrow the results.

Returns:



3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
# File 'lib/aws-sdk-wafv2/types.rb', line 3933

class GetRevenueStatisticsRequest < Struct.new(
  :statistic_type,
  :time_window,
  :scope,
  :currency,
  :group_by,
  :filters,
  :next_marker,
  :limit,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#group_byString

The dimension to group results by: NAME, CATEGORY, INTENT, ORGANIZATION, or WEBACL. Required when StatisticType is TOP_SOURCES_BY_REVENUE. Not required for TOP_PATHS_BY_REVENUE, where results are grouped by content path. If StatisticType is TOP_SOURCES_BY_REVENUE and GroupBy is omitted, the request is rejected with a WAFInvalidParameterException.

Returns:

  • (String)


3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
# File 'lib/aws-sdk-wafv2/types.rb', line 3933

class GetRevenueStatisticsRequest < Struct.new(
  :statistic_type,
  :time_window,
  :scope,
  :currency,
  :group_by,
  :filters,
  :next_marker,
  :limit,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#limitInteger

The maximum number of results to return.

Returns:

  • (Integer)


3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
# File 'lib/aws-sdk-wafv2/types.rb', line 3933

class GetRevenueStatisticsRequest < Struct.new(
  :statistic_type,
  :time_window,
  :scope,
  :currency,
  :group_by,
  :filters,
  :next_marker,
  :limit,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#next_markerString

When you get a paginated response, this marker indicates that additional results are available. Use it in a subsequent request to retrieve the next page of results.

Returns:

  • (String)


3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
# File 'lib/aws-sdk-wafv2/types.rb', line 3933

class GetRevenueStatisticsRequest < Struct.new(
  :statistic_type,
  :time_window,
  :scope,
  :currency,
  :group_by,
  :filters,
  :next_marker,
  :limit,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#scopeString

Specifies whether this is for a Amazon CloudFront distribution (CLOUDFRONT) or for a regional application (REGIONAL).

Returns:

  • (String)


3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
# File 'lib/aws-sdk-wafv2/types.rb', line 3933

class GetRevenueStatisticsRequest < Struct.new(
  :statistic_type,
  :time_window,
  :scope,
  :currency,
  :group_by,
  :filters,
  :next_marker,
  :limit,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#sort_byString

The field to sort results by: REVENUE, PERCENTAGE, or NAME.

Returns:

  • (String)


3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
# File 'lib/aws-sdk-wafv2/types.rb', line 3933

class GetRevenueStatisticsRequest < Struct.new(
  :statistic_type,
  :time_window,
  :scope,
  :currency,
  :group_by,
  :filters,
  :next_marker,
  :limit,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#sort_orderString

The sort order: ASC for ascending or DESC for descending.

Returns:

  • (String)


3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
# File 'lib/aws-sdk-wafv2/types.rb', line 3933

class GetRevenueStatisticsRequest < Struct.new(
  :statistic_type,
  :time_window,
  :scope,
  :currency,
  :group_by,
  :filters,
  :next_marker,
  :limit,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#statistic_typeString

TOP_SOURCES_BY_REVENUE ranks revenue from AI bot traffic, grouped by the dimension you specify in the GroupBy parameter (NAME, CATEGORY, INTENT, ORGANIZATION, or WEBACL); GroupBy is required for this statistic type. TOP_PATHS_BY_REVENUE ranks revenue by path.

Returns:

  • (String)


3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
# File 'lib/aws-sdk-wafv2/types.rb', line 3933

class GetRevenueStatisticsRequest < Struct.new(
  :statistic_type,
  :time_window,
  :scope,
  :currency,
  :group_by,
  :filters,
  :next_marker,
  :limit,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end

#time_windowTypes::TimeWindow

The time range for the query. Specify start and end timestamps.

Returns:



3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
# File 'lib/aws-sdk-wafv2/types.rb', line 3933

class GetRevenueStatisticsRequest < Struct.new(
  :statistic_type,
  :time_window,
  :scope,
  :currency,
  :group_by,
  :filters,
  :next_marker,
  :limit,
  :sort_by,
  :sort_order)
  SENSITIVE = []
  include Aws::Structure
end