@aws-sdk/client-waf-regional 3.774.0 → 3.777.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-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/WAFRegionalClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- 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 +33 -33
|
@@ -97,39 +97,39 @@ declare const GetWebACLCommand_base: {
|
|
|
97
97
|
* @throws {@link WAFRegionalServiceException}
|
|
98
98
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
99
99
|
*
|
|
100
|
-
*
|
|
100
|
+
*
|
|
101
101
|
* @example To get a web ACL
|
|
102
102
|
* ```javascript
|
|
103
103
|
* // The following example returns the details of a web ACL with the ID createwebacl-1472061481310.
|
|
104
104
|
* const input = {
|
|
105
|
-
*
|
|
105
|
+
* WebACLId: "createwebacl-1472061481310"
|
|
106
106
|
* };
|
|
107
107
|
* const command = new GetWebACLCommand(input);
|
|
108
108
|
* const response = await client.send(command);
|
|
109
|
-
* /* response
|
|
109
|
+
* /* response is
|
|
110
110
|
* {
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
111
|
+
* WebACL: {
|
|
112
|
+
* DefaultAction: {
|
|
113
|
+
* Type: "ALLOW"
|
|
114
114
|
* },
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
115
|
+
* MetricName: "CreateExample",
|
|
116
|
+
* Name: "CreateExample",
|
|
117
|
+
* Rules: [
|
|
118
118
|
* {
|
|
119
|
-
*
|
|
120
|
-
*
|
|
119
|
+
* Action: {
|
|
120
|
+
* Type: "ALLOW"
|
|
121
121
|
* },
|
|
122
|
-
*
|
|
123
|
-
*
|
|
122
|
+
* Priority: 1,
|
|
123
|
+
* RuleId: "WAFRule-1-Example"
|
|
124
124
|
* }
|
|
125
125
|
* ],
|
|
126
|
-
*
|
|
126
|
+
* WebACLId: "createwebacl-1472061481310"
|
|
127
127
|
* }
|
|
128
128
|
* }
|
|
129
129
|
* *\/
|
|
130
|
-
* // example id: getwebacl-1475006348525
|
|
131
130
|
* ```
|
|
132
131
|
*
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
export declare class GetWebACLCommand extends GetWebACLCommand_base {
|
|
135
135
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -118,6 +118,7 @@ declare const GetWebACLForResourceCommand_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 GetWebACLForResourceCommand extends GetWebACLForResourceCommand_base {
|
|
@@ -83,34 +83,34 @@ declare const GetXssMatchSetCommand_base: {
|
|
|
83
83
|
* @throws {@link WAFRegionalServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example To get an XSS match set
|
|
88
88
|
* ```javascript
|
|
89
89
|
* // The following example returns the details of an XSS match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
91
|
+
* XssMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new GetXssMatchSetCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
-
* /* response
|
|
95
|
+
* /* response is
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
97
|
+
* XssMatchSet: {
|
|
98
|
+
* Name: "MySampleXssMatchSet",
|
|
99
|
+
* XssMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
100
|
+
* XssMatchTuples: [
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
103
|
-
*
|
|
102
|
+
* FieldToMatch: {
|
|
103
|
+
* Type: "QUERY_STRING"
|
|
104
104
|
* },
|
|
105
|
-
*
|
|
105
|
+
* TextTransformation: "URL_DECODE"
|
|
106
106
|
* }
|
|
107
107
|
* ]
|
|
108
108
|
* }
|
|
109
109
|
* }
|
|
110
110
|
* *\/
|
|
111
|
-
* // example id: getxssmatchset-1475187879017
|
|
112
111
|
* ```
|
|
113
112
|
*
|
|
113
|
+
* @public
|
|
114
114
|
*/
|
|
115
115
|
export declare class GetXssMatchSetCommand extends GetXssMatchSetCommand_base {
|
|
116
116
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -128,6 +128,7 @@ declare const ListActivatedRulesInRuleGroupCommand_base: {
|
|
|
128
128
|
* @throws {@link WAFRegionalServiceException}
|
|
129
129
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
130
130
|
*
|
|
131
|
+
*
|
|
131
132
|
* @public
|
|
132
133
|
*/
|
|
133
134
|
export declare class ListActivatedRulesInRuleGroupCommand extends ListActivatedRulesInRuleGroupCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const ListByteMatchSetsCommand_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 ListByteMatchSetsCommand extends ListByteMatchSetsCommand_base {
|
|
@@ -75,6 +75,7 @@ declare const ListGeoMatchSetsCommand_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 ListGeoMatchSetsCommand extends ListGeoMatchSetsCommand_base {
|
|
@@ -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. */
|