@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 AssociateWebACLCommandOutput extends AssociateWebACLResponse, _
|
|
|
34
34
|
* import { WAFRegionalClient, AssociateWebACLCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, AssociateWebACLCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* WebACLId: "STRING_VALUE", // required
|
|
39
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
37
41
|
* const command = new AssociateWebACLCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -57,6 +57,10 @@ export interface CreateByteMatchSetCommandOutput extends CreateByteMatchSetRespo
|
|
|
57
57
|
* import { WAFRegionalClient, CreateByteMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
58
58
|
* // const { WAFRegionalClient, CreateByteMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
59
59
|
* const client = new WAFRegionalClient(config);
|
|
60
|
+
* const input = {
|
|
61
|
+
* Name: "STRING_VALUE", // required
|
|
62
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
63
|
+
* };
|
|
60
64
|
* const command = new CreateByteMatchSetCommand(input);
|
|
61
65
|
* const response = await client.send(command);
|
|
62
66
|
* ```
|
|
@@ -54,6 +54,10 @@ export interface CreateGeoMatchSetCommandOutput extends CreateGeoMatchSetRespons
|
|
|
54
54
|
* import { WAFRegionalClient, CreateGeoMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
55
55
|
* // const { WAFRegionalClient, CreateGeoMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
56
56
|
* const client = new WAFRegionalClient(config);
|
|
57
|
+
* const input = {
|
|
58
|
+
* Name: "STRING_VALUE", // required
|
|
59
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
60
|
+
* };
|
|
57
61
|
* const command = new CreateGeoMatchSetCommand(input);
|
|
58
62
|
* const response = await client.send(command);
|
|
59
63
|
* ```
|
|
@@ -59,6 +59,10 @@ export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __Metadat
|
|
|
59
59
|
* import { WAFRegionalClient, CreateIPSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
60
60
|
* // const { WAFRegionalClient, CreateIPSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
61
61
|
* const client = new WAFRegionalClient(config);
|
|
62
|
+
* const input = {
|
|
63
|
+
* Name: "STRING_VALUE", // required
|
|
64
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
65
|
+
* };
|
|
62
66
|
* const command = new CreateIPSetCommand(input);
|
|
63
67
|
* const response = await client.send(command);
|
|
64
68
|
* ```
|
|
@@ -119,6 +119,19 @@ export interface CreateRateBasedRuleCommandOutput extends CreateRateBasedRuleRes
|
|
|
119
119
|
* import { WAFRegionalClient, CreateRateBasedRuleCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
120
120
|
* // const { WAFRegionalClient, CreateRateBasedRuleCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
121
121
|
* const client = new WAFRegionalClient(config);
|
|
122
|
+
* const input = {
|
|
123
|
+
* Name: "STRING_VALUE", // required
|
|
124
|
+
* MetricName: "STRING_VALUE", // required
|
|
125
|
+
* RateKey: "STRING_VALUE", // required
|
|
126
|
+
* RateLimit: Number("long"), // required
|
|
127
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
128
|
+
* Tags: [
|
|
129
|
+
* {
|
|
130
|
+
* Key: "STRING_VALUE", // required
|
|
131
|
+
* Value: "STRING_VALUE", // required
|
|
132
|
+
* },
|
|
133
|
+
* ],
|
|
134
|
+
* };
|
|
122
135
|
* const command = new CreateRateBasedRuleCommand(input);
|
|
123
136
|
* const response = await client.send(command);
|
|
124
137
|
* ```
|
|
@@ -57,6 +57,10 @@ export interface CreateRegexMatchSetCommandOutput extends CreateRegexMatchSetRes
|
|
|
57
57
|
* import { WAFRegionalClient, CreateRegexMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
58
58
|
* // const { WAFRegionalClient, CreateRegexMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
59
59
|
* const client = new WAFRegionalClient(config);
|
|
60
|
+
* const input = {
|
|
61
|
+
* Name: "STRING_VALUE", // required
|
|
62
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
63
|
+
* };
|
|
60
64
|
* const command = new CreateRegexMatchSetCommand(input);
|
|
61
65
|
* const response = await client.send(command);
|
|
62
66
|
* ```
|
|
@@ -53,6 +53,10 @@ export interface CreateRegexPatternSetCommandOutput extends CreateRegexPatternSe
|
|
|
53
53
|
* import { WAFRegionalClient, CreateRegexPatternSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
54
54
|
* // const { WAFRegionalClient, CreateRegexPatternSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
55
55
|
* const client = new WAFRegionalClient(config);
|
|
56
|
+
* const input = {
|
|
57
|
+
* Name: "STRING_VALUE", // required
|
|
58
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
59
|
+
* };
|
|
56
60
|
* const command = new CreateRegexPatternSetCommand(input);
|
|
57
61
|
* const response = await client.send(command);
|
|
58
62
|
* ```
|
|
@@ -77,6 +77,17 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
|
|
|
77
77
|
* import { WAFRegionalClient, CreateRuleCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
78
78
|
* // const { WAFRegionalClient, CreateRuleCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
79
79
|
* const client = new WAFRegionalClient(config);
|
|
80
|
+
* const input = {
|
|
81
|
+
* Name: "STRING_VALUE", // required
|
|
82
|
+
* MetricName: "STRING_VALUE", // required
|
|
83
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
84
|
+
* Tags: [
|
|
85
|
+
* {
|
|
86
|
+
* Key: "STRING_VALUE", // required
|
|
87
|
+
* Value: "STRING_VALUE", // required
|
|
88
|
+
* },
|
|
89
|
+
* ],
|
|
90
|
+
* };
|
|
80
91
|
* const command = new CreateRuleCommand(input);
|
|
81
92
|
* const response = await client.send(command);
|
|
82
93
|
* ```
|
|
@@ -48,6 +48,17 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
|
|
|
48
48
|
* import { WAFRegionalClient, CreateRuleGroupCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
49
49
|
* // const { WAFRegionalClient, CreateRuleGroupCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
50
50
|
* const client = new WAFRegionalClient(config);
|
|
51
|
+
* const input = {
|
|
52
|
+
* Name: "STRING_VALUE", // required
|
|
53
|
+
* MetricName: "STRING_VALUE", // required
|
|
54
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
55
|
+
* Tags: [
|
|
56
|
+
* {
|
|
57
|
+
* Key: "STRING_VALUE", // required
|
|
58
|
+
* Value: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* ],
|
|
61
|
+
* };
|
|
51
62
|
* const command = new CreateRuleGroupCommand(input);
|
|
52
63
|
* const response = await client.send(command);
|
|
53
64
|
* ```
|
|
@@ -57,6 +57,10 @@ export interface CreateSizeConstraintSetCommandOutput extends CreateSizeConstrai
|
|
|
57
57
|
* import { WAFRegionalClient, CreateSizeConstraintSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
58
58
|
* // const { WAFRegionalClient, CreateSizeConstraintSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
59
59
|
* const client = new WAFRegionalClient(config);
|
|
60
|
+
* const input = {
|
|
61
|
+
* Name: "STRING_VALUE", // required
|
|
62
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
63
|
+
* };
|
|
60
64
|
* const command = new CreateSizeConstraintSetCommand(input);
|
|
61
65
|
* const response = await client.send(command);
|
|
62
66
|
* ```
|
|
@@ -55,6 +55,10 @@ export interface CreateSqlInjectionMatchSetCommandOutput extends CreateSqlInject
|
|
|
55
55
|
* import { WAFRegionalClient, CreateSqlInjectionMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
56
56
|
* // const { WAFRegionalClient, CreateSqlInjectionMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
57
57
|
* const client = new WAFRegionalClient(config);
|
|
58
|
+
* const input = {
|
|
59
|
+
* Name: "STRING_VALUE", // required
|
|
60
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
61
|
+
* };
|
|
58
62
|
* const command = new CreateSqlInjectionMatchSetCommand(input);
|
|
59
63
|
* const response = await client.send(command);
|
|
60
64
|
* ```
|
|
@@ -65,6 +65,20 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
|
|
|
65
65
|
* import { WAFRegionalClient, CreateWebACLCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
66
66
|
* // const { WAFRegionalClient, CreateWebACLCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
67
67
|
* const client = new WAFRegionalClient(config);
|
|
68
|
+
* const input = {
|
|
69
|
+
* Name: "STRING_VALUE", // required
|
|
70
|
+
* MetricName: "STRING_VALUE", // required
|
|
71
|
+
* DefaultAction: {
|
|
72
|
+
* Type: "STRING_VALUE", // required
|
|
73
|
+
* },
|
|
74
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
75
|
+
* Tags: [
|
|
76
|
+
* {
|
|
77
|
+
* Key: "STRING_VALUE", // required
|
|
78
|
+
* Value: "STRING_VALUE", // required
|
|
79
|
+
* },
|
|
80
|
+
* ],
|
|
81
|
+
* };
|
|
68
82
|
* const command = new CreateWebACLCommand(input);
|
|
69
83
|
* const response = await client.send(command);
|
|
70
84
|
* ```
|
|
@@ -33,6 +33,11 @@ export interface CreateWebACLMigrationStackCommandOutput extends CreateWebACLMig
|
|
|
33
33
|
* import { WAFRegionalClient, CreateWebACLMigrationStackCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
34
34
|
* // const { WAFRegionalClient, CreateWebACLMigrationStackCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
35
35
|
* const client = new WAFRegionalClient(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* WebACLId: "STRING_VALUE", // required
|
|
38
|
+
* S3BucketName: "STRING_VALUE", // required
|
|
39
|
+
* IgnoreUnsupportedType: true || false, // required
|
|
40
|
+
* };
|
|
36
41
|
* const command = new CreateWebACLMigrationStackCommand(input);
|
|
37
42
|
* const response = await client.send(command);
|
|
38
43
|
* ```
|
|
@@ -55,6 +55,10 @@ export interface CreateXssMatchSetCommandOutput extends CreateXssMatchSetRespons
|
|
|
55
55
|
* import { WAFRegionalClient, CreateXssMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
56
56
|
* // const { WAFRegionalClient, CreateXssMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
57
57
|
* const client = new WAFRegionalClient(config);
|
|
58
|
+
* const input = {
|
|
59
|
+
* Name: "STRING_VALUE", // required
|
|
60
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
61
|
+
* };
|
|
58
62
|
* const command = new CreateXssMatchSetCommand(input);
|
|
59
63
|
* const response = await client.send(command);
|
|
60
64
|
* ```
|
|
@@ -49,6 +49,10 @@ export interface DeleteByteMatchSetCommandOutput extends DeleteByteMatchSetRespo
|
|
|
49
49
|
* import { WAFRegionalClient, DeleteByteMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
50
50
|
* // const { WAFRegionalClient, DeleteByteMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
51
51
|
* const client = new WAFRegionalClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* ByteMatchSetId: "STRING_VALUE", // required
|
|
54
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
52
56
|
* const command = new DeleteByteMatchSetCommand(input);
|
|
53
57
|
* const response = await client.send(command);
|
|
54
58
|
* ```
|
|
@@ -49,6 +49,10 @@ export interface DeleteGeoMatchSetCommandOutput extends DeleteGeoMatchSetRespons
|
|
|
49
49
|
* import { WAFRegionalClient, DeleteGeoMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
50
50
|
* // const { WAFRegionalClient, DeleteGeoMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
51
51
|
* const client = new WAFRegionalClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* GeoMatchSetId: "STRING_VALUE", // required
|
|
54
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
52
56
|
* const command = new DeleteGeoMatchSetCommand(input);
|
|
53
57
|
* const response = await client.send(command);
|
|
54
58
|
* ```
|
|
@@ -49,6 +49,10 @@ export interface DeleteIPSetCommandOutput extends DeleteIPSetResponse, __Metadat
|
|
|
49
49
|
* import { WAFRegionalClient, DeleteIPSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
50
50
|
* // const { WAFRegionalClient, DeleteIPSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
51
51
|
* const client = new WAFRegionalClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* IPSetId: "STRING_VALUE", // required
|
|
54
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
52
56
|
* const command = new DeleteIPSetCommand(input);
|
|
53
57
|
* const response = await client.send(command);
|
|
54
58
|
* ```
|
|
@@ -35,6 +35,9 @@ export interface DeleteLoggingConfigurationCommandOutput extends DeleteLoggingCo
|
|
|
35
35
|
* import { WAFRegionalClient, DeleteLoggingConfigurationCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
36
36
|
* // const { WAFRegionalClient, DeleteLoggingConfigurationCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
37
37
|
* const client = new WAFRegionalClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new DeleteLoggingConfigurationCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -35,6 +35,9 @@ export interface DeletePermissionPolicyCommandOutput extends DeletePermissionPol
|
|
|
35
35
|
* import { WAFRegionalClient, DeletePermissionPolicyCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
36
36
|
* // const { WAFRegionalClient, DeletePermissionPolicyCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
37
37
|
* const client = new WAFRegionalClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new DeletePermissionPolicyCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -53,6 +53,10 @@ export interface DeleteRateBasedRuleCommandOutput extends DeleteRateBasedRuleRes
|
|
|
53
53
|
* import { WAFRegionalClient, DeleteRateBasedRuleCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
54
54
|
* // const { WAFRegionalClient, DeleteRateBasedRuleCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
55
55
|
* const client = new WAFRegionalClient(config);
|
|
56
|
+
* const input = {
|
|
57
|
+
* RuleId: "STRING_VALUE", // required
|
|
58
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
59
|
+
* };
|
|
56
60
|
* const command = new DeleteRateBasedRuleCommand(input);
|
|
57
61
|
* const response = await client.send(command);
|
|
58
62
|
* ```
|
|
@@ -49,6 +49,10 @@ export interface DeleteRegexMatchSetCommandOutput extends DeleteRegexMatchSetRes
|
|
|
49
49
|
* import { WAFRegionalClient, DeleteRegexMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
50
50
|
* // const { WAFRegionalClient, DeleteRegexMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
51
51
|
* const client = new WAFRegionalClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* RegexMatchSetId: "STRING_VALUE", // required
|
|
54
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
52
56
|
* const command = new DeleteRegexMatchSetCommand(input);
|
|
53
57
|
* const response = await client.send(command);
|
|
54
58
|
* ```
|
|
@@ -35,6 +35,10 @@ export interface DeleteRegexPatternSetCommandOutput extends DeleteRegexPatternSe
|
|
|
35
35
|
* import { WAFRegionalClient, DeleteRegexPatternSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
36
36
|
* // const { WAFRegionalClient, DeleteRegexPatternSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
37
37
|
* const client = new WAFRegionalClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* RegexPatternSetId: "STRING_VALUE", // required
|
|
40
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
38
42
|
* const command = new DeleteRegexPatternSetCommand(input);
|
|
39
43
|
* const response = await client.send(command);
|
|
40
44
|
* ```
|
|
@@ -49,6 +49,10 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataB
|
|
|
49
49
|
* import { WAFRegionalClient, DeleteRuleCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
50
50
|
* // const { WAFRegionalClient, DeleteRuleCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
51
51
|
* const client = new WAFRegionalClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* RuleId: "STRING_VALUE", // required
|
|
54
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
52
56
|
* const command = new DeleteRuleCommand(input);
|
|
53
57
|
* const response = await client.send(command);
|
|
54
58
|
* ```
|
|
@@ -49,6 +49,10 @@ export interface DeleteRuleGroupCommandOutput extends DeleteRuleGroupResponse, _
|
|
|
49
49
|
* import { WAFRegionalClient, DeleteRuleGroupCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
50
50
|
* // const { WAFRegionalClient, DeleteRuleGroupCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
51
51
|
* const client = new WAFRegionalClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* RuleGroupId: "STRING_VALUE", // required
|
|
54
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
52
56
|
* const command = new DeleteRuleGroupCommand(input);
|
|
53
57
|
* const response = await client.send(command);
|
|
54
58
|
* ```
|
|
@@ -49,6 +49,10 @@ export interface DeleteSizeConstraintSetCommandOutput extends DeleteSizeConstrai
|
|
|
49
49
|
* import { WAFRegionalClient, DeleteSizeConstraintSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
50
50
|
* // const { WAFRegionalClient, DeleteSizeConstraintSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
51
51
|
* const client = new WAFRegionalClient(config);
|
|
52
|
+
* const input = {
|
|
53
|
+
* SizeConstraintSetId: "STRING_VALUE", // required
|
|
54
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
52
56
|
* const command = new DeleteSizeConstraintSetCommand(input);
|
|
53
57
|
* const response = await client.send(command);
|
|
54
58
|
* ```
|
|
@@ -50,6 +50,10 @@ export interface DeleteSqlInjectionMatchSetCommandOutput extends DeleteSqlInject
|
|
|
50
50
|
* import { WAFRegionalClient, DeleteSqlInjectionMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
51
51
|
* // const { WAFRegionalClient, DeleteSqlInjectionMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
52
52
|
* const client = new WAFRegionalClient(config);
|
|
53
|
+
* const input = {
|
|
54
|
+
* SqlInjectionMatchSetId: "STRING_VALUE", // required
|
|
55
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
56
|
+
* };
|
|
53
57
|
* const command = new DeleteSqlInjectionMatchSetCommand(input);
|
|
54
58
|
* const response = await client.send(command);
|
|
55
59
|
* ```
|
|
@@ -47,6 +47,10 @@ export interface DeleteWebACLCommandOutput extends DeleteWebACLResponse, __Metad
|
|
|
47
47
|
* import { WAFRegionalClient, DeleteWebACLCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
48
48
|
* // const { WAFRegionalClient, DeleteWebACLCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
49
49
|
* const client = new WAFRegionalClient(config);
|
|
50
|
+
* const input = {
|
|
51
|
+
* WebACLId: "STRING_VALUE", // required
|
|
52
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
53
|
+
* };
|
|
50
54
|
* const command = new DeleteWebACLCommand(input);
|
|
51
55
|
* const response = await client.send(command);
|
|
52
56
|
* ```
|
|
@@ -50,6 +50,10 @@ export interface DeleteXssMatchSetCommandOutput extends DeleteXssMatchSetRespons
|
|
|
50
50
|
* import { WAFRegionalClient, DeleteXssMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
51
51
|
* // const { WAFRegionalClient, DeleteXssMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
52
52
|
* const client = new WAFRegionalClient(config);
|
|
53
|
+
* const input = {
|
|
54
|
+
* XssMatchSetId: "STRING_VALUE", // required
|
|
55
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
56
|
+
* };
|
|
53
57
|
* const command = new DeleteXssMatchSetCommand(input);
|
|
54
58
|
* const response = await client.send(command);
|
|
55
59
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface DisassociateWebACLCommandOutput extends DisassociateWebACLRespo
|
|
|
34
34
|
* import { WAFRegionalClient, DisassociateWebACLCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, DisassociateWebACLCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new DisassociateWebACLCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetByteMatchSetCommandOutput extends GetByteMatchSetResponse, _
|
|
|
34
34
|
* import { WAFRegionalClient, GetByteMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetByteMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* ByteMatchSetId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetByteMatchSetCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -40,6 +40,7 @@ export interface GetChangeTokenCommandOutput extends GetChangeTokenResponse, __M
|
|
|
40
40
|
* import { WAFRegionalClient, GetChangeTokenCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
41
41
|
* // const { WAFRegionalClient, GetChangeTokenCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
42
42
|
* const client = new WAFRegionalClient(config);
|
|
43
|
+
* const input = {};
|
|
43
44
|
* const command = new GetChangeTokenCommand(input);
|
|
44
45
|
* const response = await client.send(command);
|
|
45
46
|
* ```
|
|
@@ -50,6 +50,9 @@ export interface GetChangeTokenStatusCommandOutput extends GetChangeTokenStatusR
|
|
|
50
50
|
* import { WAFRegionalClient, GetChangeTokenStatusCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
51
51
|
* // const { WAFRegionalClient, GetChangeTokenStatusCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
52
52
|
* const client = new WAFRegionalClient(config);
|
|
53
|
+
* const input = {
|
|
54
|
+
* ChangeToken: "STRING_VALUE", // required
|
|
55
|
+
* };
|
|
53
56
|
* const command = new GetChangeTokenStatusCommand(input);
|
|
54
57
|
* const response = await client.send(command);
|
|
55
58
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetGeoMatchSetCommandOutput extends GetGeoMatchSetResponse, __M
|
|
|
34
34
|
* import { WAFRegionalClient, GetGeoMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetGeoMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* GeoMatchSetId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetGeoMatchSetCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetIPSetCommandOutput extends GetIPSetResponse, __MetadataBeare
|
|
|
34
34
|
* import { WAFRegionalClient, GetIPSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetIPSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* IPSetId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetIPSetCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
|
|
|
34
34
|
* import { WAFRegionalClient, GetLoggingConfigurationCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetLoggingConfigurationCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetLoggingConfigurationCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetPermissionPolicyCommandOutput extends GetPermissionPolicyRes
|
|
|
34
34
|
* import { WAFRegionalClient, GetPermissionPolicyCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetPermissionPolicyCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetPermissionPolicyCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -36,6 +36,9 @@ export interface GetRateBasedRuleCommandOutput extends GetRateBasedRuleResponse,
|
|
|
36
36
|
* import { WAFRegionalClient, GetRateBasedRuleCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
37
37
|
* // const { WAFRegionalClient, GetRateBasedRuleCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
38
38
|
* const client = new WAFRegionalClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* RuleId: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
39
42
|
* const command = new GetRateBasedRuleCommand(input);
|
|
40
43
|
* const response = await client.send(command);
|
|
41
44
|
* ```
|
|
@@ -36,6 +36,10 @@ export interface GetRateBasedRuleManagedKeysCommandOutput extends GetRateBasedRu
|
|
|
36
36
|
* import { WAFRegionalClient, GetRateBasedRuleManagedKeysCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
37
37
|
* // const { WAFRegionalClient, GetRateBasedRuleManagedKeysCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
38
38
|
* const client = new WAFRegionalClient(config);
|
|
39
|
+
* const input = {
|
|
40
|
+
* RuleId: "STRING_VALUE", // required
|
|
41
|
+
* NextMarker: "STRING_VALUE",
|
|
42
|
+
* };
|
|
39
43
|
* const command = new GetRateBasedRuleManagedKeysCommand(input);
|
|
40
44
|
* const response = await client.send(command);
|
|
41
45
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetRegexMatchSetCommandOutput extends GetRegexMatchSetResponse,
|
|
|
34
34
|
* import { WAFRegionalClient, GetRegexMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetRegexMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* RegexMatchSetId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetRegexMatchSetCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetRegexPatternSetCommandOutput extends GetRegexPatternSetRespo
|
|
|
34
34
|
* import { WAFRegionalClient, GetRegexPatternSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetRegexPatternSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* RegexPatternSetId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetRegexPatternSetCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
|
|
|
34
34
|
* import { WAFRegionalClient, GetRuleCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetRuleCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* RuleId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetRuleCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -35,6 +35,9 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
|
|
|
35
35
|
* import { WAFRegionalClient, GetRuleGroupCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
36
36
|
* // const { WAFRegionalClient, GetRuleGroupCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
37
37
|
* const client = new WAFRegionalClient(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* RuleGroupId: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
38
41
|
* const command = new GetRuleGroupCommand(input);
|
|
39
42
|
* const response = await client.send(command);
|
|
40
43
|
* ```
|
|
@@ -38,6 +38,15 @@ export interface GetSampledRequestsCommandOutput extends GetSampledRequestsRespo
|
|
|
38
38
|
* import { WAFRegionalClient, GetSampledRequestsCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
39
39
|
* // const { WAFRegionalClient, GetSampledRequestsCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
40
40
|
* const client = new WAFRegionalClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* WebAclId: "STRING_VALUE", // required
|
|
43
|
+
* RuleId: "STRING_VALUE", // required
|
|
44
|
+
* TimeWindow: {
|
|
45
|
+
* StartTime: new Date("TIMESTAMP"), // required
|
|
46
|
+
* EndTime: new Date("TIMESTAMP"), // required
|
|
47
|
+
* },
|
|
48
|
+
* MaxItems: Number("long"), // required
|
|
49
|
+
* };
|
|
41
50
|
* const command = new GetSampledRequestsCommand(input);
|
|
42
51
|
* const response = await client.send(command);
|
|
43
52
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetSizeConstraintSetCommandOutput extends GetSizeConstraintSetR
|
|
|
34
34
|
* import { WAFRegionalClient, GetSizeConstraintSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetSizeConstraintSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* SizeConstraintSetId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetSizeConstraintSetCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetSqlInjectionMatchSetCommandOutput extends GetSqlInjectionMat
|
|
|
34
34
|
* import { WAFRegionalClient, GetSqlInjectionMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetSqlInjectionMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* SqlInjectionMatchSetId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetSqlInjectionMatchSetCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
|
|
|
34
34
|
* import { WAFRegionalClient, GetWebACLCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetWebACLCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* WebACLId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetWebACLCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
|
|
|
34
34
|
* import { WAFRegionalClient, GetWebACLForResourceCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetWebACLForResourceCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* ResourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetWebACLForResourceCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -34,6 +34,9 @@ export interface GetXssMatchSetCommandOutput extends GetXssMatchSetResponse, __M
|
|
|
34
34
|
* import { WAFRegionalClient, GetXssMatchSetCommand } from "@aws-sdk/client-waf-regional"; // ES Modules import
|
|
35
35
|
* // const { WAFRegionalClient, GetXssMatchSetCommand } = require("@aws-sdk/client-waf-regional"); // CommonJS import
|
|
36
36
|
* const client = new WAFRegionalClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* XssMatchSetId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
37
40
|
* const command = new GetXssMatchSetCommand(input);
|
|
38
41
|
* const response = await client.send(command);
|
|
39
42
|
* ```
|
|
@@ -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 = {
|
|
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
|
* ```
|