@aws-sdk/client-wafv2 3.1173.0 → 3.1175.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.
Files changed (51) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +418 -72
  3. package/dist-es/WAFV2.js +10 -0
  4. package/dist-es/commands/GetEventActorCommand.js +4 -0
  5. package/dist-es/commands/GetEventCommand.js +4 -0
  6. package/dist-es/commands/ListEventActorsCommand.js +4 -0
  7. package/dist-es/commands/ListEventsByWebACLCommand.js +4 -0
  8. package/dist-es/commands/ListEventsCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/index.js +1 -0
  11. package/dist-es/models/enums.js +33 -0
  12. package/dist-es/models/models_1.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +324 -71
  14. package/dist-types/WAFV2.d.ts +35 -0
  15. package/dist-types/WAFV2Client.d.ts +7 -2
  16. package/dist-types/commands/CheckCapacityCommand.d.ts +22 -0
  17. package/dist-types/commands/CreateRuleGroupCommand.d.ts +22 -0
  18. package/dist-types/commands/CreateWebACLCommand.d.ts +23 -1
  19. package/dist-types/commands/GetEventActorCommand.d.ts +146 -0
  20. package/dist-types/commands/GetEventCommand.d.ts +154 -0
  21. package/dist-types/commands/GetRuleGroupCommand.d.ts +24 -1
  22. package/dist-types/commands/GetWebACLCommand.d.ts +47 -2
  23. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +47 -2
  24. package/dist-types/commands/ListEventActorsCommand.d.ts +119 -0
  25. package/dist-types/commands/ListEventsByWebACLCommand.d.ts +187 -0
  26. package/dist-types/commands/ListEventsCommand.d.ts +180 -0
  27. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +22 -0
  28. package/dist-types/commands/UpdateWebACLCommand.d.ts +23 -1
  29. package/dist-types/commands/index.d.ts +5 -0
  30. package/dist-types/index.d.ts +1 -0
  31. package/dist-types/models/enums.d.ts +89 -0
  32. package/dist-types/models/models_0.d.ts +962 -344
  33. package/dist-types/models/models_1.d.ts +229 -0
  34. package/dist-types/schemas/schemas_0.d.ts +32 -0
  35. package/dist-types/ts3.4/WAFV2.d.ts +76 -0
  36. package/dist-types/ts3.4/WAFV2Client.d.ts +24 -0
  37. package/dist-types/ts3.4/commands/GetEventActorCommand.d.ts +38 -0
  38. package/dist-types/ts3.4/commands/GetEventCommand.d.ts +38 -0
  39. package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +2 -1
  40. package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +2 -1
  41. package/dist-types/ts3.4/commands/GetWebACLForResourceCommand.d.ts +2 -1
  42. package/dist-types/ts3.4/commands/ListEventActorsCommand.d.ts +38 -0
  43. package/dist-types/ts3.4/commands/ListEventsByWebACLCommand.d.ts +39 -0
  44. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +38 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  46. package/dist-types/ts3.4/index.d.ts +1 -0
  47. package/dist-types/ts3.4/models/enums.d.ts +40 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +167 -37
  49. package/dist-types/ts3.4/models/models_1.d.ts +53 -0
  50. package/dist-types/ts3.4/schemas/schemas_0.d.ts +32 -0
  51. package/package.json +3 -3
