@aws-sdk/client-waf-regional 3.298.0 → 3.300.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/dist-types/commands/AssociateWebACLCommand.d.ts +4 -0
- package/dist-types/commands/CreateByteMatchSetCommand.d.ts +4 -0
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +4 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +4 -0
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +13 -0
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +4 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +4 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +11 -0
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +11 -0
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +4 -0
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +4 -0
- package/dist-types/commands/CreateWebACLCommand.d.ts +14 -0
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +5 -0
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +4 -0
- package/dist-types/commands/DeleteWebACLCommand.d.ts +4 -0
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +4 -0
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +3 -0
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +3 -0
- package/dist-types/commands/GetChangeTokenCommand.d.ts +1 -0
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +3 -0
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +3 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +3 -0
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +3 -0
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +4 -0
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +3 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +3 -0
- package/dist-types/commands/GetRuleCommand.d.ts +3 -0
- package/dist-types/commands/GetRuleGroupCommand.d.ts +3 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +9 -0
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +3 -0
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +3 -0
- package/dist-types/commands/GetWebACLCommand.d.ts +3 -0
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +3 -0
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +3 -0
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +5 -0
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +4 -0
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +4 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +4 -0
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +4 -0
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +4 -0
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +4 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +4 -0
- package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +4 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +4 -0
- package/dist-types/commands/ListRulesCommand.d.ts +4 -0
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +4 -0
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +4 -0
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +4 -0
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +4 -0
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +14 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +18 -0
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +13 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +13 -0
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +15 -0
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +17 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +10 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +14 -0
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +25 -0
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +18 -0
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +16 -0
- package/dist-types/commands/UpdateWebACLCommand.d.ts +28 -0
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +16 -0
- package/package.json +12 -12
|
@@ -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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
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 = {
|
|
55
|
+
* LoggingConfiguration: {
|
|
56
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
57
|
+
* LogDestinationConfigs: [ // required
|
|
58
|
+
* "STRING_VALUE",
|
|
59
|
+
* ],
|
|
60
|
+
* RedactedFields: [
|
|
61
|
+
* {
|
|
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 = {
|
|
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 = {
|
|
39
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
40
|
+
* Tags: [ // required
|
|
41
|
+
* {
|
|
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 = {
|
|
38
|
+
* ResourceARN: "STRING_VALUE", // required
|
|
39
|
+
* TagKeys: [ // 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 = {
|
|
76
|
+
* ByteMatchSetId: "STRING_VALUE", // required
|
|
77
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
78
|
+
* Updates: [ // required
|
|
79
|
+
* {
|
|
80
|
+
* Action: "STRING_VALUE", // required
|
|
81
|
+
* ByteMatchTuple: {
|
|
82
|
+
* 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 = {
|
|
68
|
+
* GeoMatchSetId: "STRING_VALUE", // required
|
|
69
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
70
|
+
* Updates: [ // required
|
|
71
|
+
* {
|
|
72
|
+
* Action: "STRING_VALUE", // required
|
|
73
|
+
* 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 = {
|
|
103
|
+
* IPSetId: "STRING_VALUE", // required
|
|
104
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
105
|
+
* Updates: [ // required
|
|
106
|
+
* {
|
|
107
|
+
* Action: "STRING_VALUE", // required
|
|
108
|
+
* 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 = {
|
|
84
|
+
* RuleId: "STRING_VALUE", // required
|
|
85
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
86
|
+
* Updates: [ // required
|
|
87
|
+
* {
|
|
88
|
+
* Action: "STRING_VALUE", // required
|
|
89
|
+
* 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 = {
|
|
72
|
+
* RegexMatchSetId: "STRING_VALUE", // required
|
|
73
|
+
* Updates: [ // required
|
|
74
|
+
* {
|
|
75
|
+
* Action: "STRING_VALUE", // required
|
|
76
|
+
* RegexMatchTuple: {
|
|
77
|
+
* 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 = {
|
|
77
|
+
* RegexPatternSetId: "STRING_VALUE", // required
|
|
78
|
+
* Updates: [ // required
|
|
79
|
+
* {
|
|
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 = {
|
|
79
|
+
* RuleId: "STRING_VALUE", // required
|
|
80
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
81
|
+
* Updates: [ // required
|
|
82
|
+
* {
|
|
83
|
+
* Action: "STRING_VALUE", // required
|
|
84
|
+
* 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 = {
|
|
62
|
+
* RuleGroupId: "STRING_VALUE", // required
|
|
63
|
+
* Updates: [ // required
|
|
64
|
+
* {
|
|
65
|
+
* Action: "STRING_VALUE", // required
|
|
66
|
+
* ActivatedRule: {
|
|
67
|
+
* Priority: Number("int"), // required
|
|
68
|
+
* RuleId: "STRING_VALUE", // required
|
|
69
|
+
* Action: {
|
|
70
|
+
* Type: "STRING_VALUE", // required
|
|
71
|
+
* },
|
|
72
|
+
* OverrideAction: {
|
|
73
|
+
* Type: "STRING_VALUE", // required
|
|
74
|
+
* },
|
|
75
|
+
* Type: "STRING_VALUE",
|
|
76
|
+
* ExcludedRules: [
|
|
77
|
+
* {
|
|
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 = {
|
|
80
|
+
* SizeConstraintSetId: "STRING_VALUE", // required
|
|
81
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
82
|
+
* Updates: [ // required
|
|
83
|
+
* {
|
|
84
|
+
* Action: "STRING_VALUE", // required
|
|
85
|
+
* SizeConstraint: {
|
|
86
|
+
* 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 = {
|
|
79
|
+
* SqlInjectionMatchSetId: "STRING_VALUE", // required
|
|
80
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
81
|
+
* Updates: [ // required
|
|
82
|
+
* {
|
|
83
|
+
* Action: "STRING_VALUE", // required
|
|
84
|
+
* SqlInjectionMatchTuple: {
|
|
85
|
+
* 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 = {
|
|
109
|
+
* WebACLId: "STRING_VALUE", // required
|
|
110
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
111
|
+
* Updates: [
|
|
112
|
+
* {
|
|
113
|
+
* Action: "STRING_VALUE", // required
|
|
114
|
+
* ActivatedRule: {
|
|
115
|
+
* Priority: Number("int"), // required
|
|
116
|
+
* RuleId: "STRING_VALUE", // required
|
|
117
|
+
* Action: {
|
|
118
|
+
* Type: "STRING_VALUE", // required
|
|
119
|
+
* },
|
|
120
|
+
* OverrideAction: {
|
|
121
|
+
* Type: "STRING_VALUE", // required
|
|
122
|
+
* },
|
|
123
|
+
* Type: "STRING_VALUE",
|
|
124
|
+
* ExcludedRules: [
|
|
125
|
+
* {
|
|
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 = {
|
|
81
|
+
* XssMatchSetId: "STRING_VALUE", // required
|
|
82
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
83
|
+
* Updates: [ // required
|
|
84
|
+
* {
|
|
85
|
+
* Action: "STRING_VALUE", // required
|
|
86
|
+
* XssMatchTuple: {
|
|
87
|
+
* 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.
|
|
4
|
+
"version": "3.300.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,23 +21,23 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.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",
|
|
30
30
|
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.299.0",
|
|
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.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.299.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.
|
|
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
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "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
|
},
|