@aws-sdk/client-wafv2 3.186.0 → 3.190.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/CHANGELOG.md +16 -0
- package/dist-es/WAFV2.js +194 -201
- package/dist-es/WAFV2Client.js +22 -28
- package/dist-es/commands/AssociateWebACLCommand.js +21 -28
- package/dist-es/commands/CheckCapacityCommand.js +21 -28
- package/dist-es/commands/CreateIPSetCommand.js +21 -28
- package/dist-es/commands/CreateRegexPatternSetCommand.js +21 -28
- package/dist-es/commands/CreateRuleGroupCommand.js +21 -28
- package/dist-es/commands/CreateWebACLCommand.js +21 -28
- package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +21 -28
- package/dist-es/commands/DeleteIPSetCommand.js +21 -28
- package/dist-es/commands/DeleteLoggingConfigurationCommand.js +21 -28
- package/dist-es/commands/DeletePermissionPolicyCommand.js +21 -28
- package/dist-es/commands/DeleteRegexPatternSetCommand.js +21 -28
- package/dist-es/commands/DeleteRuleGroupCommand.js +21 -28
- package/dist-es/commands/DeleteWebACLCommand.js +21 -28
- package/dist-es/commands/DescribeManagedRuleGroupCommand.js +21 -28
- package/dist-es/commands/DisassociateWebACLCommand.js +21 -28
- package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +21 -28
- package/dist-es/commands/GetIPSetCommand.js +21 -28
- package/dist-es/commands/GetLoggingConfigurationCommand.js +21 -28
- package/dist-es/commands/GetManagedRuleSetCommand.js +21 -28
- package/dist-es/commands/GetMobileSdkReleaseCommand.js +21 -28
- package/dist-es/commands/GetPermissionPolicyCommand.js +21 -28
- package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +21 -28
- package/dist-es/commands/GetRegexPatternSetCommand.js +21 -28
- package/dist-es/commands/GetRuleGroupCommand.js +21 -28
- package/dist-es/commands/GetSampledRequestsCommand.js +21 -28
- package/dist-es/commands/GetWebACLCommand.js +21 -28
- package/dist-es/commands/GetWebACLForResourceCommand.js +21 -28
- package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +21 -28
- package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +21 -28
- package/dist-es/commands/ListIPSetsCommand.js +21 -28
- package/dist-es/commands/ListLoggingConfigurationsCommand.js +21 -28
- package/dist-es/commands/ListManagedRuleSetsCommand.js +21 -28
- package/dist-es/commands/ListMobileSdkReleasesCommand.js +21 -28
- package/dist-es/commands/ListRegexPatternSetsCommand.js +21 -28
- package/dist-es/commands/ListResourcesForWebACLCommand.js +21 -28
- package/dist-es/commands/ListRuleGroupsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListWebACLsCommand.js +21 -28
- package/dist-es/commands/PutLoggingConfigurationCommand.js +21 -28
- package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +21 -28
- package/dist-es/commands/PutPermissionPolicyCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateIPSetCommand.js +21 -28
- package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +21 -28
- package/dist-es/commands/UpdateRegexPatternSetCommand.js +21 -28
- package/dist-es/commands/UpdateRuleGroupCommand.js +21 -28
- package/dist-es/commands/UpdateWebACLCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/WAFV2ServiceException.js +5 -10
- package/dist-es/models/models_0.js +775 -404
- package/dist-es/protocols/Aws_json1_1.js +4048 -4810
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
package/dist-es/WAFV2.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { AssociateWebACLCommand, } from "./commands/AssociateWebACLCommand";
|
|
3
2
|
import { CheckCapacityCommand, } from "./commands/CheckCapacityCommand";
|
|
4
3
|
import { CreateIPSetCommand } from "./commands/CreateIPSetCommand";
|
|
@@ -48,683 +47,677 @@ import { UpdateRegexPatternSetCommand, } from "./commands/UpdateRegexPatternSetC
|
|
|
48
47
|
import { UpdateRuleGroupCommand, } from "./commands/UpdateRuleGroupCommand";
|
|
49
48
|
import { UpdateWebACLCommand, } from "./commands/UpdateWebACLCommand";
|
|
50
49
|
import { WAFV2Client } from "./WAFV2Client";
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
55
|
-
}
|
|
56
|
-
WAFV2.prototype.associateWebACL = function (args, optionsOrCb, cb) {
|
|
57
|
-
var command = new AssociateWebACLCommand(args);
|
|
50
|
+
export class WAFV2 extends WAFV2Client {
|
|
51
|
+
associateWebACL(args, optionsOrCb, cb) {
|
|
52
|
+
const command = new AssociateWebACLCommand(args);
|
|
58
53
|
if (typeof optionsOrCb === "function") {
|
|
59
54
|
this.send(command, optionsOrCb);
|
|
60
55
|
}
|
|
61
56
|
else if (typeof cb === "function") {
|
|
62
57
|
if (typeof optionsOrCb !== "object")
|
|
63
|
-
throw new Error(
|
|
58
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
64
59
|
this.send(command, optionsOrCb || {}, cb);
|
|
65
60
|
}
|
|
66
61
|
else {
|
|
67
62
|
return this.send(command, optionsOrCb);
|
|
68
63
|
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
64
|
+
}
|
|
65
|
+
checkCapacity(args, optionsOrCb, cb) {
|
|
66
|
+
const command = new CheckCapacityCommand(args);
|
|
72
67
|
if (typeof optionsOrCb === "function") {
|
|
73
68
|
this.send(command, optionsOrCb);
|
|
74
69
|
}
|
|
75
70
|
else if (typeof cb === "function") {
|
|
76
71
|
if (typeof optionsOrCb !== "object")
|
|
77
|
-
throw new Error(
|
|
72
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
78
73
|
this.send(command, optionsOrCb || {}, cb);
|
|
79
74
|
}
|
|
80
75
|
else {
|
|
81
76
|
return this.send(command, optionsOrCb);
|
|
82
77
|
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
78
|
+
}
|
|
79
|
+
createIPSet(args, optionsOrCb, cb) {
|
|
80
|
+
const command = new CreateIPSetCommand(args);
|
|
86
81
|
if (typeof optionsOrCb === "function") {
|
|
87
82
|
this.send(command, optionsOrCb);
|
|
88
83
|
}
|
|
89
84
|
else if (typeof cb === "function") {
|
|
90
85
|
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error(
|
|
86
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
92
87
|
this.send(command, optionsOrCb || {}, cb);
|
|
93
88
|
}
|
|
94
89
|
else {
|
|
95
90
|
return this.send(command, optionsOrCb);
|
|
96
91
|
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
|
|
92
|
+
}
|
|
93
|
+
createRegexPatternSet(args, optionsOrCb, cb) {
|
|
94
|
+
const command = new CreateRegexPatternSetCommand(args);
|
|
100
95
|
if (typeof optionsOrCb === "function") {
|
|
101
96
|
this.send(command, optionsOrCb);
|
|
102
97
|
}
|
|
103
98
|
else if (typeof cb === "function") {
|
|
104
99
|
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error(
|
|
100
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
101
|
this.send(command, optionsOrCb || {}, cb);
|
|
107
102
|
}
|
|
108
103
|
else {
|
|
109
104
|
return this.send(command, optionsOrCb);
|
|
110
105
|
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
106
|
+
}
|
|
107
|
+
createRuleGroup(args, optionsOrCb, cb) {
|
|
108
|
+
const command = new CreateRuleGroupCommand(args);
|
|
114
109
|
if (typeof optionsOrCb === "function") {
|
|
115
110
|
this.send(command, optionsOrCb);
|
|
116
111
|
}
|
|
117
112
|
else if (typeof cb === "function") {
|
|
118
113
|
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error(
|
|
114
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
120
115
|
this.send(command, optionsOrCb || {}, cb);
|
|
121
116
|
}
|
|
122
117
|
else {
|
|
123
118
|
return this.send(command, optionsOrCb);
|
|
124
119
|
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
|
|
120
|
+
}
|
|
121
|
+
createWebACL(args, optionsOrCb, cb) {
|
|
122
|
+
const command = new CreateWebACLCommand(args);
|
|
128
123
|
if (typeof optionsOrCb === "function") {
|
|
129
124
|
this.send(command, optionsOrCb);
|
|
130
125
|
}
|
|
131
126
|
else if (typeof cb === "function") {
|
|
132
127
|
if (typeof optionsOrCb !== "object")
|
|
133
|
-
throw new Error(
|
|
128
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
134
129
|
this.send(command, optionsOrCb || {}, cb);
|
|
135
130
|
}
|
|
136
131
|
else {
|
|
137
132
|
return this.send(command, optionsOrCb);
|
|
138
133
|
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
134
|
+
}
|
|
135
|
+
deleteFirewallManagerRuleGroups(args, optionsOrCb, cb) {
|
|
136
|
+
const command = new DeleteFirewallManagerRuleGroupsCommand(args);
|
|
142
137
|
if (typeof optionsOrCb === "function") {
|
|
143
138
|
this.send(command, optionsOrCb);
|
|
144
139
|
}
|
|
145
140
|
else if (typeof cb === "function") {
|
|
146
141
|
if (typeof optionsOrCb !== "object")
|
|
147
|
-
throw new Error(
|
|
142
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
148
143
|
this.send(command, optionsOrCb || {}, cb);
|
|
149
144
|
}
|
|
150
145
|
else {
|
|
151
146
|
return this.send(command, optionsOrCb);
|
|
152
147
|
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
|
|
148
|
+
}
|
|
149
|
+
deleteIPSet(args, optionsOrCb, cb) {
|
|
150
|
+
const command = new DeleteIPSetCommand(args);
|
|
156
151
|
if (typeof optionsOrCb === "function") {
|
|
157
152
|
this.send(command, optionsOrCb);
|
|
158
153
|
}
|
|
159
154
|
else if (typeof cb === "function") {
|
|
160
155
|
if (typeof optionsOrCb !== "object")
|
|
161
|
-
throw new Error(
|
|
156
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
162
157
|
this.send(command, optionsOrCb || {}, cb);
|
|
163
158
|
}
|
|
164
159
|
else {
|
|
165
160
|
return this.send(command, optionsOrCb);
|
|
166
161
|
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
|
|
162
|
+
}
|
|
163
|
+
deleteLoggingConfiguration(args, optionsOrCb, cb) {
|
|
164
|
+
const command = new DeleteLoggingConfigurationCommand(args);
|
|
170
165
|
if (typeof optionsOrCb === "function") {
|
|
171
166
|
this.send(command, optionsOrCb);
|
|
172
167
|
}
|
|
173
168
|
else if (typeof cb === "function") {
|
|
174
169
|
if (typeof optionsOrCb !== "object")
|
|
175
|
-
throw new Error(
|
|
170
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
176
171
|
this.send(command, optionsOrCb || {}, cb);
|
|
177
172
|
}
|
|
178
173
|
else {
|
|
179
174
|
return this.send(command, optionsOrCb);
|
|
180
175
|
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
|
|
176
|
+
}
|
|
177
|
+
deletePermissionPolicy(args, optionsOrCb, cb) {
|
|
178
|
+
const command = new DeletePermissionPolicyCommand(args);
|
|
184
179
|
if (typeof optionsOrCb === "function") {
|
|
185
180
|
this.send(command, optionsOrCb);
|
|
186
181
|
}
|
|
187
182
|
else if (typeof cb === "function") {
|
|
188
183
|
if (typeof optionsOrCb !== "object")
|
|
189
|
-
throw new Error(
|
|
184
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
190
185
|
this.send(command, optionsOrCb || {}, cb);
|
|
191
186
|
}
|
|
192
187
|
else {
|
|
193
188
|
return this.send(command, optionsOrCb);
|
|
194
189
|
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
|
|
190
|
+
}
|
|
191
|
+
deleteRegexPatternSet(args, optionsOrCb, cb) {
|
|
192
|
+
const command = new DeleteRegexPatternSetCommand(args);
|
|
198
193
|
if (typeof optionsOrCb === "function") {
|
|
199
194
|
this.send(command, optionsOrCb);
|
|
200
195
|
}
|
|
201
196
|
else if (typeof cb === "function") {
|
|
202
197
|
if (typeof optionsOrCb !== "object")
|
|
203
|
-
throw new Error(
|
|
198
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
204
199
|
this.send(command, optionsOrCb || {}, cb);
|
|
205
200
|
}
|
|
206
201
|
else {
|
|
207
202
|
return this.send(command, optionsOrCb);
|
|
208
203
|
}
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
204
|
+
}
|
|
205
|
+
deleteRuleGroup(args, optionsOrCb, cb) {
|
|
206
|
+
const command = new DeleteRuleGroupCommand(args);
|
|
212
207
|
if (typeof optionsOrCb === "function") {
|
|
213
208
|
this.send(command, optionsOrCb);
|
|
214
209
|
}
|
|
215
210
|
else if (typeof cb === "function") {
|
|
216
211
|
if (typeof optionsOrCb !== "object")
|
|
217
|
-
throw new Error(
|
|
212
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
218
213
|
this.send(command, optionsOrCb || {}, cb);
|
|
219
214
|
}
|
|
220
215
|
else {
|
|
221
216
|
return this.send(command, optionsOrCb);
|
|
222
217
|
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
218
|
+
}
|
|
219
|
+
deleteWebACL(args, optionsOrCb, cb) {
|
|
220
|
+
const command = new DeleteWebACLCommand(args);
|
|
226
221
|
if (typeof optionsOrCb === "function") {
|
|
227
222
|
this.send(command, optionsOrCb);
|
|
228
223
|
}
|
|
229
224
|
else if (typeof cb === "function") {
|
|
230
225
|
if (typeof optionsOrCb !== "object")
|
|
231
|
-
throw new Error(
|
|
226
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
232
227
|
this.send(command, optionsOrCb || {}, cb);
|
|
233
228
|
}
|
|
234
229
|
else {
|
|
235
230
|
return this.send(command, optionsOrCb);
|
|
236
231
|
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
232
|
+
}
|
|
233
|
+
describeManagedRuleGroup(args, optionsOrCb, cb) {
|
|
234
|
+
const command = new DescribeManagedRuleGroupCommand(args);
|
|
240
235
|
if (typeof optionsOrCb === "function") {
|
|
241
236
|
this.send(command, optionsOrCb);
|
|
242
237
|
}
|
|
243
238
|
else if (typeof cb === "function") {
|
|
244
239
|
if (typeof optionsOrCb !== "object")
|
|
245
|
-
throw new Error(
|
|
240
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
246
241
|
this.send(command, optionsOrCb || {}, cb);
|
|
247
242
|
}
|
|
248
243
|
else {
|
|
249
244
|
return this.send(command, optionsOrCb);
|
|
250
245
|
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
246
|
+
}
|
|
247
|
+
disassociateWebACL(args, optionsOrCb, cb) {
|
|
248
|
+
const command = new DisassociateWebACLCommand(args);
|
|
254
249
|
if (typeof optionsOrCb === "function") {
|
|
255
250
|
this.send(command, optionsOrCb);
|
|
256
251
|
}
|
|
257
252
|
else if (typeof cb === "function") {
|
|
258
253
|
if (typeof optionsOrCb !== "object")
|
|
259
|
-
throw new Error(
|
|
254
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
260
255
|
this.send(command, optionsOrCb || {}, cb);
|
|
261
256
|
}
|
|
262
257
|
else {
|
|
263
258
|
return this.send(command, optionsOrCb);
|
|
264
259
|
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
|
|
260
|
+
}
|
|
261
|
+
generateMobileSdkReleaseUrl(args, optionsOrCb, cb) {
|
|
262
|
+
const command = new GenerateMobileSdkReleaseUrlCommand(args);
|
|
268
263
|
if (typeof optionsOrCb === "function") {
|
|
269
264
|
this.send(command, optionsOrCb);
|
|
270
265
|
}
|
|
271
266
|
else if (typeof cb === "function") {
|
|
272
267
|
if (typeof optionsOrCb !== "object")
|
|
273
|
-
throw new Error(
|
|
268
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
274
269
|
this.send(command, optionsOrCb || {}, cb);
|
|
275
270
|
}
|
|
276
271
|
else {
|
|
277
272
|
return this.send(command, optionsOrCb);
|
|
278
273
|
}
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
|
|
274
|
+
}
|
|
275
|
+
getIPSet(args, optionsOrCb, cb) {
|
|
276
|
+
const command = new GetIPSetCommand(args);
|
|
282
277
|
if (typeof optionsOrCb === "function") {
|
|
283
278
|
this.send(command, optionsOrCb);
|
|
284
279
|
}
|
|
285
280
|
else if (typeof cb === "function") {
|
|
286
281
|
if (typeof optionsOrCb !== "object")
|
|
287
|
-
throw new Error(
|
|
282
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
288
283
|
this.send(command, optionsOrCb || {}, cb);
|
|
289
284
|
}
|
|
290
285
|
else {
|
|
291
286
|
return this.send(command, optionsOrCb);
|
|
292
287
|
}
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
|
|
288
|
+
}
|
|
289
|
+
getLoggingConfiguration(args, optionsOrCb, cb) {
|
|
290
|
+
const command = new GetLoggingConfigurationCommand(args);
|
|
296
291
|
if (typeof optionsOrCb === "function") {
|
|
297
292
|
this.send(command, optionsOrCb);
|
|
298
293
|
}
|
|
299
294
|
else if (typeof cb === "function") {
|
|
300
295
|
if (typeof optionsOrCb !== "object")
|
|
301
|
-
throw new Error(
|
|
296
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
302
297
|
this.send(command, optionsOrCb || {}, cb);
|
|
303
298
|
}
|
|
304
299
|
else {
|
|
305
300
|
return this.send(command, optionsOrCb);
|
|
306
301
|
}
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
|
|
302
|
+
}
|
|
303
|
+
getManagedRuleSet(args, optionsOrCb, cb) {
|
|
304
|
+
const command = new GetManagedRuleSetCommand(args);
|
|
310
305
|
if (typeof optionsOrCb === "function") {
|
|
311
306
|
this.send(command, optionsOrCb);
|
|
312
307
|
}
|
|
313
308
|
else if (typeof cb === "function") {
|
|
314
309
|
if (typeof optionsOrCb !== "object")
|
|
315
|
-
throw new Error(
|
|
310
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
316
311
|
this.send(command, optionsOrCb || {}, cb);
|
|
317
312
|
}
|
|
318
313
|
else {
|
|
319
314
|
return this.send(command, optionsOrCb);
|
|
320
315
|
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
316
|
+
}
|
|
317
|
+
getMobileSdkRelease(args, optionsOrCb, cb) {
|
|
318
|
+
const command = new GetMobileSdkReleaseCommand(args);
|
|
324
319
|
if (typeof optionsOrCb === "function") {
|
|
325
320
|
this.send(command, optionsOrCb);
|
|
326
321
|
}
|
|
327
322
|
else if (typeof cb === "function") {
|
|
328
323
|
if (typeof optionsOrCb !== "object")
|
|
329
|
-
throw new Error(
|
|
324
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
330
325
|
this.send(command, optionsOrCb || {}, cb);
|
|
331
326
|
}
|
|
332
327
|
else {
|
|
333
328
|
return this.send(command, optionsOrCb);
|
|
334
329
|
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
|
|
330
|
+
}
|
|
331
|
+
getPermissionPolicy(args, optionsOrCb, cb) {
|
|
332
|
+
const command = new GetPermissionPolicyCommand(args);
|
|
338
333
|
if (typeof optionsOrCb === "function") {
|
|
339
334
|
this.send(command, optionsOrCb);
|
|
340
335
|
}
|
|
341
336
|
else if (typeof cb === "function") {
|
|
342
337
|
if (typeof optionsOrCb !== "object")
|
|
343
|
-
throw new Error(
|
|
338
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
344
339
|
this.send(command, optionsOrCb || {}, cb);
|
|
345
340
|
}
|
|
346
341
|
else {
|
|
347
342
|
return this.send(command, optionsOrCb);
|
|
348
343
|
}
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
|
|
344
|
+
}
|
|
345
|
+
getRateBasedStatementManagedKeys(args, optionsOrCb, cb) {
|
|
346
|
+
const command = new GetRateBasedStatementManagedKeysCommand(args);
|
|
352
347
|
if (typeof optionsOrCb === "function") {
|
|
353
348
|
this.send(command, optionsOrCb);
|
|
354
349
|
}
|
|
355
350
|
else if (typeof cb === "function") {
|
|
356
351
|
if (typeof optionsOrCb !== "object")
|
|
357
|
-
throw new Error(
|
|
352
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
358
353
|
this.send(command, optionsOrCb || {}, cb);
|
|
359
354
|
}
|
|
360
355
|
else {
|
|
361
356
|
return this.send(command, optionsOrCb);
|
|
362
357
|
}
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
|
|
358
|
+
}
|
|
359
|
+
getRegexPatternSet(args, optionsOrCb, cb) {
|
|
360
|
+
const command = new GetRegexPatternSetCommand(args);
|
|
366
361
|
if (typeof optionsOrCb === "function") {
|
|
367
362
|
this.send(command, optionsOrCb);
|
|
368
363
|
}
|
|
369
364
|
else if (typeof cb === "function") {
|
|
370
365
|
if (typeof optionsOrCb !== "object")
|
|
371
|
-
throw new Error(
|
|
366
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
372
367
|
this.send(command, optionsOrCb || {}, cb);
|
|
373
368
|
}
|
|
374
369
|
else {
|
|
375
370
|
return this.send(command, optionsOrCb);
|
|
376
371
|
}
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
|
|
372
|
+
}
|
|
373
|
+
getRuleGroup(args, optionsOrCb, cb) {
|
|
374
|
+
const command = new GetRuleGroupCommand(args);
|
|
380
375
|
if (typeof optionsOrCb === "function") {
|
|
381
376
|
this.send(command, optionsOrCb);
|
|
382
377
|
}
|
|
383
378
|
else if (typeof cb === "function") {
|
|
384
379
|
if (typeof optionsOrCb !== "object")
|
|
385
|
-
throw new Error(
|
|
380
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
386
381
|
this.send(command, optionsOrCb || {}, cb);
|
|
387
382
|
}
|
|
388
383
|
else {
|
|
389
384
|
return this.send(command, optionsOrCb);
|
|
390
385
|
}
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
|
|
386
|
+
}
|
|
387
|
+
getSampledRequests(args, optionsOrCb, cb) {
|
|
388
|
+
const command = new GetSampledRequestsCommand(args);
|
|
394
389
|
if (typeof optionsOrCb === "function") {
|
|
395
390
|
this.send(command, optionsOrCb);
|
|
396
391
|
}
|
|
397
392
|
else if (typeof cb === "function") {
|
|
398
393
|
if (typeof optionsOrCb !== "object")
|
|
399
|
-
throw new Error(
|
|
394
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
400
395
|
this.send(command, optionsOrCb || {}, cb);
|
|
401
396
|
}
|
|
402
397
|
else {
|
|
403
398
|
return this.send(command, optionsOrCb);
|
|
404
399
|
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
|
|
400
|
+
}
|
|
401
|
+
getWebACL(args, optionsOrCb, cb) {
|
|
402
|
+
const command = new GetWebACLCommand(args);
|
|
408
403
|
if (typeof optionsOrCb === "function") {
|
|
409
404
|
this.send(command, optionsOrCb);
|
|
410
405
|
}
|
|
411
406
|
else if (typeof cb === "function") {
|
|
412
407
|
if (typeof optionsOrCb !== "object")
|
|
413
|
-
throw new Error(
|
|
408
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
414
409
|
this.send(command, optionsOrCb || {}, cb);
|
|
415
410
|
}
|
|
416
411
|
else {
|
|
417
412
|
return this.send(command, optionsOrCb);
|
|
418
413
|
}
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
|
|
414
|
+
}
|
|
415
|
+
getWebACLForResource(args, optionsOrCb, cb) {
|
|
416
|
+
const command = new GetWebACLForResourceCommand(args);
|
|
422
417
|
if (typeof optionsOrCb === "function") {
|
|
423
418
|
this.send(command, optionsOrCb);
|
|
424
419
|
}
|
|
425
420
|
else if (typeof cb === "function") {
|
|
426
421
|
if (typeof optionsOrCb !== "object")
|
|
427
|
-
throw new Error(
|
|
422
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
428
423
|
this.send(command, optionsOrCb || {}, cb);
|
|
429
424
|
}
|
|
430
425
|
else {
|
|
431
426
|
return this.send(command, optionsOrCb);
|
|
432
427
|
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
|
|
428
|
+
}
|
|
429
|
+
listAvailableManagedRuleGroups(args, optionsOrCb, cb) {
|
|
430
|
+
const command = new ListAvailableManagedRuleGroupsCommand(args);
|
|
436
431
|
if (typeof optionsOrCb === "function") {
|
|
437
432
|
this.send(command, optionsOrCb);
|
|
438
433
|
}
|
|
439
434
|
else if (typeof cb === "function") {
|
|
440
435
|
if (typeof optionsOrCb !== "object")
|
|
441
|
-
throw new Error(
|
|
436
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
442
437
|
this.send(command, optionsOrCb || {}, cb);
|
|
443
438
|
}
|
|
444
439
|
else {
|
|
445
440
|
return this.send(command, optionsOrCb);
|
|
446
441
|
}
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
|
|
442
|
+
}
|
|
443
|
+
listAvailableManagedRuleGroupVersions(args, optionsOrCb, cb) {
|
|
444
|
+
const command = new ListAvailableManagedRuleGroupVersionsCommand(args);
|
|
450
445
|
if (typeof optionsOrCb === "function") {
|
|
451
446
|
this.send(command, optionsOrCb);
|
|
452
447
|
}
|
|
453
448
|
else if (typeof cb === "function") {
|
|
454
449
|
if (typeof optionsOrCb !== "object")
|
|
455
|
-
throw new Error(
|
|
450
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
456
451
|
this.send(command, optionsOrCb || {}, cb);
|
|
457
452
|
}
|
|
458
453
|
else {
|
|
459
454
|
return this.send(command, optionsOrCb);
|
|
460
455
|
}
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
|
|
456
|
+
}
|
|
457
|
+
listIPSets(args, optionsOrCb, cb) {
|
|
458
|
+
const command = new ListIPSetsCommand(args);
|
|
464
459
|
if (typeof optionsOrCb === "function") {
|
|
465
460
|
this.send(command, optionsOrCb);
|
|
466
461
|
}
|
|
467
462
|
else if (typeof cb === "function") {
|
|
468
463
|
if (typeof optionsOrCb !== "object")
|
|
469
|
-
throw new Error(
|
|
464
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
470
465
|
this.send(command, optionsOrCb || {}, cb);
|
|
471
466
|
}
|
|
472
467
|
else {
|
|
473
468
|
return this.send(command, optionsOrCb);
|
|
474
469
|
}
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
|
|
470
|
+
}
|
|
471
|
+
listLoggingConfigurations(args, optionsOrCb, cb) {
|
|
472
|
+
const command = new ListLoggingConfigurationsCommand(args);
|
|
478
473
|
if (typeof optionsOrCb === "function") {
|
|
479
474
|
this.send(command, optionsOrCb);
|
|
480
475
|
}
|
|
481
476
|
else if (typeof cb === "function") {
|
|
482
477
|
if (typeof optionsOrCb !== "object")
|
|
483
|
-
throw new Error(
|
|
478
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
484
479
|
this.send(command, optionsOrCb || {}, cb);
|
|
485
480
|
}
|
|
486
481
|
else {
|
|
487
482
|
return this.send(command, optionsOrCb);
|
|
488
483
|
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
|
|
484
|
+
}
|
|
485
|
+
listManagedRuleSets(args, optionsOrCb, cb) {
|
|
486
|
+
const command = new ListManagedRuleSetsCommand(args);
|
|
492
487
|
if (typeof optionsOrCb === "function") {
|
|
493
488
|
this.send(command, optionsOrCb);
|
|
494
489
|
}
|
|
495
490
|
else if (typeof cb === "function") {
|
|
496
491
|
if (typeof optionsOrCb !== "object")
|
|
497
|
-
throw new Error(
|
|
492
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
498
493
|
this.send(command, optionsOrCb || {}, cb);
|
|
499
494
|
}
|
|
500
495
|
else {
|
|
501
496
|
return this.send(command, optionsOrCb);
|
|
502
497
|
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
|
|
498
|
+
}
|
|
499
|
+
listMobileSdkReleases(args, optionsOrCb, cb) {
|
|
500
|
+
const command = new ListMobileSdkReleasesCommand(args);
|
|
506
501
|
if (typeof optionsOrCb === "function") {
|
|
507
502
|
this.send(command, optionsOrCb);
|
|
508
503
|
}
|
|
509
504
|
else if (typeof cb === "function") {
|
|
510
505
|
if (typeof optionsOrCb !== "object")
|
|
511
|
-
throw new Error(
|
|
506
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
512
507
|
this.send(command, optionsOrCb || {}, cb);
|
|
513
508
|
}
|
|
514
509
|
else {
|
|
515
510
|
return this.send(command, optionsOrCb);
|
|
516
511
|
}
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
|
|
512
|
+
}
|
|
513
|
+
listRegexPatternSets(args, optionsOrCb, cb) {
|
|
514
|
+
const command = new ListRegexPatternSetsCommand(args);
|
|
520
515
|
if (typeof optionsOrCb === "function") {
|
|
521
516
|
this.send(command, optionsOrCb);
|
|
522
517
|
}
|
|
523
518
|
else if (typeof cb === "function") {
|
|
524
519
|
if (typeof optionsOrCb !== "object")
|
|
525
|
-
throw new Error(
|
|
520
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
526
521
|
this.send(command, optionsOrCb || {}, cb);
|
|
527
522
|
}
|
|
528
523
|
else {
|
|
529
524
|
return this.send(command, optionsOrCb);
|
|
530
525
|
}
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
|
|
526
|
+
}
|
|
527
|
+
listResourcesForWebACL(args, optionsOrCb, cb) {
|
|
528
|
+
const command = new ListResourcesForWebACLCommand(args);
|
|
534
529
|
if (typeof optionsOrCb === "function") {
|
|
535
530
|
this.send(command, optionsOrCb);
|
|
536
531
|
}
|
|
537
532
|
else if (typeof cb === "function") {
|
|
538
533
|
if (typeof optionsOrCb !== "object")
|
|
539
|
-
throw new Error(
|
|
534
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
540
535
|
this.send(command, optionsOrCb || {}, cb);
|
|
541
536
|
}
|
|
542
537
|
else {
|
|
543
538
|
return this.send(command, optionsOrCb);
|
|
544
539
|
}
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
|
|
540
|
+
}
|
|
541
|
+
listRuleGroups(args, optionsOrCb, cb) {
|
|
542
|
+
const command = new ListRuleGroupsCommand(args);
|
|
548
543
|
if (typeof optionsOrCb === "function") {
|
|
549
544
|
this.send(command, optionsOrCb);
|
|
550
545
|
}
|
|
551
546
|
else if (typeof cb === "function") {
|
|
552
547
|
if (typeof optionsOrCb !== "object")
|
|
553
|
-
throw new Error(
|
|
548
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
554
549
|
this.send(command, optionsOrCb || {}, cb);
|
|
555
550
|
}
|
|
556
551
|
else {
|
|
557
552
|
return this.send(command, optionsOrCb);
|
|
558
553
|
}
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
|
|
554
|
+
}
|
|
555
|
+
listTagsForResource(args, optionsOrCb, cb) {
|
|
556
|
+
const command = new ListTagsForResourceCommand(args);
|
|
562
557
|
if (typeof optionsOrCb === "function") {
|
|
563
558
|
this.send(command, optionsOrCb);
|
|
564
559
|
}
|
|
565
560
|
else if (typeof cb === "function") {
|
|
566
561
|
if (typeof optionsOrCb !== "object")
|
|
567
|
-
throw new Error(
|
|
562
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
568
563
|
this.send(command, optionsOrCb || {}, cb);
|
|
569
564
|
}
|
|
570
565
|
else {
|
|
571
566
|
return this.send(command, optionsOrCb);
|
|
572
567
|
}
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
|
|
568
|
+
}
|
|
569
|
+
listWebACLs(args, optionsOrCb, cb) {
|
|
570
|
+
const command = new ListWebACLsCommand(args);
|
|
576
571
|
if (typeof optionsOrCb === "function") {
|
|
577
572
|
this.send(command, optionsOrCb);
|
|
578
573
|
}
|
|
579
574
|
else if (typeof cb === "function") {
|
|
580
575
|
if (typeof optionsOrCb !== "object")
|
|
581
|
-
throw new Error(
|
|
576
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
582
577
|
this.send(command, optionsOrCb || {}, cb);
|
|
583
578
|
}
|
|
584
579
|
else {
|
|
585
580
|
return this.send(command, optionsOrCb);
|
|
586
581
|
}
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
|
|
582
|
+
}
|
|
583
|
+
putLoggingConfiguration(args, optionsOrCb, cb) {
|
|
584
|
+
const command = new PutLoggingConfigurationCommand(args);
|
|
590
585
|
if (typeof optionsOrCb === "function") {
|
|
591
586
|
this.send(command, optionsOrCb);
|
|
592
587
|
}
|
|
593
588
|
else if (typeof cb === "function") {
|
|
594
589
|
if (typeof optionsOrCb !== "object")
|
|
595
|
-
throw new Error(
|
|
590
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
596
591
|
this.send(command, optionsOrCb || {}, cb);
|
|
597
592
|
}
|
|
598
593
|
else {
|
|
599
594
|
return this.send(command, optionsOrCb);
|
|
600
595
|
}
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
|
|
596
|
+
}
|
|
597
|
+
putManagedRuleSetVersions(args, optionsOrCb, cb) {
|
|
598
|
+
const command = new PutManagedRuleSetVersionsCommand(args);
|
|
604
599
|
if (typeof optionsOrCb === "function") {
|
|
605
600
|
this.send(command, optionsOrCb);
|
|
606
601
|
}
|
|
607
602
|
else if (typeof cb === "function") {
|
|
608
603
|
if (typeof optionsOrCb !== "object")
|
|
609
|
-
throw new Error(
|
|
604
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
610
605
|
this.send(command, optionsOrCb || {}, cb);
|
|
611
606
|
}
|
|
612
607
|
else {
|
|
613
608
|
return this.send(command, optionsOrCb);
|
|
614
609
|
}
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
|
|
610
|
+
}
|
|
611
|
+
putPermissionPolicy(args, optionsOrCb, cb) {
|
|
612
|
+
const command = new PutPermissionPolicyCommand(args);
|
|
618
613
|
if (typeof optionsOrCb === "function") {
|
|
619
614
|
this.send(command, optionsOrCb);
|
|
620
615
|
}
|
|
621
616
|
else if (typeof cb === "function") {
|
|
622
617
|
if (typeof optionsOrCb !== "object")
|
|
623
|
-
throw new Error(
|
|
618
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
624
619
|
this.send(command, optionsOrCb || {}, cb);
|
|
625
620
|
}
|
|
626
621
|
else {
|
|
627
622
|
return this.send(command, optionsOrCb);
|
|
628
623
|
}
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
|
|
624
|
+
}
|
|
625
|
+
tagResource(args, optionsOrCb, cb) {
|
|
626
|
+
const command = new TagResourceCommand(args);
|
|
632
627
|
if (typeof optionsOrCb === "function") {
|
|
633
628
|
this.send(command, optionsOrCb);
|
|
634
629
|
}
|
|
635
630
|
else if (typeof cb === "function") {
|
|
636
631
|
if (typeof optionsOrCb !== "object")
|
|
637
|
-
throw new Error(
|
|
632
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
638
633
|
this.send(command, optionsOrCb || {}, cb);
|
|
639
634
|
}
|
|
640
635
|
else {
|
|
641
636
|
return this.send(command, optionsOrCb);
|
|
642
637
|
}
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
|
|
638
|
+
}
|
|
639
|
+
untagResource(args, optionsOrCb, cb) {
|
|
640
|
+
const command = new UntagResourceCommand(args);
|
|
646
641
|
if (typeof optionsOrCb === "function") {
|
|
647
642
|
this.send(command, optionsOrCb);
|
|
648
643
|
}
|
|
649
644
|
else if (typeof cb === "function") {
|
|
650
645
|
if (typeof optionsOrCb !== "object")
|
|
651
|
-
throw new Error(
|
|
646
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
652
647
|
this.send(command, optionsOrCb || {}, cb);
|
|
653
648
|
}
|
|
654
649
|
else {
|
|
655
650
|
return this.send(command, optionsOrCb);
|
|
656
651
|
}
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
|
|
652
|
+
}
|
|
653
|
+
updateIPSet(args, optionsOrCb, cb) {
|
|
654
|
+
const command = new UpdateIPSetCommand(args);
|
|
660
655
|
if (typeof optionsOrCb === "function") {
|
|
661
656
|
this.send(command, optionsOrCb);
|
|
662
657
|
}
|
|
663
658
|
else if (typeof cb === "function") {
|
|
664
659
|
if (typeof optionsOrCb !== "object")
|
|
665
|
-
throw new Error(
|
|
660
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
666
661
|
this.send(command, optionsOrCb || {}, cb);
|
|
667
662
|
}
|
|
668
663
|
else {
|
|
669
664
|
return this.send(command, optionsOrCb);
|
|
670
665
|
}
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
|
|
666
|
+
}
|
|
667
|
+
updateManagedRuleSetVersionExpiryDate(args, optionsOrCb, cb) {
|
|
668
|
+
const command = new UpdateManagedRuleSetVersionExpiryDateCommand(args);
|
|
674
669
|
if (typeof optionsOrCb === "function") {
|
|
675
670
|
this.send(command, optionsOrCb);
|
|
676
671
|
}
|
|
677
672
|
else if (typeof cb === "function") {
|
|
678
673
|
if (typeof optionsOrCb !== "object")
|
|
679
|
-
throw new Error(
|
|
674
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
680
675
|
this.send(command, optionsOrCb || {}, cb);
|
|
681
676
|
}
|
|
682
677
|
else {
|
|
683
678
|
return this.send(command, optionsOrCb);
|
|
684
679
|
}
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
|
|
680
|
+
}
|
|
681
|
+
updateRegexPatternSet(args, optionsOrCb, cb) {
|
|
682
|
+
const command = new UpdateRegexPatternSetCommand(args);
|
|
688
683
|
if (typeof optionsOrCb === "function") {
|
|
689
684
|
this.send(command, optionsOrCb);
|
|
690
685
|
}
|
|
691
686
|
else if (typeof cb === "function") {
|
|
692
687
|
if (typeof optionsOrCb !== "object")
|
|
693
|
-
throw new Error(
|
|
688
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
694
689
|
this.send(command, optionsOrCb || {}, cb);
|
|
695
690
|
}
|
|
696
691
|
else {
|
|
697
692
|
return this.send(command, optionsOrCb);
|
|
698
693
|
}
|
|
699
|
-
}
|
|
700
|
-
|
|
701
|
-
|
|
694
|
+
}
|
|
695
|
+
updateRuleGroup(args, optionsOrCb, cb) {
|
|
696
|
+
const command = new UpdateRuleGroupCommand(args);
|
|
702
697
|
if (typeof optionsOrCb === "function") {
|
|
703
698
|
this.send(command, optionsOrCb);
|
|
704
699
|
}
|
|
705
700
|
else if (typeof cb === "function") {
|
|
706
701
|
if (typeof optionsOrCb !== "object")
|
|
707
|
-
throw new Error(
|
|
702
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
708
703
|
this.send(command, optionsOrCb || {}, cb);
|
|
709
704
|
}
|
|
710
705
|
else {
|
|
711
706
|
return this.send(command, optionsOrCb);
|
|
712
707
|
}
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
|
|
708
|
+
}
|
|
709
|
+
updateWebACL(args, optionsOrCb, cb) {
|
|
710
|
+
const command = new UpdateWebACLCommand(args);
|
|
716
711
|
if (typeof optionsOrCb === "function") {
|
|
717
712
|
this.send(command, optionsOrCb);
|
|
718
713
|
}
|
|
719
714
|
else if (typeof cb === "function") {
|
|
720
715
|
if (typeof optionsOrCb !== "object")
|
|
721
|
-
throw new Error(
|
|
716
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
722
717
|
this.send(command, optionsOrCb || {}, cb);
|
|
723
718
|
}
|
|
724
719
|
else {
|
|
725
720
|
return this.send(command, optionsOrCb);
|
|
726
721
|
}
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
}(WAFV2Client));
|
|
730
|
-
export { WAFV2 };
|
|
722
|
+
}
|
|
723
|
+
}
|