@aws-sdk/client-wafv2 3.997.0 → 3.998.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/dist-cjs/index.js +14 -0
- package/dist-cjs/schemas/schemas_0.js +87 -33
- package/dist-es/WAFV2.js +2 -0
- package/dist-es/commands/GetTopPathStatisticsByTrafficCommand.js +16 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +80 -26
- package/dist-types/WAFV2.d.ts +7 -0
- package/dist-types/WAFV2Client.d.ts +3 -2
- package/dist-types/commands/GetTopPathStatisticsByTrafficCommand.d.ts +164 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +168 -0
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/WAFV2.d.ts +17 -0
- package/dist-types/ts3.4/WAFV2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetTopPathStatisticsByTrafficCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +33 -33
|
@@ -5218,6 +5218,174 @@ export interface GetSampledRequestsResponse {
|
|
|
5218
5218
|
*/
|
|
5219
5219
|
TimeWindow?: TimeWindow | undefined;
|
|
5220
5220
|
}
|
|
5221
|
+
/**
|
|
5222
|
+
* @public
|
|
5223
|
+
*/
|
|
5224
|
+
export interface GetTopPathStatisticsByTrafficRequest {
|
|
5225
|
+
/**
|
|
5226
|
+
* <p>The Amazon Resource Name (ARN) of the web ACL for which you want to retrieve path statistics.</p>
|
|
5227
|
+
* @public
|
|
5228
|
+
*/
|
|
5229
|
+
WebAclArn: string | undefined;
|
|
5230
|
+
/**
|
|
5231
|
+
* <p>Specifies whether the web ACL is for an Amazon Web Services CloudFront distribution or for a regional application.
|
|
5232
|
+
* A regional application can be an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool,
|
|
5233
|
+
* an Amazon Web Services App Runner service, or an Amazon Web Services Verified Access instance.</p>
|
|
5234
|
+
* @public
|
|
5235
|
+
*/
|
|
5236
|
+
Scope: Scope | undefined;
|
|
5237
|
+
/**
|
|
5238
|
+
* <p>A URI path prefix to filter the results. When you specify this parameter, the operation returns statistics for individual URIs within the specified path prefix.
|
|
5239
|
+
* For example, if you specify <code>/api</code>, the response includes statistics for paths like <code>/api/v1/users</code> and <code>/api/v2/orders</code>.
|
|
5240
|
+
* If you don't specify this parameter, the operation returns top-level path statistics.</p>
|
|
5241
|
+
* @public
|
|
5242
|
+
*/
|
|
5243
|
+
UriPathPrefix?: string | undefined;
|
|
5244
|
+
/**
|
|
5245
|
+
* <p>The time window for which you want to retrieve path statistics. The time window must be within the data retention period for your web ACL.</p>
|
|
5246
|
+
* @public
|
|
5247
|
+
*/
|
|
5248
|
+
TimeWindow: TimeWindow | undefined;
|
|
5249
|
+
/**
|
|
5250
|
+
* <p>Filters the results to include only traffic from bots in the specified category. For example, you can filter by <code>ai</code>
|
|
5251
|
+
* to see only AI crawler traffic, or <code>search_engine</code> to see only search engine bot traffic.
|
|
5252
|
+
* When you apply this filter, the <code>Source</code> field is populated in the response.</p>
|
|
5253
|
+
* @public
|
|
5254
|
+
*/
|
|
5255
|
+
BotCategory?: string | undefined;
|
|
5256
|
+
/**
|
|
5257
|
+
* <p>Filters the results to include only traffic from bots belonging to the specified organization. For example, you can filter by <code>openai</code> or <code>google</code>.
|
|
5258
|
+
* When you apply this filter, the <code>Source</code> field is populated in the response.</p>
|
|
5259
|
+
* @public
|
|
5260
|
+
*/
|
|
5261
|
+
BotOrganization?: string | undefined;
|
|
5262
|
+
/**
|
|
5263
|
+
* <p>Filters the results to include only traffic from the specified bot. For example, you can filter by <code>gptbot</code> or <code>googlebot</code>.
|
|
5264
|
+
* When you apply this filter, the <code>Source</code> field is populated in the response.</p>
|
|
5265
|
+
* @public
|
|
5266
|
+
*/
|
|
5267
|
+
BotName?: string | undefined;
|
|
5268
|
+
/**
|
|
5269
|
+
* <p>The maximum number of path statistics to return. Valid values are 1 to 100.</p>
|
|
5270
|
+
* @public
|
|
5271
|
+
*/
|
|
5272
|
+
Limit: number | undefined;
|
|
5273
|
+
/**
|
|
5274
|
+
* <p>The maximum number of top bots to include in the statistics for each path. Valid values are 1 to 10.</p>
|
|
5275
|
+
* @public
|
|
5276
|
+
*/
|
|
5277
|
+
NumberOfTopTrafficBotsPerPath: number | undefined;
|
|
5278
|
+
/**
|
|
5279
|
+
* <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that are still available for retrieval exceeds the limit, WAF
|
|
5280
|
+
* returns a <code>NextMarker</code> value in the response. To retrieve the next batch of objects,
|
|
5281
|
+
* provide the marker from the prior call in your next request.</p>
|
|
5282
|
+
* @public
|
|
5283
|
+
*/
|
|
5284
|
+
NextMarker?: string | undefined;
|
|
5285
|
+
}
|
|
5286
|
+
/**
|
|
5287
|
+
* <p>Information about the bot filter that was applied to the request. This structure is populated in the response when you filter by bot category, organization, or name.</p>
|
|
5288
|
+
* @public
|
|
5289
|
+
*/
|
|
5290
|
+
export interface FilterSource {
|
|
5291
|
+
/**
|
|
5292
|
+
* <p>The bot category that was used to filter the results. For example, <code>ai</code> or <code>search_engine</code>.</p>
|
|
5293
|
+
* @public
|
|
5294
|
+
*/
|
|
5295
|
+
BotCategory?: string | undefined;
|
|
5296
|
+
/**
|
|
5297
|
+
* <p>The bot organization that was used to filter the results. For example, <code>OpenAI</code> or <code>Google</code>.</p>
|
|
5298
|
+
* @public
|
|
5299
|
+
*/
|
|
5300
|
+
BotOrganization?: string | undefined;
|
|
5301
|
+
/**
|
|
5302
|
+
* <p>The bot name that was used to filter the results. For example, <code>gptbot</code> or <code>googlebot</code>.</p>
|
|
5303
|
+
* @public
|
|
5304
|
+
*/
|
|
5305
|
+
BotName?: string | undefined;
|
|
5306
|
+
}
|
|
5307
|
+
/**
|
|
5308
|
+
* <p>Statistics about a specific bot's traffic to a path, including the bot name, request count, and percentage of traffic.</p>
|
|
5309
|
+
* @public
|
|
5310
|
+
*/
|
|
5311
|
+
export interface BotStatistics {
|
|
5312
|
+
/**
|
|
5313
|
+
* <p>The name of the bot. For example, <code>gptbot</code> or <code>googlebot</code>.</p>
|
|
5314
|
+
* @public
|
|
5315
|
+
*/
|
|
5316
|
+
BotName: string | undefined;
|
|
5317
|
+
/**
|
|
5318
|
+
* <p>The number of requests from this bot to the associated path within the specified time window.</p>
|
|
5319
|
+
* @public
|
|
5320
|
+
*/
|
|
5321
|
+
RequestCount: number | undefined;
|
|
5322
|
+
/**
|
|
5323
|
+
* <p>The percentage of total requests to the associated path that came from this bot.</p>
|
|
5324
|
+
* @public
|
|
5325
|
+
*/
|
|
5326
|
+
Percentage: number | undefined;
|
|
5327
|
+
}
|
|
5328
|
+
/**
|
|
5329
|
+
* <p>Statistics about bot traffic to a specific URI path, including the path, request count, percentage of total traffic, and the top bots accessing that path.</p>
|
|
5330
|
+
* @public
|
|
5331
|
+
*/
|
|
5332
|
+
export interface PathStatistics {
|
|
5333
|
+
/**
|
|
5334
|
+
* <p>Information about the bot filter that was applied to generate these statistics. This field is only populated when you filter by bot category, organization, or name.</p>
|
|
5335
|
+
* @public
|
|
5336
|
+
*/
|
|
5337
|
+
Source?: FilterSource | undefined;
|
|
5338
|
+
/**
|
|
5339
|
+
* <p>The URI path. For example, <code>/api/</code> or <code>/api/v1/users</code>.</p>
|
|
5340
|
+
* @public
|
|
5341
|
+
*/
|
|
5342
|
+
Path: string | undefined;
|
|
5343
|
+
/**
|
|
5344
|
+
* <p>The number of requests to this path within the specified time window.</p>
|
|
5345
|
+
* @public
|
|
5346
|
+
*/
|
|
5347
|
+
RequestCount: number | undefined;
|
|
5348
|
+
/**
|
|
5349
|
+
* <p>The percentage of total requests that were made to this path.</p>
|
|
5350
|
+
* @public
|
|
5351
|
+
*/
|
|
5352
|
+
Percentage: number | undefined;
|
|
5353
|
+
/**
|
|
5354
|
+
* <p>The list of top bots accessing this path, ordered by request count. The number of bots included is determined by the
|
|
5355
|
+
* <code>NumberOfTopTrafficBotsPerPath</code> parameter in the request.</p>
|
|
5356
|
+
* @public
|
|
5357
|
+
*/
|
|
5358
|
+
TopBots?: BotStatistics[] | undefined;
|
|
5359
|
+
}
|
|
5360
|
+
/**
|
|
5361
|
+
* @public
|
|
5362
|
+
*/
|
|
5363
|
+
export interface GetTopPathStatisticsByTrafficResponse {
|
|
5364
|
+
/**
|
|
5365
|
+
* <p>The list of path statistics, ordered by request count. Each entry includes the path, request count,
|
|
5366
|
+
* percentage of total traffic, and the top bots accessing that path.</p>
|
|
5367
|
+
* @public
|
|
5368
|
+
*/
|
|
5369
|
+
PathStatistics: PathStatistics[] | undefined;
|
|
5370
|
+
/**
|
|
5371
|
+
* <p>The total number of requests that match the query criteria within the specified time window.</p>
|
|
5372
|
+
* @public
|
|
5373
|
+
*/
|
|
5374
|
+
TotalRequestCount: number | undefined;
|
|
5375
|
+
/**
|
|
5376
|
+
* <p>When you request a list of objects with a <code>Limit</code> setting, if the number of objects that
|
|
5377
|
+
* are still available for retrieval exceeds the limit, WAF returns a <code>NextMarker</code> value in the response.
|
|
5378
|
+
* To retrieve the next batch of objects, provide the marker from the prior call in your next request.</p>
|
|
5379
|
+
* @public
|
|
5380
|
+
*/
|
|
5381
|
+
NextMarker?: string | undefined;
|
|
5382
|
+
/**
|
|
5383
|
+
* <p>Category-level aggregations for visualizing bot category to path relationships. This field is only populated when no bot filters are applied to the request.
|
|
5384
|
+
* Each entry includes the bot category and the paths accessed by bots in that category.</p>
|
|
5385
|
+
* @public
|
|
5386
|
+
*/
|
|
5387
|
+
TopCategories?: PathStatistics[] | undefined;
|
|
5388
|
+
}
|
|
5221
5389
|
/**
|
|
5222
5390
|
* @public
|
|
5223
5391
|
*/
|
|
@@ -46,6 +46,7 @@ export declare var AWSManagedRulesATPRuleSet$: StaticStructureSchema;
|
|
|
46
46
|
export declare var AWSManagedRulesBotControlRuleSet$: StaticStructureSchema;
|
|
47
47
|
export declare var BlockAction$: StaticStructureSchema;
|
|
48
48
|
export declare var Body$: StaticStructureSchema;
|
|
49
|
+
export declare var BotStatistics$: StaticStructureSchema;
|
|
49
50
|
export declare var ByteMatchStatement$: StaticStructureSchema;
|
|
50
51
|
export declare var CaptchaAction$: StaticStructureSchema;
|
|
51
52
|
export declare var CaptchaConfig$: StaticStructureSchema;
|
|
@@ -108,6 +109,7 @@ export declare var ExcludedRule$: StaticStructureSchema;
|
|
|
108
109
|
export declare var FieldToMatch$: StaticStructureSchema;
|
|
109
110
|
export declare var FieldToProtect$: StaticStructureSchema;
|
|
110
111
|
export declare var Filter$: StaticStructureSchema;
|
|
112
|
+
export declare var FilterSource$: StaticStructureSchema;
|
|
111
113
|
export declare var FirewallManagerRuleGroup$: StaticStructureSchema;
|
|
112
114
|
export declare var FirewallManagerStatement$: StaticStructureSchema;
|
|
113
115
|
export declare var ForwardedIPConfig$: StaticStructureSchema;
|
|
@@ -134,6 +136,8 @@ export declare var GetRuleGroupRequest$: StaticStructureSchema;
|
|
|
134
136
|
export declare var GetRuleGroupResponse$: StaticStructureSchema;
|
|
135
137
|
export declare var GetSampledRequestsRequest$: StaticStructureSchema;
|
|
136
138
|
export declare var GetSampledRequestsResponse$: StaticStructureSchema;
|
|
139
|
+
export declare var GetTopPathStatisticsByTrafficRequest$: StaticStructureSchema;
|
|
140
|
+
export declare var GetTopPathStatisticsByTrafficResponse$: StaticStructureSchema;
|
|
137
141
|
export declare var GetWebACLForResourceRequest$: StaticStructureSchema;
|
|
138
142
|
export declare var GetWebACLForResourceResponse$: StaticStructureSchema;
|
|
139
143
|
export declare var GetWebACLRequest$: StaticStructureSchema;
|
|
@@ -198,6 +202,7 @@ export declare var OnSourceDDoSProtectionConfig$: StaticStructureSchema;
|
|
|
198
202
|
export declare var OrStatement$: StaticStructureSchema;
|
|
199
203
|
export declare var OverrideAction$: StaticStructureSchema;
|
|
200
204
|
export declare var PasswordField$: StaticStructureSchema;
|
|
205
|
+
export declare var PathStatistics$: StaticStructureSchema;
|
|
201
206
|
export declare var PhoneNumberField$: StaticStructureSchema;
|
|
202
207
|
export declare var PutLoggingConfigurationRequest$: StaticStructureSchema;
|
|
203
208
|
export declare var PutLoggingConfigurationResponse$: StaticStructureSchema;
|
|
@@ -304,6 +309,7 @@ export declare var GetRateBasedStatementManagedKeys$: StaticOperationSchema;
|
|
|
304
309
|
export declare var GetRegexPatternSet$: StaticOperationSchema;
|
|
305
310
|
export declare var GetRuleGroup$: StaticOperationSchema;
|
|
306
311
|
export declare var GetSampledRequests$: StaticOperationSchema;
|
|
312
|
+
export declare var GetTopPathStatisticsByTraffic$: StaticOperationSchema;
|
|
307
313
|
export declare var GetWebACL$: StaticOperationSchema;
|
|
308
314
|
export declare var GetWebACLForResource$: StaticOperationSchema;
|
|
309
315
|
export declare var ListAPIKeys$: StaticOperationSchema;
|
|
@@ -119,6 +119,10 @@ import {
|
|
|
119
119
|
GetSampledRequestsCommandInput,
|
|
120
120
|
GetSampledRequestsCommandOutput,
|
|
121
121
|
} from "./commands/GetSampledRequestsCommand";
|
|
122
|
+
import {
|
|
123
|
+
GetTopPathStatisticsByTrafficCommandInput,
|
|
124
|
+
GetTopPathStatisticsByTrafficCommandOutput,
|
|
125
|
+
} from "./commands/GetTopPathStatisticsByTrafficCommand";
|
|
122
126
|
import {
|
|
123
127
|
GetWebACLCommandInput,
|
|
124
128
|
GetWebACLCommandOutput,
|
|
@@ -608,6 +612,19 @@ export interface WAFV2 {
|
|
|
608
612
|
options: __HttpHandlerOptions,
|
|
609
613
|
cb: (err: any, data?: GetSampledRequestsCommandOutput) => void
|
|
610
614
|
): void;
|
|
615
|
+
getTopPathStatisticsByTraffic(
|
|
616
|
+
args: GetTopPathStatisticsByTrafficCommandInput,
|
|
617
|
+
options?: __HttpHandlerOptions
|
|
618
|
+
): Promise<GetTopPathStatisticsByTrafficCommandOutput>;
|
|
619
|
+
getTopPathStatisticsByTraffic(
|
|
620
|
+
args: GetTopPathStatisticsByTrafficCommandInput,
|
|
621
|
+
cb: (err: any, data?: GetTopPathStatisticsByTrafficCommandOutput) => void
|
|
622
|
+
): void;
|
|
623
|
+
getTopPathStatisticsByTraffic(
|
|
624
|
+
args: GetTopPathStatisticsByTrafficCommandInput,
|
|
625
|
+
options: __HttpHandlerOptions,
|
|
626
|
+
cb: (err: any, data?: GetTopPathStatisticsByTrafficCommandOutput) => void
|
|
627
|
+
): void;
|
|
611
628
|
getWebACL(): Promise<GetWebACLCommandOutput>;
|
|
612
629
|
getWebACL(
|
|
613
630
|
args: GetWebACLCommandInput,
|
|
@@ -165,6 +165,10 @@ import {
|
|
|
165
165
|
GetSampledRequestsCommandInput,
|
|
166
166
|
GetSampledRequestsCommandOutput,
|
|
167
167
|
} from "./commands/GetSampledRequestsCommand";
|
|
168
|
+
import {
|
|
169
|
+
GetTopPathStatisticsByTrafficCommandInput,
|
|
170
|
+
GetTopPathStatisticsByTrafficCommandOutput,
|
|
171
|
+
} from "./commands/GetTopPathStatisticsByTrafficCommand";
|
|
168
172
|
import {
|
|
169
173
|
GetWebACLCommandInput,
|
|
170
174
|
GetWebACLCommandOutput,
|
|
@@ -299,6 +303,7 @@ export type ServiceInputTypes =
|
|
|
299
303
|
| GetRegexPatternSetCommandInput
|
|
300
304
|
| GetRuleGroupCommandInput
|
|
301
305
|
| GetSampledRequestsCommandInput
|
|
306
|
+
| GetTopPathStatisticsByTrafficCommandInput
|
|
302
307
|
| GetWebACLCommandInput
|
|
303
308
|
| GetWebACLForResourceCommandInput
|
|
304
309
|
| ListAPIKeysCommandInput
|
|
@@ -354,6 +359,7 @@ export type ServiceOutputTypes =
|
|
|
354
359
|
| GetRegexPatternSetCommandOutput
|
|
355
360
|
| GetRuleGroupCommandOutput
|
|
356
361
|
| GetSampledRequestsCommandOutput
|
|
362
|
+
| GetTopPathStatisticsByTrafficCommandOutput
|
|
357
363
|
| GetWebACLCommandOutput
|
|
358
364
|
| GetWebACLForResourceCommandOutput
|
|
359
365
|
| ListAPIKeysCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GetTopPathStatisticsByTrafficRequest,
|
|
5
|
+
GetTopPathStatisticsByTrafficResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
ServiceInputTypes,
|
|
9
|
+
ServiceOutputTypes,
|
|
10
|
+
WAFV2ClientResolvedConfig,
|
|
11
|
+
} from "../WAFV2Client";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetTopPathStatisticsByTrafficCommandInput
|
|
15
|
+
extends GetTopPathStatisticsByTrafficRequest {}
|
|
16
|
+
export interface GetTopPathStatisticsByTrafficCommandOutput
|
|
17
|
+
extends GetTopPathStatisticsByTrafficResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetTopPathStatisticsByTrafficCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetTopPathStatisticsByTrafficCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetTopPathStatisticsByTrafficCommandInput,
|
|
24
|
+
GetTopPathStatisticsByTrafficCommandOutput,
|
|
25
|
+
WAFV2ClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetTopPathStatisticsByTrafficCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetTopPathStatisticsByTrafficCommandInput,
|
|
33
|
+
GetTopPathStatisticsByTrafficCommandOutput,
|
|
34
|
+
WAFV2ClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetTopPathStatisticsByTrafficCommand extends GetTopPathStatisticsByTrafficCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetTopPathStatisticsByTrafficRequest;
|
|
44
|
+
output: GetTopPathStatisticsByTrafficResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetTopPathStatisticsByTrafficCommandInput;
|
|
48
|
+
output: GetTopPathStatisticsByTrafficCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -28,6 +28,7 @@ export * from "./GetRateBasedStatementManagedKeysCommand";
|
|
|
28
28
|
export * from "./GetRegexPatternSetCommand";
|
|
29
29
|
export * from "./GetRuleGroupCommand";
|
|
30
30
|
export * from "./GetSampledRequestsCommand";
|
|
31
|
+
export * from "./GetTopPathStatisticsByTrafficCommand";
|
|
31
32
|
export * from "./GetWebACLCommand";
|
|
32
33
|
export * from "./GetWebACLForResourceCommand";
|
|
33
34
|
export * from "./ListAPIKeysCommand";
|
|
@@ -800,6 +800,41 @@ export interface GetSampledRequestsResponse {
|
|
|
800
800
|
PopulationSize?: number | undefined;
|
|
801
801
|
TimeWindow?: TimeWindow | undefined;
|
|
802
802
|
}
|
|
803
|
+
export interface GetTopPathStatisticsByTrafficRequest {
|
|
804
|
+
WebAclArn: string | undefined;
|
|
805
|
+
Scope: Scope | undefined;
|
|
806
|
+
UriPathPrefix?: string | undefined;
|
|
807
|
+
TimeWindow: TimeWindow | undefined;
|
|
808
|
+
BotCategory?: string | undefined;
|
|
809
|
+
BotOrganization?: string | undefined;
|
|
810
|
+
BotName?: string | undefined;
|
|
811
|
+
Limit: number | undefined;
|
|
812
|
+
NumberOfTopTrafficBotsPerPath: number | undefined;
|
|
813
|
+
NextMarker?: string | undefined;
|
|
814
|
+
}
|
|
815
|
+
export interface FilterSource {
|
|
816
|
+
BotCategory?: string | undefined;
|
|
817
|
+
BotOrganization?: string | undefined;
|
|
818
|
+
BotName?: string | undefined;
|
|
819
|
+
}
|
|
820
|
+
export interface BotStatistics {
|
|
821
|
+
BotName: string | undefined;
|
|
822
|
+
RequestCount: number | undefined;
|
|
823
|
+
Percentage: number | undefined;
|
|
824
|
+
}
|
|
825
|
+
export interface PathStatistics {
|
|
826
|
+
Source?: FilterSource | undefined;
|
|
827
|
+
Path: string | undefined;
|
|
828
|
+
RequestCount: number | undefined;
|
|
829
|
+
Percentage: number | undefined;
|
|
830
|
+
TopBots?: BotStatistics[] | undefined;
|
|
831
|
+
}
|
|
832
|
+
export interface GetTopPathStatisticsByTrafficResponse {
|
|
833
|
+
PathStatistics: PathStatistics[] | undefined;
|
|
834
|
+
TotalRequestCount: number | undefined;
|
|
835
|
+
NextMarker?: string | undefined;
|
|
836
|
+
TopCategories?: PathStatistics[] | undefined;
|
|
837
|
+
}
|
|
803
838
|
export interface GetWebACLRequest {
|
|
804
839
|
Name?: string | undefined;
|
|
805
840
|
Scope?: Scope | undefined;
|
|
@@ -45,6 +45,7 @@ export declare var AWSManagedRulesATPRuleSet$: StaticStructureSchema;
|
|
|
45
45
|
export declare var AWSManagedRulesBotControlRuleSet$: StaticStructureSchema;
|
|
46
46
|
export declare var BlockAction$: StaticStructureSchema;
|
|
47
47
|
export declare var Body$: StaticStructureSchema;
|
|
48
|
+
export declare var BotStatistics$: StaticStructureSchema;
|
|
48
49
|
export declare var ByteMatchStatement$: StaticStructureSchema;
|
|
49
50
|
export declare var CaptchaAction$: StaticStructureSchema;
|
|
50
51
|
export declare var CaptchaConfig$: StaticStructureSchema;
|
|
@@ -107,6 +108,7 @@ export declare var ExcludedRule$: StaticStructureSchema;
|
|
|
107
108
|
export declare var FieldToMatch$: StaticStructureSchema;
|
|
108
109
|
export declare var FieldToProtect$: StaticStructureSchema;
|
|
109
110
|
export declare var Filter$: StaticStructureSchema;
|
|
111
|
+
export declare var FilterSource$: StaticStructureSchema;
|
|
110
112
|
export declare var FirewallManagerRuleGroup$: StaticStructureSchema;
|
|
111
113
|
export declare var FirewallManagerStatement$: StaticStructureSchema;
|
|
112
114
|
export declare var ForwardedIPConfig$: StaticStructureSchema;
|
|
@@ -133,6 +135,8 @@ export declare var GetRuleGroupRequest$: StaticStructureSchema;
|
|
|
133
135
|
export declare var GetRuleGroupResponse$: StaticStructureSchema;
|
|
134
136
|
export declare var GetSampledRequestsRequest$: StaticStructureSchema;
|
|
135
137
|
export declare var GetSampledRequestsResponse$: StaticStructureSchema;
|
|
138
|
+
export declare var GetTopPathStatisticsByTrafficRequest$: StaticStructureSchema;
|
|
139
|
+
export declare var GetTopPathStatisticsByTrafficResponse$: StaticStructureSchema;
|
|
136
140
|
export declare var GetWebACLForResourceRequest$: StaticStructureSchema;
|
|
137
141
|
export declare var GetWebACLForResourceResponse$: StaticStructureSchema;
|
|
138
142
|
export declare var GetWebACLRequest$: StaticStructureSchema;
|
|
@@ -197,6 +201,7 @@ export declare var OnSourceDDoSProtectionConfig$: StaticStructureSchema;
|
|
|
197
201
|
export declare var OrStatement$: StaticStructureSchema;
|
|
198
202
|
export declare var OverrideAction$: StaticStructureSchema;
|
|
199
203
|
export declare var PasswordField$: StaticStructureSchema;
|
|
204
|
+
export declare var PathStatistics$: StaticStructureSchema;
|
|
200
205
|
export declare var PhoneNumberField$: StaticStructureSchema;
|
|
201
206
|
export declare var PutLoggingConfigurationRequest$: StaticStructureSchema;
|
|
202
207
|
export declare var PutLoggingConfigurationResponse$: StaticStructureSchema;
|
|
@@ -303,6 +308,7 @@ export declare var GetRateBasedStatementManagedKeys$: StaticOperationSchema;
|
|
|
303
308
|
export declare var GetRegexPatternSet$: StaticOperationSchema;
|
|
304
309
|
export declare var GetRuleGroup$: StaticOperationSchema;
|
|
305
310
|
export declare var GetSampledRequests$: StaticOperationSchema;
|
|
311
|
+
export declare var GetTopPathStatisticsByTraffic$: StaticOperationSchema;
|
|
306
312
|
export declare var GetWebACL$: StaticOperationSchema;
|
|
307
313
|
export declare var GetWebACLForResource$: StaticOperationSchema;
|
|
308
314
|
export declare var ListAPIKeys$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.998.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-wafv2",
|
|
@@ -21,41 +21,41 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
32
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
35
|
-
"@smithy/config-resolver": "^4.4.
|
|
36
|
-
"@smithy/core": "^3.23.
|
|
37
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
38
|
-
"@smithy/hash-node": "^4.2.
|
|
39
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
40
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
-
"@smithy/middleware-serde": "^4.2.
|
|
44
|
-
"@smithy/middleware-stack": "^4.2.
|
|
45
|
-
"@smithy/node-config-provider": "^4.3.
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
47
|
-
"@smithy/protocol-http": "^5.3.
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
49
|
-
"@smithy/types": "^4.
|
|
50
|
-
"@smithy/url-parser": "^4.2.
|
|
24
|
+
"@aws-sdk/core": "^3.973.14",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.13",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.5",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.5",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.5",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.14",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.5",
|
|
31
|
+
"@aws-sdk/types": "^3.973.3",
|
|
32
|
+
"@aws-sdk/util-endpoints": "^3.996.2",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.5",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.13",
|
|
35
|
+
"@smithy/config-resolver": "^4.4.9",
|
|
36
|
+
"@smithy/core": "^3.23.6",
|
|
37
|
+
"@smithy/fetch-http-handler": "^5.3.11",
|
|
38
|
+
"@smithy/hash-node": "^4.2.10",
|
|
39
|
+
"@smithy/invalid-dependency": "^4.2.10",
|
|
40
|
+
"@smithy/middleware-content-length": "^4.2.10",
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.20",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.37",
|
|
43
|
+
"@smithy/middleware-serde": "^4.2.11",
|
|
44
|
+
"@smithy/middleware-stack": "^4.2.10",
|
|
45
|
+
"@smithy/node-config-provider": "^4.3.10",
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.12",
|
|
47
|
+
"@smithy/protocol-http": "^5.3.10",
|
|
48
|
+
"@smithy/smithy-client": "^4.12.0",
|
|
49
|
+
"@smithy/types": "^4.13.0",
|
|
50
|
+
"@smithy/url-parser": "^4.2.10",
|
|
51
51
|
"@smithy/util-base64": "^4.3.1",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.1",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.2",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
-
"@smithy/util-endpoints": "^3.
|
|
57
|
-
"@smithy/util-middleware": "^4.2.
|
|
58
|
-
"@smithy/util-retry": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.36",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.39",
|
|
56
|
+
"@smithy/util-endpoints": "^3.3.1",
|
|
57
|
+
"@smithy/util-middleware": "^4.2.10",
|
|
58
|
+
"@smithy/util-retry": "^4.2.10",
|
|
59
59
|
"@smithy/util-utf8": "^4.2.1",
|
|
60
60
|
"tslib": "^2.6.2"
|
|
61
61
|
},
|