@aws-sdk/client-waf-regional 3.299.0 → 3.301.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 (82) hide show
  1. package/dist-types/commands/AssociateWebACLCommand.d.ts +4 -0
  2. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +4 -0
  3. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +4 -0
  4. package/dist-types/commands/CreateIPSetCommand.d.ts +4 -0
  5. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +13 -0
  6. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +4 -0
  7. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +4 -0
  8. package/dist-types/commands/CreateRuleCommand.d.ts +11 -0
  9. package/dist-types/commands/CreateRuleGroupCommand.d.ts +11 -0
  10. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +4 -0
  11. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +4 -0
  12. package/dist-types/commands/CreateWebACLCommand.d.ts +14 -0
  13. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +5 -0
  14. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +4 -0
  15. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +4 -0
  16. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteIPSetCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -0
  19. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +3 -0
  20. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +4 -0
  21. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +4 -0
  22. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteRuleCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +4 -0
  26. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteWebACLCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +4 -0
  29. package/dist-types/commands/DisassociateWebACLCommand.d.ts +3 -0
  30. package/dist-types/commands/GetByteMatchSetCommand.d.ts +3 -0
  31. package/dist-types/commands/GetChangeTokenCommand.d.ts +1 -0
  32. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +3 -0
  33. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +3 -0
  34. package/dist-types/commands/GetIPSetCommand.d.ts +3 -0
  35. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -0
  36. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +3 -0
  37. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +3 -0
  38. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +4 -0
  39. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +3 -0
  40. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +3 -0
  41. package/dist-types/commands/GetRuleCommand.d.ts +3 -0
  42. package/dist-types/commands/GetRuleGroupCommand.d.ts +3 -0
  43. package/dist-types/commands/GetSampledRequestsCommand.d.ts +9 -0
  44. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +3 -0
  45. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +3 -0
  46. package/dist-types/commands/GetWebACLCommand.d.ts +3 -0
  47. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +3 -0
  48. package/dist-types/commands/GetXssMatchSetCommand.d.ts +3 -0
  49. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +5 -0
  50. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +4 -0
  51. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +4 -0
  52. package/dist-types/commands/ListIPSetsCommand.d.ts +4 -0
  53. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +4 -0
  54. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +4 -0
  55. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +4 -0
  56. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +4 -0
  57. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +4 -0
  58. package/dist-types/commands/ListRuleGroupsCommand.d.ts +4 -0
  59. package/dist-types/commands/ListRulesCommand.d.ts +4 -0
  60. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +4 -0
  61. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +4 -0
  62. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +4 -0
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
  64. package/dist-types/commands/ListWebACLsCommand.d.ts +4 -0
  65. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +4 -0
  66. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +14 -0
  67. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +4 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  70. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +18 -0
  71. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +13 -0
  72. package/dist-types/commands/UpdateIPSetCommand.d.ts +13 -0
  73. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +15 -0
  74. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +17 -0
  75. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +10 -0
  76. package/dist-types/commands/UpdateRuleCommand.d.ts +14 -0
  77. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +25 -0
  78. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +18 -0
  79. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +16 -0
  80. package/dist-types/commands/UpdateWebACLCommand.d.ts +28 -0
  81. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +16 -0
  82. package/package.json +8 -8
@@ -34,6 +34,11 @@ export interface ListActivatedRulesInRuleGroupCommandOutput extends ListActivate
34
34
  * import { WAFRegionalClient, ListActivatedRulesInRuleGroupCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListActivatedRulesInRuleGroupCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListActivatedRulesInRuleGroupRequest
38
+ * RuleGroupId: "STRING_VALUE",
39
+ * NextMarker: "STRING_VALUE",
40
+ * Limit: Number("int"),
41
+ * };
37
42
  * const command = new ListActivatedRulesInRuleGroupCommand(input);
38
43
  * const response = await client.send(command);
