@aws-sdk/client-waf-regional 3.775.0 → 3.782.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 +1 -0
- package/dist-types/commands/CreateByteMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateIPSetCommand.d.ts +12 -12
- package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +15 -15
- package/dist-types/commands/CreateRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +15 -15
- package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +13 -13
- package/dist-types/commands/CreateWebACLCommand.d.ts +20 -20
- package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +1 -0
- package/dist-types/commands/CreateXssMatchSetCommand.d.ts +13 -13
- package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +6 -6
- package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -6
- package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -6
- package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -6
- package/dist-types/commands/DisassociateWebACLCommand.d.ts +1 -0
- package/dist-types/commands/GetByteMatchSetCommand.d.ts +14 -14
- package/dist-types/commands/GetChangeTokenCommand.d.ts +5 -5
- package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +5 -5
- package/dist-types/commands/GetGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/GetIPSetCommand.d.ts +10 -10
- package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/GetPermissionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +1 -0
- package/dist-types/commands/GetRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/GetRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/GetRuleCommand.d.ts +12 -12
- package/dist-types/commands/GetRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/GetSampledRequestsCommand.d.ts +1 -45
- package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +13 -13
- package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +11 -11
- package/dist-types/commands/GetWebACLCommand.d.ts +15 -15
- package/dist-types/commands/GetWebACLForResourceCommand.d.ts +1 -0
- package/dist-types/commands/GetXssMatchSetCommand.d.ts +11 -11
- package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/ListByteMatchSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListIPSetsCommand.d.ts +7 -7
- package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +1 -0
- package/dist-types/commands/ListRateBasedRulesCommand.d.ts +1 -0
- package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +1 -0
- package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +1 -0
- package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -0
- package/dist-types/commands/ListRulesCommand.d.ts +7 -7
- package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +7 -7
- package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +7 -7
- package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +1 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
- package/dist-types/commands/ListWebACLsCommand.d.ts +7 -7
- package/dist-types/commands/ListXssMatchSetsCommand.d.ts +7 -7
- package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +1 -0
- package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
- package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +15 -15
- package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateIPSetCommand.d.ts +11 -11
- package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRuleCommand.d.ts +12 -12
- package/dist-types/commands/UpdateRuleGroupCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +14 -14
- package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +12 -12
- package/dist-types/commands/UpdateWebACLCommand.d.ts +15 -15
- package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +12 -12
- package/package.json +5 -5
|
@@ -75,28 +75,28 @@ declare const ListIPSetsCommand_base: {
|
|
|
75
75
|
* @throws {@link WAFRegionalServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To list IP sets
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // The following example returns an array of up to 100 IP match sets.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
83
|
+
* Limit: 100
|
|
84
84
|
* };
|
|
85
85
|
* const command = new ListIPSetsCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
89
|
+
* IPSets: [
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
91
|
+
* IPSetId: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
92
|
+
* Name: "MyIPSetFriendlyName"
|
|
93
93
|
* }
|
|
94
94
|
* ]
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: listipsets-1472235676229
|
|
98
97
|
* ```
|
|
99
98
|
*
|
|
99
|
+
* @public
|
|
100
100
|
*/
|
|
101
101
|
export declare class ListIPSetsCommand extends ListIPSetsCommand_base {
|
|
102
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -123,6 +123,7 @@ declare const ListLoggingConfigurationsCommand_base: {
|
|
|
123
123
|
* @throws {@link WAFRegionalServiceException}
|
|
124
124
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
125
125
|
*
|
|
126
|
+
*
|
|
126
127
|
* @public
|
|
127
128
|
*/
|
|
128
129
|
export declare class ListLoggingConfigurationsCommand extends ListLoggingConfigurationsCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const ListRateBasedRulesCommand_base: {
|
|
|
75
75
|
* @throws {@link WAFRegionalServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class ListRateBasedRulesCommand extends ListRateBasedRulesCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const ListRegexMatchSetsCommand_base: {
|
|
|
75
75
|
* @throws {@link WAFRegionalServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class ListRegexMatchSetsCommand extends ListRegexMatchSetsCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const ListRegexPatternSetsCommand_base: {
|
|
|
75
75
|
* @throws {@link WAFRegionalServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
77
77
|
*
|
|
78
|
+
*
|
|
78
79
|
* @public
|
|
79
80
|
*/
|
|
80
81
|
export declare class ListRegexPatternSetsCommand extends ListRegexPatternSetsCommand_base {
|
|
@@ -114,6 +114,7 @@ declare const ListResourcesForWebACLCommand_base: {
|
|
|
114
114
|
* @throws {@link WAFRegionalServiceException}
|
|
115
115
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
116
116
|
*
|
|
117
|
+
*
|
|
117
118
|
* @public
|
|
118
119
|
*/
|
|
119
120
|
export declare class ListResourcesForWebACLCommand extends ListResourcesForWebACLCommand_base {
|
|
@@ -72,6 +72,7 @@ declare const ListRuleGroupsCommand_base: {
|
|
|
72
72
|
* @throws {@link WAFRegionalServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class ListRuleGroupsCommand extends ListRuleGroupsCommand_base {
|
|
@@ -75,28 +75,28 @@ declare const ListRulesCommand_base: {
|
|
|
75
75
|
* @throws {@link WAFRegionalServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To list rules
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // The following example returns an array of up to 100 rules.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
83
|
+
* Limit: 100
|
|
84
84
|
* };
|
|
85
85
|
* const command = new ListRulesCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
89
|
+
* Rules: [
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
91
|
+
* Name: "WAFByteHeaderRule",
|
|
92
|
+
* RuleId: "WAFRule-1-Example"
|
|
93
93
|
* }
|
|
94
94
|
* ]
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: listrules-1475258406433
|
|
98
97
|
* ```
|
|
99
98
|
*
|
|
99
|
+
* @public
|
|
100
100
|
*/
|
|
101
101
|
export declare class ListRulesCommand extends ListRulesCommand_base {
|
|
102
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,28 +75,28 @@ declare const ListSizeConstraintSetsCommand_base: {
|
|
|
75
75
|
* @throws {@link WAFRegionalServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To list a size constraint sets
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // The following example returns an array of up to 100 size contraint match sets.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
83
|
+
* Limit: 100
|
|
84
84
|
* };
|
|
85
85
|
* const command = new ListSizeConstraintSetsCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
89
|
+
* SizeConstraintSets: [
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
91
|
+
* Name: "MySampleSizeConstraintSet",
|
|
92
|
+
* SizeConstraintSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
93
93
|
* }
|
|
94
94
|
* ]
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: listsizeconstraintsets-1474300067597
|
|
98
97
|
* ```
|
|
99
98
|
*
|
|
99
|
+
* @public
|
|
100
100
|
*/
|
|
101
101
|
export declare class ListSizeConstraintSetsCommand extends ListSizeConstraintSetsCommand_base {
|
|
102
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,28 +75,28 @@ declare const ListSqlInjectionMatchSetsCommand_base: {
|
|
|
75
75
|
* @throws {@link WAFRegionalServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To list SQL injection match sets
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // The following example returns an array of up to 100 SQL injection match sets.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
83
|
+
* Limit: 100
|
|
84
84
|
* };
|
|
85
85
|
* const command = new ListSqlInjectionMatchSetsCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
89
|
+
* SqlInjectionMatchSets: [
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
91
|
+
* Name: "MySQLInjectionMatchSet",
|
|
92
|
+
* SqlInjectionMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
93
93
|
* }
|
|
94
94
|
* ]
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: listsqlinjectionmatchset-1474493560103
|
|
98
97
|
* ```
|
|
99
98
|
*
|
|
99
|
+
* @public
|
|
100
100
|
*/
|
|
101
101
|
export declare class ListSqlInjectionMatchSetsCommand extends ListSqlInjectionMatchSetsCommand_base {
|
|
102
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -76,6 +76,7 @@ declare const ListSubscribedRuleGroupsCommand_base: {
|
|
|
76
76
|
* @throws {@link WAFRegionalServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
78
78
|
*
|
|
79
|
+
*
|
|
79
80
|
* @public
|
|
80
81
|
*/
|
|
81
82
|
export declare class ListSubscribedRuleGroupsCommand extends ListSubscribedRuleGroupsCommand_base {
|
|
@@ -129,6 +129,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
129
129
|
* @throws {@link WAFRegionalServiceException}
|
|
130
130
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
131
131
|
*
|
|
132
|
+
*
|
|
132
133
|
* @public
|
|
133
134
|
*/
|
|
134
135
|
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
@@ -75,28 +75,28 @@ declare const ListWebACLsCommand_base: {
|
|
|
75
75
|
* @throws {@link WAFRegionalServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To list Web ACLs
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // The following example returns an array of up to 100 web ACLs.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
83
|
+
* Limit: 100
|
|
84
84
|
* };
|
|
85
85
|
* const command = new ListWebACLsCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
89
|
+
* WebACLs: [
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
91
|
+
* Name: "WebACLexample",
|
|
92
|
+
* WebACLId: "webacl-1472061481310"
|
|
93
93
|
* }
|
|
94
94
|
* ]
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: listwebacls-1475258732691
|
|
98
97
|
* ```
|
|
99
98
|
*
|
|
99
|
+
* @public
|
|
100
100
|
*/
|
|
101
101
|
export declare class ListWebACLsCommand extends ListWebACLsCommand_base {
|
|
102
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,28 +75,28 @@ declare const ListXssMatchSetsCommand_base: {
|
|
|
75
75
|
* @throws {@link WAFRegionalServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To list XSS match sets
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // The following example returns an array of up to 100 XSS match sets.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
83
|
+
* Limit: 100
|
|
84
84
|
* };
|
|
85
85
|
* const command = new ListXssMatchSetsCommand(input);
|
|
86
86
|
* const response = await client.send(command);
|
|
87
|
-
* /* response
|
|
87
|
+
* /* response is
|
|
88
88
|
* {
|
|
89
|
-
*
|
|
89
|
+
* XssMatchSets: [
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
92
|
-
*
|
|
91
|
+
* Name: "MySampleXssMatchSet",
|
|
92
|
+
* XssMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
93
93
|
* }
|
|
94
94
|
* ]
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: listxssmatchsets-1474561481168
|
|
98
97
|
* ```
|
|
99
98
|
*
|
|
99
|
+
* @public
|
|
100
100
|
*/
|
|
101
101
|
export declare class ListXssMatchSetsCommand extends ListXssMatchSetsCommand_base {
|
|
102
102
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -113,6 +113,7 @@ declare const PutLoggingConfigurationCommand_base: {
|
|
|
113
113
|
* @throws {@link WAFRegionalServiceException}
|
|
114
114
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
115
115
|
*
|
|
116
|
+
*
|
|
116
117
|
* @public
|
|
117
118
|
*/
|
|
118
119
|
export declare class PutLoggingConfigurationCommand extends PutLoggingConfigurationCommand_base {
|
|
@@ -134,6 +134,7 @@ declare const PutPermissionPolicyCommand_base: {
|
|
|
134
134
|
* @throws {@link WAFRegionalServiceException}
|
|
135
135
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
136
136
|
*
|
|
137
|
+
*
|
|
137
138
|
* @public
|
|
138
139
|
*/
|
|
139
140
|
export declare class PutPermissionPolicyCommand extends PutPermissionPolicyCommand_base {
|
|
@@ -127,6 +127,7 @@ declare const TagResourceCommand_base: {
|
|
|
127
127
|
* @throws {@link WAFRegionalServiceException}
|
|
128
128
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
129
129
|
*
|
|
130
|
+
*
|
|
130
131
|
* @public
|
|
131
132
|
*/
|
|
132
133
|
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
@@ -118,6 +118,7 @@ declare const UntagResourceCommand_base: {
|
|
|
118
118
|
* @throws {@link WAFRegionalServiceException}
|
|
119
119
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
120
120
|
*
|
|
121
|
+
*
|
|
121
122
|
* @public
|
|
122
123
|
*/
|
|
123
124
|
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
@@ -213,38 +213,38 @@ declare const UpdateByteMatchSetCommand_base: {
|
|
|
213
213
|
* @throws {@link WAFRegionalServiceException}
|
|
214
214
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
215
215
|
*
|
|
216
|
-
*
|
|
216
|
+
*
|
|
217
217
|
* @example To update a byte match set
|
|
218
218
|
* ```javascript
|
|
219
219
|
* // The following example deletes a ByteMatchTuple object (filters) in an byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.
|
|
220
220
|
* const input = {
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
*
|
|
221
|
+
* ByteMatchSetId: "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5",
|
|
222
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
223
|
+
* Updates: [
|
|
224
224
|
* {
|
|
225
|
-
*
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
225
|
+
* Action: "DELETE",
|
|
226
|
+
* ByteMatchTuple: {
|
|
227
|
+
* FieldToMatch: {
|
|
228
|
+
* Data: "referer",
|
|
229
|
+
* Type: "HEADER"
|
|
230
230
|
* },
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
231
|
+
* PositionalConstraint: "CONTAINS",
|
|
232
|
+
* TargetString: "badrefer1",
|
|
233
|
+
* TextTransformation: "NONE"
|
|
234
234
|
* }
|
|
235
235
|
* }
|
|
236
236
|
* ]
|
|
237
237
|
* };
|
|
238
238
|
* const command = new UpdateByteMatchSetCommand(input);
|
|
239
239
|
* const response = await client.send(command);
|
|
240
|
-
* /* response
|
|
240
|
+
* /* response is
|
|
241
241
|
* {
|
|
242
|
-
*
|
|
242
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
243
243
|
* }
|
|
244
244
|
* *\/
|
|
245
|
-
* // example id: updatebytematchset-1475259074558
|
|
246
245
|
* ```
|
|
247
246
|
*
|
|
247
|
+
* @public
|
|
248
248
|
*/
|
|
249
249
|
export declare class UpdateByteMatchSetCommand extends UpdateByteMatchSetCommand_base {
|
|
250
250
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -211,6 +211,7 @@ declare const UpdateGeoMatchSetCommand_base: {
|
|
|
211
211
|
* @throws {@link WAFRegionalServiceException}
|
|
212
212
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
213
213
|
*
|
|
214
|
+
*
|
|
214
215
|
* @public
|
|
215
216
|
*/
|
|
216
217
|
export declare class UpdateGeoMatchSetCommand extends UpdateGeoMatchSetCommand_base {
|
|
@@ -246,33 +246,33 @@ declare const UpdateIPSetCommand_base: {
|
|
|
246
246
|
* @throws {@link WAFRegionalServiceException}
|
|
247
247
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
248
248
|
*
|
|
249
|
-
*
|
|
249
|
+
*
|
|
250
250
|
* @example To update an IP set
|
|
251
251
|
* ```javascript
|
|
252
252
|
* // The following example deletes an IPSetDescriptor object in an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
253
253
|
* const input = {
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
254
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
255
|
+
* IPSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
256
|
+
* Updates: [
|
|
257
257
|
* {
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
258
|
+
* Action: "DELETE",
|
|
259
|
+
* IPSetDescriptor: {
|
|
260
|
+
* Type: "IPV4",
|
|
261
|
+
* Value: "192.0.2.44/32"
|
|
262
262
|
* }
|
|
263
263
|
* }
|
|
264
264
|
* ]
|
|
265
265
|
* };
|
|
266
266
|
* const command = new UpdateIPSetCommand(input);
|
|
267
267
|
* const response = await client.send(command);
|
|
268
|
-
* /* response
|
|
268
|
+
* /* response is
|
|
269
269
|
* {
|
|
270
|
-
*
|
|
270
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
271
271
|
* }
|
|
272
272
|
* *\/
|
|
273
|
-
* // example id: updateipset-1475259733625
|
|
274
273
|
* ```
|
|
275
274
|
*
|
|
275
|
+
* @public
|
|
276
276
|
*/
|
|
277
277
|
export declare class UpdateIPSetCommand extends UpdateIPSetCommand_base {
|
|
278
278
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -229,6 +229,7 @@ declare const UpdateRateBasedRuleCommand_base: {
|
|
|
229
229
|
* @throws {@link WAFRegionalServiceException}
|
|
230
230
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
231
231
|
*
|
|
232
|
+
*
|
|
232
233
|
* @public
|
|
233
234
|
*/
|
|
234
235
|
export declare class UpdateRateBasedRuleCommand extends UpdateRateBasedRuleCommand_base {
|
|
@@ -171,6 +171,7 @@ declare const UpdateRegexMatchSetCommand_base: {
|
|
|
171
171
|
* @throws {@link WAFRegionalServiceException}
|
|
172
172
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
173
173
|
*
|
|
174
|
+
*
|
|
174
175
|
* @public
|
|
175
176
|
*/
|
|
176
177
|
export declare class UpdateRegexMatchSetCommand extends UpdateRegexMatchSetCommand_base {
|
|
@@ -169,6 +169,7 @@ declare const UpdateRegexPatternSetCommand_base: {
|
|
|
169
169
|
* @throws {@link WAFRegionalServiceException}
|
|
170
170
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
171
171
|
*
|
|
172
|
+
*
|
|
172
173
|
* @public
|
|
173
174
|
*/
|
|
174
175
|
export declare class UpdateRegexPatternSetCommand extends UpdateRegexPatternSetCommand_base {
|
|
@@ -223,34 +223,34 @@ declare const UpdateRuleCommand_base: {
|
|
|
223
223
|
* @throws {@link WAFRegionalServiceException}
|
|
224
224
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
225
225
|
*
|
|
226
|
-
*
|
|
226
|
+
*
|
|
227
227
|
* @example To update a rule
|
|
228
228
|
* ```javascript
|
|
229
229
|
* // The following example deletes a Predicate object in a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
230
230
|
* const input = {
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
231
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
232
|
+
* RuleId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
233
|
+
* Updates: [
|
|
234
234
|
* {
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
235
|
+
* Action: "DELETE",
|
|
236
|
+
* Predicate: {
|
|
237
|
+
* DataId: "MyByteMatchSetID",
|
|
238
|
+
* Negated: false,
|
|
239
|
+
* Type: "ByteMatch"
|
|
240
240
|
* }
|
|
241
241
|
* }
|
|
242
242
|
* ]
|
|
243
243
|
* };
|
|
244
244
|
* const command = new UpdateRuleCommand(input);
|
|
245
245
|
* const response = await client.send(command);
|
|
246
|
-
* /* response
|
|
246
|
+
* /* response is
|
|
247
247
|
* {
|
|
248
|
-
*
|
|
248
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
249
249
|
* }
|
|
250
250
|
* *\/
|
|
251
|
-
* // example id: updaterule-1475260064720
|
|
252
251
|
* ```
|
|
253
252
|
*
|
|
253
|
+
* @public
|
|
254
254
|
*/
|
|
255
255
|
export declare class UpdateRuleCommand extends UpdateRuleCommand_base {
|
|
256
256
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -203,6 +203,7 @@ declare const UpdateRuleGroupCommand_base: {
|
|
|
203
203
|
* @throws {@link WAFRegionalServiceException}
|
|
204
204
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
205
205
|
*
|
|
206
|
+
*
|
|
206
207
|
* @public
|
|
207
208
|
*/
|
|
208
209
|
export declare class UpdateRuleGroupCommand extends UpdateRuleGroupCommand_base {
|
|
@@ -228,37 +228,37 @@ declare const UpdateSizeConstraintSetCommand_base: {
|
|
|
228
228
|
* @throws {@link WAFRegionalServiceException}
|
|
229
229
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
230
230
|
*
|
|
231
|
-
*
|
|
231
|
+
*
|
|
232
232
|
* @example To update a size constraint set
|
|
233
233
|
* ```javascript
|
|
234
234
|
* // The following example deletes a SizeConstraint object (filters) in a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
235
235
|
* const input = {
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
236
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
237
|
+
* SizeConstraintSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
238
|
+
* Updates: [
|
|
239
239
|
* {
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
240
|
+
* Action: "DELETE",
|
|
241
|
+
* SizeConstraint: {
|
|
242
|
+
* ComparisonOperator: "GT",
|
|
243
|
+
* FieldToMatch: {
|
|
244
|
+
* Type: "QUERY_STRING"
|
|
245
245
|
* },
|
|
246
|
-
*
|
|
247
|
-
*
|
|
246
|
+
* Size: 0,
|
|
247
|
+
* TextTransformation: "NONE"
|
|
248
248
|
* }
|
|
249
249
|
* }
|
|
250
250
|
* ]
|
|
251
251
|
* };
|
|
252
252
|
* const command = new UpdateSizeConstraintSetCommand(input);
|
|
253
253
|
* const response = await client.send(command);
|
|
254
|
-
* /* response
|
|
254
|
+
* /* response is
|
|
255
255
|
* {
|
|
256
|
-
*
|
|
256
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
257
257
|
* }
|
|
258
258
|
* *\/
|
|
259
|
-
* // example id: updatesizeconstraintset-1475531697891
|
|
260
259
|
* ```
|
|
261
260
|
*
|
|
261
|
+
* @public
|
|
262
262
|
*/
|
|
263
263
|
export declare class UpdateSizeConstraintSetCommand extends UpdateSizeConstraintSetCommand_base {
|
|
264
264
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -214,35 +214,35 @@ declare const UpdateSqlInjectionMatchSetCommand_base: {
|
|
|
214
214
|
* @throws {@link WAFRegionalServiceException}
|
|
215
215
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
216
216
|
*
|
|
217
|
-
*
|
|
217
|
+
*
|
|
218
218
|
* @example To update a SQL injection match set
|
|
219
219
|
* ```javascript
|
|
220
220
|
* // The following example deletes a SqlInjectionMatchTuple object (filters) in a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
221
221
|
* const input = {
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
222
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
223
|
+
* SqlInjectionMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
224
|
+
* Updates: [
|
|
225
225
|
* {
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
226
|
+
* Action: "DELETE",
|
|
227
|
+
* SqlInjectionMatchTuple: {
|
|
228
|
+
* FieldToMatch: {
|
|
229
|
+
* Type: "QUERY_STRING"
|
|
230
230
|
* },
|
|
231
|
-
*
|
|
231
|
+
* TextTransformation: "URL_DECODE"
|
|
232
232
|
* }
|
|
233
233
|
* }
|
|
234
234
|
* ]
|
|
235
235
|
* };
|
|
236
236
|
* const command = new UpdateSqlInjectionMatchSetCommand(input);
|
|
237
237
|
* const response = await client.send(command);
|
|
238
|
-
* /* response
|
|
238
|
+
* /* response is
|
|
239
239
|
* {
|
|
240
|
-
*
|
|
240
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
241
241
|
* }
|
|
242
242
|
* *\/
|
|
243
|
-
* // example id: updatesqlinjectionmatchset-1475532094686
|
|
244
243
|
* ```
|
|
245
244
|
*
|
|
245
|
+
* @public
|
|
246
246
|
*/
|
|
247
247
|
export declare class UpdateSqlInjectionMatchSetCommand extends UpdateSqlInjectionMatchSetCommand_base {
|
|
248
248
|
/** @internal type navigation helper, not in runtime. */
|