@aws-sdk/client-waf 3.312.0 → 3.315.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/protocols/Aws_json1_1.js +389 -2260
- package/dist-es/protocols/Aws_json1_1.js +390 -2261
- package/package.json +6 -6
|
@@ -11,280 +11,280 @@ const WAFServiceException_1 = require("../models/WAFServiceException");
|
|
|
11
11
|
const se_CreateByteMatchSetCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("CreateByteMatchSet");
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
17
|
exports.se_CreateByteMatchSetCommand = se_CreateByteMatchSetCommand;
|
|
18
18
|
const se_CreateGeoMatchSetCommand = async (input, context) => {
|
|
19
19
|
const headers = sharedHeaders("CreateGeoMatchSet");
|
|
20
20
|
let body;
|
|
21
|
-
body = JSON.stringify(
|
|
21
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
22
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
23
|
};
|
|
24
24
|
exports.se_CreateGeoMatchSetCommand = se_CreateGeoMatchSetCommand;
|
|
25
25
|
const se_CreateIPSetCommand = async (input, context) => {
|
|
26
26
|
const headers = sharedHeaders("CreateIPSet");
|
|
27
27
|
let body;
|
|
28
|
-
body = JSON.stringify(
|
|
28
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
29
29
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
30
30
|
};
|
|
31
31
|
exports.se_CreateIPSetCommand = se_CreateIPSetCommand;
|
|
32
32
|
const se_CreateRateBasedRuleCommand = async (input, context) => {
|
|
33
33
|
const headers = sharedHeaders("CreateRateBasedRule");
|
|
34
34
|
let body;
|
|
35
|
-
body = JSON.stringify(
|
|
35
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
36
36
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
37
37
|
};
|
|
38
38
|
exports.se_CreateRateBasedRuleCommand = se_CreateRateBasedRuleCommand;
|
|
39
39
|
const se_CreateRegexMatchSetCommand = async (input, context) => {
|
|
40
40
|
const headers = sharedHeaders("CreateRegexMatchSet");
|
|
41
41
|
let body;
|
|
42
|
-
body = JSON.stringify(
|
|
42
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
43
43
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
44
44
|
};
|
|
45
45
|
exports.se_CreateRegexMatchSetCommand = se_CreateRegexMatchSetCommand;
|
|
46
46
|
const se_CreateRegexPatternSetCommand = async (input, context) => {
|
|
47
47
|
const headers = sharedHeaders("CreateRegexPatternSet");
|
|
48
48
|
let body;
|
|
49
|
-
body = JSON.stringify(
|
|
49
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
50
50
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
51
51
|
};
|
|
52
52
|
exports.se_CreateRegexPatternSetCommand = se_CreateRegexPatternSetCommand;
|
|
53
53
|
const se_CreateRuleCommand = async (input, context) => {
|
|
54
54
|
const headers = sharedHeaders("CreateRule");
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
59
|
exports.se_CreateRuleCommand = se_CreateRuleCommand;
|
|
60
60
|
const se_CreateRuleGroupCommand = async (input, context) => {
|
|
61
61
|
const headers = sharedHeaders("CreateRuleGroup");
|
|
62
62
|
let body;
|
|
63
|
-
body = JSON.stringify(
|
|
63
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
64
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
65
|
};
|
|
66
66
|
exports.se_CreateRuleGroupCommand = se_CreateRuleGroupCommand;
|
|
67
67
|
const se_CreateSizeConstraintSetCommand = async (input, context) => {
|
|
68
68
|
const headers = sharedHeaders("CreateSizeConstraintSet");
|
|
69
69
|
let body;
|
|
70
|
-
body = JSON.stringify(
|
|
70
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
71
71
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
72
72
|
};
|
|
73
73
|
exports.se_CreateSizeConstraintSetCommand = se_CreateSizeConstraintSetCommand;
|
|
74
74
|
const se_CreateSqlInjectionMatchSetCommand = async (input, context) => {
|
|
75
75
|
const headers = sharedHeaders("CreateSqlInjectionMatchSet");
|
|
76
76
|
let body;
|
|
77
|
-
body = JSON.stringify(
|
|
77
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
78
78
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
79
79
|
};
|
|
80
80
|
exports.se_CreateSqlInjectionMatchSetCommand = se_CreateSqlInjectionMatchSetCommand;
|
|
81
81
|
const se_CreateWebACLCommand = async (input, context) => {
|
|
82
82
|
const headers = sharedHeaders("CreateWebACL");
|
|
83
83
|
let body;
|
|
84
|
-
body = JSON.stringify(
|
|
84
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
85
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
86
|
};
|
|
87
87
|
exports.se_CreateWebACLCommand = se_CreateWebACLCommand;
|
|
88
88
|
const se_CreateWebACLMigrationStackCommand = async (input, context) => {
|
|
89
89
|
const headers = sharedHeaders("CreateWebACLMigrationStack");
|
|
90
90
|
let body;
|
|
91
|
-
body = JSON.stringify(
|
|
91
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
92
92
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
93
93
|
};
|
|
94
94
|
exports.se_CreateWebACLMigrationStackCommand = se_CreateWebACLMigrationStackCommand;
|
|
95
95
|
const se_CreateXssMatchSetCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("CreateXssMatchSet");
|
|
97
97
|
let body;
|
|
98
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
99
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
100
|
};
|
|
101
101
|
exports.se_CreateXssMatchSetCommand = se_CreateXssMatchSetCommand;
|
|
102
102
|
const se_DeleteByteMatchSetCommand = async (input, context) => {
|
|
103
103
|
const headers = sharedHeaders("DeleteByteMatchSet");
|
|
104
104
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
108
108
|
exports.se_DeleteByteMatchSetCommand = se_DeleteByteMatchSetCommand;
|
|
109
109
|
const se_DeleteGeoMatchSetCommand = async (input, context) => {
|
|
110
110
|
const headers = sharedHeaders("DeleteGeoMatchSet");
|
|
111
111
|
let body;
|
|
112
|
-
body = JSON.stringify(
|
|
112
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
113
113
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
114
114
|
};
|
|
115
115
|
exports.se_DeleteGeoMatchSetCommand = se_DeleteGeoMatchSetCommand;
|
|
116
116
|
const se_DeleteIPSetCommand = async (input, context) => {
|
|
117
117
|
const headers = sharedHeaders("DeleteIPSet");
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
122
|
exports.se_DeleteIPSetCommand = se_DeleteIPSetCommand;
|
|
123
123
|
const se_DeleteLoggingConfigurationCommand = async (input, context) => {
|
|
124
124
|
const headers = sharedHeaders("DeleteLoggingConfiguration");
|
|
125
125
|
let body;
|
|
126
|
-
body = JSON.stringify(
|
|
126
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
127
127
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
128
128
|
};
|
|
129
129
|
exports.se_DeleteLoggingConfigurationCommand = se_DeleteLoggingConfigurationCommand;
|
|
130
130
|
const se_DeletePermissionPolicyCommand = async (input, context) => {
|
|
131
131
|
const headers = sharedHeaders("DeletePermissionPolicy");
|
|
132
132
|
let body;
|
|
133
|
-
body = JSON.stringify(
|
|
133
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
134
134
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
135
135
|
};
|
|
136
136
|
exports.se_DeletePermissionPolicyCommand = se_DeletePermissionPolicyCommand;
|
|
137
137
|
const se_DeleteRateBasedRuleCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("DeleteRateBasedRule");
|
|
139
139
|
let body;
|
|
140
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
141
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
142
142
|
};
|
|
143
143
|
exports.se_DeleteRateBasedRuleCommand = se_DeleteRateBasedRuleCommand;
|
|
144
144
|
const se_DeleteRegexMatchSetCommand = async (input, context) => {
|
|
145
145
|
const headers = sharedHeaders("DeleteRegexMatchSet");
|
|
146
146
|
let body;
|
|
147
|
-
body = JSON.stringify(
|
|
147
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
148
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
149
|
};
|
|
150
150
|
exports.se_DeleteRegexMatchSetCommand = se_DeleteRegexMatchSetCommand;
|
|
151
151
|
const se_DeleteRegexPatternSetCommand = async (input, context) => {
|
|
152
152
|
const headers = sharedHeaders("DeleteRegexPatternSet");
|
|
153
153
|
let body;
|
|
154
|
-
body = JSON.stringify(
|
|
154
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
155
155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
156
156
|
};
|
|
157
157
|
exports.se_DeleteRegexPatternSetCommand = se_DeleteRegexPatternSetCommand;
|
|
158
158
|
const se_DeleteRuleCommand = async (input, context) => {
|
|
159
159
|
const headers = sharedHeaders("DeleteRule");
|
|
160
160
|
let body;
|
|
161
|
-
body = JSON.stringify(
|
|
161
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
162
162
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
163
163
|
};
|
|
164
164
|
exports.se_DeleteRuleCommand = se_DeleteRuleCommand;
|
|
165
165
|
const se_DeleteRuleGroupCommand = async (input, context) => {
|
|
166
166
|
const headers = sharedHeaders("DeleteRuleGroup");
|
|
167
167
|
let body;
|
|
168
|
-
body = JSON.stringify(
|
|
168
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
169
169
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
170
170
|
};
|
|
171
171
|
exports.se_DeleteRuleGroupCommand = se_DeleteRuleGroupCommand;
|
|
172
172
|
const se_DeleteSizeConstraintSetCommand = async (input, context) => {
|
|
173
173
|
const headers = sharedHeaders("DeleteSizeConstraintSet");
|
|
174
174
|
let body;
|
|
175
|
-
body = JSON.stringify(
|
|
175
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
176
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
177
177
|
};
|
|
178
178
|
exports.se_DeleteSizeConstraintSetCommand = se_DeleteSizeConstraintSetCommand;
|
|
179
179
|
const se_DeleteSqlInjectionMatchSetCommand = async (input, context) => {
|
|
180
180
|
const headers = sharedHeaders("DeleteSqlInjectionMatchSet");
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
185
|
exports.se_DeleteSqlInjectionMatchSetCommand = se_DeleteSqlInjectionMatchSetCommand;
|
|
186
186
|
const se_DeleteWebACLCommand = async (input, context) => {
|
|
187
187
|
const headers = sharedHeaders("DeleteWebACL");
|
|
188
188
|
let body;
|
|
189
|
-
body = JSON.stringify(
|
|
189
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
190
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
191
|
};
|
|
192
192
|
exports.se_DeleteWebACLCommand = se_DeleteWebACLCommand;
|
|
193
193
|
const se_DeleteXssMatchSetCommand = async (input, context) => {
|
|
194
194
|
const headers = sharedHeaders("DeleteXssMatchSet");
|
|
195
195
|
let body;
|
|
196
|
-
body = JSON.stringify(
|
|
196
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
197
197
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
198
198
|
};
|
|
199
199
|
exports.se_DeleteXssMatchSetCommand = se_DeleteXssMatchSetCommand;
|
|
200
200
|
const se_GetByteMatchSetCommand = async (input, context) => {
|
|
201
201
|
const headers = sharedHeaders("GetByteMatchSet");
|
|
202
202
|
let body;
|
|
203
|
-
body = JSON.stringify(
|
|
203
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
204
204
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
205
205
|
};
|
|
206
206
|
exports.se_GetByteMatchSetCommand = se_GetByteMatchSetCommand;
|
|
207
207
|
const se_GetChangeTokenCommand = async (input, context) => {
|
|
208
208
|
const headers = sharedHeaders("GetChangeToken");
|
|
209
209
|
let body;
|
|
210
|
-
body = JSON.stringify(
|
|
210
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
211
211
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
212
212
|
};
|
|
213
213
|
exports.se_GetChangeTokenCommand = se_GetChangeTokenCommand;
|
|
214
214
|
const se_GetChangeTokenStatusCommand = async (input, context) => {
|
|
215
215
|
const headers = sharedHeaders("GetChangeTokenStatus");
|
|
216
216
|
let body;
|
|
217
|
-
body = JSON.stringify(
|
|
217
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
218
218
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
219
219
|
};
|
|
220
220
|
exports.se_GetChangeTokenStatusCommand = se_GetChangeTokenStatusCommand;
|
|
221
221
|
const se_GetGeoMatchSetCommand = async (input, context) => {
|
|
222
222
|
const headers = sharedHeaders("GetGeoMatchSet");
|
|
223
223
|
let body;
|
|
224
|
-
body = JSON.stringify(
|
|
224
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
225
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
226
226
|
};
|
|
227
227
|
exports.se_GetGeoMatchSetCommand = se_GetGeoMatchSetCommand;
|
|
228
228
|
const se_GetIPSetCommand = async (input, context) => {
|
|
229
229
|
const headers = sharedHeaders("GetIPSet");
|
|
230
230
|
let body;
|
|
231
|
-
body = JSON.stringify(
|
|
231
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
232
232
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
233
|
};
|
|
234
234
|
exports.se_GetIPSetCommand = se_GetIPSetCommand;
|
|
235
235
|
const se_GetLoggingConfigurationCommand = async (input, context) => {
|
|
236
236
|
const headers = sharedHeaders("GetLoggingConfiguration");
|
|
237
237
|
let body;
|
|
238
|
-
body = JSON.stringify(
|
|
238
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
239
239
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
240
|
};
|
|
241
241
|
exports.se_GetLoggingConfigurationCommand = se_GetLoggingConfigurationCommand;
|
|
242
242
|
const se_GetPermissionPolicyCommand = async (input, context) => {
|
|
243
243
|
const headers = sharedHeaders("GetPermissionPolicy");
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
248
|
exports.se_GetPermissionPolicyCommand = se_GetPermissionPolicyCommand;
|
|
249
249
|
const se_GetRateBasedRuleCommand = async (input, context) => {
|
|
250
250
|
const headers = sharedHeaders("GetRateBasedRule");
|
|
251
251
|
let body;
|
|
252
|
-
body = JSON.stringify(
|
|
252
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
253
253
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
254
254
|
};
|
|
255
255
|
exports.se_GetRateBasedRuleCommand = se_GetRateBasedRuleCommand;
|
|
256
256
|
const se_GetRateBasedRuleManagedKeysCommand = async (input, context) => {
|
|
257
257
|
const headers = sharedHeaders("GetRateBasedRuleManagedKeys");
|
|
258
258
|
let body;
|
|
259
|
-
body = JSON.stringify(
|
|
259
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
260
260
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
261
261
|
};
|
|
262
262
|
exports.se_GetRateBasedRuleManagedKeysCommand = se_GetRateBasedRuleManagedKeysCommand;
|
|
263
263
|
const se_GetRegexMatchSetCommand = async (input, context) => {
|
|
264
264
|
const headers = sharedHeaders("GetRegexMatchSet");
|
|
265
265
|
let body;
|
|
266
|
-
body = JSON.stringify(
|
|
266
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
267
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
268
268
|
};
|
|
269
269
|
exports.se_GetRegexMatchSetCommand = se_GetRegexMatchSetCommand;
|
|
270
270
|
const se_GetRegexPatternSetCommand = async (input, context) => {
|
|
271
271
|
const headers = sharedHeaders("GetRegexPatternSet");
|
|
272
272
|
let body;
|
|
273
|
-
body = JSON.stringify(
|
|
273
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
274
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
275
|
};
|
|
276
276
|
exports.se_GetRegexPatternSetCommand = se_GetRegexPatternSetCommand;
|
|
277
277
|
const se_GetRuleCommand = async (input, context) => {
|
|
278
278
|
const headers = sharedHeaders("GetRule");
|
|
279
279
|
let body;
|
|
280
|
-
body = JSON.stringify(
|
|
280
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
281
281
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
282
282
|
};
|
|
283
283
|
exports.se_GetRuleCommand = se_GetRuleCommand;
|
|
284
284
|
const se_GetRuleGroupCommand = async (input, context) => {
|
|
285
285
|
const headers = sharedHeaders("GetRuleGroup");
|
|
286
286
|
let body;
|
|
287
|
-
body = JSON.stringify(
|
|
287
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
288
288
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
289
289
|
};
|
|
290
290
|
exports.se_GetRuleGroupCommand = se_GetRuleGroupCommand;
|
|
@@ -298,168 +298,168 @@ exports.se_GetSampledRequestsCommand = se_GetSampledRequestsCommand;
|
|
|
298
298
|
const se_GetSizeConstraintSetCommand = async (input, context) => {
|
|
299
299
|
const headers = sharedHeaders("GetSizeConstraintSet");
|
|
300
300
|
let body;
|
|
301
|
-
body = JSON.stringify(
|
|
301
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
302
302
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
303
303
|
};
|
|
304
304
|
exports.se_GetSizeConstraintSetCommand = se_GetSizeConstraintSetCommand;
|
|
305
305
|
const se_GetSqlInjectionMatchSetCommand = async (input, context) => {
|
|
306
306
|
const headers = sharedHeaders("GetSqlInjectionMatchSet");
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
311
|
exports.se_GetSqlInjectionMatchSetCommand = se_GetSqlInjectionMatchSetCommand;
|
|
312
312
|
const se_GetWebACLCommand = async (input, context) => {
|
|
313
313
|
const headers = sharedHeaders("GetWebACL");
|
|
314
314
|
let body;
|
|
315
|
-
body = JSON.stringify(
|
|
315
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
316
316
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
317
|
};
|
|
318
318
|
exports.se_GetWebACLCommand = se_GetWebACLCommand;
|
|
319
319
|
const se_GetXssMatchSetCommand = async (input, context) => {
|
|
320
320
|
const headers = sharedHeaders("GetXssMatchSet");
|
|
321
321
|
let body;
|
|
322
|
-
body = JSON.stringify(
|
|
322
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
323
323
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
324
324
|
};
|
|
325
325
|
exports.se_GetXssMatchSetCommand = se_GetXssMatchSetCommand;
|
|
326
326
|
const se_ListActivatedRulesInRuleGroupCommand = async (input, context) => {
|
|
327
327
|
const headers = sharedHeaders("ListActivatedRulesInRuleGroup");
|
|
328
328
|
let body;
|
|
329
|
-
body = JSON.stringify(
|
|
329
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
330
330
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
331
331
|
};
|
|
332
332
|
exports.se_ListActivatedRulesInRuleGroupCommand = se_ListActivatedRulesInRuleGroupCommand;
|
|
333
333
|
const se_ListByteMatchSetsCommand = async (input, context) => {
|
|
334
334
|
const headers = sharedHeaders("ListByteMatchSets");
|
|
335
335
|
let body;
|
|
336
|
-
body = JSON.stringify(
|
|
336
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
337
337
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
338
|
};
|
|
339
339
|
exports.se_ListByteMatchSetsCommand = se_ListByteMatchSetsCommand;
|
|
340
340
|
const se_ListGeoMatchSetsCommand = async (input, context) => {
|
|
341
341
|
const headers = sharedHeaders("ListGeoMatchSets");
|
|
342
342
|
let body;
|
|
343
|
-
body = JSON.stringify(
|
|
343
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
344
344
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
345
345
|
};
|
|
346
346
|
exports.se_ListGeoMatchSetsCommand = se_ListGeoMatchSetsCommand;
|
|
347
347
|
const se_ListIPSetsCommand = async (input, context) => {
|
|
348
348
|
const headers = sharedHeaders("ListIPSets");
|
|
349
349
|
let body;
|
|
350
|
-
body = JSON.stringify(
|
|
350
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
351
351
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
352
352
|
};
|
|
353
353
|
exports.se_ListIPSetsCommand = se_ListIPSetsCommand;
|
|
354
354
|
const se_ListLoggingConfigurationsCommand = async (input, context) => {
|
|
355
355
|
const headers = sharedHeaders("ListLoggingConfigurations");
|
|
356
356
|
let body;
|
|
357
|
-
body = JSON.stringify(
|
|
357
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
358
358
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
359
|
};
|
|
360
360
|
exports.se_ListLoggingConfigurationsCommand = se_ListLoggingConfigurationsCommand;
|
|
361
361
|
const se_ListRateBasedRulesCommand = async (input, context) => {
|
|
362
362
|
const headers = sharedHeaders("ListRateBasedRules");
|
|
363
363
|
let body;
|
|
364
|
-
body = JSON.stringify(
|
|
364
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
365
365
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
366
366
|
};
|
|
367
367
|
exports.se_ListRateBasedRulesCommand = se_ListRateBasedRulesCommand;
|
|
368
368
|
const se_ListRegexMatchSetsCommand = async (input, context) => {
|
|
369
369
|
const headers = sharedHeaders("ListRegexMatchSets");
|
|
370
370
|
let body;
|
|
371
|
-
body = JSON.stringify(
|
|
371
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
372
372
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
373
373
|
};
|
|
374
374
|
exports.se_ListRegexMatchSetsCommand = se_ListRegexMatchSetsCommand;
|
|
375
375
|
const se_ListRegexPatternSetsCommand = async (input, context) => {
|
|
376
376
|
const headers = sharedHeaders("ListRegexPatternSets");
|
|
377
377
|
let body;
|
|
378
|
-
body = JSON.stringify(
|
|
378
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
379
379
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
380
380
|
};
|
|
381
381
|
exports.se_ListRegexPatternSetsCommand = se_ListRegexPatternSetsCommand;
|
|
382
382
|
const se_ListRuleGroupsCommand = async (input, context) => {
|
|
383
383
|
const headers = sharedHeaders("ListRuleGroups");
|
|
384
384
|
let body;
|
|
385
|
-
body = JSON.stringify(
|
|
385
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
386
386
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
387
387
|
};
|
|
388
388
|
exports.se_ListRuleGroupsCommand = se_ListRuleGroupsCommand;
|
|
389
389
|
const se_ListRulesCommand = async (input, context) => {
|
|
390
390
|
const headers = sharedHeaders("ListRules");
|
|
391
391
|
let body;
|
|
392
|
-
body = JSON.stringify(
|
|
392
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
393
393
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
394
394
|
};
|
|
395
395
|
exports.se_ListRulesCommand = se_ListRulesCommand;
|
|
396
396
|
const se_ListSizeConstraintSetsCommand = async (input, context) => {
|
|
397
397
|
const headers = sharedHeaders("ListSizeConstraintSets");
|
|
398
398
|
let body;
|
|
399
|
-
body = JSON.stringify(
|
|
399
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
400
400
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
401
|
};
|
|
402
402
|
exports.se_ListSizeConstraintSetsCommand = se_ListSizeConstraintSetsCommand;
|
|
403
403
|
const se_ListSqlInjectionMatchSetsCommand = async (input, context) => {
|
|
404
404
|
const headers = sharedHeaders("ListSqlInjectionMatchSets");
|
|
405
405
|
let body;
|
|
406
|
-
body = JSON.stringify(
|
|
406
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
407
407
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
408
408
|
};
|
|
409
409
|
exports.se_ListSqlInjectionMatchSetsCommand = se_ListSqlInjectionMatchSetsCommand;
|
|
410
410
|
const se_ListSubscribedRuleGroupsCommand = async (input, context) => {
|
|
411
411
|
const headers = sharedHeaders("ListSubscribedRuleGroups");
|
|
412
412
|
let body;
|
|
413
|
-
body = JSON.stringify(
|
|
413
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
414
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
415
415
|
};
|
|
416
416
|
exports.se_ListSubscribedRuleGroupsCommand = se_ListSubscribedRuleGroupsCommand;
|
|
417
417
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
418
418
|
const headers = sharedHeaders("ListTagsForResource");
|
|
419
419
|
let body;
|
|
420
|
-
body = JSON.stringify(
|
|
420
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
421
421
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
422
422
|
};
|
|
423
423
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
424
424
|
const se_ListWebACLsCommand = async (input, context) => {
|
|
425
425
|
const headers = sharedHeaders("ListWebACLs");
|
|
426
426
|
let body;
|
|
427
|
-
body = JSON.stringify(
|
|
427
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
428
428
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
429
429
|
};
|
|
430
430
|
exports.se_ListWebACLsCommand = se_ListWebACLsCommand;
|
|
431
431
|
const se_ListXssMatchSetsCommand = async (input, context) => {
|
|
432
432
|
const headers = sharedHeaders("ListXssMatchSets");
|
|
433
433
|
let body;
|
|
434
|
-
body = JSON.stringify(
|
|
434
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
435
435
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
436
436
|
};
|
|
437
437
|
exports.se_ListXssMatchSetsCommand = se_ListXssMatchSetsCommand;
|
|
438
438
|
const se_PutLoggingConfigurationCommand = async (input, context) => {
|
|
439
439
|
const headers = sharedHeaders("PutLoggingConfiguration");
|
|
440
440
|
let body;
|
|
441
|
-
body = JSON.stringify(
|
|
441
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
442
442
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
443
443
|
};
|
|
444
444
|
exports.se_PutLoggingConfigurationCommand = se_PutLoggingConfigurationCommand;
|
|
445
445
|
const se_PutPermissionPolicyCommand = async (input, context) => {
|
|
446
446
|
const headers = sharedHeaders("PutPermissionPolicy");
|
|
447
447
|
let body;
|
|
448
|
-
body = JSON.stringify(
|
|
448
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
449
449
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
450
450
|
};
|
|
451
451
|
exports.se_PutPermissionPolicyCommand = se_PutPermissionPolicyCommand;
|
|
452
452
|
const se_TagResourceCommand = async (input, context) => {
|
|
453
453
|
const headers = sharedHeaders("TagResource");
|
|
454
454
|
let body;
|
|
455
|
-
body = JSON.stringify(
|
|
455
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
456
456
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
457
457
|
};
|
|
458
458
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
459
459
|
const se_UntagResourceCommand = async (input, context) => {
|
|
460
460
|
const headers = sharedHeaders("UntagResource");
|
|
461
461
|
let body;
|
|
462
|
-
body = JSON.stringify(
|
|
462
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
463
463
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
464
464
|
};
|
|
465
465
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
@@ -473,77 +473,77 @@ exports.se_UpdateByteMatchSetCommand = se_UpdateByteMatchSetCommand;
|
|
|
473
473
|
const se_UpdateGeoMatchSetCommand = async (input, context) => {
|
|
474
474
|
const headers = sharedHeaders("UpdateGeoMatchSet");
|
|
475
475
|
let body;
|
|
476
|
-
body = JSON.stringify(
|
|
476
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
477
477
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
478
478
|
};
|
|
479
479
|
exports.se_UpdateGeoMatchSetCommand = se_UpdateGeoMatchSetCommand;
|
|
480
480
|
const se_UpdateIPSetCommand = async (input, context) => {
|
|
481
481
|
const headers = sharedHeaders("UpdateIPSet");
|
|
482
482
|
let body;
|
|
483
|
-
body = JSON.stringify(
|
|
483
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
484
484
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
485
485
|
};
|
|
486
486
|
exports.se_UpdateIPSetCommand = se_UpdateIPSetCommand;
|
|
487
487
|
const se_UpdateRateBasedRuleCommand = async (input, context) => {
|
|
488
488
|
const headers = sharedHeaders("UpdateRateBasedRule");
|
|
489
489
|
let body;
|
|
490
|
-
body = JSON.stringify(
|
|
490
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
491
491
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
492
492
|
};
|
|
493
493
|
exports.se_UpdateRateBasedRuleCommand = se_UpdateRateBasedRuleCommand;
|
|
494
494
|
const se_UpdateRegexMatchSetCommand = async (input, context) => {
|
|
495
495
|
const headers = sharedHeaders("UpdateRegexMatchSet");
|
|
496
496
|
let body;
|
|
497
|
-
body = JSON.stringify(
|
|
497
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
498
498
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
499
499
|
};
|
|
500
500
|
exports.se_UpdateRegexMatchSetCommand = se_UpdateRegexMatchSetCommand;
|
|
501
501
|
const se_UpdateRegexPatternSetCommand = async (input, context) => {
|
|
502
502
|
const headers = sharedHeaders("UpdateRegexPatternSet");
|
|
503
503
|
let body;
|
|
504
|
-
body = JSON.stringify(
|
|
504
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
505
505
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
506
506
|
};
|
|
507
507
|
exports.se_UpdateRegexPatternSetCommand = se_UpdateRegexPatternSetCommand;
|
|
508
508
|
const se_UpdateRuleCommand = async (input, context) => {
|
|
509
509
|
const headers = sharedHeaders("UpdateRule");
|
|
510
510
|
let body;
|
|
511
|
-
body = JSON.stringify(
|
|
511
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
512
512
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
513
513
|
};
|
|
514
514
|
exports.se_UpdateRuleCommand = se_UpdateRuleCommand;
|
|
515
515
|
const se_UpdateRuleGroupCommand = async (input, context) => {
|
|
516
516
|
const headers = sharedHeaders("UpdateRuleGroup");
|
|
517
517
|
let body;
|
|
518
|
-
body = JSON.stringify(
|
|
518
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
519
519
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
520
520
|
};
|
|
521
521
|
exports.se_UpdateRuleGroupCommand = se_UpdateRuleGroupCommand;
|
|
522
522
|
const se_UpdateSizeConstraintSetCommand = async (input, context) => {
|
|
523
523
|
const headers = sharedHeaders("UpdateSizeConstraintSet");
|
|
524
524
|
let body;
|
|
525
|
-
body = JSON.stringify(
|
|
525
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
526
526
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
527
527
|
};
|
|
528
528
|
exports.se_UpdateSizeConstraintSetCommand = se_UpdateSizeConstraintSetCommand;
|
|
529
529
|
const se_UpdateSqlInjectionMatchSetCommand = async (input, context) => {
|
|
530
530
|
const headers = sharedHeaders("UpdateSqlInjectionMatchSet");
|
|
531
531
|
let body;
|
|
532
|
-
body = JSON.stringify(
|
|
532
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
533
533
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
534
534
|
};
|
|
535
535
|
exports.se_UpdateSqlInjectionMatchSetCommand = se_UpdateSqlInjectionMatchSetCommand;
|
|
536
536
|
const se_UpdateWebACLCommand = async (input, context) => {
|
|
537
537
|
const headers = sharedHeaders("UpdateWebACL");
|
|
538
538
|
let body;
|
|
539
|
-
body = JSON.stringify(
|
|
539
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
540
540
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
541
541
|
};
|
|
542
542
|
exports.se_UpdateWebACLCommand = se_UpdateWebACLCommand;
|
|
543
543
|
const se_UpdateXssMatchSetCommand = async (input, context) => {
|
|
544
544
|
const headers = sharedHeaders("UpdateXssMatchSet");
|
|
545
545
|
let body;
|
|
546
|
-
body = JSON.stringify(
|
|
546
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
547
547
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
548
548
|
};
|
|
549
549
|
exports.se_UpdateXssMatchSetCommand = se_UpdateXssMatchSetCommand;
|
|
@@ -558,7 +558,7 @@ const de_CreateByteMatchSetCommand = async (output, context) => {
|
|
|
558
558
|
$metadata: deserializeMetadata(output),
|
|
559
559
|
...contents,
|
|
560
560
|
};
|
|
561
|
-
return
|
|
561
|
+
return response;
|
|
562
562
|
};
|
|
563
563
|
exports.de_CreateByteMatchSetCommand = de_CreateByteMatchSetCommand;
|
|
564
564
|
const de_CreateByteMatchSetCommandError = async (output, context) => {
|
|
@@ -588,10 +588,9 @@ const de_CreateByteMatchSetCommandError = async (output, context) => {
|
|
|
588
588
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
589
589
|
default:
|
|
590
590
|
const parsedBody = parsedOutput.body;
|
|
591
|
-
|
|
591
|
+
return throwDefaultError({
|
|
592
592
|
output,
|
|
593
593
|
parsedBody,
|
|
594
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
595
594
|
errorCode,
|
|
596
595
|
});
|
|
597
596
|
}
|
|
@@ -602,12 +601,12 @@ const de_CreateGeoMatchSetCommand = async (output, context) => {
|
|
|
602
601
|
}
|
|
603
602
|
const data = await parseBody(output.body, context);
|
|
604
603
|
let contents = {};
|
|
605
|
-
contents =
|
|
604
|
+
contents = (0, smithy_client_1._json)(data);
|
|
606
605
|
const response = {
|
|
607
606
|
$metadata: deserializeMetadata(output),
|
|
608
607
|
...contents,
|
|
609
608
|
};
|
|
610
|
-
return
|
|
609
|
+
return response;
|
|
611
610
|
};
|
|
612
611
|
exports.de_CreateGeoMatchSetCommand = de_CreateGeoMatchSetCommand;
|
|
613
612
|
const de_CreateGeoMatchSetCommandError = async (output, context) => {
|
|
@@ -637,10 +636,9 @@ const de_CreateGeoMatchSetCommandError = async (output, context) => {
|
|
|
637
636
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
638
637
|
default:
|
|
639
638
|
const parsedBody = parsedOutput.body;
|
|
640
|
-
|
|
639
|
+
return throwDefaultError({
|
|
641
640
|
output,
|
|
642
641
|
parsedBody,
|
|
643
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
644
642
|
errorCode,
|
|
645
643
|
});
|
|
646
644
|
}
|
|
@@ -651,12 +649,12 @@ const de_CreateIPSetCommand = async (output, context) => {
|
|
|
651
649
|
}
|
|
652
650
|
const data = await parseBody(output.body, context);
|
|
653
651
|
let contents = {};
|
|
654
|
-
contents =
|
|
652
|
+
contents = (0, smithy_client_1._json)(data);
|
|
655
653
|
const response = {
|
|
656
654
|
$metadata: deserializeMetadata(output),
|
|
657
655
|
...contents,
|
|
658
656
|
};
|
|
659
|
-
return
|
|
657
|
+
return response;
|
|
660
658
|
};
|
|
661
659
|
exports.de_CreateIPSetCommand = de_CreateIPSetCommand;
|
|
662
660
|
const de_CreateIPSetCommandError = async (output, context) => {
|
|
@@ -686,10 +684,9 @@ const de_CreateIPSetCommandError = async (output, context) => {
|
|
|
686
684
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
687
685
|
default:
|
|
688
686
|
const parsedBody = parsedOutput.body;
|
|
689
|
-
|
|
687
|
+
return throwDefaultError({
|
|
690
688
|
output,
|
|
691
689
|
parsedBody,
|
|
692
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
693
690
|
errorCode,
|
|
694
691
|
});
|
|
695
692
|
}
|
|
@@ -700,12 +697,12 @@ const de_CreateRateBasedRuleCommand = async (output, context) => {
|
|
|
700
697
|
}
|
|
701
698
|
const data = await parseBody(output.body, context);
|
|
702
699
|
let contents = {};
|
|
703
|
-
contents =
|
|
700
|
+
contents = (0, smithy_client_1._json)(data);
|
|
704
701
|
const response = {
|
|
705
702
|
$metadata: deserializeMetadata(output),
|
|
706
703
|
...contents,
|
|
707
704
|
};
|
|
708
|
-
return
|
|
705
|
+
return response;
|
|
709
706
|
};
|
|
710
707
|
exports.de_CreateRateBasedRuleCommand = de_CreateRateBasedRuleCommand;
|
|
711
708
|
const de_CreateRateBasedRuleCommandError = async (output, context) => {
|
|
@@ -741,10 +738,9 @@ const de_CreateRateBasedRuleCommandError = async (output, context) => {
|
|
|
741
738
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
742
739
|
default:
|
|
743
740
|
const parsedBody = parsedOutput.body;
|
|
744
|
-
|
|
741
|
+
return throwDefaultError({
|
|
745
742
|
output,
|
|
746
743
|
parsedBody,
|
|
747
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
748
744
|
errorCode,
|
|
749
745
|
});
|
|
750
746
|
}
|
|
@@ -755,12 +751,12 @@ const de_CreateRegexMatchSetCommand = async (output, context) => {
|
|
|
755
751
|
}
|
|
756
752
|
const data = await parseBody(output.body, context);
|
|
757
753
|
let contents = {};
|
|
758
|
-
contents =
|
|
754
|
+
contents = (0, smithy_client_1._json)(data);
|
|
759
755
|
const response = {
|
|
760
756
|
$metadata: deserializeMetadata(output),
|
|
761
757
|
...contents,
|
|
762
758
|
};
|
|
763
|
-
return
|
|
759
|
+
return response;
|
|
764
760
|
};
|
|
765
761
|
exports.de_CreateRegexMatchSetCommand = de_CreateRegexMatchSetCommand;
|
|
766
762
|
const de_CreateRegexMatchSetCommandError = async (output, context) => {
|
|
@@ -784,10 +780,9 @@ const de_CreateRegexMatchSetCommandError = async (output, context) => {
|
|
|
784
780
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
785
781
|
default:
|
|
786
782
|
const parsedBody = parsedOutput.body;
|
|
787
|
-
|
|
783
|
+
return throwDefaultError({
|
|
788
784
|
output,
|
|
789
785
|
parsedBody,
|
|
790
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
791
786
|
errorCode,
|
|
792
787
|
});
|
|
793
788
|
}
|
|
@@ -798,12 +793,12 @@ const de_CreateRegexPatternSetCommand = async (output, context) => {
|
|
|
798
793
|
}
|
|
799
794
|
const data = await parseBody(output.body, context);
|
|
800
795
|
let contents = {};
|
|
801
|
-
contents =
|
|
796
|
+
contents = (0, smithy_client_1._json)(data);
|
|
802
797
|
const response = {
|
|
803
798
|
$metadata: deserializeMetadata(output),
|
|
804
799
|
...contents,
|
|
805
800
|
};
|
|
806
|
-
return
|
|
801
|
+
return response;
|
|
807
802
|
};
|
|
808
803
|
exports.de_CreateRegexPatternSetCommand = de_CreateRegexPatternSetCommand;
|
|
809
804
|
const de_CreateRegexPatternSetCommandError = async (output, context) => {
|
|
@@ -827,10 +822,9 @@ const de_CreateRegexPatternSetCommandError = async (output, context) => {
|
|
|
827
822
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
828
823
|
default:
|
|
829
824
|
const parsedBody = parsedOutput.body;
|
|
830
|
-
|
|
825
|
+
return throwDefaultError({
|
|
831
826
|
output,
|
|
832
827
|
parsedBody,
|
|
833
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
834
828
|
errorCode,
|
|
835
829
|
});
|
|
836
830
|
}
|
|
@@ -841,12 +835,12 @@ const de_CreateRuleCommand = async (output, context) => {
|
|
|
841
835
|
}
|
|
842
836
|
const data = await parseBody(output.body, context);
|
|
843
837
|
let contents = {};
|
|
844
|
-
contents =
|
|
838
|
+
contents = (0, smithy_client_1._json)(data);
|
|
845
839
|
const response = {
|
|
846
840
|
$metadata: deserializeMetadata(output),
|
|
847
841
|
...contents,
|
|
848
842
|
};
|
|
849
|
-
return
|
|
843
|
+
return response;
|
|
850
844
|
};
|
|
851
845
|
exports.de_CreateRuleCommand = de_CreateRuleCommand;
|
|
852
846
|
const de_CreateRuleCommandError = async (output, context) => {
|
|
@@ -882,10 +876,9 @@ const de_CreateRuleCommandError = async (output, context) => {
|
|
|
882
876
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
883
877
|
default:
|
|
884
878
|
const parsedBody = parsedOutput.body;
|
|
885
|
-
|
|
879
|
+
return throwDefaultError({
|
|
886
880
|
output,
|
|
887
881
|
parsedBody,
|
|
888
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
889
882
|
errorCode,
|
|
890
883
|
});
|
|
891
884
|
}
|
|
@@ -896,12 +889,12 @@ const de_CreateRuleGroupCommand = async (output, context) => {
|
|
|
896
889
|
}
|
|
897
890
|
const data = await parseBody(output.body, context);
|
|
898
891
|
let contents = {};
|
|
899
|
-
contents =
|
|
892
|
+
contents = (0, smithy_client_1._json)(data);
|
|
900
893
|
const response = {
|
|
901
894
|
$metadata: deserializeMetadata(output),
|
|
902
895
|
...contents,
|
|
903
896
|
};
|
|
904
|
-
return
|
|
897
|
+
return response;
|
|
905
898
|
};
|
|
906
899
|
exports.de_CreateRuleGroupCommand = de_CreateRuleGroupCommand;
|
|
907
900
|
const de_CreateRuleGroupCommandError = async (output, context) => {
|
|
@@ -934,10 +927,9 @@ const de_CreateRuleGroupCommandError = async (output, context) => {
|
|
|
934
927
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
935
928
|
default:
|
|
936
929
|
const parsedBody = parsedOutput.body;
|
|
937
|
-
|
|
930
|
+
return throwDefaultError({
|
|
938
931
|
output,
|
|
939
932
|
parsedBody,
|
|
940
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
941
933
|
errorCode,
|
|
942
934
|
});
|
|
943
935
|
}
|
|
@@ -948,12 +940,12 @@ const de_CreateSizeConstraintSetCommand = async (output, context) => {
|
|
|
948
940
|
}
|
|
949
941
|
const data = await parseBody(output.body, context);
|
|
950
942
|
let contents = {};
|
|
951
|
-
contents =
|
|
943
|
+
contents = (0, smithy_client_1._json)(data);
|
|
952
944
|
const response = {
|
|
953
945
|
$metadata: deserializeMetadata(output),
|
|
954
946
|
...contents,
|
|
955
947
|
};
|
|
956
|
-
return
|
|
948
|
+
return response;
|
|
957
949
|
};
|
|
958
950
|
exports.de_CreateSizeConstraintSetCommand = de_CreateSizeConstraintSetCommand;
|
|
959
951
|
const de_CreateSizeConstraintSetCommandError = async (output, context) => {
|
|
@@ -983,10 +975,9 @@ const de_CreateSizeConstraintSetCommandError = async (output, context) => {
|
|
|
983
975
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
984
976
|
default:
|
|
985
977
|
const parsedBody = parsedOutput.body;
|
|
986
|
-
|
|
978
|
+
return throwDefaultError({
|
|
987
979
|
output,
|
|
988
980
|
parsedBody,
|
|
989
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
990
981
|
errorCode,
|
|
991
982
|
});
|
|
992
983
|
}
|
|
@@ -997,12 +988,12 @@ const de_CreateSqlInjectionMatchSetCommand = async (output, context) => {
|
|
|
997
988
|
}
|
|
998
989
|
const data = await parseBody(output.body, context);
|
|
999
990
|
let contents = {};
|
|
1000
|
-
contents =
|
|
991
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1001
992
|
const response = {
|
|
1002
993
|
$metadata: deserializeMetadata(output),
|
|
1003
994
|
...contents,
|
|
1004
995
|
};
|
|
1005
|
-
return
|
|
996
|
+
return response;
|
|
1006
997
|
};
|
|
1007
998
|
exports.de_CreateSqlInjectionMatchSetCommand = de_CreateSqlInjectionMatchSetCommand;
|
|
1008
999
|
const de_CreateSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
@@ -1032,10 +1023,9 @@ const de_CreateSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
|
1032
1023
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1033
1024
|
default:
|
|
1034
1025
|
const parsedBody = parsedOutput.body;
|
|
1035
|
-
|
|
1026
|
+
return throwDefaultError({
|
|
1036
1027
|
output,
|
|
1037
1028
|
parsedBody,
|
|
1038
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1039
1029
|
errorCode,
|
|
1040
1030
|
});
|
|
1041
1031
|
}
|
|
@@ -1046,12 +1036,12 @@ const de_CreateWebACLCommand = async (output, context) => {
|
|
|
1046
1036
|
}
|
|
1047
1037
|
const data = await parseBody(output.body, context);
|
|
1048
1038
|
let contents = {};
|
|
1049
|
-
contents =
|
|
1039
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1050
1040
|
const response = {
|
|
1051
1041
|
$metadata: deserializeMetadata(output),
|
|
1052
1042
|
...contents,
|
|
1053
1043
|
};
|
|
1054
|
-
return
|
|
1044
|
+
return response;
|
|
1055
1045
|
};
|
|
1056
1046
|
exports.de_CreateWebACLCommand = de_CreateWebACLCommand;
|
|
1057
1047
|
const de_CreateWebACLCommandError = async (output, context) => {
|
|
@@ -1090,10 +1080,9 @@ const de_CreateWebACLCommandError = async (output, context) => {
|
|
|
1090
1080
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
1091
1081
|
default:
|
|
1092
1082
|
const parsedBody = parsedOutput.body;
|
|
1093
|
-
|
|
1083
|
+
return throwDefaultError({
|
|
1094
1084
|
output,
|
|
1095
1085
|
parsedBody,
|
|
1096
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1097
1086
|
errorCode,
|
|
1098
1087
|
});
|
|
1099
1088
|
}
|
|
@@ -1104,12 +1093,12 @@ const de_CreateWebACLMigrationStackCommand = async (output, context) => {
|
|
|
1104
1093
|
}
|
|
1105
1094
|
const data = await parseBody(output.body, context);
|
|
1106
1095
|
let contents = {};
|
|
1107
|
-
contents =
|
|
1096
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1108
1097
|
const response = {
|
|
1109
1098
|
$metadata: deserializeMetadata(output),
|
|
1110
1099
|
...contents,
|
|
1111
1100
|
};
|
|
1112
|
-
return
|
|
1101
|
+
return response;
|
|
1113
1102
|
};
|
|
1114
1103
|
exports.de_CreateWebACLMigrationStackCommand = de_CreateWebACLMigrationStackCommand;
|
|
1115
1104
|
const de_CreateWebACLMigrationStackCommandError = async (output, context) => {
|
|
@@ -1136,10 +1125,9 @@ const de_CreateWebACLMigrationStackCommandError = async (output, context) => {
|
|
|
1136
1125
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
1137
1126
|
default:
|
|
1138
1127
|
const parsedBody = parsedOutput.body;
|
|
1139
|
-
|
|
1128
|
+
return throwDefaultError({
|
|
1140
1129
|
output,
|
|
1141
1130
|
parsedBody,
|
|
1142
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1143
1131
|
errorCode,
|
|
1144
1132
|
});
|
|
1145
1133
|
}
|
|
@@ -1150,12 +1138,12 @@ const de_CreateXssMatchSetCommand = async (output, context) => {
|
|
|
1150
1138
|
}
|
|
1151
1139
|
const data = await parseBody(output.body, context);
|
|
1152
1140
|
let contents = {};
|
|
1153
|
-
contents =
|
|
1141
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1154
1142
|
const response = {
|
|
1155
1143
|
$metadata: deserializeMetadata(output),
|
|
1156
1144
|
...contents,
|
|
1157
1145
|
};
|
|
1158
|
-
return
|
|
1146
|
+
return response;
|
|
1159
1147
|
};
|
|
1160
1148
|
exports.de_CreateXssMatchSetCommand = de_CreateXssMatchSetCommand;
|
|
1161
1149
|
const de_CreateXssMatchSetCommandError = async (output, context) => {
|
|
@@ -1185,10 +1173,9 @@ const de_CreateXssMatchSetCommandError = async (output, context) => {
|
|
|
1185
1173
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1186
1174
|
default:
|
|
1187
1175
|
const parsedBody = parsedOutput.body;
|
|
1188
|
-
|
|
1176
|
+
return throwDefaultError({
|
|
1189
1177
|
output,
|
|
1190
1178
|
parsedBody,
|
|
1191
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1192
1179
|
errorCode,
|
|
1193
1180
|
});
|
|
1194
1181
|
}
|
|
@@ -1199,12 +1186,12 @@ const de_DeleteByteMatchSetCommand = async (output, context) => {
|
|
|
1199
1186
|
}
|
|
1200
1187
|
const data = await parseBody(output.body, context);
|
|
1201
1188
|
let contents = {};
|
|
1202
|
-
contents =
|
|
1189
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1203
1190
|
const response = {
|
|
1204
1191
|
$metadata: deserializeMetadata(output),
|
|
1205
1192
|
...contents,
|
|
1206
1193
|
};
|
|
1207
|
-
return
|
|
1194
|
+
return response;
|
|
1208
1195
|
};
|
|
1209
1196
|
exports.de_DeleteByteMatchSetCommand = de_DeleteByteMatchSetCommand;
|
|
1210
1197
|
const de_DeleteByteMatchSetCommandError = async (output, context) => {
|
|
@@ -1234,10 +1221,9 @@ const de_DeleteByteMatchSetCommandError = async (output, context) => {
|
|
|
1234
1221
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1235
1222
|
default:
|
|
1236
1223
|
const parsedBody = parsedOutput.body;
|
|
1237
|
-
|
|
1224
|
+
return throwDefaultError({
|
|
1238
1225
|
output,
|
|
1239
1226
|
parsedBody,
|
|
1240
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1241
1227
|
errorCode,
|
|
1242
1228
|
});
|
|
1243
1229
|
}
|
|
@@ -1248,12 +1234,12 @@ const de_DeleteGeoMatchSetCommand = async (output, context) => {
|
|
|
1248
1234
|
}
|
|
1249
1235
|
const data = await parseBody(output.body, context);
|
|
1250
1236
|
let contents = {};
|
|
1251
|
-
contents =
|
|
1237
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1252
1238
|
const response = {
|
|
1253
1239
|
$metadata: deserializeMetadata(output),
|
|
1254
1240
|
...contents,
|
|
1255
1241
|
};
|
|
1256
|
-
return
|
|
1242
|
+
return response;
|
|
1257
1243
|
};
|
|
1258
1244
|
exports.de_DeleteGeoMatchSetCommand = de_DeleteGeoMatchSetCommand;
|
|
1259
1245
|
const de_DeleteGeoMatchSetCommandError = async (output, context) => {
|
|
@@ -1283,10 +1269,9 @@ const de_DeleteGeoMatchSetCommandError = async (output, context) => {
|
|
|
1283
1269
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1284
1270
|
default:
|
|
1285
1271
|
const parsedBody = parsedOutput.body;
|
|
1286
|
-
|
|
1272
|
+
return throwDefaultError({
|
|
1287
1273
|
output,
|
|
1288
1274
|
parsedBody,
|
|
1289
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1290
1275
|
errorCode,
|
|
1291
1276
|
});
|
|
1292
1277
|
}
|
|
@@ -1297,12 +1282,12 @@ const de_DeleteIPSetCommand = async (output, context) => {
|
|
|
1297
1282
|
}
|
|
1298
1283
|
const data = await parseBody(output.body, context);
|
|
1299
1284
|
let contents = {};
|
|
1300
|
-
contents =
|
|
1285
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1301
1286
|
const response = {
|
|
1302
1287
|
$metadata: deserializeMetadata(output),
|
|
1303
1288
|
...contents,
|
|
1304
1289
|
};
|
|
1305
|
-
return
|
|
1290
|
+
return response;
|
|
1306
1291
|
};
|
|
1307
1292
|
exports.de_DeleteIPSetCommand = de_DeleteIPSetCommand;
|
|
1308
1293
|
const de_DeleteIPSetCommandError = async (output, context) => {
|
|
@@ -1332,10 +1317,9 @@ const de_DeleteIPSetCommandError = async (output, context) => {
|
|
|
1332
1317
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1333
1318
|
default:
|
|
1334
1319
|
const parsedBody = parsedOutput.body;
|
|
1335
|
-
|
|
1320
|
+
return throwDefaultError({
|
|
1336
1321
|
output,
|
|
1337
1322
|
parsedBody,
|
|
1338
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1339
1323
|
errorCode,
|
|
1340
1324
|
});
|
|
1341
1325
|
}
|
|
@@ -1346,12 +1330,12 @@ const de_DeleteLoggingConfigurationCommand = async (output, context) => {
|
|
|
1346
1330
|
}
|
|
1347
1331
|
const data = await parseBody(output.body, context);
|
|
1348
1332
|
let contents = {};
|
|
1349
|
-
contents =
|
|
1333
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1350
1334
|
const response = {
|
|
1351
1335
|
$metadata: deserializeMetadata(output),
|
|
1352
1336
|
...contents,
|
|
1353
1337
|
};
|
|
1354
|
-
return
|
|
1338
|
+
return response;
|
|
1355
1339
|
};
|
|
1356
1340
|
exports.de_DeleteLoggingConfigurationCommand = de_DeleteLoggingConfigurationCommand;
|
|
1357
1341
|
const de_DeleteLoggingConfigurationCommandError = async (output, context) => {
|
|
@@ -1372,10 +1356,9 @@ const de_DeleteLoggingConfigurationCommandError = async (output, context) => {
|
|
|
1372
1356
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1373
1357
|
default:
|
|
1374
1358
|
const parsedBody = parsedOutput.body;
|
|
1375
|
-
|
|
1359
|
+
return throwDefaultError({
|
|
1376
1360
|
output,
|
|
1377
1361
|
parsedBody,
|
|
1378
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1379
1362
|
errorCode,
|
|
1380
1363
|
});
|
|
1381
1364
|
}
|
|
@@ -1386,12 +1369,12 @@ const de_DeletePermissionPolicyCommand = async (output, context) => {
|
|
|
1386
1369
|
}
|
|
1387
1370
|
const data = await parseBody(output.body, context);
|
|
1388
1371
|
let contents = {};
|
|
1389
|
-
contents =
|
|
1372
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1390
1373
|
const response = {
|
|
1391
1374
|
$metadata: deserializeMetadata(output),
|
|
1392
1375
|
...contents,
|
|
1393
1376
|
};
|
|
1394
|
-
return
|
|
1377
|
+
return response;
|
|
1395
1378
|
};
|
|
1396
1379
|
exports.de_DeletePermissionPolicyCommand = de_DeletePermissionPolicyCommand;
|
|
1397
1380
|
const de_DeletePermissionPolicyCommandError = async (output, context) => {
|
|
@@ -1412,10 +1395,9 @@ const de_DeletePermissionPolicyCommandError = async (output, context) => {
|
|
|
1412
1395
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1413
1396
|
default:
|
|
1414
1397
|
const parsedBody = parsedOutput.body;
|
|
1415
|
-
|
|
1398
|
+
return throwDefaultError({
|
|
1416
1399
|
output,
|
|
1417
1400
|
parsedBody,
|
|
1418
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1419
1401
|
errorCode,
|
|
1420
1402
|
});
|
|
1421
1403
|
}
|
|
@@ -1426,12 +1408,12 @@ const de_DeleteRateBasedRuleCommand = async (output, context) => {
|
|
|
1426
1408
|
}
|
|
1427
1409
|
const data = await parseBody(output.body, context);
|
|
1428
1410
|
let contents = {};
|
|
1429
|
-
contents =
|
|
1411
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1430
1412
|
const response = {
|
|
1431
1413
|
$metadata: deserializeMetadata(output),
|
|
1432
1414
|
...contents,
|
|
1433
1415
|
};
|
|
1434
|
-
return
|
|
1416
|
+
return response;
|
|
1435
1417
|
};
|
|
1436
1418
|
exports.de_DeleteRateBasedRuleCommand = de_DeleteRateBasedRuleCommand;
|
|
1437
1419
|
const de_DeleteRateBasedRuleCommandError = async (output, context) => {
|
|
@@ -1467,10 +1449,9 @@ const de_DeleteRateBasedRuleCommandError = async (output, context) => {
|
|
|
1467
1449
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
1468
1450
|
default:
|
|
1469
1451
|
const parsedBody = parsedOutput.body;
|
|
1470
|
-
|
|
1452
|
+
return throwDefaultError({
|
|
1471
1453
|
output,
|
|
1472
1454
|
parsedBody,
|
|
1473
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1474
1455
|
errorCode,
|
|
1475
1456
|
});
|
|
1476
1457
|
}
|
|
@@ -1481,12 +1462,12 @@ const de_DeleteRegexMatchSetCommand = async (output, context) => {
|
|
|
1481
1462
|
}
|
|
1482
1463
|
const data = await parseBody(output.body, context);
|
|
1483
1464
|
let contents = {};
|
|
1484
|
-
contents =
|
|
1465
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1485
1466
|
const response = {
|
|
1486
1467
|
$metadata: deserializeMetadata(output),
|
|
1487
1468
|
...contents,
|
|
1488
1469
|
};
|
|
1489
|
-
return
|
|
1470
|
+
return response;
|
|
1490
1471
|
};
|
|
1491
1472
|
exports.de_DeleteRegexMatchSetCommand = de_DeleteRegexMatchSetCommand;
|
|
1492
1473
|
const de_DeleteRegexMatchSetCommandError = async (output, context) => {
|
|
@@ -1516,10 +1497,9 @@ const de_DeleteRegexMatchSetCommandError = async (output, context) => {
|
|
|
1516
1497
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1517
1498
|
default:
|
|
1518
1499
|
const parsedBody = parsedOutput.body;
|
|
1519
|
-
|
|
1500
|
+
return throwDefaultError({
|
|
1520
1501
|
output,
|
|
1521
1502
|
parsedBody,
|
|
1522
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1523
1503
|
errorCode,
|
|
1524
1504
|
});
|
|
1525
1505
|
}
|
|
@@ -1530,12 +1510,12 @@ const de_DeleteRegexPatternSetCommand = async (output, context) => {
|
|
|
1530
1510
|
}
|
|
1531
1511
|
const data = await parseBody(output.body, context);
|
|
1532
1512
|
let contents = {};
|
|
1533
|
-
contents =
|
|
1513
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1534
1514
|
const response = {
|
|
1535
1515
|
$metadata: deserializeMetadata(output),
|
|
1536
1516
|
...contents,
|
|
1537
1517
|
};
|
|
1538
|
-
return
|
|
1518
|
+
return response;
|
|
1539
1519
|
};
|
|
1540
1520
|
exports.de_DeleteRegexPatternSetCommand = de_DeleteRegexPatternSetCommand;
|
|
1541
1521
|
const de_DeleteRegexPatternSetCommandError = async (output, context) => {
|
|
@@ -1565,10 +1545,9 @@ const de_DeleteRegexPatternSetCommandError = async (output, context) => {
|
|
|
1565
1545
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1566
1546
|
default:
|
|
1567
1547
|
const parsedBody = parsedOutput.body;
|
|
1568
|
-
|
|
1548
|
+
return throwDefaultError({
|
|
1569
1549
|
output,
|
|
1570
1550
|
parsedBody,
|
|
1571
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1572
1551
|
errorCode,
|
|
1573
1552
|
});
|
|
1574
1553
|
}
|
|
@@ -1579,12 +1558,12 @@ const de_DeleteRuleCommand = async (output, context) => {
|
|
|
1579
1558
|
}
|
|
1580
1559
|
const data = await parseBody(output.body, context);
|
|
1581
1560
|
let contents = {};
|
|
1582
|
-
contents =
|
|
1561
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1583
1562
|
const response = {
|
|
1584
1563
|
$metadata: deserializeMetadata(output),
|
|
1585
1564
|
...contents,
|
|
1586
1565
|
};
|
|
1587
|
-
return
|
|
1566
|
+
return response;
|
|
1588
1567
|
};
|
|
1589
1568
|
exports.de_DeleteRuleCommand = de_DeleteRuleCommand;
|
|
1590
1569
|
const de_DeleteRuleCommandError = async (output, context) => {
|
|
@@ -1620,10 +1599,9 @@ const de_DeleteRuleCommandError = async (output, context) => {
|
|
|
1620
1599
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
1621
1600
|
default:
|
|
1622
1601
|
const parsedBody = parsedOutput.body;
|
|
1623
|
-
|
|
1602
|
+
return throwDefaultError({
|
|
1624
1603
|
output,
|
|
1625
1604
|
parsedBody,
|
|
1626
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1627
1605
|
errorCode,
|
|
1628
1606
|
});
|
|
1629
1607
|
}
|
|
@@ -1634,12 +1612,12 @@ const de_DeleteRuleGroupCommand = async (output, context) => {
|
|
|
1634
1612
|
}
|
|
1635
1613
|
const data = await parseBody(output.body, context);
|
|
1636
1614
|
let contents = {};
|
|
1637
|
-
contents =
|
|
1615
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1638
1616
|
const response = {
|
|
1639
1617
|
$metadata: deserializeMetadata(output),
|
|
1640
1618
|
...contents,
|
|
1641
1619
|
};
|
|
1642
|
-
return
|
|
1620
|
+
return response;
|
|
1643
1621
|
};
|
|
1644
1622
|
exports.de_DeleteRuleGroupCommand = de_DeleteRuleGroupCommand;
|
|
1645
1623
|
const de_DeleteRuleGroupCommandError = async (output, context) => {
|
|
@@ -1675,10 +1653,9 @@ const de_DeleteRuleGroupCommandError = async (output, context) => {
|
|
|
1675
1653
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
1676
1654
|
default:
|
|
1677
1655
|
const parsedBody = parsedOutput.body;
|
|
1678
|
-
|
|
1656
|
+
return throwDefaultError({
|
|
1679
1657
|
output,
|
|
1680
1658
|
parsedBody,
|
|
1681
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1682
1659
|
errorCode,
|
|
1683
1660
|
});
|
|
1684
1661
|
}
|
|
@@ -1689,12 +1666,12 @@ const de_DeleteSizeConstraintSetCommand = async (output, context) => {
|
|
|
1689
1666
|
}
|
|
1690
1667
|
const data = await parseBody(output.body, context);
|
|
1691
1668
|
let contents = {};
|
|
1692
|
-
contents =
|
|
1669
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1693
1670
|
const response = {
|
|
1694
1671
|
$metadata: deserializeMetadata(output),
|
|
1695
1672
|
...contents,
|
|
1696
1673
|
};
|
|
1697
|
-
return
|
|
1674
|
+
return response;
|
|
1698
1675
|
};
|
|
1699
1676
|
exports.de_DeleteSizeConstraintSetCommand = de_DeleteSizeConstraintSetCommand;
|
|
1700
1677
|
const de_DeleteSizeConstraintSetCommandError = async (output, context) => {
|
|
@@ -1724,10 +1701,9 @@ const de_DeleteSizeConstraintSetCommandError = async (output, context) => {
|
|
|
1724
1701
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1725
1702
|
default:
|
|
1726
1703
|
const parsedBody = parsedOutput.body;
|
|
1727
|
-
|
|
1704
|
+
return throwDefaultError({
|
|
1728
1705
|
output,
|
|
1729
1706
|
parsedBody,
|
|
1730
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1731
1707
|
errorCode,
|
|
1732
1708
|
});
|
|
1733
1709
|
}
|
|
@@ -1738,12 +1714,12 @@ const de_DeleteSqlInjectionMatchSetCommand = async (output, context) => {
|
|
|
1738
1714
|
}
|
|
1739
1715
|
const data = await parseBody(output.body, context);
|
|
1740
1716
|
let contents = {};
|
|
1741
|
-
contents =
|
|
1717
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1742
1718
|
const response = {
|
|
1743
1719
|
$metadata: deserializeMetadata(output),
|
|
1744
1720
|
...contents,
|
|
1745
1721
|
};
|
|
1746
|
-
return
|
|
1722
|
+
return response;
|
|
1747
1723
|
};
|
|
1748
1724
|
exports.de_DeleteSqlInjectionMatchSetCommand = de_DeleteSqlInjectionMatchSetCommand;
|
|
1749
1725
|
const de_DeleteSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
@@ -1773,10 +1749,9 @@ const de_DeleteSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
|
1773
1749
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1774
1750
|
default:
|
|
1775
1751
|
const parsedBody = parsedOutput.body;
|
|
1776
|
-
|
|
1752
|
+
return throwDefaultError({
|
|
1777
1753
|
output,
|
|
1778
1754
|
parsedBody,
|
|
1779
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1780
1755
|
errorCode,
|
|
1781
1756
|
});
|
|
1782
1757
|
}
|
|
@@ -1787,12 +1762,12 @@ const de_DeleteWebACLCommand = async (output, context) => {
|
|
|
1787
1762
|
}
|
|
1788
1763
|
const data = await parseBody(output.body, context);
|
|
1789
1764
|
let contents = {};
|
|
1790
|
-
contents =
|
|
1765
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1791
1766
|
const response = {
|
|
1792
1767
|
$metadata: deserializeMetadata(output),
|
|
1793
1768
|
...contents,
|
|
1794
1769
|
};
|
|
1795
|
-
return
|
|
1770
|
+
return response;
|
|
1796
1771
|
};
|
|
1797
1772
|
exports.de_DeleteWebACLCommand = de_DeleteWebACLCommand;
|
|
1798
1773
|
const de_DeleteWebACLCommandError = async (output, context) => {
|
|
@@ -1828,10 +1803,9 @@ const de_DeleteWebACLCommandError = async (output, context) => {
|
|
|
1828
1803
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
1829
1804
|
default:
|
|
1830
1805
|
const parsedBody = parsedOutput.body;
|
|
1831
|
-
|
|
1806
|
+
return throwDefaultError({
|
|
1832
1807
|
output,
|
|
1833
1808
|
parsedBody,
|
|
1834
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1835
1809
|
errorCode,
|
|
1836
1810
|
});
|
|
1837
1811
|
}
|
|
@@ -1842,12 +1816,12 @@ const de_DeleteXssMatchSetCommand = async (output, context) => {
|
|
|
1842
1816
|
}
|
|
1843
1817
|
const data = await parseBody(output.body, context);
|
|
1844
1818
|
let contents = {};
|
|
1845
|
-
contents =
|
|
1819
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1846
1820
|
const response = {
|
|
1847
1821
|
$metadata: deserializeMetadata(output),
|
|
1848
1822
|
...contents,
|
|
1849
1823
|
};
|
|
1850
|
-
return
|
|
1824
|
+
return response;
|
|
1851
1825
|
};
|
|
1852
1826
|
exports.de_DeleteXssMatchSetCommand = de_DeleteXssMatchSetCommand;
|
|
1853
1827
|
const de_DeleteXssMatchSetCommandError = async (output, context) => {
|
|
@@ -1877,10 +1851,9 @@ const de_DeleteXssMatchSetCommandError = async (output, context) => {
|
|
|
1877
1851
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
1878
1852
|
default:
|
|
1879
1853
|
const parsedBody = parsedOutput.body;
|
|
1880
|
-
|
|
1854
|
+
return throwDefaultError({
|
|
1881
1855
|
output,
|
|
1882
1856
|
parsedBody,
|
|
1883
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1884
1857
|
errorCode,
|
|
1885
1858
|
});
|
|
1886
1859
|
}
|
|
@@ -1896,7 +1869,7 @@ const de_GetByteMatchSetCommand = async (output, context) => {
|
|
|
1896
1869
|
$metadata: deserializeMetadata(output),
|
|
1897
1870
|
...contents,
|
|
1898
1871
|
};
|
|
1899
|
-
return
|
|
1872
|
+
return response;
|
|
1900
1873
|
};
|
|
1901
1874
|
exports.de_GetByteMatchSetCommand = de_GetByteMatchSetCommand;
|
|
1902
1875
|
const de_GetByteMatchSetCommandError = async (output, context) => {
|
|
@@ -1917,10 +1890,9 @@ const de_GetByteMatchSetCommandError = async (output, context) => {
|
|
|
1917
1890
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
1918
1891
|
default:
|
|
1919
1892
|
const parsedBody = parsedOutput.body;
|
|
1920
|
-
|
|
1893
|
+
return throwDefaultError({
|
|
1921
1894
|
output,
|
|
1922
1895
|
parsedBody,
|
|
1923
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1924
1896
|
errorCode,
|
|
1925
1897
|
});
|
|
1926
1898
|
}
|
|
@@ -1931,12 +1903,12 @@ const de_GetChangeTokenCommand = async (output, context) => {
|
|
|
1931
1903
|
}
|
|
1932
1904
|
const data = await parseBody(output.body, context);
|
|
1933
1905
|
let contents = {};
|
|
1934
|
-
contents =
|
|
1906
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1935
1907
|
const response = {
|
|
1936
1908
|
$metadata: deserializeMetadata(output),
|
|
1937
1909
|
...contents,
|
|
1938
1910
|
};
|
|
1939
|
-
return
|
|
1911
|
+
return response;
|
|
1940
1912
|
};
|
|
1941
1913
|
exports.de_GetChangeTokenCommand = de_GetChangeTokenCommand;
|
|
1942
1914
|
const de_GetChangeTokenCommandError = async (output, context) => {
|
|
@@ -1951,10 +1923,9 @@ const de_GetChangeTokenCommandError = async (output, context) => {
|
|
|
1951
1923
|
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1952
1924
|
default:
|
|
1953
1925
|
const parsedBody = parsedOutput.body;
|
|
1954
|
-
|
|
1926
|
+
return throwDefaultError({
|
|
1955
1927
|
output,
|
|
1956
1928
|
parsedBody,
|
|
1957
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1958
1929
|
errorCode,
|
|
1959
1930
|
});
|
|
1960
1931
|
}
|
|
@@ -1965,12 +1936,12 @@ const de_GetChangeTokenStatusCommand = async (output, context) => {
|
|
|
1965
1936
|
}
|
|
1966
1937
|
const data = await parseBody(output.body, context);
|
|
1967
1938
|
let contents = {};
|
|
1968
|
-
contents =
|
|
1939
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1969
1940
|
const response = {
|
|
1970
1941
|
$metadata: deserializeMetadata(output),
|
|
1971
1942
|
...contents,
|
|
1972
1943
|
};
|
|
1973
|
-
return
|
|
1944
|
+
return response;
|
|
1974
1945
|
};
|
|
1975
1946
|
exports.de_GetChangeTokenStatusCommand = de_GetChangeTokenStatusCommand;
|
|
1976
1947
|
const de_GetChangeTokenStatusCommandError = async (output, context) => {
|
|
@@ -1988,10 +1959,9 @@ const de_GetChangeTokenStatusCommandError = async (output, context) => {
|
|
|
1988
1959
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
1989
1960
|
default:
|
|
1990
1961
|
const parsedBody = parsedOutput.body;
|
|
1991
|
-
|
|
1962
|
+
return throwDefaultError({
|
|
1992
1963
|
output,
|
|
1993
1964
|
parsedBody,
|
|
1994
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
1995
1965
|
errorCode,
|
|
1996
1966
|
});
|
|
1997
1967
|
}
|
|
@@ -2002,12 +1972,12 @@ const de_GetGeoMatchSetCommand = async (output, context) => {
|
|
|
2002
1972
|
}
|
|
2003
1973
|
const data = await parseBody(output.body, context);
|
|
2004
1974
|
let contents = {};
|
|
2005
|
-
contents =
|
|
1975
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2006
1976
|
const response = {
|
|
2007
1977
|
$metadata: deserializeMetadata(output),
|
|
2008
1978
|
...contents,
|
|
2009
1979
|
};
|
|
2010
|
-
return
|
|
1980
|
+
return response;
|
|
2011
1981
|
};
|
|
2012
1982
|
exports.de_GetGeoMatchSetCommand = de_GetGeoMatchSetCommand;
|
|
2013
1983
|
const de_GetGeoMatchSetCommandError = async (output, context) => {
|
|
@@ -2028,10 +1998,9 @@ const de_GetGeoMatchSetCommandError = async (output, context) => {
|
|
|
2028
1998
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2029
1999
|
default:
|
|
2030
2000
|
const parsedBody = parsedOutput.body;
|
|
2031
|
-
|
|
2001
|
+
return throwDefaultError({
|
|
2032
2002
|
output,
|
|
2033
2003
|
parsedBody,
|
|
2034
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2035
2004
|
errorCode,
|
|
2036
2005
|
});
|
|
2037
2006
|
}
|
|
@@ -2042,12 +2011,12 @@ const de_GetIPSetCommand = async (output, context) => {
|
|
|
2042
2011
|
}
|
|
2043
2012
|
const data = await parseBody(output.body, context);
|
|
2044
2013
|
let contents = {};
|
|
2045
|
-
contents =
|
|
2014
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2046
2015
|
const response = {
|
|
2047
2016
|
$metadata: deserializeMetadata(output),
|
|
2048
2017
|
...contents,
|
|
2049
2018
|
};
|
|
2050
|
-
return
|
|
2019
|
+
return response;
|
|
2051
2020
|
};
|
|
2052
2021
|
exports.de_GetIPSetCommand = de_GetIPSetCommand;
|
|
2053
2022
|
const de_GetIPSetCommandError = async (output, context) => {
|
|
@@ -2068,10 +2037,9 @@ const de_GetIPSetCommandError = async (output, context) => {
|
|
|
2068
2037
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2069
2038
|
default:
|
|
2070
2039
|
const parsedBody = parsedOutput.body;
|
|
2071
|
-
|
|
2040
|
+
return throwDefaultError({
|
|
2072
2041
|
output,
|
|
2073
2042
|
parsedBody,
|
|
2074
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2075
2043
|
errorCode,
|
|
2076
2044
|
});
|
|
2077
2045
|
}
|
|
@@ -2082,12 +2050,12 @@ const de_GetLoggingConfigurationCommand = async (output, context) => {
|
|
|
2082
2050
|
}
|
|
2083
2051
|
const data = await parseBody(output.body, context);
|
|
2084
2052
|
let contents = {};
|
|
2085
|
-
contents =
|
|
2053
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2086
2054
|
const response = {
|
|
2087
2055
|
$metadata: deserializeMetadata(output),
|
|
2088
2056
|
...contents,
|
|
2089
2057
|
};
|
|
2090
|
-
return
|
|
2058
|
+
return response;
|
|
2091
2059
|
};
|
|
2092
2060
|
exports.de_GetLoggingConfigurationCommand = de_GetLoggingConfigurationCommand;
|
|
2093
2061
|
const de_GetLoggingConfigurationCommandError = async (output, context) => {
|
|
@@ -2105,10 +2073,9 @@ const de_GetLoggingConfigurationCommandError = async (output, context) => {
|
|
|
2105
2073
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2106
2074
|
default:
|
|
2107
2075
|
const parsedBody = parsedOutput.body;
|
|
2108
|
-
|
|
2076
|
+
return throwDefaultError({
|
|
2109
2077
|
output,
|
|
2110
2078
|
parsedBody,
|
|
2111
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2112
2079
|
errorCode,
|
|
2113
2080
|
});
|
|
2114
2081
|
}
|
|
@@ -2119,12 +2086,12 @@ const de_GetPermissionPolicyCommand = async (output, context) => {
|
|
|
2119
2086
|
}
|
|
2120
2087
|
const data = await parseBody(output.body, context);
|
|
2121
2088
|
let contents = {};
|
|
2122
|
-
contents =
|
|
2089
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2123
2090
|
const response = {
|
|
2124
2091
|
$metadata: deserializeMetadata(output),
|
|
2125
2092
|
...contents,
|
|
2126
2093
|
};
|
|
2127
|
-
return
|
|
2094
|
+
return response;
|
|
2128
2095
|
};
|
|
2129
2096
|
exports.de_GetPermissionPolicyCommand = de_GetPermissionPolicyCommand;
|
|
2130
2097
|
const de_GetPermissionPolicyCommandError = async (output, context) => {
|
|
@@ -2142,10 +2109,9 @@ const de_GetPermissionPolicyCommandError = async (output, context) => {
|
|
|
2142
2109
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2143
2110
|
default:
|
|
2144
2111
|
const parsedBody = parsedOutput.body;
|
|
2145
|
-
|
|
2112
|
+
return throwDefaultError({
|
|
2146
2113
|
output,
|
|
2147
2114
|
parsedBody,
|
|
2148
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2149
2115
|
errorCode,
|
|
2150
2116
|
});
|
|
2151
2117
|
}
|
|
@@ -2156,12 +2122,12 @@ const de_GetRateBasedRuleCommand = async (output, context) => {
|
|
|
2156
2122
|
}
|
|
2157
2123
|
const data = await parseBody(output.body, context);
|
|
2158
2124
|
let contents = {};
|
|
2159
|
-
contents =
|
|
2125
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2160
2126
|
const response = {
|
|
2161
2127
|
$metadata: deserializeMetadata(output),
|
|
2162
2128
|
...contents,
|
|
2163
2129
|
};
|
|
2164
|
-
return
|
|
2130
|
+
return response;
|
|
2165
2131
|
};
|
|
2166
2132
|
exports.de_GetRateBasedRuleCommand = de_GetRateBasedRuleCommand;
|
|
2167
2133
|
const de_GetRateBasedRuleCommandError = async (output, context) => {
|
|
@@ -2182,10 +2148,9 @@ const de_GetRateBasedRuleCommandError = async (output, context) => {
|
|
|
2182
2148
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2183
2149
|
default:
|
|
2184
2150
|
const parsedBody = parsedOutput.body;
|
|
2185
|
-
|
|
2151
|
+
return throwDefaultError({
|
|
2186
2152
|
output,
|
|
2187
2153
|
parsedBody,
|
|
2188
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2189
2154
|
errorCode,
|
|
2190
2155
|
});
|
|
2191
2156
|
}
|
|
@@ -2196,12 +2161,12 @@ const de_GetRateBasedRuleManagedKeysCommand = async (output, context) => {
|
|
|
2196
2161
|
}
|
|
2197
2162
|
const data = await parseBody(output.body, context);
|
|
2198
2163
|
let contents = {};
|
|
2199
|
-
contents =
|
|
2164
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2200
2165
|
const response = {
|
|
2201
2166
|
$metadata: deserializeMetadata(output),
|
|
2202
2167
|
...contents,
|
|
2203
2168
|
};
|
|
2204
|
-
return
|
|
2169
|
+
return response;
|
|
2205
2170
|
};
|
|
2206
2171
|
exports.de_GetRateBasedRuleManagedKeysCommand = de_GetRateBasedRuleManagedKeysCommand;
|
|
2207
2172
|
const de_GetRateBasedRuleManagedKeysCommandError = async (output, context) => {
|
|
@@ -2225,10 +2190,9 @@ const de_GetRateBasedRuleManagedKeysCommandError = async (output, context) => {
|
|
|
2225
2190
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2226
2191
|
default:
|
|
2227
2192
|
const parsedBody = parsedOutput.body;
|
|
2228
|
-
|
|
2193
|
+
return throwDefaultError({
|
|
2229
2194
|
output,
|
|
2230
2195
|
parsedBody,
|
|
2231
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2232
2196
|
errorCode,
|
|
2233
2197
|
});
|
|
2234
2198
|
}
|
|
@@ -2239,12 +2203,12 @@ const de_GetRegexMatchSetCommand = async (output, context) => {
|
|
|
2239
2203
|
}
|
|
2240
2204
|
const data = await parseBody(output.body, context);
|
|
2241
2205
|
let contents = {};
|
|
2242
|
-
contents =
|
|
2206
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2243
2207
|
const response = {
|
|
2244
2208
|
$metadata: deserializeMetadata(output),
|
|
2245
2209
|
...contents,
|
|
2246
2210
|
};
|
|
2247
|
-
return
|
|
2211
|
+
return response;
|
|
2248
2212
|
};
|
|
2249
2213
|
exports.de_GetRegexMatchSetCommand = de_GetRegexMatchSetCommand;
|
|
2250
2214
|
const de_GetRegexMatchSetCommandError = async (output, context) => {
|
|
@@ -2265,10 +2229,9 @@ const de_GetRegexMatchSetCommandError = async (output, context) => {
|
|
|
2265
2229
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2266
2230
|
default:
|
|
2267
2231
|
const parsedBody = parsedOutput.body;
|
|
2268
|
-
|
|
2232
|
+
return throwDefaultError({
|
|
2269
2233
|
output,
|
|
2270
2234
|
parsedBody,
|
|
2271
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2272
2235
|
errorCode,
|
|
2273
2236
|
});
|
|
2274
2237
|
}
|
|
@@ -2279,12 +2242,12 @@ const de_GetRegexPatternSetCommand = async (output, context) => {
|
|
|
2279
2242
|
}
|
|
2280
2243
|
const data = await parseBody(output.body, context);
|
|
2281
2244
|
let contents = {};
|
|
2282
|
-
contents =
|
|
2245
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2283
2246
|
const response = {
|
|
2284
2247
|
$metadata: deserializeMetadata(output),
|
|
2285
2248
|
...contents,
|
|
2286
2249
|
};
|
|
2287
|
-
return
|
|
2250
|
+
return response;
|
|
2288
2251
|
};
|
|
2289
2252
|
exports.de_GetRegexPatternSetCommand = de_GetRegexPatternSetCommand;
|
|
2290
2253
|
const de_GetRegexPatternSetCommandError = async (output, context) => {
|
|
@@ -2305,10 +2268,9 @@ const de_GetRegexPatternSetCommandError = async (output, context) => {
|
|
|
2305
2268
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2306
2269
|
default:
|
|
2307
2270
|
const parsedBody = parsedOutput.body;
|
|
2308
|
-
|
|
2271
|
+
return throwDefaultError({
|
|
2309
2272
|
output,
|
|
2310
2273
|
parsedBody,
|
|
2311
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2312
2274
|
errorCode,
|
|
2313
2275
|
});
|
|
2314
2276
|
}
|
|
@@ -2319,12 +2281,12 @@ const de_GetRuleCommand = async (output, context) => {
|
|
|
2319
2281
|
}
|
|
2320
2282
|
const data = await parseBody(output.body, context);
|
|
2321
2283
|
let contents = {};
|
|
2322
|
-
contents =
|
|
2284
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2323
2285
|
const response = {
|
|
2324
2286
|
$metadata: deserializeMetadata(output),
|
|
2325
2287
|
...contents,
|
|
2326
2288
|
};
|
|
2327
|
-
return
|
|
2289
|
+
return response;
|
|
2328
2290
|
};
|
|
2329
2291
|
exports.de_GetRuleCommand = de_GetRuleCommand;
|
|
2330
2292
|
const de_GetRuleCommandError = async (output, context) => {
|
|
@@ -2345,10 +2307,9 @@ const de_GetRuleCommandError = async (output, context) => {
|
|
|
2345
2307
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2346
2308
|
default:
|
|
2347
2309
|
const parsedBody = parsedOutput.body;
|
|
2348
|
-
|
|
2310
|
+
return throwDefaultError({
|
|
2349
2311
|
output,
|
|
2350
2312
|
parsedBody,
|
|
2351
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2352
2313
|
errorCode,
|
|
2353
2314
|
});
|
|
2354
2315
|
}
|
|
@@ -2359,12 +2320,12 @@ const de_GetRuleGroupCommand = async (output, context) => {
|
|
|
2359
2320
|
}
|
|
2360
2321
|
const data = await parseBody(output.body, context);
|
|
2361
2322
|
let contents = {};
|
|
2362
|
-
contents =
|
|
2323
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2363
2324
|
const response = {
|
|
2364
2325
|
$metadata: deserializeMetadata(output),
|
|
2365
2326
|
...contents,
|
|
2366
2327
|
};
|
|
2367
|
-
return
|
|
2328
|
+
return response;
|
|
2368
2329
|
};
|
|
2369
2330
|
exports.de_GetRuleGroupCommand = de_GetRuleGroupCommand;
|
|
2370
2331
|
const de_GetRuleGroupCommandError = async (output, context) => {
|
|
@@ -2382,10 +2343,9 @@ const de_GetRuleGroupCommandError = async (output, context) => {
|
|
|
2382
2343
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2383
2344
|
default:
|
|
2384
2345
|
const parsedBody = parsedOutput.body;
|
|
2385
|
-
|
|
2346
|
+
return throwDefaultError({
|
|
2386
2347
|
output,
|
|
2387
2348
|
parsedBody,
|
|
2388
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2389
2349
|
errorCode,
|
|
2390
2350
|
});
|
|
2391
2351
|
}
|
|
@@ -2401,7 +2361,7 @@ const de_GetSampledRequestsCommand = async (output, context) => {
|
|
|
2401
2361
|
$metadata: deserializeMetadata(output),
|
|
2402
2362
|
...contents,
|
|
2403
2363
|
};
|
|
2404
|
-
return
|
|
2364
|
+
return response;
|
|
2405
2365
|
};
|
|
2406
2366
|
exports.de_GetSampledRequestsCommand = de_GetSampledRequestsCommand;
|
|
2407
2367
|
const de_GetSampledRequestsCommandError = async (output, context) => {
|
|
@@ -2419,10 +2379,9 @@ const de_GetSampledRequestsCommandError = async (output, context) => {
|
|
|
2419
2379
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2420
2380
|
default:
|
|
2421
2381
|
const parsedBody = parsedOutput.body;
|
|
2422
|
-
|
|
2382
|
+
return throwDefaultError({
|
|
2423
2383
|
output,
|
|
2424
2384
|
parsedBody,
|
|
2425
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2426
2385
|
errorCode,
|
|
2427
2386
|
});
|
|
2428
2387
|
}
|
|
@@ -2433,12 +2392,12 @@ const de_GetSizeConstraintSetCommand = async (output, context) => {
|
|
|
2433
2392
|
}
|
|
2434
2393
|
const data = await parseBody(output.body, context);
|
|
2435
2394
|
let contents = {};
|
|
2436
|
-
contents =
|
|
2395
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2437
2396
|
const response = {
|
|
2438
2397
|
$metadata: deserializeMetadata(output),
|
|
2439
2398
|
...contents,
|
|
2440
2399
|
};
|
|
2441
|
-
return
|
|
2400
|
+
return response;
|
|
2442
2401
|
};
|
|
2443
2402
|
exports.de_GetSizeConstraintSetCommand = de_GetSizeConstraintSetCommand;
|
|
2444
2403
|
const de_GetSizeConstraintSetCommandError = async (output, context) => {
|
|
@@ -2459,10 +2418,9 @@ const de_GetSizeConstraintSetCommandError = async (output, context) => {
|
|
|
2459
2418
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2460
2419
|
default:
|
|
2461
2420
|
const parsedBody = parsedOutput.body;
|
|
2462
|
-
|
|
2421
|
+
return throwDefaultError({
|
|
2463
2422
|
output,
|
|
2464
2423
|
parsedBody,
|
|
2465
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2466
2424
|
errorCode,
|
|
2467
2425
|
});
|
|
2468
2426
|
}
|
|
@@ -2473,12 +2431,12 @@ const de_GetSqlInjectionMatchSetCommand = async (output, context) => {
|
|
|
2473
2431
|
}
|
|
2474
2432
|
const data = await parseBody(output.body, context);
|
|
2475
2433
|
let contents = {};
|
|
2476
|
-
contents =
|
|
2434
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2477
2435
|
const response = {
|
|
2478
2436
|
$metadata: deserializeMetadata(output),
|
|
2479
2437
|
...contents,
|
|
2480
2438
|
};
|
|
2481
|
-
return
|
|
2439
|
+
return response;
|
|
2482
2440
|
};
|
|
2483
2441
|
exports.de_GetSqlInjectionMatchSetCommand = de_GetSqlInjectionMatchSetCommand;
|
|
2484
2442
|
const de_GetSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
@@ -2499,10 +2457,9 @@ const de_GetSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
|
2499
2457
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2500
2458
|
default:
|
|
2501
2459
|
const parsedBody = parsedOutput.body;
|
|
2502
|
-
|
|
2460
|
+
return throwDefaultError({
|
|
2503
2461
|
output,
|
|
2504
2462
|
parsedBody,
|
|
2505
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2506
2463
|
errorCode,
|
|
2507
2464
|
});
|
|
2508
2465
|
}
|
|
@@ -2513,12 +2470,12 @@ const de_GetWebACLCommand = async (output, context) => {
|
|
|
2513
2470
|
}
|
|
2514
2471
|
const data = await parseBody(output.body, context);
|
|
2515
2472
|
let contents = {};
|
|
2516
|
-
contents =
|
|
2473
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2517
2474
|
const response = {
|
|
2518
2475
|
$metadata: deserializeMetadata(output),
|
|
2519
2476
|
...contents,
|
|
2520
2477
|
};
|
|
2521
|
-
return
|
|
2478
|
+
return response;
|
|
2522
2479
|
};
|
|
2523
2480
|
exports.de_GetWebACLCommand = de_GetWebACLCommand;
|
|
2524
2481
|
const de_GetWebACLCommandError = async (output, context) => {
|
|
@@ -2539,10 +2496,9 @@ const de_GetWebACLCommandError = async (output, context) => {
|
|
|
2539
2496
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2540
2497
|
default:
|
|
2541
2498
|
const parsedBody = parsedOutput.body;
|
|
2542
|
-
|
|
2499
|
+
return throwDefaultError({
|
|
2543
2500
|
output,
|
|
2544
2501
|
parsedBody,
|
|
2545
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2546
2502
|
errorCode,
|
|
2547
2503
|
});
|
|
2548
2504
|
}
|
|
@@ -2553,12 +2509,12 @@ const de_GetXssMatchSetCommand = async (output, context) => {
|
|
|
2553
2509
|
}
|
|
2554
2510
|
const data = await parseBody(output.body, context);
|
|
2555
2511
|
let contents = {};
|
|
2556
|
-
contents =
|
|
2512
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2557
2513
|
const response = {
|
|
2558
2514
|
$metadata: deserializeMetadata(output),
|
|
2559
2515
|
...contents,
|
|
2560
2516
|
};
|
|
2561
|
-
return
|
|
2517
|
+
return response;
|
|
2562
2518
|
};
|
|
2563
2519
|
exports.de_GetXssMatchSetCommand = de_GetXssMatchSetCommand;
|
|
2564
2520
|
const de_GetXssMatchSetCommandError = async (output, context) => {
|
|
@@ -2579,10 +2535,9 @@ const de_GetXssMatchSetCommandError = async (output, context) => {
|
|
|
2579
2535
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2580
2536
|
default:
|
|
2581
2537
|
const parsedBody = parsedOutput.body;
|
|
2582
|
-
|
|
2538
|
+
return throwDefaultError({
|
|
2583
2539
|
output,
|
|
2584
2540
|
parsedBody,
|
|
2585
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2586
2541
|
errorCode,
|
|
2587
2542
|
});
|
|
2588
2543
|
}
|
|
@@ -2593,12 +2548,12 @@ const de_ListActivatedRulesInRuleGroupCommand = async (output, context) => {
|
|
|
2593
2548
|
}
|
|
2594
2549
|
const data = await parseBody(output.body, context);
|
|
2595
2550
|
let contents = {};
|
|
2596
|
-
contents =
|
|
2551
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2597
2552
|
const response = {
|
|
2598
2553
|
$metadata: deserializeMetadata(output),
|
|
2599
2554
|
...contents,
|
|
2600
2555
|
};
|
|
2601
|
-
return
|
|
2556
|
+
return response;
|
|
2602
2557
|
};
|
|
2603
2558
|
exports.de_ListActivatedRulesInRuleGroupCommand = de_ListActivatedRulesInRuleGroupCommand;
|
|
2604
2559
|
const de_ListActivatedRulesInRuleGroupCommandError = async (output, context) => {
|
|
@@ -2619,10 +2574,9 @@ const de_ListActivatedRulesInRuleGroupCommandError = async (output, context) =>
|
|
|
2619
2574
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2620
2575
|
default:
|
|
2621
2576
|
const parsedBody = parsedOutput.body;
|
|
2622
|
-
|
|
2577
|
+
return throwDefaultError({
|
|
2623
2578
|
output,
|
|
2624
2579
|
parsedBody,
|
|
2625
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2626
2580
|
errorCode,
|
|
2627
2581
|
});
|
|
2628
2582
|
}
|
|
@@ -2633,12 +2587,12 @@ const de_ListByteMatchSetsCommand = async (output, context) => {
|
|
|
2633
2587
|
}
|
|
2634
2588
|
const data = await parseBody(output.body, context);
|
|
2635
2589
|
let contents = {};
|
|
2636
|
-
contents =
|
|
2590
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2637
2591
|
const response = {
|
|
2638
2592
|
$metadata: deserializeMetadata(output),
|
|
2639
2593
|
...contents,
|
|
2640
2594
|
};
|
|
2641
|
-
return
|
|
2595
|
+
return response;
|
|
2642
2596
|
};
|
|
2643
2597
|
exports.de_ListByteMatchSetsCommand = de_ListByteMatchSetsCommand;
|
|
2644
2598
|
const de_ListByteMatchSetsCommandError = async (output, context) => {
|
|
@@ -2656,10 +2610,9 @@ const de_ListByteMatchSetsCommandError = async (output, context) => {
|
|
|
2656
2610
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2657
2611
|
default:
|
|
2658
2612
|
const parsedBody = parsedOutput.body;
|
|
2659
|
-
|
|
2613
|
+
return throwDefaultError({
|
|
2660
2614
|
output,
|
|
2661
2615
|
parsedBody,
|
|
2662
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2663
2616
|
errorCode,
|
|
2664
2617
|
});
|
|
2665
2618
|
}
|
|
@@ -2670,12 +2623,12 @@ const de_ListGeoMatchSetsCommand = async (output, context) => {
|
|
|
2670
2623
|
}
|
|
2671
2624
|
const data = await parseBody(output.body, context);
|
|
2672
2625
|
let contents = {};
|
|
2673
|
-
contents =
|
|
2626
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2674
2627
|
const response = {
|
|
2675
2628
|
$metadata: deserializeMetadata(output),
|
|
2676
2629
|
...contents,
|
|
2677
2630
|
};
|
|
2678
|
-
return
|
|
2631
|
+
return response;
|
|
2679
2632
|
};
|
|
2680
2633
|
exports.de_ListGeoMatchSetsCommand = de_ListGeoMatchSetsCommand;
|
|
2681
2634
|
const de_ListGeoMatchSetsCommandError = async (output, context) => {
|
|
@@ -2693,10 +2646,9 @@ const de_ListGeoMatchSetsCommandError = async (output, context) => {
|
|
|
2693
2646
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2694
2647
|
default:
|
|
2695
2648
|
const parsedBody = parsedOutput.body;
|
|
2696
|
-
|
|
2649
|
+
return throwDefaultError({
|
|
2697
2650
|
output,
|
|
2698
2651
|
parsedBody,
|
|
2699
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2700
2652
|
errorCode,
|
|
2701
2653
|
});
|
|
2702
2654
|
}
|
|
@@ -2707,12 +2659,12 @@ const de_ListIPSetsCommand = async (output, context) => {
|
|
|
2707
2659
|
}
|
|
2708
2660
|
const data = await parseBody(output.body, context);
|
|
2709
2661
|
let contents = {};
|
|
2710
|
-
contents =
|
|
2662
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2711
2663
|
const response = {
|
|
2712
2664
|
$metadata: deserializeMetadata(output),
|
|
2713
2665
|
...contents,
|
|
2714
2666
|
};
|
|
2715
|
-
return
|
|
2667
|
+
return response;
|
|
2716
2668
|
};
|
|
2717
2669
|
exports.de_ListIPSetsCommand = de_ListIPSetsCommand;
|
|
2718
2670
|
const de_ListIPSetsCommandError = async (output, context) => {
|
|
@@ -2730,10 +2682,9 @@ const de_ListIPSetsCommandError = async (output, context) => {
|
|
|
2730
2682
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2731
2683
|
default:
|
|
2732
2684
|
const parsedBody = parsedOutput.body;
|
|
2733
|
-
|
|
2685
|
+
return throwDefaultError({
|
|
2734
2686
|
output,
|
|
2735
2687
|
parsedBody,
|
|
2736
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2737
2688
|
errorCode,
|
|
2738
2689
|
});
|
|
2739
2690
|
}
|
|
@@ -2744,12 +2695,12 @@ const de_ListLoggingConfigurationsCommand = async (output, context) => {
|
|
|
2744
2695
|
}
|
|
2745
2696
|
const data = await parseBody(output.body, context);
|
|
2746
2697
|
let contents = {};
|
|
2747
|
-
contents =
|
|
2698
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2748
2699
|
const response = {
|
|
2749
2700
|
$metadata: deserializeMetadata(output),
|
|
2750
2701
|
...contents,
|
|
2751
2702
|
};
|
|
2752
|
-
return
|
|
2703
|
+
return response;
|
|
2753
2704
|
};
|
|
2754
2705
|
exports.de_ListLoggingConfigurationsCommand = de_ListLoggingConfigurationsCommand;
|
|
2755
2706
|
const de_ListLoggingConfigurationsCommandError = async (output, context) => {
|
|
@@ -2770,10 +2721,9 @@ const de_ListLoggingConfigurationsCommandError = async (output, context) => {
|
|
|
2770
2721
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
2771
2722
|
default:
|
|
2772
2723
|
const parsedBody = parsedOutput.body;
|
|
2773
|
-
|
|
2724
|
+
return throwDefaultError({
|
|
2774
2725
|
output,
|
|
2775
2726
|
parsedBody,
|
|
2776
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2777
2727
|
errorCode,
|
|
2778
2728
|
});
|
|
2779
2729
|
}
|
|
@@ -2784,12 +2734,12 @@ const de_ListRateBasedRulesCommand = async (output, context) => {
|
|
|
2784
2734
|
}
|
|
2785
2735
|
const data = await parseBody(output.body, context);
|
|
2786
2736
|
let contents = {};
|
|
2787
|
-
contents =
|
|
2737
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2788
2738
|
const response = {
|
|
2789
2739
|
$metadata: deserializeMetadata(output),
|
|
2790
2740
|
...contents,
|
|
2791
2741
|
};
|
|
2792
|
-
return
|
|
2742
|
+
return response;
|
|
2793
2743
|
};
|
|
2794
2744
|
exports.de_ListRateBasedRulesCommand = de_ListRateBasedRulesCommand;
|
|
2795
2745
|
const de_ListRateBasedRulesCommandError = async (output, context) => {
|
|
@@ -2807,10 +2757,9 @@ const de_ListRateBasedRulesCommandError = async (output, context) => {
|
|
|
2807
2757
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2808
2758
|
default:
|
|
2809
2759
|
const parsedBody = parsedOutput.body;
|
|
2810
|
-
|
|
2760
|
+
return throwDefaultError({
|
|
2811
2761
|
output,
|
|
2812
2762
|
parsedBody,
|
|
2813
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2814
2763
|
errorCode,
|
|
2815
2764
|
});
|
|
2816
2765
|
}
|
|
@@ -2821,12 +2770,12 @@ const de_ListRegexMatchSetsCommand = async (output, context) => {
|
|
|
2821
2770
|
}
|
|
2822
2771
|
const data = await parseBody(output.body, context);
|
|
2823
2772
|
let contents = {};
|
|
2824
|
-
contents =
|
|
2773
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2825
2774
|
const response = {
|
|
2826
2775
|
$metadata: deserializeMetadata(output),
|
|
2827
2776
|
...contents,
|
|
2828
2777
|
};
|
|
2829
|
-
return
|
|
2778
|
+
return response;
|
|
2830
2779
|
};
|
|
2831
2780
|
exports.de_ListRegexMatchSetsCommand = de_ListRegexMatchSetsCommand;
|
|
2832
2781
|
const de_ListRegexMatchSetsCommandError = async (output, context) => {
|
|
@@ -2844,10 +2793,9 @@ const de_ListRegexMatchSetsCommandError = async (output, context) => {
|
|
|
2844
2793
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2845
2794
|
default:
|
|
2846
2795
|
const parsedBody = parsedOutput.body;
|
|
2847
|
-
|
|
2796
|
+
return throwDefaultError({
|
|
2848
2797
|
output,
|
|
2849
2798
|
parsedBody,
|
|
2850
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2851
2799
|
errorCode,
|
|
2852
2800
|
});
|
|
2853
2801
|
}
|
|
@@ -2858,12 +2806,12 @@ const de_ListRegexPatternSetsCommand = async (output, context) => {
|
|
|
2858
2806
|
}
|
|
2859
2807
|
const data = await parseBody(output.body, context);
|
|
2860
2808
|
let contents = {};
|
|
2861
|
-
contents =
|
|
2809
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2862
2810
|
const response = {
|
|
2863
2811
|
$metadata: deserializeMetadata(output),
|
|
2864
2812
|
...contents,
|
|
2865
2813
|
};
|
|
2866
|
-
return
|
|
2814
|
+
return response;
|
|
2867
2815
|
};
|
|
2868
2816
|
exports.de_ListRegexPatternSetsCommand = de_ListRegexPatternSetsCommand;
|
|
2869
2817
|
const de_ListRegexPatternSetsCommandError = async (output, context) => {
|
|
@@ -2881,10 +2829,9 @@ const de_ListRegexPatternSetsCommandError = async (output, context) => {
|
|
|
2881
2829
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2882
2830
|
default:
|
|
2883
2831
|
const parsedBody = parsedOutput.body;
|
|
2884
|
-
|
|
2832
|
+
return throwDefaultError({
|
|
2885
2833
|
output,
|
|
2886
2834
|
parsedBody,
|
|
2887
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2888
2835
|
errorCode,
|
|
2889
2836
|
});
|
|
2890
2837
|
}
|
|
@@ -2895,12 +2842,12 @@ const de_ListRuleGroupsCommand = async (output, context) => {
|
|
|
2895
2842
|
}
|
|
2896
2843
|
const data = await parseBody(output.body, context);
|
|
2897
2844
|
let contents = {};
|
|
2898
|
-
contents =
|
|
2845
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2899
2846
|
const response = {
|
|
2900
2847
|
$metadata: deserializeMetadata(output),
|
|
2901
2848
|
...contents,
|
|
2902
2849
|
};
|
|
2903
|
-
return
|
|
2850
|
+
return response;
|
|
2904
2851
|
};
|
|
2905
2852
|
exports.de_ListRuleGroupsCommand = de_ListRuleGroupsCommand;
|
|
2906
2853
|
const de_ListRuleGroupsCommandError = async (output, context) => {
|
|
@@ -2915,10 +2862,9 @@ const de_ListRuleGroupsCommandError = async (output, context) => {
|
|
|
2915
2862
|
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
2916
2863
|
default:
|
|
2917
2864
|
const parsedBody = parsedOutput.body;
|
|
2918
|
-
|
|
2865
|
+
return throwDefaultError({
|
|
2919
2866
|
output,
|
|
2920
2867
|
parsedBody,
|
|
2921
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2922
2868
|
errorCode,
|
|
2923
2869
|
});
|
|
2924
2870
|
}
|
|
@@ -2929,12 +2875,12 @@ const de_ListRulesCommand = async (output, context) => {
|
|
|
2929
2875
|
}
|
|
2930
2876
|
const data = await parseBody(output.body, context);
|
|
2931
2877
|
let contents = {};
|
|
2932
|
-
contents =
|
|
2878
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2933
2879
|
const response = {
|
|
2934
2880
|
$metadata: deserializeMetadata(output),
|
|
2935
2881
|
...contents,
|
|
2936
2882
|
};
|
|
2937
|
-
return
|
|
2883
|
+
return response;
|
|
2938
2884
|
};
|
|
2939
2885
|
exports.de_ListRulesCommand = de_ListRulesCommand;
|
|
2940
2886
|
const de_ListRulesCommandError = async (output, context) => {
|
|
@@ -2952,10 +2898,9 @@ const de_ListRulesCommandError = async (output, context) => {
|
|
|
2952
2898
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2953
2899
|
default:
|
|
2954
2900
|
const parsedBody = parsedOutput.body;
|
|
2955
|
-
|
|
2901
|
+
return throwDefaultError({
|
|
2956
2902
|
output,
|
|
2957
2903
|
parsedBody,
|
|
2958
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2959
2904
|
errorCode,
|
|
2960
2905
|
});
|
|
2961
2906
|
}
|
|
@@ -2966,12 +2911,12 @@ const de_ListSizeConstraintSetsCommand = async (output, context) => {
|
|
|
2966
2911
|
}
|
|
2967
2912
|
const data = await parseBody(output.body, context);
|
|
2968
2913
|
let contents = {};
|
|
2969
|
-
contents =
|
|
2914
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2970
2915
|
const response = {
|
|
2971
2916
|
$metadata: deserializeMetadata(output),
|
|
2972
2917
|
...contents,
|
|
2973
2918
|
};
|
|
2974
|
-
return
|
|
2919
|
+
return response;
|
|
2975
2920
|
};
|
|
2976
2921
|
exports.de_ListSizeConstraintSetsCommand = de_ListSizeConstraintSetsCommand;
|
|
2977
2922
|
const de_ListSizeConstraintSetsCommandError = async (output, context) => {
|
|
@@ -2989,10 +2934,9 @@ const de_ListSizeConstraintSetsCommandError = async (output, context) => {
|
|
|
2989
2934
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
2990
2935
|
default:
|
|
2991
2936
|
const parsedBody = parsedOutput.body;
|
|
2992
|
-
|
|
2937
|
+
return throwDefaultError({
|
|
2993
2938
|
output,
|
|
2994
2939
|
parsedBody,
|
|
2995
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
2996
2940
|
errorCode,
|
|
2997
2941
|
});
|
|
2998
2942
|
}
|
|
@@ -3003,12 +2947,12 @@ const de_ListSqlInjectionMatchSetsCommand = async (output, context) => {
|
|
|
3003
2947
|
}
|
|
3004
2948
|
const data = await parseBody(output.body, context);
|
|
3005
2949
|
let contents = {};
|
|
3006
|
-
contents =
|
|
2950
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3007
2951
|
const response = {
|
|
3008
2952
|
$metadata: deserializeMetadata(output),
|
|
3009
2953
|
...contents,
|
|
3010
2954
|
};
|
|
3011
|
-
return
|
|
2955
|
+
return response;
|
|
3012
2956
|
};
|
|
3013
2957
|
exports.de_ListSqlInjectionMatchSetsCommand = de_ListSqlInjectionMatchSetsCommand;
|
|
3014
2958
|
const de_ListSqlInjectionMatchSetsCommandError = async (output, context) => {
|
|
@@ -3026,10 +2970,9 @@ const de_ListSqlInjectionMatchSetsCommandError = async (output, context) => {
|
|
|
3026
2970
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3027
2971
|
default:
|
|
3028
2972
|
const parsedBody = parsedOutput.body;
|
|
3029
|
-
|
|
2973
|
+
return throwDefaultError({
|
|
3030
2974
|
output,
|
|
3031
2975
|
parsedBody,
|
|
3032
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3033
2976
|
errorCode,
|
|
3034
2977
|
});
|
|
3035
2978
|
}
|
|
@@ -3040,12 +2983,12 @@ const de_ListSubscribedRuleGroupsCommand = async (output, context) => {
|
|
|
3040
2983
|
}
|
|
3041
2984
|
const data = await parseBody(output.body, context);
|
|
3042
2985
|
let contents = {};
|
|
3043
|
-
contents =
|
|
2986
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3044
2987
|
const response = {
|
|
3045
2988
|
$metadata: deserializeMetadata(output),
|
|
3046
2989
|
...contents,
|
|
3047
2990
|
};
|
|
3048
|
-
return
|
|
2991
|
+
return response;
|
|
3049
2992
|
};
|
|
3050
2993
|
exports.de_ListSubscribedRuleGroupsCommand = de_ListSubscribedRuleGroupsCommand;
|
|
3051
2994
|
const de_ListSubscribedRuleGroupsCommandError = async (output, context) => {
|
|
@@ -3063,10 +3006,9 @@ const de_ListSubscribedRuleGroupsCommandError = async (output, context) => {
|
|
|
3063
3006
|
throw await de_WAFNonexistentItemExceptionRes(parsedOutput, context);
|
|
3064
3007
|
default:
|
|
3065
3008
|
const parsedBody = parsedOutput.body;
|
|
3066
|
-
|
|
3009
|
+
return throwDefaultError({
|
|
3067
3010
|
output,
|
|
3068
3011
|
parsedBody,
|
|
3069
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3070
3012
|
errorCode,
|
|
3071
3013
|
});
|
|
3072
3014
|
}
|
|
@@ -3077,12 +3019,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
3077
3019
|
}
|
|
3078
3020
|
const data = await parseBody(output.body, context);
|
|
3079
3021
|
let contents = {};
|
|
3080
|
-
contents =
|
|
3022
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3081
3023
|
const response = {
|
|
3082
3024
|
$metadata: deserializeMetadata(output),
|
|
3083
3025
|
...contents,
|
|
3084
3026
|
};
|
|
3085
|
-
return
|
|
3027
|
+
return response;
|
|
3086
3028
|
};
|
|
3087
3029
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
3088
3030
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -3112,10 +3054,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
3112
3054
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
3113
3055
|
default:
|
|
3114
3056
|
const parsedBody = parsedOutput.body;
|
|
3115
|
-
|
|
3057
|
+
return throwDefaultError({
|
|
3116
3058
|
output,
|
|
3117
3059
|
parsedBody,
|
|
3118
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3119
3060
|
errorCode,
|
|
3120
3061
|
});
|
|
3121
3062
|
}
|
|
@@ -3126,12 +3067,12 @@ const de_ListWebACLsCommand = async (output, context) => {
|
|
|
3126
3067
|
}
|
|
3127
3068
|
const data = await parseBody(output.body, context);
|
|
3128
3069
|
let contents = {};
|
|
3129
|
-
contents =
|
|
3070
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3130
3071
|
const response = {
|
|
3131
3072
|
$metadata: deserializeMetadata(output),
|
|
3132
3073
|
...contents,
|
|
3133
3074
|
};
|
|
3134
|
-
return
|
|
3075
|
+
return response;
|
|
3135
3076
|
};
|
|
3136
3077
|
exports.de_ListWebACLsCommand = de_ListWebACLsCommand;
|
|
3137
3078
|
const de_ListWebACLsCommandError = async (output, context) => {
|
|
@@ -3149,10 +3090,9 @@ const de_ListWebACLsCommandError = async (output, context) => {
|
|
|
3149
3090
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3150
3091
|
default:
|
|
3151
3092
|
const parsedBody = parsedOutput.body;
|
|
3152
|
-
|
|
3093
|
+
return throwDefaultError({
|
|
3153
3094
|
output,
|
|
3154
3095
|
parsedBody,
|
|
3155
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3156
3096
|
errorCode,
|
|
3157
3097
|
});
|
|
3158
3098
|
}
|
|
@@ -3163,12 +3103,12 @@ const de_ListXssMatchSetsCommand = async (output, context) => {
|
|
|
3163
3103
|
}
|
|
3164
3104
|
const data = await parseBody(output.body, context);
|
|
3165
3105
|
let contents = {};
|
|
3166
|
-
contents =
|
|
3106
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3167
3107
|
const response = {
|
|
3168
3108
|
$metadata: deserializeMetadata(output),
|
|
3169
3109
|
...contents,
|
|
3170
3110
|
};
|
|
3171
|
-
return
|
|
3111
|
+
return response;
|
|
3172
3112
|
};
|
|
3173
3113
|
exports.de_ListXssMatchSetsCommand = de_ListXssMatchSetsCommand;
|
|
3174
3114
|
const de_ListXssMatchSetsCommandError = async (output, context) => {
|
|
@@ -3186,10 +3126,9 @@ const de_ListXssMatchSetsCommandError = async (output, context) => {
|
|
|
3186
3126
|
throw await de_WAFInvalidAccountExceptionRes(parsedOutput, context);
|
|
3187
3127
|
default:
|
|
3188
3128
|
const parsedBody = parsedOutput.body;
|
|
3189
|
-
|
|
3129
|
+
return throwDefaultError({
|
|
3190
3130
|
output,
|
|
3191
3131
|
parsedBody,
|
|
3192
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3193
3132
|
errorCode,
|
|
3194
3133
|
});
|
|
3195
3134
|
}
|
|
@@ -3200,12 +3139,12 @@ const de_PutLoggingConfigurationCommand = async (output, context) => {
|
|
|
3200
3139
|
}
|
|
3201
3140
|
const data = await parseBody(output.body, context);
|
|
3202
3141
|
let contents = {};
|
|
3203
|
-
contents =
|
|
3142
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3204
3143
|
const response = {
|
|
3205
3144
|
$metadata: deserializeMetadata(output),
|
|
3206
3145
|
...contents,
|
|
3207
3146
|
};
|
|
3208
|
-
return
|
|
3147
|
+
return response;
|
|
3209
3148
|
};
|
|
3210
3149
|
exports.de_PutLoggingConfigurationCommand = de_PutLoggingConfigurationCommand;
|
|
3211
3150
|
const de_PutLoggingConfigurationCommandError = async (output, context) => {
|
|
@@ -3229,10 +3168,9 @@ const de_PutLoggingConfigurationCommandError = async (output, context) => {
|
|
|
3229
3168
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3230
3169
|
default:
|
|
3231
3170
|
const parsedBody = parsedOutput.body;
|
|
3232
|
-
|
|
3171
|
+
return throwDefaultError({
|
|
3233
3172
|
output,
|
|
3234
3173
|
parsedBody,
|
|
3235
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3236
3174
|
errorCode,
|
|
3237
3175
|
});
|
|
3238
3176
|
}
|
|
@@ -3243,12 +3181,12 @@ const de_PutPermissionPolicyCommand = async (output, context) => {
|
|
|
3243
3181
|
}
|
|
3244
3182
|
const data = await parseBody(output.body, context);
|
|
3245
3183
|
let contents = {};
|
|
3246
|
-
contents =
|
|
3184
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3247
3185
|
const response = {
|
|
3248
3186
|
$metadata: deserializeMetadata(output),
|
|
3249
3187
|
...contents,
|
|
3250
3188
|
};
|
|
3251
|
-
return
|
|
3189
|
+
return response;
|
|
3252
3190
|
};
|
|
3253
3191
|
exports.de_PutPermissionPolicyCommand = de_PutPermissionPolicyCommand;
|
|
3254
3192
|
const de_PutPermissionPolicyCommandError = async (output, context) => {
|
|
@@ -3272,10 +3210,9 @@ const de_PutPermissionPolicyCommandError = async (output, context) => {
|
|
|
3272
3210
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3273
3211
|
default:
|
|
3274
3212
|
const parsedBody = parsedOutput.body;
|
|
3275
|
-
|
|
3213
|
+
return throwDefaultError({
|
|
3276
3214
|
output,
|
|
3277
3215
|
parsedBody,
|
|
3278
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3279
3216
|
errorCode,
|
|
3280
3217
|
});
|
|
3281
3218
|
}
|
|
@@ -3286,12 +3223,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
3286
3223
|
}
|
|
3287
3224
|
const data = await parseBody(output.body, context);
|
|
3288
3225
|
let contents = {};
|
|
3289
|
-
contents =
|
|
3226
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3290
3227
|
const response = {
|
|
3291
3228
|
$metadata: deserializeMetadata(output),
|
|
3292
3229
|
...contents,
|
|
3293
3230
|
};
|
|
3294
|
-
return
|
|
3231
|
+
return response;
|
|
3295
3232
|
};
|
|
3296
3233
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
3297
3234
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -3324,10 +3261,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
3324
3261
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
3325
3262
|
default:
|
|
3326
3263
|
const parsedBody = parsedOutput.body;
|
|
3327
|
-
|
|
3264
|
+
return throwDefaultError({
|
|
3328
3265
|
output,
|
|
3329
3266
|
parsedBody,
|
|
3330
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3331
3267
|
errorCode,
|
|
3332
3268
|
});
|
|
3333
3269
|
}
|
|
@@ -3338,12 +3274,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
3338
3274
|
}
|
|
3339
3275
|
const data = await parseBody(output.body, context);
|
|
3340
3276
|
let contents = {};
|
|
3341
|
-
contents =
|
|
3277
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3342
3278
|
const response = {
|
|
3343
3279
|
$metadata: deserializeMetadata(output),
|
|
3344
3280
|
...contents,
|
|
3345
3281
|
};
|
|
3346
|
-
return
|
|
3282
|
+
return response;
|
|
3347
3283
|
};
|
|
3348
3284
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
3349
3285
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -3373,10 +3309,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
3373
3309
|
throw await de_WAFTagOperationInternalErrorExceptionRes(parsedOutput, context);
|
|
3374
3310
|
default:
|
|
3375
3311
|
const parsedBody = parsedOutput.body;
|
|
3376
|
-
|
|
3312
|
+
return throwDefaultError({
|
|
3377
3313
|
output,
|
|
3378
3314
|
parsedBody,
|
|
3379
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3380
3315
|
errorCode,
|
|
3381
3316
|
});
|
|
3382
3317
|
}
|
|
@@ -3387,12 +3322,12 @@ const de_UpdateByteMatchSetCommand = async (output, context) => {
|
|
|
3387
3322
|
}
|
|
3388
3323
|
const data = await parseBody(output.body, context);
|
|
3389
3324
|
let contents = {};
|
|
3390
|
-
contents =
|
|
3325
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3391
3326
|
const response = {
|
|
3392
3327
|
$metadata: deserializeMetadata(output),
|
|
3393
3328
|
...contents,
|
|
3394
3329
|
};
|
|
3395
|
-
return
|
|
3330
|
+
return response;
|
|
3396
3331
|
};
|
|
3397
3332
|
exports.de_UpdateByteMatchSetCommand = de_UpdateByteMatchSetCommand;
|
|
3398
3333
|
const de_UpdateByteMatchSetCommandError = async (output, context) => {
|
|
@@ -3428,10 +3363,9 @@ const de_UpdateByteMatchSetCommandError = async (output, context) => {
|
|
|
3428
3363
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3429
3364
|
default:
|
|
3430
3365
|
const parsedBody = parsedOutput.body;
|
|
3431
|
-
|
|
3366
|
+
return throwDefaultError({
|
|
3432
3367
|
output,
|
|
3433
3368
|
parsedBody,
|
|
3434
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3435
3369
|
errorCode,
|
|
3436
3370
|
});
|
|
3437
3371
|
}
|
|
@@ -3442,12 +3376,12 @@ const de_UpdateGeoMatchSetCommand = async (output, context) => {
|
|
|
3442
3376
|
}
|
|
3443
3377
|
const data = await parseBody(output.body, context);
|
|
3444
3378
|
let contents = {};
|
|
3445
|
-
contents =
|
|
3379
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3446
3380
|
const response = {
|
|
3447
3381
|
$metadata: deserializeMetadata(output),
|
|
3448
3382
|
...contents,
|
|
3449
3383
|
};
|
|
3450
|
-
return
|
|
3384
|
+
return response;
|
|
3451
3385
|
};
|
|
3452
3386
|
exports.de_UpdateGeoMatchSetCommand = de_UpdateGeoMatchSetCommand;
|
|
3453
3387
|
const de_UpdateGeoMatchSetCommandError = async (output, context) => {
|
|
@@ -3486,10 +3420,9 @@ const de_UpdateGeoMatchSetCommandError = async (output, context) => {
|
|
|
3486
3420
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3487
3421
|
default:
|
|
3488
3422
|
const parsedBody = parsedOutput.body;
|
|
3489
|
-
|
|
3423
|
+
return throwDefaultError({
|
|
3490
3424
|
output,
|
|
3491
3425
|
parsedBody,
|
|
3492
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3493
3426
|
errorCode,
|
|
3494
3427
|
});
|
|
3495
3428
|
}
|
|
@@ -3500,12 +3433,12 @@ const de_UpdateIPSetCommand = async (output, context) => {
|
|
|
3500
3433
|
}
|
|
3501
3434
|
const data = await parseBody(output.body, context);
|
|
3502
3435
|
let contents = {};
|
|
3503
|
-
contents =
|
|
3436
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3504
3437
|
const response = {
|
|
3505
3438
|
$metadata: deserializeMetadata(output),
|
|
3506
3439
|
...contents,
|
|
3507
3440
|
};
|
|
3508
|
-
return
|
|
3441
|
+
return response;
|
|
3509
3442
|
};
|
|
3510
3443
|
exports.de_UpdateIPSetCommand = de_UpdateIPSetCommand;
|
|
3511
3444
|
const de_UpdateIPSetCommandError = async (output, context) => {
|
|
@@ -3544,10 +3477,9 @@ const de_UpdateIPSetCommandError = async (output, context) => {
|
|
|
3544
3477
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3545
3478
|
default:
|
|
3546
3479
|
const parsedBody = parsedOutput.body;
|
|
3547
|
-
|
|
3480
|
+
return throwDefaultError({
|
|
3548
3481
|
output,
|
|
3549
3482
|
parsedBody,
|
|
3550
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3551
3483
|
errorCode,
|
|
3552
3484
|
});
|
|
3553
3485
|
}
|
|
@@ -3558,12 +3490,12 @@ const de_UpdateRateBasedRuleCommand = async (output, context) => {
|
|
|
3558
3490
|
}
|
|
3559
3491
|
const data = await parseBody(output.body, context);
|
|
3560
3492
|
let contents = {};
|
|
3561
|
-
contents =
|
|
3493
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3562
3494
|
const response = {
|
|
3563
3495
|
$metadata: deserializeMetadata(output),
|
|
3564
3496
|
...contents,
|
|
3565
3497
|
};
|
|
3566
|
-
return
|
|
3498
|
+
return response;
|
|
3567
3499
|
};
|
|
3568
3500
|
exports.de_UpdateRateBasedRuleCommand = de_UpdateRateBasedRuleCommand;
|
|
3569
3501
|
const de_UpdateRateBasedRuleCommandError = async (output, context) => {
|
|
@@ -3602,10 +3534,9 @@ const de_UpdateRateBasedRuleCommandError = async (output, context) => {
|
|
|
3602
3534
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3603
3535
|
default:
|
|
3604
3536
|
const parsedBody = parsedOutput.body;
|
|
3605
|
-
|
|
3537
|
+
return throwDefaultError({
|
|
3606
3538
|
output,
|
|
3607
3539
|
parsedBody,
|
|
3608
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3609
3540
|
errorCode,
|
|
3610
3541
|
});
|
|
3611
3542
|
}
|
|
@@ -3616,12 +3547,12 @@ const de_UpdateRegexMatchSetCommand = async (output, context) => {
|
|
|
3616
3547
|
}
|
|
3617
3548
|
const data = await parseBody(output.body, context);
|
|
3618
3549
|
let contents = {};
|
|
3619
|
-
contents =
|
|
3550
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3620
3551
|
const response = {
|
|
3621
3552
|
$metadata: deserializeMetadata(output),
|
|
3622
3553
|
...contents,
|
|
3623
3554
|
};
|
|
3624
|
-
return
|
|
3555
|
+
return response;
|
|
3625
3556
|
};
|
|
3626
3557
|
exports.de_UpdateRegexMatchSetCommand = de_UpdateRegexMatchSetCommand;
|
|
3627
3558
|
const de_UpdateRegexMatchSetCommandError = async (output, context) => {
|
|
@@ -3657,10 +3588,9 @@ const de_UpdateRegexMatchSetCommandError = async (output, context) => {
|
|
|
3657
3588
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3658
3589
|
default:
|
|
3659
3590
|
const parsedBody = parsedOutput.body;
|
|
3660
|
-
|
|
3591
|
+
return throwDefaultError({
|
|
3661
3592
|
output,
|
|
3662
3593
|
parsedBody,
|
|
3663
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3664
3594
|
errorCode,
|
|
3665
3595
|
});
|
|
3666
3596
|
}
|
|
@@ -3671,12 +3601,12 @@ const de_UpdateRegexPatternSetCommand = async (output, context) => {
|
|
|
3671
3601
|
}
|
|
3672
3602
|
const data = await parseBody(output.body, context);
|
|
3673
3603
|
let contents = {};
|
|
3674
|
-
contents =
|
|
3604
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3675
3605
|
const response = {
|
|
3676
3606
|
$metadata: deserializeMetadata(output),
|
|
3677
3607
|
...contents,
|
|
3678
3608
|
};
|
|
3679
|
-
return
|
|
3609
|
+
return response;
|
|
3680
3610
|
};
|
|
3681
3611
|
exports.de_UpdateRegexPatternSetCommand = de_UpdateRegexPatternSetCommand;
|
|
3682
3612
|
const de_UpdateRegexPatternSetCommandError = async (output, context) => {
|
|
@@ -3712,10 +3642,9 @@ const de_UpdateRegexPatternSetCommandError = async (output, context) => {
|
|
|
3712
3642
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3713
3643
|
default:
|
|
3714
3644
|
const parsedBody = parsedOutput.body;
|
|
3715
|
-
|
|
3645
|
+
return throwDefaultError({
|
|
3716
3646
|
output,
|
|
3717
3647
|
parsedBody,
|
|
3718
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3719
3648
|
errorCode,
|
|
3720
3649
|
});
|
|
3721
3650
|
}
|
|
@@ -3726,12 +3655,12 @@ const de_UpdateRuleCommand = async (output, context) => {
|
|
|
3726
3655
|
}
|
|
3727
3656
|
const data = await parseBody(output.body, context);
|
|
3728
3657
|
let contents = {};
|
|
3729
|
-
contents =
|
|
3658
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3730
3659
|
const response = {
|
|
3731
3660
|
$metadata: deserializeMetadata(output),
|
|
3732
3661
|
...contents,
|
|
3733
3662
|
};
|
|
3734
|
-
return
|
|
3663
|
+
return response;
|
|
3735
3664
|
};
|
|
3736
3665
|
exports.de_UpdateRuleCommand = de_UpdateRuleCommand;
|
|
3737
3666
|
const de_UpdateRuleCommandError = async (output, context) => {
|
|
@@ -3770,10 +3699,9 @@ const de_UpdateRuleCommandError = async (output, context) => {
|
|
|
3770
3699
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3771
3700
|
default:
|
|
3772
3701
|
const parsedBody = parsedOutput.body;
|
|
3773
|
-
|
|
3702
|
+
return throwDefaultError({
|
|
3774
3703
|
output,
|
|
3775
3704
|
parsedBody,
|
|
3776
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3777
3705
|
errorCode,
|
|
3778
3706
|
});
|
|
3779
3707
|
}
|
|
@@ -3784,12 +3712,12 @@ const de_UpdateRuleGroupCommand = async (output, context) => {
|
|
|
3784
3712
|
}
|
|
3785
3713
|
const data = await parseBody(output.body, context);
|
|
3786
3714
|
let contents = {};
|
|
3787
|
-
contents =
|
|
3715
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3788
3716
|
const response = {
|
|
3789
3717
|
$metadata: deserializeMetadata(output),
|
|
3790
3718
|
...contents,
|
|
3791
3719
|
};
|
|
3792
|
-
return
|
|
3720
|
+
return response;
|
|
3793
3721
|
};
|
|
3794
3722
|
exports.de_UpdateRuleGroupCommand = de_UpdateRuleGroupCommand;
|
|
3795
3723
|
const de_UpdateRuleGroupCommandError = async (output, context) => {
|
|
@@ -3822,10 +3750,9 @@ const de_UpdateRuleGroupCommandError = async (output, context) => {
|
|
|
3822
3750
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3823
3751
|
default:
|
|
3824
3752
|
const parsedBody = parsedOutput.body;
|
|
3825
|
-
|
|
3753
|
+
return throwDefaultError({
|
|
3826
3754
|
output,
|
|
3827
3755
|
parsedBody,
|
|
3828
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3829
3756
|
errorCode,
|
|
3830
3757
|
});
|
|
3831
3758
|
}
|
|
@@ -3836,12 +3763,12 @@ const de_UpdateSizeConstraintSetCommand = async (output, context) => {
|
|
|
3836
3763
|
}
|
|
3837
3764
|
const data = await parseBody(output.body, context);
|
|
3838
3765
|
let contents = {};
|
|
3839
|
-
contents =
|
|
3766
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3840
3767
|
const response = {
|
|
3841
3768
|
$metadata: deserializeMetadata(output),
|
|
3842
3769
|
...contents,
|
|
3843
3770
|
};
|
|
3844
|
-
return
|
|
3771
|
+
return response;
|
|
3845
3772
|
};
|
|
3846
3773
|
exports.de_UpdateSizeConstraintSetCommand = de_UpdateSizeConstraintSetCommand;
|
|
3847
3774
|
const de_UpdateSizeConstraintSetCommandError = async (output, context) => {
|
|
@@ -3880,10 +3807,9 @@ const de_UpdateSizeConstraintSetCommandError = async (output, context) => {
|
|
|
3880
3807
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3881
3808
|
default:
|
|
3882
3809
|
const parsedBody = parsedOutput.body;
|
|
3883
|
-
|
|
3810
|
+
return throwDefaultError({
|
|
3884
3811
|
output,
|
|
3885
3812
|
parsedBody,
|
|
3886
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3887
3813
|
errorCode,
|
|
3888
3814
|
});
|
|
3889
3815
|
}
|
|
@@ -3894,12 +3820,12 @@ const de_UpdateSqlInjectionMatchSetCommand = async (output, context) => {
|
|
|
3894
3820
|
}
|
|
3895
3821
|
const data = await parseBody(output.body, context);
|
|
3896
3822
|
let contents = {};
|
|
3897
|
-
contents =
|
|
3823
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3898
3824
|
const response = {
|
|
3899
3825
|
$metadata: deserializeMetadata(output),
|
|
3900
3826
|
...contents,
|
|
3901
3827
|
};
|
|
3902
|
-
return
|
|
3828
|
+
return response;
|
|
3903
3829
|
};
|
|
3904
3830
|
exports.de_UpdateSqlInjectionMatchSetCommand = de_UpdateSqlInjectionMatchSetCommand;
|
|
3905
3831
|
const de_UpdateSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
@@ -3935,10 +3861,9 @@ const de_UpdateSqlInjectionMatchSetCommandError = async (output, context) => {
|
|
|
3935
3861
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
3936
3862
|
default:
|
|
3937
3863
|
const parsedBody = parsedOutput.body;
|
|
3938
|
-
|
|
3864
|
+
return throwDefaultError({
|
|
3939
3865
|
output,
|
|
3940
3866
|
parsedBody,
|
|
3941
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
3942
3867
|
errorCode,
|
|
3943
3868
|
});
|
|
3944
3869
|
}
|
|
@@ -3949,12 +3874,12 @@ const de_UpdateWebACLCommand = async (output, context) => {
|
|
|
3949
3874
|
}
|
|
3950
3875
|
const data = await parseBody(output.body, context);
|
|
3951
3876
|
let contents = {};
|
|
3952
|
-
contents =
|
|
3877
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3953
3878
|
const response = {
|
|
3954
3879
|
$metadata: deserializeMetadata(output),
|
|
3955
3880
|
...contents,
|
|
3956
3881
|
};
|
|
3957
|
-
return
|
|
3882
|
+
return response;
|
|
3958
3883
|
};
|
|
3959
3884
|
exports.de_UpdateWebACLCommand = de_UpdateWebACLCommand;
|
|
3960
3885
|
const de_UpdateWebACLCommandError = async (output, context) => {
|
|
@@ -3996,10 +3921,9 @@ const de_UpdateWebACLCommandError = async (output, context) => {
|
|
|
3996
3921
|
throw await de_WAFSubscriptionNotFoundExceptionRes(parsedOutput, context);
|
|
3997
3922
|
default:
|
|
3998
3923
|
const parsedBody = parsedOutput.body;
|
|
3999
|
-
|
|
3924
|
+
return throwDefaultError({
|
|
4000
3925
|
output,
|
|
4001
3926
|
parsedBody,
|
|
4002
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
4003
3927
|
errorCode,
|
|
4004
3928
|
});
|
|
4005
3929
|
}
|
|
@@ -4010,12 +3934,12 @@ const de_UpdateXssMatchSetCommand = async (output, context) => {
|
|
|
4010
3934
|
}
|
|
4011
3935
|
const data = await parseBody(output.body, context);
|
|
4012
3936
|
let contents = {};
|
|
4013
|
-
contents =
|
|
3937
|
+
contents = (0, smithy_client_1._json)(data);
|
|
4014
3938
|
const response = {
|
|
4015
3939
|
$metadata: deserializeMetadata(output),
|
|
4016
3940
|
...contents,
|
|
4017
3941
|
};
|
|
4018
|
-
return
|
|
3942
|
+
return response;
|
|
4019
3943
|
};
|
|
4020
3944
|
exports.de_UpdateXssMatchSetCommand = de_UpdateXssMatchSetCommand;
|
|
4021
3945
|
const de_UpdateXssMatchSetCommandError = async (output, context) => {
|
|
@@ -4051,17 +3975,16 @@ const de_UpdateXssMatchSetCommandError = async (output, context) => {
|
|
|
4051
3975
|
throw await de_WAFStaleDataExceptionRes(parsedOutput, context);
|
|
4052
3976
|
default:
|
|
4053
3977
|
const parsedBody = parsedOutput.body;
|
|
4054
|
-
|
|
3978
|
+
return throwDefaultError({
|
|
4055
3979
|
output,
|
|
4056
3980
|
parsedBody,
|
|
4057
|
-
exceptionCtor: WAFServiceException_1.WAFServiceException,
|
|
4058
3981
|
errorCode,
|
|
4059
3982
|
});
|
|
4060
3983
|
}
|
|
4061
3984
|
};
|
|
4062
3985
|
const de_WAFBadRequestExceptionRes = async (parsedOutput, context) => {
|
|
4063
3986
|
const body = parsedOutput.body;
|
|
4064
|
-
const deserialized =
|
|
3987
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4065
3988
|
const exception = new models_0_1.WAFBadRequestException({
|
|
4066
3989
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4067
3990
|
...deserialized,
|
|
@@ -4070,7 +3993,7 @@ const de_WAFBadRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
4070
3993
|
};
|
|
4071
3994
|
const de_WAFDisallowedNameExceptionRes = async (parsedOutput, context) => {
|
|
4072
3995
|
const body = parsedOutput.body;
|
|
4073
|
-
const deserialized =
|
|
3996
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4074
3997
|
const exception = new models_0_1.WAFDisallowedNameException({
|
|
4075
3998
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4076
3999
|
...deserialized,
|
|
@@ -4079,7 +4002,7 @@ const de_WAFDisallowedNameExceptionRes = async (parsedOutput, context) => {
|
|
|
4079
4002
|
};
|
|
4080
4003
|
const de_WAFEntityMigrationExceptionRes = async (parsedOutput, context) => {
|
|
4081
4004
|
const body = parsedOutput.body;
|
|
4082
|
-
const deserialized =
|
|
4005
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4083
4006
|
const exception = new models_0_1.WAFEntityMigrationException({
|
|
4084
4007
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4085
4008
|
...deserialized,
|
|
@@ -4088,7 +4011,7 @@ const de_WAFEntityMigrationExceptionRes = async (parsedOutput, context) => {
|
|
|
4088
4011
|
};
|
|
4089
4012
|
const de_WAFInternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
4090
4013
|
const body = parsedOutput.body;
|
|
4091
|
-
const deserialized =
|
|
4014
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4092
4015
|
const exception = new models_0_1.WAFInternalErrorException({
|
|
4093
4016
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4094
4017
|
...deserialized,
|
|
@@ -4097,7 +4020,7 @@ const de_WAFInternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
4097
4020
|
};
|
|
4098
4021
|
const de_WAFInvalidAccountExceptionRes = async (parsedOutput, context) => {
|
|
4099
4022
|
const body = parsedOutput.body;
|
|
4100
|
-
const deserialized =
|
|
4023
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4101
4024
|
const exception = new models_0_1.WAFInvalidAccountException({
|
|
4102
4025
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4103
4026
|
...deserialized,
|
|
@@ -4106,7 +4029,7 @@ const de_WAFInvalidAccountExceptionRes = async (parsedOutput, context) => {
|
|
|
4106
4029
|
};
|
|
4107
4030
|
const de_WAFInvalidOperationExceptionRes = async (parsedOutput, context) => {
|
|
4108
4031
|
const body = parsedOutput.body;
|
|
4109
|
-
const deserialized =
|
|
4032
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4110
4033
|
const exception = new models_0_1.WAFInvalidOperationException({
|
|
4111
4034
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4112
4035
|
...deserialized,
|
|
@@ -4115,7 +4038,7 @@ const de_WAFInvalidOperationExceptionRes = async (parsedOutput, context) => {
|
|
|
4115
4038
|
};
|
|
4116
4039
|
const de_WAFInvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
4117
4040
|
const body = parsedOutput.body;
|
|
4118
|
-
const deserialized =
|
|
4041
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4119
4042
|
const exception = new models_0_1.WAFInvalidParameterException({
|
|
4120
4043
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4121
4044
|
...deserialized,
|
|
@@ -4124,7 +4047,7 @@ const de_WAFInvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
4124
4047
|
};
|
|
4125
4048
|
const de_WAFInvalidPermissionPolicyExceptionRes = async (parsedOutput, context) => {
|
|
4126
4049
|
const body = parsedOutput.body;
|
|
4127
|
-
const deserialized =
|
|
4050
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4128
4051
|
const exception = new models_0_1.WAFInvalidPermissionPolicyException({
|
|
4129
4052
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4130
4053
|
...deserialized,
|
|
@@ -4133,7 +4056,7 @@ const de_WAFInvalidPermissionPolicyExceptionRes = async (parsedOutput, context)
|
|
|
4133
4056
|
};
|
|
4134
4057
|
const de_WAFInvalidRegexPatternExceptionRes = async (parsedOutput, context) => {
|
|
4135
4058
|
const body = parsedOutput.body;
|
|
4136
|
-
const deserialized =
|
|
4059
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4137
4060
|
const exception = new models_0_1.WAFInvalidRegexPatternException({
|
|
4138
4061
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4139
4062
|
...deserialized,
|
|
@@ -4142,7 +4065,7 @@ const de_WAFInvalidRegexPatternExceptionRes = async (parsedOutput, context) => {
|
|
|
4142
4065
|
};
|
|
4143
4066
|
const de_WAFLimitsExceededExceptionRes = async (parsedOutput, context) => {
|
|
4144
4067
|
const body = parsedOutput.body;
|
|
4145
|
-
const deserialized =
|
|
4068
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4146
4069
|
const exception = new models_0_1.WAFLimitsExceededException({
|
|
4147
4070
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4148
4071
|
...deserialized,
|
|
@@ -4151,7 +4074,7 @@ const de_WAFLimitsExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
4151
4074
|
};
|
|
4152
4075
|
const de_WAFNonEmptyEntityExceptionRes = async (parsedOutput, context) => {
|
|
4153
4076
|
const body = parsedOutput.body;
|
|
4154
|
-
const deserialized =
|
|
4077
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4155
4078
|
const exception = new models_0_1.WAFNonEmptyEntityException({
|
|
4156
4079
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4157
4080
|
...deserialized,
|
|
@@ -4160,7 +4083,7 @@ const de_WAFNonEmptyEntityExceptionRes = async (parsedOutput, context) => {
|
|
|
4160
4083
|
};
|
|
4161
4084
|
const de_WAFNonexistentContainerExceptionRes = async (parsedOutput, context) => {
|
|
4162
4085
|
const body = parsedOutput.body;
|
|
4163
|
-
const deserialized =
|
|
4086
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4164
4087
|
const exception = new models_0_1.WAFNonexistentContainerException({
|
|
4165
4088
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4166
4089
|
...deserialized,
|
|
@@ -4169,7 +4092,7 @@ const de_WAFNonexistentContainerExceptionRes = async (parsedOutput, context) =>
|
|
|
4169
4092
|
};
|
|
4170
4093
|
const de_WAFNonexistentItemExceptionRes = async (parsedOutput, context) => {
|
|
4171
4094
|
const body = parsedOutput.body;
|
|
4172
|
-
const deserialized =
|
|
4095
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4173
4096
|
const exception = new models_0_1.WAFNonexistentItemException({
|
|
4174
4097
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4175
4098
|
...deserialized,
|
|
@@ -4178,7 +4101,7 @@ const de_WAFNonexistentItemExceptionRes = async (parsedOutput, context) => {
|
|
|
4178
4101
|
};
|
|
4179
4102
|
const de_WAFReferencedItemExceptionRes = async (parsedOutput, context) => {
|
|
4180
4103
|
const body = parsedOutput.body;
|
|
4181
|
-
const deserialized =
|
|
4104
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4182
4105
|
const exception = new models_0_1.WAFReferencedItemException({
|
|
4183
4106
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4184
4107
|
...deserialized,
|
|
@@ -4187,7 +4110,7 @@ const de_WAFReferencedItemExceptionRes = async (parsedOutput, context) => {
|
|
|
4187
4110
|
};
|
|
4188
4111
|
const de_WAFServiceLinkedRoleErrorExceptionRes = async (parsedOutput, context) => {
|
|
4189
4112
|
const body = parsedOutput.body;
|
|
4190
|
-
const deserialized =
|
|
4113
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4191
4114
|
const exception = new models_0_1.WAFServiceLinkedRoleErrorException({
|
|
4192
4115
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4193
4116
|
...deserialized,
|
|
@@ -4196,7 +4119,7 @@ const de_WAFServiceLinkedRoleErrorExceptionRes = async (parsedOutput, context) =
|
|
|
4196
4119
|
};
|
|
4197
4120
|
const de_WAFStaleDataExceptionRes = async (parsedOutput, context) => {
|
|
4198
4121
|
const body = parsedOutput.body;
|
|
4199
|
-
const deserialized =
|
|
4122
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4200
4123
|
const exception = new models_0_1.WAFStaleDataException({
|
|
4201
4124
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4202
4125
|
...deserialized,
|
|
@@ -4205,7 +4128,7 @@ const de_WAFStaleDataExceptionRes = async (parsedOutput, context) => {
|
|
|
4205
4128
|
};
|
|
4206
4129
|
const de_WAFSubscriptionNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
4207
4130
|
const body = parsedOutput.body;
|
|
4208
|
-
const deserialized =
|
|
4131
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4209
4132
|
const exception = new models_0_1.WAFSubscriptionNotFoundException({
|
|
4210
4133
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4211
4134
|
...deserialized,
|
|
@@ -4214,7 +4137,7 @@ const de_WAFSubscriptionNotFoundExceptionRes = async (parsedOutput, context) =>
|
|
|
4214
4137
|
};
|
|
4215
4138
|
const de_WAFTagOperationExceptionRes = async (parsedOutput, context) => {
|
|
4216
4139
|
const body = parsedOutput.body;
|
|
4217
|
-
const deserialized =
|
|
4140
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4218
4141
|
const exception = new models_0_1.WAFTagOperationException({
|
|
4219
4142
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4220
4143
|
...deserialized,
|
|
@@ -4223,1913 +4146,118 @@ const de_WAFTagOperationExceptionRes = async (parsedOutput, context) => {
|
|
|
4223
4146
|
};
|
|
4224
4147
|
const de_WAFTagOperationInternalErrorExceptionRes = async (parsedOutput, context) => {
|
|
4225
4148
|
const body = parsedOutput.body;
|
|
4226
|
-
const deserialized =
|
|
4149
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
4227
4150
|
const exception = new models_0_1.WAFTagOperationInternalErrorException({
|
|
4228
4151
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4229
4152
|
...deserialized,
|
|
4230
4153
|
});
|
|
4231
4154
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
4232
4155
|
};
|
|
4233
|
-
const
|
|
4234
|
-
return {
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
...(input.OverrideAction != null && { OverrideAction: se_WafOverrideAction(input.OverrideAction, context) }),
|
|
4238
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
4239
|
-
...(input.RuleId != null && { RuleId: input.RuleId }),
|
|
4240
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4241
|
-
};
|
|
4242
|
-
};
|
|
4243
|
-
const se_ByteMatchSetUpdate = (input, context) => {
|
|
4244
|
-
return {
|
|
4245
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4246
|
-
...(input.ByteMatchTuple != null && { ByteMatchTuple: se_ByteMatchTuple(input.ByteMatchTuple, context) }),
|
|
4247
|
-
};
|
|
4248
|
-
};
|
|
4249
|
-
const se_ByteMatchSetUpdates = (input, context) => {
|
|
4250
|
-
return input
|
|
4251
|
-
.filter((e) => e != null)
|
|
4252
|
-
.map((entry) => {
|
|
4253
|
-
return se_ByteMatchSetUpdate(entry, context);
|
|
4254
|
-
});
|
|
4255
|
-
};
|
|
4256
|
-
const se_ByteMatchTuple = (input, context) => {
|
|
4257
|
-
return {
|
|
4258
|
-
...(input.FieldToMatch != null && { FieldToMatch: se_FieldToMatch(input.FieldToMatch, context) }),
|
|
4259
|
-
...(input.PositionalConstraint != null && { PositionalConstraint: input.PositionalConstraint }),
|
|
4260
|
-
...(input.TargetString != null && { TargetString: context.base64Encoder(input.TargetString) }),
|
|
4261
|
-
...(input.TextTransformation != null && { TextTransformation: input.TextTransformation }),
|
|
4262
|
-
};
|
|
4263
|
-
};
|
|
4264
|
-
const se_CreateByteMatchSetRequest = (input, context) => {
|
|
4265
|
-
return {
|
|
4266
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4267
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4268
|
-
};
|
|
4269
|
-
};
|
|
4270
|
-
const se_CreateGeoMatchSetRequest = (input, context) => {
|
|
4271
|
-
return {
|
|
4272
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4273
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4274
|
-
};
|
|
4275
|
-
};
|
|
4276
|
-
const se_CreateIPSetRequest = (input, context) => {
|
|
4277
|
-
return {
|
|
4278
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4279
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4280
|
-
};
|
|
4281
|
-
};
|
|
4282
|
-
const se_CreateRateBasedRuleRequest = (input, context) => {
|
|
4283
|
-
return {
|
|
4284
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4285
|
-
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
4286
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4287
|
-
...(input.RateKey != null && { RateKey: input.RateKey }),
|
|
4288
|
-
...(input.RateLimit != null && { RateLimit: input.RateLimit }),
|
|
4289
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
4290
|
-
};
|
|
4291
|
-
};
|
|
4292
|
-
const se_CreateRegexMatchSetRequest = (input, context) => {
|
|
4293
|
-
return {
|
|
4294
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4295
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4296
|
-
};
|
|
4297
|
-
};
|
|
4298
|
-
const se_CreateRegexPatternSetRequest = (input, context) => {
|
|
4299
|
-
return {
|
|
4300
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4301
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4302
|
-
};
|
|
4303
|
-
};
|
|
4304
|
-
const se_CreateRuleGroupRequest = (input, context) => {
|
|
4305
|
-
return {
|
|
4306
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4307
|
-
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
4308
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4309
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
4310
|
-
};
|
|
4311
|
-
};
|
|
4312
|
-
const se_CreateRuleRequest = (input, context) => {
|
|
4313
|
-
return {
|
|
4314
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4315
|
-
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
4316
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4317
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
4318
|
-
};
|
|
4319
|
-
};
|
|
4320
|
-
const se_CreateSizeConstraintSetRequest = (input, context) => {
|
|
4321
|
-
return {
|
|
4322
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4323
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4324
|
-
};
|
|
4325
|
-
};
|
|
4326
|
-
const se_CreateSqlInjectionMatchSetRequest = (input, context) => {
|
|
4327
|
-
return {
|
|
4328
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4329
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4330
|
-
};
|
|
4331
|
-
};
|
|
4332
|
-
const se_CreateWebACLMigrationStackRequest = (input, context) => {
|
|
4333
|
-
return {
|
|
4334
|
-
...(input.IgnoreUnsupportedType != null && { IgnoreUnsupportedType: input.IgnoreUnsupportedType }),
|
|
4335
|
-
...(input.S3BucketName != null && { S3BucketName: input.S3BucketName }),
|
|
4336
|
-
...(input.WebACLId != null && { WebACLId: input.WebACLId }),
|
|
4337
|
-
};
|
|
4338
|
-
};
|
|
4339
|
-
const se_CreateWebACLRequest = (input, context) => {
|
|
4340
|
-
return {
|
|
4341
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4342
|
-
...(input.DefaultAction != null && { DefaultAction: se_WafAction(input.DefaultAction, context) }),
|
|
4343
|
-
...(input.MetricName != null && { MetricName: input.MetricName }),
|
|
4344
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4345
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
4346
|
-
};
|
|
4347
|
-
};
|
|
4348
|
-
const se_CreateXssMatchSetRequest = (input, context) => {
|
|
4349
|
-
return {
|
|
4350
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4351
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4352
|
-
};
|
|
4353
|
-
};
|
|
4354
|
-
const se_DeleteByteMatchSetRequest = (input, context) => {
|
|
4355
|
-
return {
|
|
4356
|
-
...(input.ByteMatchSetId != null && { ByteMatchSetId: input.ByteMatchSetId }),
|
|
4357
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4358
|
-
};
|
|
4359
|
-
};
|
|
4360
|
-
const se_DeleteGeoMatchSetRequest = (input, context) => {
|
|
4361
|
-
return {
|
|
4362
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4363
|
-
...(input.GeoMatchSetId != null && { GeoMatchSetId: input.GeoMatchSetId }),
|
|
4364
|
-
};
|
|
4365
|
-
};
|
|
4366
|
-
const se_DeleteIPSetRequest = (input, context) => {
|
|
4367
|
-
return {
|
|
4368
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4369
|
-
...(input.IPSetId != null && { IPSetId: input.IPSetId }),
|
|
4370
|
-
};
|
|
4371
|
-
};
|
|
4372
|
-
const se_DeleteLoggingConfigurationRequest = (input, context) => {
|
|
4373
|
-
return {
|
|
4374
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4375
|
-
};
|
|
4376
|
-
};
|
|
4377
|
-
const se_DeletePermissionPolicyRequest = (input, context) => {
|
|
4378
|
-
return {
|
|
4379
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4380
|
-
};
|
|
4381
|
-
};
|
|
4382
|
-
const se_DeleteRateBasedRuleRequest = (input, context) => {
|
|
4383
|
-
return {
|
|
4384
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4385
|
-
...(input.RuleId != null && { RuleId: input.RuleId }),
|
|
4386
|
-
};
|
|
4387
|
-
};
|
|
4388
|
-
const se_DeleteRegexMatchSetRequest = (input, context) => {
|
|
4389
|
-
return {
|
|
4390
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4391
|
-
...(input.RegexMatchSetId != null && { RegexMatchSetId: input.RegexMatchSetId }),
|
|
4392
|
-
};
|
|
4393
|
-
};
|
|
4394
|
-
const se_DeleteRegexPatternSetRequest = (input, context) => {
|
|
4395
|
-
return {
|
|
4396
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4397
|
-
...(input.RegexPatternSetId != null && { RegexPatternSetId: input.RegexPatternSetId }),
|
|
4398
|
-
};
|
|
4399
|
-
};
|
|
4400
|
-
const se_DeleteRuleGroupRequest = (input, context) => {
|
|
4401
|
-
return {
|
|
4402
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4403
|
-
...(input.RuleGroupId != null && { RuleGroupId: input.RuleGroupId }),
|
|
4404
|
-
};
|
|
4405
|
-
};
|
|
4406
|
-
const se_DeleteRuleRequest = (input, context) => {
|
|
4407
|
-
return {
|
|
4408
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4409
|
-
...(input.RuleId != null && { RuleId: input.RuleId }),
|
|
4410
|
-
};
|
|
4411
|
-
};
|
|
4412
|
-
const se_DeleteSizeConstraintSetRequest = (input, context) => {
|
|
4413
|
-
return {
|
|
4414
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4415
|
-
...(input.SizeConstraintSetId != null && { SizeConstraintSetId: input.SizeConstraintSetId }),
|
|
4416
|
-
};
|
|
4417
|
-
};
|
|
4418
|
-
const se_DeleteSqlInjectionMatchSetRequest = (input, context) => {
|
|
4419
|
-
return {
|
|
4420
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4421
|
-
...(input.SqlInjectionMatchSetId != null && { SqlInjectionMatchSetId: input.SqlInjectionMatchSetId }),
|
|
4422
|
-
};
|
|
4423
|
-
};
|
|
4424
|
-
const se_DeleteWebACLRequest = (input, context) => {
|
|
4425
|
-
return {
|
|
4426
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4427
|
-
...(input.WebACLId != null && { WebACLId: input.WebACLId }),
|
|
4428
|
-
};
|
|
4429
|
-
};
|
|
4430
|
-
const se_DeleteXssMatchSetRequest = (input, context) => {
|
|
4431
|
-
return {
|
|
4432
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4433
|
-
...(input.XssMatchSetId != null && { XssMatchSetId: input.XssMatchSetId }),
|
|
4434
|
-
};
|
|
4435
|
-
};
|
|
4436
|
-
const se_ExcludedRule = (input, context) => {
|
|
4437
|
-
return {
|
|
4438
|
-
...(input.RuleId != null && { RuleId: input.RuleId }),
|
|
4439
|
-
};
|
|
4440
|
-
};
|
|
4441
|
-
const se_ExcludedRules = (input, context) => {
|
|
4442
|
-
return input
|
|
4443
|
-
.filter((e) => e != null)
|
|
4444
|
-
.map((entry) => {
|
|
4445
|
-
return se_ExcludedRule(entry, context);
|
|
4446
|
-
});
|
|
4447
|
-
};
|
|
4448
|
-
const se_FieldToMatch = (input, context) => {
|
|
4449
|
-
return {
|
|
4450
|
-
...(input.Data != null && { Data: input.Data }),
|
|
4451
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4452
|
-
};
|
|
4453
|
-
};
|
|
4454
|
-
const se_GeoMatchConstraint = (input, context) => {
|
|
4455
|
-
return {
|
|
4456
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4457
|
-
...(input.Value != null && { Value: input.Value }),
|
|
4458
|
-
};
|
|
4459
|
-
};
|
|
4460
|
-
const se_GeoMatchSetUpdate = (input, context) => {
|
|
4461
|
-
return {
|
|
4462
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4463
|
-
...(input.GeoMatchConstraint != null && {
|
|
4464
|
-
GeoMatchConstraint: se_GeoMatchConstraint(input.GeoMatchConstraint, context),
|
|
4465
|
-
}),
|
|
4466
|
-
};
|
|
4467
|
-
};
|
|
4468
|
-
const se_GeoMatchSetUpdates = (input, context) => {
|
|
4469
|
-
return input
|
|
4470
|
-
.filter((e) => e != null)
|
|
4471
|
-
.map((entry) => {
|
|
4472
|
-
return se_GeoMatchSetUpdate(entry, context);
|
|
4473
|
-
});
|
|
4474
|
-
};
|
|
4475
|
-
const se_GetByteMatchSetRequest = (input, context) => {
|
|
4476
|
-
return {
|
|
4477
|
-
...(input.ByteMatchSetId != null && { ByteMatchSetId: input.ByteMatchSetId }),
|
|
4478
|
-
};
|
|
4479
|
-
};
|
|
4480
|
-
const se_GetChangeTokenRequest = (input, context) => {
|
|
4481
|
-
return {};
|
|
4482
|
-
};
|
|
4483
|
-
const se_GetChangeTokenStatusRequest = (input, context) => {
|
|
4484
|
-
return {
|
|
4485
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4486
|
-
};
|
|
4487
|
-
};
|
|
4488
|
-
const se_GetGeoMatchSetRequest = (input, context) => {
|
|
4489
|
-
return {
|
|
4490
|
-
...(input.GeoMatchSetId != null && { GeoMatchSetId: input.GeoMatchSetId }),
|
|
4491
|
-
};
|
|
4492
|
-
};
|
|
4493
|
-
const se_GetIPSetRequest = (input, context) => {
|
|
4494
|
-
return {
|
|
4495
|
-
...(input.IPSetId != null && { IPSetId: input.IPSetId }),
|
|
4496
|
-
};
|
|
4497
|
-
};
|
|
4498
|
-
const se_GetLoggingConfigurationRequest = (input, context) => {
|
|
4499
|
-
return {
|
|
4500
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4501
|
-
};
|
|
4502
|
-
};
|
|
4503
|
-
const se_GetPermissionPolicyRequest = (input, context) => {
|
|
4504
|
-
return {
|
|
4505
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4506
|
-
};
|
|
4507
|
-
};
|
|
4508
|
-
const se_GetRateBasedRuleManagedKeysRequest = (input, context) => {
|
|
4509
|
-
return {
|
|
4510
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4511
|
-
...(input.RuleId != null && { RuleId: input.RuleId }),
|
|
4512
|
-
};
|
|
4513
|
-
};
|
|
4514
|
-
const se_GetRateBasedRuleRequest = (input, context) => {
|
|
4515
|
-
return {
|
|
4516
|
-
...(input.RuleId != null && { RuleId: input.RuleId }),
|
|
4517
|
-
};
|
|
4518
|
-
};
|
|
4519
|
-
const se_GetRegexMatchSetRequest = (input, context) => {
|
|
4520
|
-
return {
|
|
4521
|
-
...(input.RegexMatchSetId != null && { RegexMatchSetId: input.RegexMatchSetId }),
|
|
4522
|
-
};
|
|
4523
|
-
};
|
|
4524
|
-
const se_GetRegexPatternSetRequest = (input, context) => {
|
|
4525
|
-
return {
|
|
4526
|
-
...(input.RegexPatternSetId != null && { RegexPatternSetId: input.RegexPatternSetId }),
|
|
4527
|
-
};
|
|
4528
|
-
};
|
|
4529
|
-
const se_GetRuleGroupRequest = (input, context) => {
|
|
4530
|
-
return {
|
|
4531
|
-
...(input.RuleGroupId != null && { RuleGroupId: input.RuleGroupId }),
|
|
4532
|
-
};
|
|
4533
|
-
};
|
|
4534
|
-
const se_GetRuleRequest = (input, context) => {
|
|
4535
|
-
return {
|
|
4536
|
-
...(input.RuleId != null && { RuleId: input.RuleId }),
|
|
4537
|
-
};
|
|
4538
|
-
};
|
|
4539
|
-
const se_GetSampledRequestsRequest = (input, context) => {
|
|
4540
|
-
return {
|
|
4541
|
-
...(input.MaxItems != null && { MaxItems: input.MaxItems }),
|
|
4542
|
-
...(input.RuleId != null && { RuleId: input.RuleId }),
|
|
4543
|
-
...(input.TimeWindow != null && { TimeWindow: se_TimeWindow(input.TimeWindow, context) }),
|
|
4544
|
-
...(input.WebAclId != null && { WebAclId: input.WebAclId }),
|
|
4545
|
-
};
|
|
4546
|
-
};
|
|
4547
|
-
const se_GetSizeConstraintSetRequest = (input, context) => {
|
|
4548
|
-
return {
|
|
4549
|
-
...(input.SizeConstraintSetId != null && { SizeConstraintSetId: input.SizeConstraintSetId }),
|
|
4550
|
-
};
|
|
4551
|
-
};
|
|
4552
|
-
const se_GetSqlInjectionMatchSetRequest = (input, context) => {
|
|
4553
|
-
return {
|
|
4554
|
-
...(input.SqlInjectionMatchSetId != null && { SqlInjectionMatchSetId: input.SqlInjectionMatchSetId }),
|
|
4555
|
-
};
|
|
4556
|
-
};
|
|
4557
|
-
const se_GetWebACLRequest = (input, context) => {
|
|
4558
|
-
return {
|
|
4559
|
-
...(input.WebACLId != null && { WebACLId: input.WebACLId }),
|
|
4560
|
-
};
|
|
4561
|
-
};
|
|
4562
|
-
const se_GetXssMatchSetRequest = (input, context) => {
|
|
4563
|
-
return {
|
|
4564
|
-
...(input.XssMatchSetId != null && { XssMatchSetId: input.XssMatchSetId }),
|
|
4565
|
-
};
|
|
4566
|
-
};
|
|
4567
|
-
const se_IPSetDescriptor = (input, context) => {
|
|
4568
|
-
return {
|
|
4569
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4570
|
-
...(input.Value != null && { Value: input.Value }),
|
|
4571
|
-
};
|
|
4572
|
-
};
|
|
4573
|
-
const se_IPSetUpdate = (input, context) => {
|
|
4574
|
-
return {
|
|
4575
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4576
|
-
...(input.IPSetDescriptor != null && { IPSetDescriptor: se_IPSetDescriptor(input.IPSetDescriptor, context) }),
|
|
4577
|
-
};
|
|
4578
|
-
};
|
|
4579
|
-
const se_IPSetUpdates = (input, context) => {
|
|
4580
|
-
return input
|
|
4581
|
-
.filter((e) => e != null)
|
|
4582
|
-
.map((entry) => {
|
|
4583
|
-
return se_IPSetUpdate(entry, context);
|
|
4584
|
-
});
|
|
4585
|
-
};
|
|
4586
|
-
const se_ListActivatedRulesInRuleGroupRequest = (input, context) => {
|
|
4587
|
-
return {
|
|
4588
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4589
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4590
|
-
...(input.RuleGroupId != null && { RuleGroupId: input.RuleGroupId }),
|
|
4591
|
-
};
|
|
4592
|
-
};
|
|
4593
|
-
const se_ListByteMatchSetsRequest = (input, context) => {
|
|
4594
|
-
return {
|
|
4595
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4596
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4597
|
-
};
|
|
4598
|
-
};
|
|
4599
|
-
const se_ListGeoMatchSetsRequest = (input, context) => {
|
|
4600
|
-
return {
|
|
4601
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4602
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4603
|
-
};
|
|
4604
|
-
};
|
|
4605
|
-
const se_ListIPSetsRequest = (input, context) => {
|
|
4606
|
-
return {
|
|
4607
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4608
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4609
|
-
};
|
|
4610
|
-
};
|
|
4611
|
-
const se_ListLoggingConfigurationsRequest = (input, context) => {
|
|
4612
|
-
return {
|
|
4613
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4614
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4615
|
-
};
|
|
4616
|
-
};
|
|
4617
|
-
const se_ListRateBasedRulesRequest = (input, context) => {
|
|
4618
|
-
return {
|
|
4619
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4620
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4621
|
-
};
|
|
4622
|
-
};
|
|
4623
|
-
const se_ListRegexMatchSetsRequest = (input, context) => {
|
|
4624
|
-
return {
|
|
4625
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4626
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4627
|
-
};
|
|
4628
|
-
};
|
|
4629
|
-
const se_ListRegexPatternSetsRequest = (input, context) => {
|
|
4630
|
-
return {
|
|
4631
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4632
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4633
|
-
};
|
|
4634
|
-
};
|
|
4635
|
-
const se_ListRuleGroupsRequest = (input, context) => {
|
|
4636
|
-
return {
|
|
4637
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4638
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4639
|
-
};
|
|
4640
|
-
};
|
|
4641
|
-
const se_ListRulesRequest = (input, context) => {
|
|
4642
|
-
return {
|
|
4643
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4644
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4645
|
-
};
|
|
4646
|
-
};
|
|
4647
|
-
const se_ListSizeConstraintSetsRequest = (input, context) => {
|
|
4648
|
-
return {
|
|
4649
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4650
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4651
|
-
};
|
|
4652
|
-
};
|
|
4653
|
-
const se_ListSqlInjectionMatchSetsRequest = (input, context) => {
|
|
4654
|
-
return {
|
|
4655
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4656
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4657
|
-
};
|
|
4658
|
-
};
|
|
4659
|
-
const se_ListSubscribedRuleGroupsRequest = (input, context) => {
|
|
4660
|
-
return {
|
|
4661
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4662
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4663
|
-
};
|
|
4664
|
-
};
|
|
4665
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
4666
|
-
return {
|
|
4667
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4668
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4669
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
4670
|
-
};
|
|
4671
|
-
};
|
|
4672
|
-
const se_ListWebACLsRequest = (input, context) => {
|
|
4673
|
-
return {
|
|
4674
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4675
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4676
|
-
};
|
|
4677
|
-
};
|
|
4678
|
-
const se_ListXssMatchSetsRequest = (input, context) => {
|
|
4679
|
-
return {
|
|
4680
|
-
...(input.Limit != null && { Limit: input.Limit }),
|
|
4681
|
-
...(input.NextMarker != null && { NextMarker: input.NextMarker }),
|
|
4682
|
-
};
|
|
4683
|
-
};
|
|
4684
|
-
const se_LogDestinationConfigs = (input, context) => {
|
|
4685
|
-
return input
|
|
4686
|
-
.filter((e) => e != null)
|
|
4687
|
-
.map((entry) => {
|
|
4688
|
-
return entry;
|
|
4689
|
-
});
|
|
4690
|
-
};
|
|
4691
|
-
const se_LoggingConfiguration = (input, context) => {
|
|
4692
|
-
return {
|
|
4693
|
-
...(input.LogDestinationConfigs != null && {
|
|
4694
|
-
LogDestinationConfigs: se_LogDestinationConfigs(input.LogDestinationConfigs, context),
|
|
4695
|
-
}),
|
|
4696
|
-
...(input.RedactedFields != null && { RedactedFields: se_RedactedFields(input.RedactedFields, context) }),
|
|
4697
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4698
|
-
};
|
|
4699
|
-
};
|
|
4700
|
-
const se_Predicate = (input, context) => {
|
|
4701
|
-
return {
|
|
4702
|
-
...(input.DataId != null && { DataId: input.DataId }),
|
|
4703
|
-
...(input.Negated != null && { Negated: input.Negated }),
|
|
4704
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4705
|
-
};
|
|
4706
|
-
};
|
|
4707
|
-
const se_PutLoggingConfigurationRequest = (input, context) => {
|
|
4708
|
-
return {
|
|
4709
|
-
...(input.LoggingConfiguration != null && {
|
|
4710
|
-
LoggingConfiguration: se_LoggingConfiguration(input.LoggingConfiguration, context),
|
|
4711
|
-
}),
|
|
4712
|
-
};
|
|
4713
|
-
};
|
|
4714
|
-
const se_PutPermissionPolicyRequest = (input, context) => {
|
|
4715
|
-
return {
|
|
4716
|
-
...(input.Policy != null && { Policy: input.Policy }),
|
|
4717
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4718
|
-
};
|
|
4719
|
-
};
|
|
4720
|
-
const se_RedactedFields = (input, context) => {
|
|
4721
|
-
return input
|
|
4722
|
-
.filter((e) => e != null)
|
|
4723
|
-
.map((entry) => {
|
|
4724
|
-
return se_FieldToMatch(entry, context);
|
|
4725
|
-
});
|
|
4726
|
-
};
|
|
4727
|
-
const se_RegexMatchSetUpdate = (input, context) => {
|
|
4728
|
-
return {
|
|
4729
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4730
|
-
...(input.RegexMatchTuple != null && { RegexMatchTuple: se_RegexMatchTuple(input.RegexMatchTuple, context) }),
|
|
4731
|
-
};
|
|
4732
|
-
};
|
|
4733
|
-
const se_RegexMatchSetUpdates = (input, context) => {
|
|
4734
|
-
return input
|
|
4735
|
-
.filter((e) => e != null)
|
|
4736
|
-
.map((entry) => {
|
|
4737
|
-
return se_RegexMatchSetUpdate(entry, context);
|
|
4738
|
-
});
|
|
4739
|
-
};
|
|
4740
|
-
const se_RegexMatchTuple = (input, context) => {
|
|
4741
|
-
return {
|
|
4742
|
-
...(input.FieldToMatch != null && { FieldToMatch: se_FieldToMatch(input.FieldToMatch, context) }),
|
|
4743
|
-
...(input.RegexPatternSetId != null && { RegexPatternSetId: input.RegexPatternSetId }),
|
|
4744
|
-
...(input.TextTransformation != null && { TextTransformation: input.TextTransformation }),
|
|
4745
|
-
};
|
|
4746
|
-
};
|
|
4747
|
-
const se_RegexPatternSetUpdate = (input, context) => {
|
|
4748
|
-
return {
|
|
4749
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4750
|
-
...(input.RegexPatternString != null && { RegexPatternString: input.RegexPatternString }),
|
|
4751
|
-
};
|
|
4752
|
-
};
|
|
4753
|
-
const se_RegexPatternSetUpdates = (input, context) => {
|
|
4754
|
-
return input
|
|
4755
|
-
.filter((e) => e != null)
|
|
4756
|
-
.map((entry) => {
|
|
4757
|
-
return se_RegexPatternSetUpdate(entry, context);
|
|
4758
|
-
});
|
|
4759
|
-
};
|
|
4760
|
-
const se_RuleGroupUpdate = (input, context) => {
|
|
4761
|
-
return {
|
|
4762
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4763
|
-
...(input.ActivatedRule != null && { ActivatedRule: se_ActivatedRule(input.ActivatedRule, context) }),
|
|
4764
|
-
};
|
|
4765
|
-
};
|
|
4766
|
-
const se_RuleGroupUpdates = (input, context) => {
|
|
4767
|
-
return input
|
|
4768
|
-
.filter((e) => e != null)
|
|
4769
|
-
.map((entry) => {
|
|
4770
|
-
return se_RuleGroupUpdate(entry, context);
|
|
4771
|
-
});
|
|
4772
|
-
};
|
|
4773
|
-
const se_RuleUpdate = (input, context) => {
|
|
4774
|
-
return {
|
|
4775
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4776
|
-
...(input.Predicate != null && { Predicate: se_Predicate(input.Predicate, context) }),
|
|
4777
|
-
};
|
|
4778
|
-
};
|
|
4779
|
-
const se_RuleUpdates = (input, context) => {
|
|
4780
|
-
return input
|
|
4781
|
-
.filter((e) => e != null)
|
|
4782
|
-
.map((entry) => {
|
|
4783
|
-
return se_RuleUpdate(entry, context);
|
|
4784
|
-
});
|
|
4785
|
-
};
|
|
4786
|
-
const se_SizeConstraint = (input, context) => {
|
|
4787
|
-
return {
|
|
4788
|
-
...(input.ComparisonOperator != null && { ComparisonOperator: input.ComparisonOperator }),
|
|
4789
|
-
...(input.FieldToMatch != null && { FieldToMatch: se_FieldToMatch(input.FieldToMatch, context) }),
|
|
4790
|
-
...(input.Size != null && { Size: input.Size }),
|
|
4791
|
-
...(input.TextTransformation != null && { TextTransformation: input.TextTransformation }),
|
|
4792
|
-
};
|
|
4793
|
-
};
|
|
4794
|
-
const se_SizeConstraintSetUpdate = (input, context) => {
|
|
4795
|
-
return {
|
|
4796
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4797
|
-
...(input.SizeConstraint != null && { SizeConstraint: se_SizeConstraint(input.SizeConstraint, context) }),
|
|
4798
|
-
};
|
|
4799
|
-
};
|
|
4800
|
-
const se_SizeConstraintSetUpdates = (input, context) => {
|
|
4801
|
-
return input
|
|
4802
|
-
.filter((e) => e != null)
|
|
4803
|
-
.map((entry) => {
|
|
4804
|
-
return se_SizeConstraintSetUpdate(entry, context);
|
|
4805
|
-
});
|
|
4806
|
-
};
|
|
4807
|
-
const se_SqlInjectionMatchSetUpdate = (input, context) => {
|
|
4808
|
-
return {
|
|
4809
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4810
|
-
...(input.SqlInjectionMatchTuple != null && {
|
|
4811
|
-
SqlInjectionMatchTuple: se_SqlInjectionMatchTuple(input.SqlInjectionMatchTuple, context),
|
|
4812
|
-
}),
|
|
4813
|
-
};
|
|
4814
|
-
};
|
|
4815
|
-
const se_SqlInjectionMatchSetUpdates = (input, context) => {
|
|
4816
|
-
return input
|
|
4817
|
-
.filter((e) => e != null)
|
|
4818
|
-
.map((entry) => {
|
|
4819
|
-
return se_SqlInjectionMatchSetUpdate(entry, context);
|
|
4820
|
-
});
|
|
4821
|
-
};
|
|
4822
|
-
const se_SqlInjectionMatchTuple = (input, context) => {
|
|
4823
|
-
return {
|
|
4824
|
-
...(input.FieldToMatch != null && { FieldToMatch: se_FieldToMatch(input.FieldToMatch, context) }),
|
|
4825
|
-
...(input.TextTransformation != null && { TextTransformation: input.TextTransformation }),
|
|
4826
|
-
};
|
|
4827
|
-
};
|
|
4828
|
-
const se_Tag = (input, context) => {
|
|
4829
|
-
return {
|
|
4830
|
-
...(input.Key != null && { Key: input.Key }),
|
|
4831
|
-
...(input.Value != null && { Value: input.Value }),
|
|
4832
|
-
};
|
|
4833
|
-
};
|
|
4834
|
-
const se_TagKeyList = (input, context) => {
|
|
4835
|
-
return input
|
|
4836
|
-
.filter((e) => e != null)
|
|
4837
|
-
.map((entry) => {
|
|
4838
|
-
return entry;
|
|
4839
|
-
});
|
|
4840
|
-
};
|
|
4841
|
-
const se_TagList = (input, context) => {
|
|
4842
|
-
return input
|
|
4843
|
-
.filter((e) => e != null)
|
|
4844
|
-
.map((entry) => {
|
|
4845
|
-
return se_Tag(entry, context);
|
|
4846
|
-
});
|
|
4847
|
-
};
|
|
4848
|
-
const se_TagResourceRequest = (input, context) => {
|
|
4849
|
-
return {
|
|
4850
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
4851
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
4852
|
-
};
|
|
4853
|
-
};
|
|
4854
|
-
const se_TimeWindow = (input, context) => {
|
|
4855
|
-
return {
|
|
4856
|
-
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
4857
|
-
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
4858
|
-
};
|
|
4859
|
-
};
|
|
4860
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
4861
|
-
return {
|
|
4862
|
-
...(input.ResourceARN != null && { ResourceARN: input.ResourceARN }),
|
|
4863
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
4864
|
-
};
|
|
4865
|
-
};
|
|
4866
|
-
const se_UpdateByteMatchSetRequest = (input, context) => {
|
|
4867
|
-
return {
|
|
4868
|
-
...(input.ByteMatchSetId != null && { ByteMatchSetId: input.ByteMatchSetId }),
|
|
4869
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4870
|
-
...(input.Updates != null && { Updates: se_ByteMatchSetUpdates(input.Updates, context) }),
|
|
4871
|
-
};
|
|
4872
|
-
};
|
|
4873
|
-
const se_UpdateGeoMatchSetRequest = (input, context) => {
|
|
4874
|
-
return {
|
|
4875
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4876
|
-
...(input.GeoMatchSetId != null && { GeoMatchSetId: input.GeoMatchSetId }),
|
|
4877
|
-
...(input.Updates != null && { Updates: se_GeoMatchSetUpdates(input.Updates, context) }),
|
|
4878
|
-
};
|
|
4879
|
-
};
|
|
4880
|
-
const se_UpdateIPSetRequest = (input, context) => {
|
|
4881
|
-
return {
|
|
4882
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4883
|
-
...(input.IPSetId != null && { IPSetId: input.IPSetId }),
|
|
4884
|
-
...(input.Updates != null && { Updates: se_IPSetUpdates(input.Updates, context) }),
|
|
4885
|
-
};
|
|
4886
|
-
};
|
|
4887
|
-
const se_UpdateRateBasedRuleRequest = (input, context) => {
|
|
4888
|
-
return {
|
|
4889
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4890
|
-
...(input.RateLimit != null && { RateLimit: input.RateLimit }),
|
|
4891
|
-
...(input.RuleId != null && { RuleId: input.RuleId }),
|
|
4892
|
-
...(input.Updates != null && { Updates: se_RuleUpdates(input.Updates, context) }),
|
|
4893
|
-
};
|
|
4894
|
-
};
|
|
4895
|
-
const se_UpdateRegexMatchSetRequest = (input, context) => {
|
|
4896
|
-
return {
|
|
4897
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4898
|
-
...(input.RegexMatchSetId != null && { RegexMatchSetId: input.RegexMatchSetId }),
|
|
4899
|
-
...(input.Updates != null && { Updates: se_RegexMatchSetUpdates(input.Updates, context) }),
|
|
4900
|
-
};
|
|
4901
|
-
};
|
|
4902
|
-
const se_UpdateRegexPatternSetRequest = (input, context) => {
|
|
4903
|
-
return {
|
|
4904
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4905
|
-
...(input.RegexPatternSetId != null && { RegexPatternSetId: input.RegexPatternSetId }),
|
|
4906
|
-
...(input.Updates != null && { Updates: se_RegexPatternSetUpdates(input.Updates, context) }),
|
|
4907
|
-
};
|
|
4908
|
-
};
|
|
4909
|
-
const se_UpdateRuleGroupRequest = (input, context) => {
|
|
4910
|
-
return {
|
|
4911
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4912
|
-
...(input.RuleGroupId != null && { RuleGroupId: input.RuleGroupId }),
|
|
4913
|
-
...(input.Updates != null && { Updates: se_RuleGroupUpdates(input.Updates, context) }),
|
|
4914
|
-
};
|
|
4915
|
-
};
|
|
4916
|
-
const se_UpdateRuleRequest = (input, context) => {
|
|
4917
|
-
return {
|
|
4918
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4919
|
-
...(input.RuleId != null && { RuleId: input.RuleId }),
|
|
4920
|
-
...(input.Updates != null && { Updates: se_RuleUpdates(input.Updates, context) }),
|
|
4921
|
-
};
|
|
4922
|
-
};
|
|
4923
|
-
const se_UpdateSizeConstraintSetRequest = (input, context) => {
|
|
4924
|
-
return {
|
|
4925
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4926
|
-
...(input.SizeConstraintSetId != null && { SizeConstraintSetId: input.SizeConstraintSetId }),
|
|
4927
|
-
...(input.Updates != null && { Updates: se_SizeConstraintSetUpdates(input.Updates, context) }),
|
|
4928
|
-
};
|
|
4929
|
-
};
|
|
4930
|
-
const se_UpdateSqlInjectionMatchSetRequest = (input, context) => {
|
|
4931
|
-
return {
|
|
4932
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4933
|
-
...(input.SqlInjectionMatchSetId != null && { SqlInjectionMatchSetId: input.SqlInjectionMatchSetId }),
|
|
4934
|
-
...(input.Updates != null && { Updates: se_SqlInjectionMatchSetUpdates(input.Updates, context) }),
|
|
4935
|
-
};
|
|
4936
|
-
};
|
|
4937
|
-
const se_UpdateWebACLRequest = (input, context) => {
|
|
4938
|
-
return {
|
|
4939
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4940
|
-
...(input.DefaultAction != null && { DefaultAction: se_WafAction(input.DefaultAction, context) }),
|
|
4941
|
-
...(input.Updates != null && { Updates: se_WebACLUpdates(input.Updates, context) }),
|
|
4942
|
-
...(input.WebACLId != null && { WebACLId: input.WebACLId }),
|
|
4943
|
-
};
|
|
4944
|
-
};
|
|
4945
|
-
const se_UpdateXssMatchSetRequest = (input, context) => {
|
|
4946
|
-
return {
|
|
4947
|
-
...(input.ChangeToken != null && { ChangeToken: input.ChangeToken }),
|
|
4948
|
-
...(input.Updates != null && { Updates: se_XssMatchSetUpdates(input.Updates, context) }),
|
|
4949
|
-
...(input.XssMatchSetId != null && { XssMatchSetId: input.XssMatchSetId }),
|
|
4950
|
-
};
|
|
4951
|
-
};
|
|
4952
|
-
const se_WafAction = (input, context) => {
|
|
4953
|
-
return {
|
|
4954
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4955
|
-
};
|
|
4956
|
-
};
|
|
4957
|
-
const se_WafOverrideAction = (input, context) => {
|
|
4958
|
-
return {
|
|
4959
|
-
...(input.Type != null && { Type: input.Type }),
|
|
4960
|
-
};
|
|
4961
|
-
};
|
|
4962
|
-
const se_WebACLUpdate = (input, context) => {
|
|
4963
|
-
return {
|
|
4964
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4965
|
-
...(input.ActivatedRule != null && { ActivatedRule: se_ActivatedRule(input.ActivatedRule, context) }),
|
|
4966
|
-
};
|
|
4967
|
-
};
|
|
4968
|
-
const se_WebACLUpdates = (input, context) => {
|
|
4969
|
-
return input
|
|
4970
|
-
.filter((e) => e != null)
|
|
4971
|
-
.map((entry) => {
|
|
4972
|
-
return se_WebACLUpdate(entry, context);
|
|
4973
|
-
});
|
|
4974
|
-
};
|
|
4975
|
-
const se_XssMatchSetUpdate = (input, context) => {
|
|
4976
|
-
return {
|
|
4977
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4978
|
-
...(input.XssMatchTuple != null && { XssMatchTuple: se_XssMatchTuple(input.XssMatchTuple, context) }),
|
|
4979
|
-
};
|
|
4980
|
-
};
|
|
4981
|
-
const se_XssMatchSetUpdates = (input, context) => {
|
|
4982
|
-
return input
|
|
4983
|
-
.filter((e) => e != null)
|
|
4984
|
-
.map((entry) => {
|
|
4985
|
-
return se_XssMatchSetUpdate(entry, context);
|
|
4986
|
-
});
|
|
4987
|
-
};
|
|
4988
|
-
const se_XssMatchTuple = (input, context) => {
|
|
4989
|
-
return {
|
|
4990
|
-
...(input.FieldToMatch != null && { FieldToMatch: se_FieldToMatch(input.FieldToMatch, context) }),
|
|
4991
|
-
...(input.TextTransformation != null && { TextTransformation: input.TextTransformation }),
|
|
4992
|
-
};
|
|
4993
|
-
};
|
|
4994
|
-
const de_ActivatedRule = (output, context) => {
|
|
4995
|
-
return {
|
|
4996
|
-
Action: output.Action != null ? de_WafAction(output.Action, context) : undefined,
|
|
4997
|
-
ExcludedRules: output.ExcludedRules != null ? de_ExcludedRules(output.ExcludedRules, context) : undefined,
|
|
4998
|
-
OverrideAction: output.OverrideAction != null ? de_WafOverrideAction(output.OverrideAction, context) : undefined,
|
|
4999
|
-
Priority: (0, smithy_client_1.expectInt32)(output.Priority),
|
|
5000
|
-
RuleId: (0, smithy_client_1.expectString)(output.RuleId),
|
|
5001
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5002
|
-
};
|
|
5003
|
-
};
|
|
5004
|
-
const de_ActivatedRules = (output, context) => {
|
|
5005
|
-
const retVal = (output || [])
|
|
5006
|
-
.filter((e) => e != null)
|
|
5007
|
-
.map((entry) => {
|
|
5008
|
-
if (entry === null) {
|
|
5009
|
-
return null;
|
|
5010
|
-
}
|
|
5011
|
-
return de_ActivatedRule(entry, context);
|
|
5012
|
-
});
|
|
5013
|
-
return retVal;
|
|
5014
|
-
};
|
|
5015
|
-
const de_ByteMatchSet = (output, context) => {
|
|
5016
|
-
return {
|
|
5017
|
-
ByteMatchSetId: (0, smithy_client_1.expectString)(output.ByteMatchSetId),
|
|
5018
|
-
ByteMatchTuples: output.ByteMatchTuples != null ? de_ByteMatchTuples(output.ByteMatchTuples, context) : undefined,
|
|
5019
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5020
|
-
};
|
|
5021
|
-
};
|
|
5022
|
-
const de_ByteMatchSetSummaries = (output, context) => {
|
|
5023
|
-
const retVal = (output || [])
|
|
5024
|
-
.filter((e) => e != null)
|
|
5025
|
-
.map((entry) => {
|
|
5026
|
-
if (entry === null) {
|
|
5027
|
-
return null;
|
|
5028
|
-
}
|
|
5029
|
-
return de_ByteMatchSetSummary(entry, context);
|
|
5030
|
-
});
|
|
5031
|
-
return retVal;
|
|
5032
|
-
};
|
|
5033
|
-
const de_ByteMatchSetSummary = (output, context) => {
|
|
5034
|
-
return {
|
|
5035
|
-
ByteMatchSetId: (0, smithy_client_1.expectString)(output.ByteMatchSetId),
|
|
5036
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5037
|
-
};
|
|
5038
|
-
};
|
|
5039
|
-
const de_ByteMatchTuple = (output, context) => {
|
|
5040
|
-
return {
|
|
5041
|
-
FieldToMatch: output.FieldToMatch != null ? de_FieldToMatch(output.FieldToMatch, context) : undefined,
|
|
5042
|
-
PositionalConstraint: (0, smithy_client_1.expectString)(output.PositionalConstraint),
|
|
5043
|
-
TargetString: output.TargetString != null ? context.base64Decoder(output.TargetString) : undefined,
|
|
5044
|
-
TextTransformation: (0, smithy_client_1.expectString)(output.TextTransformation),
|
|
5045
|
-
};
|
|
5046
|
-
};
|
|
5047
|
-
const de_ByteMatchTuples = (output, context) => {
|
|
5048
|
-
const retVal = (output || [])
|
|
5049
|
-
.filter((e) => e != null)
|
|
5050
|
-
.map((entry) => {
|
|
5051
|
-
if (entry === null) {
|
|
5052
|
-
return null;
|
|
5053
|
-
}
|
|
5054
|
-
return de_ByteMatchTuple(entry, context);
|
|
5055
|
-
});
|
|
5056
|
-
return retVal;
|
|
5057
|
-
};
|
|
5058
|
-
const de_CreateByteMatchSetResponse = (output, context) => {
|
|
5059
|
-
return {
|
|
5060
|
-
ByteMatchSet: output.ByteMatchSet != null ? de_ByteMatchSet(output.ByteMatchSet, context) : undefined,
|
|
5061
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5062
|
-
};
|
|
5063
|
-
};
|
|
5064
|
-
const de_CreateGeoMatchSetResponse = (output, context) => {
|
|
5065
|
-
return {
|
|
5066
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5067
|
-
GeoMatchSet: output.GeoMatchSet != null ? de_GeoMatchSet(output.GeoMatchSet, context) : undefined,
|
|
5068
|
-
};
|
|
5069
|
-
};
|
|
5070
|
-
const de_CreateIPSetResponse = (output, context) => {
|
|
5071
|
-
return {
|
|
5072
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5073
|
-
IPSet: output.IPSet != null ? de_IPSet(output.IPSet, context) : undefined,
|
|
5074
|
-
};
|
|
5075
|
-
};
|
|
5076
|
-
const de_CreateRateBasedRuleResponse = (output, context) => {
|
|
5077
|
-
return {
|
|
5078
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5079
|
-
Rule: output.Rule != null ? de_RateBasedRule(output.Rule, context) : undefined,
|
|
5080
|
-
};
|
|
5081
|
-
};
|
|
5082
|
-
const de_CreateRegexMatchSetResponse = (output, context) => {
|
|
5083
|
-
return {
|
|
5084
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5085
|
-
RegexMatchSet: output.RegexMatchSet != null ? de_RegexMatchSet(output.RegexMatchSet, context) : undefined,
|
|
5086
|
-
};
|
|
5087
|
-
};
|
|
5088
|
-
const de_CreateRegexPatternSetResponse = (output, context) => {
|
|
5089
|
-
return {
|
|
5090
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5091
|
-
RegexPatternSet: output.RegexPatternSet != null ? de_RegexPatternSet(output.RegexPatternSet, context) : undefined,
|
|
5092
|
-
};
|
|
5093
|
-
};
|
|
5094
|
-
const de_CreateRuleGroupResponse = (output, context) => {
|
|
5095
|
-
return {
|
|
5096
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5097
|
-
RuleGroup: output.RuleGroup != null ? de_RuleGroup(output.RuleGroup, context) : undefined,
|
|
5098
|
-
};
|
|
5099
|
-
};
|
|
5100
|
-
const de_CreateRuleResponse = (output, context) => {
|
|
5101
|
-
return {
|
|
5102
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5103
|
-
Rule: output.Rule != null ? de_Rule(output.Rule, context) : undefined,
|
|
5104
|
-
};
|
|
5105
|
-
};
|
|
5106
|
-
const de_CreateSizeConstraintSetResponse = (output, context) => {
|
|
5107
|
-
return {
|
|
5108
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5109
|
-
SizeConstraintSet: output.SizeConstraintSet != null ? de_SizeConstraintSet(output.SizeConstraintSet, context) : undefined,
|
|
5110
|
-
};
|
|
5111
|
-
};
|
|
5112
|
-
const de_CreateSqlInjectionMatchSetResponse = (output, context) => {
|
|
5113
|
-
return {
|
|
5114
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5115
|
-
SqlInjectionMatchSet: output.SqlInjectionMatchSet != null ? de_SqlInjectionMatchSet(output.SqlInjectionMatchSet, context) : undefined,
|
|
5116
|
-
};
|
|
5117
|
-
};
|
|
5118
|
-
const de_CreateWebACLMigrationStackResponse = (output, context) => {
|
|
5119
|
-
return {
|
|
5120
|
-
S3ObjectUrl: (0, smithy_client_1.expectString)(output.S3ObjectUrl),
|
|
5121
|
-
};
|
|
5122
|
-
};
|
|
5123
|
-
const de_CreateWebACLResponse = (output, context) => {
|
|
5124
|
-
return {
|
|
5125
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5126
|
-
WebACL: output.WebACL != null ? de_WebACL(output.WebACL, context) : undefined,
|
|
5127
|
-
};
|
|
5128
|
-
};
|
|
5129
|
-
const de_CreateXssMatchSetResponse = (output, context) => {
|
|
5130
|
-
return {
|
|
5131
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5132
|
-
XssMatchSet: output.XssMatchSet != null ? de_XssMatchSet(output.XssMatchSet, context) : undefined,
|
|
5133
|
-
};
|
|
5134
|
-
};
|
|
5135
|
-
const de_DeleteByteMatchSetResponse = (output, context) => {
|
|
5136
|
-
return {
|
|
5137
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5138
|
-
};
|
|
5139
|
-
};
|
|
5140
|
-
const de_DeleteGeoMatchSetResponse = (output, context) => {
|
|
5141
|
-
return {
|
|
5142
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5143
|
-
};
|
|
5144
|
-
};
|
|
5145
|
-
const de_DeleteIPSetResponse = (output, context) => {
|
|
5146
|
-
return {
|
|
5147
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5148
|
-
};
|
|
5149
|
-
};
|
|
5150
|
-
const de_DeleteLoggingConfigurationResponse = (output, context) => {
|
|
5151
|
-
return {};
|
|
5152
|
-
};
|
|
5153
|
-
const de_DeletePermissionPolicyResponse = (output, context) => {
|
|
5154
|
-
return {};
|
|
5155
|
-
};
|
|
5156
|
-
const de_DeleteRateBasedRuleResponse = (output, context) => {
|
|
5157
|
-
return {
|
|
5158
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5159
|
-
};
|
|
5160
|
-
};
|
|
5161
|
-
const de_DeleteRegexMatchSetResponse = (output, context) => {
|
|
5162
|
-
return {
|
|
5163
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5164
|
-
};
|
|
5165
|
-
};
|
|
5166
|
-
const de_DeleteRegexPatternSetResponse = (output, context) => {
|
|
5167
|
-
return {
|
|
5168
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5169
|
-
};
|
|
5170
|
-
};
|
|
5171
|
-
const de_DeleteRuleGroupResponse = (output, context) => {
|
|
5172
|
-
return {
|
|
5173
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5174
|
-
};
|
|
5175
|
-
};
|
|
5176
|
-
const de_DeleteRuleResponse = (output, context) => {
|
|
5177
|
-
return {
|
|
5178
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5179
|
-
};
|
|
5180
|
-
};
|
|
5181
|
-
const de_DeleteSizeConstraintSetResponse = (output, context) => {
|
|
5182
|
-
return {
|
|
5183
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5184
|
-
};
|
|
5185
|
-
};
|
|
5186
|
-
const de_DeleteSqlInjectionMatchSetResponse = (output, context) => {
|
|
5187
|
-
return {
|
|
5188
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5189
|
-
};
|
|
5190
|
-
};
|
|
5191
|
-
const de_DeleteWebACLResponse = (output, context) => {
|
|
5192
|
-
return {
|
|
5193
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5194
|
-
};
|
|
5195
|
-
};
|
|
5196
|
-
const de_DeleteXssMatchSetResponse = (output, context) => {
|
|
5197
|
-
return {
|
|
5198
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5199
|
-
};
|
|
5200
|
-
};
|
|
5201
|
-
const de_ExcludedRule = (output, context) => {
|
|
5202
|
-
return {
|
|
5203
|
-
RuleId: (0, smithy_client_1.expectString)(output.RuleId),
|
|
5204
|
-
};
|
|
5205
|
-
};
|
|
5206
|
-
const de_ExcludedRules = (output, context) => {
|
|
5207
|
-
const retVal = (output || [])
|
|
5208
|
-
.filter((e) => e != null)
|
|
5209
|
-
.map((entry) => {
|
|
5210
|
-
if (entry === null) {
|
|
5211
|
-
return null;
|
|
5212
|
-
}
|
|
5213
|
-
return de_ExcludedRule(entry, context);
|
|
5214
|
-
});
|
|
5215
|
-
return retVal;
|
|
5216
|
-
};
|
|
5217
|
-
const de_FieldToMatch = (output, context) => {
|
|
5218
|
-
return {
|
|
5219
|
-
Data: (0, smithy_client_1.expectString)(output.Data),
|
|
5220
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5221
|
-
};
|
|
5222
|
-
};
|
|
5223
|
-
const de_GeoMatchConstraint = (output, context) => {
|
|
5224
|
-
return {
|
|
5225
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5226
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
5227
|
-
};
|
|
5228
|
-
};
|
|
5229
|
-
const de_GeoMatchConstraints = (output, context) => {
|
|
5230
|
-
const retVal = (output || [])
|
|
5231
|
-
.filter((e) => e != null)
|
|
5232
|
-
.map((entry) => {
|
|
5233
|
-
if (entry === null) {
|
|
5234
|
-
return null;
|
|
5235
|
-
}
|
|
5236
|
-
return de_GeoMatchConstraint(entry, context);
|
|
5237
|
-
});
|
|
5238
|
-
return retVal;
|
|
5239
|
-
};
|
|
5240
|
-
const de_GeoMatchSet = (output, context) => {
|
|
5241
|
-
return {
|
|
5242
|
-
GeoMatchConstraints: output.GeoMatchConstraints != null ? de_GeoMatchConstraints(output.GeoMatchConstraints, context) : undefined,
|
|
5243
|
-
GeoMatchSetId: (0, smithy_client_1.expectString)(output.GeoMatchSetId),
|
|
5244
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5245
|
-
};
|
|
5246
|
-
};
|
|
5247
|
-
const de_GeoMatchSetSummaries = (output, context) => {
|
|
5248
|
-
const retVal = (output || [])
|
|
5249
|
-
.filter((e) => e != null)
|
|
5250
|
-
.map((entry) => {
|
|
5251
|
-
if (entry === null) {
|
|
5252
|
-
return null;
|
|
5253
|
-
}
|
|
5254
|
-
return de_GeoMatchSetSummary(entry, context);
|
|
5255
|
-
});
|
|
5256
|
-
return retVal;
|
|
5257
|
-
};
|
|
5258
|
-
const de_GeoMatchSetSummary = (output, context) => {
|
|
5259
|
-
return {
|
|
5260
|
-
GeoMatchSetId: (0, smithy_client_1.expectString)(output.GeoMatchSetId),
|
|
5261
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5262
|
-
};
|
|
5263
|
-
};
|
|
5264
|
-
const de_GetByteMatchSetResponse = (output, context) => {
|
|
5265
|
-
return {
|
|
5266
|
-
ByteMatchSet: output.ByteMatchSet != null ? de_ByteMatchSet(output.ByteMatchSet, context) : undefined,
|
|
5267
|
-
};
|
|
5268
|
-
};
|
|
5269
|
-
const de_GetChangeTokenResponse = (output, context) => {
|
|
5270
|
-
return {
|
|
5271
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5272
|
-
};
|
|
5273
|
-
};
|
|
5274
|
-
const de_GetChangeTokenStatusResponse = (output, context) => {
|
|
5275
|
-
return {
|
|
5276
|
-
ChangeTokenStatus: (0, smithy_client_1.expectString)(output.ChangeTokenStatus),
|
|
5277
|
-
};
|
|
5278
|
-
};
|
|
5279
|
-
const de_GetGeoMatchSetResponse = (output, context) => {
|
|
5280
|
-
return {
|
|
5281
|
-
GeoMatchSet: output.GeoMatchSet != null ? de_GeoMatchSet(output.GeoMatchSet, context) : undefined,
|
|
5282
|
-
};
|
|
5283
|
-
};
|
|
5284
|
-
const de_GetIPSetResponse = (output, context) => {
|
|
5285
|
-
return {
|
|
5286
|
-
IPSet: output.IPSet != null ? de_IPSet(output.IPSet, context) : undefined,
|
|
5287
|
-
};
|
|
5288
|
-
};
|
|
5289
|
-
const de_GetLoggingConfigurationResponse = (output, context) => {
|
|
5290
|
-
return {
|
|
5291
|
-
LoggingConfiguration: output.LoggingConfiguration != null ? de_LoggingConfiguration(output.LoggingConfiguration, context) : undefined,
|
|
5292
|
-
};
|
|
5293
|
-
};
|
|
5294
|
-
const de_GetPermissionPolicyResponse = (output, context) => {
|
|
5295
|
-
return {
|
|
5296
|
-
Policy: (0, smithy_client_1.expectString)(output.Policy),
|
|
5297
|
-
};
|
|
5298
|
-
};
|
|
5299
|
-
const de_GetRateBasedRuleManagedKeysResponse = (output, context) => {
|
|
5300
|
-
return {
|
|
5301
|
-
ManagedKeys: output.ManagedKeys != null ? de_ManagedKeys(output.ManagedKeys, context) : undefined,
|
|
5302
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5303
|
-
};
|
|
5304
|
-
};
|
|
5305
|
-
const de_GetRateBasedRuleResponse = (output, context) => {
|
|
5306
|
-
return {
|
|
5307
|
-
Rule: output.Rule != null ? de_RateBasedRule(output.Rule, context) : undefined,
|
|
5308
|
-
};
|
|
5309
|
-
};
|
|
5310
|
-
const de_GetRegexMatchSetResponse = (output, context) => {
|
|
5311
|
-
return {
|
|
5312
|
-
RegexMatchSet: output.RegexMatchSet != null ? de_RegexMatchSet(output.RegexMatchSet, context) : undefined,
|
|
5313
|
-
};
|
|
5314
|
-
};
|
|
5315
|
-
const de_GetRegexPatternSetResponse = (output, context) => {
|
|
5316
|
-
return {
|
|
5317
|
-
RegexPatternSet: output.RegexPatternSet != null ? de_RegexPatternSet(output.RegexPatternSet, context) : undefined,
|
|
5318
|
-
};
|
|
5319
|
-
};
|
|
5320
|
-
const de_GetRuleGroupResponse = (output, context) => {
|
|
5321
|
-
return {
|
|
5322
|
-
RuleGroup: output.RuleGroup != null ? de_RuleGroup(output.RuleGroup, context) : undefined,
|
|
5323
|
-
};
|
|
5324
|
-
};
|
|
5325
|
-
const de_GetRuleResponse = (output, context) => {
|
|
5326
|
-
return {
|
|
5327
|
-
Rule: output.Rule != null ? de_Rule(output.Rule, context) : undefined,
|
|
5328
|
-
};
|
|
5329
|
-
};
|
|
5330
|
-
const de_GetSampledRequestsResponse = (output, context) => {
|
|
5331
|
-
return {
|
|
5332
|
-
PopulationSize: (0, smithy_client_1.expectLong)(output.PopulationSize),
|
|
5333
|
-
SampledRequests: output.SampledRequests != null ? de_SampledHTTPRequests(output.SampledRequests, context) : undefined,
|
|
5334
|
-
TimeWindow: output.TimeWindow != null ? de_TimeWindow(output.TimeWindow, context) : undefined,
|
|
5335
|
-
};
|
|
5336
|
-
};
|
|
5337
|
-
const de_GetSizeConstraintSetResponse = (output, context) => {
|
|
5338
|
-
return {
|
|
5339
|
-
SizeConstraintSet: output.SizeConstraintSet != null ? de_SizeConstraintSet(output.SizeConstraintSet, context) : undefined,
|
|
5340
|
-
};
|
|
5341
|
-
};
|
|
5342
|
-
const de_GetSqlInjectionMatchSetResponse = (output, context) => {
|
|
5343
|
-
return {
|
|
5344
|
-
SqlInjectionMatchSet: output.SqlInjectionMatchSet != null ? de_SqlInjectionMatchSet(output.SqlInjectionMatchSet, context) : undefined,
|
|
5345
|
-
};
|
|
5346
|
-
};
|
|
5347
|
-
const de_GetWebACLResponse = (output, context) => {
|
|
5348
|
-
return {
|
|
5349
|
-
WebACL: output.WebACL != null ? de_WebACL(output.WebACL, context) : undefined,
|
|
5350
|
-
};
|
|
5351
|
-
};
|
|
5352
|
-
const de_GetXssMatchSetResponse = (output, context) => {
|
|
5353
|
-
return {
|
|
5354
|
-
XssMatchSet: output.XssMatchSet != null ? de_XssMatchSet(output.XssMatchSet, context) : undefined,
|
|
5355
|
-
};
|
|
5356
|
-
};
|
|
5357
|
-
const de_HTTPHeader = (output, context) => {
|
|
5358
|
-
return {
|
|
5359
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5360
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
5361
|
-
};
|
|
5362
|
-
};
|
|
5363
|
-
const de_HTTPHeaders = (output, context) => {
|
|
5364
|
-
const retVal = (output || [])
|
|
5365
|
-
.filter((e) => e != null)
|
|
5366
|
-
.map((entry) => {
|
|
5367
|
-
if (entry === null) {
|
|
5368
|
-
return null;
|
|
5369
|
-
}
|
|
5370
|
-
return de_HTTPHeader(entry, context);
|
|
5371
|
-
});
|
|
5372
|
-
return retVal;
|
|
5373
|
-
};
|
|
5374
|
-
const de_HTTPRequest = (output, context) => {
|
|
5375
|
-
return {
|
|
5376
|
-
ClientIP: (0, smithy_client_1.expectString)(output.ClientIP),
|
|
5377
|
-
Country: (0, smithy_client_1.expectString)(output.Country),
|
|
5378
|
-
HTTPVersion: (0, smithy_client_1.expectString)(output.HTTPVersion),
|
|
5379
|
-
Headers: output.Headers != null ? de_HTTPHeaders(output.Headers, context) : undefined,
|
|
5380
|
-
Method: (0, smithy_client_1.expectString)(output.Method),
|
|
5381
|
-
URI: (0, smithy_client_1.expectString)(output.URI),
|
|
5382
|
-
};
|
|
5383
|
-
};
|
|
5384
|
-
const de_IPSet = (output, context) => {
|
|
5385
|
-
return {
|
|
5386
|
-
IPSetDescriptors: output.IPSetDescriptors != null ? de_IPSetDescriptors(output.IPSetDescriptors, context) : undefined,
|
|
5387
|
-
IPSetId: (0, smithy_client_1.expectString)(output.IPSetId),
|
|
5388
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5389
|
-
};
|
|
5390
|
-
};
|
|
5391
|
-
const de_IPSetDescriptor = (output, context) => {
|
|
5392
|
-
return {
|
|
5393
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5394
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
5395
|
-
};
|
|
5396
|
-
};
|
|
5397
|
-
const de_IPSetDescriptors = (output, context) => {
|
|
5398
|
-
const retVal = (output || [])
|
|
5399
|
-
.filter((e) => e != null)
|
|
5400
|
-
.map((entry) => {
|
|
5401
|
-
if (entry === null) {
|
|
5402
|
-
return null;
|
|
5403
|
-
}
|
|
5404
|
-
return de_IPSetDescriptor(entry, context);
|
|
5405
|
-
});
|
|
5406
|
-
return retVal;
|
|
5407
|
-
};
|
|
5408
|
-
const de_IPSetSummaries = (output, context) => {
|
|
5409
|
-
const retVal = (output || [])
|
|
5410
|
-
.filter((e) => e != null)
|
|
5411
|
-
.map((entry) => {
|
|
5412
|
-
if (entry === null) {
|
|
5413
|
-
return null;
|
|
5414
|
-
}
|
|
5415
|
-
return de_IPSetSummary(entry, context);
|
|
5416
|
-
});
|
|
5417
|
-
return retVal;
|
|
5418
|
-
};
|
|
5419
|
-
const de_IPSetSummary = (output, context) => {
|
|
5420
|
-
return {
|
|
5421
|
-
IPSetId: (0, smithy_client_1.expectString)(output.IPSetId),
|
|
5422
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5423
|
-
};
|
|
5424
|
-
};
|
|
5425
|
-
const de_ListActivatedRulesInRuleGroupResponse = (output, context) => {
|
|
5426
|
-
return {
|
|
5427
|
-
ActivatedRules: output.ActivatedRules != null ? de_ActivatedRules(output.ActivatedRules, context) : undefined,
|
|
5428
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5429
|
-
};
|
|
5430
|
-
};
|
|
5431
|
-
const de_ListByteMatchSetsResponse = (output, context) => {
|
|
5432
|
-
return {
|
|
5433
|
-
ByteMatchSets: output.ByteMatchSets != null ? de_ByteMatchSetSummaries(output.ByteMatchSets, context) : undefined,
|
|
5434
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5435
|
-
};
|
|
5436
|
-
};
|
|
5437
|
-
const de_ListGeoMatchSetsResponse = (output, context) => {
|
|
5438
|
-
return {
|
|
5439
|
-
GeoMatchSets: output.GeoMatchSets != null ? de_GeoMatchSetSummaries(output.GeoMatchSets, context) : undefined,
|
|
5440
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5441
|
-
};
|
|
5442
|
-
};
|
|
5443
|
-
const de_ListIPSetsResponse = (output, context) => {
|
|
5444
|
-
return {
|
|
5445
|
-
IPSets: output.IPSets != null ? de_IPSetSummaries(output.IPSets, context) : undefined,
|
|
5446
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5447
|
-
};
|
|
5448
|
-
};
|
|
5449
|
-
const de_ListLoggingConfigurationsResponse = (output, context) => {
|
|
5450
|
-
return {
|
|
5451
|
-
LoggingConfigurations: output.LoggingConfigurations != null
|
|
5452
|
-
? de_LoggingConfigurations(output.LoggingConfigurations, context)
|
|
5453
|
-
: undefined,
|
|
5454
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5455
|
-
};
|
|
5456
|
-
};
|
|
5457
|
-
const de_ListRateBasedRulesResponse = (output, context) => {
|
|
5458
|
-
return {
|
|
5459
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5460
|
-
Rules: output.Rules != null ? de_RuleSummaries(output.Rules, context) : undefined,
|
|
5461
|
-
};
|
|
5462
|
-
};
|
|
5463
|
-
const de_ListRegexMatchSetsResponse = (output, context) => {
|
|
5464
|
-
return {
|
|
5465
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5466
|
-
RegexMatchSets: output.RegexMatchSets != null ? de_RegexMatchSetSummaries(output.RegexMatchSets, context) : undefined,
|
|
5467
|
-
};
|
|
5468
|
-
};
|
|
5469
|
-
const de_ListRegexPatternSetsResponse = (output, context) => {
|
|
5470
|
-
return {
|
|
5471
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5472
|
-
RegexPatternSets: output.RegexPatternSets != null ? de_RegexPatternSetSummaries(output.RegexPatternSets, context) : undefined,
|
|
5473
|
-
};
|
|
5474
|
-
};
|
|
5475
|
-
const de_ListRuleGroupsResponse = (output, context) => {
|
|
5476
|
-
return {
|
|
5477
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5478
|
-
RuleGroups: output.RuleGroups != null ? de_RuleGroupSummaries(output.RuleGroups, context) : undefined,
|
|
5479
|
-
};
|
|
5480
|
-
};
|
|
5481
|
-
const de_ListRulesResponse = (output, context) => {
|
|
5482
|
-
return {
|
|
5483
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5484
|
-
Rules: output.Rules != null ? de_RuleSummaries(output.Rules, context) : undefined,
|
|
5485
|
-
};
|
|
5486
|
-
};
|
|
5487
|
-
const de_ListSizeConstraintSetsResponse = (output, context) => {
|
|
5488
|
-
return {
|
|
5489
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5490
|
-
SizeConstraintSets: output.SizeConstraintSets != null ? de_SizeConstraintSetSummaries(output.SizeConstraintSets, context) : undefined,
|
|
5491
|
-
};
|
|
5492
|
-
};
|
|
5493
|
-
const de_ListSqlInjectionMatchSetsResponse = (output, context) => {
|
|
5494
|
-
return {
|
|
5495
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5496
|
-
SqlInjectionMatchSets: output.SqlInjectionMatchSets != null
|
|
5497
|
-
? de_SqlInjectionMatchSetSummaries(output.SqlInjectionMatchSets, context)
|
|
5498
|
-
: undefined,
|
|
5499
|
-
};
|
|
5500
|
-
};
|
|
5501
|
-
const de_ListSubscribedRuleGroupsResponse = (output, context) => {
|
|
5502
|
-
return {
|
|
5503
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5504
|
-
RuleGroups: output.RuleGroups != null ? de_SubscribedRuleGroupSummaries(output.RuleGroups, context) : undefined,
|
|
5505
|
-
};
|
|
5506
|
-
};
|
|
5507
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
5508
|
-
return {
|
|
5509
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5510
|
-
TagInfoForResource: output.TagInfoForResource != null ? de_TagInfoForResource(output.TagInfoForResource, context) : undefined,
|
|
5511
|
-
};
|
|
5512
|
-
};
|
|
5513
|
-
const de_ListWebACLsResponse = (output, context) => {
|
|
5514
|
-
return {
|
|
5515
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5516
|
-
WebACLs: output.WebACLs != null ? de_WebACLSummaries(output.WebACLs, context) : undefined,
|
|
5517
|
-
};
|
|
5518
|
-
};
|
|
5519
|
-
const de_ListXssMatchSetsResponse = (output, context) => {
|
|
5520
|
-
return {
|
|
5521
|
-
NextMarker: (0, smithy_client_1.expectString)(output.NextMarker),
|
|
5522
|
-
XssMatchSets: output.XssMatchSets != null ? de_XssMatchSetSummaries(output.XssMatchSets, context) : undefined,
|
|
5523
|
-
};
|
|
5524
|
-
};
|
|
5525
|
-
const de_LogDestinationConfigs = (output, context) => {
|
|
5526
|
-
const retVal = (output || [])
|
|
5527
|
-
.filter((e) => e != null)
|
|
5528
|
-
.map((entry) => {
|
|
5529
|
-
if (entry === null) {
|
|
5530
|
-
return null;
|
|
5531
|
-
}
|
|
5532
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5533
|
-
});
|
|
5534
|
-
return retVal;
|
|
5535
|
-
};
|
|
5536
|
-
const de_LoggingConfiguration = (output, context) => {
|
|
5537
|
-
return {
|
|
5538
|
-
LogDestinationConfigs: output.LogDestinationConfigs != null
|
|
5539
|
-
? de_LogDestinationConfigs(output.LogDestinationConfigs, context)
|
|
5540
|
-
: undefined,
|
|
5541
|
-
RedactedFields: output.RedactedFields != null ? de_RedactedFields(output.RedactedFields, context) : undefined,
|
|
5542
|
-
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
5543
|
-
};
|
|
5544
|
-
};
|
|
5545
|
-
const de_LoggingConfigurations = (output, context) => {
|
|
5546
|
-
const retVal = (output || [])
|
|
5547
|
-
.filter((e) => e != null)
|
|
5548
|
-
.map((entry) => {
|
|
5549
|
-
if (entry === null) {
|
|
5550
|
-
return null;
|
|
5551
|
-
}
|
|
5552
|
-
return de_LoggingConfiguration(entry, context);
|
|
5553
|
-
});
|
|
5554
|
-
return retVal;
|
|
5555
|
-
};
|
|
5556
|
-
const de_ManagedKeys = (output, context) => {
|
|
5557
|
-
const retVal = (output || [])
|
|
5558
|
-
.filter((e) => e != null)
|
|
5559
|
-
.map((entry) => {
|
|
5560
|
-
if (entry === null) {
|
|
5561
|
-
return null;
|
|
5562
|
-
}
|
|
5563
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5564
|
-
});
|
|
5565
|
-
return retVal;
|
|
5566
|
-
};
|
|
5567
|
-
const de_Predicate = (output, context) => {
|
|
5568
|
-
return {
|
|
5569
|
-
DataId: (0, smithy_client_1.expectString)(output.DataId),
|
|
5570
|
-
Negated: (0, smithy_client_1.expectBoolean)(output.Negated),
|
|
5571
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5572
|
-
};
|
|
5573
|
-
};
|
|
5574
|
-
const de_Predicates = (output, context) => {
|
|
5575
|
-
const retVal = (output || [])
|
|
5576
|
-
.filter((e) => e != null)
|
|
5577
|
-
.map((entry) => {
|
|
5578
|
-
if (entry === null) {
|
|
5579
|
-
return null;
|
|
5580
|
-
}
|
|
5581
|
-
return de_Predicate(entry, context);
|
|
5582
|
-
});
|
|
5583
|
-
return retVal;
|
|
5584
|
-
};
|
|
5585
|
-
const de_PutLoggingConfigurationResponse = (output, context) => {
|
|
5586
|
-
return {
|
|
5587
|
-
LoggingConfiguration: output.LoggingConfiguration != null ? de_LoggingConfiguration(output.LoggingConfiguration, context) : undefined,
|
|
5588
|
-
};
|
|
5589
|
-
};
|
|
5590
|
-
const de_PutPermissionPolicyResponse = (output, context) => {
|
|
5591
|
-
return {};
|
|
5592
|
-
};
|
|
5593
|
-
const de_RateBasedRule = (output, context) => {
|
|
5594
|
-
return {
|
|
5595
|
-
MatchPredicates: output.MatchPredicates != null ? de_Predicates(output.MatchPredicates, context) : undefined,
|
|
5596
|
-
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
5597
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5598
|
-
RateKey: (0, smithy_client_1.expectString)(output.RateKey),
|
|
5599
|
-
RateLimit: (0, smithy_client_1.expectLong)(output.RateLimit),
|
|
5600
|
-
RuleId: (0, smithy_client_1.expectString)(output.RuleId),
|
|
5601
|
-
};
|
|
5602
|
-
};
|
|
5603
|
-
const de_RedactedFields = (output, context) => {
|
|
5604
|
-
const retVal = (output || [])
|
|
5605
|
-
.filter((e) => e != null)
|
|
5606
|
-
.map((entry) => {
|
|
5607
|
-
if (entry === null) {
|
|
5608
|
-
return null;
|
|
5609
|
-
}
|
|
5610
|
-
return de_FieldToMatch(entry, context);
|
|
5611
|
-
});
|
|
5612
|
-
return retVal;
|
|
5613
|
-
};
|
|
5614
|
-
const de_RegexMatchSet = (output, context) => {
|
|
5615
|
-
return {
|
|
5616
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5617
|
-
RegexMatchSetId: (0, smithy_client_1.expectString)(output.RegexMatchSetId),
|
|
5618
|
-
RegexMatchTuples: output.RegexMatchTuples != null ? de_RegexMatchTuples(output.RegexMatchTuples, context) : undefined,
|
|
5619
|
-
};
|
|
5620
|
-
};
|
|
5621
|
-
const de_RegexMatchSetSummaries = (output, context) => {
|
|
5622
|
-
const retVal = (output || [])
|
|
5623
|
-
.filter((e) => e != null)
|
|
5624
|
-
.map((entry) => {
|
|
5625
|
-
if (entry === null) {
|
|
5626
|
-
return null;
|
|
5627
|
-
}
|
|
5628
|
-
return de_RegexMatchSetSummary(entry, context);
|
|
5629
|
-
});
|
|
5630
|
-
return retVal;
|
|
5631
|
-
};
|
|
5632
|
-
const de_RegexMatchSetSummary = (output, context) => {
|
|
5633
|
-
return {
|
|
5634
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5635
|
-
RegexMatchSetId: (0, smithy_client_1.expectString)(output.RegexMatchSetId),
|
|
5636
|
-
};
|
|
5637
|
-
};
|
|
5638
|
-
const de_RegexMatchTuple = (output, context) => {
|
|
5639
|
-
return {
|
|
5640
|
-
FieldToMatch: output.FieldToMatch != null ? de_FieldToMatch(output.FieldToMatch, context) : undefined,
|
|
5641
|
-
RegexPatternSetId: (0, smithy_client_1.expectString)(output.RegexPatternSetId),
|
|
5642
|
-
TextTransformation: (0, smithy_client_1.expectString)(output.TextTransformation),
|
|
5643
|
-
};
|
|
5644
|
-
};
|
|
5645
|
-
const de_RegexMatchTuples = (output, context) => {
|
|
5646
|
-
const retVal = (output || [])
|
|
5647
|
-
.filter((e) => e != null)
|
|
5648
|
-
.map((entry) => {
|
|
5649
|
-
if (entry === null) {
|
|
5650
|
-
return null;
|
|
5651
|
-
}
|
|
5652
|
-
return de_RegexMatchTuple(entry, context);
|
|
4156
|
+
const se_ByteMatchSetUpdate = (input, context) => {
|
|
4157
|
+
return (0, smithy_client_1.take)(input, {
|
|
4158
|
+
Action: [],
|
|
4159
|
+
ByteMatchTuple: (_) => se_ByteMatchTuple(_, context),
|
|
5653
4160
|
});
|
|
5654
|
-
return retVal;
|
|
5655
|
-
};
|
|
5656
|
-
const de_RegexPatternSet = (output, context) => {
|
|
5657
|
-
return {
|
|
5658
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5659
|
-
RegexPatternSetId: (0, smithy_client_1.expectString)(output.RegexPatternSetId),
|
|
5660
|
-
RegexPatternStrings: output.RegexPatternStrings != null ? de_RegexPatternStrings(output.RegexPatternStrings, context) : undefined,
|
|
5661
|
-
};
|
|
5662
4161
|
};
|
|
5663
|
-
const
|
|
5664
|
-
|
|
4162
|
+
const se_ByteMatchSetUpdates = (input, context) => {
|
|
4163
|
+
return input
|
|
5665
4164
|
.filter((e) => e != null)
|
|
5666
4165
|
.map((entry) => {
|
|
5667
|
-
|
|
5668
|
-
return null;
|
|
5669
|
-
}
|
|
5670
|
-
return de_RegexPatternSetSummary(entry, context);
|
|
4166
|
+
return se_ByteMatchSetUpdate(entry, context);
|
|
5671
4167
|
});
|
|
5672
|
-
return retVal;
|
|
5673
|
-
};
|
|
5674
|
-
const de_RegexPatternSetSummary = (output, context) => {
|
|
5675
|
-
return {
|
|
5676
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5677
|
-
RegexPatternSetId: (0, smithy_client_1.expectString)(output.RegexPatternSetId),
|
|
5678
|
-
};
|
|
5679
4168
|
};
|
|
5680
|
-
const
|
|
5681
|
-
|
|
5682
|
-
.
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
}
|
|
5687
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4169
|
+
const se_ByteMatchTuple = (input, context) => {
|
|
4170
|
+
return (0, smithy_client_1.take)(input, {
|
|
4171
|
+
FieldToMatch: smithy_client_1._json,
|
|
4172
|
+
PositionalConstraint: [],
|
|
4173
|
+
TargetString: context.base64Encoder,
|
|
4174
|
+
TextTransformation: [],
|
|
5688
4175
|
});
|
|
5689
|
-
return retVal;
|
|
5690
4176
|
};
|
|
5691
|
-
const
|
|
5692
|
-
return {
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
};
|
|
5698
|
-
};
|
|
5699
|
-
const de_RuleGroup = (output, context) => {
|
|
5700
|
-
return {
|
|
5701
|
-
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
5702
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5703
|
-
RuleGroupId: (0, smithy_client_1.expectString)(output.RuleGroupId),
|
|
5704
|
-
};
|
|
5705
|
-
};
|
|
5706
|
-
const de_RuleGroupSummaries = (output, context) => {
|
|
5707
|
-
const retVal = (output || [])
|
|
5708
|
-
.filter((e) => e != null)
|
|
5709
|
-
.map((entry) => {
|
|
5710
|
-
if (entry === null) {
|
|
5711
|
-
return null;
|
|
5712
|
-
}
|
|
5713
|
-
return de_RuleGroupSummary(entry, context);
|
|
4177
|
+
const se_GetSampledRequestsRequest = (input, context) => {
|
|
4178
|
+
return (0, smithy_client_1.take)(input, {
|
|
4179
|
+
MaxItems: [],
|
|
4180
|
+
RuleId: [],
|
|
4181
|
+
TimeWindow: (_) => se_TimeWindow(_, context),
|
|
4182
|
+
WebAclId: [],
|
|
5714
4183
|
});
|
|
5715
|
-
return retVal;
|
|
5716
4184
|
};
|
|
5717
|
-
const
|
|
5718
|
-
return {
|
|
5719
|
-
|
|
5720
|
-
|
|
5721
|
-
};
|
|
5722
|
-
};
|
|
5723
|
-
const de_RuleSummaries = (output, context) => {
|
|
5724
|
-
const retVal = (output || [])
|
|
5725
|
-
.filter((e) => e != null)
|
|
5726
|
-
.map((entry) => {
|
|
5727
|
-
if (entry === null) {
|
|
5728
|
-
return null;
|
|
5729
|
-
}
|
|
5730
|
-
return de_RuleSummary(entry, context);
|
|
4185
|
+
const se_TimeWindow = (input, context) => {
|
|
4186
|
+
return (0, smithy_client_1.take)(input, {
|
|
4187
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
4188
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
5731
4189
|
});
|
|
5732
|
-
return retVal;
|
|
5733
|
-
};
|
|
5734
|
-
const de_RuleSummary = (output, context) => {
|
|
5735
|
-
return {
|
|
5736
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5737
|
-
RuleId: (0, smithy_client_1.expectString)(output.RuleId),
|
|
5738
|
-
};
|
|
5739
4190
|
};
|
|
5740
|
-
const
|
|
5741
|
-
return {
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
Timestamp: output.Timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp))) : undefined,
|
|
5746
|
-
Weight: (0, smithy_client_1.expectLong)(output.Weight),
|
|
5747
|
-
};
|
|
5748
|
-
};
|
|
5749
|
-
const de_SampledHTTPRequests = (output, context) => {
|
|
5750
|
-
const retVal = (output || [])
|
|
5751
|
-
.filter((e) => e != null)
|
|
5752
|
-
.map((entry) => {
|
|
5753
|
-
if (entry === null) {
|
|
5754
|
-
return null;
|
|
5755
|
-
}
|
|
5756
|
-
return de_SampledHTTPRequest(entry, context);
|
|
4191
|
+
const se_UpdateByteMatchSetRequest = (input, context) => {
|
|
4192
|
+
return (0, smithy_client_1.take)(input, {
|
|
4193
|
+
ByteMatchSetId: [],
|
|
4194
|
+
ChangeToken: [],
|
|
4195
|
+
Updates: (_) => se_ByteMatchSetUpdates(_, context),
|
|
5757
4196
|
});
|
|
5758
|
-
return retVal;
|
|
5759
4197
|
};
|
|
5760
|
-
const
|
|
5761
|
-
return {
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
TextTransformation: (0, smithy_client_1.expectString)(output.TextTransformation),
|
|
5766
|
-
};
|
|
5767
|
-
};
|
|
5768
|
-
const de_SizeConstraints = (output, context) => {
|
|
5769
|
-
const retVal = (output || [])
|
|
5770
|
-
.filter((e) => e != null)
|
|
5771
|
-
.map((entry) => {
|
|
5772
|
-
if (entry === null) {
|
|
5773
|
-
return null;
|
|
5774
|
-
}
|
|
5775
|
-
return de_SizeConstraint(entry, context);
|
|
4198
|
+
const de_ByteMatchSet = (output, context) => {
|
|
4199
|
+
return (0, smithy_client_1.take)(output, {
|
|
4200
|
+
ByteMatchSetId: smithy_client_1.expectString,
|
|
4201
|
+
ByteMatchTuples: (_) => de_ByteMatchTuples(_, context),
|
|
4202
|
+
Name: smithy_client_1.expectString,
|
|
5776
4203
|
});
|
|
5777
|
-
return retVal;
|
|
5778
|
-
};
|
|
5779
|
-
const de_SizeConstraintSet = (output, context) => {
|
|
5780
|
-
return {
|
|
5781
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5782
|
-
SizeConstraintSetId: (0, smithy_client_1.expectString)(output.SizeConstraintSetId),
|
|
5783
|
-
SizeConstraints: output.SizeConstraints != null ? de_SizeConstraints(output.SizeConstraints, context) : undefined,
|
|
5784
|
-
};
|
|
5785
4204
|
};
|
|
5786
|
-
const
|
|
5787
|
-
|
|
5788
|
-
.
|
|
5789
|
-
.
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
}
|
|
5793
|
-
return de_SizeConstraintSetSummary(entry, context);
|
|
4205
|
+
const de_ByteMatchTuple = (output, context) => {
|
|
4206
|
+
return (0, smithy_client_1.take)(output, {
|
|
4207
|
+
FieldToMatch: smithy_client_1._json,
|
|
4208
|
+
PositionalConstraint: smithy_client_1.expectString,
|
|
4209
|
+
TargetString: context.base64Decoder,
|
|
4210
|
+
TextTransformation: smithy_client_1.expectString,
|
|
5794
4211
|
});
|
|
5795
|
-
return retVal;
|
|
5796
|
-
};
|
|
5797
|
-
const de_SizeConstraintSetSummary = (output, context) => {
|
|
5798
|
-
return {
|
|
5799
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5800
|
-
SizeConstraintSetId: (0, smithy_client_1.expectString)(output.SizeConstraintSetId),
|
|
5801
|
-
};
|
|
5802
|
-
};
|
|
5803
|
-
const de_SqlInjectionMatchSet = (output, context) => {
|
|
5804
|
-
return {
|
|
5805
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5806
|
-
SqlInjectionMatchSetId: (0, smithy_client_1.expectString)(output.SqlInjectionMatchSetId),
|
|
5807
|
-
SqlInjectionMatchTuples: output.SqlInjectionMatchTuples != null
|
|
5808
|
-
? de_SqlInjectionMatchTuples(output.SqlInjectionMatchTuples, context)
|
|
5809
|
-
: undefined,
|
|
5810
|
-
};
|
|
5811
4212
|
};
|
|
5812
|
-
const
|
|
4213
|
+
const de_ByteMatchTuples = (output, context) => {
|
|
5813
4214
|
const retVal = (output || [])
|
|
5814
4215
|
.filter((e) => e != null)
|
|
5815
4216
|
.map((entry) => {
|
|
5816
|
-
|
|
5817
|
-
return null;
|
|
5818
|
-
}
|
|
5819
|
-
return de_SqlInjectionMatchSetSummary(entry, context);
|
|
4217
|
+
return de_ByteMatchTuple(entry, context);
|
|
5820
4218
|
});
|
|
5821
4219
|
return retVal;
|
|
5822
4220
|
};
|
|
5823
|
-
const
|
|
5824
|
-
return {
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
};
|
|
5828
|
-
};
|
|
5829
|
-
const de_SqlInjectionMatchTuple = (output, context) => {
|
|
5830
|
-
return {
|
|
5831
|
-
FieldToMatch: output.FieldToMatch != null ? de_FieldToMatch(output.FieldToMatch, context) : undefined,
|
|
5832
|
-
TextTransformation: (0, smithy_client_1.expectString)(output.TextTransformation),
|
|
5833
|
-
};
|
|
5834
|
-
};
|
|
5835
|
-
const de_SqlInjectionMatchTuples = (output, context) => {
|
|
5836
|
-
const retVal = (output || [])
|
|
5837
|
-
.filter((e) => e != null)
|
|
5838
|
-
.map((entry) => {
|
|
5839
|
-
if (entry === null) {
|
|
5840
|
-
return null;
|
|
5841
|
-
}
|
|
5842
|
-
return de_SqlInjectionMatchTuple(entry, context);
|
|
4221
|
+
const de_CreateByteMatchSetResponse = (output, context) => {
|
|
4222
|
+
return (0, smithy_client_1.take)(output, {
|
|
4223
|
+
ByteMatchSet: (_) => de_ByteMatchSet(_, context),
|
|
4224
|
+
ChangeToken: smithy_client_1.expectString,
|
|
5843
4225
|
});
|
|
5844
|
-
return retVal;
|
|
5845
4226
|
};
|
|
5846
|
-
const
|
|
5847
|
-
|
|
5848
|
-
|
|
5849
|
-
.map((entry) => {
|
|
5850
|
-
if (entry === null) {
|
|
5851
|
-
return null;
|
|
5852
|
-
}
|
|
5853
|
-
return de_SubscribedRuleGroupSummary(entry, context);
|
|
4227
|
+
const de_GetByteMatchSetResponse = (output, context) => {
|
|
4228
|
+
return (0, smithy_client_1.take)(output, {
|
|
4229
|
+
ByteMatchSet: (_) => de_ByteMatchSet(_, context),
|
|
5854
4230
|
});
|
|
5855
|
-
return retVal;
|
|
5856
|
-
};
|
|
5857
|
-
const de_SubscribedRuleGroupSummary = (output, context) => {
|
|
5858
|
-
return {
|
|
5859
|
-
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
5860
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5861
|
-
RuleGroupId: (0, smithy_client_1.expectString)(output.RuleGroupId),
|
|
5862
|
-
};
|
|
5863
|
-
};
|
|
5864
|
-
const de_Tag = (output, context) => {
|
|
5865
|
-
return {
|
|
5866
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
5867
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
5868
|
-
};
|
|
5869
|
-
};
|
|
5870
|
-
const de_TagInfoForResource = (output, context) => {
|
|
5871
|
-
return {
|
|
5872
|
-
ResourceARN: (0, smithy_client_1.expectString)(output.ResourceARN),
|
|
5873
|
-
TagList: output.TagList != null ? de_TagList(output.TagList, context) : undefined,
|
|
5874
|
-
};
|
|
5875
4231
|
};
|
|
5876
|
-
const
|
|
5877
|
-
|
|
5878
|
-
.
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
return null;
|
|
5882
|
-
}
|
|
5883
|
-
return de_Tag(entry, context);
|
|
4232
|
+
const de_GetSampledRequestsResponse = (output, context) => {
|
|
4233
|
+
return (0, smithy_client_1.take)(output, {
|
|
4234
|
+
PopulationSize: smithy_client_1.expectLong,
|
|
4235
|
+
SampledRequests: (_) => de_SampledHTTPRequests(_, context),
|
|
4236
|
+
TimeWindow: (_) => de_TimeWindow(_, context),
|
|
5884
4237
|
});
|
|
5885
|
-
return retVal;
|
|
5886
|
-
};
|
|
5887
|
-
const de_TagResourceResponse = (output, context) => {
|
|
5888
|
-
return {};
|
|
5889
|
-
};
|
|
5890
|
-
const de_TimeWindow = (output, context) => {
|
|
5891
|
-
return {
|
|
5892
|
-
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
5893
|
-
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
5894
|
-
};
|
|
5895
|
-
};
|
|
5896
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
5897
|
-
return {};
|
|
5898
4238
|
};
|
|
5899
|
-
const
|
|
5900
|
-
return {
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5907
|
-
};
|
|
5908
|
-
};
|
|
5909
|
-
const de_UpdateIPSetResponse = (output, context) => {
|
|
5910
|
-
return {
|
|
5911
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5912
|
-
};
|
|
5913
|
-
};
|
|
5914
|
-
const de_UpdateRateBasedRuleResponse = (output, context) => {
|
|
5915
|
-
return {
|
|
5916
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5917
|
-
};
|
|
5918
|
-
};
|
|
5919
|
-
const de_UpdateRegexMatchSetResponse = (output, context) => {
|
|
5920
|
-
return {
|
|
5921
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5922
|
-
};
|
|
5923
|
-
};
|
|
5924
|
-
const de_UpdateRegexPatternSetResponse = (output, context) => {
|
|
5925
|
-
return {
|
|
5926
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5927
|
-
};
|
|
5928
|
-
};
|
|
5929
|
-
const de_UpdateRuleGroupResponse = (output, context) => {
|
|
5930
|
-
return {
|
|
5931
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5932
|
-
};
|
|
5933
|
-
};
|
|
5934
|
-
const de_UpdateRuleResponse = (output, context) => {
|
|
5935
|
-
return {
|
|
5936
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5937
|
-
};
|
|
5938
|
-
};
|
|
5939
|
-
const de_UpdateSizeConstraintSetResponse = (output, context) => {
|
|
5940
|
-
return {
|
|
5941
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5942
|
-
};
|
|
5943
|
-
};
|
|
5944
|
-
const de_UpdateSqlInjectionMatchSetResponse = (output, context) => {
|
|
5945
|
-
return {
|
|
5946
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5947
|
-
};
|
|
5948
|
-
};
|
|
5949
|
-
const de_UpdateWebACLResponse = (output, context) => {
|
|
5950
|
-
return {
|
|
5951
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5952
|
-
};
|
|
5953
|
-
};
|
|
5954
|
-
const de_UpdateXssMatchSetResponse = (output, context) => {
|
|
5955
|
-
return {
|
|
5956
|
-
ChangeToken: (0, smithy_client_1.expectString)(output.ChangeToken),
|
|
5957
|
-
};
|
|
5958
|
-
};
|
|
5959
|
-
const de_WafAction = (output, context) => {
|
|
5960
|
-
return {
|
|
5961
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
5962
|
-
};
|
|
5963
|
-
};
|
|
5964
|
-
const de_WAFBadRequestException = (output, context) => {
|
|
5965
|
-
return {
|
|
5966
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
5967
|
-
};
|
|
5968
|
-
};
|
|
5969
|
-
const de_WAFDisallowedNameException = (output, context) => {
|
|
5970
|
-
return {
|
|
5971
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
5972
|
-
};
|
|
5973
|
-
};
|
|
5974
|
-
const de_WAFEntityMigrationException = (output, context) => {
|
|
5975
|
-
return {
|
|
5976
|
-
MigrationErrorReason: (0, smithy_client_1.expectString)(output.MigrationErrorReason),
|
|
5977
|
-
MigrationErrorType: (0, smithy_client_1.expectString)(output.MigrationErrorType),
|
|
5978
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
5979
|
-
};
|
|
5980
|
-
};
|
|
5981
|
-
const de_WAFInternalErrorException = (output, context) => {
|
|
5982
|
-
return {
|
|
5983
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
5984
|
-
};
|
|
5985
|
-
};
|
|
5986
|
-
const de_WAFInvalidAccountException = (output, context) => {
|
|
5987
|
-
return {};
|
|
5988
|
-
};
|
|
5989
|
-
const de_WAFInvalidOperationException = (output, context) => {
|
|
5990
|
-
return {
|
|
5991
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
5992
|
-
};
|
|
5993
|
-
};
|
|
5994
|
-
const de_WAFInvalidParameterException = (output, context) => {
|
|
5995
|
-
return {
|
|
5996
|
-
field: (0, smithy_client_1.expectString)(output.field),
|
|
5997
|
-
parameter: (0, smithy_client_1.expectString)(output.parameter),
|
|
5998
|
-
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
5999
|
-
};
|
|
6000
|
-
};
|
|
6001
|
-
const de_WAFInvalidPermissionPolicyException = (output, context) => {
|
|
6002
|
-
return {
|
|
6003
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6004
|
-
};
|
|
6005
|
-
};
|
|
6006
|
-
const de_WAFInvalidRegexPatternException = (output, context) => {
|
|
6007
|
-
return {
|
|
6008
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6009
|
-
};
|
|
6010
|
-
};
|
|
6011
|
-
const de_WAFLimitsExceededException = (output, context) => {
|
|
6012
|
-
return {
|
|
6013
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6014
|
-
};
|
|
6015
|
-
};
|
|
6016
|
-
const de_WAFNonEmptyEntityException = (output, context) => {
|
|
6017
|
-
return {
|
|
6018
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6019
|
-
};
|
|
6020
|
-
};
|
|
6021
|
-
const de_WAFNonexistentContainerException = (output, context) => {
|
|
6022
|
-
return {
|
|
6023
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6024
|
-
};
|
|
6025
|
-
};
|
|
6026
|
-
const de_WAFNonexistentItemException = (output, context) => {
|
|
6027
|
-
return {
|
|
6028
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6029
|
-
};
|
|
6030
|
-
};
|
|
6031
|
-
const de_WafOverrideAction = (output, context) => {
|
|
6032
|
-
return {
|
|
6033
|
-
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
6034
|
-
};
|
|
6035
|
-
};
|
|
6036
|
-
const de_WAFReferencedItemException = (output, context) => {
|
|
6037
|
-
return {
|
|
6038
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6039
|
-
};
|
|
6040
|
-
};
|
|
6041
|
-
const de_WAFServiceLinkedRoleErrorException = (output, context) => {
|
|
6042
|
-
return {
|
|
6043
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6044
|
-
};
|
|
6045
|
-
};
|
|
6046
|
-
const de_WAFStaleDataException = (output, context) => {
|
|
6047
|
-
return {
|
|
6048
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6049
|
-
};
|
|
6050
|
-
};
|
|
6051
|
-
const de_WAFSubscriptionNotFoundException = (output, context) => {
|
|
6052
|
-
return {
|
|
6053
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6054
|
-
};
|
|
6055
|
-
};
|
|
6056
|
-
const de_WAFTagOperationException = (output, context) => {
|
|
6057
|
-
return {
|
|
6058
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6059
|
-
};
|
|
6060
|
-
};
|
|
6061
|
-
const de_WAFTagOperationInternalErrorException = (output, context) => {
|
|
6062
|
-
return {
|
|
6063
|
-
message: (0, smithy_client_1.expectString)(output.message),
|
|
6064
|
-
};
|
|
6065
|
-
};
|
|
6066
|
-
const de_WebACL = (output, context) => {
|
|
6067
|
-
return {
|
|
6068
|
-
DefaultAction: output.DefaultAction != null ? de_WafAction(output.DefaultAction, context) : undefined,
|
|
6069
|
-
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
6070
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6071
|
-
Rules: output.Rules != null ? de_ActivatedRules(output.Rules, context) : undefined,
|
|
6072
|
-
WebACLArn: (0, smithy_client_1.expectString)(output.WebACLArn),
|
|
6073
|
-
WebACLId: (0, smithy_client_1.expectString)(output.WebACLId),
|
|
6074
|
-
};
|
|
6075
|
-
};
|
|
6076
|
-
const de_WebACLSummaries = (output, context) => {
|
|
6077
|
-
const retVal = (output || [])
|
|
6078
|
-
.filter((e) => e != null)
|
|
6079
|
-
.map((entry) => {
|
|
6080
|
-
if (entry === null) {
|
|
6081
|
-
return null;
|
|
6082
|
-
}
|
|
6083
|
-
return de_WebACLSummary(entry, context);
|
|
4239
|
+
const de_SampledHTTPRequest = (output, context) => {
|
|
4240
|
+
return (0, smithy_client_1.take)(output, {
|
|
4241
|
+
Action: smithy_client_1.expectString,
|
|
4242
|
+
Request: smithy_client_1._json,
|
|
4243
|
+
RuleWithinRuleGroup: smithy_client_1.expectString,
|
|
4244
|
+
Timestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4245
|
+
Weight: smithy_client_1.expectLong,
|
|
6084
4246
|
});
|
|
6085
|
-
return retVal;
|
|
6086
|
-
};
|
|
6087
|
-
const de_WebACLSummary = (output, context) => {
|
|
6088
|
-
return {
|
|
6089
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6090
|
-
WebACLId: (0, smithy_client_1.expectString)(output.WebACLId),
|
|
6091
|
-
};
|
|
6092
|
-
};
|
|
6093
|
-
const de_XssMatchSet = (output, context) => {
|
|
6094
|
-
return {
|
|
6095
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
6096
|
-
XssMatchSetId: (0, smithy_client_1.expectString)(output.XssMatchSetId),
|
|
6097
|
-
XssMatchTuples: output.XssMatchTuples != null ? de_XssMatchTuples(output.XssMatchTuples, context) : undefined,
|
|
6098
|
-
};
|
|
6099
4247
|
};
|
|
6100
|
-
const
|
|
4248
|
+
const de_SampledHTTPRequests = (output, context) => {
|
|
6101
4249
|
const retVal = (output || [])
|
|
6102
4250
|
.filter((e) => e != null)
|
|
6103
4251
|
.map((entry) => {
|
|
6104
|
-
|
|
6105
|
-
return null;
|
|
6106
|
-
}
|
|
6107
|
-
return de_XssMatchSetSummary(entry, context);
|
|
4252
|
+
return de_SampledHTTPRequest(entry, context);
|
|
6108
4253
|
});
|
|
6109
4254
|
return retVal;
|
|
6110
4255
|
};
|
|
6111
|
-
const
|
|
6112
|
-
return {
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
};
|
|
6116
|
-
};
|
|
6117
|
-
const de_XssMatchTuple = (output, context) => {
|
|
6118
|
-
return {
|
|
6119
|
-
FieldToMatch: output.FieldToMatch != null ? de_FieldToMatch(output.FieldToMatch, context) : undefined,
|
|
6120
|
-
TextTransformation: (0, smithy_client_1.expectString)(output.TextTransformation),
|
|
6121
|
-
};
|
|
6122
|
-
};
|
|
6123
|
-
const de_XssMatchTuples = (output, context) => {
|
|
6124
|
-
const retVal = (output || [])
|
|
6125
|
-
.filter((e) => e != null)
|
|
6126
|
-
.map((entry) => {
|
|
6127
|
-
if (entry === null) {
|
|
6128
|
-
return null;
|
|
6129
|
-
}
|
|
6130
|
-
return de_XssMatchTuple(entry, context);
|
|
4256
|
+
const de_TimeWindow = (output, context) => {
|
|
4257
|
+
return (0, smithy_client_1.take)(output, {
|
|
4258
|
+
EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
4259
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
6131
4260
|
});
|
|
6132
|
-
return retVal;
|
|
6133
4261
|
};
|
|
6134
4262
|
const deserializeMetadata = (output) => ({
|
|
6135
4263
|
httpStatusCode: output.statusCode,
|
|
@@ -6144,6 +4272,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
6144
4272
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
6145
4273
|
};
|
|
6146
4274
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
4275
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(WAFServiceException_1.WAFServiceException);
|
|
6147
4276
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
6148
4277
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
6149
4278
|
const contents = {
|