@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
|
@@ -123,24 +123,24 @@ declare const DeleteWebACLCommand_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
127
|
* @example To delete a web ACL
|
|
128
128
|
* ```javascript
|
|
129
129
|
* // The following example deletes a web ACL with the ID example-46da-4444-5555-example.
|
|
130
130
|
* const input = {
|
|
131
|
-
*
|
|
132
|
-
*
|
|
131
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
132
|
+
* WebACLId: "example-46da-4444-5555-example"
|
|
133
133
|
* };
|
|
134
134
|
* const command = new DeleteWebACLCommand(input);
|
|
135
135
|
* const response = await client.send(command);
|
|
136
|
-
* /* response
|
|
136
|
+
* /* response is
|
|
137
137
|
* {
|
|
138
|
-
*
|
|
138
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
139
139
|
* }
|
|
140
140
|
* *\/
|
|
141
|
-
* // example id: deletewebacl-1472767755931
|
|
142
141
|
* ```
|
|
143
142
|
*
|
|
143
|
+
* @public
|
|
144
144
|
*/
|
|
145
145
|
export declare class DeleteWebACLCommand extends DeleteWebACLCommand_base {
|
|
146
146
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -120,24 +120,24 @@ declare const DeleteXssMatchSetCommand_base: {
|
|
|
120
120
|
* @throws {@link WAFRegionalServiceException}
|
|
121
121
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
122
122
|
*
|
|
123
|
-
*
|
|
123
|
+
*
|
|
124
124
|
* @example To delete an XSS match set
|
|
125
125
|
* ```javascript
|
|
126
126
|
* // The following example deletes an XSS match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
127
127
|
* const input = {
|
|
128
|
-
*
|
|
129
|
-
*
|
|
128
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
|
|
129
|
+
* XssMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
130
130
|
* };
|
|
131
131
|
* const command = new DeleteXssMatchSetCommand(input);
|
|
132
132
|
* const response = await client.send(command);
|
|
133
|
-
* /* response
|
|
133
|
+
* /* response is
|
|
134
134
|
* {
|
|
135
|
-
*
|
|
135
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
136
136
|
* }
|
|
137
137
|
* *\/
|
|
138
|
-
* // example id: deletexssmatchset-1474561302618
|
|
139
138
|
* ```
|
|
140
139
|
*
|
|
140
|
+
* @public
|
|
141
141
|
*/
|
|
142
142
|
export declare class DeleteXssMatchSetCommand extends DeleteXssMatchSetCommand_base {
|
|
143
143
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -109,6 +109,7 @@ declare const DisassociateWebACLCommand_base: {
|
|
|
109
109
|
* @throws {@link WAFRegionalServiceException}
|
|
110
110
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
111
111
|
*
|
|
112
|
+
*
|
|
112
113
|
* @public
|
|
113
114
|
*/
|
|
114
115
|
export declare class DisassociateWebACLCommand extends DisassociateWebACLCommand_base {
|
|
@@ -85,37 +85,37 @@ declare const GetByteMatchSetCommand_base: {
|
|
|
85
85
|
* @throws {@link WAFRegionalServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
*
|
|
89
89
|
* @example To get a byte match set
|
|
90
90
|
* ```javascript
|
|
91
91
|
* // The following example returns the details of a byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.
|
|
92
92
|
* const input = {
|
|
93
|
-
*
|
|
93
|
+
* ByteMatchSetId: "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5"
|
|
94
94
|
* };
|
|
95
95
|
* const command = new GetByteMatchSetCommand(input);
|
|
96
96
|
* const response = await client.send(command);
|
|
97
|
-
* /* response
|
|
97
|
+
* /* response is
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
99
|
+
* ByteMatchSet: {
|
|
100
|
+
* ByteMatchSetId: "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5",
|
|
101
|
+
* ByteMatchTuples: [
|
|
102
102
|
* {
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
103
|
+
* FieldToMatch: {
|
|
104
|
+
* Data: "referer",
|
|
105
|
+
* Type: "HEADER"
|
|
106
106
|
* },
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
107
|
+
* PositionalConstraint: "CONTAINS",
|
|
108
|
+
* TargetString: "badrefer1",
|
|
109
|
+
* TextTransformation: "NONE"
|
|
110
110
|
* }
|
|
111
111
|
* ],
|
|
112
|
-
*
|
|
112
|
+
* Name: "ByteMatchNameExample"
|
|
113
113
|
* }
|
|
114
114
|
* }
|
|
115
115
|
* *\/
|
|
116
|
-
* // example id: getbytematchset-1473273311532
|
|
117
116
|
* ```
|
|
118
117
|
*
|
|
118
|
+
* @public
|
|
119
119
|
*/
|
|
120
120
|
export declare class GetByteMatchSetCommand extends GetByteMatchSetCommand_base {
|
|
121
121
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -69,21 +69,21 @@ declare const GetChangeTokenCommand_base: {
|
|
|
69
69
|
* @throws {@link WAFRegionalServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
71
71
|
*
|
|
72
|
-
*
|
|
72
|
+
*
|
|
73
73
|
* @example To get a change token
|
|
74
74
|
* ```javascript
|
|
75
75
|
* // The following example returns a change token to use for a create, update or delete operation.
|
|
76
|
-
* const input = {};
|
|
76
|
+
* const input = { /* empty *\/ };
|
|
77
77
|
* const command = new GetChangeTokenCommand(input);
|
|
78
78
|
* const response = await client.send(command);
|
|
79
|
-
* /* response
|
|
79
|
+
* /* response is
|
|
80
80
|
* {
|
|
81
|
-
*
|
|
81
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
82
82
|
* }
|
|
83
83
|
* *\/
|
|
84
|
-
* // example id: get-change-token-example-1471635120794
|
|
85
84
|
* ```
|
|
86
85
|
*
|
|
86
|
+
* @public
|
|
87
87
|
*/
|
|
88
88
|
export declare class GetChangeTokenCommand extends GetChangeTokenCommand_base {
|
|
89
89
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -84,23 +84,23 @@ declare const GetChangeTokenStatusCommand_base: {
|
|
|
84
84
|
* @throws {@link WAFRegionalServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
86
86
|
*
|
|
87
|
-
*
|
|
87
|
+
*
|
|
88
88
|
* @example To get the change token status
|
|
89
89
|
* ```javascript
|
|
90
90
|
* // The following example returns the status of a change token with the ID abcd12f2-46da-4fdb-b8d5-fbd4c466928f.
|
|
91
91
|
* const input = {
|
|
92
|
-
*
|
|
92
|
+
* ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
|
|
93
93
|
* };
|
|
94
94
|
* const command = new GetChangeTokenStatusCommand(input);
|
|
95
95
|
* const response = await client.send(command);
|
|
96
|
-
* /* response
|
|
96
|
+
* /* response is
|
|
97
97
|
* {
|
|
98
|
-
*
|
|
98
|
+
* ChangeTokenStatus: "PENDING"
|
|
99
99
|
* }
|
|
100
100
|
* *\/
|
|
101
|
-
* // example id: getchangetokenstatus-1474658417107
|
|
102
101
|
* ```
|
|
103
102
|
*
|
|
103
|
+
* @public
|
|
104
104
|
*/
|
|
105
105
|
export declare class GetChangeTokenStatusCommand extends GetChangeTokenStatusCommand_base {
|
|
106
106
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -80,6 +80,7 @@ declare const GetGeoMatchSetCommand_base: {
|
|
|
80
80
|
* @throws {@link WAFRegionalServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class GetGeoMatchSetCommand extends GetGeoMatchSetCommand_base {
|
|
@@ -80,32 +80,32 @@ declare const GetIPSetCommand_base: {
|
|
|
80
80
|
* @throws {@link WAFRegionalServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
82
82
|
*
|
|
83
|
-
*
|
|
83
|
+
*
|
|
84
84
|
* @example To get an IP set
|
|
85
85
|
* ```javascript
|
|
86
86
|
* // The following example returns the details of an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
87
87
|
* const input = {
|
|
88
|
-
*
|
|
88
|
+
* IPSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
89
89
|
* };
|
|
90
90
|
* const command = new GetIPSetCommand(input);
|
|
91
91
|
* const response = await client.send(command);
|
|
92
|
-
* /* response
|
|
92
|
+
* /* response is
|
|
93
93
|
* {
|
|
94
|
-
*
|
|
95
|
-
*
|
|
94
|
+
* IPSet: {
|
|
95
|
+
* IPSetDescriptors: [
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
97
|
+
* Type: "IPV4",
|
|
98
|
+
* Value: "192.0.2.44/32"
|
|
99
99
|
* }
|
|
100
100
|
* ],
|
|
101
|
-
*
|
|
102
|
-
*
|
|
101
|
+
* IPSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
102
|
+
* Name: "MyIPSetFriendlyName"
|
|
103
103
|
* }
|
|
104
104
|
* }
|
|
105
105
|
* *\/
|
|
106
|
-
* // example id: getipset-1474658688675
|
|
107
106
|
* ```
|
|
108
107
|
*
|
|
108
|
+
* @public
|
|
109
109
|
*/
|
|
110
110
|
export declare class GetIPSetCommand extends GetIPSetCommand_base {
|
|
111
111
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,6 +79,7 @@ declare const GetLoggingConfigurationCommand_base: {
|
|
|
79
79
|
* @throws {@link WAFRegionalServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
81
81
|
*
|
|
82
|
+
*
|
|
82
83
|
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class GetLoggingConfigurationCommand extends GetLoggingConfigurationCommand_base {
|
|
@@ -68,6 +68,7 @@ declare const GetPermissionPolicyCommand_base: {
|
|
|
68
68
|
* @throws {@link WAFRegionalServiceException}
|
|
69
69
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
70
70
|
*
|
|
71
|
+
*
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
73
74
|
export declare class GetPermissionPolicyCommand extends GetPermissionPolicyCommand_base {
|
|
@@ -86,6 +86,7 @@ declare const GetRateBasedRuleCommand_base: {
|
|
|
86
86
|
* @throws {@link WAFRegionalServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
88
88
|
*
|
|
89
|
+
*
|
|
89
90
|
* @public
|
|
90
91
|
*/
|
|
91
92
|
export declare class GetRateBasedRuleCommand extends GetRateBasedRuleCommand_base {
|
|
@@ -117,6 +117,7 @@ declare const GetRateBasedRuleManagedKeysCommand_base: {
|
|
|
117
117
|
* @throws {@link WAFRegionalServiceException}
|
|
118
118
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
119
119
|
*
|
|
120
|
+
*
|
|
120
121
|
* @public
|
|
121
122
|
*/
|
|
122
123
|
export declare class GetRateBasedRuleManagedKeysCommand extends GetRateBasedRuleManagedKeysCommand_base {
|
|
@@ -84,6 +84,7 @@ declare const GetRegexMatchSetCommand_base: {
|
|
|
84
84
|
* @throws {@link WAFRegionalServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
86
86
|
*
|
|
87
|
+
*
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
export declare class GetRegexMatchSetCommand extends GetRegexMatchSetCommand_base {
|
|
@@ -77,6 +77,7 @@ declare const GetRegexPatternSetCommand_base: {
|
|
|
77
77
|
* @throws {@link WAFRegionalServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
79
79
|
*
|
|
80
|
+
*
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
83
|
export declare class GetRegexPatternSetCommand extends GetRegexPatternSetCommand_base {
|
|
@@ -82,34 +82,34 @@ declare const GetRuleCommand_base: {
|
|
|
82
82
|
* @throws {@link WAFRegionalServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
86
|
* @example To get a rule
|
|
87
87
|
* ```javascript
|
|
88
88
|
* // The following example returns the details of a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
90
|
+
* RuleId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
91
91
|
* };
|
|
92
92
|
* const command = new GetRuleCommand(input);
|
|
93
93
|
* const response = await client.send(command);
|
|
94
|
-
* /* response
|
|
94
|
+
* /* response is
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
96
|
+
* Rule: {
|
|
97
|
+
* MetricName: "WAFByteHeaderRule",
|
|
98
|
+
* Name: "WAFByteHeaderRule",
|
|
99
|
+
* Predicates: [
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
101
|
+
* DataId: "MyByteMatchSetID",
|
|
102
|
+
* Negated: false,
|
|
103
|
+
* Type: "ByteMatch"
|
|
104
104
|
* }
|
|
105
105
|
* ],
|
|
106
|
-
*
|
|
106
|
+
* RuleId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
107
107
|
* }
|
|
108
108
|
* }
|
|
109
109
|
* *\/
|
|
110
|
-
* // example id: getrule-1474659238790
|
|
111
110
|
* ```
|
|
112
111
|
*
|
|
112
|
+
* @public
|
|
113
113
|
*/
|
|
114
114
|
export declare class GetRuleCommand extends GetRuleCommand_base {
|
|
115
115
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -73,6 +73,7 @@ declare const GetRuleGroupCommand_base: {
|
|
|
73
73
|
* @throws {@link WAFRegionalServiceException}
|
|
74
74
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
75
75
|
*
|
|
76
|
+
*
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class GetRuleGroupCommand extends GetRuleGroupCommand_base {
|
|
@@ -103,52 +103,8 @@ declare const GetSampledRequestsCommand_base: {
|
|
|
103
103
|
* @throws {@link WAFRegionalServiceException}
|
|
104
104
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
105
105
|
*
|
|
106
|
-
* @public
|
|
107
|
-
* @example To get a sampled requests
|
|
108
|
-
* ```javascript
|
|
109
|
-
* // The following example returns detailed information about 100 requests --a sample-- that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received between the time period 2016-09-27T15:50Z to 2016-09-27T15:50Z.
|
|
110
|
-
* const input = {
|
|
111
|
-
* "MaxItems": 100,
|
|
112
|
-
* "RuleId": "WAFRule-1-Example",
|
|
113
|
-
* "TimeWindow": {
|
|
114
|
-
* "EndTime": "2016-09-27T15:50Z",
|
|
115
|
-
* "StartTime": "2016-09-27T15:50Z"
|
|
116
|
-
* },
|
|
117
|
-
* "WebAclId": "createwebacl-1472061481310"
|
|
118
|
-
* };
|
|
119
|
-
* const command = new GetSampledRequestsCommand(input);
|
|
120
|
-
* const response = await client.send(command);
|
|
121
|
-
* /* response ==
|
|
122
|
-
* {
|
|
123
|
-
* "PopulationSize": 50,
|
|
124
|
-
* "SampledRequests": [
|
|
125
|
-
* {
|
|
126
|
-
* "Action": "BLOCK",
|
|
127
|
-
* "Request": {
|
|
128
|
-
* "ClientIP": "192.0.2.44",
|
|
129
|
-
* "Country": "US",
|
|
130
|
-
* "HTTPVersion": "HTTP/1.1",
|
|
131
|
-
* "Headers": [
|
|
132
|
-
* {
|
|
133
|
-
* "Name": "User-Agent",
|
|
134
|
-
* "Value": "BadBot "
|
|
135
|
-
* }
|
|
136
|
-
* ],
|
|
137
|
-
* "Method": "HEAD"
|
|
138
|
-
* },
|
|
139
|
-
* "Timestamp": "2016-09-27T14:55Z",
|
|
140
|
-
* "Weight": 1
|
|
141
|
-
* }
|
|
142
|
-
* ],
|
|
143
|
-
* "TimeWindow": {
|
|
144
|
-
* "EndTime": "2016-09-27T15:50Z",
|
|
145
|
-
* "StartTime": "2016-09-27T14:50Z"
|
|
146
|
-
* }
|
|
147
|
-
* }
|
|
148
|
-
* *\/
|
|
149
|
-
* // example id: getsampledrequests-1474927997195
|
|
150
|
-
* ```
|
|
151
106
|
*
|
|
107
|
+
* @public
|
|
152
108
|
*/
|
|
153
109
|
export declare class GetSampledRequestsCommand extends GetSampledRequestsCommand_base {
|
|
154
110
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -85,36 +85,36 @@ declare const GetSizeConstraintSetCommand_base: {
|
|
|
85
85
|
* @throws {@link WAFRegionalServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from WAFRegional service.</p>
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
*
|
|
89
89
|
* @example To get a size constraint set
|
|
90
90
|
* ```javascript
|
|
91
91
|
* // The following example returns the details of a size constraint match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
92
92
|
* const input = {
|
|
93
|
-
*
|
|
93
|
+
* SizeConstraintSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
94
94
|
* };
|
|
95
95
|
* const command = new GetSizeConstraintSetCommand(input);
|
|
96
96
|
* const response = await client.send(command);
|
|
97
|
-
* /* response
|
|
97
|
+
* /* response is
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
99
|
+
* SizeConstraintSet: {
|
|
100
|
+
* Name: "MySampleSizeConstraintSet",
|
|
101
|
+
* SizeConstraintSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
102
|
+
* SizeConstraints: [
|
|
103
103
|
* {
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
104
|
+
* ComparisonOperator: "GT",
|
|
105
|
+
* FieldToMatch: {
|
|
106
|
+
* Type: "QUERY_STRING"
|
|
107
107
|
* },
|
|
108
|
-
*
|
|
109
|
-
*
|
|
108
|
+
* Size: 0,
|
|
109
|
+
* TextTransformation: "NONE"
|
|
110
110
|
* }
|
|
111
111
|
* ]
|
|
112
112
|
* }
|
|
113
113
|
* }
|
|
114
114
|
* *\/
|
|
115
|
-
* // example id: getsizeconstraintset-1475005422493
|
|
116
115
|
* ```
|
|
117
116
|
*
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
export declare class GetSizeConstraintSetCommand extends GetSizeConstraintSetCommand_base {
|
|
120
120
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -83,34 +83,34 @@ declare const GetSqlInjectionMatchSetCommand_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 a SQL injection match set
|
|
88
88
|
* ```javascript
|
|
89
89
|
* // The following example returns the details of a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
91
|
+
* SqlInjectionMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new GetSqlInjectionMatchSetCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
-
* /* response
|
|
95
|
+
* /* response is
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
97
|
+
* SqlInjectionMatchSet: {
|
|
98
|
+
* Name: "MySQLInjectionMatchSet",
|
|
99
|
+
* SqlInjectionMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
|
|
100
|
+
* SqlInjectionMatchTuples: [
|
|
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: getsqlinjectionmatchset-1475005940137
|
|
112
111
|
* ```
|
|
113
112
|
*
|
|
113
|
+
* @public
|
|
114
114
|
*/
|
|
115
115
|
export declare class GetSqlInjectionMatchSetCommand extends GetSqlInjectionMatchSetCommand_base {
|
|
116
116
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -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 {
|