@@ -20,6 +20,8 @@ import { type DescribeManagedRuleGroupCommandInput, type DescribeManagedRuleGrou
20
20
  import { type DisassociateWebACLCommandInput, type DisassociateWebACLCommandOutput } from "./commands/DisassociateWebACLCommand";
21
21
  import { type GenerateMobileSdkReleaseUrlCommandInput, type GenerateMobileSdkReleaseUrlCommandOutput } from "./commands/GenerateMobileSdkReleaseUrlCommand";
22
22
  import { type GetDecryptedAPIKeyCommandInput, type GetDecryptedAPIKeyCommandOutput } from "./commands/GetDecryptedAPIKeyCommand";
23
+ import { type GetEventActorCommandInput, type GetEventActorCommandOutput } from "./commands/GetEventActorCommand";
24
+ import { type GetEventCommandInput, type GetEventCommandOutput } from "./commands/GetEventCommand";
23
25
  import { type GetIPSetCommandInput, type GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
24
26
  import { type GetLoggingConfigurationCommandInput, type GetLoggingConfigurationCommandOutput } from "./commands/GetLoggingConfigurationCommand";
25
27
  import { type GetManagedRuleSetCommandInput, type GetManagedRuleSetCommandOutput } from "./commands/GetManagedRuleSetCommand";
@@ -38,6 +40,9 @@ import { type GetWebACLForResourceCommandInput, type GetWebACLForResourceCommand
38
40
  import { type ListAPIKeysCommandInput, type ListAPIKeysCommandOutput } from "./commands/ListAPIKeysCommand";
39
41
  import { type ListAvailableManagedRuleGroupsCommandInput, type ListAvailableManagedRuleGroupsCommandOutput } from "./commands/ListAvailableManagedRuleGroupsCommand";
40
42
  import { type ListAvailableManagedRuleGroupVersionsCommandInput, type ListAvailableManagedRuleGroupVersionsCommandOutput } from "./commands/ListAvailableManagedRuleGroupVersionsCommand";
43
+ import { type ListEventActorsCommandInput, type ListEventActorsCommandOutput } from "./commands/ListEventActorsCommand";
44
+ import { type ListEventsByWebACLCommandInput, type ListEventsByWebACLCommandOutput } from "./commands/ListEventsByWebACLCommand";
45
+ import { type ListEventsCommandInput, type ListEventsCommandOutput } from "./commands/ListEventsCommand";
41
46
  import { type ListIPSetsCommandInput, type ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
42
47
  import { type ListLoggingConfigurationsCommandInput, type ListLoggingConfigurationsCommandOutput } from "./commands/ListLoggingConfigurationsCommand";
43
48
  import { type ListManagedRuleSetsCommandInput, type ListManagedRuleSetsCommandOutput } from "./commands/ListManagedRuleSetsCommand";
@@ -192,6 +197,18 @@ export interface WAFV2 {
192
197
  getDecryptedAPIKey(args: GetDecryptedAPIKeyCommandInput, options?: WAFV2RequestOptions): Promise<GetDecryptedAPIKeyCommandOutput>;
193
198
  getDecryptedAPIKey(args: GetDecryptedAPIKeyCommandInput, cb: (err: any, data?: GetDecryptedAPIKeyCommandOutput) => void): void;
194
199
  getDecryptedAPIKey(args: GetDecryptedAPIKeyCommandInput, options: WAFV2RequestOptions, cb: (err: any, data?: GetDecryptedAPIKeyCommandOutput) => void): void;
200
+ /**
201
+ * @see {@link GetEventCommand}
202
+ */
203
+ getEvent(args: GetEventCommandInput, options?: WAFV2RequestOptions): Promise<GetEventCommandOutput>;
204
+ getEvent(args: GetEventCommandInput, cb: (err: any, data?: GetEventCommandOutput) => void): void;
205
+ getEvent(args: GetEventCommandInput, options: WAFV2RequestOptions, cb: (err: any, data?: GetEventCommandOutput) => void): void;
206
+ /**
207
+ * @see {@link GetEventActorCommand}
208
+ */
209
+ getEventActor(args: GetEventActorCommandInput, options?: WAFV2RequestOptions): Promise<GetEventActorCommandOutput>;
210
+ getEventActor(args: GetEventActorCommandInput, cb: (err: any, data?: GetEventActorCommandOutput) => void): void;
211
+ getEventActor(args: GetEventActorCommandInput, options: WAFV2RequestOptions, cb: (err: any, data?: GetEventActorCommandOutput) => void): void;
195
212
  /**
196
213
  * @see {@link GetIPSetCommand}
197
214
  */
@@ -302,6 +319,24 @@ export interface WAFV2 {
302
319
  listAvailableManagedRuleGroupVersions(args: ListAvailableManagedRuleGroupVersionsCommandInput, options?: WAFV2RequestOptions): Promise<ListAvailableManagedRuleGroupVersionsCommandOutput>;
303
320
  listAvailableManagedRuleGroupVersions(args: ListAvailableManagedRuleGroupVersionsCommandInput, cb: (err: any, data?: ListAvailableManagedRuleGroupVersionsCommandOutput) => void): void;
304
321
  listAvailableManagedRuleGroupVersions(args: ListAvailableManagedRuleGroupVersionsCommandInput, options: WAFV2RequestOptions, cb: (err: any, data?: ListAvailableManagedRuleGroupVersionsCommandOutput) => void): void;
322
+ /**
323
+ * @see {@link ListEventActorsCommand}
324
+ */
325
+ listEventActors(args: ListEventActorsCommandInput, options?: WAFV2RequestOptions): Promise<ListEventActorsCommandOutput>;
326
+ listEventActors(args: ListEventActorsCommandInput, cb: (err: any, data?: ListEventActorsCommandOutput) => void): void;
327
+ listEventActors(args: ListEventActorsCommandInput, options: WAFV2RequestOptions, cb: (err: any, data?: ListEventActorsCommandOutput) => void): void;
328
+ /**
329
+ * @see {@link ListEventsCommand}
330
+ */
331
+ listEvents(args: ListEventsCommandInput, options?: WAFV2RequestOptions): Promise<ListEventsCommandOutput>;
332
+ listEvents(args: ListEventsCommandInput, cb: (err: any, data?: ListEventsCommandOutput) => void): void;
333
+ listEvents(args: ListEventsCommandInput, options: WAFV2RequestOptions, cb: (err: any, data?: ListEventsCommandOutput) => void): void;
334
+ /**
335
+ * @see {@link ListEventsByWebACLCommand}
336
+ */
337
+ listEventsByWebACL(args: ListEventsByWebACLCommandInput, options?: WAFV2RequestOptions): Promise<ListEventsByWebACLCommandOutput>;
338
+ listEventsByWebACL(args: ListEventsByWebACLCommandInput, cb: (err: any, data?: ListEventsByWebACLCommandOutput) => void): void;
339
+ listEventsByWebACL(args: ListEventsByWebACLCommandInput, options: WAFV2RequestOptions, cb: (err: any, data?: ListEventsByWebACLCommandOutput) => void): void;
305
340
  /**
306
341
  * @see {@link ListIPSetsCommand}
307
342
  */
@@ -27,6 +27,8 @@ import type { DescribeManagedRuleGroupCommandInput, DescribeManagedRuleGroupComm
27
27
  import type { DisassociateWebACLCommandInput, DisassociateWebACLCommandOutput } from "./commands/DisassociateWebACLCommand";
28
28
  import type { GenerateMobileSdkReleaseUrlCommandInput, GenerateMobileSdkReleaseUrlCommandOutput } from "./commands/GenerateMobileSdkReleaseUrlCommand";
29
29
  import type { GetDecryptedAPIKeyCommandInput, GetDecryptedAPIKeyCommandOutput } from "./commands/GetDecryptedAPIKeyCommand";
30
+ import type { GetEventActorCommandInput, GetEventActorCommandOutput } from "./commands/GetEventActorCommand";
31
+ import type { GetEventCommandInput, GetEventCommandOutput } from "./commands/GetEventCommand";
30
32
  import type { GetIPSetCommandInput, GetIPSetCommandOutput } from "./commands/GetIPSetCommand";
31
33
  import type { GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput } from "./commands/GetLoggingConfigurationCommand";
32
34
  import type { GetManagedRuleSetCommandInput, GetManagedRuleSetCommandOutput } from "./commands/GetManagedRuleSetCommand";
@@ -45,6 +47,9 @@ import type { GetWebACLForResourceCommandInput, GetWebACLForResourceCommandOutpu
45
47
  import type { ListAPIKeysCommandInput, ListAPIKeysCommandOutput } from "./commands/ListAPIKeysCommand";
46
48
  import type { ListAvailableManagedRuleGroupsCommandInput, ListAvailableManagedRuleGroupsCommandOutput } from "./commands/ListAvailableManagedRuleGroupsCommand";
47
49
  import type { ListAvailableManagedRuleGroupVersionsCommandInput, ListAvailableManagedRuleGroupVersionsCommandOutput } from "./commands/ListAvailableManagedRuleGroupVersionsCommand";
50
+ import type { ListEventActorsCommandInput, ListEventActorsCommandOutput } from "./commands/ListEventActorsCommand";
51
+ import type { ListEventsByWebACLCommandInput, ListEventsByWebACLCommandOutput } from "./commands/ListEventsByWebACLCommand";
52
+ import type { ListEventsCommandInput, ListEventsCommandOutput } from "./commands/ListEventsCommand";
48
53
  import type { ListIPSetsCommandInput, ListIPSetsCommandOutput } from "./commands/ListIPSetsCommand";
49
54
  import type { ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput } from "./commands/ListLoggingConfigurationsCommand";
50
55
  import type { ListManagedRuleSetsCommandInput, ListManagedRuleSetsCommandOutput } from "./commands/ListManagedRuleSetsCommand";
@@ -71,11 +76,11 @@ export { __Client };
71
76
  /**
72
77
  * @public
73
78
  */
74
- export type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateAPIKeyCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteAPIKeyCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeAllManagedProductsCommandInput | DescribeManagedProductsByVendorCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GenerateMobileSdkReleaseUrlCommandInput | GetDecryptedAPIKeyCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetMobileSdkReleaseCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRevenueStatisticsCommandInput | GetRevenueStatisticsSummaryCommandInput | GetRevenueStatisticsTimeSeriesCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetTopPathStatisticsByTrafficCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAPIKeysCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListMobileSdkReleasesCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListSettlementRecordsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
79
+ export type ServiceInputTypes = AssociateWebACLCommandInput | CheckCapacityCommandInput | CreateAPIKeyCommandInput | CreateIPSetCommandInput | CreateRegexPatternSetCommandInput | CreateRuleGroupCommandInput | CreateWebACLCommandInput | DeleteAPIKeyCommandInput | DeleteFirewallManagerRuleGroupsCommandInput | DeleteIPSetCommandInput | DeleteLoggingConfigurationCommandInput | DeletePermissionPolicyCommandInput | DeleteRegexPatternSetCommandInput | DeleteRuleGroupCommandInput | DeleteWebACLCommandInput | DescribeAllManagedProductsCommandInput | DescribeManagedProductsByVendorCommandInput | DescribeManagedRuleGroupCommandInput | DisassociateWebACLCommandInput | GenerateMobileSdkReleaseUrlCommandInput | GetDecryptedAPIKeyCommandInput | GetEventActorCommandInput | GetEventCommandInput | GetIPSetCommandInput | GetLoggingConfigurationCommandInput | GetManagedRuleSetCommandInput | GetMobileSdkReleaseCommandInput | GetPermissionPolicyCommandInput | GetRateBasedStatementManagedKeysCommandInput | GetRegexPatternSetCommandInput | GetRevenueStatisticsCommandInput | GetRevenueStatisticsSummaryCommandInput | GetRevenueStatisticsTimeSeriesCommandInput | GetRuleGroupCommandInput | GetSampledRequestsCommandInput | GetTopPathStatisticsByTrafficCommandInput | GetWebACLCommandInput | GetWebACLForResourceCommandInput | ListAPIKeysCommandInput | ListAvailableManagedRuleGroupVersionsCommandInput | ListAvailableManagedRuleGroupsCommandInput | ListEventActorsCommandInput | ListEventsByWebACLCommandInput | ListEventsCommandInput | ListIPSetsCommandInput | ListLoggingConfigurationsCommandInput | ListManagedRuleSetsCommandInput | ListMobileSdkReleasesCommandInput | ListRegexPatternSetsCommandInput | ListResourcesForWebACLCommandInput | ListRuleGroupsCommandInput | ListSettlementRecordsCommandInput | ListTagsForResourceCommandInput | ListWebACLsCommandInput | PutLoggingConfigurationCommandInput | PutManagedRuleSetVersionsCommandInput | PutPermissionPolicyCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateIPSetCommandInput | UpdateManagedRuleSetVersionExpiryDateCommandInput | UpdateRegexPatternSetCommandInput | UpdateRuleGroupCommandInput | UpdateWebACLCommandInput;
75
80
  /**
76
81
  * @public
77
82
  */
78
- export type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateAPIKeyCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteAPIKeyCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeAllManagedProductsCommandOutput | DescribeManagedProductsByVendorCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GenerateMobileSdkReleaseUrlCommandOutput | GetDecryptedAPIKeyCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetMobileSdkReleaseCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRevenueStatisticsCommandOutput | GetRevenueStatisticsSummaryCommandOutput | GetRevenueStatisticsTimeSeriesCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetTopPathStatisticsByTrafficCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAPIKeysCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListMobileSdkReleasesCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListSettlementRecordsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
83
+ export type ServiceOutputTypes = AssociateWebACLCommandOutput | CheckCapacityCommandOutput | CreateAPIKeyCommandOutput | CreateIPSetCommandOutput | CreateRegexPatternSetCommandOutput | CreateRuleGroupCommandOutput | CreateWebACLCommandOutput | DeleteAPIKeyCommandOutput | DeleteFirewallManagerRuleGroupsCommandOutput | DeleteIPSetCommandOutput | DeleteLoggingConfigurationCommandOutput | DeletePermissionPolicyCommandOutput | DeleteRegexPatternSetCommandOutput | DeleteRuleGroupCommandOutput | DeleteWebACLCommandOutput | DescribeAllManagedProductsCommandOutput | DescribeManagedProductsByVendorCommandOutput | DescribeManagedRuleGroupCommandOutput | DisassociateWebACLCommandOutput | GenerateMobileSdkReleaseUrlCommandOutput | GetDecryptedAPIKeyCommandOutput | GetEventActorCommandOutput | GetEventCommandOutput | GetIPSetCommandOutput | GetLoggingConfigurationCommandOutput | GetManagedRuleSetCommandOutput | GetMobileSdkReleaseCommandOutput | GetPermissionPolicyCommandOutput | GetRateBasedStatementManagedKeysCommandOutput | GetRegexPatternSetCommandOutput | GetRevenueStatisticsCommandOutput | GetRevenueStatisticsSummaryCommandOutput | GetRevenueStatisticsTimeSeriesCommandOutput | GetRuleGroupCommandOutput | GetSampledRequestsCommandOutput | GetTopPathStatisticsByTrafficCommandOutput | GetWebACLCommandOutput | GetWebACLForResourceCommandOutput | ListAPIKeysCommandOutput | ListAvailableManagedRuleGroupVersionsCommandOutput | ListAvailableManagedRuleGroupsCommandOutput | ListEventActorsCommandOutput | ListEventsByWebACLCommandOutput | ListEventsCommandOutput | ListIPSetsCommandOutput | ListLoggingConfigurationsCommandOutput | ListManagedRuleSetsCommandOutput | ListMobileSdkReleasesCommandOutput | ListRegexPatternSetsCommandOutput | ListResourcesForWebACLCommandOutput | ListRuleGroupsCommandOutput | ListSettlementRecordsCommandOutput | ListTagsForResourceCommandOutput | ListWebACLsCommandOutput | PutLoggingConfigurationCommandOutput | PutManagedRuleSetVersionsCommandOutput | PutPermissionPolicyCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateIPSetCommandOutput | UpdateManagedRuleSetVersionExpiryDateCommandOutput | UpdateRegexPatternSetCommandOutput | UpdateRuleGroupCommandOutput | UpdateWebACLCommandOutput;
79
84
  /**
80
85
  * @public
81
86
  */
@@ -814,6 +814,17 @@ declare const CheckCapacityCommand_base: {
814
814
  * },
815
815
  * SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
816
816
  * },
817
+ * AWSManagedRulesAISecurityRuleSet: { // AWSManagedRulesAISecurityRuleSet
818
+ * BedrockGuardrails: { // BedrockGuardrails
819
+ * Disable: {},
820
+ * ProtectRequestOnly: { // BedrockGuardrailsRequestOnly
821
+ * RoleArn: "STRING_VALUE", // required
822
+ * },
823
+ * ProtectRequestAndResponse: { // BedrockGuardrailsRequestAndResponse
824
+ * RoleArn: "STRING_VALUE", // required
825
+ * },
826
+ * },
827
+ * },
817
828
  * },
818
829
  * ],
819
830
  * RuleActionOverrides: [
@@ -1057,6 +1068,17 @@ declare const CheckCapacityCommand_base: {
1057
1068
  * },
1058
1069
  * SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
1059
1070
  * },
1071
+ * AWSManagedRulesAISecurityRuleSet: {
1072
+ * BedrockGuardrails: {
1073
+ * Disable: {},
1074
+ * ProtectRequestOnly: {
1075
+ * RoleArn: "STRING_VALUE", // required
1076
+ * },
1077
+ * ProtectRequestAndResponse: {
1078
+ * RoleArn: "STRING_VALUE", // required
1079
+ * },
1080
+ * },
1081
+ * },
1060
1082
  * },
1061
1083
  * ],
1062
1084
  * RuleActionOverrides: [
@@ -807,6 +807,17 @@ declare const CreateRuleGroupCommand_base: {
807
807
  * },
808
808
  * SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
809
809
  * },
810
+ * AWSManagedRulesAISecurityRuleSet: { // AWSManagedRulesAISecurityRuleSet
811
+ * BedrockGuardrails: { // BedrockGuardrails
812
+ * Disable: {},
813
+ * ProtectRequestOnly: { // BedrockGuardrailsRequestOnly
814
+ * RoleArn: "STRING_VALUE", // required
815
+ * },
816
+ * ProtectRequestAndResponse: { // BedrockGuardrailsRequestAndResponse
817
+ * RoleArn: "STRING_VALUE", // required
818
+ * },
819
+ * },
820
+ * },
810
821
  * },
811
822
  * ],
812
823
  * RuleActionOverrides: [
@@ -1050,6 +1061,17 @@ declare const CreateRuleGroupCommand_base: {
1050
1061
  * },
1051
1062
  * SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
1052
1063
  * },
1064
+ * AWSManagedRulesAISecurityRuleSet: {
1065
+ * BedrockGuardrails: {
1066
+ * Disable: {},
1067
+ * ProtectRequestOnly: {
1068
+ * RoleArn: "STRING_VALUE", // required
1069
+ * },
1070
+ * ProtectRequestAndResponse: {
1071
+ * RoleArn: "STRING_VALUE", // required
1072
+ * },
1073
+ * },
1074
+ * },
1053
1075
  * },
