@aws-sdk/client-route53resolver 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 +300 -1709
- package/dist-es/protocols/Aws_json1_1.js +301 -1710
- package/package.json +6 -6
|
@@ -18,21 +18,21 @@ exports.se_AssociateFirewallRuleGroupCommand = se_AssociateFirewallRuleGroupComm
|
|
|
18
18
|
const se_AssociateResolverEndpointIpAddressCommand = async (input, context) => {
|
|
19
19
|
const headers = sharedHeaders("AssociateResolverEndpointIpAddress");
|
|
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_AssociateResolverEndpointIpAddressCommand = se_AssociateResolverEndpointIpAddressCommand;
|
|
25
25
|
const se_AssociateResolverQueryLogConfigCommand = async (input, context) => {
|
|
26
26
|
const headers = sharedHeaders("AssociateResolverQueryLogConfig");
|
|
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_AssociateResolverQueryLogConfigCommand = se_AssociateResolverQueryLogConfigCommand;
|
|
32
32
|
const se_AssociateResolverRuleCommand = async (input, context) => {
|
|
33
33
|
const headers = sharedHeaders("AssociateResolverRule");
|
|
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_AssociateResolverRuleCommand = se_AssociateResolverRuleCommand;
|
|
@@ -60,7 +60,7 @@ exports.se_CreateFirewallRuleGroupCommand = se_CreateFirewallRuleGroupCommand;
|
|
|
60
60
|
const se_CreateResolverEndpointCommand = async (input, context) => {
|
|
61
61
|
const headers = sharedHeaders("CreateResolverEndpoint");
|
|
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_CreateResolverEndpointCommand = se_CreateResolverEndpointCommand;
|
|
@@ -74,378 +74,378 @@ exports.se_CreateResolverQueryLogConfigCommand = se_CreateResolverQueryLogConfig
|
|
|
74
74
|
const se_CreateResolverRuleCommand = async (input, context) => {
|
|
75
75
|
const headers = sharedHeaders("CreateResolverRule");
|
|
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_CreateResolverRuleCommand = se_CreateResolverRuleCommand;
|
|
81
81
|
const se_DeleteFirewallDomainListCommand = async (input, context) => {
|
|
82
82
|
const headers = sharedHeaders("DeleteFirewallDomainList");
|
|
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_DeleteFirewallDomainListCommand = se_DeleteFirewallDomainListCommand;
|
|
88
88
|
const se_DeleteFirewallRuleCommand = async (input, context) => {
|
|
89
89
|
const headers = sharedHeaders("DeleteFirewallRule");
|
|
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_DeleteFirewallRuleCommand = se_DeleteFirewallRuleCommand;
|
|
95
95
|
const se_DeleteFirewallRuleGroupCommand = async (input, context) => {
|
|
96
96
|
const headers = sharedHeaders("DeleteFirewallRuleGroup");
|
|
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_DeleteFirewallRuleGroupCommand = se_DeleteFirewallRuleGroupCommand;
|
|
102
102
|
const se_DeleteResolverEndpointCommand = async (input, context) => {
|
|
103
103
|
const headers = sharedHeaders("DeleteResolverEndpoint");
|
|
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_DeleteResolverEndpointCommand = se_DeleteResolverEndpointCommand;
|
|
109
109
|
const se_DeleteResolverQueryLogConfigCommand = async (input, context) => {
|
|
110
110
|
const headers = sharedHeaders("DeleteResolverQueryLogConfig");
|
|
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_DeleteResolverQueryLogConfigCommand = se_DeleteResolverQueryLogConfigCommand;
|
|
116
116
|
const se_DeleteResolverRuleCommand = async (input, context) => {
|
|
117
117
|
const headers = sharedHeaders("DeleteResolverRule");
|
|
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_DeleteResolverRuleCommand = se_DeleteResolverRuleCommand;
|
|
123
123
|
const se_DisassociateFirewallRuleGroupCommand = async (input, context) => {
|
|
124
124
|
const headers = sharedHeaders("DisassociateFirewallRuleGroup");
|
|
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_DisassociateFirewallRuleGroupCommand = se_DisassociateFirewallRuleGroupCommand;
|
|
130
130
|
const se_DisassociateResolverEndpointIpAddressCommand = async (input, context) => {
|
|
131
131
|
const headers = sharedHeaders("DisassociateResolverEndpointIpAddress");
|
|
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_DisassociateResolverEndpointIpAddressCommand = se_DisassociateResolverEndpointIpAddressCommand;
|
|
137
137
|
const se_DisassociateResolverQueryLogConfigCommand = async (input, context) => {
|
|
138
138
|
const headers = sharedHeaders("DisassociateResolverQueryLogConfig");
|
|
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_DisassociateResolverQueryLogConfigCommand = se_DisassociateResolverQueryLogConfigCommand;
|
|
144
144
|
const se_DisassociateResolverRuleCommand = async (input, context) => {
|
|
145
145
|
const headers = sharedHeaders("DisassociateResolverRule");
|
|
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_DisassociateResolverRuleCommand = se_DisassociateResolverRuleCommand;
|
|
151
151
|
const se_GetFirewallConfigCommand = async (input, context) => {
|
|
152
152
|
const headers = sharedHeaders("GetFirewallConfig");
|
|
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_GetFirewallConfigCommand = se_GetFirewallConfigCommand;
|
|
158
158
|
const se_GetFirewallDomainListCommand = async (input, context) => {
|
|
159
159
|
const headers = sharedHeaders("GetFirewallDomainList");
|
|
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_GetFirewallDomainListCommand = se_GetFirewallDomainListCommand;
|
|
165
165
|
const se_GetFirewallRuleGroupCommand = async (input, context) => {
|
|
166
166
|
const headers = sharedHeaders("GetFirewallRuleGroup");
|
|
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_GetFirewallRuleGroupCommand = se_GetFirewallRuleGroupCommand;
|
|
172
172
|
const se_GetFirewallRuleGroupAssociationCommand = async (input, context) => {
|
|
173
173
|
const headers = sharedHeaders("GetFirewallRuleGroupAssociation");
|
|
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_GetFirewallRuleGroupAssociationCommand = se_GetFirewallRuleGroupAssociationCommand;
|
|
179
179
|
const se_GetFirewallRuleGroupPolicyCommand = async (input, context) => {
|
|
180
180
|
const headers = sharedHeaders("GetFirewallRuleGroupPolicy");
|
|
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_GetFirewallRuleGroupPolicyCommand = se_GetFirewallRuleGroupPolicyCommand;
|
|
186
186
|
const se_GetResolverConfigCommand = async (input, context) => {
|
|
187
187
|
const headers = sharedHeaders("GetResolverConfig");
|
|
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_GetResolverConfigCommand = se_GetResolverConfigCommand;
|
|
193
193
|
const se_GetResolverDnssecConfigCommand = async (input, context) => {
|
|
194
194
|
const headers = sharedHeaders("GetResolverDnssecConfig");
|
|
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_GetResolverDnssecConfigCommand = se_GetResolverDnssecConfigCommand;
|
|
200
200
|
const se_GetResolverEndpointCommand = async (input, context) => {
|
|
201
201
|
const headers = sharedHeaders("GetResolverEndpoint");
|
|
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_GetResolverEndpointCommand = se_GetResolverEndpointCommand;
|
|
207
207
|
const se_GetResolverQueryLogConfigCommand = async (input, context) => {
|
|
208
208
|
const headers = sharedHeaders("GetResolverQueryLogConfig");
|
|
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_GetResolverQueryLogConfigCommand = se_GetResolverQueryLogConfigCommand;
|
|
214
214
|
const se_GetResolverQueryLogConfigAssociationCommand = async (input, context) => {
|
|
215
215
|
const headers = sharedHeaders("GetResolverQueryLogConfigAssociation");
|
|
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_GetResolverQueryLogConfigAssociationCommand = se_GetResolverQueryLogConfigAssociationCommand;
|
|
221
221
|
const se_GetResolverQueryLogConfigPolicyCommand = async (input, context) => {
|
|
222
222
|
const headers = sharedHeaders("GetResolverQueryLogConfigPolicy");
|
|
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_GetResolverQueryLogConfigPolicyCommand = se_GetResolverQueryLogConfigPolicyCommand;
|
|
228
228
|
const se_GetResolverRuleCommand = async (input, context) => {
|
|
229
229
|
const headers = sharedHeaders("GetResolverRule");
|
|
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_GetResolverRuleCommand = se_GetResolverRuleCommand;
|
|
235
235
|
const se_GetResolverRuleAssociationCommand = async (input, context) => {
|
|
236
236
|
const headers = sharedHeaders("GetResolverRuleAssociation");
|
|
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_GetResolverRuleAssociationCommand = se_GetResolverRuleAssociationCommand;
|
|
242
242
|
const se_GetResolverRulePolicyCommand = async (input, context) => {
|
|
243
243
|
const headers = sharedHeaders("GetResolverRulePolicy");
|
|
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_GetResolverRulePolicyCommand = se_GetResolverRulePolicyCommand;
|
|
249
249
|
const se_ImportFirewallDomainsCommand = async (input, context) => {
|
|
250
250
|
const headers = sharedHeaders("ImportFirewallDomains");
|
|
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_ImportFirewallDomainsCommand = se_ImportFirewallDomainsCommand;
|
|
256
256
|
const se_ListFirewallConfigsCommand = async (input, context) => {
|
|
257
257
|
const headers = sharedHeaders("ListFirewallConfigs");
|
|
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_ListFirewallConfigsCommand = se_ListFirewallConfigsCommand;
|
|
263
263
|
const se_ListFirewallDomainListsCommand = async (input, context) => {
|
|
264
264
|
const headers = sharedHeaders("ListFirewallDomainLists");
|
|
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_ListFirewallDomainListsCommand = se_ListFirewallDomainListsCommand;
|
|
270
270
|
const se_ListFirewallDomainsCommand = async (input, context) => {
|
|
271
271
|
const headers = sharedHeaders("ListFirewallDomains");
|
|
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_ListFirewallDomainsCommand = se_ListFirewallDomainsCommand;
|
|
277
277
|
const se_ListFirewallRuleGroupAssociationsCommand = async (input, context) => {
|
|
278
278
|
const headers = sharedHeaders("ListFirewallRuleGroupAssociations");
|
|
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_ListFirewallRuleGroupAssociationsCommand = se_ListFirewallRuleGroupAssociationsCommand;
|
|
284
284
|
const se_ListFirewallRuleGroupsCommand = async (input, context) => {
|
|
285
285
|
const headers = sharedHeaders("ListFirewallRuleGroups");
|
|
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_ListFirewallRuleGroupsCommand = se_ListFirewallRuleGroupsCommand;
|
|
291
291
|
const se_ListFirewallRulesCommand = async (input, context) => {
|
|
292
292
|
const headers = sharedHeaders("ListFirewallRules");
|
|
293
293
|
let body;
|
|
294
|
-
body = JSON.stringify(
|
|
294
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
295
295
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
296
296
|
};
|
|
297
297
|
exports.se_ListFirewallRulesCommand = se_ListFirewallRulesCommand;
|
|
298
298
|
const se_ListResolverConfigsCommand = async (input, context) => {
|
|
299
299
|
const headers = sharedHeaders("ListResolverConfigs");
|
|
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_ListResolverConfigsCommand = se_ListResolverConfigsCommand;
|
|
305
305
|
const se_ListResolverDnssecConfigsCommand = async (input, context) => {
|
|
306
306
|
const headers = sharedHeaders("ListResolverDnssecConfigs");
|
|
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_ListResolverDnssecConfigsCommand = se_ListResolverDnssecConfigsCommand;
|
|
312
312
|
const se_ListResolverEndpointIpAddressesCommand = async (input, context) => {
|
|
313
313
|
const headers = sharedHeaders("ListResolverEndpointIpAddresses");
|
|
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_ListResolverEndpointIpAddressesCommand = se_ListResolverEndpointIpAddressesCommand;
|
|
319
319
|
const se_ListResolverEndpointsCommand = async (input, context) => {
|
|
320
320
|
const headers = sharedHeaders("ListResolverEndpoints");
|
|
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_ListResolverEndpointsCommand = se_ListResolverEndpointsCommand;
|
|
326
326
|
const se_ListResolverQueryLogConfigAssociationsCommand = async (input, context) => {
|
|
327
327
|
const headers = sharedHeaders("ListResolverQueryLogConfigAssociations");
|
|
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_ListResolverQueryLogConfigAssociationsCommand = se_ListResolverQueryLogConfigAssociationsCommand;
|
|
333
333
|
const se_ListResolverQueryLogConfigsCommand = async (input, context) => {
|
|
334
334
|
const headers = sharedHeaders("ListResolverQueryLogConfigs");
|
|
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_ListResolverQueryLogConfigsCommand = se_ListResolverQueryLogConfigsCommand;
|
|
340
340
|
const se_ListResolverRuleAssociationsCommand = async (input, context) => {
|
|
341
341
|
const headers = sharedHeaders("ListResolverRuleAssociations");
|
|
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_ListResolverRuleAssociationsCommand = se_ListResolverRuleAssociationsCommand;
|
|
347
347
|
const se_ListResolverRulesCommand = async (input, context) => {
|
|
348
348
|
const headers = sharedHeaders("ListResolverRules");
|
|
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_ListResolverRulesCommand = se_ListResolverRulesCommand;
|
|
354
354
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
355
355
|
const headers = sharedHeaders("ListTagsForResource");
|
|
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_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
361
361
|
const se_PutFirewallRuleGroupPolicyCommand = async (input, context) => {
|
|
362
362
|
const headers = sharedHeaders("PutFirewallRuleGroupPolicy");
|
|
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_PutFirewallRuleGroupPolicyCommand = se_PutFirewallRuleGroupPolicyCommand;
|
|
368
368
|
const se_PutResolverQueryLogConfigPolicyCommand = async (input, context) => {
|
|
369
369
|
const headers = sharedHeaders("PutResolverQueryLogConfigPolicy");
|
|
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_PutResolverQueryLogConfigPolicyCommand = se_PutResolverQueryLogConfigPolicyCommand;
|
|
375
375
|
const se_PutResolverRulePolicyCommand = async (input, context) => {
|
|
376
376
|
const headers = sharedHeaders("PutResolverRulePolicy");
|
|
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_PutResolverRulePolicyCommand = se_PutResolverRulePolicyCommand;
|
|
382
382
|
const se_TagResourceCommand = async (input, context) => {
|
|
383
383
|
const headers = sharedHeaders("TagResource");
|
|
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_TagResourceCommand = se_TagResourceCommand;
|
|
389
389
|
const se_UntagResourceCommand = async (input, context) => {
|
|
390
390
|
const headers = sharedHeaders("UntagResource");
|
|
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_UntagResourceCommand = se_UntagResourceCommand;
|
|
396
396
|
const se_UpdateFirewallConfigCommand = async (input, context) => {
|
|
397
397
|
const headers = sharedHeaders("UpdateFirewallConfig");
|
|
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_UpdateFirewallConfigCommand = se_UpdateFirewallConfigCommand;
|
|
403
403
|
const se_UpdateFirewallDomainsCommand = async (input, context) => {
|
|
404
404
|
const headers = sharedHeaders("UpdateFirewallDomains");
|
|
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_UpdateFirewallDomainsCommand = se_UpdateFirewallDomainsCommand;
|
|
410
410
|
const se_UpdateFirewallRuleCommand = async (input, context) => {
|
|
411
411
|
const headers = sharedHeaders("UpdateFirewallRule");
|
|
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_UpdateFirewallRuleCommand = se_UpdateFirewallRuleCommand;
|
|
417
417
|
const se_UpdateFirewallRuleGroupAssociationCommand = async (input, context) => {
|
|
418
418
|
const headers = sharedHeaders("UpdateFirewallRuleGroupAssociation");
|
|
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_UpdateFirewallRuleGroupAssociationCommand = se_UpdateFirewallRuleGroupAssociationCommand;
|
|
424
424
|
const se_UpdateResolverConfigCommand = async (input, context) => {
|
|
425
425
|
const headers = sharedHeaders("UpdateResolverConfig");
|
|
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_UpdateResolverConfigCommand = se_UpdateResolverConfigCommand;
|
|
431
431
|
const se_UpdateResolverDnssecConfigCommand = async (input, context) => {
|
|
432
432
|
const headers = sharedHeaders("UpdateResolverDnssecConfig");
|
|
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_UpdateResolverDnssecConfigCommand = se_UpdateResolverDnssecConfigCommand;
|
|
438
438
|
const se_UpdateResolverEndpointCommand = async (input, context) => {
|
|
439
439
|
const headers = sharedHeaders("UpdateResolverEndpoint");
|
|
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_UpdateResolverEndpointCommand = se_UpdateResolverEndpointCommand;
|
|
445
445
|
const se_UpdateResolverRuleCommand = async (input, context) => {
|
|
446
446
|
const headers = sharedHeaders("UpdateResolverRule");
|
|
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_UpdateResolverRuleCommand = se_UpdateResolverRuleCommand;
|
|
@@ -455,12 +455,12 @@ const de_AssociateFirewallRuleGroupCommand = async (output, context) => {
|
|
|
455
455
|
}
|
|
456
456
|
const data = await parseBody(output.body, context);
|
|
457
457
|
let contents = {};
|
|
458
|
-
contents =
|
|
458
|
+
contents = (0, smithy_client_1._json)(data);
|
|
459
459
|
const response = {
|
|
460
460
|
$metadata: deserializeMetadata(output),
|
|
461
461
|
...contents,
|
|
462
462
|
};
|
|
463
|
-
return
|
|
463
|
+
return response;
|
|
464
464
|
};
|
|
465
465
|
exports.de_AssociateFirewallRuleGroupCommand = de_AssociateFirewallRuleGroupCommand;
|
|
466
466
|
const de_AssociateFirewallRuleGroupCommandError = async (output, context) => {
|
|
@@ -493,10 +493,9 @@ const de_AssociateFirewallRuleGroupCommandError = async (output, context) => {
|
|
|
493
493
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
494
494
|
default:
|
|
495
495
|
const parsedBody = parsedOutput.body;
|
|
496
|
-
|
|
496
|
+
return throwDefaultError({
|
|
497
497
|
output,
|
|
498
498
|
parsedBody,
|
|
499
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
500
499
|
errorCode,
|
|
501
500
|
});
|
|
502
501
|
}
|
|
@@ -507,12 +506,12 @@ const de_AssociateResolverEndpointIpAddressCommand = async (output, context) =>
|
|
|
507
506
|
}
|
|
508
507
|
const data = await parseBody(output.body, context);
|
|
509
508
|
let contents = {};
|
|
510
|
-
contents =
|
|
509
|
+
contents = (0, smithy_client_1._json)(data);
|
|
511
510
|
const response = {
|
|
512
511
|
$metadata: deserializeMetadata(output),
|
|
513
512
|
...contents,
|
|
514
513
|
};
|
|
515
|
-
return
|
|
514
|
+
return response;
|
|
516
515
|
};
|
|
517
516
|
exports.de_AssociateResolverEndpointIpAddressCommand = de_AssociateResolverEndpointIpAddressCommand;
|
|
518
517
|
const de_AssociateResolverEndpointIpAddressCommandError = async (output, context) => {
|
|
@@ -545,10 +544,9 @@ const de_AssociateResolverEndpointIpAddressCommandError = async (output, context
|
|
|
545
544
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
546
545
|
default:
|
|
547
546
|
const parsedBody = parsedOutput.body;
|
|
548
|
-
|
|
547
|
+
return throwDefaultError({
|
|
549
548
|
output,
|
|
550
549
|
parsedBody,
|
|
551
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
552
550
|
errorCode,
|
|
553
551
|
});
|
|
554
552
|
}
|
|
@@ -559,12 +557,12 @@ const de_AssociateResolverQueryLogConfigCommand = async (output, context) => {
|
|
|
559
557
|
}
|
|
560
558
|
const data = await parseBody(output.body, context);
|
|
561
559
|
let contents = {};
|
|
562
|
-
contents =
|
|
560
|
+
contents = (0, smithy_client_1._json)(data);
|
|
563
561
|
const response = {
|
|
564
562
|
$metadata: deserializeMetadata(output),
|
|
565
563
|
...contents,
|
|
566
564
|
};
|
|
567
|
-
return
|
|
565
|
+
return response;
|
|
568
566
|
};
|
|
569
567
|
exports.de_AssociateResolverQueryLogConfigCommand = de_AssociateResolverQueryLogConfigCommand;
|
|
570
568
|
const de_AssociateResolverQueryLogConfigCommandError = async (output, context) => {
|
|
@@ -600,10 +598,9 @@ const de_AssociateResolverQueryLogConfigCommandError = async (output, context) =
|
|
|
600
598
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
601
599
|
default:
|
|
602
600
|
const parsedBody = parsedOutput.body;
|
|
603
|
-
|
|
601
|
+
return throwDefaultError({
|
|
604
602
|
output,
|
|
605
603
|
parsedBody,
|
|
606
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
607
604
|
errorCode,
|
|
608
605
|
});
|
|
609
606
|
}
|
|
@@ -614,12 +611,12 @@ const de_AssociateResolverRuleCommand = async (output, context) => {
|
|
|
614
611
|
}
|
|
615
612
|
const data = await parseBody(output.body, context);
|
|
616
613
|
let contents = {};
|
|
617
|
-
contents =
|
|
614
|
+
contents = (0, smithy_client_1._json)(data);
|
|
618
615
|
const response = {
|
|
619
616
|
$metadata: deserializeMetadata(output),
|
|
620
617
|
...contents,
|
|
621
618
|
};
|
|
622
|
-
return
|
|
619
|
+
return response;
|
|
623
620
|
};
|
|
624
621
|
exports.de_AssociateResolverRuleCommand = de_AssociateResolverRuleCommand;
|
|
625
622
|
const de_AssociateResolverRuleCommandError = async (output, context) => {
|
|
@@ -655,10 +652,9 @@ const de_AssociateResolverRuleCommandError = async (output, context) => {
|
|
|
655
652
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
656
653
|
default:
|
|
657
654
|
const parsedBody = parsedOutput.body;
|
|
658
|
-
|
|
655
|
+
return throwDefaultError({
|
|
659
656
|
output,
|
|
660
657
|
parsedBody,
|
|
661
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
662
658
|
errorCode,
|
|
663
659
|
});
|
|
664
660
|
}
|
|
@@ -669,12 +665,12 @@ const de_CreateFirewallDomainListCommand = async (output, context) => {
|
|
|
669
665
|
}
|
|
670
666
|
const data = await parseBody(output.body, context);
|
|
671
667
|
let contents = {};
|
|
672
|
-
contents =
|
|
668
|
+
contents = (0, smithy_client_1._json)(data);
|
|
673
669
|
const response = {
|
|
674
670
|
$metadata: deserializeMetadata(output),
|
|
675
671
|
...contents,
|
|
676
672
|
};
|
|
677
|
-
return
|
|
673
|
+
return response;
|
|
678
674
|
};
|
|
679
675
|
exports.de_CreateFirewallDomainListCommand = de_CreateFirewallDomainListCommand;
|
|
680
676
|
const de_CreateFirewallDomainListCommandError = async (output, context) => {
|
|
@@ -701,10 +697,9 @@ const de_CreateFirewallDomainListCommandError = async (output, context) => {
|
|
|
701
697
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
702
698
|
default:
|
|
703
699
|
const parsedBody = parsedOutput.body;
|
|
704
|
-
|
|
700
|
+
return throwDefaultError({
|
|
705
701
|
output,
|
|
706
702
|
parsedBody,
|
|
707
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
708
703
|
errorCode,
|
|
709
704
|
});
|
|
710
705
|
}
|
|
@@ -715,12 +710,12 @@ const de_CreateFirewallRuleCommand = async (output, context) => {
|
|
|
715
710
|
}
|
|
716
711
|
const data = await parseBody(output.body, context);
|
|
717
712
|
let contents = {};
|
|
718
|
-
contents =
|
|
713
|
+
contents = (0, smithy_client_1._json)(data);
|
|
719
714
|
const response = {
|
|
720
715
|
$metadata: deserializeMetadata(output),
|
|
721
716
|
...contents,
|
|
722
717
|
};
|
|
723
|
-
return
|
|
718
|
+
return response;
|
|
724
719
|
};
|
|
725
720
|
exports.de_CreateFirewallRuleCommand = de_CreateFirewallRuleCommand;
|
|
726
721
|
const de_CreateFirewallRuleCommandError = async (output, context) => {
|
|
@@ -750,10 +745,9 @@ const de_CreateFirewallRuleCommandError = async (output, context) => {
|
|
|
750
745
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
751
746
|
default:
|
|
752
747
|
const parsedBody = parsedOutput.body;
|
|
753
|
-
|
|
748
|
+
return throwDefaultError({
|
|
754
749
|
output,
|
|
755
750
|
parsedBody,
|
|
756
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
757
751
|
errorCode,
|
|
758
752
|
});
|
|
759
753
|
}
|
|
@@ -764,12 +758,12 @@ const de_CreateFirewallRuleGroupCommand = async (output, context) => {
|
|
|
764
758
|
}
|
|
765
759
|
const data = await parseBody(output.body, context);
|
|
766
760
|
let contents = {};
|
|
767
|
-
contents =
|
|
761
|
+
contents = (0, smithy_client_1._json)(data);
|
|
768
762
|
const response = {
|
|
769
763
|
$metadata: deserializeMetadata(output),
|
|
770
764
|
...contents,
|
|
771
765
|
};
|
|
772
|
-
return
|
|
766
|
+
return response;
|
|
773
767
|
};
|
|
774
768
|
exports.de_CreateFirewallRuleGroupCommand = de_CreateFirewallRuleGroupCommand;
|
|
775
769
|
const de_CreateFirewallRuleGroupCommandError = async (output, context) => {
|
|
@@ -796,10 +790,9 @@ const de_CreateFirewallRuleGroupCommandError = async (output, context) => {
|
|
|
796
790
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
797
791
|
default:
|
|
798
792
|
const parsedBody = parsedOutput.body;
|
|
799
|
-
|
|
793
|
+
return throwDefaultError({
|
|
800
794
|
output,
|
|
801
795
|
parsedBody,
|
|
802
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
803
796
|
errorCode,
|
|
804
797
|
});
|
|
805
798
|
}
|
|
@@ -810,12 +803,12 @@ const de_CreateResolverEndpointCommand = async (output, context) => {
|
|
|
810
803
|
}
|
|
811
804
|
const data = await parseBody(output.body, context);
|
|
812
805
|
let contents = {};
|
|
813
|
-
contents =
|
|
806
|
+
contents = (0, smithy_client_1._json)(data);
|
|
814
807
|
const response = {
|
|
815
808
|
$metadata: deserializeMetadata(output),
|
|
816
809
|
...contents,
|
|
817
810
|
};
|
|
818
|
-
return
|
|
811
|
+
return response;
|
|
819
812
|
};
|
|
820
813
|
exports.de_CreateResolverEndpointCommand = de_CreateResolverEndpointCommand;
|
|
821
814
|
const de_CreateResolverEndpointCommandError = async (output, context) => {
|
|
@@ -848,10 +841,9 @@ const de_CreateResolverEndpointCommandError = async (output, context) => {
|
|
|
848
841
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
849
842
|
default:
|
|
850
843
|
const parsedBody = parsedOutput.body;
|
|
851
|
-
|
|
844
|
+
return throwDefaultError({
|
|
852
845
|
output,
|
|
853
846
|
parsedBody,
|
|
854
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
855
847
|
errorCode,
|
|
856
848
|
});
|
|
857
849
|
}
|
|
@@ -862,12 +854,12 @@ const de_CreateResolverQueryLogConfigCommand = async (output, context) => {
|
|
|
862
854
|
}
|
|
863
855
|
const data = await parseBody(output.body, context);
|
|
864
856
|
let contents = {};
|
|
865
|
-
contents =
|
|
857
|
+
contents = (0, smithy_client_1._json)(data);
|
|
866
858
|
const response = {
|
|
867
859
|
$metadata: deserializeMetadata(output),
|
|
868
860
|
...contents,
|
|
869
861
|
};
|
|
870
|
-
return
|
|
862
|
+
return response;
|
|
871
863
|
};
|
|
872
864
|
exports.de_CreateResolverQueryLogConfigCommand = de_CreateResolverQueryLogConfigCommand;
|
|
873
865
|
const de_CreateResolverQueryLogConfigCommandError = async (output, context) => {
|
|
@@ -903,10 +895,9 @@ const de_CreateResolverQueryLogConfigCommandError = async (output, context) => {
|
|
|
903
895
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
904
896
|
default:
|
|
905
897
|
const parsedBody = parsedOutput.body;
|
|
906
|
-
|
|
898
|
+
return throwDefaultError({
|
|
907
899
|
output,
|
|
908
900
|
parsedBody,
|
|
909
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
910
901
|
errorCode,
|
|
911
902
|
});
|
|
912
903
|
}
|
|
@@ -917,12 +908,12 @@ const de_CreateResolverRuleCommand = async (output, context) => {
|
|
|
917
908
|
}
|
|
918
909
|
const data = await parseBody(output.body, context);
|
|
919
910
|
let contents = {};
|
|
920
|
-
contents =
|
|
911
|
+
contents = (0, smithy_client_1._json)(data);
|
|
921
912
|
const response = {
|
|
922
913
|
$metadata: deserializeMetadata(output),
|
|
923
914
|
...contents,
|
|
924
915
|
};
|
|
925
|
-
return
|
|
916
|
+
return response;
|
|
926
917
|
};
|
|
927
918
|
exports.de_CreateResolverRuleCommand = de_CreateResolverRuleCommand;
|
|
928
919
|
const de_CreateResolverRuleCommandError = async (output, context) => {
|
|
@@ -958,10 +949,9 @@ const de_CreateResolverRuleCommandError = async (output, context) => {
|
|
|
958
949
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
959
950
|
default:
|
|
960
951
|
const parsedBody = parsedOutput.body;
|
|
961
|
-
|
|
952
|
+
return throwDefaultError({
|
|
962
953
|
output,
|
|
963
954
|
parsedBody,
|
|
964
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
965
955
|
errorCode,
|
|
966
956
|
});
|
|
967
957
|
}
|
|
@@ -972,12 +962,12 @@ const de_DeleteFirewallDomainListCommand = async (output, context) => {
|
|
|
972
962
|
}
|
|
973
963
|
const data = await parseBody(output.body, context);
|
|
974
964
|
let contents = {};
|
|
975
|
-
contents =
|
|
965
|
+
contents = (0, smithy_client_1._json)(data);
|
|
976
966
|
const response = {
|
|
977
967
|
$metadata: deserializeMetadata(output),
|
|
978
968
|
...contents,
|
|
979
969
|
};
|
|
980
|
-
return
|
|
970
|
+
return response;
|
|
981
971
|
};
|
|
982
972
|
exports.de_DeleteFirewallDomainListCommand = de_DeleteFirewallDomainListCommand;
|
|
983
973
|
const de_DeleteFirewallDomainListCommandError = async (output, context) => {
|
|
@@ -1004,10 +994,9 @@ const de_DeleteFirewallDomainListCommandError = async (output, context) => {
|
|
|
1004
994
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1005
995
|
default:
|
|
1006
996
|
const parsedBody = parsedOutput.body;
|
|
1007
|
-
|
|
997
|
+
return throwDefaultError({
|
|
1008
998
|
output,
|
|
1009
999
|
parsedBody,
|
|
1010
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1011
1000
|
errorCode,
|
|
1012
1001
|
});
|
|
1013
1002
|
}
|
|
@@ -1018,12 +1007,12 @@ const de_DeleteFirewallRuleCommand = async (output, context) => {
|
|
|
1018
1007
|
}
|
|
1019
1008
|
const data = await parseBody(output.body, context);
|
|
1020
1009
|
let contents = {};
|
|
1021
|
-
contents =
|
|
1010
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1022
1011
|
const response = {
|
|
1023
1012
|
$metadata: deserializeMetadata(output),
|
|
1024
1013
|
...contents,
|
|
1025
1014
|
};
|
|
1026
|
-
return
|
|
1015
|
+
return response;
|
|
1027
1016
|
};
|
|
1028
1017
|
exports.de_DeleteFirewallRuleCommand = de_DeleteFirewallRuleCommand;
|
|
1029
1018
|
const de_DeleteFirewallRuleCommandError = async (output, context) => {
|
|
@@ -1047,10 +1036,9 @@ const de_DeleteFirewallRuleCommandError = async (output, context) => {
|
|
|
1047
1036
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1048
1037
|
default:
|
|
1049
1038
|
const parsedBody = parsedOutput.body;
|
|
1050
|
-
|
|
1039
|
+
return throwDefaultError({
|
|
1051
1040
|
output,
|
|
1052
1041
|
parsedBody,
|
|
1053
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1054
1042
|
errorCode,
|
|
1055
1043
|
});
|
|
1056
1044
|
}
|
|
@@ -1061,12 +1049,12 @@ const de_DeleteFirewallRuleGroupCommand = async (output, context) => {
|
|
|
1061
1049
|
}
|
|
1062
1050
|
const data = await parseBody(output.body, context);
|
|
1063
1051
|
let contents = {};
|
|
1064
|
-
contents =
|
|
1052
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1065
1053
|
const response = {
|
|
1066
1054
|
$metadata: deserializeMetadata(output),
|
|
1067
1055
|
...contents,
|
|
1068
1056
|
};
|
|
1069
|
-
return
|
|
1057
|
+
return response;
|
|
1070
1058
|
};
|
|
1071
1059
|
exports.de_DeleteFirewallRuleGroupCommand = de_DeleteFirewallRuleGroupCommand;
|
|
1072
1060
|
const de_DeleteFirewallRuleGroupCommandError = async (output, context) => {
|
|
@@ -1096,10 +1084,9 @@ const de_DeleteFirewallRuleGroupCommandError = async (output, context) => {
|
|
|
1096
1084
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1097
1085
|
default:
|
|
1098
1086
|
const parsedBody = parsedOutput.body;
|
|
1099
|
-
|
|
1087
|
+
return throwDefaultError({
|
|
1100
1088
|
output,
|
|
1101
1089
|
parsedBody,
|
|
1102
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1103
1090
|
errorCode,
|
|
1104
1091
|
});
|
|
1105
1092
|
}
|
|
@@ -1110,12 +1097,12 @@ const de_DeleteResolverEndpointCommand = async (output, context) => {
|
|
|
1110
1097
|
}
|
|
1111
1098
|
const data = await parseBody(output.body, context);
|
|
1112
1099
|
let contents = {};
|
|
1113
|
-
contents =
|
|
1100
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1114
1101
|
const response = {
|
|
1115
1102
|
$metadata: deserializeMetadata(output),
|
|
1116
1103
|
...contents,
|
|
1117
1104
|
};
|
|
1118
|
-
return
|
|
1105
|
+
return response;
|
|
1119
1106
|
};
|
|
1120
1107
|
exports.de_DeleteResolverEndpointCommand = de_DeleteResolverEndpointCommand;
|
|
1121
1108
|
const de_DeleteResolverEndpointCommandError = async (output, context) => {
|
|
@@ -1142,10 +1129,9 @@ const de_DeleteResolverEndpointCommandError = async (output, context) => {
|
|
|
1142
1129
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1143
1130
|
default:
|
|
1144
1131
|
const parsedBody = parsedOutput.body;
|
|
1145
|
-
|
|
1132
|
+
return throwDefaultError({
|
|
1146
1133
|
output,
|
|
1147
1134
|
parsedBody,
|
|
1148
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1149
1135
|
errorCode,
|
|
1150
1136
|
});
|
|
1151
1137
|
}
|
|
@@ -1156,12 +1142,12 @@ const de_DeleteResolverQueryLogConfigCommand = async (output, context) => {
|
|
|
1156
1142
|
}
|
|
1157
1143
|
const data = await parseBody(output.body, context);
|
|
1158
1144
|
let contents = {};
|
|
1159
|
-
contents =
|
|
1145
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1160
1146
|
const response = {
|
|
1161
1147
|
$metadata: deserializeMetadata(output),
|
|
1162
1148
|
...contents,
|
|
1163
1149
|
};
|
|
1164
|
-
return
|
|
1150
|
+
return response;
|
|
1165
1151
|
};
|
|
1166
1152
|
exports.de_DeleteResolverQueryLogConfigCommand = de_DeleteResolverQueryLogConfigCommand;
|
|
1167
1153
|
const de_DeleteResolverQueryLogConfigCommandError = async (output, context) => {
|
|
@@ -1191,10 +1177,9 @@ const de_DeleteResolverQueryLogConfigCommandError = async (output, context) => {
|
|
|
1191
1177
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1192
1178
|
default:
|
|
1193
1179
|
const parsedBody = parsedOutput.body;
|
|
1194
|
-
|
|
1180
|
+
return throwDefaultError({
|
|
1195
1181
|
output,
|
|
1196
1182
|
parsedBody,
|
|
1197
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1198
1183
|
errorCode,
|
|
1199
1184
|
});
|
|
1200
1185
|
}
|
|
@@ -1205,12 +1190,12 @@ const de_DeleteResolverRuleCommand = async (output, context) => {
|
|
|
1205
1190
|
}
|
|
1206
1191
|
const data = await parseBody(output.body, context);
|
|
1207
1192
|
let contents = {};
|
|
1208
|
-
contents =
|
|
1193
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1209
1194
|
const response = {
|
|
1210
1195
|
$metadata: deserializeMetadata(output),
|
|
1211
1196
|
...contents,
|
|
1212
1197
|
};
|
|
1213
|
-
return
|
|
1198
|
+
return response;
|
|
1214
1199
|
};
|
|
1215
1200
|
exports.de_DeleteResolverRuleCommand = de_DeleteResolverRuleCommand;
|
|
1216
1201
|
const de_DeleteResolverRuleCommandError = async (output, context) => {
|
|
@@ -1237,10 +1222,9 @@ const de_DeleteResolverRuleCommandError = async (output, context) => {
|
|
|
1237
1222
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1238
1223
|
default:
|
|
1239
1224
|
const parsedBody = parsedOutput.body;
|
|
1240
|
-
|
|
1225
|
+
return throwDefaultError({
|
|
1241
1226
|
output,
|
|
1242
1227
|
parsedBody,
|
|
1243
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1244
1228
|
errorCode,
|
|
1245
1229
|
});
|
|
1246
1230
|
}
|
|
@@ -1251,12 +1235,12 @@ const de_DisassociateFirewallRuleGroupCommand = async (output, context) => {
|
|
|
1251
1235
|
}
|
|
1252
1236
|
const data = await parseBody(output.body, context);
|
|
1253
1237
|
let contents = {};
|
|
1254
|
-
contents =
|
|
1238
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1255
1239
|
const response = {
|
|
1256
1240
|
$metadata: deserializeMetadata(output),
|
|
1257
1241
|
...contents,
|
|
1258
1242
|
};
|
|
1259
|
-
return
|
|
1243
|
+
return response;
|
|
1260
1244
|
};
|
|
1261
1245
|
exports.de_DisassociateFirewallRuleGroupCommand = de_DisassociateFirewallRuleGroupCommand;
|
|
1262
1246
|
const de_DisassociateFirewallRuleGroupCommandError = async (output, context) => {
|
|
@@ -1286,10 +1270,9 @@ const de_DisassociateFirewallRuleGroupCommandError = async (output, context) =>
|
|
|
1286
1270
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1287
1271
|
default:
|
|
1288
1272
|
const parsedBody = parsedOutput.body;
|
|
1289
|
-
|
|
1273
|
+
return throwDefaultError({
|
|
1290
1274
|
output,
|
|
1291
1275
|
parsedBody,
|
|
1292
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1293
1276
|
errorCode,
|
|
1294
1277
|
});
|
|
1295
1278
|
}
|
|
@@ -1300,12 +1283,12 @@ const de_DisassociateResolverEndpointIpAddressCommand = async (output, context)
|
|
|
1300
1283
|
}
|
|
1301
1284
|
const data = await parseBody(output.body, context);
|
|
1302
1285
|
let contents = {};
|
|
1303
|
-
contents =
|
|
1286
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1304
1287
|
const response = {
|
|
1305
1288
|
$metadata: deserializeMetadata(output),
|
|
1306
1289
|
...contents,
|
|
1307
1290
|
};
|
|
1308
|
-
return
|
|
1291
|
+
return response;
|
|
1309
1292
|
};
|
|
1310
1293
|
exports.de_DisassociateResolverEndpointIpAddressCommand = de_DisassociateResolverEndpointIpAddressCommand;
|
|
1311
1294
|
const de_DisassociateResolverEndpointIpAddressCommandError = async (output, context) => {
|
|
@@ -1335,10 +1318,9 @@ const de_DisassociateResolverEndpointIpAddressCommandError = async (output, cont
|
|
|
1335
1318
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1336
1319
|
default:
|
|
1337
1320
|
const parsedBody = parsedOutput.body;
|
|
1338
|
-
|
|
1321
|
+
return throwDefaultError({
|
|
1339
1322
|
output,
|
|
1340
1323
|
parsedBody,
|
|
1341
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1342
1324
|
errorCode,
|
|
1343
1325
|
});
|
|
1344
1326
|
}
|
|
@@ -1349,12 +1331,12 @@ const de_DisassociateResolverQueryLogConfigCommand = async (output, context) =>
|
|
|
1349
1331
|
}
|
|
1350
1332
|
const data = await parseBody(output.body, context);
|
|
1351
1333
|
let contents = {};
|
|
1352
|
-
contents =
|
|
1334
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1353
1335
|
const response = {
|
|
1354
1336
|
$metadata: deserializeMetadata(output),
|
|
1355
1337
|
...contents,
|
|
1356
1338
|
};
|
|
1357
|
-
return
|
|
1339
|
+
return response;
|
|
1358
1340
|
};
|
|
1359
1341
|
exports.de_DisassociateResolverQueryLogConfigCommand = de_DisassociateResolverQueryLogConfigCommand;
|
|
1360
1342
|
const de_DisassociateResolverQueryLogConfigCommandError = async (output, context) => {
|
|
@@ -1384,10 +1366,9 @@ const de_DisassociateResolverQueryLogConfigCommandError = async (output, context
|
|
|
1384
1366
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1385
1367
|
default:
|
|
1386
1368
|
const parsedBody = parsedOutput.body;
|
|
1387
|
-
|
|
1369
|
+
return throwDefaultError({
|
|
1388
1370
|
output,
|
|
1389
1371
|
parsedBody,
|
|
1390
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1391
1372
|
errorCode,
|
|
1392
1373
|
});
|
|
1393
1374
|
}
|
|
@@ -1398,12 +1379,12 @@ const de_DisassociateResolverRuleCommand = async (output, context) => {
|
|
|
1398
1379
|
}
|
|
1399
1380
|
const data = await parseBody(output.body, context);
|
|
1400
1381
|
let contents = {};
|
|
1401
|
-
contents =
|
|
1382
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1402
1383
|
const response = {
|
|
1403
1384
|
$metadata: deserializeMetadata(output),
|
|
1404
1385
|
...contents,
|
|
1405
1386
|
};
|
|
1406
|
-
return
|
|
1387
|
+
return response;
|
|
1407
1388
|
};
|
|
1408
1389
|
exports.de_DisassociateResolverRuleCommand = de_DisassociateResolverRuleCommand;
|
|
1409
1390
|
const de_DisassociateResolverRuleCommandError = async (output, context) => {
|
|
@@ -1427,10 +1408,9 @@ const de_DisassociateResolverRuleCommandError = async (output, context) => {
|
|
|
1427
1408
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1428
1409
|
default:
|
|
1429
1410
|
const parsedBody = parsedOutput.body;
|
|
1430
|
-
|
|
1411
|
+
return throwDefaultError({
|
|
1431
1412
|
output,
|
|
1432
1413
|
parsedBody,
|
|
1433
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1434
1414
|
errorCode,
|
|
1435
1415
|
});
|
|
1436
1416
|
}
|
|
@@ -1441,12 +1421,12 @@ const de_GetFirewallConfigCommand = async (output, context) => {
|
|
|
1441
1421
|
}
|
|
1442
1422
|
const data = await parseBody(output.body, context);
|
|
1443
1423
|
let contents = {};
|
|
1444
|
-
contents =
|
|
1424
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1445
1425
|
const response = {
|
|
1446
1426
|
$metadata: deserializeMetadata(output),
|
|
1447
1427
|
...contents,
|
|
1448
1428
|
};
|
|
1449
|
-
return
|
|
1429
|
+
return response;
|
|
1450
1430
|
};
|
|
1451
1431
|
exports.de_GetFirewallConfigCommand = de_GetFirewallConfigCommand;
|
|
1452
1432
|
const de_GetFirewallConfigCommandError = async (output, context) => {
|
|
@@ -1473,10 +1453,9 @@ const de_GetFirewallConfigCommandError = async (output, context) => {
|
|
|
1473
1453
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1474
1454
|
default:
|
|
1475
1455
|
const parsedBody = parsedOutput.body;
|
|
1476
|
-
|
|
1456
|
+
return throwDefaultError({
|
|
1477
1457
|
output,
|
|
1478
1458
|
parsedBody,
|
|
1479
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1480
1459
|
errorCode,
|
|
1481
1460
|
});
|
|
1482
1461
|
}
|
|
@@ -1487,12 +1466,12 @@ const de_GetFirewallDomainListCommand = async (output, context) => {
|
|
|
1487
1466
|
}
|
|
1488
1467
|
const data = await parseBody(output.body, context);
|
|
1489
1468
|
let contents = {};
|
|
1490
|
-
contents =
|
|
1469
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1491
1470
|
const response = {
|
|
1492
1471
|
$metadata: deserializeMetadata(output),
|
|
1493
1472
|
...contents,
|
|
1494
1473
|
};
|
|
1495
|
-
return
|
|
1474
|
+
return response;
|
|
1496
1475
|
};
|
|
1497
1476
|
exports.de_GetFirewallDomainListCommand = de_GetFirewallDomainListCommand;
|
|
1498
1477
|
const de_GetFirewallDomainListCommandError = async (output, context) => {
|
|
@@ -1516,10 +1495,9 @@ const de_GetFirewallDomainListCommandError = async (output, context) => {
|
|
|
1516
1495
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1517
1496
|
default:
|
|
1518
1497
|
const parsedBody = parsedOutput.body;
|
|
1519
|
-
|
|
1498
|
+
return throwDefaultError({
|
|
1520
1499
|
output,
|
|
1521
1500
|
parsedBody,
|
|
1522
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1523
1501
|
errorCode,
|
|
1524
1502
|
});
|
|
1525
1503
|
}
|
|
@@ -1530,12 +1508,12 @@ const de_GetFirewallRuleGroupCommand = async (output, context) => {
|
|
|
1530
1508
|
}
|
|
1531
1509
|
const data = await parseBody(output.body, context);
|
|
1532
1510
|
let contents = {};
|
|
1533
|
-
contents =
|
|
1511
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1534
1512
|
const response = {
|
|
1535
1513
|
$metadata: deserializeMetadata(output),
|
|
1536
1514
|
...contents,
|
|
1537
1515
|
};
|
|
1538
|
-
return
|
|
1516
|
+
return response;
|
|
1539
1517
|
};
|
|
1540
1518
|
exports.de_GetFirewallRuleGroupCommand = de_GetFirewallRuleGroupCommand;
|
|
1541
1519
|
const de_GetFirewallRuleGroupCommandError = async (output, context) => {
|
|
@@ -1559,10 +1537,9 @@ const de_GetFirewallRuleGroupCommandError = async (output, context) => {
|
|
|
1559
1537
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1560
1538
|
default:
|
|
1561
1539
|
const parsedBody = parsedOutput.body;
|
|
1562
|
-
|
|
1540
|
+
return throwDefaultError({
|
|
1563
1541
|
output,
|
|
1564
1542
|
parsedBody,
|
|
1565
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1566
1543
|
errorCode,
|
|
1567
1544
|
});
|
|
1568
1545
|
}
|
|
@@ -1573,12 +1550,12 @@ const de_GetFirewallRuleGroupAssociationCommand = async (output, context) => {
|
|
|
1573
1550
|
}
|
|
1574
1551
|
const data = await parseBody(output.body, context);
|
|
1575
1552
|
let contents = {};
|
|
1576
|
-
contents =
|
|
1553
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1577
1554
|
const response = {
|
|
1578
1555
|
$metadata: deserializeMetadata(output),
|
|
1579
1556
|
...contents,
|
|
1580
1557
|
};
|
|
1581
|
-
return
|
|
1558
|
+
return response;
|
|
1582
1559
|
};
|
|
1583
1560
|
exports.de_GetFirewallRuleGroupAssociationCommand = de_GetFirewallRuleGroupAssociationCommand;
|
|
1584
1561
|
const de_GetFirewallRuleGroupAssociationCommandError = async (output, context) => {
|
|
@@ -1602,10 +1579,9 @@ const de_GetFirewallRuleGroupAssociationCommandError = async (output, context) =
|
|
|
1602
1579
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1603
1580
|
default:
|
|
1604
1581
|
const parsedBody = parsedOutput.body;
|
|
1605
|
-
|
|
1582
|
+
return throwDefaultError({
|
|
1606
1583
|
output,
|
|
1607
1584
|
parsedBody,
|
|
1608
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1609
1585
|
errorCode,
|
|
1610
1586
|
});
|
|
1611
1587
|
}
|
|
@@ -1616,12 +1592,12 @@ const de_GetFirewallRuleGroupPolicyCommand = async (output, context) => {
|
|
|
1616
1592
|
}
|
|
1617
1593
|
const data = await parseBody(output.body, context);
|
|
1618
1594
|
let contents = {};
|
|
1619
|
-
contents =
|
|
1595
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1620
1596
|
const response = {
|
|
1621
1597
|
$metadata: deserializeMetadata(output),
|
|
1622
1598
|
...contents,
|
|
1623
1599
|
};
|
|
1624
|
-
return
|
|
1600
|
+
return response;
|
|
1625
1601
|
};
|
|
1626
1602
|
exports.de_GetFirewallRuleGroupPolicyCommand = de_GetFirewallRuleGroupPolicyCommand;
|
|
1627
1603
|
const de_GetFirewallRuleGroupPolicyCommandError = async (output, context) => {
|
|
@@ -1648,10 +1624,9 @@ const de_GetFirewallRuleGroupPolicyCommandError = async (output, context) => {
|
|
|
1648
1624
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1649
1625
|
default:
|
|
1650
1626
|
const parsedBody = parsedOutput.body;
|
|
1651
|
-
|
|
1627
|
+
return throwDefaultError({
|
|
1652
1628
|
output,
|
|
1653
1629
|
parsedBody,
|
|
1654
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1655
1630
|
errorCode,
|
|
1656
1631
|
});
|
|
1657
1632
|
}
|
|
@@ -1662,12 +1637,12 @@ const de_GetResolverConfigCommand = async (output, context) => {
|
|
|
1662
1637
|
}
|
|
1663
1638
|
const data = await parseBody(output.body, context);
|
|
1664
1639
|
let contents = {};
|
|
1665
|
-
contents =
|
|
1640
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1666
1641
|
const response = {
|
|
1667
1642
|
$metadata: deserializeMetadata(output),
|
|
1668
1643
|
...contents,
|
|
1669
1644
|
};
|
|
1670
|
-
return
|
|
1645
|
+
return response;
|
|
1671
1646
|
};
|
|
1672
1647
|
exports.de_GetResolverConfigCommand = de_GetResolverConfigCommand;
|
|
1673
1648
|
const de_GetResolverConfigCommandError = async (output, context) => {
|
|
@@ -1697,10 +1672,9 @@ const de_GetResolverConfigCommandError = async (output, context) => {
|
|
|
1697
1672
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1698
1673
|
default:
|
|
1699
1674
|
const parsedBody = parsedOutput.body;
|
|
1700
|
-
|
|
1675
|
+
return throwDefaultError({
|
|
1701
1676
|
output,
|
|
1702
1677
|
parsedBody,
|
|
1703
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1704
1678
|
errorCode,
|
|
1705
1679
|
});
|
|
1706
1680
|
}
|
|
@@ -1711,12 +1685,12 @@ const de_GetResolverDnssecConfigCommand = async (output, context) => {
|
|
|
1711
1685
|
}
|
|
1712
1686
|
const data = await parseBody(output.body, context);
|
|
1713
1687
|
let contents = {};
|
|
1714
|
-
contents =
|
|
1688
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1715
1689
|
const response = {
|
|
1716
1690
|
$metadata: deserializeMetadata(output),
|
|
1717
1691
|
...contents,
|
|
1718
1692
|
};
|
|
1719
|
-
return
|
|
1693
|
+
return response;
|
|
1720
1694
|
};
|
|
1721
1695
|
exports.de_GetResolverDnssecConfigCommand = de_GetResolverDnssecConfigCommand;
|
|
1722
1696
|
const de_GetResolverDnssecConfigCommandError = async (output, context) => {
|
|
@@ -1746,10 +1720,9 @@ const de_GetResolverDnssecConfigCommandError = async (output, context) => {
|
|
|
1746
1720
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1747
1721
|
default:
|
|
1748
1722
|
const parsedBody = parsedOutput.body;
|
|
1749
|
-
|
|
1723
|
+
return throwDefaultError({
|
|
1750
1724
|
output,
|
|
1751
1725
|
parsedBody,
|
|
1752
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1753
1726
|
errorCode,
|
|
1754
1727
|
});
|
|
1755
1728
|
}
|
|
@@ -1760,12 +1733,12 @@ const de_GetResolverEndpointCommand = async (output, context) => {
|
|
|
1760
1733
|
}
|
|
1761
1734
|
const data = await parseBody(output.body, context);
|
|
1762
1735
|
let contents = {};
|
|
1763
|
-
contents =
|
|
1736
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1764
1737
|
const response = {
|
|
1765
1738
|
$metadata: deserializeMetadata(output),
|
|
1766
1739
|
...contents,
|
|
1767
1740
|
};
|
|
1768
|
-
return
|
|
1741
|
+
return response;
|
|
1769
1742
|
};
|
|
1770
1743
|
exports.de_GetResolverEndpointCommand = de_GetResolverEndpointCommand;
|
|
1771
1744
|
const de_GetResolverEndpointCommandError = async (output, context) => {
|
|
@@ -1789,10 +1762,9 @@ const de_GetResolverEndpointCommandError = async (output, context) => {
|
|
|
1789
1762
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1790
1763
|
default:
|
|
1791
1764
|
const parsedBody = parsedOutput.body;
|
|
1792
|
-
|
|
1765
|
+
return throwDefaultError({
|
|
1793
1766
|
output,
|
|
1794
1767
|
parsedBody,
|
|
1795
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1796
1768
|
errorCode,
|
|
1797
1769
|
});
|
|
1798
1770
|
}
|
|
@@ -1803,12 +1775,12 @@ const de_GetResolverQueryLogConfigCommand = async (output, context) => {
|
|
|
1803
1775
|
}
|
|
1804
1776
|
const data = await parseBody(output.body, context);
|
|
1805
1777
|
let contents = {};
|
|
1806
|
-
contents =
|
|
1778
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1807
1779
|
const response = {
|
|
1808
1780
|
$metadata: deserializeMetadata(output),
|
|
1809
1781
|
...contents,
|
|
1810
1782
|
};
|
|
1811
|
-
return
|
|
1783
|
+
return response;
|
|
1812
1784
|
};
|
|
1813
1785
|
exports.de_GetResolverQueryLogConfigCommand = de_GetResolverQueryLogConfigCommand;
|
|
1814
1786
|
const de_GetResolverQueryLogConfigCommandError = async (output, context) => {
|
|
@@ -1838,10 +1810,9 @@ const de_GetResolverQueryLogConfigCommandError = async (output, context) => {
|
|
|
1838
1810
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1839
1811
|
default:
|
|
1840
1812
|
const parsedBody = parsedOutput.body;
|
|
1841
|
-
|
|
1813
|
+
return throwDefaultError({
|
|
1842
1814
|
output,
|
|
1843
1815
|
parsedBody,
|
|
1844
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1845
1816
|
errorCode,
|
|
1846
1817
|
});
|
|
1847
1818
|
}
|
|
@@ -1852,12 +1823,12 @@ const de_GetResolverQueryLogConfigAssociationCommand = async (output, context) =
|
|
|
1852
1823
|
}
|
|
1853
1824
|
const data = await parseBody(output.body, context);
|
|
1854
1825
|
let contents = {};
|
|
1855
|
-
contents =
|
|
1826
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1856
1827
|
const response = {
|
|
1857
1828
|
$metadata: deserializeMetadata(output),
|
|
1858
1829
|
...contents,
|
|
1859
1830
|
};
|
|
1860
|
-
return
|
|
1831
|
+
return response;
|
|
1861
1832
|
};
|
|
1862
1833
|
exports.de_GetResolverQueryLogConfigAssociationCommand = de_GetResolverQueryLogConfigAssociationCommand;
|
|
1863
1834
|
const de_GetResolverQueryLogConfigAssociationCommandError = async (output, context) => {
|
|
@@ -1887,10 +1858,9 @@ const de_GetResolverQueryLogConfigAssociationCommandError = async (output, conte
|
|
|
1887
1858
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1888
1859
|
default:
|
|
1889
1860
|
const parsedBody = parsedOutput.body;
|
|
1890
|
-
|
|
1861
|
+
return throwDefaultError({
|
|
1891
1862
|
output,
|
|
1892
1863
|
parsedBody,
|
|
1893
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1894
1864
|
errorCode,
|
|
1895
1865
|
});
|
|
1896
1866
|
}
|
|
@@ -1901,12 +1871,12 @@ const de_GetResolverQueryLogConfigPolicyCommand = async (output, context) => {
|
|
|
1901
1871
|
}
|
|
1902
1872
|
const data = await parseBody(output.body, context);
|
|
1903
1873
|
let contents = {};
|
|
1904
|
-
contents =
|
|
1874
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1905
1875
|
const response = {
|
|
1906
1876
|
$metadata: deserializeMetadata(output),
|
|
1907
1877
|
...contents,
|
|
1908
1878
|
};
|
|
1909
|
-
return
|
|
1879
|
+
return response;
|
|
1910
1880
|
};
|
|
1911
1881
|
exports.de_GetResolverQueryLogConfigPolicyCommand = de_GetResolverQueryLogConfigPolicyCommand;
|
|
1912
1882
|
const de_GetResolverQueryLogConfigPolicyCommandError = async (output, context) => {
|
|
@@ -1933,10 +1903,9 @@ const de_GetResolverQueryLogConfigPolicyCommandError = async (output, context) =
|
|
|
1933
1903
|
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
1934
1904
|
default:
|
|
1935
1905
|
const parsedBody = parsedOutput.body;
|
|
1936
|
-
|
|
1906
|
+
return throwDefaultError({
|
|
1937
1907
|
output,
|
|
1938
1908
|
parsedBody,
|
|
1939
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1940
1909
|
errorCode,
|
|
1941
1910
|
});
|
|
1942
1911
|
}
|
|
@@ -1947,12 +1916,12 @@ const de_GetResolverRuleCommand = async (output, context) => {
|
|
|
1947
1916
|
}
|
|
1948
1917
|
const data = await parseBody(output.body, context);
|
|
1949
1918
|
let contents = {};
|
|
1950
|
-
contents =
|
|
1919
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1951
1920
|
const response = {
|
|
1952
1921
|
$metadata: deserializeMetadata(output),
|
|
1953
1922
|
...contents,
|
|
1954
1923
|
};
|
|
1955
|
-
return
|
|
1924
|
+
return response;
|
|
1956
1925
|
};
|
|
1957
1926
|
exports.de_GetResolverRuleCommand = de_GetResolverRuleCommand;
|
|
1958
1927
|
const de_GetResolverRuleCommandError = async (output, context) => {
|
|
@@ -1976,10 +1945,9 @@ const de_GetResolverRuleCommandError = async (output, context) => {
|
|
|
1976
1945
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1977
1946
|
default:
|
|
1978
1947
|
const parsedBody = parsedOutput.body;
|
|
1979
|
-
|
|
1948
|
+
return throwDefaultError({
|
|
1980
1949
|
output,
|
|
1981
1950
|
parsedBody,
|
|
1982
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1983
1951
|
errorCode,
|
|
1984
1952
|
});
|
|
1985
1953
|
}
|
|
@@ -1990,12 +1958,12 @@ const de_GetResolverRuleAssociationCommand = async (output, context) => {
|
|
|
1990
1958
|
}
|
|
1991
1959
|
const data = await parseBody(output.body, context);
|
|
1992
1960
|
let contents = {};
|
|
1993
|
-
contents =
|
|
1961
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1994
1962
|
const response = {
|
|
1995
1963
|
$metadata: deserializeMetadata(output),
|
|
1996
1964
|
...contents,
|
|
1997
1965
|
};
|
|
1998
|
-
return
|
|
1966
|
+
return response;
|
|
1999
1967
|
};
|
|
2000
1968
|
exports.de_GetResolverRuleAssociationCommand = de_GetResolverRuleAssociationCommand;
|
|
2001
1969
|
const de_GetResolverRuleAssociationCommandError = async (output, context) => {
|
|
@@ -2019,10 +1987,9 @@ const de_GetResolverRuleAssociationCommandError = async (output, context) => {
|
|
|
2019
1987
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2020
1988
|
default:
|
|
2021
1989
|
const parsedBody = parsedOutput.body;
|
|
2022
|
-
|
|
1990
|
+
return throwDefaultError({
|
|
2023
1991
|
output,
|
|
2024
1992
|
parsedBody,
|
|
2025
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2026
1993
|
errorCode,
|
|
2027
1994
|
});
|
|
2028
1995
|
}
|
|
@@ -2033,12 +2000,12 @@ const de_GetResolverRulePolicyCommand = async (output, context) => {
|
|
|
2033
2000
|
}
|
|
2034
2001
|
const data = await parseBody(output.body, context);
|
|
2035
2002
|
let contents = {};
|
|
2036
|
-
contents =
|
|
2003
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2037
2004
|
const response = {
|
|
2038
2005
|
$metadata: deserializeMetadata(output),
|
|
2039
2006
|
...contents,
|
|
2040
2007
|
};
|
|
2041
|
-
return
|
|
2008
|
+
return response;
|
|
2042
2009
|
};
|
|
2043
2010
|
exports.de_GetResolverRulePolicyCommand = de_GetResolverRulePolicyCommand;
|
|
2044
2011
|
const de_GetResolverRulePolicyCommandError = async (output, context) => {
|
|
@@ -2062,10 +2029,9 @@ const de_GetResolverRulePolicyCommandError = async (output, context) => {
|
|
|
2062
2029
|
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
2063
2030
|
default:
|
|
2064
2031
|
const parsedBody = parsedOutput.body;
|
|
2065
|
-
|
|
2032
|
+
return throwDefaultError({
|
|
2066
2033
|
output,
|
|
2067
2034
|
parsedBody,
|
|
2068
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2069
2035
|
errorCode,
|
|
2070
2036
|
});
|
|
2071
2037
|
}
|
|
@@ -2076,12 +2042,12 @@ const de_ImportFirewallDomainsCommand = async (output, context) => {
|
|
|
2076
2042
|
}
|
|
2077
2043
|
const data = await parseBody(output.body, context);
|
|
2078
2044
|
let contents = {};
|
|
2079
|
-
contents =
|
|
2045
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2080
2046
|
const response = {
|
|
2081
2047
|
$metadata: deserializeMetadata(output),
|
|
2082
2048
|
...contents,
|
|
2083
2049
|
};
|
|
2084
|
-
return
|
|
2050
|
+
return response;
|
|
2085
2051
|
};
|
|
2086
2052
|
exports.de_ImportFirewallDomainsCommand = de_ImportFirewallDomainsCommand;
|
|
2087
2053
|
const de_ImportFirewallDomainsCommandError = async (output, context) => {
|
|
@@ -2114,10 +2080,9 @@ const de_ImportFirewallDomainsCommandError = async (output, context) => {
|
|
|
2114
2080
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2115
2081
|
default:
|
|
2116
2082
|
const parsedBody = parsedOutput.body;
|
|
2117
|
-
|
|
2083
|
+
return throwDefaultError({
|
|
2118
2084
|
output,
|
|
2119
2085
|
parsedBody,
|
|
2120
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2121
2086
|
errorCode,
|
|
2122
2087
|
});
|
|
2123
2088
|
}
|
|
@@ -2128,12 +2093,12 @@ const de_ListFirewallConfigsCommand = async (output, context) => {
|
|
|
2128
2093
|
}
|
|
2129
2094
|
const data = await parseBody(output.body, context);
|
|
2130
2095
|
let contents = {};
|
|
2131
|
-
contents =
|
|
2096
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2132
2097
|
const response = {
|
|
2133
2098
|
$metadata: deserializeMetadata(output),
|
|
2134
2099
|
...contents,
|
|
2135
2100
|
};
|
|
2136
|
-
return
|
|
2101
|
+
return response;
|
|
2137
2102
|
};
|
|
2138
2103
|
exports.de_ListFirewallConfigsCommand = de_ListFirewallConfigsCommand;
|
|
2139
2104
|
const de_ListFirewallConfigsCommandError = async (output, context) => {
|
|
@@ -2157,10 +2122,9 @@ const de_ListFirewallConfigsCommandError = async (output, context) => {
|
|
|
2157
2122
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2158
2123
|
default:
|
|
2159
2124
|
const parsedBody = parsedOutput.body;
|
|
2160
|
-
|
|
2125
|
+
return throwDefaultError({
|
|
2161
2126
|
output,
|
|
2162
2127
|
parsedBody,
|
|
2163
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2164
2128
|
errorCode,
|
|
2165
2129
|
});
|
|
2166
2130
|
}
|
|
@@ -2171,12 +2135,12 @@ const de_ListFirewallDomainListsCommand = async (output, context) => {
|
|
|
2171
2135
|
}
|
|
2172
2136
|
const data = await parseBody(output.body, context);
|
|
2173
2137
|
let contents = {};
|
|
2174
|
-
contents =
|
|
2138
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2175
2139
|
const response = {
|
|
2176
2140
|
$metadata: deserializeMetadata(output),
|
|
2177
2141
|
...contents,
|
|
2178
2142
|
};
|
|
2179
|
-
return
|
|
2143
|
+
return response;
|
|
2180
2144
|
};
|
|
2181
2145
|
exports.de_ListFirewallDomainListsCommand = de_ListFirewallDomainListsCommand;
|
|
2182
2146
|
const de_ListFirewallDomainListsCommandError = async (output, context) => {
|
|
@@ -2200,10 +2164,9 @@ const de_ListFirewallDomainListsCommandError = async (output, context) => {
|
|
|
2200
2164
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2201
2165
|
default:
|
|
2202
2166
|
const parsedBody = parsedOutput.body;
|
|
2203
|
-
|
|
2167
|
+
return throwDefaultError({
|
|
2204
2168
|
output,
|
|
2205
2169
|
parsedBody,
|
|
2206
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2207
2170
|
errorCode,
|
|
2208
2171
|
});
|
|
2209
2172
|
}
|
|
@@ -2214,12 +2177,12 @@ const de_ListFirewallDomainsCommand = async (output, context) => {
|
|
|
2214
2177
|
}
|
|
2215
2178
|
const data = await parseBody(output.body, context);
|
|
2216
2179
|
let contents = {};
|
|
2217
|
-
contents =
|
|
2180
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2218
2181
|
const response = {
|
|
2219
2182
|
$metadata: deserializeMetadata(output),
|
|
2220
2183
|
...contents,
|
|
2221
2184
|
};
|
|
2222
|
-
return
|
|
2185
|
+
return response;
|
|
2223
2186
|
};
|
|
2224
2187
|
exports.de_ListFirewallDomainsCommand = de_ListFirewallDomainsCommand;
|
|
2225
2188
|
const de_ListFirewallDomainsCommandError = async (output, context) => {
|
|
@@ -2246,10 +2209,9 @@ const de_ListFirewallDomainsCommandError = async (output, context) => {
|
|
|
2246
2209
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2247
2210
|
default:
|
|
2248
2211
|
const parsedBody = parsedOutput.body;
|
|
2249
|
-
|
|
2212
|
+
return throwDefaultError({
|
|
2250
2213
|
output,
|
|
2251
2214
|
parsedBody,
|
|
2252
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2253
2215
|
errorCode,
|
|
2254
2216
|
});
|
|
2255
2217
|
}
|
|
@@ -2260,12 +2222,12 @@ const de_ListFirewallRuleGroupAssociationsCommand = async (output, context) => {
|
|
|
2260
2222
|
}
|
|
2261
2223
|
const data = await parseBody(output.body, context);
|
|
2262
2224
|
let contents = {};
|
|
2263
|
-
contents =
|
|
2225
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2264
2226
|
const response = {
|
|
2265
2227
|
$metadata: deserializeMetadata(output),
|
|
2266
2228
|
...contents,
|
|
2267
2229
|
};
|
|
2268
|
-
return
|
|
2230
|
+
return response;
|
|
2269
2231
|
};
|
|
2270
2232
|
exports.de_ListFirewallRuleGroupAssociationsCommand = de_ListFirewallRuleGroupAssociationsCommand;
|
|
2271
2233
|
const de_ListFirewallRuleGroupAssociationsCommandError = async (output, context) => {
|
|
@@ -2289,10 +2251,9 @@ const de_ListFirewallRuleGroupAssociationsCommandError = async (output, context)
|
|
|
2289
2251
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2290
2252
|
default:
|
|
2291
2253
|
const parsedBody = parsedOutput.body;
|
|
2292
|
-
|
|
2254
|
+
return throwDefaultError({
|
|
2293
2255
|
output,
|
|
2294
2256
|
parsedBody,
|
|
2295
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2296
2257
|
errorCode,
|
|
2297
2258
|
});
|
|
2298
2259
|
}
|
|
@@ -2303,12 +2264,12 @@ const de_ListFirewallRuleGroupsCommand = async (output, context) => {
|
|
|
2303
2264
|
}
|
|
2304
2265
|
const data = await parseBody(output.body, context);
|
|
2305
2266
|
let contents = {};
|
|
2306
|
-
contents =
|
|
2267
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2307
2268
|
const response = {
|
|
2308
2269
|
$metadata: deserializeMetadata(output),
|
|
2309
2270
|
...contents,
|
|
2310
2271
|
};
|
|
2311
|
-
return
|
|
2272
|
+
return response;
|
|
2312
2273
|
};
|
|
2313
2274
|
exports.de_ListFirewallRuleGroupsCommand = de_ListFirewallRuleGroupsCommand;
|
|
2314
2275
|
const de_ListFirewallRuleGroupsCommandError = async (output, context) => {
|
|
@@ -2332,10 +2293,9 @@ const de_ListFirewallRuleGroupsCommandError = async (output, context) => {
|
|
|
2332
2293
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2333
2294
|
default:
|
|
2334
2295
|
const parsedBody = parsedOutput.body;
|
|
2335
|
-
|
|
2296
|
+
return throwDefaultError({
|
|
2336
2297
|
output,
|
|
2337
2298
|
parsedBody,
|
|
2338
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2339
2299
|
errorCode,
|
|
2340
2300
|
});
|
|
2341
2301
|
}
|
|
@@ -2346,12 +2306,12 @@ const de_ListFirewallRulesCommand = async (output, context) => {
|
|
|
2346
2306
|
}
|
|
2347
2307
|
const data = await parseBody(output.body, context);
|
|
2348
2308
|
let contents = {};
|
|
2349
|
-
contents =
|
|
2309
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2350
2310
|
const response = {
|
|
2351
2311
|
$metadata: deserializeMetadata(output),
|
|
2352
2312
|
...contents,
|
|
2353
2313
|
};
|
|
2354
|
-
return
|
|
2314
|
+
return response;
|
|
2355
2315
|
};
|
|
2356
2316
|
exports.de_ListFirewallRulesCommand = de_ListFirewallRulesCommand;
|
|
2357
2317
|
const de_ListFirewallRulesCommandError = async (output, context) => {
|
|
@@ -2378,10 +2338,9 @@ const de_ListFirewallRulesCommandError = async (output, context) => {
|
|
|
2378
2338
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2379
2339
|
default:
|
|
2380
2340
|
const parsedBody = parsedOutput.body;
|
|
2381
|
-
|
|
2341
|
+
return throwDefaultError({
|
|
2382
2342
|
output,
|
|
2383
2343
|
parsedBody,
|
|
2384
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2385
2344
|
errorCode,
|
|
2386
2345
|
});
|
|
2387
2346
|
}
|
|
@@ -2392,12 +2351,12 @@ const de_ListResolverConfigsCommand = async (output, context) => {
|
|
|
2392
2351
|
}
|
|
2393
2352
|
const data = await parseBody(output.body, context);
|
|
2394
2353
|
let contents = {};
|
|
2395
|
-
contents =
|
|
2354
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2396
2355
|
const response = {
|
|
2397
2356
|
$metadata: deserializeMetadata(output),
|
|
2398
2357
|
...contents,
|
|
2399
2358
|
};
|
|
2400
|
-
return
|
|
2359
|
+
return response;
|
|
2401
2360
|
};
|
|
2402
2361
|
exports.de_ListResolverConfigsCommand = de_ListResolverConfigsCommand;
|
|
2403
2362
|
const de_ListResolverConfigsCommandError = async (output, context) => {
|
|
@@ -2430,10 +2389,9 @@ const de_ListResolverConfigsCommandError = async (output, context) => {
|
|
|
2430
2389
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2431
2390
|
default:
|
|
2432
2391
|
const parsedBody = parsedOutput.body;
|
|
2433
|
-
|
|
2392
|
+
return throwDefaultError({
|
|
2434
2393
|
output,
|
|
2435
2394
|
parsedBody,
|
|
2436
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2437
2395
|
errorCode,
|
|
2438
2396
|
});
|
|
2439
2397
|
}
|
|
@@ -2444,12 +2402,12 @@ const de_ListResolverDnssecConfigsCommand = async (output, context) => {
|
|
|
2444
2402
|
}
|
|
2445
2403
|
const data = await parseBody(output.body, context);
|
|
2446
2404
|
let contents = {};
|
|
2447
|
-
contents =
|
|
2405
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2448
2406
|
const response = {
|
|
2449
2407
|
$metadata: deserializeMetadata(output),
|
|
2450
2408
|
...contents,
|
|
2451
2409
|
};
|
|
2452
|
-
return
|
|
2410
|
+
return response;
|
|
2453
2411
|
};
|
|
2454
2412
|
exports.de_ListResolverDnssecConfigsCommand = de_ListResolverDnssecConfigsCommand;
|
|
2455
2413
|
const de_ListResolverDnssecConfigsCommandError = async (output, context) => {
|
|
@@ -2479,10 +2437,9 @@ const de_ListResolverDnssecConfigsCommandError = async (output, context) => {
|
|
|
2479
2437
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2480
2438
|
default:
|
|
2481
2439
|
const parsedBody = parsedOutput.body;
|
|
2482
|
-
|
|
2440
|
+
return throwDefaultError({
|
|
2483
2441
|
output,
|
|
2484
2442
|
parsedBody,
|
|
2485
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2486
2443
|
errorCode,
|
|
2487
2444
|
});
|
|
2488
2445
|
}
|
|
@@ -2493,12 +2450,12 @@ const de_ListResolverEndpointIpAddressesCommand = async (output, context) => {
|
|
|
2493
2450
|
}
|
|
2494
2451
|
const data = await parseBody(output.body, context);
|
|
2495
2452
|
let contents = {};
|
|
2496
|
-
contents =
|
|
2453
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2497
2454
|
const response = {
|
|
2498
2455
|
$metadata: deserializeMetadata(output),
|
|
2499
2456
|
...contents,
|
|
2500
2457
|
};
|
|
2501
|
-
return
|
|
2458
|
+
return response;
|
|
2502
2459
|
};
|
|
2503
2460
|
exports.de_ListResolverEndpointIpAddressesCommand = de_ListResolverEndpointIpAddressesCommand;
|
|
2504
2461
|
const de_ListResolverEndpointIpAddressesCommandError = async (output, context) => {
|
|
@@ -2525,10 +2482,9 @@ const de_ListResolverEndpointIpAddressesCommandError = async (output, context) =
|
|
|
2525
2482
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2526
2483
|
default:
|
|
2527
2484
|
const parsedBody = parsedOutput.body;
|
|
2528
|
-
|
|
2485
|
+
return throwDefaultError({
|
|
2529
2486
|
output,
|
|
2530
2487
|
parsedBody,
|
|
2531
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2532
2488
|
errorCode,
|
|
2533
2489
|
});
|
|
2534
2490
|
}
|
|
@@ -2539,12 +2495,12 @@ const de_ListResolverEndpointsCommand = async (output, context) => {
|
|
|
2539
2495
|
}
|
|
2540
2496
|
const data = await parseBody(output.body, context);
|
|
2541
2497
|
let contents = {};
|
|
2542
|
-
contents =
|
|
2498
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2543
2499
|
const response = {
|
|
2544
2500
|
$metadata: deserializeMetadata(output),
|
|
2545
2501
|
...contents,
|
|
2546
2502
|
};
|
|
2547
|
-
return
|
|
2503
|
+
return response;
|
|
2548
2504
|
};
|
|
2549
2505
|
exports.de_ListResolverEndpointsCommand = de_ListResolverEndpointsCommand;
|
|
2550
2506
|
const de_ListResolverEndpointsCommandError = async (output, context) => {
|
|
@@ -2571,10 +2527,9 @@ const de_ListResolverEndpointsCommandError = async (output, context) => {
|
|
|
2571
2527
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2572
2528
|
default:
|
|
2573
2529
|
const parsedBody = parsedOutput.body;
|
|
2574
|
-
|
|
2530
|
+
return throwDefaultError({
|
|
2575
2531
|
output,
|
|
2576
2532
|
parsedBody,
|
|
2577
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2578
2533
|
errorCode,
|
|
2579
2534
|
});
|
|
2580
2535
|
}
|
|
@@ -2585,12 +2540,12 @@ const de_ListResolverQueryLogConfigAssociationsCommand = async (output, context)
|
|
|
2585
2540
|
}
|
|
2586
2541
|
const data = await parseBody(output.body, context);
|
|
2587
2542
|
let contents = {};
|
|
2588
|
-
contents =
|
|
2543
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2589
2544
|
const response = {
|
|
2590
2545
|
$metadata: deserializeMetadata(output),
|
|
2591
2546
|
...contents,
|
|
2592
2547
|
};
|
|
2593
|
-
return
|
|
2548
|
+
return response;
|
|
2594
2549
|
};
|
|
2595
2550
|
exports.de_ListResolverQueryLogConfigAssociationsCommand = de_ListResolverQueryLogConfigAssociationsCommand;
|
|
2596
2551
|
const de_ListResolverQueryLogConfigAssociationsCommandError = async (output, context) => {
|
|
@@ -2620,10 +2575,9 @@ const de_ListResolverQueryLogConfigAssociationsCommandError = async (output, con
|
|
|
2620
2575
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2621
2576
|
default:
|
|
2622
2577
|
const parsedBody = parsedOutput.body;
|
|
2623
|
-
|
|
2578
|
+
return throwDefaultError({
|
|
2624
2579
|
output,
|
|
2625
2580
|
parsedBody,
|
|
2626
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2627
2581
|
errorCode,
|
|
2628
2582
|
});
|
|
2629
2583
|
}
|
|
@@ -2634,12 +2588,12 @@ const de_ListResolverQueryLogConfigsCommand = async (output, context) => {
|
|
|
2634
2588
|
}
|
|
2635
2589
|
const data = await parseBody(output.body, context);
|
|
2636
2590
|
let contents = {};
|
|
2637
|
-
contents =
|
|
2591
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2638
2592
|
const response = {
|
|
2639
2593
|
$metadata: deserializeMetadata(output),
|
|
2640
2594
|
...contents,
|
|
2641
2595
|
};
|
|
2642
|
-
return
|
|
2596
|
+
return response;
|
|
2643
2597
|
};
|
|
2644
2598
|
exports.de_ListResolverQueryLogConfigsCommand = de_ListResolverQueryLogConfigsCommand;
|
|
2645
2599
|
const de_ListResolverQueryLogConfigsCommandError = async (output, context) => {
|
|
@@ -2669,10 +2623,9 @@ const de_ListResolverQueryLogConfigsCommandError = async (output, context) => {
|
|
|
2669
2623
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2670
2624
|
default:
|
|
2671
2625
|
const parsedBody = parsedOutput.body;
|
|
2672
|
-
|
|
2626
|
+
return throwDefaultError({
|
|
2673
2627
|
output,
|
|
2674
2628
|
parsedBody,
|
|
2675
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2676
2629
|
errorCode,
|
|
2677
2630
|
});
|
|
2678
2631
|
}
|
|
@@ -2683,12 +2636,12 @@ const de_ListResolverRuleAssociationsCommand = async (output, context) => {
|
|
|
2683
2636
|
}
|
|
2684
2637
|
const data = await parseBody(output.body, context);
|
|
2685
2638
|
let contents = {};
|
|
2686
|
-
contents =
|
|
2639
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2687
2640
|
const response = {
|
|
2688
2641
|
$metadata: deserializeMetadata(output),
|
|
2689
2642
|
...contents,
|
|
2690
2643
|
};
|
|
2691
|
-
return
|
|
2644
|
+
return response;
|
|
2692
2645
|
};
|
|
2693
2646
|
exports.de_ListResolverRuleAssociationsCommand = de_ListResolverRuleAssociationsCommand;
|
|
2694
2647
|
const de_ListResolverRuleAssociationsCommandError = async (output, context) => {
|
|
@@ -2715,10 +2668,9 @@ const de_ListResolverRuleAssociationsCommandError = async (output, context) => {
|
|
|
2715
2668
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2716
2669
|
default:
|
|
2717
2670
|
const parsedBody = parsedOutput.body;
|
|
2718
|
-
|
|
2671
|
+
return throwDefaultError({
|
|
2719
2672
|
output,
|
|
2720
2673
|
parsedBody,
|
|
2721
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2722
2674
|
errorCode,
|
|
2723
2675
|
});
|
|
2724
2676
|
}
|
|
@@ -2729,12 +2681,12 @@ const de_ListResolverRulesCommand = async (output, context) => {
|
|
|
2729
2681
|
}
|
|
2730
2682
|
const data = await parseBody(output.body, context);
|
|
2731
2683
|
let contents = {};
|
|
2732
|
-
contents =
|
|
2684
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2733
2685
|
const response = {
|
|
2734
2686
|
$metadata: deserializeMetadata(output),
|
|
2735
2687
|
...contents,
|
|
2736
2688
|
};
|
|
2737
|
-
return
|
|
2689
|
+
return response;
|
|
2738
2690
|
};
|
|
2739
2691
|
exports.de_ListResolverRulesCommand = de_ListResolverRulesCommand;
|
|
2740
2692
|
const de_ListResolverRulesCommandError = async (output, context) => {
|
|
@@ -2761,10 +2713,9 @@ const de_ListResolverRulesCommandError = async (output, context) => {
|
|
|
2761
2713
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2762
2714
|
default:
|
|
2763
2715
|
const parsedBody = parsedOutput.body;
|
|
2764
|
-
|
|
2716
|
+
return throwDefaultError({
|
|
2765
2717
|
output,
|
|
2766
2718
|
parsedBody,
|
|
2767
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2768
2719
|
errorCode,
|
|
2769
2720
|
});
|
|
2770
2721
|
}
|
|
@@ -2775,12 +2726,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2775
2726
|
}
|
|
2776
2727
|
const data = await parseBody(output.body, context);
|
|
2777
2728
|
let contents = {};
|
|
2778
|
-
contents =
|
|
2729
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2779
2730
|
const response = {
|
|
2780
2731
|
$metadata: deserializeMetadata(output),
|
|
2781
2732
|
...contents,
|
|
2782
2733
|
};
|
|
2783
|
-
return
|
|
2734
|
+
return response;
|
|
2784
2735
|
};
|
|
2785
2736
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2786
2737
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2810,10 +2761,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2810
2761
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2811
2762
|
default:
|
|
2812
2763
|
const parsedBody = parsedOutput.body;
|
|
2813
|
-
|
|
2764
|
+
return throwDefaultError({
|
|
2814
2765
|
output,
|
|
2815
2766
|
parsedBody,
|
|
2816
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2817
2767
|
errorCode,
|
|
2818
2768
|
});
|
|
2819
2769
|
}
|
|
@@ -2824,12 +2774,12 @@ const de_PutFirewallRuleGroupPolicyCommand = async (output, context) => {
|
|
|
2824
2774
|
}
|
|
2825
2775
|
const data = await parseBody(output.body, context);
|
|
2826
2776
|
let contents = {};
|
|
2827
|
-
contents =
|
|
2777
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2828
2778
|
const response = {
|
|
2829
2779
|
$metadata: deserializeMetadata(output),
|
|
2830
2780
|
...contents,
|
|
2831
2781
|
};
|
|
2832
|
-
return
|
|
2782
|
+
return response;
|
|
2833
2783
|
};
|
|
2834
2784
|
exports.de_PutFirewallRuleGroupPolicyCommand = de_PutFirewallRuleGroupPolicyCommand;
|
|
2835
2785
|
const de_PutFirewallRuleGroupPolicyCommandError = async (output, context) => {
|
|
@@ -2856,10 +2806,9 @@ const de_PutFirewallRuleGroupPolicyCommandError = async (output, context) => {
|
|
|
2856
2806
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2857
2807
|
default:
|
|
2858
2808
|
const parsedBody = parsedOutput.body;
|
|
2859
|
-
|
|
2809
|
+
return throwDefaultError({
|
|
2860
2810
|
output,
|
|
2861
2811
|
parsedBody,
|
|
2862
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2863
2812
|
errorCode,
|
|
2864
2813
|
});
|
|
2865
2814
|
}
|
|
@@ -2870,12 +2819,12 @@ const de_PutResolverQueryLogConfigPolicyCommand = async (output, context) => {
|
|
|
2870
2819
|
}
|
|
2871
2820
|
const data = await parseBody(output.body, context);
|
|
2872
2821
|
let contents = {};
|
|
2873
|
-
contents =
|
|
2822
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2874
2823
|
const response = {
|
|
2875
2824
|
$metadata: deserializeMetadata(output),
|
|
2876
2825
|
...contents,
|
|
2877
2826
|
};
|
|
2878
|
-
return
|
|
2827
|
+
return response;
|
|
2879
2828
|
};
|
|
2880
2829
|
exports.de_PutResolverQueryLogConfigPolicyCommand = de_PutResolverQueryLogConfigPolicyCommand;
|
|
2881
2830
|
const de_PutResolverQueryLogConfigPolicyCommandError = async (output, context) => {
|
|
@@ -2905,10 +2854,9 @@ const de_PutResolverQueryLogConfigPolicyCommandError = async (output, context) =
|
|
|
2905
2854
|
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
2906
2855
|
default:
|
|
2907
2856
|
const parsedBody = parsedOutput.body;
|
|
2908
|
-
|
|
2857
|
+
return throwDefaultError({
|
|
2909
2858
|
output,
|
|
2910
2859
|
parsedBody,
|
|
2911
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2912
2860
|
errorCode,
|
|
2913
2861
|
});
|
|
2914
2862
|
}
|
|
@@ -2919,12 +2867,12 @@ const de_PutResolverRulePolicyCommand = async (output, context) => {
|
|
|
2919
2867
|
}
|
|
2920
2868
|
const data = await parseBody(output.body, context);
|
|
2921
2869
|
let contents = {};
|
|
2922
|
-
contents =
|
|
2870
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2923
2871
|
const response = {
|
|
2924
2872
|
$metadata: deserializeMetadata(output),
|
|
2925
2873
|
...contents,
|
|
2926
2874
|
};
|
|
2927
|
-
return
|
|
2875
|
+
return response;
|
|
2928
2876
|
};
|
|
2929
2877
|
exports.de_PutResolverRulePolicyCommand = de_PutResolverRulePolicyCommand;
|
|
2930
2878
|
const de_PutResolverRulePolicyCommandError = async (output, context) => {
|
|
@@ -2951,10 +2899,9 @@ const de_PutResolverRulePolicyCommandError = async (output, context) => {
|
|
|
2951
2899
|
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
2952
2900
|
default:
|
|
2953
2901
|
const parsedBody = parsedOutput.body;
|
|
2954
|
-
|
|
2902
|
+
return throwDefaultError({
|
|
2955
2903
|
output,
|
|
2956
2904
|
parsedBody,
|
|
2957
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2958
2905
|
errorCode,
|
|
2959
2906
|
});
|
|
2960
2907
|
}
|
|
@@ -2965,12 +2912,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2965
2912
|
}
|
|
2966
2913
|
const data = await parseBody(output.body, context);
|
|
2967
2914
|
let contents = {};
|
|
2968
|
-
contents =
|
|
2915
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2969
2916
|
const response = {
|
|
2970
2917
|
$metadata: deserializeMetadata(output),
|
|
2971
2918
|
...contents,
|
|
2972
2919
|
};
|
|
2973
|
-
return
|
|
2920
|
+
return response;
|
|
2974
2921
|
};
|
|
2975
2922
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2976
2923
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -3003,10 +2950,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
3003
2950
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3004
2951
|
default:
|
|
3005
2952
|
const parsedBody = parsedOutput.body;
|
|
3006
|
-
|
|
2953
|
+
return throwDefaultError({
|
|
3007
2954
|
output,
|
|
3008
2955
|
parsedBody,
|
|
3009
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3010
2956
|
errorCode,
|
|
3011
2957
|
});
|
|
3012
2958
|
}
|
|
@@ -3017,12 +2963,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
3017
2963
|
}
|
|
3018
2964
|
const data = await parseBody(output.body, context);
|
|
3019
2965
|
let contents = {};
|
|
3020
|
-
contents =
|
|
2966
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3021
2967
|
const response = {
|
|
3022
2968
|
$metadata: deserializeMetadata(output),
|
|
3023
2969
|
...contents,
|
|
3024
2970
|
};
|
|
3025
|
-
return
|
|
2971
|
+
return response;
|
|
3026
2972
|
};
|
|
3027
2973
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
3028
2974
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -3049,10 +2995,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
3049
2995
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3050
2996
|
default:
|
|
3051
2997
|
const parsedBody = parsedOutput.body;
|
|
3052
|
-
|
|
2998
|
+
return throwDefaultError({
|
|
3053
2999
|
output,
|
|
3054
3000
|
parsedBody,
|
|
3055
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3056
3001
|
errorCode,
|
|
3057
3002
|
});
|
|
3058
3003
|
}
|
|
@@ -3063,12 +3008,12 @@ const de_UpdateFirewallConfigCommand = async (output, context) => {
|
|
|
3063
3008
|
}
|
|
3064
3009
|
const data = await parseBody(output.body, context);
|
|
3065
3010
|
let contents = {};
|
|
3066
|
-
contents =
|
|
3011
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3067
3012
|
const response = {
|
|
3068
3013
|
$metadata: deserializeMetadata(output),
|
|
3069
3014
|
...contents,
|
|
3070
3015
|
};
|
|
3071
|
-
return
|
|
3016
|
+
return response;
|
|
3072
3017
|
};
|
|
3073
3018
|
exports.de_UpdateFirewallConfigCommand = de_UpdateFirewallConfigCommand;
|
|
3074
3019
|
const de_UpdateFirewallConfigCommandError = async (output, context) => {
|
|
@@ -3095,10 +3040,9 @@ const de_UpdateFirewallConfigCommandError = async (output, context) => {
|
|
|
3095
3040
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3096
3041
|
default:
|
|
3097
3042
|
const parsedBody = parsedOutput.body;
|
|
3098
|
-
|
|
3043
|
+
return throwDefaultError({
|
|
3099
3044
|
output,
|
|
3100
3045
|
parsedBody,
|
|
3101
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3102
3046
|
errorCode,
|
|
3103
3047
|
});
|
|
3104
3048
|
}
|
|
@@ -3109,12 +3053,12 @@ const de_UpdateFirewallDomainsCommand = async (output, context) => {
|
|
|
3109
3053
|
}
|
|
3110
3054
|
const data = await parseBody(output.body, context);
|
|
3111
3055
|
let contents = {};
|
|
3112
|
-
contents =
|
|
3056
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3113
3057
|
const response = {
|
|
3114
3058
|
$metadata: deserializeMetadata(output),
|
|
3115
3059
|
...contents,
|
|
3116
3060
|
};
|
|
3117
|
-
return
|
|
3061
|
+
return response;
|
|
3118
3062
|
};
|
|
3119
3063
|
exports.de_UpdateFirewallDomainsCommand = de_UpdateFirewallDomainsCommand;
|
|
3120
3064
|
const de_UpdateFirewallDomainsCommandError = async (output, context) => {
|
|
@@ -3147,10 +3091,9 @@ const de_UpdateFirewallDomainsCommandError = async (output, context) => {
|
|
|
3147
3091
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3148
3092
|
default:
|
|
3149
3093
|
const parsedBody = parsedOutput.body;
|
|
3150
|
-
|
|
3094
|
+
return throwDefaultError({
|
|
3151
3095
|
output,
|
|
3152
3096
|
parsedBody,
|
|
3153
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3154
3097
|
errorCode,
|
|
3155
3098
|
});
|
|
3156
3099
|
}
|
|
@@ -3161,12 +3104,12 @@ const de_UpdateFirewallRuleCommand = async (output, context) => {
|
|
|
3161
3104
|
}
|
|
3162
3105
|
const data = await parseBody(output.body, context);
|
|
3163
3106
|
let contents = {};
|
|
3164
|
-
contents =
|
|
3107
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3165
3108
|
const response = {
|
|
3166
3109
|
$metadata: deserializeMetadata(output),
|
|
3167
3110
|
...contents,
|
|
3168
3111
|
};
|
|
3169
|
-
return
|
|
3112
|
+
return response;
|
|
3170
3113
|
};
|
|
3171
3114
|
exports.de_UpdateFirewallRuleCommand = de_UpdateFirewallRuleCommand;
|
|
3172
3115
|
const de_UpdateFirewallRuleCommandError = async (output, context) => {
|
|
@@ -3196,10 +3139,9 @@ const de_UpdateFirewallRuleCommandError = async (output, context) => {
|
|
|
3196
3139
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3197
3140
|
default:
|
|
3198
3141
|
const parsedBody = parsedOutput.body;
|
|
3199
|
-
|
|
3142
|
+
return throwDefaultError({
|
|
3200
3143
|
output,
|
|
3201
3144
|
parsedBody,
|
|
3202
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3203
3145
|
errorCode,
|
|
3204
3146
|
});
|
|
3205
3147
|
}
|
|
@@ -3210,12 +3152,12 @@ const de_UpdateFirewallRuleGroupAssociationCommand = async (output, context) =>
|
|
|
3210
3152
|
}
|
|
3211
3153
|
const data = await parseBody(output.body, context);
|
|
3212
3154
|
let contents = {};
|
|
3213
|
-
contents =
|
|
3155
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3214
3156
|
const response = {
|
|
3215
3157
|
$metadata: deserializeMetadata(output),
|
|
3216
3158
|
...contents,
|
|
3217
3159
|
};
|
|
3218
|
-
return
|
|
3160
|
+
return response;
|
|
3219
3161
|
};
|
|
3220
3162
|
exports.de_UpdateFirewallRuleGroupAssociationCommand = de_UpdateFirewallRuleGroupAssociationCommand;
|
|
3221
3163
|
const de_UpdateFirewallRuleGroupAssociationCommandError = async (output, context) => {
|
|
@@ -3245,10 +3187,9 @@ const de_UpdateFirewallRuleGroupAssociationCommandError = async (output, context
|
|
|
3245
3187
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3246
3188
|
default:
|
|
3247
3189
|
const parsedBody = parsedOutput.body;
|
|
3248
|
-
|
|
3190
|
+
return throwDefaultError({
|
|
3249
3191
|
output,
|
|
3250
3192
|
parsedBody,
|
|
3251
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3252
3193
|
errorCode,
|
|
3253
3194
|
});
|
|
3254
3195
|
}
|
|
@@ -3259,12 +3200,12 @@ const de_UpdateResolverConfigCommand = async (output, context) => {
|
|
|
3259
3200
|
}
|
|
3260
3201
|
const data = await parseBody(output.body, context);
|
|
3261
3202
|
let contents = {};
|
|
3262
|
-
contents =
|
|
3203
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3263
3204
|
const response = {
|
|
3264
3205
|
$metadata: deserializeMetadata(output),
|
|
3265
3206
|
...contents,
|
|
3266
3207
|
};
|
|
3267
|
-
return
|
|
3208
|
+
return response;
|
|
3268
3209
|
};
|
|
3269
3210
|
exports.de_UpdateResolverConfigCommand = de_UpdateResolverConfigCommand;
|
|
3270
3211
|
const de_UpdateResolverConfigCommandError = async (output, context) => {
|
|
@@ -3303,10 +3244,9 @@ const de_UpdateResolverConfigCommandError = async (output, context) => {
|
|
|
3303
3244
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3304
3245
|
default:
|
|
3305
3246
|
const parsedBody = parsedOutput.body;
|
|
3306
|
-
|
|
3247
|
+
return throwDefaultError({
|
|
3307
3248
|
output,
|
|
3308
3249
|
parsedBody,
|
|
3309
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3310
3250
|
errorCode,
|
|
3311
3251
|
});
|
|
3312
3252
|
}
|
|
@@ -3317,12 +3257,12 @@ const de_UpdateResolverDnssecConfigCommand = async (output, context) => {
|
|
|
3317
3257
|
}
|
|
3318
3258
|
const data = await parseBody(output.body, context);
|
|
3319
3259
|
let contents = {};
|
|
3320
|
-
contents =
|
|
3260
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3321
3261
|
const response = {
|
|
3322
3262
|
$metadata: deserializeMetadata(output),
|
|
3323
3263
|
...contents,
|
|
3324
3264
|
};
|
|
3325
|
-
return
|
|
3265
|
+
return response;
|
|
3326
3266
|
};
|
|
3327
3267
|
exports.de_UpdateResolverDnssecConfigCommand = de_UpdateResolverDnssecConfigCommand;
|
|
3328
3268
|
const de_UpdateResolverDnssecConfigCommandError = async (output, context) => {
|
|
@@ -3352,10 +3292,9 @@ const de_UpdateResolverDnssecConfigCommandError = async (output, context) => {
|
|
|
3352
3292
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3353
3293
|
default:
|
|
3354
3294
|
const parsedBody = parsedOutput.body;
|
|
3355
|
-
|
|
3295
|
+
return throwDefaultError({
|
|
3356
3296
|
output,
|
|
3357
3297
|
parsedBody,
|
|
3358
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3359
3298
|
errorCode,
|
|
3360
3299
|
});
|
|
3361
3300
|
}
|
|
@@ -3366,12 +3305,12 @@ const de_UpdateResolverEndpointCommand = async (output, context) => {
|
|
|
3366
3305
|
}
|
|
3367
3306
|
const data = await parseBody(output.body, context);
|
|
3368
3307
|
let contents = {};
|
|
3369
|
-
contents =
|
|
3308
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3370
3309
|
const response = {
|
|
3371
3310
|
$metadata: deserializeMetadata(output),
|
|
3372
3311
|
...contents,
|
|
3373
3312
|
};
|
|
3374
|
-
return
|
|
3313
|
+
return response;
|
|
3375
3314
|
};
|
|
3376
3315
|
exports.de_UpdateResolverEndpointCommand = de_UpdateResolverEndpointCommand;
|
|
3377
3316
|
const de_UpdateResolverEndpointCommandError = async (output, context) => {
|
|
@@ -3398,10 +3337,9 @@ const de_UpdateResolverEndpointCommandError = async (output, context) => {
|
|
|
3398
3337
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3399
3338
|
default:
|
|
3400
3339
|
const parsedBody = parsedOutput.body;
|
|
3401
|
-
|
|
3340
|
+
return throwDefaultError({
|
|
3402
3341
|
output,
|
|
3403
3342
|
parsedBody,
|
|
3404
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3405
3343
|
errorCode,
|
|
3406
3344
|
});
|
|
3407
3345
|
}
|
|
@@ -3412,12 +3350,12 @@ const de_UpdateResolverRuleCommand = async (output, context) => {
|
|
|
3412
3350
|
}
|
|
3413
3351
|
const data = await parseBody(output.body, context);
|
|
3414
3352
|
let contents = {};
|
|
3415
|
-
contents =
|
|
3353
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3416
3354
|
const response = {
|
|
3417
3355
|
$metadata: deserializeMetadata(output),
|
|
3418
3356
|
...contents,
|
|
3419
3357
|
};
|
|
3420
|
-
return
|
|
3358
|
+
return response;
|
|
3421
3359
|
};
|
|
3422
3360
|
exports.de_UpdateResolverRuleCommand = de_UpdateResolverRuleCommand;
|
|
3423
3361
|
const de_UpdateResolverRuleCommandError = async (output, context) => {
|
|
@@ -3450,17 +3388,16 @@ const de_UpdateResolverRuleCommandError = async (output, context) => {
|
|
|
3450
3388
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3451
3389
|
default:
|
|
3452
3390
|
const parsedBody = parsedOutput.body;
|
|
3453
|
-
|
|
3391
|
+
return throwDefaultError({
|
|
3454
3392
|
output,
|
|
3455
3393
|
parsedBody,
|
|
3456
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3457
3394
|
errorCode,
|
|
3458
3395
|
});
|
|
3459
3396
|
}
|
|
3460
3397
|
};
|
|
3461
3398
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3462
3399
|
const body = parsedOutput.body;
|
|
3463
|
-
const deserialized =
|
|
3400
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3464
3401
|
const exception = new models_0_1.AccessDeniedException({
|
|
3465
3402
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3466
3403
|
...deserialized,
|
|
@@ -3469,7 +3406,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
3469
3406
|
};
|
|
3470
3407
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3471
3408
|
const body = parsedOutput.body;
|
|
3472
|
-
const deserialized =
|
|
3409
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3473
3410
|
const exception = new models_0_1.ConflictException({
|
|
3474
3411
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3475
3412
|
...deserialized,
|
|
@@ -3478,7 +3415,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
3478
3415
|
};
|
|
3479
3416
|
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
3480
3417
|
const body = parsedOutput.body;
|
|
3481
|
-
const deserialized =
|
|
3418
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3482
3419
|
const exception = new models_0_1.InternalServiceErrorException({
|
|
3483
3420
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3484
3421
|
...deserialized,
|
|
@@ -3487,7 +3424,7 @@ const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
3487
3424
|
};
|
|
3488
3425
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
3489
3426
|
const body = parsedOutput.body;
|
|
3490
|
-
const deserialized =
|
|
3427
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3491
3428
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
3492
3429
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3493
3430
|
...deserialized,
|
|
@@ -3496,7 +3433,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
3496
3433
|
};
|
|
3497
3434
|
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
3498
3435
|
const body = parsedOutput.body;
|
|
3499
|
-
const deserialized =
|
|
3436
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3500
3437
|
const exception = new models_0_1.InvalidParameterException({
|
|
3501
3438
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3502
3439
|
...deserialized,
|
|
@@ -3505,7 +3442,7 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
3505
3442
|
};
|
|
3506
3443
|
const de_InvalidPolicyDocumentRes = async (parsedOutput, context) => {
|
|
3507
3444
|
const body = parsedOutput.body;
|
|
3508
|
-
const deserialized =
|
|
3445
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3509
3446
|
const exception = new models_0_1.InvalidPolicyDocument({
|
|
3510
3447
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3511
3448
|
...deserialized,
|
|
@@ -3514,7 +3451,7 @@ const de_InvalidPolicyDocumentRes = async (parsedOutput, context) => {
|
|
|
3514
3451
|
};
|
|
3515
3452
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
3516
3453
|
const body = parsedOutput.body;
|
|
3517
|
-
const deserialized =
|
|
3454
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3518
3455
|
const exception = new models_0_1.InvalidRequestException({
|
|
3519
3456
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3520
3457
|
...deserialized,
|
|
@@ -3523,7 +3460,7 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
3523
3460
|
};
|
|
3524
3461
|
const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
|
|
3525
3462
|
const body = parsedOutput.body;
|
|
3526
|
-
const deserialized =
|
|
3463
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3527
3464
|
const exception = new models_0_1.InvalidTagException({
|
|
3528
3465
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3529
3466
|
...deserialized,
|
|
@@ -3532,7 +3469,7 @@ const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
|
|
|
3532
3469
|
};
|
|
3533
3470
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3534
3471
|
const body = parsedOutput.body;
|
|
3535
|
-
const deserialized =
|
|
3472
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3536
3473
|
const exception = new models_0_1.LimitExceededException({
|
|
3537
3474
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3538
3475
|
...deserialized,
|
|
@@ -3541,7 +3478,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3541
3478
|
};
|
|
3542
3479
|
const de_ResourceExistsExceptionRes = async (parsedOutput, context) => {
|
|
3543
3480
|
const body = parsedOutput.body;
|
|
3544
|
-
const deserialized =
|
|
3481
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3545
3482
|
const exception = new models_0_1.ResourceExistsException({
|
|
3546
3483
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3547
3484
|
...deserialized,
|
|
@@ -3550,7 +3487,7 @@ const de_ResourceExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
3550
3487
|
};
|
|
3551
3488
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
3552
3489
|
const body = parsedOutput.body;
|
|
3553
|
-
const deserialized =
|
|
3490
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3554
3491
|
const exception = new models_0_1.ResourceInUseException({
|
|
3555
3492
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3556
3493
|
...deserialized,
|
|
@@ -3559,7 +3496,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
3559
3496
|
};
|
|
3560
3497
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3561
3498
|
const body = parsedOutput.body;
|
|
3562
|
-
const deserialized =
|
|
3499
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3563
3500
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
3564
3501
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3565
3502
|
...deserialized,
|
|
@@ -3568,7 +3505,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3568
3505
|
};
|
|
3569
3506
|
const de_ResourceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
3570
3507
|
const body = parsedOutput.body;
|
|
3571
|
-
const deserialized =
|
|
3508
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3572
3509
|
const exception = new models_0_1.ResourceUnavailableException({
|
|
3573
3510
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3574
3511
|
...deserialized,
|
|
@@ -3577,7 +3514,7 @@ const de_ResourceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
3577
3514
|
};
|
|
3578
3515
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
3579
3516
|
const body = parsedOutput.body;
|
|
3580
|
-
const deserialized =
|
|
3517
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3581
3518
|
const exception = new models_0_1.ThrottlingException({
|
|
3582
3519
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3583
3520
|
...deserialized,
|
|
@@ -3586,7 +3523,7 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
3586
3523
|
};
|
|
3587
3524
|
const de_UnknownResourceExceptionRes = async (parsedOutput, context) => {
|
|
3588
3525
|
const body = parsedOutput.body;
|
|
3589
|
-
const deserialized =
|
|
3526
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3590
3527
|
const exception = new models_0_1.UnknownResourceException({
|
|
3591
3528
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3592
3529
|
...deserialized,
|
|
@@ -3595,7 +3532,7 @@ const de_UnknownResourceExceptionRes = async (parsedOutput, context) => {
|
|
|
3595
3532
|
};
|
|
3596
3533
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
3597
3534
|
const body = parsedOutput.body;
|
|
3598
|
-
const deserialized =
|
|
3535
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3599
3536
|
const exception = new models_0_1.ValidationException({
|
|
3600
3537
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3601
3538
|
...deserialized,
|
|
@@ -3603,1398 +3540,51 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
3603
3540
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3604
3541
|
};
|
|
3605
3542
|
const se_AssociateFirewallRuleGroupRequest = (input, context) => {
|
|
3606
|
-
return {
|
|
3607
|
-
CreatorRequestId:
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
};
|
|
3615
|
-
};
|
|
3616
|
-
const se_AssociateResolverEndpointIpAddressRequest = (input, context) => {
|
|
3617
|
-
return {
|
|
3618
|
-
...(input.IpAddress != null && { IpAddress: se_IpAddressUpdate(input.IpAddress, context) }),
|
|
3619
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3620
|
-
};
|
|
3621
|
-
};
|
|
3622
|
-
const se_AssociateResolverQueryLogConfigRequest = (input, context) => {
|
|
3623
|
-
return {
|
|
3624
|
-
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
3625
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3626
|
-
};
|
|
3627
|
-
};
|
|
3628
|
-
const se_AssociateResolverRuleRequest = (input, context) => {
|
|
3629
|
-
return {
|
|
3630
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3631
|
-
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
3632
|
-
...(input.VPCId != null && { VPCId: input.VPCId }),
|
|
3633
|
-
};
|
|
3634
|
-
};
|
|
3635
|
-
const se_CreateFirewallDomainListRequest = (input, context) => {
|
|
3636
|
-
return {
|
|
3637
|
-
CreatorRequestId: input.CreatorRequestId ?? (0, uuid_1.v4)(),
|
|
3638
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3639
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3640
|
-
};
|
|
3641
|
-
};
|
|
3642
|
-
const se_CreateFirewallRuleGroupRequest = (input, context) => {
|
|
3643
|
-
return {
|
|
3644
|
-
CreatorRequestId: input.CreatorRequestId ?? (0, uuid_1.v4)(),
|
|
3645
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3646
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3647
|
-
};
|
|
3648
|
-
};
|
|
3649
|
-
const se_CreateFirewallRuleRequest = (input, context) => {
|
|
3650
|
-
return {
|
|
3651
|
-
...(input.Action != null && { Action: input.Action }),
|
|
3652
|
-
...(input.BlockOverrideDnsType != null && { BlockOverrideDnsType: input.BlockOverrideDnsType }),
|
|
3653
|
-
...(input.BlockOverrideDomain != null && { BlockOverrideDomain: input.BlockOverrideDomain }),
|
|
3654
|
-
...(input.BlockOverrideTtl != null && { BlockOverrideTtl: input.BlockOverrideTtl }),
|
|
3655
|
-
...(input.BlockResponse != null && { BlockResponse: input.BlockResponse }),
|
|
3656
|
-
CreatorRequestId: input.CreatorRequestId ?? (0, uuid_1.v4)(),
|
|
3657
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
3658
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3659
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3660
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
3661
|
-
};
|
|
3662
|
-
};
|
|
3663
|
-
const se_CreateResolverEndpointRequest = (input, context) => {
|
|
3664
|
-
return {
|
|
3665
|
-
...(input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId }),
|
|
3666
|
-
...(input.Direction != null && { Direction: input.Direction }),
|
|
3667
|
-
...(input.IpAddresses != null && { IpAddresses: se_IpAddressesRequest(input.IpAddresses, context) }),
|
|
3668
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3669
|
-
...(input.ResolverEndpointType != null && { ResolverEndpointType: input.ResolverEndpointType }),
|
|
3670
|
-
...(input.SecurityGroupIds != null && { SecurityGroupIds: se_SecurityGroupIds(input.SecurityGroupIds, context) }),
|
|
3671
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3672
|
-
};
|
|
3673
|
-
};
|
|
3674
|
-
const se_CreateResolverQueryLogConfigRequest = (input, context) => {
|
|
3675
|
-
return {
|
|
3676
|
-
CreatorRequestId: input.CreatorRequestId ?? (0, uuid_1.v4)(),
|
|
3677
|
-
...(input.DestinationArn != null && { DestinationArn: input.DestinationArn }),
|
|
3678
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3679
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3680
|
-
};
|
|
3681
|
-
};
|
|
3682
|
-
const se_CreateResolverRuleRequest = (input, context) => {
|
|
3683
|
-
return {
|
|
3684
|
-
...(input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId }),
|
|
3685
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
3686
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3687
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3688
|
-
...(input.RuleType != null && { RuleType: input.RuleType }),
|
|
3689
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3690
|
-
...(input.TargetIps != null && { TargetIps: se_TargetList(input.TargetIps, context) }),
|
|
3691
|
-
};
|
|
3692
|
-
};
|
|
3693
|
-
const se_DeleteFirewallDomainListRequest = (input, context) => {
|
|
3694
|
-
return {
|
|
3695
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
3696
|
-
};
|
|
3697
|
-
};
|
|
3698
|
-
const se_DeleteFirewallRuleGroupRequest = (input, context) => {
|
|
3699
|
-
return {
|
|
3700
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3701
|
-
};
|
|
3702
|
-
};
|
|
3703
|
-
const se_DeleteFirewallRuleRequest = (input, context) => {
|
|
3704
|
-
return {
|
|
3705
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
3706
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3707
|
-
};
|
|
3708
|
-
};
|
|
3709
|
-
const se_DeleteResolverEndpointRequest = (input, context) => {
|
|
3710
|
-
return {
|
|
3711
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3712
|
-
};
|
|
3713
|
-
};
|
|
3714
|
-
const se_DeleteResolverQueryLogConfigRequest = (input, context) => {
|
|
3715
|
-
return {
|
|
3716
|
-
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
3717
|
-
};
|
|
3718
|
-
};
|
|
3719
|
-
const se_DeleteResolverRuleRequest = (input, context) => {
|
|
3720
|
-
return {
|
|
3721
|
-
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
3722
|
-
};
|
|
3723
|
-
};
|
|
3724
|
-
const se_DisassociateFirewallRuleGroupRequest = (input, context) => {
|
|
3725
|
-
return {
|
|
3726
|
-
...(input.FirewallRuleGroupAssociationId != null && {
|
|
3727
|
-
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
3728
|
-
}),
|
|
3729
|
-
};
|
|
3730
|
-
};
|
|
3731
|
-
const se_DisassociateResolverEndpointIpAddressRequest = (input, context) => {
|
|
3732
|
-
return {
|
|
3733
|
-
...(input.IpAddress != null && { IpAddress: se_IpAddressUpdate(input.IpAddress, context) }),
|
|
3734
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3735
|
-
};
|
|
3736
|
-
};
|
|
3737
|
-
const se_DisassociateResolverQueryLogConfigRequest = (input, context) => {
|
|
3738
|
-
return {
|
|
3739
|
-
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
3740
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3741
|
-
};
|
|
3742
|
-
};
|
|
3743
|
-
const se_DisassociateResolverRuleRequest = (input, context) => {
|
|
3744
|
-
return {
|
|
3745
|
-
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
3746
|
-
...(input.VPCId != null && { VPCId: input.VPCId }),
|
|
3747
|
-
};
|
|
3748
|
-
};
|
|
3749
|
-
const se_Filter = (input, context) => {
|
|
3750
|
-
return {
|
|
3751
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3752
|
-
...(input.Values != null && { Values: se_FilterValues(input.Values, context) }),
|
|
3753
|
-
};
|
|
3754
|
-
};
|
|
3755
|
-
const se_Filters = (input, context) => {
|
|
3756
|
-
return input
|
|
3757
|
-
.filter((e) => e != null)
|
|
3758
|
-
.map((entry) => {
|
|
3759
|
-
return se_Filter(entry, context);
|
|
3760
|
-
});
|
|
3761
|
-
};
|
|
3762
|
-
const se_FilterValues = (input, context) => {
|
|
3763
|
-
return input
|
|
3764
|
-
.filter((e) => e != null)
|
|
3765
|
-
.map((entry) => {
|
|
3766
|
-
return entry;
|
|
3767
|
-
});
|
|
3768
|
-
};
|
|
3769
|
-
const se_FirewallDomains = (input, context) => {
|
|
3770
|
-
return input
|
|
3771
|
-
.filter((e) => e != null)
|
|
3772
|
-
.map((entry) => {
|
|
3773
|
-
return entry;
|
|
3774
|
-
});
|
|
3775
|
-
};
|
|
3776
|
-
const se_GetFirewallConfigRequest = (input, context) => {
|
|
3777
|
-
return {
|
|
3778
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3779
|
-
};
|
|
3780
|
-
};
|
|
3781
|
-
const se_GetFirewallDomainListRequest = (input, context) => {
|
|
3782
|
-
return {
|
|
3783
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
3784
|
-
};
|
|
3785
|
-
};
|
|
3786
|
-
const se_GetFirewallRuleGroupAssociationRequest = (input, context) => {
|
|
3787
|
-
return {
|
|
3788
|
-
...(input.FirewallRuleGroupAssociationId != null && {
|
|
3789
|
-
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
3790
|
-
}),
|
|
3791
|
-
};
|
|
3792
|
-
};
|
|
3793
|
-
const se_GetFirewallRuleGroupPolicyRequest = (input, context) => {
|
|
3794
|
-
return {
|
|
3795
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
3796
|
-
};
|
|
3797
|
-
};
|
|
3798
|
-
const se_GetFirewallRuleGroupRequest = (input, context) => {
|
|
3799
|
-
return {
|
|
3800
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3801
|
-
};
|
|
3802
|
-
};
|
|
3803
|
-
const se_GetResolverConfigRequest = (input, context) => {
|
|
3804
|
-
return {
|
|
3805
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3806
|
-
};
|
|
3807
|
-
};
|
|
3808
|
-
const se_GetResolverDnssecConfigRequest = (input, context) => {
|
|
3809
|
-
return {
|
|
3810
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3811
|
-
};
|
|
3812
|
-
};
|
|
3813
|
-
const se_GetResolverEndpointRequest = (input, context) => {
|
|
3814
|
-
return {
|
|
3815
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3816
|
-
};
|
|
3817
|
-
};
|
|
3818
|
-
const se_GetResolverQueryLogConfigAssociationRequest = (input, context) => {
|
|
3819
|
-
return {
|
|
3820
|
-
...(input.ResolverQueryLogConfigAssociationId != null && {
|
|
3821
|
-
ResolverQueryLogConfigAssociationId: input.ResolverQueryLogConfigAssociationId,
|
|
3822
|
-
}),
|
|
3823
|
-
};
|
|
3824
|
-
};
|
|
3825
|
-
const se_GetResolverQueryLogConfigPolicyRequest = (input, context) => {
|
|
3826
|
-
return {
|
|
3827
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
3828
|
-
};
|
|
3829
|
-
};
|
|
3830
|
-
const se_GetResolverQueryLogConfigRequest = (input, context) => {
|
|
3831
|
-
return {
|
|
3832
|
-
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
3833
|
-
};
|
|
3834
|
-
};
|
|
3835
|
-
const se_GetResolverRuleAssociationRequest = (input, context) => {
|
|
3836
|
-
return {
|
|
3837
|
-
...(input.ResolverRuleAssociationId != null && { ResolverRuleAssociationId: input.ResolverRuleAssociationId }),
|
|
3838
|
-
};
|
|
3839
|
-
};
|
|
3840
|
-
const se_GetResolverRulePolicyRequest = (input, context) => {
|
|
3841
|
-
return {
|
|
3842
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
3843
|
-
};
|
|
3844
|
-
};
|
|
3845
|
-
const se_GetResolverRuleRequest = (input, context) => {
|
|
3846
|
-
return {
|
|
3847
|
-
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
3848
|
-
};
|
|
3849
|
-
};
|
|
3850
|
-
const se_ImportFirewallDomainsRequest = (input, context) => {
|
|
3851
|
-
return {
|
|
3852
|
-
...(input.DomainFileUrl != null && { DomainFileUrl: input.DomainFileUrl }),
|
|
3853
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
3854
|
-
...(input.Operation != null && { Operation: input.Operation }),
|
|
3855
|
-
};
|
|
3856
|
-
};
|
|
3857
|
-
const se_IpAddressesRequest = (input, context) => {
|
|
3858
|
-
return input
|
|
3859
|
-
.filter((e) => e != null)
|
|
3860
|
-
.map((entry) => {
|
|
3861
|
-
return se_IpAddressRequest(entry, context);
|
|
3862
|
-
});
|
|
3863
|
-
};
|
|
3864
|
-
const se_IpAddressRequest = (input, context) => {
|
|
3865
|
-
return {
|
|
3866
|
-
...(input.Ip != null && { Ip: input.Ip }),
|
|
3867
|
-
...(input.Ipv6 != null && { Ipv6: input.Ipv6 }),
|
|
3868
|
-
...(input.SubnetId != null && { SubnetId: input.SubnetId }),
|
|
3869
|
-
};
|
|
3870
|
-
};
|
|
3871
|
-
const se_IpAddressUpdate = (input, context) => {
|
|
3872
|
-
return {
|
|
3873
|
-
...(input.Ip != null && { Ip: input.Ip }),
|
|
3874
|
-
...(input.IpId != null && { IpId: input.IpId }),
|
|
3875
|
-
...(input.Ipv6 != null && { Ipv6: input.Ipv6 }),
|
|
3876
|
-
...(input.SubnetId != null && { SubnetId: input.SubnetId }),
|
|
3877
|
-
};
|
|
3878
|
-
};
|
|
3879
|
-
const se_ListFirewallConfigsRequest = (input, context) => {
|
|
3880
|
-
return {
|
|
3881
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3882
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3883
|
-
};
|
|
3884
|
-
};
|
|
3885
|
-
const se_ListFirewallDomainListsRequest = (input, context) => {
|
|
3886
|
-
return {
|
|
3887
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3888
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3889
|
-
};
|
|
3890
|
-
};
|
|
3891
|
-
const se_ListFirewallDomainsRequest = (input, context) => {
|
|
3892
|
-
return {
|
|
3893
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
3894
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3895
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3896
|
-
};
|
|
3897
|
-
};
|
|
3898
|
-
const se_ListFirewallRuleGroupAssociationsRequest = (input, context) => {
|
|
3899
|
-
return {
|
|
3900
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3901
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3902
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3903
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
3904
|
-
...(input.Status != null && { Status: input.Status }),
|
|
3905
|
-
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
3906
|
-
};
|
|
3907
|
-
};
|
|
3908
|
-
const se_ListFirewallRuleGroupsRequest = (input, context) => {
|
|
3909
|
-
return {
|
|
3910
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3911
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3912
|
-
};
|
|
3913
|
-
};
|
|
3914
|
-
const se_ListFirewallRulesRequest = (input, context) => {
|
|
3915
|
-
return {
|
|
3916
|
-
...(input.Action != null && { Action: input.Action }),
|
|
3917
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3918
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3919
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3920
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
3921
|
-
};
|
|
3922
|
-
};
|
|
3923
|
-
const se_ListResolverConfigsRequest = (input, context) => {
|
|
3924
|
-
return {
|
|
3925
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3926
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3927
|
-
};
|
|
3928
|
-
};
|
|
3929
|
-
const se_ListResolverDnssecConfigsRequest = (input, context) => {
|
|
3930
|
-
return {
|
|
3931
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3932
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3933
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3934
|
-
};
|
|
3935
|
-
};
|
|
3936
|
-
const se_ListResolverEndpointIpAddressesRequest = (input, context) => {
|
|
3937
|
-
return {
|
|
3938
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3939
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3940
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3941
|
-
};
|
|
3942
|
-
};
|
|
3943
|
-
const se_ListResolverEndpointsRequest = (input, context) => {
|
|
3944
|
-
return {
|
|
3945
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3946
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3947
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3948
|
-
};
|
|
3949
|
-
};
|
|
3950
|
-
const se_ListResolverQueryLogConfigAssociationsRequest = (input, context) => {
|
|
3951
|
-
return {
|
|
3952
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3953
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3954
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3955
|
-
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
3956
|
-
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
3957
|
-
};
|
|
3958
|
-
};
|
|
3959
|
-
const se_ListResolverQueryLogConfigsRequest = (input, context) => {
|
|
3960
|
-
return {
|
|
3961
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3962
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3963
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3964
|
-
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
3965
|
-
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
3966
|
-
};
|
|
3967
|
-
};
|
|
3968
|
-
const se_ListResolverRuleAssociationsRequest = (input, context) => {
|
|
3969
|
-
return {
|
|
3970
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3971
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3972
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3973
|
-
};
|
|
3974
|
-
};
|
|
3975
|
-
const se_ListResolverRulesRequest = (input, context) => {
|
|
3976
|
-
return {
|
|
3977
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
3978
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3979
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3980
|
-
};
|
|
3981
|
-
};
|
|
3982
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
3983
|
-
return {
|
|
3984
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
3985
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
3986
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3987
|
-
};
|
|
3988
|
-
};
|
|
3989
|
-
const se_PutFirewallRuleGroupPolicyRequest = (input, context) => {
|
|
3990
|
-
return {
|
|
3991
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
3992
|
-
...(input.FirewallRuleGroupPolicy != null && { FirewallRuleGroupPolicy: input.FirewallRuleGroupPolicy }),
|
|
3993
|
-
};
|
|
3994
|
-
};
|
|
3995
|
-
const se_PutResolverQueryLogConfigPolicyRequest = (input, context) => {
|
|
3996
|
-
return {
|
|
3997
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
3998
|
-
...(input.ResolverQueryLogConfigPolicy != null && {
|
|
3999
|
-
ResolverQueryLogConfigPolicy: input.ResolverQueryLogConfigPolicy,
|
|
4000
|
-
}),
|
|
4001
|
-
};
|
|
4002
|
-
};
|
|
4003
|
-
const se_PutResolverRulePolicyRequest = (input, context) => {
|
|
4004
|
-
return {
|
|
4005
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
4006
|
-
...(input.ResolverRulePolicy != null && { ResolverRulePolicy: input.ResolverRulePolicy }),
|
|
4007
|
-
};
|
|
4008
|
-
};
|
|
4009
|
-
const se_ResolverRuleConfig = (input, context) => {
|
|
4010
|
-
return {
|
|
4011
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4012
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4013
|
-
...(input.TargetIps != null && { TargetIps: se_TargetList(input.TargetIps, context) }),
|
|
4014
|
-
};
|
|
4015
|
-
};
|
|
4016
|
-
const se_SecurityGroupIds = (input, context) => {
|
|
4017
|
-
return input
|
|
4018
|
-
.filter((e) => e != null)
|
|
4019
|
-
.map((entry) => {
|
|
4020
|
-
return entry;
|
|
4021
|
-
});
|
|
4022
|
-
};
|
|
4023
|
-
const se_Tag = (input, context) => {
|
|
4024
|
-
return {
|
|
4025
|
-
...(input.Key != null && { Key: input.Key }),
|
|
4026
|
-
...(input.Value != null && { Value: input.Value }),
|
|
4027
|
-
};
|
|
4028
|
-
};
|
|
4029
|
-
const se_TagKeyList = (input, context) => {
|
|
4030
|
-
return input
|
|
4031
|
-
.filter((e) => e != null)
|
|
4032
|
-
.map((entry) => {
|
|
4033
|
-
return entry;
|
|
4034
|
-
});
|
|
4035
|
-
};
|
|
4036
|
-
const se_TagList = (input, context) => {
|
|
4037
|
-
return input
|
|
4038
|
-
.filter((e) => e != null)
|
|
4039
|
-
.map((entry) => {
|
|
4040
|
-
return se_Tag(entry, context);
|
|
4041
|
-
});
|
|
4042
|
-
};
|
|
4043
|
-
const se_TagResourceRequest = (input, context) => {
|
|
4044
|
-
return {
|
|
4045
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4046
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
4047
|
-
};
|
|
4048
|
-
};
|
|
4049
|
-
const se_TargetAddress = (input, context) => {
|
|
4050
|
-
return {
|
|
4051
|
-
...(input.Ip != null && { Ip: input.Ip }),
|
|
4052
|
-
...(input.Ipv6 != null && { Ipv6: input.Ipv6 }),
|
|
4053
|
-
...(input.Port != null && { Port: input.Port }),
|
|
4054
|
-
};
|
|
4055
|
-
};
|
|
4056
|
-
const se_TargetList = (input, context) => {
|
|
4057
|
-
return input
|
|
4058
|
-
.filter((e) => e != null)
|
|
4059
|
-
.map((entry) => {
|
|
4060
|
-
return se_TargetAddress(entry, context);
|
|
4061
|
-
});
|
|
4062
|
-
};
|
|
4063
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
4064
|
-
return {
|
|
4065
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4066
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
4067
|
-
};
|
|
4068
|
-
};
|
|
4069
|
-
const se_UpdateFirewallConfigRequest = (input, context) => {
|
|
4070
|
-
return {
|
|
4071
|
-
...(input.FirewallFailOpen != null && { FirewallFailOpen: input.FirewallFailOpen }),
|
|
4072
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4073
|
-
};
|
|
4074
|
-
};
|
|
4075
|
-
const se_UpdateFirewallDomainsRequest = (input, context) => {
|
|
4076
|
-
return {
|
|
4077
|
-
...(input.Domains != null && { Domains: se_FirewallDomains(input.Domains, context) }),
|
|
4078
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4079
|
-
...(input.Operation != null && { Operation: input.Operation }),
|
|
4080
|
-
};
|
|
4081
|
-
};
|
|
4082
|
-
const se_UpdateFirewallRuleGroupAssociationRequest = (input, context) => {
|
|
4083
|
-
return {
|
|
4084
|
-
...(input.FirewallRuleGroupAssociationId != null && {
|
|
4085
|
-
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
4086
|
-
}),
|
|
4087
|
-
...(input.MutationProtection != null && { MutationProtection: input.MutationProtection }),
|
|
4088
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4089
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
4090
|
-
};
|
|
4091
|
-
};
|
|
4092
|
-
const se_UpdateFirewallRuleRequest = (input, context) => {
|
|
4093
|
-
return {
|
|
4094
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4095
|
-
...(input.BlockOverrideDnsType != null && { BlockOverrideDnsType: input.BlockOverrideDnsType }),
|
|
4096
|
-
...(input.BlockOverrideDomain != null && { BlockOverrideDomain: input.BlockOverrideDomain }),
|
|
4097
|
-
...(input.BlockOverrideTtl != null && { BlockOverrideTtl: input.BlockOverrideTtl }),
|
|
4098
|
-
...(input.BlockResponse != null && { BlockResponse: input.BlockResponse }),
|
|
4099
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4100
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4101
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4102
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
4103
|
-
};
|
|
4104
|
-
};
|
|
4105
|
-
const se_UpdateIpAddress = (input, context) => {
|
|
4106
|
-
return {
|
|
4107
|
-
...(input.IpId != null && { IpId: input.IpId }),
|
|
4108
|
-
...(input.Ipv6 != null && { Ipv6: input.Ipv6 }),
|
|
4109
|
-
};
|
|
4110
|
-
};
|
|
4111
|
-
const se_UpdateIpAddresses = (input, context) => {
|
|
4112
|
-
return input
|
|
4113
|
-
.filter((e) => e != null)
|
|
4114
|
-
.map((entry) => {
|
|
4115
|
-
return se_UpdateIpAddress(entry, context);
|
|
4116
|
-
});
|
|
4117
|
-
};
|
|
4118
|
-
const se_UpdateResolverConfigRequest = (input, context) => {
|
|
4119
|
-
return {
|
|
4120
|
-
...(input.AutodefinedReverseFlag != null && { AutodefinedReverseFlag: input.AutodefinedReverseFlag }),
|
|
4121
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4122
|
-
};
|
|
4123
|
-
};
|
|
4124
|
-
const se_UpdateResolverDnssecConfigRequest = (input, context) => {
|
|
4125
|
-
return {
|
|
4126
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4127
|
-
...(input.Validation != null && { Validation: input.Validation }),
|
|
4128
|
-
};
|
|
4129
|
-
};
|
|
4130
|
-
const se_UpdateResolverEndpointRequest = (input, context) => {
|
|
4131
|
-
return {
|
|
4132
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4133
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4134
|
-
...(input.ResolverEndpointType != null && { ResolverEndpointType: input.ResolverEndpointType }),
|
|
4135
|
-
...(input.UpdateIpAddresses != null && {
|
|
4136
|
-
UpdateIpAddresses: se_UpdateIpAddresses(input.UpdateIpAddresses, context),
|
|
4137
|
-
}),
|
|
4138
|
-
};
|
|
4139
|
-
};
|
|
4140
|
-
const se_UpdateResolverRuleRequest = (input, context) => {
|
|
4141
|
-
return {
|
|
4142
|
-
...(input.Config != null && { Config: se_ResolverRuleConfig(input.Config, context) }),
|
|
4143
|
-
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
4144
|
-
};
|
|
4145
|
-
};
|
|
4146
|
-
const de_AccessDeniedException = (output, context) => {
|
|
4147
|
-
return {
|
|
4148
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4149
|
-
};
|
|
4150
|
-
};
|
|
4151
|
-
const de_AssociateFirewallRuleGroupResponse = (output, context) => {
|
|
4152
|
-
return {
|
|
4153
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
4154
|
-
? de_FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
4155
|
-
: undefined,
|
|
4156
|
-
};
|
|
4157
|
-
};
|
|
4158
|
-
const de_AssociateResolverEndpointIpAddressResponse = (output, context) => {
|
|
4159
|
-
return {
|
|
4160
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4161
|
-
};
|
|
4162
|
-
};
|
|
4163
|
-
const de_AssociateResolverQueryLogConfigResponse = (output, context) => {
|
|
4164
|
-
return {
|
|
4165
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
4166
|
-
? de_ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
4167
|
-
: undefined,
|
|
4168
|
-
};
|
|
4169
|
-
};
|
|
4170
|
-
const de_AssociateResolverRuleResponse = (output, context) => {
|
|
4171
|
-
return {
|
|
4172
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
4173
|
-
? de_ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
4174
|
-
: undefined,
|
|
4175
|
-
};
|
|
4176
|
-
};
|
|
4177
|
-
const de_ConflictException = (output, context) => {
|
|
4178
|
-
return {
|
|
4179
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4180
|
-
};
|
|
4181
|
-
};
|
|
4182
|
-
const de_CreateFirewallDomainListResponse = (output, context) => {
|
|
4183
|
-
return {
|
|
4184
|
-
FirewallDomainList: output.FirewallDomainList != null ? de_FirewallDomainList(output.FirewallDomainList, context) : undefined,
|
|
4185
|
-
};
|
|
4186
|
-
};
|
|
4187
|
-
const de_CreateFirewallRuleGroupResponse = (output, context) => {
|
|
4188
|
-
return {
|
|
4189
|
-
FirewallRuleGroup: output.FirewallRuleGroup != null ? de_FirewallRuleGroup(output.FirewallRuleGroup, context) : undefined,
|
|
4190
|
-
};
|
|
4191
|
-
};
|
|
4192
|
-
const de_CreateFirewallRuleResponse = (output, context) => {
|
|
4193
|
-
return {
|
|
4194
|
-
FirewallRule: output.FirewallRule != null ? de_FirewallRule(output.FirewallRule, context) : undefined,
|
|
4195
|
-
};
|
|
4196
|
-
};
|
|
4197
|
-
const de_CreateResolverEndpointResponse = (output, context) => {
|
|
4198
|
-
return {
|
|
4199
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4200
|
-
};
|
|
4201
|
-
};
|
|
4202
|
-
const de_CreateResolverQueryLogConfigResponse = (output, context) => {
|
|
4203
|
-
return {
|
|
4204
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
4205
|
-
? de_ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
4206
|
-
: undefined,
|
|
4207
|
-
};
|
|
4208
|
-
};
|
|
4209
|
-
const de_CreateResolverRuleResponse = (output, context) => {
|
|
4210
|
-
return {
|
|
4211
|
-
ResolverRule: output.ResolverRule != null ? de_ResolverRule(output.ResolverRule, context) : undefined,
|
|
4212
|
-
};
|
|
4213
|
-
};
|
|
4214
|
-
const de_DeleteFirewallDomainListResponse = (output, context) => {
|
|
4215
|
-
return {
|
|
4216
|
-
FirewallDomainList: output.FirewallDomainList != null ? de_FirewallDomainList(output.FirewallDomainList, context) : undefined,
|
|
4217
|
-
};
|
|
4218
|
-
};
|
|
4219
|
-
const de_DeleteFirewallRuleGroupResponse = (output, context) => {
|
|
4220
|
-
return {
|
|
4221
|
-
FirewallRuleGroup: output.FirewallRuleGroup != null ? de_FirewallRuleGroup(output.FirewallRuleGroup, context) : undefined,
|
|
4222
|
-
};
|
|
4223
|
-
};
|
|
4224
|
-
const de_DeleteFirewallRuleResponse = (output, context) => {
|
|
4225
|
-
return {
|
|
4226
|
-
FirewallRule: output.FirewallRule != null ? de_FirewallRule(output.FirewallRule, context) : undefined,
|
|
4227
|
-
};
|
|
4228
|
-
};
|
|
4229
|
-
const de_DeleteResolverEndpointResponse = (output, context) => {
|
|
4230
|
-
return {
|
|
4231
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4232
|
-
};
|
|
4233
|
-
};
|
|
4234
|
-
const de_DeleteResolverQueryLogConfigResponse = (output, context) => {
|
|
4235
|
-
return {
|
|
4236
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
4237
|
-
? de_ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
4238
|
-
: undefined,
|
|
4239
|
-
};
|
|
4240
|
-
};
|
|
4241
|
-
const de_DeleteResolverRuleResponse = (output, context) => {
|
|
4242
|
-
return {
|
|
4243
|
-
ResolverRule: output.ResolverRule != null ? de_ResolverRule(output.ResolverRule, context) : undefined,
|
|
4244
|
-
};
|
|
4245
|
-
};
|
|
4246
|
-
const de_DisassociateFirewallRuleGroupResponse = (output, context) => {
|
|
4247
|
-
return {
|
|
4248
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
4249
|
-
? de_FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
4250
|
-
: undefined,
|
|
4251
|
-
};
|
|
4252
|
-
};
|
|
4253
|
-
const de_DisassociateResolverEndpointIpAddressResponse = (output, context) => {
|
|
4254
|
-
return {
|
|
4255
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4256
|
-
};
|
|
4257
|
-
};
|
|
4258
|
-
const de_DisassociateResolverQueryLogConfigResponse = (output, context) => {
|
|
4259
|
-
return {
|
|
4260
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
4261
|
-
? de_ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
4262
|
-
: undefined,
|
|
4263
|
-
};
|
|
4264
|
-
};
|
|
4265
|
-
const de_DisassociateResolverRuleResponse = (output, context) => {
|
|
4266
|
-
return {
|
|
4267
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
4268
|
-
? de_ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
4269
|
-
: undefined,
|
|
4270
|
-
};
|
|
4271
|
-
};
|
|
4272
|
-
const de_FirewallConfig = (output, context) => {
|
|
4273
|
-
return {
|
|
4274
|
-
FirewallFailOpen: (0, smithy_client_1.expectString)(output.FirewallFailOpen),
|
|
4275
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4276
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4277
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
4278
|
-
};
|
|
4279
|
-
};
|
|
4280
|
-
const de_FirewallConfigList = (output, context) => {
|
|
4281
|
-
const retVal = (output || [])
|
|
4282
|
-
.filter((e) => e != null)
|
|
4283
|
-
.map((entry) => {
|
|
4284
|
-
if (entry === null) {
|
|
4285
|
-
return null;
|
|
4286
|
-
}
|
|
4287
|
-
return de_FirewallConfig(entry, context);
|
|
4288
|
-
});
|
|
4289
|
-
return retVal;
|
|
4290
|
-
};
|
|
4291
|
-
const de_FirewallDomainList = (output, context) => {
|
|
4292
|
-
return {
|
|
4293
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4294
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4295
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4296
|
-
DomainCount: (0, smithy_client_1.expectInt32)(output.DomainCount),
|
|
4297
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4298
|
-
ManagedOwnerName: (0, smithy_client_1.expectString)(output.ManagedOwnerName),
|
|
4299
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4300
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4301
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4302
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4303
|
-
};
|
|
4304
|
-
};
|
|
4305
|
-
const de_FirewallDomainListMetadata = (output, context) => {
|
|
4306
|
-
return {
|
|
4307
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4308
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4309
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4310
|
-
ManagedOwnerName: (0, smithy_client_1.expectString)(output.ManagedOwnerName),
|
|
4311
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4312
|
-
};
|
|
4313
|
-
};
|
|
4314
|
-
const de_FirewallDomainListMetadataList = (output, context) => {
|
|
4315
|
-
const retVal = (output || [])
|
|
4316
|
-
.filter((e) => e != null)
|
|
4317
|
-
.map((entry) => {
|
|
4318
|
-
if (entry === null) {
|
|
4319
|
-
return null;
|
|
4320
|
-
}
|
|
4321
|
-
return de_FirewallDomainListMetadata(entry, context);
|
|
4322
|
-
});
|
|
4323
|
-
return retVal;
|
|
4324
|
-
};
|
|
4325
|
-
const de_FirewallDomains = (output, context) => {
|
|
4326
|
-
const retVal = (output || [])
|
|
4327
|
-
.filter((e) => e != null)
|
|
4328
|
-
.map((entry) => {
|
|
4329
|
-
if (entry === null) {
|
|
4330
|
-
return null;
|
|
4331
|
-
}
|
|
4332
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4333
|
-
});
|
|
4334
|
-
return retVal;
|
|
4335
|
-
};
|
|
4336
|
-
const de_FirewallRule = (output, context) => {
|
|
4337
|
-
return {
|
|
4338
|
-
Action: (0, smithy_client_1.expectString)(output.Action),
|
|
4339
|
-
BlockOverrideDnsType: (0, smithy_client_1.expectString)(output.BlockOverrideDnsType),
|
|
4340
|
-
BlockOverrideDomain: (0, smithy_client_1.expectString)(output.BlockOverrideDomain),
|
|
4341
|
-
BlockOverrideTtl: (0, smithy_client_1.expectInt32)(output.BlockOverrideTtl),
|
|
4342
|
-
BlockResponse: (0, smithy_client_1.expectString)(output.BlockResponse),
|
|
4343
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4344
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4345
|
-
FirewallDomainListId: (0, smithy_client_1.expectString)(output.FirewallDomainListId),
|
|
4346
|
-
FirewallRuleGroupId: (0, smithy_client_1.expectString)(output.FirewallRuleGroupId),
|
|
4347
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4348
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4349
|
-
Priority: (0, smithy_client_1.expectInt32)(output.Priority),
|
|
4350
|
-
};
|
|
4351
|
-
};
|
|
4352
|
-
const de_FirewallRuleGroup = (output, context) => {
|
|
4353
|
-
return {
|
|
4354
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4355
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4356
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4357
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4358
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4359
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4360
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4361
|
-
RuleCount: (0, smithy_client_1.expectInt32)(output.RuleCount),
|
|
4362
|
-
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
4363
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4364
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4365
|
-
};
|
|
4366
|
-
};
|
|
4367
|
-
const de_FirewallRuleGroupAssociation = (output, context) => {
|
|
4368
|
-
return {
|
|
4369
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4370
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4371
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4372
|
-
FirewallRuleGroupId: (0, smithy_client_1.expectString)(output.FirewallRuleGroupId),
|
|
4373
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4374
|
-
ManagedOwnerName: (0, smithy_client_1.expectString)(output.ManagedOwnerName),
|
|
4375
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4376
|
-
MutationProtection: (0, smithy_client_1.expectString)(output.MutationProtection),
|
|
4377
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4378
|
-
Priority: (0, smithy_client_1.expectInt32)(output.Priority),
|
|
4379
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4380
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4381
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
4382
|
-
};
|
|
4383
|
-
};
|
|
4384
|
-
const de_FirewallRuleGroupAssociations = (output, context) => {
|
|
4385
|
-
const retVal = (output || [])
|
|
4386
|
-
.filter((e) => e != null)
|
|
4387
|
-
.map((entry) => {
|
|
4388
|
-
if (entry === null) {
|
|
4389
|
-
return null;
|
|
4390
|
-
}
|
|
4391
|
-
return de_FirewallRuleGroupAssociation(entry, context);
|
|
4392
|
-
});
|
|
4393
|
-
return retVal;
|
|
4394
|
-
};
|
|
4395
|
-
const de_FirewallRuleGroupMetadata = (output, context) => {
|
|
4396
|
-
return {
|
|
4397
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4398
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4399
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4400
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4401
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4402
|
-
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
4403
|
-
};
|
|
4404
|
-
};
|
|
4405
|
-
const de_FirewallRuleGroupMetadataList = (output, context) => {
|
|
4406
|
-
const retVal = (output || [])
|
|
4407
|
-
.filter((e) => e != null)
|
|
4408
|
-
.map((entry) => {
|
|
4409
|
-
if (entry === null) {
|
|
4410
|
-
return null;
|
|
4411
|
-
}
|
|
4412
|
-
return de_FirewallRuleGroupMetadata(entry, context);
|
|
4413
|
-
});
|
|
4414
|
-
return retVal;
|
|
4415
|
-
};
|
|
4416
|
-
const de_FirewallRules = (output, context) => {
|
|
4417
|
-
const retVal = (output || [])
|
|
4418
|
-
.filter((e) => e != null)
|
|
4419
|
-
.map((entry) => {
|
|
4420
|
-
if (entry === null) {
|
|
4421
|
-
return null;
|
|
4422
|
-
}
|
|
4423
|
-
return de_FirewallRule(entry, context);
|
|
4424
|
-
});
|
|
4425
|
-
return retVal;
|
|
4426
|
-
};
|
|
4427
|
-
const de_GetFirewallConfigResponse = (output, context) => {
|
|
4428
|
-
return {
|
|
4429
|
-
FirewallConfig: output.FirewallConfig != null ? de_FirewallConfig(output.FirewallConfig, context) : undefined,
|
|
4430
|
-
};
|
|
4431
|
-
};
|
|
4432
|
-
const de_GetFirewallDomainListResponse = (output, context) => {
|
|
4433
|
-
return {
|
|
4434
|
-
FirewallDomainList: output.FirewallDomainList != null ? de_FirewallDomainList(output.FirewallDomainList, context) : undefined,
|
|
4435
|
-
};
|
|
4436
|
-
};
|
|
4437
|
-
const de_GetFirewallRuleGroupAssociationResponse = (output, context) => {
|
|
4438
|
-
return {
|
|
4439
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
4440
|
-
? de_FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
4441
|
-
: undefined,
|
|
4442
|
-
};
|
|
4443
|
-
};
|
|
4444
|
-
const de_GetFirewallRuleGroupPolicyResponse = (output, context) => {
|
|
4445
|
-
return {
|
|
4446
|
-
FirewallRuleGroupPolicy: (0, smithy_client_1.expectString)(output.FirewallRuleGroupPolicy),
|
|
4447
|
-
};
|
|
4448
|
-
};
|
|
4449
|
-
const de_GetFirewallRuleGroupResponse = (output, context) => {
|
|
4450
|
-
return {
|
|
4451
|
-
FirewallRuleGroup: output.FirewallRuleGroup != null ? de_FirewallRuleGroup(output.FirewallRuleGroup, context) : undefined,
|
|
4452
|
-
};
|
|
4453
|
-
};
|
|
4454
|
-
const de_GetResolverConfigResponse = (output, context) => {
|
|
4455
|
-
return {
|
|
4456
|
-
ResolverConfig: output.ResolverConfig != null ? de_ResolverConfig(output.ResolverConfig, context) : undefined,
|
|
4457
|
-
};
|
|
4458
|
-
};
|
|
4459
|
-
const de_GetResolverDnssecConfigResponse = (output, context) => {
|
|
4460
|
-
return {
|
|
4461
|
-
ResolverDNSSECConfig: output.ResolverDNSSECConfig != null ? de_ResolverDnssecConfig(output.ResolverDNSSECConfig, context) : undefined,
|
|
4462
|
-
};
|
|
4463
|
-
};
|
|
4464
|
-
const de_GetResolverEndpointResponse = (output, context) => {
|
|
4465
|
-
return {
|
|
4466
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4467
|
-
};
|
|
4468
|
-
};
|
|
4469
|
-
const de_GetResolverQueryLogConfigAssociationResponse = (output, context) => {
|
|
4470
|
-
return {
|
|
4471
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
4472
|
-
? de_ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
4473
|
-
: undefined,
|
|
4474
|
-
};
|
|
4475
|
-
};
|
|
4476
|
-
const de_GetResolverQueryLogConfigPolicyResponse = (output, context) => {
|
|
4477
|
-
return {
|
|
4478
|
-
ResolverQueryLogConfigPolicy: (0, smithy_client_1.expectString)(output.ResolverQueryLogConfigPolicy),
|
|
4479
|
-
};
|
|
4480
|
-
};
|
|
4481
|
-
const de_GetResolverQueryLogConfigResponse = (output, context) => {
|
|
4482
|
-
return {
|
|
4483
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
4484
|
-
? de_ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
4485
|
-
: undefined,
|
|
4486
|
-
};
|
|
4487
|
-
};
|
|
4488
|
-
const de_GetResolverRuleAssociationResponse = (output, context) => {
|
|
4489
|
-
return {
|
|
4490
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
4491
|
-
? de_ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
4492
|
-
: undefined,
|
|
4493
|
-
};
|
|
4494
|
-
};
|
|
4495
|
-
const de_GetResolverRulePolicyResponse = (output, context) => {
|
|
4496
|
-
return {
|
|
4497
|
-
ResolverRulePolicy: (0, smithy_client_1.expectString)(output.ResolverRulePolicy),
|
|
4498
|
-
};
|
|
4499
|
-
};
|
|
4500
|
-
const de_GetResolverRuleResponse = (output, context) => {
|
|
4501
|
-
return {
|
|
4502
|
-
ResolverRule: output.ResolverRule != null ? de_ResolverRule(output.ResolverRule, context) : undefined,
|
|
4503
|
-
};
|
|
4504
|
-
};
|
|
4505
|
-
const de_ImportFirewallDomainsResponse = (output, context) => {
|
|
4506
|
-
return {
|
|
4507
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4508
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4509
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4510
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4511
|
-
};
|
|
4512
|
-
};
|
|
4513
|
-
const de_InternalServiceErrorException = (output, context) => {
|
|
4514
|
-
return {
|
|
4515
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4516
|
-
};
|
|
4517
|
-
};
|
|
4518
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
4519
|
-
return {
|
|
4520
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4521
|
-
};
|
|
4522
|
-
};
|
|
4523
|
-
const de_InvalidParameterException = (output, context) => {
|
|
4524
|
-
return {
|
|
4525
|
-
FieldName: (0, smithy_client_1.expectString)(output.FieldName),
|
|
4526
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4527
|
-
};
|
|
4528
|
-
};
|
|
4529
|
-
const de_InvalidPolicyDocument = (output, context) => {
|
|
4530
|
-
return {
|
|
4531
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4532
|
-
};
|
|
4533
|
-
};
|
|
4534
|
-
const de_InvalidRequestException = (output, context) => {
|
|
4535
|
-
return {
|
|
4536
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4537
|
-
};
|
|
4538
|
-
};
|
|
4539
|
-
const de_InvalidTagException = (output, context) => {
|
|
4540
|
-
return {
|
|
4541
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4542
|
-
};
|
|
4543
|
-
};
|
|
4544
|
-
const de_IpAddressesResponse = (output, context) => {
|
|
4545
|
-
const retVal = (output || [])
|
|
4546
|
-
.filter((e) => e != null)
|
|
4547
|
-
.map((entry) => {
|
|
4548
|
-
if (entry === null) {
|
|
4549
|
-
return null;
|
|
4550
|
-
}
|
|
4551
|
-
return de_IpAddressResponse(entry, context);
|
|
4552
|
-
});
|
|
4553
|
-
return retVal;
|
|
4554
|
-
};
|
|
4555
|
-
const de_IpAddressResponse = (output, context) => {
|
|
4556
|
-
return {
|
|
4557
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4558
|
-
Ip: (0, smithy_client_1.expectString)(output.Ip),
|
|
4559
|
-
IpId: (0, smithy_client_1.expectString)(output.IpId),
|
|
4560
|
-
Ipv6: (0, smithy_client_1.expectString)(output.Ipv6),
|
|
4561
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4562
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4563
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4564
|
-
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
4565
|
-
};
|
|
4566
|
-
};
|
|
4567
|
-
const de_LimitExceededException = (output, context) => {
|
|
4568
|
-
return {
|
|
4569
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4570
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
4571
|
-
};
|
|
4572
|
-
};
|
|
4573
|
-
const de_ListFirewallConfigsResponse = (output, context) => {
|
|
4574
|
-
return {
|
|
4575
|
-
FirewallConfigs: output.FirewallConfigs != null ? de_FirewallConfigList(output.FirewallConfigs, context) : undefined,
|
|
4576
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4577
|
-
};
|
|
4578
|
-
};
|
|
4579
|
-
const de_ListFirewallDomainListsResponse = (output, context) => {
|
|
4580
|
-
return {
|
|
4581
|
-
FirewallDomainLists: output.FirewallDomainLists != null
|
|
4582
|
-
? de_FirewallDomainListMetadataList(output.FirewallDomainLists, context)
|
|
4583
|
-
: undefined,
|
|
4584
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4585
|
-
};
|
|
4586
|
-
};
|
|
4587
|
-
const de_ListFirewallDomainsResponse = (output, context) => {
|
|
4588
|
-
return {
|
|
4589
|
-
Domains: output.Domains != null ? de_FirewallDomains(output.Domains, context) : undefined,
|
|
4590
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4591
|
-
};
|
|
4592
|
-
};
|
|
4593
|
-
const de_ListFirewallRuleGroupAssociationsResponse = (output, context) => {
|
|
4594
|
-
return {
|
|
4595
|
-
FirewallRuleGroupAssociations: output.FirewallRuleGroupAssociations != null
|
|
4596
|
-
? de_FirewallRuleGroupAssociations(output.FirewallRuleGroupAssociations, context)
|
|
4597
|
-
: undefined,
|
|
4598
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4599
|
-
};
|
|
4600
|
-
};
|
|
4601
|
-
const de_ListFirewallRuleGroupsResponse = (output, context) => {
|
|
4602
|
-
return {
|
|
4603
|
-
FirewallRuleGroups: output.FirewallRuleGroups != null
|
|
4604
|
-
? de_FirewallRuleGroupMetadataList(output.FirewallRuleGroups, context)
|
|
4605
|
-
: undefined,
|
|
4606
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4607
|
-
};
|
|
4608
|
-
};
|
|
4609
|
-
const de_ListFirewallRulesResponse = (output, context) => {
|
|
4610
|
-
return {
|
|
4611
|
-
FirewallRules: output.FirewallRules != null ? de_FirewallRules(output.FirewallRules, context) : undefined,
|
|
4612
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4613
|
-
};
|
|
4614
|
-
};
|
|
4615
|
-
const de_ListResolverConfigsResponse = (output, context) => {
|
|
4616
|
-
return {
|
|
4617
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4618
|
-
ResolverConfigs: output.ResolverConfigs != null ? de_ResolverConfigList(output.ResolverConfigs, context) : undefined,
|
|
4619
|
-
};
|
|
4620
|
-
};
|
|
4621
|
-
const de_ListResolverDnssecConfigsResponse = (output, context) => {
|
|
4622
|
-
return {
|
|
4623
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4624
|
-
ResolverDnssecConfigs: output.ResolverDnssecConfigs != null
|
|
4625
|
-
? de_ResolverDnssecConfigList(output.ResolverDnssecConfigs, context)
|
|
4626
|
-
: undefined,
|
|
4627
|
-
};
|
|
4628
|
-
};
|
|
4629
|
-
const de_ListResolverEndpointIpAddressesResponse = (output, context) => {
|
|
4630
|
-
return {
|
|
4631
|
-
IpAddresses: output.IpAddresses != null ? de_IpAddressesResponse(output.IpAddresses, context) : undefined,
|
|
4632
|
-
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
4633
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4634
|
-
};
|
|
4635
|
-
};
|
|
4636
|
-
const de_ListResolverEndpointsResponse = (output, context) => {
|
|
4637
|
-
return {
|
|
4638
|
-
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
4639
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4640
|
-
ResolverEndpoints: output.ResolverEndpoints != null ? de_ResolverEndpoints(output.ResolverEndpoints, context) : undefined,
|
|
4641
|
-
};
|
|
4642
|
-
};
|
|
4643
|
-
const de_ListResolverQueryLogConfigAssociationsResponse = (output, context) => {
|
|
4644
|
-
return {
|
|
4645
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4646
|
-
ResolverQueryLogConfigAssociations: output.ResolverQueryLogConfigAssociations != null
|
|
4647
|
-
? de_ResolverQueryLogConfigAssociationList(output.ResolverQueryLogConfigAssociations, context)
|
|
4648
|
-
: undefined,
|
|
4649
|
-
TotalCount: (0, smithy_client_1.expectInt32)(output.TotalCount),
|
|
4650
|
-
TotalFilteredCount: (0, smithy_client_1.expectInt32)(output.TotalFilteredCount),
|
|
4651
|
-
};
|
|
4652
|
-
};
|
|
4653
|
-
const de_ListResolverQueryLogConfigsResponse = (output, context) => {
|
|
4654
|
-
return {
|
|
4655
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4656
|
-
ResolverQueryLogConfigs: output.ResolverQueryLogConfigs != null
|
|
4657
|
-
? de_ResolverQueryLogConfigList(output.ResolverQueryLogConfigs, context)
|
|
4658
|
-
: undefined,
|
|
4659
|
-
TotalCount: (0, smithy_client_1.expectInt32)(output.TotalCount),
|
|
4660
|
-
TotalFilteredCount: (0, smithy_client_1.expectInt32)(output.TotalFilteredCount),
|
|
4661
|
-
};
|
|
4662
|
-
};
|
|
4663
|
-
const de_ListResolverRuleAssociationsResponse = (output, context) => {
|
|
4664
|
-
return {
|
|
4665
|
-
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
4666
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4667
|
-
ResolverRuleAssociations: output.ResolverRuleAssociations != null
|
|
4668
|
-
? de_ResolverRuleAssociations(output.ResolverRuleAssociations, context)
|
|
4669
|
-
: undefined,
|
|
4670
|
-
};
|
|
4671
|
-
};
|
|
4672
|
-
const de_ListResolverRulesResponse = (output, context) => {
|
|
4673
|
-
return {
|
|
4674
|
-
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
4675
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4676
|
-
ResolverRules: output.ResolverRules != null ? de_ResolverRules(output.ResolverRules, context) : undefined,
|
|
4677
|
-
};
|
|
4678
|
-
};
|
|
4679
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
4680
|
-
return {
|
|
4681
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4682
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
4683
|
-
};
|
|
4684
|
-
};
|
|
4685
|
-
const de_PutFirewallRuleGroupPolicyResponse = (output, context) => {
|
|
4686
|
-
return {
|
|
4687
|
-
ReturnValue: (0, smithy_client_1.expectBoolean)(output.ReturnValue),
|
|
4688
|
-
};
|
|
4689
|
-
};
|
|
4690
|
-
const de_PutResolverQueryLogConfigPolicyResponse = (output, context) => {
|
|
4691
|
-
return {
|
|
4692
|
-
ReturnValue: (0, smithy_client_1.expectBoolean)(output.ReturnValue),
|
|
4693
|
-
};
|
|
4694
|
-
};
|
|
4695
|
-
const de_PutResolverRulePolicyResponse = (output, context) => {
|
|
4696
|
-
return {
|
|
4697
|
-
ReturnValue: (0, smithy_client_1.expectBoolean)(output.ReturnValue),
|
|
4698
|
-
};
|
|
4699
|
-
};
|
|
4700
|
-
const de_ResolverConfig = (output, context) => {
|
|
4701
|
-
return {
|
|
4702
|
-
AutodefinedReverse: (0, smithy_client_1.expectString)(output.AutodefinedReverse),
|
|
4703
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4704
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4705
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
4706
|
-
};
|
|
4707
|
-
};
|
|
4708
|
-
const de_ResolverConfigList = (output, context) => {
|
|
4709
|
-
const retVal = (output || [])
|
|
4710
|
-
.filter((e) => e != null)
|
|
4711
|
-
.map((entry) => {
|
|
4712
|
-
if (entry === null) {
|
|
4713
|
-
return null;
|
|
4714
|
-
}
|
|
4715
|
-
return de_ResolverConfig(entry, context);
|
|
4716
|
-
});
|
|
4717
|
-
return retVal;
|
|
4718
|
-
};
|
|
4719
|
-
const de_ResolverDnssecConfig = (output, context) => {
|
|
4720
|
-
return {
|
|
4721
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4722
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4723
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
4724
|
-
ValidationStatus: (0, smithy_client_1.expectString)(output.ValidationStatus),
|
|
4725
|
-
};
|
|
4726
|
-
};
|
|
4727
|
-
const de_ResolverDnssecConfigList = (output, context) => {
|
|
4728
|
-
const retVal = (output || [])
|
|
4729
|
-
.filter((e) => e != null)
|
|
4730
|
-
.map((entry) => {
|
|
4731
|
-
if (entry === null) {
|
|
4732
|
-
return null;
|
|
4733
|
-
}
|
|
4734
|
-
return de_ResolverDnssecConfig(entry, context);
|
|
4735
|
-
});
|
|
4736
|
-
return retVal;
|
|
4737
|
-
};
|
|
4738
|
-
const de_ResolverEndpoint = (output, context) => {
|
|
4739
|
-
return {
|
|
4740
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4741
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4742
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4743
|
-
Direction: (0, smithy_client_1.expectString)(output.Direction),
|
|
4744
|
-
HostVPCId: (0, smithy_client_1.expectString)(output.HostVPCId),
|
|
4745
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4746
|
-
IpAddressCount: (0, smithy_client_1.expectInt32)(output.IpAddressCount),
|
|
4747
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4748
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4749
|
-
ResolverEndpointType: (0, smithy_client_1.expectString)(output.ResolverEndpointType),
|
|
4750
|
-
SecurityGroupIds: output.SecurityGroupIds != null ? de_SecurityGroupIds(output.SecurityGroupIds, context) : undefined,
|
|
4751
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4752
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4753
|
-
};
|
|
4754
|
-
};
|
|
4755
|
-
const de_ResolverEndpoints = (output, context) => {
|
|
4756
|
-
const retVal = (output || [])
|
|
4757
|
-
.filter((e) => e != null)
|
|
4758
|
-
.map((entry) => {
|
|
4759
|
-
if (entry === null) {
|
|
4760
|
-
return null;
|
|
4761
|
-
}
|
|
4762
|
-
return de_ResolverEndpoint(entry, context);
|
|
4763
|
-
});
|
|
4764
|
-
return retVal;
|
|
4765
|
-
};
|
|
4766
|
-
const de_ResolverQueryLogConfig = (output, context) => {
|
|
4767
|
-
return {
|
|
4768
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4769
|
-
AssociationCount: (0, smithy_client_1.expectInt32)(output.AssociationCount),
|
|
4770
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4771
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4772
|
-
DestinationArn: (0, smithy_client_1.expectString)(output.DestinationArn),
|
|
4773
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4774
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4775
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4776
|
-
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
4777
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4778
|
-
};
|
|
4779
|
-
};
|
|
4780
|
-
const de_ResolverQueryLogConfigAssociation = (output, context) => {
|
|
4781
|
-
return {
|
|
4782
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4783
|
-
Error: (0, smithy_client_1.expectString)(output.Error),
|
|
4784
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4785
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4786
|
-
ResolverQueryLogConfigId: (0, smithy_client_1.expectString)(output.ResolverQueryLogConfigId),
|
|
4787
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
4788
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4789
|
-
};
|
|
4790
|
-
};
|
|
4791
|
-
const de_ResolverQueryLogConfigAssociationList = (output, context) => {
|
|
4792
|
-
const retVal = (output || [])
|
|
4793
|
-
.filter((e) => e != null)
|
|
4794
|
-
.map((entry) => {
|
|
4795
|
-
if (entry === null) {
|
|
4796
|
-
return null;
|
|
4797
|
-
}
|
|
4798
|
-
return de_ResolverQueryLogConfigAssociation(entry, context);
|
|
4799
|
-
});
|
|
4800
|
-
return retVal;
|
|
4801
|
-
};
|
|
4802
|
-
const de_ResolverQueryLogConfigList = (output, context) => {
|
|
4803
|
-
const retVal = (output || [])
|
|
4804
|
-
.filter((e) => e != null)
|
|
4805
|
-
.map((entry) => {
|
|
4806
|
-
if (entry === null) {
|
|
4807
|
-
return null;
|
|
4808
|
-
}
|
|
4809
|
-
return de_ResolverQueryLogConfig(entry, context);
|
|
3543
|
+
return (0, smithy_client_1.take)(input, {
|
|
3544
|
+
CreatorRequestId: (_) => _ ?? (0, uuid_1.v4)(),
|
|
3545
|
+
FirewallRuleGroupId: [],
|
|
3546
|
+
MutationProtection: [],
|
|
3547
|
+
Name: [],
|
|
3548
|
+
Priority: [],
|
|
3549
|
+
Tags: smithy_client_1._json,
|
|
3550
|
+
VpcId: [],
|
|
4810
3551
|
});
|
|
4811
|
-
return retVal;
|
|
4812
3552
|
};
|
|
4813
|
-
const
|
|
4814
|
-
return {
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
4819
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4820
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4821
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4822
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4823
|
-
ResolverEndpointId: (0, smithy_client_1.expectString)(output.ResolverEndpointId),
|
|
4824
|
-
RuleType: (0, smithy_client_1.expectString)(output.RuleType),
|
|
4825
|
-
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
4826
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4827
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4828
|
-
TargetIps: output.TargetIps != null ? de_TargetList(output.TargetIps, context) : undefined,
|
|
4829
|
-
};
|
|
4830
|
-
};
|
|
4831
|
-
const de_ResolverRuleAssociation = (output, context) => {
|
|
4832
|
-
return {
|
|
4833
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4834
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4835
|
-
ResolverRuleId: (0, smithy_client_1.expectString)(output.ResolverRuleId),
|
|
4836
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4837
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4838
|
-
VPCId: (0, smithy_client_1.expectString)(output.VPCId),
|
|
4839
|
-
};
|
|
4840
|
-
};
|
|
4841
|
-
const de_ResolverRuleAssociations = (output, context) => {
|
|
4842
|
-
const retVal = (output || [])
|
|
4843
|
-
.filter((e) => e != null)
|
|
4844
|
-
.map((entry) => {
|
|
4845
|
-
if (entry === null) {
|
|
4846
|
-
return null;
|
|
4847
|
-
}
|
|
4848
|
-
return de_ResolverRuleAssociation(entry, context);
|
|
4849
|
-
});
|
|
4850
|
-
return retVal;
|
|
4851
|
-
};
|
|
4852
|
-
const de_ResolverRules = (output, context) => {
|
|
4853
|
-
const retVal = (output || [])
|
|
4854
|
-
.filter((e) => e != null)
|
|
4855
|
-
.map((entry) => {
|
|
4856
|
-
if (entry === null) {
|
|
4857
|
-
return null;
|
|
4858
|
-
}
|
|
4859
|
-
return de_ResolverRule(entry, context);
|
|
3553
|
+
const se_CreateFirewallDomainListRequest = (input, context) => {
|
|
3554
|
+
return (0, smithy_client_1.take)(input, {
|
|
3555
|
+
CreatorRequestId: (_) => _ ?? (0, uuid_1.v4)(),
|
|
3556
|
+
Name: [],
|
|
3557
|
+
Tags: smithy_client_1._json,
|
|
4860
3558
|
});
|
|
4861
|
-
return retVal;
|
|
4862
|
-
};
|
|
4863
|
-
const de_ResourceExistsException = (output, context) => {
|
|
4864
|
-
return {
|
|
4865
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4866
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
4867
|
-
};
|
|
4868
|
-
};
|
|
4869
|
-
const de_ResourceInUseException = (output, context) => {
|
|
4870
|
-
return {
|
|
4871
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4872
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
4873
|
-
};
|
|
4874
|
-
};
|
|
4875
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
4876
|
-
return {
|
|
4877
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4878
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
4879
|
-
};
|
|
4880
3559
|
};
|
|
4881
|
-
const
|
|
4882
|
-
return {
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
};
|
|
4887
|
-
const de_SecurityGroupIds = (output, context) => {
|
|
4888
|
-
const retVal = (output || [])
|
|
4889
|
-
.filter((e) => e != null)
|
|
4890
|
-
.map((entry) => {
|
|
4891
|
-
if (entry === null) {
|
|
4892
|
-
return null;
|
|
4893
|
-
}
|
|
4894
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
3560
|
+
const se_CreateFirewallRuleGroupRequest = (input, context) => {
|
|
3561
|
+
return (0, smithy_client_1.take)(input, {
|
|
3562
|
+
CreatorRequestId: (_) => _ ?? (0, uuid_1.v4)(),
|
|
3563
|
+
Name: [],
|
|
3564
|
+
Tags: smithy_client_1._json,
|
|
4895
3565
|
});
|
|
4896
|
-
return retVal;
|
|
4897
|
-
};
|
|
4898
|
-
const de_Tag = (output, context) => {
|
|
4899
|
-
return {
|
|
4900
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
4901
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
4902
|
-
};
|
|
4903
3566
|
};
|
|
4904
|
-
const
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
3567
|
+
const se_CreateFirewallRuleRequest = (input, context) => {
|
|
3568
|
+
return (0, smithy_client_1.take)(input, {
|
|
3569
|
+
Action: [],
|
|
3570
|
+
BlockOverrideDnsType: [],
|
|
3571
|
+
BlockOverrideDomain: [],
|
|
3572
|
+
BlockOverrideTtl: [],
|
|
3573
|
+
BlockResponse: [],
|
|
3574
|
+
CreatorRequestId: (_) => _ ?? (0, uuid_1.v4)(),
|
|
3575
|
+
FirewallDomainListId: [],
|
|
3576
|
+
FirewallRuleGroupId: [],
|
|
3577
|
+
Name: [],
|
|
3578
|
+
Priority: [],
|
|
4912
3579
|
});
|
|
4913
|
-
return retVal;
|
|
4914
|
-
};
|
|
4915
|
-
const de_TagResourceResponse = (output, context) => {
|
|
4916
|
-
return {};
|
|
4917
3580
|
};
|
|
4918
|
-
const
|
|
4919
|
-
return {
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
};
|
|
4925
|
-
const de_TargetList = (output, context) => {
|
|
4926
|
-
const retVal = (output || [])
|
|
4927
|
-
.filter((e) => e != null)
|
|
4928
|
-
.map((entry) => {
|
|
4929
|
-
if (entry === null) {
|
|
4930
|
-
return null;
|
|
4931
|
-
}
|
|
4932
|
-
return de_TargetAddress(entry, context);
|
|
3581
|
+
const se_CreateResolverQueryLogConfigRequest = (input, context) => {
|
|
3582
|
+
return (0, smithy_client_1.take)(input, {
|
|
3583
|
+
CreatorRequestId: (_) => _ ?? (0, uuid_1.v4)(),
|
|
3584
|
+
DestinationArn: [],
|
|
3585
|
+
Name: [],
|
|
3586
|
+
Tags: smithy_client_1._json,
|
|
4933
3587
|
});
|
|
4934
|
-
return retVal;
|
|
4935
|
-
};
|
|
4936
|
-
const de_ThrottlingException = (output, context) => {
|
|
4937
|
-
return {
|
|
4938
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4939
|
-
};
|
|
4940
|
-
};
|
|
4941
|
-
const de_UnknownResourceException = (output, context) => {
|
|
4942
|
-
return {
|
|
4943
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4944
|
-
};
|
|
4945
|
-
};
|
|
4946
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
4947
|
-
return {};
|
|
4948
|
-
};
|
|
4949
|
-
const de_UpdateFirewallConfigResponse = (output, context) => {
|
|
4950
|
-
return {
|
|
4951
|
-
FirewallConfig: output.FirewallConfig != null ? de_FirewallConfig(output.FirewallConfig, context) : undefined,
|
|
4952
|
-
};
|
|
4953
|
-
};
|
|
4954
|
-
const de_UpdateFirewallDomainsResponse = (output, context) => {
|
|
4955
|
-
return {
|
|
4956
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4957
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4958
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4959
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4960
|
-
};
|
|
4961
|
-
};
|
|
4962
|
-
const de_UpdateFirewallRuleGroupAssociationResponse = (output, context) => {
|
|
4963
|
-
return {
|
|
4964
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
4965
|
-
? de_FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
4966
|
-
: undefined,
|
|
4967
|
-
};
|
|
4968
|
-
};
|
|
4969
|
-
const de_UpdateFirewallRuleResponse = (output, context) => {
|
|
4970
|
-
return {
|
|
4971
|
-
FirewallRule: output.FirewallRule != null ? de_FirewallRule(output.FirewallRule, context) : undefined,
|
|
4972
|
-
};
|
|
4973
|
-
};
|
|
4974
|
-
const de_UpdateResolverConfigResponse = (output, context) => {
|
|
4975
|
-
return {
|
|
4976
|
-
ResolverConfig: output.ResolverConfig != null ? de_ResolverConfig(output.ResolverConfig, context) : undefined,
|
|
4977
|
-
};
|
|
4978
|
-
};
|
|
4979
|
-
const de_UpdateResolverDnssecConfigResponse = (output, context) => {
|
|
4980
|
-
return {
|
|
4981
|
-
ResolverDNSSECConfig: output.ResolverDNSSECConfig != null ? de_ResolverDnssecConfig(output.ResolverDNSSECConfig, context) : undefined,
|
|
4982
|
-
};
|
|
4983
|
-
};
|
|
4984
|
-
const de_UpdateResolverEndpointResponse = (output, context) => {
|
|
4985
|
-
return {
|
|
4986
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4987
|
-
};
|
|
4988
|
-
};
|
|
4989
|
-
const de_UpdateResolverRuleResponse = (output, context) => {
|
|
4990
|
-
return {
|
|
4991
|
-
ResolverRule: output.ResolverRule != null ? de_ResolverRule(output.ResolverRule, context) : undefined,
|
|
4992
|
-
};
|
|
4993
|
-
};
|
|
4994
|
-
const de_ValidationException = (output, context) => {
|
|
4995
|
-
return {
|
|
4996
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4997
|
-
};
|
|
4998
3588
|
};
|
|
4999
3589
|
const deserializeMetadata = (output) => ({
|
|
5000
3590
|
httpStatusCode: output.statusCode,
|
|
@@ -5009,6 +3599,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
5009
3599
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5010
3600
|
};
|
|
5011
3601
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3602
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(Route53ResolverServiceException_1.Route53ResolverServiceException);
|
|
5012
3603
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5013
3604
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5014
3605
|
const contents = {
|