39
44
  * ```
@@ -34,6 +34,10 @@ export interface ListByteMatchSetsCommandOutput extends ListByteMatchSetsRespons
34
34
  * import { WAFRegionalClient, ListByteMatchSetsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListByteMatchSetsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListByteMatchSetsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListByteMatchSetsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListGeoMatchSetsCommandOutput extends ListGeoMatchSetsResponse,
34
34
  * import { WAFRegionalClient, ListGeoMatchSetsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListGeoMatchSetsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListGeoMatchSetsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListGeoMatchSetsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListIPSetsCommandOutput extends ListIPSetsResponse, __MetadataB
34
34
  * import { WAFRegionalClient, ListIPSetsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListIPSetsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListIPSetsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListIPSetsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
34
34
  * import { WAFRegionalClient, ListLoggingConfigurationsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListLoggingConfigurationsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListLoggingConfigurationsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListLoggingConfigurationsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListRateBasedRulesCommandOutput extends ListRateBasedRulesRespo
34
34
  * import { WAFRegionalClient, ListRateBasedRulesCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListRateBasedRulesCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListRateBasedRulesRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListRateBasedRulesCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListRegexMatchSetsCommandOutput extends ListRegexMatchSetsRespo
34
34
  * import { WAFRegionalClient, ListRegexMatchSetsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListRegexMatchSetsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListRegexMatchSetsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListRegexMatchSetsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListRegexPatternSetsCommandOutput extends ListRegexPatternSetsR
34
34
  * import { WAFRegionalClient, ListRegexPatternSetsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListRegexPatternSetsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListRegexPatternSetsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListRegexPatternSetsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListResourcesForWebACLCommandOutput extends ListResourcesForWeb
34
34
  * import { WAFRegionalClient, ListResourcesForWebACLCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListResourcesForWebACLCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListResourcesForWebACLRequest
38
+ * WebACLId: "STRING_VALUE", // required
39
+ * ResourceType: "STRING_VALUE",
40
+ * };
37
41
  * const command = new ListResourcesForWebACLCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __M
34
34
  * import { WAFRegionalClient, ListRuleGroupsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListRuleGroupsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListRuleGroupsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListRuleGroupsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
34
34
  * import { WAFRegionalClient, ListRulesCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListRulesCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListRulesRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListRulesCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListSizeConstraintSetsCommandOutput extends ListSizeConstraintS
34
34
  * import { WAFRegionalClient, ListSizeConstraintSetsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListSizeConstraintSetsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListSizeConstraintSetsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListSizeConstraintSetsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListSqlInjectionMatchSetsCommandOutput extends ListSqlInjection
34
34
  * import { WAFRegionalClient, ListSqlInjectionMatchSetsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListSqlInjectionMatchSetsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListSqlInjectionMatchSetsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListSqlInjectionMatchSetsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListSubscribedRuleGroupsCommandOutput extends ListSubscribedRul
34
34
  * import { WAFRegionalClient, ListSubscribedRuleGroupsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListSubscribedRuleGroupsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListSubscribedRuleGroupsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListSubscribedRuleGroupsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -35,6 +35,11 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
35
35
  * import { WAFRegionalClient, ListTagsForResourceCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
36
36
  * // const { WAFRegionalClient, ListTagsForResourceCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
37
37
  * const client = new WAFRegionalClient(config);
38
+ * const input = { // ListTagsForResourceRequest
39
+ * NextMarker: "STRING_VALUE",
40
+ * Limit: Number("int"),
41
+ * ResourceARN: "STRING_VALUE", // required
42
+ * };
38
43
  * const command = new ListTagsForResourceCommand(input);
39
44
  * const response = await client.send(command);
40
45
  * ```