1054
1076
  * ],
1055
1077
  * RuleActionOverrides: [
@@ -810,6 +810,17 @@ declare const CreateWebACLCommand_base: {
810
810
  * },
811
811
  * SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
812
812
  * },
813
+ * AWSManagedRulesAISecurityRuleSet: { // AWSManagedRulesAISecurityRuleSet
814
+ * BedrockGuardrails: { // BedrockGuardrails
815
+ * Disable: {},
816
+ * ProtectRequestOnly: { // BedrockGuardrailsRequestOnly
817
+ * RoleArn: "STRING_VALUE", // required
818
+ * },
819
+ * ProtectRequestAndResponse: { // BedrockGuardrailsRequestAndResponse
820
+ * RoleArn: "STRING_VALUE", // required
821
+ * },
822
+ * },
823
+ * },
813
824
  * },
814
825
  * ],
815
826
  * RuleActionOverrides: [
@@ -1045,6 +1056,17 @@ declare const CreateWebACLCommand_base: {
1045
1056
  * },
1046
1057
  * SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
1047
1058
  * },
1059
+ * AWSManagedRulesAISecurityRuleSet: {
1060
+ * BedrockGuardrails: {
1061
+ * Disable: {},
1062
+ * ProtectRequestOnly: {
1063
+ * RoleArn: "STRING_VALUE", // required
1064
+ * },
1065
+ * ProtectRequestAndResponse: {
1066
+ * RoleArn: "STRING_VALUE", // required
1067
+ * },
1068
+ * },
1069
+ * },
1048
1070
  * },
