View source: R/wafv2_operations.R
wafv2_get_sampled_requests | R Documentation |
Gets detailed information about a specified number of requests–a sample–that WAF randomly selects from among the first 5,000 requests that your Amazon Web Services resource received during a time range that you choose. You can specify a sample size of up to 500 requests, and you can specify any time range in the previous three hours.
See https://www.paws-r-sdk.com/docs/wafv2_get_sampled_requests/ for full documentation.
wafv2_get_sampled_requests(
WebAclArn,
RuleMetricName,
Scope,
TimeWindow,
MaxItems
)
WebAclArn |
[required] The Amazon resource name (ARN) of the |
RuleMetricName |
[required] The metric name assigned to the |
Scope |
[required] Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
|
TimeWindow |
[required] The start date and time and the end date and time of the range for which
you want |
MaxItems |
[required] The number of requests that you want WAF to return from among the first
5,000 requests that your Amazon Web Services resource received during
the time range. If your resource received fewer requests than the value
of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.