@@ -34,6 +34,10 @@ export interface ListWebACLsCommandOutput extends ListWebACLsResponse, __Metadat
34
34
  * import { WAFRegionalClient, ListWebACLsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListWebACLsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListWebACLsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListWebACLsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -34,6 +34,10 @@ export interface ListXssMatchSetsCommandOutput extends ListXssMatchSetsResponse,
34
34
  * import { WAFRegionalClient, ListXssMatchSetsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, ListXssMatchSetsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // ListXssMatchSetsRequest
38
+ * NextMarker: "STRING_VALUE",
39
+ * Limit: Number("int"),
40
+ * };
37
41
  * const command = new ListXssMatchSetsCommand(input);
38
42
  * const response = await client.send(command);
39
43
  * ```
@@ -51,6 +51,20 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
51
51
  * import { WAFRegionalClient, PutLoggingConfigurationCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
52
52
  * // const { WAFRegionalClient, PutLoggingConfigurationCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
53
53
  * const client = new WAFRegionalClient(config);
54
+ * const input = { // PutLoggingConfigurationRequest
55
+ * LoggingConfiguration: { // LoggingConfiguration
56
+ * ResourceArn: "STRING_VALUE", // required
57
+ * LogDestinationConfigs: [ // LogDestinationConfigs // required
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * RedactedFields: [ // RedactedFields
61
+ * { // FieldToMatch
62
+ * Type: "STRING_VALUE", // required
63
+ * Data: "STRING_VALUE",
64
+ * },
65
+ * ],
66
+ * },
67
+ * };
54
68
  * const command = new PutLoggingConfigurationCommand(input);
55
69
  * const response = await client.send(command);
56
70
  * ```
@@ -66,6 +66,10 @@ export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyRes
66
66
  * import { WAFRegionalClient, PutPermissionPolicyCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
67
67
  * // const { WAFRegionalClient, PutPermissionPolicyCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
68
68
  * const client = new WAFRegionalClient(config);
69
+ * const input = { // PutPermissionPolicyRequest
70
+ * ResourceArn: "STRING_VALUE", // required
71
+ * Policy: "STRING_VALUE", // required
72
+ * };
69
73
  * const command = new PutPermissionPolicyCommand(input);
70
74
  * const response = await client.send(command);
71
75
  * ```
@@ -35,6 +35,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
35
35
  * import { WAFRegionalClient, TagResourceCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
36
36
  * // const { WAFRegionalClient, TagResourceCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
37
37
  * const client = new WAFRegionalClient(config);
38
+ * const input = { // TagResourceRequest
39
+ * ResourceARN: "STRING_VALUE", // required
40
+ * Tags: [ // TagList // required
41
+ * { // Tag
42
+ * Key: "STRING_VALUE", // required
43
+ * Value: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * };
38
47
  * const command = new TagResourceCommand(input);
39
48
  * const response = await client.send(command);
40
49
  * ```
@@ -34,6 +34,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * import { WAFRegionalClient, UntagResourceCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
35
35
  * // const { WAFRegionalClient, UntagResourceCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
36
36
  * const client = new WAFRegionalClient(config);
37
+ * const input = { // UntagResourceRequest
38
+ * ResourceARN: "STRING_VALUE", // required
39
+ * TagKeys: [ // TagKeyList // required
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * };
37
43
  * const command = new UntagResourceCommand(input);
38
44
  * const response = await client.send(command);
39
45
  * ```
@@ -72,6 +72,24 @@ export interface UpdateByteMatchSetCommandOutput extends UpdateByteMatchSetRespo
72
72
  * import { WAFRegionalClient, UpdateByteMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
73
73
  * // const { WAFRegionalClient, UpdateByteMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
74
74
  * const client = new WAFRegionalClient(config);
75
+ * const input = { // UpdateByteMatchSetRequest
76
+ * ByteMatchSetId: "STRING_VALUE", // required
77
+ * ChangeToken: "STRING_VALUE", // required
78
+ * Updates: [ // ByteMatchSetUpdates // required
79
+ * { // ByteMatchSetUpdate
80
+ * Action: "STRING_VALUE", // required
81
+ * ByteMatchTuple: { // ByteMatchTuple
82
+ * FieldToMatch: { // FieldToMatch
83
+ * Type: "STRING_VALUE", // required
84
+ * Data: "STRING_VALUE",
85
+ * },
86
+ * TargetString: "BLOB_VALUE", // required
87
+ * TextTransformation: "STRING_VALUE", // required
88
+ * PositionalConstraint: "STRING_VALUE", // required
89
+ * },
90
+ * },
91
+ * ],
92
+ * };
75
93
  * const command = new UpdateByteMatchSetCommand(input);
76
94
  * const response = await client.send(command);
77
95
  * ```
@@ -64,6 +64,19 @@ export interface UpdateGeoMatchSetCommandOutput extends UpdateGeoMatchSetRespons
64
64
  * import { WAFRegionalClient, UpdateGeoMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
65
65
  * // const { WAFRegionalClient, UpdateGeoMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
66
66
  * const client = new WAFRegionalClient(config);
67
+ * const input = { // UpdateGeoMatchSetRequest
68
+ * GeoMatchSetId: "STRING_VALUE", // required
69
+ * ChangeToken: "STRING_VALUE", // required
70
+ * Updates: [ // GeoMatchSetUpdates // required
71
+ * { // GeoMatchSetUpdate
72
+ * Action: "STRING_VALUE", // required
73
+ * GeoMatchConstraint: { // GeoMatchConstraint
74
+ * Type: "STRING_VALUE", // required
75
+ * Value: "STRING_VALUE", // required
76
+ * },
77
+ * },
78
+ * ],
79
+ * };
67
80
  * const command = new UpdateGeoMatchSetCommand(input);
68
81
  * const response = await client.send(command);
69
82
  * ```
@@ -99,6 +99,19 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
99
99
  * import { WAFRegionalClient, UpdateIPSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
100
100
  * // const { WAFRegionalClient, UpdateIPSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
101
101
  * const client = new WAFRegionalClient(config);
102
+ * const input = { // UpdateIPSetRequest
103
+ * IPSetId: "STRING_VALUE", // required
104
+ * ChangeToken: "STRING_VALUE", // required
105
+ * Updates: [ // IPSetUpdates // required
106
+ * { // IPSetUpdate
107
+ * Action: "STRING_VALUE", // required
108
+ * IPSetDescriptor: { // IPSetDescriptor
109
+ * Type: "STRING_VALUE", // required
110
+ * Value: "STRING_VALUE", // required
111
+ * },
112
+ * },
113
+ * ],
114
+ * };
102
115
  * const command = new UpdateIPSetCommand(input);
103
116
  * const response = await client.send(command);
104
117
  * ```
@@ -80,6 +80,21 @@ export interface UpdateRateBasedRuleCommandOutput extends UpdateRateBasedRuleRes
80
80
  * import { WAFRegionalClient, UpdateRateBasedRuleCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
81
81
  * // const { WAFRegionalClient, UpdateRateBasedRuleCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
82
82
  * const client = new WAFRegionalClient(config);
83
+ * const input = { // UpdateRateBasedRuleRequest
84
+ * RuleId: "STRING_VALUE", // required
85
+ * ChangeToken: "STRING_VALUE", // required
86
+ * Updates: [ // RuleUpdates // required
87
+ * { // RuleUpdate
88
+ * Action: "STRING_VALUE", // required
89
+ * Predicate: { // Predicate
90
+ * Negated: true || false, // required
91
+ * Type: "STRING_VALUE", // required
92
+ * DataId: "STRING_VALUE", // required
93
+ * },
94
+ * },
95
+ * ],
96
+ * RateLimit: Number("long"), // required
97
+ * };
83
98
  * const command = new UpdateRateBasedRuleCommand(input);
84
99
  * const response = await client.send(command);
85
100
  * ```
@@ -68,6 +68,23 @@ export interface UpdateRegexMatchSetCommandOutput extends UpdateRegexMatchSetRes
68
68
  * import { WAFRegionalClient, UpdateRegexMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
69
69
  * // const { WAFRegionalClient, UpdateRegexMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
70
70
  * const client = new WAFRegionalClient(config);
71
+ * const input = { // UpdateRegexMatchSetRequest
72
+ * RegexMatchSetId: "STRING_VALUE", // required
73
+ * Updates: [ // RegexMatchSetUpdates // required
74
+ * { // RegexMatchSetUpdate
75
+ * Action: "STRING_VALUE", // required
76
+ * RegexMatchTuple: { // RegexMatchTuple
77
+ * FieldToMatch: { // FieldToMatch
78
+ * Type: "STRING_VALUE", // required
79
+ * Data: "STRING_VALUE",
80
+ * },
81
+ * TextTransformation: "STRING_VALUE", // required
82
+ * RegexPatternSetId: "STRING_VALUE", // required
83
+ * },
84
+ * },
85
+ * ],
86
+ * ChangeToken: "STRING_VALUE", // required
87
+ * };
71
88
  * const command = new UpdateRegexMatchSetCommand(input);
72
89
  * const response = await client.send(command);
73
90
  * ```
@@ -73,6 +73,16 @@ export interface UpdateRegexPatternSetCommandOutput extends UpdateRegexPatternSe
73
73
  * import { WAFRegionalClient, UpdateRegexPatternSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
74
74
  * // const { WAFRegionalClient, UpdateRegexPatternSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
75
75
  * const client = new WAFRegionalClient(config);
76
+ * const input = { // UpdateRegexPatternSetRequest
77
+ * RegexPatternSetId: "STRING_VALUE", // required
78
+ * Updates: [ // RegexPatternSetUpdates // required
79
+ * { // RegexPatternSetUpdate
80
+ * Action: "STRING_VALUE", // required
81
+ * RegexPatternString: "STRING_VALUE", // required
82
+ * },
83
+ * ],
84
+ * ChangeToken: "STRING_VALUE", // required
85
+ * };
76
86
  * const command = new UpdateRegexPatternSetCommand(input);
77
87
  * const response = await client.send(command);
78
88
  * ```
@@ -75,6 +75,20 @@ export interface UpdateRuleCommandOutput extends UpdateRuleResponse, __MetadataB
75
75
  * import { WAFRegionalClient, UpdateRuleCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
76
76
  * // const { WAFRegionalClient, UpdateRuleCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
77
77
  * const client = new WAFRegionalClient(config);
78
+ * const input = { // UpdateRuleRequest
79
+ * RuleId: "STRING_VALUE", // required
80
+ * ChangeToken: "STRING_VALUE", // required
81
+ * Updates: [ // RuleUpdates // required
82
+ * { // RuleUpdate
83
+ * Action: "STRING_VALUE", // required
84
+ * Predicate: { // Predicate
85
+ * Negated: true || false, // required
86
+ * Type: "STRING_VALUE", // required
87
+ * DataId: "STRING_VALUE", // required
88
+ * },
89
+ * },
90
+ * ],
91
+ * };
78
92
  * const command = new UpdateRuleCommand(input);
79
93
  * const response = await client.send(command);
80
94
  * ```
@@ -58,6 +58,31 @@ export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, _
58
58
  * import { WAFRegionalClient, UpdateRuleGroupCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
59
59
  * // const { WAFRegionalClient, UpdateRuleGroupCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
60
60
  * const client = new WAFRegionalClient(config);
61
+ * const input = { // UpdateRuleGroupRequest
62
+ * RuleGroupId: "STRING_VALUE", // required
63
+ * Updates: [ // RuleGroupUpdates // required
64
+ * { // RuleGroupUpdate
65
+ * Action: "STRING_VALUE", // required
66
+ * ActivatedRule: { // ActivatedRule
67
+ * Priority: Number("int"), // required
68
+ * RuleId: "STRING_VALUE", // required
69
+ * Action: { // WafAction
70
+ * Type: "STRING_VALUE", // required
71
+ * },
72
+ * OverrideAction: { // WafOverrideAction
73
+ * Type: "STRING_VALUE", // required
74
+ * },
75
+ * Type: "STRING_VALUE",
76
+ * ExcludedRules: [ // ExcludedRules
77
+ * { // ExcludedRule
78
+ * RuleId: "STRING_VALUE", // required
79
+ * },
80
+ * ],
81
+ * },
82
+ * },
83
+ * ],
84
+ * ChangeToken: "STRING_VALUE", // required
85
+ * };
61
86
  * const command = new UpdateRuleGroupCommand(input);
62
87
  * const response = await client.send(command);
63
88
  * ```
@@ -76,6 +76,24 @@ export interface UpdateSizeConstraintSetCommandOutput extends UpdateSizeConstrai
76
76
  * import { WAFRegionalClient, UpdateSizeConstraintSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
77
77
  * // const { WAFRegionalClient, UpdateSizeConstraintSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
78
78
  * const client = new WAFRegionalClient(config);
79
+ * const input = { // UpdateSizeConstraintSetRequest
80
+ * SizeConstraintSetId: "STRING_VALUE", // required
81
+ * ChangeToken: "STRING_VALUE", // required
82
+ * Updates: [ // SizeConstraintSetUpdates // required
83
+ * { // SizeConstraintSetUpdate
84
+ * Action: "STRING_VALUE", // required
85
+ * SizeConstraint: { // SizeConstraint
86
+ * FieldToMatch: { // FieldToMatch
87
+ * Type: "STRING_VALUE", // required
88
+ * Data: "STRING_VALUE",
89
+ * },
90
+ * TextTransformation: "STRING_VALUE", // required
91
+ * ComparisonOperator: "STRING_VALUE", // required
92
+ * Size: Number("long"), // required
93
+ * },
94
+ * },
95
+ * ],
96
+ * };
79
97
  * const command = new UpdateSizeConstraintSetCommand(input);
80
98
  * const response = await client.send(command);
81
99
  * ```
@@ -75,6 +75,22 @@ export interface UpdateSqlInjectionMatchSetCommandOutput extends UpdateSqlInject
75
75
  * import { WAFRegionalClient, UpdateSqlInjectionMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
76
76
  * // const { WAFRegionalClient, UpdateSqlInjectionMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
77
77
  * const client = new WAFRegionalClient(config);
78
+ * const input = { // UpdateSqlInjectionMatchSetRequest
79
+ * SqlInjectionMatchSetId: "STRING_VALUE", // required
80
+ * ChangeToken: "STRING_VALUE", // required
81
+ * Updates: [ // SqlInjectionMatchSetUpdates // required
82
+ * { // SqlInjectionMatchSetUpdate
83
+ * Action: "STRING_VALUE", // required
84
+ * SqlInjectionMatchTuple: { // SqlInjectionMatchTuple
85
+ * FieldToMatch: { // FieldToMatch
86
+ * Type: "STRING_VALUE", // required
87
+ * Data: "STRING_VALUE",
88
+ * },
89
+ * TextTransformation: "STRING_VALUE", // required
90
+ * },
91
+ * },
92
+ * ],
93
+ * };
78
94
  * const command = new UpdateSqlInjectionMatchSetCommand(input);
79
95
  * const response = await client.send(command);
80
96
  * ```
@@ -105,6 +105,34 @@ export interface UpdateWebACLCommandOutput extends UpdateWebACLResponse, __Metad
105
105
  * import { WAFRegionalClient, UpdateWebACLCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
106
106
  * // const { WAFRegionalClient, UpdateWebACLCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
107
107
  * const client = new WAFRegionalClient(config);
108
+ * const input = { // UpdateWebACLRequest
109
+ * WebACLId: "STRING_VALUE", // required
110
+ * ChangeToken: "STRING_VALUE", // required
111
+ * Updates: [ // WebACLUpdates
112
+ * { // WebACLUpdate
113
+ * Action: "STRING_VALUE", // required
114
+ * ActivatedRule: { // ActivatedRule
115
+ * Priority: Number("int"), // required
116
+ * RuleId: "STRING_VALUE", // required
117
+ * Action: { // WafAction
118
+ * Type: "STRING_VALUE", // required
119
+ * },
120
+ * OverrideAction: { // WafOverrideAction
121
+ * Type: "STRING_VALUE", // required
122
+ * },
123
+ * Type: "STRING_VALUE",
124
+ * ExcludedRules: [ // ExcludedRules
125
+ * { // ExcludedRule
126
+ * RuleId: "STRING_VALUE", // required
127
+ * },
128
+ * ],
129
+ * },
130
+ * },
131
+ * ],
132
+ * DefaultAction: {
133
+ * Type: "STRING_VALUE", // required
134
+ * },
135
+ * };
108
136
  * const command = new UpdateWebACLCommand(input);
109
137
  * const response = await client.send(command);
110
138
  * ```
@@ -77,6 +77,22 @@ export interface UpdateXssMatchSetCommandOutput extends UpdateXssMatchSetRespons
77
77
  * import { WAFRegionalClient, UpdateXssMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
78
78
  * // const { WAFRegionalClient, UpdateXssMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
79
79
  * const client = new WAFRegionalClient(config);
80
+ * const input = { // UpdateXssMatchSetRequest
81
+ * XssMatchSetId: "STRING_VALUE", // required
82
+ * ChangeToken: "STRING_VALUE", // required
83
+ * Updates: [ // XssMatchSetUpdates // required
84
+ * { // XssMatchSetUpdate
85
+ * Action: "STRING_VALUE", // required
86
+ * XssMatchTuple: { // XssMatchTuple
87
+ * FieldToMatch: { // FieldToMatch
88
+ * Type: "STRING_VALUE", // required
89
+ * Data: "STRING_VALUE",
90
+ * },
91
+ * TextTransformation: "STRING_VALUE", // required
92
+ * },
93
+ * },
94
+ * ],
95
+ * };
80
96
  * const command = new UpdateXssMatchSetCommand(input);
81
97
  * const response = await client.send(command);
82
98
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-waf-regional",
3
3
  "description": "AWS SDK for JavaScript Waf Regional Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },