AWS WAF · Schema
GetSampledRequestsRequest
SecurityWeb Application FirewallDDoS ProtectionBot ManagementEdge SecurityCloudAmazon Web Services
Properties
| Name | Type | Description |
|---|---|---|
| WebAclArn | string | The Amazon resource name (ARN) of the WebACL for which you want a sample of requests. |
| RuleMetricName | string | The metric name assigned to the Rule or RuleGroup dimension for which you want a sample of requests. |
| Scope | string | Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT. To work with CloudFront, you must also specify the Region US |
| TimeWindow | object | |
| MaxItems | integer | 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 t |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/aws-waf/json-schema/aws-waf-get-sampled-requests-request-schema.json",
"title": "GetSampledRequestsRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/aws-waf-aws-wafv2-api-api-openapi.yml#/components/schemas/GetSampledRequestsRequest",
"type": "object",
"properties": {
"WebAclArn": {
"type": "string",
"description": "The Amazon resource name (ARN) of the WebACL for which you want a sample of requests."
},
"RuleMetricName": {
"type": "string",
"description": "The metric name assigned to the Rule or RuleGroup dimension for which you want a sample of requests."
},
"Scope": {
"type": "string",
"enum": [
"CLOUDFRONT",
"REGIONAL"
],
"description": "Specifies whether this is for a global resource type, such as a Amazon CloudFront distribution. For an Amplify application, use CLOUDFRONT. To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows: CLI - Specify the Region when you use the CloudFront scope: --scope=CLOUDFRONT --region=us-east-1. API and SDKs - For all calls, use the Region endpoint us-east-1."
},
"TimeWindow": {
"$ref": "#/$defs/TimeWindow"
},
"MaxItems": {
"type": "integer",
"description": "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 MaxItems, GetSampledRequests returns information about all of them."
}
},
"required": [
"WebAclArn",
"RuleMetricName",
"Scope",
"TimeWindow",
"MaxItems"
],
"$defs": {
"TimeWindow": {
"type": "object",
"properties": {
"StartTime": {
"type": "string",
"format": "date-time",
"description": "The beginning of the time range from which you want GetSampledRequests to return a sample of the requests that your Amazon Web Services resource received. You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, \"2016-09-27T14:50Z\". You can specify any time range in the previous three hours."
},
"EndTime": {
"type": "string",
"format": "date-time",
"description": "The end of the time range from which you want GetSampledRequests to return a sample of the requests that your Amazon Web Services resource received. You must specify the times in Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z. For example, \"2016-09-27T14:50Z\". You can specify any time range in the previous three hours."
}
},
"required": [
"StartTime",
"EndTime"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aws-waf-get-sampled-requests-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.