Smaws_Client_WAFV2.GetTopPathStatisticsByTrafficRetrieves aggregated statistics about the top URI paths accessed by bot traffic for a specified web ACL and time window. You can use this operation to analyze which paths on your web application receive the most bot traffic and identify the specific bots accessing those paths. The operation supports filtering by bot category, organization, or name, and allows you to drill down into specific path prefixes to view detailed URI-level statistics.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `WAFFeatureNotIncludedInPricingPlanException of
Types.waf_feature_not_included_in_pricing_plan_exception
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFInvalidOperationException of Types.waf_invalid_operation_exception
| `WAFInvalidParameterException of Types.waf_invalid_parameter_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_top_path_statistics_by_traffic_request ->
(Types.get_top_path_statistics_by_traffic_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `WAFFeatureNotIncludedInPricingPlanException of
Types.waf_feature_not_included_in_pricing_plan_exception
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFInvalidOperationException of Types.waf_invalid_operation_exception
| `WAFInvalidParameterException of Types.waf_invalid_parameter_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_top_path_statistics_by_traffic_request ->
(Types.get_top_path_statistics_by_traffic_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `WAFFeatureNotIncludedInPricingPlanException of
Types.waf_feature_not_included_in_pricing_plan_exception
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFInvalidOperationException of Types.waf_invalid_operation_exception
| `WAFInvalidParameterException of Types.waf_invalid_parameter_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result