1049
1071
  * ],
1050
1072
  * RuleActionOverrides: [
@@ -1161,7 +1183,7 @@ declare const CreateWebACLCommand_base: {
1161
1183
  * AssociationConfig: { // AssociationConfig
1162
1184
  * RequestBody: { // RequestBody
1163
1185
  * "<keys>": { // RequestBodyAssociatedResourceTypeConfig
1164
- * DefaultSizeInspectionLimit: "KB_16" || "KB_32" || "KB_48" || "KB_64", // required
1186
+ * DefaultSizeInspectionLimit: "KB_8" || "KB_16" || "KB_32" || "KB_48" || "KB_64", // required
1165
1187
  * },
1166
1188
  * },
1167
1189
  * ChallengeJavascriptSdkInjection: { // ChallengeJavascriptSdkInjection
@@ -0,0 +1,146 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetEventActorRequest, GetEventActorResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetEventActorCommand}.
11
+ */
12
+ export interface GetEventActorCommandInput extends GetEventActorRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetEventActorCommand}.
18
+ */
19
+ export interface GetEventActorCommandOutput extends GetEventActorResponse, __MetadataBearer {
20
+ }
21
+ declare const GetEventActorCommand_base: {
22
+ new (input: GetEventActorCommandInput): import("@smithy/core/client").CommandImpl<GetEventActorCommandInput, GetEventActorCommandOutput, import("..").WAFV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetEventActorCommandInput): import("@smithy/core/client").CommandImpl<GetEventActorCommandInput, GetEventActorCommandOutput, import("..").WAFV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves the details of the specified event actor. An event actor is a client that is associated with one or more events. The details include the latest observed attributes of the event actor, the events that it's associated with, and the history of changes to its attributes. Currently, this operation supports API Security Amazon Web Services Managed Rules.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WAFV2Client, GetEventActorCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
32
+ * // const { WAFV2Client, GetEventActorCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
33
+ * // import type { WAFV2ClientConfig } from "@aws-sdk/client-wafv2";
34
+ * const config = {}; // type is WAFV2ClientConfig
35
+ * const client = new WAFV2Client(config);
36
+ * const input = { // GetEventActorRequest
37
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
38
+ * EventActorId: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetEventActorCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetEventActorResponse
43
+ * // EventActor: { // EventActorDetail
44
+ * // Summary: { // EventActorDetailSummary
45
+ * // EventActorId: "STRING_VALUE", // required
46
+ * // ClientIp: "STRING_VALUE",
47
+ * // TlsFingerprint: "STRING_VALUE",
48
+ * // Asn: "STRING_VALUE",
49
+ * // AsnOrganization: "STRING_VALUE",
50
+ * // Country: "STRING_VALUE",
51
+ * // AuthFingerprint: "STRING_VALUE",
52
+ * // CreatedAt: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // Events: [ // RelatedEventList
55
+ * // { // RelatedEvent
56
+ * // EventId: "STRING_VALUE",
57
+ * // StartTime: new Date("TIMESTAMP"),
58
+ * // Label: "STRING_VALUE",
59
+ * // Category: "STRING_VALUE",
60
+ * // Confidence: "LOW" || "MEDIUM" || "HIGH",
61
+ * // ApiPatterns: [ // ApiPatternList
62
+ * // { // ApiPattern
63
+ * // Method: "STRING_VALUE",
64
+ * // PathPattern: "STRING_VALUE",
65
+ * // Port: Number("int"),
66
+ * // Domains: [ // DomainList
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // },
70
+ * // ],
71
+ * // },
72
+ * // ],
73
+ * // Changes: [ // EventActorChangeList
74
+ * // { // EventActorChange
75
+ * // ChangeTime: new Date("TIMESTAMP"),
76
+ * // ClientIp: "STRING_VALUE",
77
+ * // TlsFingerprint: "STRING_VALUE",
78
+ * // Asn: "STRING_VALUE",
79
+ * // AsnOrganization: "STRING_VALUE",
80
+ * // Country: "STRING_VALUE",
81
+ * // },
82
+ * // ],
83
+ * // },
84
+ * // };
85
+ *
86
+ * ```
87
+ *
88
+ * @param GetEventActorCommandInput - {@link GetEventActorCommandInput}
89
+ * @returns {@link GetEventActorCommandOutput}
90
+ * @see {@link GetEventActorCommandInput} for command's `input` shape.
91
+ * @see {@link GetEventActorCommandOutput} for command's `response` shape.
92
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
93
+ *
94
+ * @throws {@link WAFInternalErrorException} (server fault)
95
+ * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
96
+ * problem. Retry your request. </p>
97
+ *
98
+ * @throws {@link WAFInvalidOperationException} (client fault)
99
+ * <p>The operation isn't valid. </p>
100
+ *
101
+ * @throws {@link WAFInvalidParameterException} (client fault)
102
+ * <p>The operation failed because WAF didn't recognize a parameter in the request. For
103
+ * example: </p>
104
+ * <ul>
105
+ * <li>
106
+ * <p>You specified a parameter name or value that isn't valid.</p>
107
+ * </li>
108
+ * <li>
109
+ * <p>Your nested statement isn't valid. You might have tried to nest a statement that
110
+ * can’t be nested. </p>
111
+ * </li>
112
+ * <li>
113
+ * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
114
+ * isn't among the types available at <a>DefaultAction</a>.</p>
115
+ * </li>
116
+ * <li>
117
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
118
+ * with which a web ACL can't be associated.</p>
119
+ * </li>
120
+ * </ul>
121
+ *
122
+ * @throws {@link WAFNonexistentItemException} (client fault)
123
+ * <p>WAF couldn’t perform the operation because your resource doesn't exist.
124
+ * If you've just created a resource that you're using in this operation, you might
125
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
126
+ * for changes to propagate. </p>
127
+ *
128
+ * @throws {@link WAFV2ServiceException}
129
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
130
+ *
131
+ *
132
+ * @public
133
+ */
134
+ export declare class GetEventActorCommand extends GetEventActorCommand_base {
135
+ /** @internal type navigation helper, not in runtime. */
136
+ protected static __types: {
137
+ api: {
138
+ input: GetEventActorRequest;
139
+ output: GetEventActorResponse;
140
+ };
141
+ sdk: {
142
+ input: GetEventActorCommandInput;
143
+ output: GetEventActorCommandOutput;
144
+ };
145
+ };
146
+ }
@@ -0,0 +1,154 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetEventRequest, GetEventResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetEventCommand}.
11
+ */
12
+ export interface GetEventCommandInput extends GetEventRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetEventCommand}.
18
+ */
19
+ export interface GetEventCommandOutput extends GetEventResponse, __MetadataBearer {
20
+ }
21
+ declare const GetEventCommand_base: {
22
+ new (input: GetEventCommandInput): import("@smithy/core/client").CommandImpl<GetEventCommandInput, GetEventCommandOutput, import("..").WAFV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetEventCommandInput): import("@smithy/core/client").CommandImpl<GetEventCommandInput, GetEventCommandOutput, import("..").WAFV2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves the details of the specified event for the specified web ACL, including the event actors that are associated with the event and the event timeline. Currently, this operation supports API Security Amazon Web Services Managed Rules.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WAFV2Client, GetEventCommand } from "@aws-sdk/client-wafv2"; // ES Modules import
32
+ * // const { WAFV2Client, GetEventCommand } = require("@aws-sdk/client-wafv2"); // CommonJS import
33
+ * // import type { WAFV2ClientConfig } from "@aws-sdk/client-wafv2";
34
+ * const config = {}; // type is WAFV2ClientConfig
35
+ * const client = new WAFV2Client(config);
36
+ * const input = { // GetEventRequest
37
+ * Scope: "CLOUDFRONT" || "REGIONAL", // required
38
+ * EventId: "STRING_VALUE", // required
39
+ * WebAclArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new GetEventCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetEventResponse
44
+ * // Event: { // EventDetailSummary
45
+ * // EventId: "STRING_VALUE", // required
46
+ * // EventStatus: "EVENT_STARTED" || "EVENT_IN_PROGRESS" || "EVENT_COMPLETED" || "EVENT_ENDED",
47
+ * // EventCategory: "API_SECURITY",
48
+ * // StartTime: new Date("TIMESTAMP"),
49
+ * // LastUpdatedTime: new Date("TIMESTAMP"),
50
+ * // EndTime: new Date("TIMESTAMP"),
51
+ * // ResourceArn: "STRING_VALUE",
52
+ * // WebAclArn: "STRING_VALUE",
53
+ * // ApiSecurityEventDetail: { // ApiSecurityEventDetail
54
+ * // Label: "STRING_VALUE",
55
+ * // Category: "STRING_VALUE",
56
+ * // Confidence: "LOW" || "MEDIUM" || "HIGH",
57
+ * // ApiPatterns: [ // ApiPatternList
58
+ * // { // ApiPattern
59
+ * // Method: "STRING_VALUE",
60
+ * // PathPattern: "STRING_VALUE",
61
+ * // Port: Number("int"),
62
+ * // Domains: [ // DomainList
63
+ * // "STRING_VALUE",
64
+ * // ],
65
+ * // },
66
+ * // ],
67
+ * // EventActors: [ // EventActorReferenceList
68
+ * // { // EventActorReference
69
+ * // EventActorId: "STRING_VALUE",
70
+ * // EventActorValue: "STRING_VALUE",
71
+ * // },
72
+ * // ],
73
+ * // Timeline: [ // EventTimelineEntryList
74
+ * // { // EventTimelineEntry
75
+ * // ChangeTime: new Date("TIMESTAMP"),
76
+ * // Label: "STRING_VALUE",
77
+ * // Confidence: "LOW" || "MEDIUM" || "HIGH",
78
+ * // ApiPatterns: [
79
+ * // {
80
+ * // Method: "STRING_VALUE",
81
+ * // PathPattern: "STRING_VALUE",
82
+ * // Port: Number("int"),
83
+ * // Domains: [
84
+ * // "STRING_VALUE",
85
+ * // ],
86
+ * // },
87
+ * // ],
88
+ * // },
89
+ * // ],
90
+ * // },
91
+ * // },
92
+ * // };
93
+ *
94
+ * ```
95
+ *
96
+ * @param GetEventCommandInput - {@link GetEventCommandInput}
97
+ * @returns {@link GetEventCommandOutput}
98
+ * @see {@link GetEventCommandInput} for command's `input` shape.
99
+ * @see {@link GetEventCommandOutput} for command's `response` shape.
100
+ * @see {@link WAFV2ClientResolvedConfig | config} for WAFV2Client's `config` shape.
101
+ *
102
+ * @throws {@link WAFInternalErrorException} (server fault)
103
+ * <p>Your request is valid, but WAF couldn’t perform the operation because of a system
104
+ * problem. Retry your request. </p>
105
+ *
106
+ * @throws {@link WAFInvalidOperationException} (client fault)
107
+ * <p>The operation isn't valid. </p>
108
+ *
109
+ * @throws {@link WAFInvalidParameterException} (client fault)
110
+ * <p>The operation failed because WAF didn't recognize a parameter in the request. For
111
+ * example: </p>
112
+ * <ul>
113
+ * <li>
114
+ * <p>You specified a parameter name or value that isn't valid.</p>
115
+ * </li>
116
+ * <li>
117
+ * <p>Your nested statement isn't valid. You might have tried to nest a statement that
118
+ * can’t be nested. </p>
119
+ * </li>
120
+ * <li>
121
+ * <p>You tried to update a <code>WebACL</code> with a <code>DefaultAction</code> that
122
+ * isn't among the types available at <a>DefaultAction</a>.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource
126
+ * with which a web ACL can't be associated.</p>
127
+ * </li>
128
+ * </ul>
129
+ *
130
+ * @throws {@link WAFNonexistentItemException} (client fault)
131
+ * <p>WAF couldn’t perform the operation because your resource doesn't exist.
132
+ * If you've just created a resource that you're using in this operation, you might
133
+ * just need to wait a few minutes. It can take from a few seconds to a number of minutes
134
+ * for changes to propagate. </p>
135
+ *
136
+ * @throws {@link WAFV2ServiceException}
137
+ * <p>Base exception class for all service exceptions from WAFV2 service.</p>
138
+ *
139
+ *
140
+ * @public
141
+ */
142
+ export declare class GetEventCommand extends GetEventCommand_base {
143
+ /** @internal type navigation helper, not in runtime. */
144
+ protected static __types: {
145
+ api: {
146
+ input: GetEventRequest;
147
+ output: GetEventResponse;
148
+ };
149
+ sdk: {
150
+ input: GetEventCommandInput;
151
+ output: GetEventCommandOutput;
152
+ };
153
+ };
154
+ }
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetRuleGroupRequest, GetRuleGroupResponse } from "../models/models_0";
2
+ import type { GetRuleGroupRequest } from "../models/models_0";
3
+ import type { GetRuleGroupResponse } from "../models/models_1";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -816,6 +817,17 @@ declare const GetRuleGroupCommand_base: {
816
817
  * // },
817
818
  * // SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
818
819
  * // },
820
+ * // AWSManagedRulesAISecurityRuleSet: { // AWSManagedRulesAISecurityRuleSet
821
+ * // BedrockGuardrails: { // BedrockGuardrails
822
+ * // Disable: {},
823
+ * // ProtectRequestOnly: { // BedrockGuardrailsRequestOnly
824
+ * // RoleArn: "STRING_VALUE", // required
825
+ * // },
826
+ * // ProtectRequestAndResponse: { // BedrockGuardrailsRequestAndResponse
827
+ * // RoleArn: "STRING_VALUE", // required
828
+ * // },
829
+ * // },
830
+ * // },
819
831
  * // },
820
832
  * // ],
821
833
  * // RuleActionOverrides: [
@@ -1059,6 +1071,17 @@ declare const GetRuleGroupCommand_base: {
1059
1071
  * // },
1060
1072
  * // SensitivityToBlock: "LOW" || "MEDIUM" || "HIGH",
1061
1073
  * // },
1074
+ * // AWSManagedRulesAISecurityRuleSet: {
1075
+ * // BedrockGuardrails: {
1076
+ * // Disable: {},
1077
+ * // ProtectRequestOnly: {
1078
+ * // RoleArn: "STRING_VALUE", // required
1079
+ * // },
1080
+ * // ProtectRequestAndResponse: {
1081
+ * // RoleArn: "STRING_VALUE", // required
1082
+ * // },
1083
+ * // },
1084
+ * // },
1062
1085
  * // },
1063
1086
  * // ],
1064
1087
  * // RuleActionOverrides: [