@aws-sdk/client-route53resolver 3.310.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 +395 -1987
- package/dist-es/protocols/Aws_json1_1.js +396 -1988
- package/package.json +6 -6
|
@@ -9,632 +9,443 @@ const uuid_1 = require("uuid");
|
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Route53ResolverServiceException_1 = require("../models/Route53ResolverServiceException");
|
|
11
11
|
const se_AssociateFirewallRuleGroupCommand = async (input, context) => {
|
|
12
|
-
const headers =
|
|
13
|
-
"content-type": "application/x-amz-json-1.1",
|
|
14
|
-
"x-amz-target": "Route53Resolver.AssociateFirewallRuleGroup",
|
|
15
|
-
};
|
|
12
|
+
const headers = sharedHeaders("AssociateFirewallRuleGroup");
|
|
16
13
|
let body;
|
|
17
14
|
body = JSON.stringify(se_AssociateFirewallRuleGroupRequest(input, context));
|
|
18
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
19
16
|
};
|
|
20
17
|
exports.se_AssociateFirewallRuleGroupCommand = se_AssociateFirewallRuleGroupCommand;
|
|
21
18
|
const se_AssociateResolverEndpointIpAddressCommand = async (input, context) => {
|
|
22
|
-
const headers =
|
|
23
|
-
"content-type": "application/x-amz-json-1.1",
|
|
24
|
-
"x-amz-target": "Route53Resolver.AssociateResolverEndpointIpAddress",
|
|
25
|
-
};
|
|
19
|
+
const headers = sharedHeaders("AssociateResolverEndpointIpAddress");
|
|
26
20
|
let body;
|
|
27
|
-
body = JSON.stringify(
|
|
21
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
28
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
23
|
};
|
|
30
24
|
exports.se_AssociateResolverEndpointIpAddressCommand = se_AssociateResolverEndpointIpAddressCommand;
|
|
31
25
|
const se_AssociateResolverQueryLogConfigCommand = async (input, context) => {
|
|
32
|
-
const headers =
|
|
33
|
-
"content-type": "application/x-amz-json-1.1",
|
|
34
|
-
"x-amz-target": "Route53Resolver.AssociateResolverQueryLogConfig",
|
|
35
|
-
};
|
|
26
|
+
const headers = sharedHeaders("AssociateResolverQueryLogConfig");
|
|
36
27
|
let body;
|
|
37
|
-
body = JSON.stringify(
|
|
28
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
38
29
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
39
30
|
};
|
|
40
31
|
exports.se_AssociateResolverQueryLogConfigCommand = se_AssociateResolverQueryLogConfigCommand;
|
|
41
32
|
const se_AssociateResolverRuleCommand = async (input, context) => {
|
|
42
|
-
const headers =
|
|
43
|
-
"content-type": "application/x-amz-json-1.1",
|
|
44
|
-
"x-amz-target": "Route53Resolver.AssociateResolverRule",
|
|
45
|
-
};
|
|
33
|
+
const headers = sharedHeaders("AssociateResolverRule");
|
|
46
34
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
35
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
48
36
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
37
|
};
|
|
50
38
|
exports.se_AssociateResolverRuleCommand = se_AssociateResolverRuleCommand;
|
|
51
39
|
const se_CreateFirewallDomainListCommand = async (input, context) => {
|
|
52
|
-
const headers =
|
|
53
|
-
"content-type": "application/x-amz-json-1.1",
|
|
54
|
-
"x-amz-target": "Route53Resolver.CreateFirewallDomainList",
|
|
55
|
-
};
|
|
40
|
+
const headers = sharedHeaders("CreateFirewallDomainList");
|
|
56
41
|
let body;
|
|
57
42
|
body = JSON.stringify(se_CreateFirewallDomainListRequest(input, context));
|
|
58
43
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
44
|
};
|
|
60
45
|
exports.se_CreateFirewallDomainListCommand = se_CreateFirewallDomainListCommand;
|
|
61
46
|
const se_CreateFirewallRuleCommand = async (input, context) => {
|
|
62
|
-
const headers =
|
|
63
|
-
"content-type": "application/x-amz-json-1.1",
|
|
64
|
-
"x-amz-target": "Route53Resolver.CreateFirewallRule",
|
|
65
|
-
};
|
|
47
|
+
const headers = sharedHeaders("CreateFirewallRule");
|
|
66
48
|
let body;
|
|
67
49
|
body = JSON.stringify(se_CreateFirewallRuleRequest(input, context));
|
|
68
50
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
69
51
|
};
|
|
70
52
|
exports.se_CreateFirewallRuleCommand = se_CreateFirewallRuleCommand;
|
|
71
53
|
const se_CreateFirewallRuleGroupCommand = async (input, context) => {
|
|
72
|
-
const headers =
|
|
73
|
-
"content-type": "application/x-amz-json-1.1",
|
|
74
|
-
"x-amz-target": "Route53Resolver.CreateFirewallRuleGroup",
|
|
75
|
-
};
|
|
54
|
+
const headers = sharedHeaders("CreateFirewallRuleGroup");
|
|
76
55
|
let body;
|
|
77
56
|
body = JSON.stringify(se_CreateFirewallRuleGroupRequest(input, context));
|
|
78
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
79
58
|
};
|
|
80
59
|
exports.se_CreateFirewallRuleGroupCommand = se_CreateFirewallRuleGroupCommand;
|
|
81
60
|
const se_CreateResolverEndpointCommand = async (input, context) => {
|
|
82
|
-
const headers =
|
|
83
|
-
"content-type": "application/x-amz-json-1.1",
|
|
84
|
-
"x-amz-target": "Route53Resolver.CreateResolverEndpoint",
|
|
85
|
-
};
|
|
61
|
+
const headers = sharedHeaders("CreateResolverEndpoint");
|
|
86
62
|
let body;
|
|
87
|
-
body = JSON.stringify(
|
|
63
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
88
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
65
|
};
|
|
90
66
|
exports.se_CreateResolverEndpointCommand = se_CreateResolverEndpointCommand;
|
|
91
67
|
const se_CreateResolverQueryLogConfigCommand = async (input, context) => {
|
|
92
|
-
const headers =
|
|
93
|
-
"content-type": "application/x-amz-json-1.1",
|
|
94
|
-
"x-amz-target": "Route53Resolver.CreateResolverQueryLogConfig",
|
|
95
|
-
};
|
|
68
|
+
const headers = sharedHeaders("CreateResolverQueryLogConfig");
|
|
96
69
|
let body;
|
|
97
70
|
body = JSON.stringify(se_CreateResolverQueryLogConfigRequest(input, context));
|
|
98
71
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
99
72
|
};
|
|
100
73
|
exports.se_CreateResolverQueryLogConfigCommand = se_CreateResolverQueryLogConfigCommand;
|
|
101
74
|
const se_CreateResolverRuleCommand = async (input, context) => {
|
|
102
|
-
const headers =
|
|
103
|
-
"content-type": "application/x-amz-json-1.1",
|
|
104
|
-
"x-amz-target": "Route53Resolver.CreateResolverRule",
|
|
105
|
-
};
|
|
75
|
+
const headers = sharedHeaders("CreateResolverRule");
|
|
106
76
|
let body;
|
|
107
|
-
body = JSON.stringify(
|
|
77
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
108
78
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
109
79
|
};
|
|
110
80
|
exports.se_CreateResolverRuleCommand = se_CreateResolverRuleCommand;
|
|
111
81
|
const se_DeleteFirewallDomainListCommand = async (input, context) => {
|
|
112
|
-
const headers =
|
|
113
|
-
"content-type": "application/x-amz-json-1.1",
|
|
114
|
-
"x-amz-target": "Route53Resolver.DeleteFirewallDomainList",
|
|
115
|
-
};
|
|
82
|
+
const headers = sharedHeaders("DeleteFirewallDomainList");
|
|
116
83
|
let body;
|
|
117
|
-
body = JSON.stringify(
|
|
84
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
118
85
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
86
|
};
|
|
120
87
|
exports.se_DeleteFirewallDomainListCommand = se_DeleteFirewallDomainListCommand;
|
|
121
88
|
const se_DeleteFirewallRuleCommand = async (input, context) => {
|
|
122
|
-
const headers =
|
|
123
|
-
"content-type": "application/x-amz-json-1.1",
|
|
124
|
-
"x-amz-target": "Route53Resolver.DeleteFirewallRule",
|
|
125
|
-
};
|
|
89
|
+
const headers = sharedHeaders("DeleteFirewallRule");
|
|
126
90
|
let body;
|
|
127
|
-
body = JSON.stringify(
|
|
91
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
128
92
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
129
93
|
};
|
|
130
94
|
exports.se_DeleteFirewallRuleCommand = se_DeleteFirewallRuleCommand;
|
|
131
95
|
const se_DeleteFirewallRuleGroupCommand = async (input, context) => {
|
|
132
|
-
const headers =
|
|
133
|
-
"content-type": "application/x-amz-json-1.1",
|
|
134
|
-
"x-amz-target": "Route53Resolver.DeleteFirewallRuleGroup",
|
|
135
|
-
};
|
|
96
|
+
const headers = sharedHeaders("DeleteFirewallRuleGroup");
|
|
136
97
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
98
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
138
99
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
100
|
};
|
|
140
101
|
exports.se_DeleteFirewallRuleGroupCommand = se_DeleteFirewallRuleGroupCommand;
|
|
141
102
|
const se_DeleteResolverEndpointCommand = async (input, context) => {
|
|
142
|
-
const headers =
|
|
143
|
-
"content-type": "application/x-amz-json-1.1",
|
|
144
|
-
"x-amz-target": "Route53Resolver.DeleteResolverEndpoint",
|
|
145
|
-
};
|
|
103
|
+
const headers = sharedHeaders("DeleteResolverEndpoint");
|
|
146
104
|
let body;
|
|
147
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
148
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
107
|
};
|
|
150
108
|
exports.se_DeleteResolverEndpointCommand = se_DeleteResolverEndpointCommand;
|
|
151
109
|
const se_DeleteResolverQueryLogConfigCommand = async (input, context) => {
|
|
152
|
-
const headers =
|
|
153
|
-
"content-type": "application/x-amz-json-1.1",
|
|
154
|
-
"x-amz-target": "Route53Resolver.DeleteResolverQueryLogConfig",
|
|
155
|
-
};
|
|
110
|
+
const headers = sharedHeaders("DeleteResolverQueryLogConfig");
|
|
156
111
|
let body;
|
|
157
|
-
body = JSON.stringify(
|
|
112
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
158
113
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
159
114
|
};
|
|
160
115
|
exports.se_DeleteResolverQueryLogConfigCommand = se_DeleteResolverQueryLogConfigCommand;
|
|
161
116
|
const se_DeleteResolverRuleCommand = async (input, context) => {
|
|
162
|
-
const headers =
|
|
163
|
-
"content-type": "application/x-amz-json-1.1",
|
|
164
|
-
"x-amz-target": "Route53Resolver.DeleteResolverRule",
|
|
165
|
-
};
|
|
117
|
+
const headers = sharedHeaders("DeleteResolverRule");
|
|
166
118
|
let body;
|
|
167
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
168
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
169
121
|
};
|
|
170
122
|
exports.se_DeleteResolverRuleCommand = se_DeleteResolverRuleCommand;
|
|
171
123
|
const se_DisassociateFirewallRuleGroupCommand = async (input, context) => {
|
|
172
|
-
const headers =
|
|
173
|
-
"content-type": "application/x-amz-json-1.1",
|
|
174
|
-
"x-amz-target": "Route53Resolver.DisassociateFirewallRuleGroup",
|
|
175
|
-
};
|
|
124
|
+
const headers = sharedHeaders("DisassociateFirewallRuleGroup");
|
|
176
125
|
let body;
|
|
177
|
-
body = JSON.stringify(
|
|
126
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
178
127
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
128
|
};
|
|
180
129
|
exports.se_DisassociateFirewallRuleGroupCommand = se_DisassociateFirewallRuleGroupCommand;
|
|
181
130
|
const se_DisassociateResolverEndpointIpAddressCommand = async (input, context) => {
|
|
182
|
-
const headers =
|
|
183
|
-
"content-type": "application/x-amz-json-1.1",
|
|
184
|
-
"x-amz-target": "Route53Resolver.DisassociateResolverEndpointIpAddress",
|
|
185
|
-
};
|
|
131
|
+
const headers = sharedHeaders("DisassociateResolverEndpointIpAddress");
|
|
186
132
|
let body;
|
|
187
|
-
body = JSON.stringify(
|
|
133
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
188
134
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
189
135
|
};
|
|
190
136
|
exports.se_DisassociateResolverEndpointIpAddressCommand = se_DisassociateResolverEndpointIpAddressCommand;
|
|
191
137
|
const se_DisassociateResolverQueryLogConfigCommand = async (input, context) => {
|
|
192
|
-
const headers =
|
|
193
|
-
"content-type": "application/x-amz-json-1.1",
|
|
194
|
-
"x-amz-target": "Route53Resolver.DisassociateResolverQueryLogConfig",
|
|
195
|
-
};
|
|
138
|
+
const headers = sharedHeaders("DisassociateResolverQueryLogConfig");
|
|
196
139
|
let body;
|
|
197
|
-
body = JSON.stringify(
|
|
140
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
198
141
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
199
142
|
};
|
|
200
143
|
exports.se_DisassociateResolverQueryLogConfigCommand = se_DisassociateResolverQueryLogConfigCommand;
|
|
201
144
|
const se_DisassociateResolverRuleCommand = async (input, context) => {
|
|
202
|
-
const headers =
|
|
203
|
-
"content-type": "application/x-amz-json-1.1",
|
|
204
|
-
"x-amz-target": "Route53Resolver.DisassociateResolverRule",
|
|
205
|
-
};
|
|
145
|
+
const headers = sharedHeaders("DisassociateResolverRule");
|
|
206
146
|
let body;
|
|
207
|
-
body = JSON.stringify(
|
|
147
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
208
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
149
|
};
|
|
210
150
|
exports.se_DisassociateResolverRuleCommand = se_DisassociateResolverRuleCommand;
|
|
211
151
|
const se_GetFirewallConfigCommand = async (input, context) => {
|
|
212
|
-
const headers =
|
|
213
|
-
"content-type": "application/x-amz-json-1.1",
|
|
214
|
-
"x-amz-target": "Route53Resolver.GetFirewallConfig",
|
|
215
|
-
};
|
|
152
|
+
const headers = sharedHeaders("GetFirewallConfig");
|
|
216
153
|
let body;
|
|
217
|
-
body = JSON.stringify(
|
|
154
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
218
155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
219
156
|
};
|
|
220
157
|
exports.se_GetFirewallConfigCommand = se_GetFirewallConfigCommand;
|
|
221
158
|
const se_GetFirewallDomainListCommand = async (input, context) => {
|
|
222
|
-
const headers =
|
|
223
|
-
"content-type": "application/x-amz-json-1.1",
|
|
224
|
-
"x-amz-target": "Route53Resolver.GetFirewallDomainList",
|
|
225
|
-
};
|
|
159
|
+
const headers = sharedHeaders("GetFirewallDomainList");
|
|
226
160
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
161
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
228
162
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
163
|
};
|
|
230
164
|
exports.se_GetFirewallDomainListCommand = se_GetFirewallDomainListCommand;
|
|
231
165
|
const se_GetFirewallRuleGroupCommand = async (input, context) => {
|
|
232
|
-
const headers =
|
|
233
|
-
"content-type": "application/x-amz-json-1.1",
|
|
234
|
-
"x-amz-target": "Route53Resolver.GetFirewallRuleGroup",
|
|
235
|
-
};
|
|
166
|
+
const headers = sharedHeaders("GetFirewallRuleGroup");
|
|
236
167
|
let body;
|
|
237
|
-
body = JSON.stringify(
|
|
168
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
238
169
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
170
|
};
|
|
240
171
|
exports.se_GetFirewallRuleGroupCommand = se_GetFirewallRuleGroupCommand;
|
|
241
172
|
const se_GetFirewallRuleGroupAssociationCommand = async (input, context) => {
|
|
242
|
-
const headers =
|
|
243
|
-
"content-type": "application/x-amz-json-1.1",
|
|
244
|
-
"x-amz-target": "Route53Resolver.GetFirewallRuleGroupAssociation",
|
|
245
|
-
};
|
|
173
|
+
const headers = sharedHeaders("GetFirewallRuleGroupAssociation");
|
|
246
174
|
let body;
|
|
247
|
-
body = JSON.stringify(
|
|
175
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
248
176
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
249
177
|
};
|
|
250
178
|
exports.se_GetFirewallRuleGroupAssociationCommand = se_GetFirewallRuleGroupAssociationCommand;
|
|
251
179
|
const se_GetFirewallRuleGroupPolicyCommand = async (input, context) => {
|
|
252
|
-
const headers =
|
|
253
|
-
"content-type": "application/x-amz-json-1.1",
|
|
254
|
-
"x-amz-target": "Route53Resolver.GetFirewallRuleGroupPolicy",
|
|
255
|
-
};
|
|
180
|
+
const headers = sharedHeaders("GetFirewallRuleGroupPolicy");
|
|
256
181
|
let body;
|
|
257
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
258
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
259
184
|
};
|
|
260
185
|
exports.se_GetFirewallRuleGroupPolicyCommand = se_GetFirewallRuleGroupPolicyCommand;
|
|
261
186
|
const se_GetResolverConfigCommand = async (input, context) => {
|
|
262
|
-
const headers =
|
|
263
|
-
"content-type": "application/x-amz-json-1.1",
|
|
264
|
-
"x-amz-target": "Route53Resolver.GetResolverConfig",
|
|
265
|
-
};
|
|
187
|
+
const headers = sharedHeaders("GetResolverConfig");
|
|
266
188
|
let body;
|
|
267
|
-
body = JSON.stringify(
|
|
189
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
268
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
191
|
};
|
|
270
192
|
exports.se_GetResolverConfigCommand = se_GetResolverConfigCommand;
|
|
271
193
|
const se_GetResolverDnssecConfigCommand = async (input, context) => {
|
|
272
|
-
const headers =
|
|
273
|
-
"content-type": "application/x-amz-json-1.1",
|
|
274
|
-
"x-amz-target": "Route53Resolver.GetResolverDnssecConfig",
|
|
275
|
-
};
|
|
194
|
+
const headers = sharedHeaders("GetResolverDnssecConfig");
|
|
276
195
|
let body;
|
|
277
|
-
body = JSON.stringify(
|
|
196
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
278
197
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
279
198
|
};
|
|
280
199
|
exports.se_GetResolverDnssecConfigCommand = se_GetResolverDnssecConfigCommand;
|
|
281
200
|
const se_GetResolverEndpointCommand = async (input, context) => {
|
|
282
|
-
const headers =
|
|
283
|
-
"content-type": "application/x-amz-json-1.1",
|
|
284
|
-
"x-amz-target": "Route53Resolver.GetResolverEndpoint",
|
|
285
|
-
};
|
|
201
|
+
const headers = sharedHeaders("GetResolverEndpoint");
|
|
286
202
|
let body;
|
|
287
|
-
body = JSON.stringify(
|
|
203
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
288
204
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
289
205
|
};
|
|
290
206
|
exports.se_GetResolverEndpointCommand = se_GetResolverEndpointCommand;
|
|
291
207
|
const se_GetResolverQueryLogConfigCommand = async (input, context) => {
|
|
292
|
-
const headers =
|
|
293
|
-
"content-type": "application/x-amz-json-1.1",
|
|
294
|
-
"x-amz-target": "Route53Resolver.GetResolverQueryLogConfig",
|
|
295
|
-
};
|
|
208
|
+
const headers = sharedHeaders("GetResolverQueryLogConfig");
|
|
296
209
|
let body;
|
|
297
|
-
body = JSON.stringify(
|
|
210
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
298
211
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
212
|
};
|
|
300
213
|
exports.se_GetResolverQueryLogConfigCommand = se_GetResolverQueryLogConfigCommand;
|
|
301
214
|
const se_GetResolverQueryLogConfigAssociationCommand = async (input, context) => {
|
|
302
|
-
const headers =
|
|
303
|
-
"content-type": "application/x-amz-json-1.1",
|
|
304
|
-
"x-amz-target": "Route53Resolver.GetResolverQueryLogConfigAssociation",
|
|
305
|
-
};
|
|
215
|
+
const headers = sharedHeaders("GetResolverQueryLogConfigAssociation");
|
|
306
216
|
let body;
|
|
307
|
-
body = JSON.stringify(
|
|
217
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
308
218
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
309
219
|
};
|
|
310
220
|
exports.se_GetResolverQueryLogConfigAssociationCommand = se_GetResolverQueryLogConfigAssociationCommand;
|
|
311
221
|
const se_GetResolverQueryLogConfigPolicyCommand = async (input, context) => {
|
|
312
|
-
const headers =
|
|
313
|
-
"content-type": "application/x-amz-json-1.1",
|
|
314
|
-
"x-amz-target": "Route53Resolver.GetResolverQueryLogConfigPolicy",
|
|
315
|
-
};
|
|
222
|
+
const headers = sharedHeaders("GetResolverQueryLogConfigPolicy");
|
|
316
223
|
let body;
|
|
317
|
-
body = JSON.stringify(
|
|
224
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
318
225
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
226
|
};
|
|
320
227
|
exports.se_GetResolverQueryLogConfigPolicyCommand = se_GetResolverQueryLogConfigPolicyCommand;
|
|
321
228
|
const se_GetResolverRuleCommand = async (input, context) => {
|
|
322
|
-
const headers =
|
|
323
|
-
"content-type": "application/x-amz-json-1.1",
|
|
324
|
-
"x-amz-target": "Route53Resolver.GetResolverRule",
|
|
325
|
-
};
|
|
229
|
+
const headers = sharedHeaders("GetResolverRule");
|
|
326
230
|
let body;
|
|
327
|
-
body = JSON.stringify(
|
|
231
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
328
232
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
233
|
};
|
|
330
234
|
exports.se_GetResolverRuleCommand = se_GetResolverRuleCommand;
|
|
331
235
|
const se_GetResolverRuleAssociationCommand = async (input, context) => {
|
|
332
|
-
const headers =
|
|
333
|
-
"content-type": "application/x-amz-json-1.1",
|
|
334
|
-
"x-amz-target": "Route53Resolver.GetResolverRuleAssociation",
|
|
335
|
-
};
|
|
236
|
+
const headers = sharedHeaders("GetResolverRuleAssociation");
|
|
336
237
|
let body;
|
|
337
|
-
body = JSON.stringify(
|
|
238
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
338
239
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
339
240
|
};
|
|
340
241
|
exports.se_GetResolverRuleAssociationCommand = se_GetResolverRuleAssociationCommand;
|
|
341
242
|
const se_GetResolverRulePolicyCommand = async (input, context) => {
|
|
342
|
-
const headers =
|
|
343
|
-
"content-type": "application/x-amz-json-1.1",
|
|
344
|
-
"x-amz-target": "Route53Resolver.GetResolverRulePolicy",
|
|
345
|
-
};
|
|
243
|
+
const headers = sharedHeaders("GetResolverRulePolicy");
|
|
346
244
|
let body;
|
|
347
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
348
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
349
247
|
};
|
|
350
248
|
exports.se_GetResolverRulePolicyCommand = se_GetResolverRulePolicyCommand;
|
|
351
249
|
const se_ImportFirewallDomainsCommand = async (input, context) => {
|
|
352
|
-
const headers =
|
|
353
|
-
"content-type": "application/x-amz-json-1.1",
|
|
354
|
-
"x-amz-target": "Route53Resolver.ImportFirewallDomains",
|
|
355
|
-
};
|
|
250
|
+
const headers = sharedHeaders("ImportFirewallDomains");
|
|
356
251
|
let body;
|
|
357
|
-
body = JSON.stringify(
|
|
252
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
358
253
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
254
|
};
|
|
360
255
|
exports.se_ImportFirewallDomainsCommand = se_ImportFirewallDomainsCommand;
|
|
361
256
|
const se_ListFirewallConfigsCommand = async (input, context) => {
|
|
362
|
-
const headers =
|
|
363
|
-
"content-type": "application/x-amz-json-1.1",
|
|
364
|
-
"x-amz-target": "Route53Resolver.ListFirewallConfigs",
|
|
365
|
-
};
|
|
257
|
+
const headers = sharedHeaders("ListFirewallConfigs");
|
|
366
258
|
let body;
|
|
367
|
-
body = JSON.stringify(
|
|
259
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
368
260
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
369
261
|
};
|
|
370
262
|
exports.se_ListFirewallConfigsCommand = se_ListFirewallConfigsCommand;
|
|
371
263
|
const se_ListFirewallDomainListsCommand = async (input, context) => {
|
|
372
|
-
const headers =
|
|
373
|
-
"content-type": "application/x-amz-json-1.1",
|
|
374
|
-
"x-amz-target": "Route53Resolver.ListFirewallDomainLists",
|
|
375
|
-
};
|
|
264
|
+
const headers = sharedHeaders("ListFirewallDomainLists");
|
|
376
265
|
let body;
|
|
377
|
-
body = JSON.stringify(
|
|
266
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
378
267
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
379
268
|
};
|
|
380
269
|
exports.se_ListFirewallDomainListsCommand = se_ListFirewallDomainListsCommand;
|
|
381
270
|
const se_ListFirewallDomainsCommand = async (input, context) => {
|
|
382
|
-
const headers =
|
|
383
|
-
"content-type": "application/x-amz-json-1.1",
|
|
384
|
-
"x-amz-target": "Route53Resolver.ListFirewallDomains",
|
|
385
|
-
};
|
|
271
|
+
const headers = sharedHeaders("ListFirewallDomains");
|
|
386
272
|
let body;
|
|
387
|
-
body = JSON.stringify(
|
|
273
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
388
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
389
275
|
};
|
|
390
276
|
exports.se_ListFirewallDomainsCommand = se_ListFirewallDomainsCommand;
|
|
391
277
|
const se_ListFirewallRuleGroupAssociationsCommand = async (input, context) => {
|
|
392
|
-
const headers =
|
|
393
|
-
"content-type": "application/x-amz-json-1.1",
|
|
394
|
-
"x-amz-target": "Route53Resolver.ListFirewallRuleGroupAssociations",
|
|
395
|
-
};
|
|
278
|
+
const headers = sharedHeaders("ListFirewallRuleGroupAssociations");
|
|
396
279
|
let body;
|
|
397
|
-
body = JSON.stringify(
|
|
280
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
398
281
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
399
282
|
};
|
|
400
283
|
exports.se_ListFirewallRuleGroupAssociationsCommand = se_ListFirewallRuleGroupAssociationsCommand;
|
|
401
284
|
const se_ListFirewallRuleGroupsCommand = async (input, context) => {
|
|
402
|
-
const headers =
|
|
403
|
-
"content-type": "application/x-amz-json-1.1",
|
|
404
|
-
"x-amz-target": "Route53Resolver.ListFirewallRuleGroups",
|
|
405
|
-
};
|
|
285
|
+
const headers = sharedHeaders("ListFirewallRuleGroups");
|
|
406
286
|
let body;
|
|
407
|
-
body = JSON.stringify(
|
|
287
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
408
288
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
409
289
|
};
|
|
410
290
|
exports.se_ListFirewallRuleGroupsCommand = se_ListFirewallRuleGroupsCommand;
|
|
411
291
|
const se_ListFirewallRulesCommand = async (input, context) => {
|
|
412
|
-
const headers =
|
|
413
|
-
"content-type": "application/x-amz-json-1.1",
|
|
414
|
-
"x-amz-target": "Route53Resolver.ListFirewallRules",
|
|
415
|
-
};
|
|
292
|
+
const headers = sharedHeaders("ListFirewallRules");
|
|
416
293
|
let body;
|
|
417
|
-
body = JSON.stringify(
|
|
294
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
418
295
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
419
296
|
};
|
|
420
297
|
exports.se_ListFirewallRulesCommand = se_ListFirewallRulesCommand;
|
|
421
298
|
const se_ListResolverConfigsCommand = async (input, context) => {
|
|
422
|
-
const headers =
|
|
423
|
-
"content-type": "application/x-amz-json-1.1",
|
|
424
|
-
"x-amz-target": "Route53Resolver.ListResolverConfigs",
|
|
425
|
-
};
|
|
299
|
+
const headers = sharedHeaders("ListResolverConfigs");
|
|
426
300
|
let body;
|
|
427
|
-
body = JSON.stringify(
|
|
301
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
428
302
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
429
303
|
};
|
|
430
304
|
exports.se_ListResolverConfigsCommand = se_ListResolverConfigsCommand;
|
|
431
305
|
const se_ListResolverDnssecConfigsCommand = async (input, context) => {
|
|
432
|
-
const headers =
|
|
433
|
-
"content-type": "application/x-amz-json-1.1",
|
|
434
|
-
"x-amz-target": "Route53Resolver.ListResolverDnssecConfigs",
|
|
435
|
-
};
|
|
306
|
+
const headers = sharedHeaders("ListResolverDnssecConfigs");
|
|
436
307
|
let body;
|
|
437
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
438
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
439
310
|
};
|
|
440
311
|
exports.se_ListResolverDnssecConfigsCommand = se_ListResolverDnssecConfigsCommand;
|
|
441
312
|
const se_ListResolverEndpointIpAddressesCommand = async (input, context) => {
|
|
442
|
-
const headers =
|
|
443
|
-
"content-type": "application/x-amz-json-1.1",
|
|
444
|
-
"x-amz-target": "Route53Resolver.ListResolverEndpointIpAddresses",
|
|
445
|
-
};
|
|
313
|
+
const headers = sharedHeaders("ListResolverEndpointIpAddresses");
|
|
446
314
|
let body;
|
|
447
|
-
body = JSON.stringify(
|
|
315
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
448
316
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
449
317
|
};
|
|
450
318
|
exports.se_ListResolverEndpointIpAddressesCommand = se_ListResolverEndpointIpAddressesCommand;
|
|
451
319
|
const se_ListResolverEndpointsCommand = async (input, context) => {
|
|
452
|
-
const headers =
|
|
453
|
-
"content-type": "application/x-amz-json-1.1",
|
|
454
|
-
"x-amz-target": "Route53Resolver.ListResolverEndpoints",
|
|
455
|
-
};
|
|
320
|
+
const headers = sharedHeaders("ListResolverEndpoints");
|
|
456
321
|
let body;
|
|
457
|
-
body = JSON.stringify(
|
|
322
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
458
323
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
459
324
|
};
|
|
460
325
|
exports.se_ListResolverEndpointsCommand = se_ListResolverEndpointsCommand;
|
|
461
326
|
const se_ListResolverQueryLogConfigAssociationsCommand = async (input, context) => {
|
|
462
|
-
const headers =
|
|
463
|
-
"content-type": "application/x-amz-json-1.1",
|
|
464
|
-
"x-amz-target": "Route53Resolver.ListResolverQueryLogConfigAssociations",
|
|
465
|
-
};
|
|
327
|
+
const headers = sharedHeaders("ListResolverQueryLogConfigAssociations");
|
|
466
328
|
let body;
|
|
467
|
-
body = JSON.stringify(
|
|
329
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
468
330
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
469
331
|
};
|
|
470
332
|
exports.se_ListResolverQueryLogConfigAssociationsCommand = se_ListResolverQueryLogConfigAssociationsCommand;
|
|
471
333
|
const se_ListResolverQueryLogConfigsCommand = async (input, context) => {
|
|
472
|
-
const headers =
|
|
473
|
-
"content-type": "application/x-amz-json-1.1",
|
|
474
|
-
"x-amz-target": "Route53Resolver.ListResolverQueryLogConfigs",
|
|
475
|
-
};
|
|
334
|
+
const headers = sharedHeaders("ListResolverQueryLogConfigs");
|
|
476
335
|
let body;
|
|
477
|
-
body = JSON.stringify(
|
|
336
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
478
337
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
479
338
|
};
|
|
480
339
|
exports.se_ListResolverQueryLogConfigsCommand = se_ListResolverQueryLogConfigsCommand;
|
|
481
340
|
const se_ListResolverRuleAssociationsCommand = async (input, context) => {
|
|
482
|
-
const headers =
|
|
483
|
-
"content-type": "application/x-amz-json-1.1",
|
|
484
|
-
"x-amz-target": "Route53Resolver.ListResolverRuleAssociations",
|
|
485
|
-
};
|
|
341
|
+
const headers = sharedHeaders("ListResolverRuleAssociations");
|
|
486
342
|
let body;
|
|
487
|
-
body = JSON.stringify(
|
|
343
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
488
344
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
489
345
|
};
|
|
490
346
|
exports.se_ListResolverRuleAssociationsCommand = se_ListResolverRuleAssociationsCommand;
|
|
491
347
|
const se_ListResolverRulesCommand = async (input, context) => {
|
|
492
|
-
const headers =
|
|
493
|
-
"content-type": "application/x-amz-json-1.1",
|
|
494
|
-
"x-amz-target": "Route53Resolver.ListResolverRules",
|
|
495
|
-
};
|
|
348
|
+
const headers = sharedHeaders("ListResolverRules");
|
|
496
349
|
let body;
|
|
497
|
-
body = JSON.stringify(
|
|
350
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
498
351
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
499
352
|
};
|
|
500
353
|
exports.se_ListResolverRulesCommand = se_ListResolverRulesCommand;
|
|
501
354
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
502
|
-
const headers =
|
|
503
|
-
"content-type": "application/x-amz-json-1.1",
|
|
504
|
-
"x-amz-target": "Route53Resolver.ListTagsForResource",
|
|
505
|
-
};
|
|
355
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
506
356
|
let body;
|
|
507
|
-
body = JSON.stringify(
|
|
357
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
508
358
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
509
359
|
};
|
|
510
360
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
511
361
|
const se_PutFirewallRuleGroupPolicyCommand = async (input, context) => {
|
|
512
|
-
const headers =
|
|
513
|
-
"content-type": "application/x-amz-json-1.1",
|
|
514
|
-
"x-amz-target": "Route53Resolver.PutFirewallRuleGroupPolicy",
|
|
515
|
-
};
|
|
362
|
+
const headers = sharedHeaders("PutFirewallRuleGroupPolicy");
|
|
516
363
|
let body;
|
|
517
|
-
body = JSON.stringify(
|
|
364
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
518
365
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
519
366
|
};
|
|
520
367
|
exports.se_PutFirewallRuleGroupPolicyCommand = se_PutFirewallRuleGroupPolicyCommand;
|
|
521
368
|
const se_PutResolverQueryLogConfigPolicyCommand = async (input, context) => {
|
|
522
|
-
const headers =
|
|
523
|
-
"content-type": "application/x-amz-json-1.1",
|
|
524
|
-
"x-amz-target": "Route53Resolver.PutResolverQueryLogConfigPolicy",
|
|
525
|
-
};
|
|
369
|
+
const headers = sharedHeaders("PutResolverQueryLogConfigPolicy");
|
|
526
370
|
let body;
|
|
527
|
-
body = JSON.stringify(
|
|
371
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
528
372
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
529
373
|
};
|
|
530
374
|
exports.se_PutResolverQueryLogConfigPolicyCommand = se_PutResolverQueryLogConfigPolicyCommand;
|
|
531
375
|
const se_PutResolverRulePolicyCommand = async (input, context) => {
|
|
532
|
-
const headers =
|
|
533
|
-
"content-type": "application/x-amz-json-1.1",
|
|
534
|
-
"x-amz-target": "Route53Resolver.PutResolverRulePolicy",
|
|
535
|
-
};
|
|
376
|
+
const headers = sharedHeaders("PutResolverRulePolicy");
|
|
536
377
|
let body;
|
|
537
|
-
body = JSON.stringify(
|
|
378
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
538
379
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
539
380
|
};
|
|
540
381
|
exports.se_PutResolverRulePolicyCommand = se_PutResolverRulePolicyCommand;
|
|
541
382
|
const se_TagResourceCommand = async (input, context) => {
|
|
542
|
-
const headers =
|
|
543
|
-
"content-type": "application/x-amz-json-1.1",
|
|
544
|
-
"x-amz-target": "Route53Resolver.TagResource",
|
|
545
|
-
};
|
|
383
|
+
const headers = sharedHeaders("TagResource");
|
|
546
384
|
let body;
|
|
547
|
-
body = JSON.stringify(
|
|
385
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
548
386
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
549
387
|
};
|
|
550
388
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
551
389
|
const se_UntagResourceCommand = async (input, context) => {
|
|
552
|
-
const headers =
|
|
553
|
-
"content-type": "application/x-amz-json-1.1",
|
|
554
|
-
"x-amz-target": "Route53Resolver.UntagResource",
|
|
555
|
-
};
|
|
390
|
+
const headers = sharedHeaders("UntagResource");
|
|
556
391
|
let body;
|
|
557
|
-
body = JSON.stringify(
|
|
392
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
558
393
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
559
394
|
};
|
|
560
395
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
561
396
|
const se_UpdateFirewallConfigCommand = async (input, context) => {
|
|
562
|
-
const headers =
|
|
563
|
-
"content-type": "application/x-amz-json-1.1",
|
|
564
|
-
"x-amz-target": "Route53Resolver.UpdateFirewallConfig",
|
|
565
|
-
};
|
|
397
|
+
const headers = sharedHeaders("UpdateFirewallConfig");
|
|
566
398
|
let body;
|
|
567
|
-
body = JSON.stringify(
|
|
399
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
568
400
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
569
401
|
};
|
|
570
402
|
exports.se_UpdateFirewallConfigCommand = se_UpdateFirewallConfigCommand;
|
|
571
403
|
const se_UpdateFirewallDomainsCommand = async (input, context) => {
|
|
572
|
-
const headers =
|
|
573
|
-
"content-type": "application/x-amz-json-1.1",
|
|
574
|
-
"x-amz-target": "Route53Resolver.UpdateFirewallDomains",
|
|
575
|
-
};
|
|
404
|
+
const headers = sharedHeaders("UpdateFirewallDomains");
|
|
576
405
|
let body;
|
|
577
|
-
body = JSON.stringify(
|
|
406
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
578
407
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
579
408
|
};
|
|
580
409
|
exports.se_UpdateFirewallDomainsCommand = se_UpdateFirewallDomainsCommand;
|
|
581
410
|
const se_UpdateFirewallRuleCommand = async (input, context) => {
|
|
582
|
-
const headers =
|
|
583
|
-
"content-type": "application/x-amz-json-1.1",
|
|
584
|
-
"x-amz-target": "Route53Resolver.UpdateFirewallRule",
|
|
585
|
-
};
|
|
411
|
+
const headers = sharedHeaders("UpdateFirewallRule");
|
|
586
412
|
let body;
|
|
587
|
-
body = JSON.stringify(
|
|
413
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
588
414
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
589
415
|
};
|
|
590
416
|
exports.se_UpdateFirewallRuleCommand = se_UpdateFirewallRuleCommand;
|
|
591
417
|
const se_UpdateFirewallRuleGroupAssociationCommand = async (input, context) => {
|
|
592
|
-
const headers =
|
|
593
|
-
"content-type": "application/x-amz-json-1.1",
|
|
594
|
-
"x-amz-target": "Route53Resolver.UpdateFirewallRuleGroupAssociation",
|
|
595
|
-
};
|
|
418
|
+
const headers = sharedHeaders("UpdateFirewallRuleGroupAssociation");
|
|
596
419
|
let body;
|
|
597
|
-
body = JSON.stringify(
|
|
420
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
598
421
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
599
422
|
};
|
|
600
423
|
exports.se_UpdateFirewallRuleGroupAssociationCommand = se_UpdateFirewallRuleGroupAssociationCommand;
|
|
601
424
|
const se_UpdateResolverConfigCommand = async (input, context) => {
|
|
602
|
-
const headers =
|
|
603
|
-
"content-type": "application/x-amz-json-1.1",
|
|
604
|
-
"x-amz-target": "Route53Resolver.UpdateResolverConfig",
|
|
605
|
-
};
|
|
425
|
+
const headers = sharedHeaders("UpdateResolverConfig");
|
|
606
426
|
let body;
|
|
607
|
-
body = JSON.stringify(
|
|
427
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
608
428
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
609
429
|
};
|
|
610
430
|
exports.se_UpdateResolverConfigCommand = se_UpdateResolverConfigCommand;
|
|
611
431
|
const se_UpdateResolverDnssecConfigCommand = async (input, context) => {
|
|
612
|
-
const headers =
|
|
613
|
-
"content-type": "application/x-amz-json-1.1",
|
|
614
|
-
"x-amz-target": "Route53Resolver.UpdateResolverDnssecConfig",
|
|
615
|
-
};
|
|
432
|
+
const headers = sharedHeaders("UpdateResolverDnssecConfig");
|
|
616
433
|
let body;
|
|
617
|
-
body = JSON.stringify(
|
|
434
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
618
435
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
619
436
|
};
|
|
620
437
|
exports.se_UpdateResolverDnssecConfigCommand = se_UpdateResolverDnssecConfigCommand;
|
|
621
438
|
const se_UpdateResolverEndpointCommand = async (input, context) => {
|
|
622
|
-
const headers =
|
|
623
|
-
"content-type": "application/x-amz-json-1.1",
|
|
624
|
-
"x-amz-target": "Route53Resolver.UpdateResolverEndpoint",
|
|
625
|
-
};
|
|
439
|
+
const headers = sharedHeaders("UpdateResolverEndpoint");
|
|
626
440
|
let body;
|
|
627
|
-
body = JSON.stringify(
|
|
441
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
628
442
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
629
443
|
};
|
|
630
444
|
exports.se_UpdateResolverEndpointCommand = se_UpdateResolverEndpointCommand;
|
|
631
445
|
const se_UpdateResolverRuleCommand = async (input, context) => {
|
|
632
|
-
const headers =
|
|
633
|
-
"content-type": "application/x-amz-json-1.1",
|
|
634
|
-
"x-amz-target": "Route53Resolver.UpdateResolverRule",
|
|
635
|
-
};
|
|
446
|
+
const headers = sharedHeaders("UpdateResolverRule");
|
|
636
447
|
let body;
|
|
637
|
-
body = JSON.stringify(
|
|
448
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
638
449
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
639
450
|
};
|
|
640
451
|
exports.se_UpdateResolverRuleCommand = se_UpdateResolverRuleCommand;
|
|
@@ -644,12 +455,12 @@ const de_AssociateFirewallRuleGroupCommand = async (output, context) => {
|
|
|
644
455
|
}
|
|
645
456
|
const data = await parseBody(output.body, context);
|
|
646
457
|
let contents = {};
|
|
647
|
-
contents =
|
|
458
|
+
contents = (0, smithy_client_1._json)(data);
|
|
648
459
|
const response = {
|
|
649
460
|
$metadata: deserializeMetadata(output),
|
|
650
461
|
...contents,
|
|
651
462
|
};
|
|
652
|
-
return
|
|
463
|
+
return response;
|
|
653
464
|
};
|
|
654
465
|
exports.de_AssociateFirewallRuleGroupCommand = de_AssociateFirewallRuleGroupCommand;
|
|
655
466
|
const de_AssociateFirewallRuleGroupCommandError = async (output, context) => {
|
|
@@ -682,10 +493,9 @@ const de_AssociateFirewallRuleGroupCommandError = async (output, context) => {
|
|
|
682
493
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
683
494
|
default:
|
|
684
495
|
const parsedBody = parsedOutput.body;
|
|
685
|
-
|
|
496
|
+
return throwDefaultError({
|
|
686
497
|
output,
|
|
687
498
|
parsedBody,
|
|
688
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
689
499
|
errorCode,
|
|
690
500
|
});
|
|
691
501
|
}
|
|
@@ -696,12 +506,12 @@ const de_AssociateResolverEndpointIpAddressCommand = async (output, context) =>
|
|
|
696
506
|
}
|
|
697
507
|
const data = await parseBody(output.body, context);
|
|
698
508
|
let contents = {};
|
|
699
|
-
contents =
|
|
509
|
+
contents = (0, smithy_client_1._json)(data);
|
|
700
510
|
const response = {
|
|
701
511
|
$metadata: deserializeMetadata(output),
|
|
702
512
|
...contents,
|
|
703
513
|
};
|
|
704
|
-
return
|
|
514
|
+
return response;
|
|
705
515
|
};
|
|
706
516
|
exports.de_AssociateResolverEndpointIpAddressCommand = de_AssociateResolverEndpointIpAddressCommand;
|
|
707
517
|
const de_AssociateResolverEndpointIpAddressCommandError = async (output, context) => {
|
|
@@ -734,10 +544,9 @@ const de_AssociateResolverEndpointIpAddressCommandError = async (output, context
|
|
|
734
544
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
735
545
|
default:
|
|
736
546
|
const parsedBody = parsedOutput.body;
|
|
737
|
-
|
|
547
|
+
return throwDefaultError({
|
|
738
548
|
output,
|
|
739
549
|
parsedBody,
|
|
740
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
741
550
|
errorCode,
|
|
742
551
|
});
|
|
743
552
|
}
|
|
@@ -748,12 +557,12 @@ const de_AssociateResolverQueryLogConfigCommand = async (output, context) => {
|
|
|
748
557
|
}
|
|
749
558
|
const data = await parseBody(output.body, context);
|
|
750
559
|
let contents = {};
|
|
751
|
-
contents =
|
|
560
|
+
contents = (0, smithy_client_1._json)(data);
|
|
752
561
|
const response = {
|
|
753
562
|
$metadata: deserializeMetadata(output),
|
|
754
563
|
...contents,
|
|
755
564
|
};
|
|
756
|
-
return
|
|
565
|
+
return response;
|
|
757
566
|
};
|
|
758
567
|
exports.de_AssociateResolverQueryLogConfigCommand = de_AssociateResolverQueryLogConfigCommand;
|
|
759
568
|
const de_AssociateResolverQueryLogConfigCommandError = async (output, context) => {
|
|
@@ -789,10 +598,9 @@ const de_AssociateResolverQueryLogConfigCommandError = async (output, context) =
|
|
|
789
598
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
790
599
|
default:
|
|
791
600
|
const parsedBody = parsedOutput.body;
|
|
792
|
-
|
|
601
|
+
return throwDefaultError({
|
|
793
602
|
output,
|
|
794
603
|
parsedBody,
|
|
795
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
796
604
|
errorCode,
|
|
797
605
|
});
|
|
798
606
|
}
|
|
@@ -803,12 +611,12 @@ const de_AssociateResolverRuleCommand = async (output, context) => {
|
|
|
803
611
|
}
|
|
804
612
|
const data = await parseBody(output.body, context);
|
|
805
613
|
let contents = {};
|
|
806
|
-
contents =
|
|
614
|
+
contents = (0, smithy_client_1._json)(data);
|
|
807
615
|
const response = {
|
|
808
616
|
$metadata: deserializeMetadata(output),
|
|
809
617
|
...contents,
|
|
810
618
|
};
|
|
811
|
-
return
|
|
619
|
+
return response;
|
|
812
620
|
};
|
|
813
621
|
exports.de_AssociateResolverRuleCommand = de_AssociateResolverRuleCommand;
|
|
814
622
|
const de_AssociateResolverRuleCommandError = async (output, context) => {
|
|
@@ -844,10 +652,9 @@ const de_AssociateResolverRuleCommandError = async (output, context) => {
|
|
|
844
652
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
845
653
|
default:
|
|
846
654
|
const parsedBody = parsedOutput.body;
|
|
847
|
-
|
|
655
|
+
return throwDefaultError({
|
|
848
656
|
output,
|
|
849
657
|
parsedBody,
|
|
850
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
851
658
|
errorCode,
|
|
852
659
|
});
|
|
853
660
|
}
|
|
@@ -858,12 +665,12 @@ const de_CreateFirewallDomainListCommand = async (output, context) => {
|
|
|
858
665
|
}
|
|
859
666
|
const data = await parseBody(output.body, context);
|
|
860
667
|
let contents = {};
|
|
861
|
-
contents =
|
|
668
|
+
contents = (0, smithy_client_1._json)(data);
|
|
862
669
|
const response = {
|
|
863
670
|
$metadata: deserializeMetadata(output),
|
|
864
671
|
...contents,
|
|
865
672
|
};
|
|
866
|
-
return
|
|
673
|
+
return response;
|
|
867
674
|
};
|
|
868
675
|
exports.de_CreateFirewallDomainListCommand = de_CreateFirewallDomainListCommand;
|
|
869
676
|
const de_CreateFirewallDomainListCommandError = async (output, context) => {
|
|
@@ -890,10 +697,9 @@ const de_CreateFirewallDomainListCommandError = async (output, context) => {
|
|
|
890
697
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
891
698
|
default:
|
|
892
699
|
const parsedBody = parsedOutput.body;
|
|
893
|
-
|
|
700
|
+
return throwDefaultError({
|
|
894
701
|
output,
|
|
895
702
|
parsedBody,
|
|
896
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
897
703
|
errorCode,
|
|
898
704
|
});
|
|
899
705
|
}
|
|
@@ -904,12 +710,12 @@ const de_CreateFirewallRuleCommand = async (output, context) => {
|
|
|
904
710
|
}
|
|
905
711
|
const data = await parseBody(output.body, context);
|
|
906
712
|
let contents = {};
|
|
907
|
-
contents =
|
|
713
|
+
contents = (0, smithy_client_1._json)(data);
|
|
908
714
|
const response = {
|
|
909
715
|
$metadata: deserializeMetadata(output),
|
|
910
716
|
...contents,
|
|
911
717
|
};
|
|
912
|
-
return
|
|
718
|
+
return response;
|
|
913
719
|
};
|
|
914
720
|
exports.de_CreateFirewallRuleCommand = de_CreateFirewallRuleCommand;
|
|
915
721
|
const de_CreateFirewallRuleCommandError = async (output, context) => {
|
|
@@ -939,10 +745,9 @@ const de_CreateFirewallRuleCommandError = async (output, context) => {
|
|
|
939
745
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
940
746
|
default:
|
|
941
747
|
const parsedBody = parsedOutput.body;
|
|
942
|
-
|
|
748
|
+
return throwDefaultError({
|
|
943
749
|
output,
|
|
944
750
|
parsedBody,
|
|
945
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
946
751
|
errorCode,
|
|
947
752
|
});
|
|
948
753
|
}
|
|
@@ -953,12 +758,12 @@ const de_CreateFirewallRuleGroupCommand = async (output, context) => {
|
|
|
953
758
|
}
|
|
954
759
|
const data = await parseBody(output.body, context);
|
|
955
760
|
let contents = {};
|
|
956
|
-
contents =
|
|
761
|
+
contents = (0, smithy_client_1._json)(data);
|
|
957
762
|
const response = {
|
|
958
763
|
$metadata: deserializeMetadata(output),
|
|
959
764
|
...contents,
|
|
960
765
|
};
|
|
961
|
-
return
|
|
766
|
+
return response;
|
|
962
767
|
};
|
|
963
768
|
exports.de_CreateFirewallRuleGroupCommand = de_CreateFirewallRuleGroupCommand;
|
|
964
769
|
const de_CreateFirewallRuleGroupCommandError = async (output, context) => {
|
|
@@ -985,10 +790,9 @@ const de_CreateFirewallRuleGroupCommandError = async (output, context) => {
|
|
|
985
790
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
986
791
|
default:
|
|
987
792
|
const parsedBody = parsedOutput.body;
|
|
988
|
-
|
|
793
|
+
return throwDefaultError({
|
|
989
794
|
output,
|
|
990
795
|
parsedBody,
|
|
991
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
992
796
|
errorCode,
|
|
993
797
|
});
|
|
994
798
|
}
|
|
@@ -999,12 +803,12 @@ const de_CreateResolverEndpointCommand = async (output, context) => {
|
|
|
999
803
|
}
|
|
1000
804
|
const data = await parseBody(output.body, context);
|
|
1001
805
|
let contents = {};
|
|
1002
|
-
contents =
|
|
806
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1003
807
|
const response = {
|
|
1004
808
|
$metadata: deserializeMetadata(output),
|
|
1005
809
|
...contents,
|
|
1006
810
|
};
|
|
1007
|
-
return
|
|
811
|
+
return response;
|
|
1008
812
|
};
|
|
1009
813
|
exports.de_CreateResolverEndpointCommand = de_CreateResolverEndpointCommand;
|
|
1010
814
|
const de_CreateResolverEndpointCommandError = async (output, context) => {
|
|
@@ -1037,10 +841,9 @@ const de_CreateResolverEndpointCommandError = async (output, context) => {
|
|
|
1037
841
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1038
842
|
default:
|
|
1039
843
|
const parsedBody = parsedOutput.body;
|
|
1040
|
-
|
|
844
|
+
return throwDefaultError({
|
|
1041
845
|
output,
|
|
1042
846
|
parsedBody,
|
|
1043
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1044
847
|
errorCode,
|
|
1045
848
|
});
|
|
1046
849
|
}
|
|
@@ -1051,12 +854,12 @@ const de_CreateResolverQueryLogConfigCommand = async (output, context) => {
|
|
|
1051
854
|
}
|
|
1052
855
|
const data = await parseBody(output.body, context);
|
|
1053
856
|
let contents = {};
|
|
1054
|
-
contents =
|
|
857
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1055
858
|
const response = {
|
|
1056
859
|
$metadata: deserializeMetadata(output),
|
|
1057
860
|
...contents,
|
|
1058
861
|
};
|
|
1059
|
-
return
|
|
862
|
+
return response;
|
|
1060
863
|
};
|
|
1061
864
|
exports.de_CreateResolverQueryLogConfigCommand = de_CreateResolverQueryLogConfigCommand;
|
|
1062
865
|
const de_CreateResolverQueryLogConfigCommandError = async (output, context) => {
|
|
@@ -1092,10 +895,9 @@ const de_CreateResolverQueryLogConfigCommandError = async (output, context) => {
|
|
|
1092
895
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1093
896
|
default:
|
|
1094
897
|
const parsedBody = parsedOutput.body;
|
|
1095
|
-
|
|
898
|
+
return throwDefaultError({
|
|
1096
899
|
output,
|
|
1097
900
|
parsedBody,
|
|
1098
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1099
901
|
errorCode,
|
|
1100
902
|
});
|
|
1101
903
|
}
|
|
@@ -1106,12 +908,12 @@ const de_CreateResolverRuleCommand = async (output, context) => {
|
|
|
1106
908
|
}
|
|
1107
909
|
const data = await parseBody(output.body, context);
|
|
1108
910
|
let contents = {};
|
|
1109
|
-
contents =
|
|
911
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1110
912
|
const response = {
|
|
1111
913
|
$metadata: deserializeMetadata(output),
|
|
1112
914
|
...contents,
|
|
1113
915
|
};
|
|
1114
|
-
return
|
|
916
|
+
return response;
|
|
1115
917
|
};
|
|
1116
918
|
exports.de_CreateResolverRuleCommand = de_CreateResolverRuleCommand;
|
|
1117
919
|
const de_CreateResolverRuleCommandError = async (output, context) => {
|
|
@@ -1147,10 +949,9 @@ const de_CreateResolverRuleCommandError = async (output, context) => {
|
|
|
1147
949
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1148
950
|
default:
|
|
1149
951
|
const parsedBody = parsedOutput.body;
|
|
1150
|
-
|
|
952
|
+
return throwDefaultError({
|
|
1151
953
|
output,
|
|
1152
954
|
parsedBody,
|
|
1153
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1154
955
|
errorCode,
|
|
1155
956
|
});
|
|
1156
957
|
}
|
|
@@ -1161,12 +962,12 @@ const de_DeleteFirewallDomainListCommand = async (output, context) => {
|
|
|
1161
962
|
}
|
|
1162
963
|
const data = await parseBody(output.body, context);
|
|
1163
964
|
let contents = {};
|
|
1164
|
-
contents =
|
|
965
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1165
966
|
const response = {
|
|
1166
967
|
$metadata: deserializeMetadata(output),
|
|
1167
968
|
...contents,
|
|
1168
969
|
};
|
|
1169
|
-
return
|
|
970
|
+
return response;
|
|
1170
971
|
};
|
|
1171
972
|
exports.de_DeleteFirewallDomainListCommand = de_DeleteFirewallDomainListCommand;
|
|
1172
973
|
const de_DeleteFirewallDomainListCommandError = async (output, context) => {
|
|
@@ -1193,10 +994,9 @@ const de_DeleteFirewallDomainListCommandError = async (output, context) => {
|
|
|
1193
994
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1194
995
|
default:
|
|
1195
996
|
const parsedBody = parsedOutput.body;
|
|
1196
|
-
|
|
997
|
+
return throwDefaultError({
|
|
1197
998
|
output,
|
|
1198
999
|
parsedBody,
|
|
1199
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1200
1000
|
errorCode,
|
|
1201
1001
|
});
|
|
1202
1002
|
}
|
|
@@ -1207,12 +1007,12 @@ const de_DeleteFirewallRuleCommand = async (output, context) => {
|
|
|
1207
1007
|
}
|
|
1208
1008
|
const data = await parseBody(output.body, context);
|
|
1209
1009
|
let contents = {};
|
|
1210
|
-
contents =
|
|
1010
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1211
1011
|
const response = {
|
|
1212
1012
|
$metadata: deserializeMetadata(output),
|
|
1213
1013
|
...contents,
|
|
1214
1014
|
};
|
|
1215
|
-
return
|
|
1015
|
+
return response;
|
|
1216
1016
|
};
|
|
1217
1017
|
exports.de_DeleteFirewallRuleCommand = de_DeleteFirewallRuleCommand;
|
|
1218
1018
|
const de_DeleteFirewallRuleCommandError = async (output, context) => {
|
|
@@ -1236,10 +1036,9 @@ const de_DeleteFirewallRuleCommandError = async (output, context) => {
|
|
|
1236
1036
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1237
1037
|
default:
|
|
1238
1038
|
const parsedBody = parsedOutput.body;
|
|
1239
|
-
|
|
1039
|
+
return throwDefaultError({
|
|
1240
1040
|
output,
|
|
1241
1041
|
parsedBody,
|
|
1242
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1243
1042
|
errorCode,
|
|
1244
1043
|
});
|
|
1245
1044
|
}
|
|
@@ -1250,12 +1049,12 @@ const de_DeleteFirewallRuleGroupCommand = async (output, context) => {
|
|
|
1250
1049
|
}
|
|
1251
1050
|
const data = await parseBody(output.body, context);
|
|
1252
1051
|
let contents = {};
|
|
1253
|
-
contents =
|
|
1052
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1254
1053
|
const response = {
|
|
1255
1054
|
$metadata: deserializeMetadata(output),
|
|
1256
1055
|
...contents,
|
|
1257
1056
|
};
|
|
1258
|
-
return
|
|
1057
|
+
return response;
|
|
1259
1058
|
};
|
|
1260
1059
|
exports.de_DeleteFirewallRuleGroupCommand = de_DeleteFirewallRuleGroupCommand;
|
|
1261
1060
|
const de_DeleteFirewallRuleGroupCommandError = async (output, context) => {
|
|
@@ -1285,10 +1084,9 @@ const de_DeleteFirewallRuleGroupCommandError = async (output, context) => {
|
|
|
1285
1084
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1286
1085
|
default:
|
|
1287
1086
|
const parsedBody = parsedOutput.body;
|
|
1288
|
-
|
|
1087
|
+
return throwDefaultError({
|
|
1289
1088
|
output,
|
|
1290
1089
|
parsedBody,
|
|
1291
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1292
1090
|
errorCode,
|
|
1293
1091
|
});
|
|
1294
1092
|
}
|
|
@@ -1299,12 +1097,12 @@ const de_DeleteResolverEndpointCommand = async (output, context) => {
|
|
|
1299
1097
|
}
|
|
1300
1098
|
const data = await parseBody(output.body, context);
|
|
1301
1099
|
let contents = {};
|
|
1302
|
-
contents =
|
|
1100
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1303
1101
|
const response = {
|
|
1304
1102
|
$metadata: deserializeMetadata(output),
|
|
1305
1103
|
...contents,
|
|
1306
1104
|
};
|
|
1307
|
-
return
|
|
1105
|
+
return response;
|
|
1308
1106
|
};
|
|
1309
1107
|
exports.de_DeleteResolverEndpointCommand = de_DeleteResolverEndpointCommand;
|
|
1310
1108
|
const de_DeleteResolverEndpointCommandError = async (output, context) => {
|
|
@@ -1331,10 +1129,9 @@ const de_DeleteResolverEndpointCommandError = async (output, context) => {
|
|
|
1331
1129
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1332
1130
|
default:
|
|
1333
1131
|
const parsedBody = parsedOutput.body;
|
|
1334
|
-
|
|
1132
|
+
return throwDefaultError({
|
|
1335
1133
|
output,
|
|
1336
1134
|
parsedBody,
|
|
1337
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1338
1135
|
errorCode,
|
|
1339
1136
|
});
|
|
1340
1137
|
}
|
|
@@ -1345,12 +1142,12 @@ const de_DeleteResolverQueryLogConfigCommand = async (output, context) => {
|
|
|
1345
1142
|
}
|
|
1346
1143
|
const data = await parseBody(output.body, context);
|
|
1347
1144
|
let contents = {};
|
|
1348
|
-
contents =
|
|
1145
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1349
1146
|
const response = {
|
|
1350
1147
|
$metadata: deserializeMetadata(output),
|
|
1351
1148
|
...contents,
|
|
1352
1149
|
};
|
|
1353
|
-
return
|
|
1150
|
+
return response;
|
|
1354
1151
|
};
|
|
1355
1152
|
exports.de_DeleteResolverQueryLogConfigCommand = de_DeleteResolverQueryLogConfigCommand;
|
|
1356
1153
|
const de_DeleteResolverQueryLogConfigCommandError = async (output, context) => {
|
|
@@ -1380,10 +1177,9 @@ const de_DeleteResolverQueryLogConfigCommandError = async (output, context) => {
|
|
|
1380
1177
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1381
1178
|
default:
|
|
1382
1179
|
const parsedBody = parsedOutput.body;
|
|
1383
|
-
|
|
1180
|
+
return throwDefaultError({
|
|
1384
1181
|
output,
|
|
1385
1182
|
parsedBody,
|
|
1386
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1387
1183
|
errorCode,
|
|
1388
1184
|
});
|
|
1389
1185
|
}
|
|
@@ -1394,12 +1190,12 @@ const de_DeleteResolverRuleCommand = async (output, context) => {
|
|
|
1394
1190
|
}
|
|
1395
1191
|
const data = await parseBody(output.body, context);
|
|
1396
1192
|
let contents = {};
|
|
1397
|
-
contents =
|
|
1193
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1398
1194
|
const response = {
|
|
1399
1195
|
$metadata: deserializeMetadata(output),
|
|
1400
1196
|
...contents,
|
|
1401
1197
|
};
|
|
1402
|
-
return
|
|
1198
|
+
return response;
|
|
1403
1199
|
};
|
|
1404
1200
|
exports.de_DeleteResolverRuleCommand = de_DeleteResolverRuleCommand;
|
|
1405
1201
|
const de_DeleteResolverRuleCommandError = async (output, context) => {
|
|
@@ -1426,10 +1222,9 @@ const de_DeleteResolverRuleCommandError = async (output, context) => {
|
|
|
1426
1222
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1427
1223
|
default:
|
|
1428
1224
|
const parsedBody = parsedOutput.body;
|
|
1429
|
-
|
|
1225
|
+
return throwDefaultError({
|
|
1430
1226
|
output,
|
|
1431
1227
|
parsedBody,
|
|
1432
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1433
1228
|
errorCode,
|
|
1434
1229
|
});
|
|
1435
1230
|
}
|
|
@@ -1440,12 +1235,12 @@ const de_DisassociateFirewallRuleGroupCommand = async (output, context) => {
|
|
|
1440
1235
|
}
|
|
1441
1236
|
const data = await parseBody(output.body, context);
|
|
1442
1237
|
let contents = {};
|
|
1443
|
-
contents =
|
|
1238
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1444
1239
|
const response = {
|
|
1445
1240
|
$metadata: deserializeMetadata(output),
|
|
1446
1241
|
...contents,
|
|
1447
1242
|
};
|
|
1448
|
-
return
|
|
1243
|
+
return response;
|
|
1449
1244
|
};
|
|
1450
1245
|
exports.de_DisassociateFirewallRuleGroupCommand = de_DisassociateFirewallRuleGroupCommand;
|
|
1451
1246
|
const de_DisassociateFirewallRuleGroupCommandError = async (output, context) => {
|
|
@@ -1475,10 +1270,9 @@ const de_DisassociateFirewallRuleGroupCommandError = async (output, context) =>
|
|
|
1475
1270
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1476
1271
|
default:
|
|
1477
1272
|
const parsedBody = parsedOutput.body;
|
|
1478
|
-
|
|
1273
|
+
return throwDefaultError({
|
|
1479
1274
|
output,
|
|
1480
1275
|
parsedBody,
|
|
1481
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1482
1276
|
errorCode,
|
|
1483
1277
|
});
|
|
1484
1278
|
}
|
|
@@ -1489,12 +1283,12 @@ const de_DisassociateResolverEndpointIpAddressCommand = async (output, context)
|
|
|
1489
1283
|
}
|
|
1490
1284
|
const data = await parseBody(output.body, context);
|
|
1491
1285
|
let contents = {};
|
|
1492
|
-
contents =
|
|
1286
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1493
1287
|
const response = {
|
|
1494
1288
|
$metadata: deserializeMetadata(output),
|
|
1495
1289
|
...contents,
|
|
1496
1290
|
};
|
|
1497
|
-
return
|
|
1291
|
+
return response;
|
|
1498
1292
|
};
|
|
1499
1293
|
exports.de_DisassociateResolverEndpointIpAddressCommand = de_DisassociateResolverEndpointIpAddressCommand;
|
|
1500
1294
|
const de_DisassociateResolverEndpointIpAddressCommandError = async (output, context) => {
|
|
@@ -1524,10 +1318,9 @@ const de_DisassociateResolverEndpointIpAddressCommandError = async (output, cont
|
|
|
1524
1318
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1525
1319
|
default:
|
|
1526
1320
|
const parsedBody = parsedOutput.body;
|
|
1527
|
-
|
|
1321
|
+
return throwDefaultError({
|
|
1528
1322
|
output,
|
|
1529
1323
|
parsedBody,
|
|
1530
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1531
1324
|
errorCode,
|
|
1532
1325
|
});
|
|
1533
1326
|
}
|
|
@@ -1538,12 +1331,12 @@ const de_DisassociateResolverQueryLogConfigCommand = async (output, context) =>
|
|
|
1538
1331
|
}
|
|
1539
1332
|
const data = await parseBody(output.body, context);
|
|
1540
1333
|
let contents = {};
|
|
1541
|
-
contents =
|
|
1334
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1542
1335
|
const response = {
|
|
1543
1336
|
$metadata: deserializeMetadata(output),
|
|
1544
1337
|
...contents,
|
|
1545
1338
|
};
|
|
1546
|
-
return
|
|
1339
|
+
return response;
|
|
1547
1340
|
};
|
|
1548
1341
|
exports.de_DisassociateResolverQueryLogConfigCommand = de_DisassociateResolverQueryLogConfigCommand;
|
|
1549
1342
|
const de_DisassociateResolverQueryLogConfigCommandError = async (output, context) => {
|
|
@@ -1573,10 +1366,9 @@ const de_DisassociateResolverQueryLogConfigCommandError = async (output, context
|
|
|
1573
1366
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1574
1367
|
default:
|
|
1575
1368
|
const parsedBody = parsedOutput.body;
|
|
1576
|
-
|
|
1369
|
+
return throwDefaultError({
|
|
1577
1370
|
output,
|
|
1578
1371
|
parsedBody,
|
|
1579
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1580
1372
|
errorCode,
|
|
1581
1373
|
});
|
|
1582
1374
|
}
|
|
@@ -1587,12 +1379,12 @@ const de_DisassociateResolverRuleCommand = async (output, context) => {
|
|
|
1587
1379
|
}
|
|
1588
1380
|
const data = await parseBody(output.body, context);
|
|
1589
1381
|
let contents = {};
|
|
1590
|
-
contents =
|
|
1382
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1591
1383
|
const response = {
|
|
1592
1384
|
$metadata: deserializeMetadata(output),
|
|
1593
1385
|
...contents,
|
|
1594
1386
|
};
|
|
1595
|
-
return
|
|
1387
|
+
return response;
|
|
1596
1388
|
};
|
|
1597
1389
|
exports.de_DisassociateResolverRuleCommand = de_DisassociateResolverRuleCommand;
|
|
1598
1390
|
const de_DisassociateResolverRuleCommandError = async (output, context) => {
|
|
@@ -1616,10 +1408,9 @@ const de_DisassociateResolverRuleCommandError = async (output, context) => {
|
|
|
1616
1408
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1617
1409
|
default:
|
|
1618
1410
|
const parsedBody = parsedOutput.body;
|
|
1619
|
-
|
|
1411
|
+
return throwDefaultError({
|
|
1620
1412
|
output,
|
|
1621
1413
|
parsedBody,
|
|
1622
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1623
1414
|
errorCode,
|
|
1624
1415
|
});
|
|
1625
1416
|
}
|
|
@@ -1630,12 +1421,12 @@ const de_GetFirewallConfigCommand = async (output, context) => {
|
|
|
1630
1421
|
}
|
|
1631
1422
|
const data = await parseBody(output.body, context);
|
|
1632
1423
|
let contents = {};
|
|
1633
|
-
contents =
|
|
1424
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1634
1425
|
const response = {
|
|
1635
1426
|
$metadata: deserializeMetadata(output),
|
|
1636
1427
|
...contents,
|
|
1637
1428
|
};
|
|
1638
|
-
return
|
|
1429
|
+
return response;
|
|
1639
1430
|
};
|
|
1640
1431
|
exports.de_GetFirewallConfigCommand = de_GetFirewallConfigCommand;
|
|
1641
1432
|
const de_GetFirewallConfigCommandError = async (output, context) => {
|
|
@@ -1662,10 +1453,9 @@ const de_GetFirewallConfigCommandError = async (output, context) => {
|
|
|
1662
1453
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1663
1454
|
default:
|
|
1664
1455
|
const parsedBody = parsedOutput.body;
|
|
1665
|
-
|
|
1456
|
+
return throwDefaultError({
|
|
1666
1457
|
output,
|
|
1667
1458
|
parsedBody,
|
|
1668
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1669
1459
|
errorCode,
|
|
1670
1460
|
});
|
|
1671
1461
|
}
|
|
@@ -1676,12 +1466,12 @@ const de_GetFirewallDomainListCommand = async (output, context) => {
|
|
|
1676
1466
|
}
|
|
1677
1467
|
const data = await parseBody(output.body, context);
|
|
1678
1468
|
let contents = {};
|
|
1679
|
-
contents =
|
|
1469
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1680
1470
|
const response = {
|
|
1681
1471
|
$metadata: deserializeMetadata(output),
|
|
1682
1472
|
...contents,
|
|
1683
1473
|
};
|
|
1684
|
-
return
|
|
1474
|
+
return response;
|
|
1685
1475
|
};
|
|
1686
1476
|
exports.de_GetFirewallDomainListCommand = de_GetFirewallDomainListCommand;
|
|
1687
1477
|
const de_GetFirewallDomainListCommandError = async (output, context) => {
|
|
@@ -1705,10 +1495,9 @@ const de_GetFirewallDomainListCommandError = async (output, context) => {
|
|
|
1705
1495
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1706
1496
|
default:
|
|
1707
1497
|
const parsedBody = parsedOutput.body;
|
|
1708
|
-
|
|
1498
|
+
return throwDefaultError({
|
|
1709
1499
|
output,
|
|
1710
1500
|
parsedBody,
|
|
1711
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1712
1501
|
errorCode,
|
|
1713
1502
|
});
|
|
1714
1503
|
}
|
|
@@ -1719,12 +1508,12 @@ const de_GetFirewallRuleGroupCommand = async (output, context) => {
|
|
|
1719
1508
|
}
|
|
1720
1509
|
const data = await parseBody(output.body, context);
|
|
1721
1510
|
let contents = {};
|
|
1722
|
-
contents =
|
|
1511
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1723
1512
|
const response = {
|
|
1724
1513
|
$metadata: deserializeMetadata(output),
|
|
1725
1514
|
...contents,
|
|
1726
1515
|
};
|
|
1727
|
-
return
|
|
1516
|
+
return response;
|
|
1728
1517
|
};
|
|
1729
1518
|
exports.de_GetFirewallRuleGroupCommand = de_GetFirewallRuleGroupCommand;
|
|
1730
1519
|
const de_GetFirewallRuleGroupCommandError = async (output, context) => {
|
|
@@ -1748,10 +1537,9 @@ const de_GetFirewallRuleGroupCommandError = async (output, context) => {
|
|
|
1748
1537
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1749
1538
|
default:
|
|
1750
1539
|
const parsedBody = parsedOutput.body;
|
|
1751
|
-
|
|
1540
|
+
return throwDefaultError({
|
|
1752
1541
|
output,
|
|
1753
1542
|
parsedBody,
|
|
1754
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1755
1543
|
errorCode,
|
|
1756
1544
|
});
|
|
1757
1545
|
}
|
|
@@ -1762,12 +1550,12 @@ const de_GetFirewallRuleGroupAssociationCommand = async (output, context) => {
|
|
|
1762
1550
|
}
|
|
1763
1551
|
const data = await parseBody(output.body, context);
|
|
1764
1552
|
let contents = {};
|
|
1765
|
-
contents =
|
|
1553
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1766
1554
|
const response = {
|
|
1767
1555
|
$metadata: deserializeMetadata(output),
|
|
1768
1556
|
...contents,
|
|
1769
1557
|
};
|
|
1770
|
-
return
|
|
1558
|
+
return response;
|
|
1771
1559
|
};
|
|
1772
1560
|
exports.de_GetFirewallRuleGroupAssociationCommand = de_GetFirewallRuleGroupAssociationCommand;
|
|
1773
1561
|
const de_GetFirewallRuleGroupAssociationCommandError = async (output, context) => {
|
|
@@ -1791,10 +1579,9 @@ const de_GetFirewallRuleGroupAssociationCommandError = async (output, context) =
|
|
|
1791
1579
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1792
1580
|
default:
|
|
1793
1581
|
const parsedBody = parsedOutput.body;
|
|
1794
|
-
|
|
1582
|
+
return throwDefaultError({
|
|
1795
1583
|
output,
|
|
1796
1584
|
parsedBody,
|
|
1797
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1798
1585
|
errorCode,
|
|
1799
1586
|
});
|
|
1800
1587
|
}
|
|
@@ -1805,12 +1592,12 @@ const de_GetFirewallRuleGroupPolicyCommand = async (output, context) => {
|
|
|
1805
1592
|
}
|
|
1806
1593
|
const data = await parseBody(output.body, context);
|
|
1807
1594
|
let contents = {};
|
|
1808
|
-
contents =
|
|
1595
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1809
1596
|
const response = {
|
|
1810
1597
|
$metadata: deserializeMetadata(output),
|
|
1811
1598
|
...contents,
|
|
1812
1599
|
};
|
|
1813
|
-
return
|
|
1600
|
+
return response;
|
|
1814
1601
|
};
|
|
1815
1602
|
exports.de_GetFirewallRuleGroupPolicyCommand = de_GetFirewallRuleGroupPolicyCommand;
|
|
1816
1603
|
const de_GetFirewallRuleGroupPolicyCommandError = async (output, context) => {
|
|
@@ -1837,10 +1624,9 @@ const de_GetFirewallRuleGroupPolicyCommandError = async (output, context) => {
|
|
|
1837
1624
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1838
1625
|
default:
|
|
1839
1626
|
const parsedBody = parsedOutput.body;
|
|
1840
|
-
|
|
1627
|
+
return throwDefaultError({
|
|
1841
1628
|
output,
|
|
1842
1629
|
parsedBody,
|
|
1843
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1844
1630
|
errorCode,
|
|
1845
1631
|
});
|
|
1846
1632
|
}
|
|
@@ -1851,12 +1637,12 @@ const de_GetResolverConfigCommand = async (output, context) => {
|
|
|
1851
1637
|
}
|
|
1852
1638
|
const data = await parseBody(output.body, context);
|
|
1853
1639
|
let contents = {};
|
|
1854
|
-
contents =
|
|
1640
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1855
1641
|
const response = {
|
|
1856
1642
|
$metadata: deserializeMetadata(output),
|
|
1857
1643
|
...contents,
|
|
1858
1644
|
};
|
|
1859
|
-
return
|
|
1645
|
+
return response;
|
|
1860
1646
|
};
|
|
1861
1647
|
exports.de_GetResolverConfigCommand = de_GetResolverConfigCommand;
|
|
1862
1648
|
const de_GetResolverConfigCommandError = async (output, context) => {
|
|
@@ -1886,10 +1672,9 @@ const de_GetResolverConfigCommandError = async (output, context) => {
|
|
|
1886
1672
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1887
1673
|
default:
|
|
1888
1674
|
const parsedBody = parsedOutput.body;
|
|
1889
|
-
|
|
1675
|
+
return throwDefaultError({
|
|
1890
1676
|
output,
|
|
1891
1677
|
parsedBody,
|
|
1892
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1893
1678
|
errorCode,
|
|
1894
1679
|
});
|
|
1895
1680
|
}
|
|
@@ -1900,12 +1685,12 @@ const de_GetResolverDnssecConfigCommand = async (output, context) => {
|
|
|
1900
1685
|
}
|
|
1901
1686
|
const data = await parseBody(output.body, context);
|
|
1902
1687
|
let contents = {};
|
|
1903
|
-
contents =
|
|
1688
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1904
1689
|
const response = {
|
|
1905
1690
|
$metadata: deserializeMetadata(output),
|
|
1906
1691
|
...contents,
|
|
1907
1692
|
};
|
|
1908
|
-
return
|
|
1693
|
+
return response;
|
|
1909
1694
|
};
|
|
1910
1695
|
exports.de_GetResolverDnssecConfigCommand = de_GetResolverDnssecConfigCommand;
|
|
1911
1696
|
const de_GetResolverDnssecConfigCommandError = async (output, context) => {
|
|
@@ -1935,10 +1720,9 @@ const de_GetResolverDnssecConfigCommandError = async (output, context) => {
|
|
|
1935
1720
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1936
1721
|
default:
|
|
1937
1722
|
const parsedBody = parsedOutput.body;
|
|
1938
|
-
|
|
1723
|
+
return throwDefaultError({
|
|
1939
1724
|
output,
|
|
1940
1725
|
parsedBody,
|
|
1941
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1942
1726
|
errorCode,
|
|
1943
1727
|
});
|
|
1944
1728
|
}
|
|
@@ -1949,12 +1733,12 @@ const de_GetResolverEndpointCommand = async (output, context) => {
|
|
|
1949
1733
|
}
|
|
1950
1734
|
const data = await parseBody(output.body, context);
|
|
1951
1735
|
let contents = {};
|
|
1952
|
-
contents =
|
|
1736
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1953
1737
|
const response = {
|
|
1954
1738
|
$metadata: deserializeMetadata(output),
|
|
1955
1739
|
...contents,
|
|
1956
1740
|
};
|
|
1957
|
-
return
|
|
1741
|
+
return response;
|
|
1958
1742
|
};
|
|
1959
1743
|
exports.de_GetResolverEndpointCommand = de_GetResolverEndpointCommand;
|
|
1960
1744
|
const de_GetResolverEndpointCommandError = async (output, context) => {
|
|
@@ -1978,10 +1762,9 @@ const de_GetResolverEndpointCommandError = async (output, context) => {
|
|
|
1978
1762
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1979
1763
|
default:
|
|
1980
1764
|
const parsedBody = parsedOutput.body;
|
|
1981
|
-
|
|
1765
|
+
return throwDefaultError({
|
|
1982
1766
|
output,
|
|
1983
1767
|
parsedBody,
|
|
1984
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
1985
1768
|
errorCode,
|
|
1986
1769
|
});
|
|
1987
1770
|
}
|
|
@@ -1992,12 +1775,12 @@ const de_GetResolverQueryLogConfigCommand = async (output, context) => {
|
|
|
1992
1775
|
}
|
|
1993
1776
|
const data = await parseBody(output.body, context);
|
|
1994
1777
|
let contents = {};
|
|
1995
|
-
contents =
|
|
1778
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1996
1779
|
const response = {
|
|
1997
1780
|
$metadata: deserializeMetadata(output),
|
|
1998
1781
|
...contents,
|
|
1999
1782
|
};
|
|
2000
|
-
return
|
|
1783
|
+
return response;
|
|
2001
1784
|
};
|
|
2002
1785
|
exports.de_GetResolverQueryLogConfigCommand = de_GetResolverQueryLogConfigCommand;
|
|
2003
1786
|
const de_GetResolverQueryLogConfigCommandError = async (output, context) => {
|
|
@@ -2027,10 +1810,9 @@ const de_GetResolverQueryLogConfigCommandError = async (output, context) => {
|
|
|
2027
1810
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2028
1811
|
default:
|
|
2029
1812
|
const parsedBody = parsedOutput.body;
|
|
2030
|
-
|
|
1813
|
+
return throwDefaultError({
|
|
2031
1814
|
output,
|
|
2032
1815
|
parsedBody,
|
|
2033
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2034
1816
|
errorCode,
|
|
2035
1817
|
});
|
|
2036
1818
|
}
|
|
@@ -2041,12 +1823,12 @@ const de_GetResolverQueryLogConfigAssociationCommand = async (output, context) =
|
|
|
2041
1823
|
}
|
|
2042
1824
|
const data = await parseBody(output.body, context);
|
|
2043
1825
|
let contents = {};
|
|
2044
|
-
contents =
|
|
1826
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2045
1827
|
const response = {
|
|
2046
1828
|
$metadata: deserializeMetadata(output),
|
|
2047
1829
|
...contents,
|
|
2048
1830
|
};
|
|
2049
|
-
return
|
|
1831
|
+
return response;
|
|
2050
1832
|
};
|
|
2051
1833
|
exports.de_GetResolverQueryLogConfigAssociationCommand = de_GetResolverQueryLogConfigAssociationCommand;
|
|
2052
1834
|
const de_GetResolverQueryLogConfigAssociationCommandError = async (output, context) => {
|
|
@@ -2076,10 +1858,9 @@ const de_GetResolverQueryLogConfigAssociationCommandError = async (output, conte
|
|
|
2076
1858
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2077
1859
|
default:
|
|
2078
1860
|
const parsedBody = parsedOutput.body;
|
|
2079
|
-
|
|
1861
|
+
return throwDefaultError({
|
|
2080
1862
|
output,
|
|
2081
1863
|
parsedBody,
|
|
2082
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2083
1864
|
errorCode,
|
|
2084
1865
|
});
|
|
2085
1866
|
}
|
|
@@ -2090,12 +1871,12 @@ const de_GetResolverQueryLogConfigPolicyCommand = async (output, context) => {
|
|
|
2090
1871
|
}
|
|
2091
1872
|
const data = await parseBody(output.body, context);
|
|
2092
1873
|
let contents = {};
|
|
2093
|
-
contents =
|
|
1874
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2094
1875
|
const response = {
|
|
2095
1876
|
$metadata: deserializeMetadata(output),
|
|
2096
1877
|
...contents,
|
|
2097
1878
|
};
|
|
2098
|
-
return
|
|
1879
|
+
return response;
|
|
2099
1880
|
};
|
|
2100
1881
|
exports.de_GetResolverQueryLogConfigPolicyCommand = de_GetResolverQueryLogConfigPolicyCommand;
|
|
2101
1882
|
const de_GetResolverQueryLogConfigPolicyCommandError = async (output, context) => {
|
|
@@ -2122,10 +1903,9 @@ const de_GetResolverQueryLogConfigPolicyCommandError = async (output, context) =
|
|
|
2122
1903
|
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
2123
1904
|
default:
|
|
2124
1905
|
const parsedBody = parsedOutput.body;
|
|
2125
|
-
|
|
1906
|
+
return throwDefaultError({
|
|
2126
1907
|
output,
|
|
2127
1908
|
parsedBody,
|
|
2128
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2129
1909
|
errorCode,
|
|
2130
1910
|
});
|
|
2131
1911
|
}
|
|
@@ -2136,12 +1916,12 @@ const de_GetResolverRuleCommand = async (output, context) => {
|
|
|
2136
1916
|
}
|
|
2137
1917
|
const data = await parseBody(output.body, context);
|
|
2138
1918
|
let contents = {};
|
|
2139
|
-
contents =
|
|
1919
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2140
1920
|
const response = {
|
|
2141
1921
|
$metadata: deserializeMetadata(output),
|
|
2142
1922
|
...contents,
|
|
2143
1923
|
};
|
|
2144
|
-
return
|
|
1924
|
+
return response;
|
|
2145
1925
|
};
|
|
2146
1926
|
exports.de_GetResolverRuleCommand = de_GetResolverRuleCommand;
|
|
2147
1927
|
const de_GetResolverRuleCommandError = async (output, context) => {
|
|
@@ -2165,10 +1945,9 @@ const de_GetResolverRuleCommandError = async (output, context) => {
|
|
|
2165
1945
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2166
1946
|
default:
|
|
2167
1947
|
const parsedBody = parsedOutput.body;
|
|
2168
|
-
|
|
1948
|
+
return throwDefaultError({
|
|
2169
1949
|
output,
|
|
2170
1950
|
parsedBody,
|
|
2171
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2172
1951
|
errorCode,
|
|
2173
1952
|
});
|
|
2174
1953
|
}
|
|
@@ -2179,12 +1958,12 @@ const de_GetResolverRuleAssociationCommand = async (output, context) => {
|
|
|
2179
1958
|
}
|
|
2180
1959
|
const data = await parseBody(output.body, context);
|
|
2181
1960
|
let contents = {};
|
|
2182
|
-
contents =
|
|
1961
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2183
1962
|
const response = {
|
|
2184
1963
|
$metadata: deserializeMetadata(output),
|
|
2185
1964
|
...contents,
|
|
2186
1965
|
};
|
|
2187
|
-
return
|
|
1966
|
+
return response;
|
|
2188
1967
|
};
|
|
2189
1968
|
exports.de_GetResolverRuleAssociationCommand = de_GetResolverRuleAssociationCommand;
|
|
2190
1969
|
const de_GetResolverRuleAssociationCommandError = async (output, context) => {
|
|
@@ -2208,10 +1987,9 @@ const de_GetResolverRuleAssociationCommandError = async (output, context) => {
|
|
|
2208
1987
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2209
1988
|
default:
|
|
2210
1989
|
const parsedBody = parsedOutput.body;
|
|
2211
|
-
|
|
1990
|
+
return throwDefaultError({
|
|
2212
1991
|
output,
|
|
2213
1992
|
parsedBody,
|
|
2214
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2215
1993
|
errorCode,
|
|
2216
1994
|
});
|
|
2217
1995
|
}
|
|
@@ -2222,12 +2000,12 @@ const de_GetResolverRulePolicyCommand = async (output, context) => {
|
|
|
2222
2000
|
}
|
|
2223
2001
|
const data = await parseBody(output.body, context);
|
|
2224
2002
|
let contents = {};
|
|
2225
|
-
contents =
|
|
2003
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2226
2004
|
const response = {
|
|
2227
2005
|
$metadata: deserializeMetadata(output),
|
|
2228
2006
|
...contents,
|
|
2229
2007
|
};
|
|
2230
|
-
return
|
|
2008
|
+
return response;
|
|
2231
2009
|
};
|
|
2232
2010
|
exports.de_GetResolverRulePolicyCommand = de_GetResolverRulePolicyCommand;
|
|
2233
2011
|
const de_GetResolverRulePolicyCommandError = async (output, context) => {
|
|
@@ -2251,10 +2029,9 @@ const de_GetResolverRulePolicyCommandError = async (output, context) => {
|
|
|
2251
2029
|
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
2252
2030
|
default:
|
|
2253
2031
|
const parsedBody = parsedOutput.body;
|
|
2254
|
-
|
|
2032
|
+
return throwDefaultError({
|
|
2255
2033
|
output,
|
|
2256
2034
|
parsedBody,
|
|
2257
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2258
2035
|
errorCode,
|
|
2259
2036
|
});
|
|
2260
2037
|
}
|
|
@@ -2265,12 +2042,12 @@ const de_ImportFirewallDomainsCommand = async (output, context) => {
|
|
|
2265
2042
|
}
|
|
2266
2043
|
const data = await parseBody(output.body, context);
|
|
2267
2044
|
let contents = {};
|
|
2268
|
-
contents =
|
|
2045
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2269
2046
|
const response = {
|
|
2270
2047
|
$metadata: deserializeMetadata(output),
|
|
2271
2048
|
...contents,
|
|
2272
2049
|
};
|
|
2273
|
-
return
|
|
2050
|
+
return response;
|
|
2274
2051
|
};
|
|
2275
2052
|
exports.de_ImportFirewallDomainsCommand = de_ImportFirewallDomainsCommand;
|
|
2276
2053
|
const de_ImportFirewallDomainsCommandError = async (output, context) => {
|
|
@@ -2303,10 +2080,9 @@ const de_ImportFirewallDomainsCommandError = async (output, context) => {
|
|
|
2303
2080
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2304
2081
|
default:
|
|
2305
2082
|
const parsedBody = parsedOutput.body;
|
|
2306
|
-
|
|
2083
|
+
return throwDefaultError({
|
|
2307
2084
|
output,
|
|
2308
2085
|
parsedBody,
|
|
2309
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2310
2086
|
errorCode,
|
|
2311
2087
|
});
|
|
2312
2088
|
}
|
|
@@ -2317,12 +2093,12 @@ const de_ListFirewallConfigsCommand = async (output, context) => {
|
|
|
2317
2093
|
}
|
|
2318
2094
|
const data = await parseBody(output.body, context);
|
|
2319
2095
|
let contents = {};
|
|
2320
|
-
contents =
|
|
2096
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2321
2097
|
const response = {
|
|
2322
2098
|
$metadata: deserializeMetadata(output),
|
|
2323
2099
|
...contents,
|
|
2324
2100
|
};
|
|
2325
|
-
return
|
|
2101
|
+
return response;
|
|
2326
2102
|
};
|
|
2327
2103
|
exports.de_ListFirewallConfigsCommand = de_ListFirewallConfigsCommand;
|
|
2328
2104
|
const de_ListFirewallConfigsCommandError = async (output, context) => {
|
|
@@ -2346,10 +2122,9 @@ const de_ListFirewallConfigsCommandError = async (output, context) => {
|
|
|
2346
2122
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2347
2123
|
default:
|
|
2348
2124
|
const parsedBody = parsedOutput.body;
|
|
2349
|
-
|
|
2125
|
+
return throwDefaultError({
|
|
2350
2126
|
output,
|
|
2351
2127
|
parsedBody,
|
|
2352
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2353
2128
|
errorCode,
|
|
2354
2129
|
});
|
|
2355
2130
|
}
|
|
@@ -2360,12 +2135,12 @@ const de_ListFirewallDomainListsCommand = async (output, context) => {
|
|
|
2360
2135
|
}
|
|
2361
2136
|
const data = await parseBody(output.body, context);
|
|
2362
2137
|
let contents = {};
|
|
2363
|
-
contents =
|
|
2138
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2364
2139
|
const response = {
|
|
2365
2140
|
$metadata: deserializeMetadata(output),
|
|
2366
2141
|
...contents,
|
|
2367
2142
|
};
|
|
2368
|
-
return
|
|
2143
|
+
return response;
|
|
2369
2144
|
};
|
|
2370
2145
|
exports.de_ListFirewallDomainListsCommand = de_ListFirewallDomainListsCommand;
|
|
2371
2146
|
const de_ListFirewallDomainListsCommandError = async (output, context) => {
|
|
@@ -2389,10 +2164,9 @@ const de_ListFirewallDomainListsCommandError = async (output, context) => {
|
|
|
2389
2164
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2390
2165
|
default:
|
|
2391
2166
|
const parsedBody = parsedOutput.body;
|
|
2392
|
-
|
|
2167
|
+
return throwDefaultError({
|
|
2393
2168
|
output,
|
|
2394
2169
|
parsedBody,
|
|
2395
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2396
2170
|
errorCode,
|
|
2397
2171
|
});
|
|
2398
2172
|
}
|
|
@@ -2403,12 +2177,12 @@ const de_ListFirewallDomainsCommand = async (output, context) => {
|
|
|
2403
2177
|
}
|
|
2404
2178
|
const data = await parseBody(output.body, context);
|
|
2405
2179
|
let contents = {};
|
|
2406
|
-
contents =
|
|
2180
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2407
2181
|
const response = {
|
|
2408
2182
|
$metadata: deserializeMetadata(output),
|
|
2409
2183
|
...contents,
|
|
2410
2184
|
};
|
|
2411
|
-
return
|
|
2185
|
+
return response;
|
|
2412
2186
|
};
|
|
2413
2187
|
exports.de_ListFirewallDomainsCommand = de_ListFirewallDomainsCommand;
|
|
2414
2188
|
const de_ListFirewallDomainsCommandError = async (output, context) => {
|
|
@@ -2435,10 +2209,9 @@ const de_ListFirewallDomainsCommandError = async (output, context) => {
|
|
|
2435
2209
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2436
2210
|
default:
|
|
2437
2211
|
const parsedBody = parsedOutput.body;
|
|
2438
|
-
|
|
2212
|
+
return throwDefaultError({
|
|
2439
2213
|
output,
|
|
2440
2214
|
parsedBody,
|
|
2441
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2442
2215
|
errorCode,
|
|
2443
2216
|
});
|
|
2444
2217
|
}
|
|
@@ -2449,12 +2222,12 @@ const de_ListFirewallRuleGroupAssociationsCommand = async (output, context) => {
|
|
|
2449
2222
|
}
|
|
2450
2223
|
const data = await parseBody(output.body, context);
|
|
2451
2224
|
let contents = {};
|
|
2452
|
-
contents =
|
|
2225
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2453
2226
|
const response = {
|
|
2454
2227
|
$metadata: deserializeMetadata(output),
|
|
2455
2228
|
...contents,
|
|
2456
2229
|
};
|
|
2457
|
-
return
|
|
2230
|
+
return response;
|
|
2458
2231
|
};
|
|
2459
2232
|
exports.de_ListFirewallRuleGroupAssociationsCommand = de_ListFirewallRuleGroupAssociationsCommand;
|
|
2460
2233
|
const de_ListFirewallRuleGroupAssociationsCommandError = async (output, context) => {
|
|
@@ -2478,10 +2251,9 @@ const de_ListFirewallRuleGroupAssociationsCommandError = async (output, context)
|
|
|
2478
2251
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2479
2252
|
default:
|
|
2480
2253
|
const parsedBody = parsedOutput.body;
|
|
2481
|
-
|
|
2254
|
+
return throwDefaultError({
|
|
2482
2255
|
output,
|
|
2483
2256
|
parsedBody,
|
|
2484
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2485
2257
|
errorCode,
|
|
2486
2258
|
});
|
|
2487
2259
|
}
|
|
@@ -2492,12 +2264,12 @@ const de_ListFirewallRuleGroupsCommand = async (output, context) => {
|
|
|
2492
2264
|
}
|
|
2493
2265
|
const data = await parseBody(output.body, context);
|
|
2494
2266
|
let contents = {};
|
|
2495
|
-
contents =
|
|
2267
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2496
2268
|
const response = {
|
|
2497
2269
|
$metadata: deserializeMetadata(output),
|
|
2498
2270
|
...contents,
|
|
2499
2271
|
};
|
|
2500
|
-
return
|
|
2272
|
+
return response;
|
|
2501
2273
|
};
|
|
2502
2274
|
exports.de_ListFirewallRuleGroupsCommand = de_ListFirewallRuleGroupsCommand;
|
|
2503
2275
|
const de_ListFirewallRuleGroupsCommandError = async (output, context) => {
|
|
@@ -2521,10 +2293,9 @@ const de_ListFirewallRuleGroupsCommandError = async (output, context) => {
|
|
|
2521
2293
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2522
2294
|
default:
|
|
2523
2295
|
const parsedBody = parsedOutput.body;
|
|
2524
|
-
|
|
2296
|
+
return throwDefaultError({
|
|
2525
2297
|
output,
|
|
2526
2298
|
parsedBody,
|
|
2527
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2528
2299
|
errorCode,
|
|
2529
2300
|
});
|
|
2530
2301
|
}
|
|
@@ -2535,12 +2306,12 @@ const de_ListFirewallRulesCommand = async (output, context) => {
|
|
|
2535
2306
|
}
|
|
2536
2307
|
const data = await parseBody(output.body, context);
|
|
2537
2308
|
let contents = {};
|
|
2538
|
-
contents =
|
|
2309
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2539
2310
|
const response = {
|
|
2540
2311
|
$metadata: deserializeMetadata(output),
|
|
2541
2312
|
...contents,
|
|
2542
2313
|
};
|
|
2543
|
-
return
|
|
2314
|
+
return response;
|
|
2544
2315
|
};
|
|
2545
2316
|
exports.de_ListFirewallRulesCommand = de_ListFirewallRulesCommand;
|
|
2546
2317
|
const de_ListFirewallRulesCommandError = async (output, context) => {
|
|
@@ -2567,10 +2338,9 @@ const de_ListFirewallRulesCommandError = async (output, context) => {
|
|
|
2567
2338
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2568
2339
|
default:
|
|
2569
2340
|
const parsedBody = parsedOutput.body;
|
|
2570
|
-
|
|
2341
|
+
return throwDefaultError({
|
|
2571
2342
|
output,
|
|
2572
2343
|
parsedBody,
|
|
2573
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2574
2344
|
errorCode,
|
|
2575
2345
|
});
|
|
2576
2346
|
}
|
|
@@ -2581,12 +2351,12 @@ const de_ListResolverConfigsCommand = async (output, context) => {
|
|
|
2581
2351
|
}
|
|
2582
2352
|
const data = await parseBody(output.body, context);
|
|
2583
2353
|
let contents = {};
|
|
2584
|
-
contents =
|
|
2354
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2585
2355
|
const response = {
|
|
2586
2356
|
$metadata: deserializeMetadata(output),
|
|
2587
2357
|
...contents,
|
|
2588
2358
|
};
|
|
2589
|
-
return
|
|
2359
|
+
return response;
|
|
2590
2360
|
};
|
|
2591
2361
|
exports.de_ListResolverConfigsCommand = de_ListResolverConfigsCommand;
|
|
2592
2362
|
const de_ListResolverConfigsCommandError = async (output, context) => {
|
|
@@ -2619,10 +2389,9 @@ const de_ListResolverConfigsCommandError = async (output, context) => {
|
|
|
2619
2389
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2620
2390
|
default:
|
|
2621
2391
|
const parsedBody = parsedOutput.body;
|
|
2622
|
-
|
|
2392
|
+
return throwDefaultError({
|
|
2623
2393
|
output,
|
|
2624
2394
|
parsedBody,
|
|
2625
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2626
2395
|
errorCode,
|
|
2627
2396
|
});
|
|
2628
2397
|
}
|
|
@@ -2633,12 +2402,12 @@ const de_ListResolverDnssecConfigsCommand = async (output, context) => {
|
|
|
2633
2402
|
}
|
|
2634
2403
|
const data = await parseBody(output.body, context);
|
|
2635
2404
|
let contents = {};
|
|
2636
|
-
contents =
|
|
2405
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2637
2406
|
const response = {
|
|
2638
2407
|
$metadata: deserializeMetadata(output),
|
|
2639
2408
|
...contents,
|
|
2640
2409
|
};
|
|
2641
|
-
return
|
|
2410
|
+
return response;
|
|
2642
2411
|
};
|
|
2643
2412
|
exports.de_ListResolverDnssecConfigsCommand = de_ListResolverDnssecConfigsCommand;
|
|
2644
2413
|
const de_ListResolverDnssecConfigsCommandError = async (output, context) => {
|
|
@@ -2668,10 +2437,9 @@ const de_ListResolverDnssecConfigsCommandError = async (output, context) => {
|
|
|
2668
2437
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2669
2438
|
default:
|
|
2670
2439
|
const parsedBody = parsedOutput.body;
|
|
2671
|
-
|
|
2440
|
+
return throwDefaultError({
|
|
2672
2441
|
output,
|
|
2673
2442
|
parsedBody,
|
|
2674
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2675
2443
|
errorCode,
|
|
2676
2444
|
});
|
|
2677
2445
|
}
|
|
@@ -2682,12 +2450,12 @@ const de_ListResolverEndpointIpAddressesCommand = async (output, context) => {
|
|
|
2682
2450
|
}
|
|
2683
2451
|
const data = await parseBody(output.body, context);
|
|
2684
2452
|
let contents = {};
|
|
2685
|
-
contents =
|
|
2453
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2686
2454
|
const response = {
|
|
2687
2455
|
$metadata: deserializeMetadata(output),
|
|
2688
2456
|
...contents,
|
|
2689
2457
|
};
|
|
2690
|
-
return
|
|
2458
|
+
return response;
|
|
2691
2459
|
};
|
|
2692
2460
|
exports.de_ListResolverEndpointIpAddressesCommand = de_ListResolverEndpointIpAddressesCommand;
|
|
2693
2461
|
const de_ListResolverEndpointIpAddressesCommandError = async (output, context) => {
|
|
@@ -2714,10 +2482,9 @@ const de_ListResolverEndpointIpAddressesCommandError = async (output, context) =
|
|
|
2714
2482
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2715
2483
|
default:
|
|
2716
2484
|
const parsedBody = parsedOutput.body;
|
|
2717
|
-
|
|
2485
|
+
return throwDefaultError({
|
|
2718
2486
|
output,
|
|
2719
2487
|
parsedBody,
|
|
2720
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2721
2488
|
errorCode,
|
|
2722
2489
|
});
|
|
2723
2490
|
}
|
|
@@ -2728,12 +2495,12 @@ const de_ListResolverEndpointsCommand = async (output, context) => {
|
|
|
2728
2495
|
}
|
|
2729
2496
|
const data = await parseBody(output.body, context);
|
|
2730
2497
|
let contents = {};
|
|
2731
|
-
contents =
|
|
2498
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2732
2499
|
const response = {
|
|
2733
2500
|
$metadata: deserializeMetadata(output),
|
|
2734
2501
|
...contents,
|
|
2735
2502
|
};
|
|
2736
|
-
return
|
|
2503
|
+
return response;
|
|
2737
2504
|
};
|
|
2738
2505
|
exports.de_ListResolverEndpointsCommand = de_ListResolverEndpointsCommand;
|
|
2739
2506
|
const de_ListResolverEndpointsCommandError = async (output, context) => {
|
|
@@ -2760,10 +2527,9 @@ const de_ListResolverEndpointsCommandError = async (output, context) => {
|
|
|
2760
2527
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2761
2528
|
default:
|
|
2762
2529
|
const parsedBody = parsedOutput.body;
|
|
2763
|
-
|
|
2530
|
+
return throwDefaultError({
|
|
2764
2531
|
output,
|
|
2765
2532
|
parsedBody,
|
|
2766
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2767
2533
|
errorCode,
|
|
2768
2534
|
});
|
|
2769
2535
|
}
|
|
@@ -2774,12 +2540,12 @@ const de_ListResolverQueryLogConfigAssociationsCommand = async (output, context)
|
|
|
2774
2540
|
}
|
|
2775
2541
|
const data = await parseBody(output.body, context);
|
|
2776
2542
|
let contents = {};
|
|
2777
|
-
contents =
|
|
2543
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2778
2544
|
const response = {
|
|
2779
2545
|
$metadata: deserializeMetadata(output),
|
|
2780
2546
|
...contents,
|
|
2781
2547
|
};
|
|
2782
|
-
return
|
|
2548
|
+
return response;
|
|
2783
2549
|
};
|
|
2784
2550
|
exports.de_ListResolverQueryLogConfigAssociationsCommand = de_ListResolverQueryLogConfigAssociationsCommand;
|
|
2785
2551
|
const de_ListResolverQueryLogConfigAssociationsCommandError = async (output, context) => {
|
|
@@ -2809,10 +2575,9 @@ const de_ListResolverQueryLogConfigAssociationsCommandError = async (output, con
|
|
|
2809
2575
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2810
2576
|
default:
|
|
2811
2577
|
const parsedBody = parsedOutput.body;
|
|
2812
|
-
|
|
2578
|
+
return throwDefaultError({
|
|
2813
2579
|
output,
|
|
2814
2580
|
parsedBody,
|
|
2815
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2816
2581
|
errorCode,
|
|
2817
2582
|
});
|
|
2818
2583
|
}
|
|
@@ -2823,12 +2588,12 @@ const de_ListResolverQueryLogConfigsCommand = async (output, context) => {
|
|
|
2823
2588
|
}
|
|
2824
2589
|
const data = await parseBody(output.body, context);
|
|
2825
2590
|
let contents = {};
|
|
2826
|
-
contents =
|
|
2591
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2827
2592
|
const response = {
|
|
2828
2593
|
$metadata: deserializeMetadata(output),
|
|
2829
2594
|
...contents,
|
|
2830
2595
|
};
|
|
2831
|
-
return
|
|
2596
|
+
return response;
|
|
2832
2597
|
};
|
|
2833
2598
|
exports.de_ListResolverQueryLogConfigsCommand = de_ListResolverQueryLogConfigsCommand;
|
|
2834
2599
|
const de_ListResolverQueryLogConfigsCommandError = async (output, context) => {
|
|
@@ -2858,10 +2623,9 @@ const de_ListResolverQueryLogConfigsCommandError = async (output, context) => {
|
|
|
2858
2623
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2859
2624
|
default:
|
|
2860
2625
|
const parsedBody = parsedOutput.body;
|
|
2861
|
-
|
|
2626
|
+
return throwDefaultError({
|
|
2862
2627
|
output,
|
|
2863
2628
|
parsedBody,
|
|
2864
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2865
2629
|
errorCode,
|
|
2866
2630
|
});
|
|
2867
2631
|
}
|
|
@@ -2872,12 +2636,12 @@ const de_ListResolverRuleAssociationsCommand = async (output, context) => {
|
|
|
2872
2636
|
}
|
|
2873
2637
|
const data = await parseBody(output.body, context);
|
|
2874
2638
|
let contents = {};
|
|
2875
|
-
contents =
|
|
2639
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2876
2640
|
const response = {
|
|
2877
2641
|
$metadata: deserializeMetadata(output),
|
|
2878
2642
|
...contents,
|
|
2879
2643
|
};
|
|
2880
|
-
return
|
|
2644
|
+
return response;
|
|
2881
2645
|
};
|
|
2882
2646
|
exports.de_ListResolverRuleAssociationsCommand = de_ListResolverRuleAssociationsCommand;
|
|
2883
2647
|
const de_ListResolverRuleAssociationsCommandError = async (output, context) => {
|
|
@@ -2904,10 +2668,9 @@ const de_ListResolverRuleAssociationsCommandError = async (output, context) => {
|
|
|
2904
2668
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2905
2669
|
default:
|
|
2906
2670
|
const parsedBody = parsedOutput.body;
|
|
2907
|
-
|
|
2671
|
+
return throwDefaultError({
|
|
2908
2672
|
output,
|
|
2909
2673
|
parsedBody,
|
|
2910
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2911
2674
|
errorCode,
|
|
2912
2675
|
});
|
|
2913
2676
|
}
|
|
@@ -2918,12 +2681,12 @@ const de_ListResolverRulesCommand = async (output, context) => {
|
|
|
2918
2681
|
}
|
|
2919
2682
|
const data = await parseBody(output.body, context);
|
|
2920
2683
|
let contents = {};
|
|
2921
|
-
contents =
|
|
2684
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2922
2685
|
const response = {
|
|
2923
2686
|
$metadata: deserializeMetadata(output),
|
|
2924
2687
|
...contents,
|
|
2925
2688
|
};
|
|
2926
|
-
return
|
|
2689
|
+
return response;
|
|
2927
2690
|
};
|
|
2928
2691
|
exports.de_ListResolverRulesCommand = de_ListResolverRulesCommand;
|
|
2929
2692
|
const de_ListResolverRulesCommandError = async (output, context) => {
|
|
@@ -2950,10 +2713,9 @@ const de_ListResolverRulesCommandError = async (output, context) => {
|
|
|
2950
2713
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2951
2714
|
default:
|
|
2952
2715
|
const parsedBody = parsedOutput.body;
|
|
2953
|
-
|
|
2716
|
+
return throwDefaultError({
|
|
2954
2717
|
output,
|
|
2955
2718
|
parsedBody,
|
|
2956
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
2957
2719
|
errorCode,
|
|
2958
2720
|
});
|
|
2959
2721
|
}
|
|
@@ -2964,12 +2726,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
2964
2726
|
}
|
|
2965
2727
|
const data = await parseBody(output.body, context);
|
|
2966
2728
|
let contents = {};
|
|
2967
|
-
contents =
|
|
2729
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2968
2730
|
const response = {
|
|
2969
2731
|
$metadata: deserializeMetadata(output),
|
|
2970
2732
|
...contents,
|
|
2971
2733
|
};
|
|
2972
|
-
return
|
|
2734
|
+
return response;
|
|
2973
2735
|
};
|
|
2974
2736
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2975
2737
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -2999,10 +2761,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
2999
2761
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3000
2762
|
default:
|
|
3001
2763
|
const parsedBody = parsedOutput.body;
|
|
3002
|
-
|
|
2764
|
+
return throwDefaultError({
|
|
3003
2765
|
output,
|
|
3004
2766
|
parsedBody,
|
|
3005
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3006
2767
|
errorCode,
|
|
3007
2768
|
});
|
|
3008
2769
|
}
|
|
@@ -3013,12 +2774,12 @@ const de_PutFirewallRuleGroupPolicyCommand = async (output, context) => {
|
|
|
3013
2774
|
}
|
|
3014
2775
|
const data = await parseBody(output.body, context);
|
|
3015
2776
|
let contents = {};
|
|
3016
|
-
contents =
|
|
2777
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3017
2778
|
const response = {
|
|
3018
2779
|
$metadata: deserializeMetadata(output),
|
|
3019
2780
|
...contents,
|
|
3020
2781
|
};
|
|
3021
|
-
return
|
|
2782
|
+
return response;
|
|
3022
2783
|
};
|
|
3023
2784
|
exports.de_PutFirewallRuleGroupPolicyCommand = de_PutFirewallRuleGroupPolicyCommand;
|
|
3024
2785
|
const de_PutFirewallRuleGroupPolicyCommandError = async (output, context) => {
|
|
@@ -3045,10 +2806,9 @@ const de_PutFirewallRuleGroupPolicyCommandError = async (output, context) => {
|
|
|
3045
2806
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3046
2807
|
default:
|
|
3047
2808
|
const parsedBody = parsedOutput.body;
|
|
3048
|
-
|
|
2809
|
+
return throwDefaultError({
|
|
3049
2810
|
output,
|
|
3050
2811
|
parsedBody,
|
|
3051
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3052
2812
|
errorCode,
|
|
3053
2813
|
});
|
|
3054
2814
|
}
|
|
@@ -3059,12 +2819,12 @@ const de_PutResolverQueryLogConfigPolicyCommand = async (output, context) => {
|
|
|
3059
2819
|
}
|
|
3060
2820
|
const data = await parseBody(output.body, context);
|
|
3061
2821
|
let contents = {};
|
|
3062
|
-
contents =
|
|
2822
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3063
2823
|
const response = {
|
|
3064
2824
|
$metadata: deserializeMetadata(output),
|
|
3065
2825
|
...contents,
|
|
3066
2826
|
};
|
|
3067
|
-
return
|
|
2827
|
+
return response;
|
|
3068
2828
|
};
|
|
3069
2829
|
exports.de_PutResolverQueryLogConfigPolicyCommand = de_PutResolverQueryLogConfigPolicyCommand;
|
|
3070
2830
|
const de_PutResolverQueryLogConfigPolicyCommandError = async (output, context) => {
|
|
@@ -3094,10 +2854,9 @@ const de_PutResolverQueryLogConfigPolicyCommandError = async (output, context) =
|
|
|
3094
2854
|
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
3095
2855
|
default:
|
|
3096
2856
|
const parsedBody = parsedOutput.body;
|
|
3097
|
-
|
|
2857
|
+
return throwDefaultError({
|
|
3098
2858
|
output,
|
|
3099
2859
|
parsedBody,
|
|
3100
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3101
2860
|
errorCode,
|
|
3102
2861
|
});
|
|
3103
2862
|
}
|
|
@@ -3108,12 +2867,12 @@ const de_PutResolverRulePolicyCommand = async (output, context) => {
|
|
|
3108
2867
|
}
|
|
3109
2868
|
const data = await parseBody(output.body, context);
|
|
3110
2869
|
let contents = {};
|
|
3111
|
-
contents =
|
|
2870
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3112
2871
|
const response = {
|
|
3113
2872
|
$metadata: deserializeMetadata(output),
|
|
3114
2873
|
...contents,
|
|
3115
2874
|
};
|
|
3116
|
-
return
|
|
2875
|
+
return response;
|
|
3117
2876
|
};
|
|
3118
2877
|
exports.de_PutResolverRulePolicyCommand = de_PutResolverRulePolicyCommand;
|
|
3119
2878
|
const de_PutResolverRulePolicyCommandError = async (output, context) => {
|
|
@@ -3140,10 +2899,9 @@ const de_PutResolverRulePolicyCommandError = async (output, context) => {
|
|
|
3140
2899
|
throw await de_UnknownResourceExceptionRes(parsedOutput, context);
|
|
3141
2900
|
default:
|
|
3142
2901
|
const parsedBody = parsedOutput.body;
|
|
3143
|
-
|
|
2902
|
+
return throwDefaultError({
|
|
3144
2903
|
output,
|
|
3145
2904
|
parsedBody,
|
|
3146
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3147
2905
|
errorCode,
|
|
3148
2906
|
});
|
|
3149
2907
|
}
|
|
@@ -3154,12 +2912,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
3154
2912
|
}
|
|
3155
2913
|
const data = await parseBody(output.body, context);
|
|
3156
2914
|
let contents = {};
|
|
3157
|
-
contents =
|
|
2915
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3158
2916
|
const response = {
|
|
3159
2917
|
$metadata: deserializeMetadata(output),
|
|
3160
2918
|
...contents,
|
|
3161
2919
|
};
|
|
3162
|
-
return
|
|
2920
|
+
return response;
|
|
3163
2921
|
};
|
|
3164
2922
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
3165
2923
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -3192,10 +2950,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
3192
2950
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3193
2951
|
default:
|
|
3194
2952
|
const parsedBody = parsedOutput.body;
|
|
3195
|
-
|
|
2953
|
+
return throwDefaultError({
|
|
3196
2954
|
output,
|
|
3197
2955
|
parsedBody,
|
|
3198
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3199
2956
|
errorCode,
|
|
3200
2957
|
});
|
|
3201
2958
|
}
|
|
@@ -3206,12 +2963,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
3206
2963
|
}
|
|
3207
2964
|
const data = await parseBody(output.body, context);
|
|
3208
2965
|
let contents = {};
|
|
3209
|
-
contents =
|
|
2966
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3210
2967
|
const response = {
|
|
3211
2968
|
$metadata: deserializeMetadata(output),
|
|
3212
2969
|
...contents,
|
|
3213
2970
|
};
|
|
3214
|
-
return
|
|
2971
|
+
return response;
|
|
3215
2972
|
};
|
|
3216
2973
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
3217
2974
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -3238,10 +2995,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
3238
2995
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3239
2996
|
default:
|
|
3240
2997
|
const parsedBody = parsedOutput.body;
|
|
3241
|
-
|
|
2998
|
+
return throwDefaultError({
|
|
3242
2999
|
output,
|
|
3243
3000
|
parsedBody,
|
|
3244
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3245
3001
|
errorCode,
|
|
3246
3002
|
});
|
|
3247
3003
|
}
|
|
@@ -3252,12 +3008,12 @@ const de_UpdateFirewallConfigCommand = async (output, context) => {
|
|
|
3252
3008
|
}
|
|
3253
3009
|
const data = await parseBody(output.body, context);
|
|
3254
3010
|
let contents = {};
|
|
3255
|
-
contents =
|
|
3011
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3256
3012
|
const response = {
|
|
3257
3013
|
$metadata: deserializeMetadata(output),
|
|
3258
3014
|
...contents,
|
|
3259
3015
|
};
|
|
3260
|
-
return
|
|
3016
|
+
return response;
|
|
3261
3017
|
};
|
|
3262
3018
|
exports.de_UpdateFirewallConfigCommand = de_UpdateFirewallConfigCommand;
|
|
3263
3019
|
const de_UpdateFirewallConfigCommandError = async (output, context) => {
|
|
@@ -3284,10 +3040,9 @@ const de_UpdateFirewallConfigCommandError = async (output, context) => {
|
|
|
3284
3040
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3285
3041
|
default:
|
|
3286
3042
|
const parsedBody = parsedOutput.body;
|
|
3287
|
-
|
|
3043
|
+
return throwDefaultError({
|
|
3288
3044
|
output,
|
|
3289
3045
|
parsedBody,
|
|
3290
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3291
3046
|
errorCode,
|
|
3292
3047
|
});
|
|
3293
3048
|
}
|
|
@@ -3298,12 +3053,12 @@ const de_UpdateFirewallDomainsCommand = async (output, context) => {
|
|
|
3298
3053
|
}
|
|
3299
3054
|
const data = await parseBody(output.body, context);
|
|
3300
3055
|
let contents = {};
|
|
3301
|
-
contents =
|
|
3056
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3302
3057
|
const response = {
|
|
3303
3058
|
$metadata: deserializeMetadata(output),
|
|
3304
3059
|
...contents,
|
|
3305
3060
|
};
|
|
3306
|
-
return
|
|
3061
|
+
return response;
|
|
3307
3062
|
};
|
|
3308
3063
|
exports.de_UpdateFirewallDomainsCommand = de_UpdateFirewallDomainsCommand;
|
|
3309
3064
|
const de_UpdateFirewallDomainsCommandError = async (output, context) => {
|
|
@@ -3336,10 +3091,9 @@ const de_UpdateFirewallDomainsCommandError = async (output, context) => {
|
|
|
3336
3091
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3337
3092
|
default:
|
|
3338
3093
|
const parsedBody = parsedOutput.body;
|
|
3339
|
-
|
|
3094
|
+
return throwDefaultError({
|
|
3340
3095
|
output,
|
|
3341
3096
|
parsedBody,
|
|
3342
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3343
3097
|
errorCode,
|
|
3344
3098
|
});
|
|
3345
3099
|
}
|
|
@@ -3350,12 +3104,12 @@ const de_UpdateFirewallRuleCommand = async (output, context) => {
|
|
|
3350
3104
|
}
|
|
3351
3105
|
const data = await parseBody(output.body, context);
|
|
3352
3106
|
let contents = {};
|
|
3353
|
-
contents =
|
|
3107
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3354
3108
|
const response = {
|
|
3355
3109
|
$metadata: deserializeMetadata(output),
|
|
3356
3110
|
...contents,
|
|
3357
3111
|
};
|
|
3358
|
-
return
|
|
3112
|
+
return response;
|
|
3359
3113
|
};
|
|
3360
3114
|
exports.de_UpdateFirewallRuleCommand = de_UpdateFirewallRuleCommand;
|
|
3361
3115
|
const de_UpdateFirewallRuleCommandError = async (output, context) => {
|
|
@@ -3385,10 +3139,9 @@ const de_UpdateFirewallRuleCommandError = async (output, context) => {
|
|
|
3385
3139
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3386
3140
|
default:
|
|
3387
3141
|
const parsedBody = parsedOutput.body;
|
|
3388
|
-
|
|
3142
|
+
return throwDefaultError({
|
|
3389
3143
|
output,
|
|
3390
3144
|
parsedBody,
|
|
3391
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3392
3145
|
errorCode,
|
|
3393
3146
|
});
|
|
3394
3147
|
}
|
|
@@ -3399,12 +3152,12 @@ const de_UpdateFirewallRuleGroupAssociationCommand = async (output, context) =>
|
|
|
3399
3152
|
}
|
|
3400
3153
|
const data = await parseBody(output.body, context);
|
|
3401
3154
|
let contents = {};
|
|
3402
|
-
contents =
|
|
3155
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3403
3156
|
const response = {
|
|
3404
3157
|
$metadata: deserializeMetadata(output),
|
|
3405
3158
|
...contents,
|
|
3406
3159
|
};
|
|
3407
|
-
return
|
|
3160
|
+
return response;
|
|
3408
3161
|
};
|
|
3409
3162
|
exports.de_UpdateFirewallRuleGroupAssociationCommand = de_UpdateFirewallRuleGroupAssociationCommand;
|
|
3410
3163
|
const de_UpdateFirewallRuleGroupAssociationCommandError = async (output, context) => {
|
|
@@ -3434,10 +3187,9 @@ const de_UpdateFirewallRuleGroupAssociationCommandError = async (output, context
|
|
|
3434
3187
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3435
3188
|
default:
|
|
3436
3189
|
const parsedBody = parsedOutput.body;
|
|
3437
|
-
|
|
3190
|
+
return throwDefaultError({
|
|
3438
3191
|
output,
|
|
3439
3192
|
parsedBody,
|
|
3440
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3441
3193
|
errorCode,
|
|
3442
3194
|
});
|
|
3443
3195
|
}
|
|
@@ -3448,12 +3200,12 @@ const de_UpdateResolverConfigCommand = async (output, context) => {
|
|
|
3448
3200
|
}
|
|
3449
3201
|
const data = await parseBody(output.body, context);
|
|
3450
3202
|
let contents = {};
|
|
3451
|
-
contents =
|
|
3203
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3452
3204
|
const response = {
|
|
3453
3205
|
$metadata: deserializeMetadata(output),
|
|
3454
3206
|
...contents,
|
|
3455
3207
|
};
|
|
3456
|
-
return
|
|
3208
|
+
return response;
|
|
3457
3209
|
};
|
|
3458
3210
|
exports.de_UpdateResolverConfigCommand = de_UpdateResolverConfigCommand;
|
|
3459
3211
|
const de_UpdateResolverConfigCommandError = async (output, context) => {
|
|
@@ -3492,10 +3244,9 @@ const de_UpdateResolverConfigCommandError = async (output, context) => {
|
|
|
3492
3244
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3493
3245
|
default:
|
|
3494
3246
|
const parsedBody = parsedOutput.body;
|
|
3495
|
-
|
|
3247
|
+
return throwDefaultError({
|
|
3496
3248
|
output,
|
|
3497
3249
|
parsedBody,
|
|
3498
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3499
3250
|
errorCode,
|
|
3500
3251
|
});
|
|
3501
3252
|
}
|
|
@@ -3506,12 +3257,12 @@ const de_UpdateResolverDnssecConfigCommand = async (output, context) => {
|
|
|
3506
3257
|
}
|
|
3507
3258
|
const data = await parseBody(output.body, context);
|
|
3508
3259
|
let contents = {};
|
|
3509
|
-
contents =
|
|
3260
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3510
3261
|
const response = {
|
|
3511
3262
|
$metadata: deserializeMetadata(output),
|
|
3512
3263
|
...contents,
|
|
3513
3264
|
};
|
|
3514
|
-
return
|
|
3265
|
+
return response;
|
|
3515
3266
|
};
|
|
3516
3267
|
exports.de_UpdateResolverDnssecConfigCommand = de_UpdateResolverDnssecConfigCommand;
|
|
3517
3268
|
const de_UpdateResolverDnssecConfigCommandError = async (output, context) => {
|
|
@@ -3541,10 +3292,9 @@ const de_UpdateResolverDnssecConfigCommandError = async (output, context) => {
|
|
|
3541
3292
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3542
3293
|
default:
|
|
3543
3294
|
const parsedBody = parsedOutput.body;
|
|
3544
|
-
|
|
3295
|
+
return throwDefaultError({
|
|
3545
3296
|
output,
|
|
3546
3297
|
parsedBody,
|
|
3547
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3548
3298
|
errorCode,
|
|
3549
3299
|
});
|
|
3550
3300
|
}
|
|
@@ -3555,12 +3305,12 @@ const de_UpdateResolverEndpointCommand = async (output, context) => {
|
|
|
3555
3305
|
}
|
|
3556
3306
|
const data = await parseBody(output.body, context);
|
|
3557
3307
|
let contents = {};
|
|
3558
|
-
contents =
|
|
3308
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3559
3309
|
const response = {
|
|
3560
3310
|
$metadata: deserializeMetadata(output),
|
|
3561
3311
|
...contents,
|
|
3562
3312
|
};
|
|
3563
|
-
return
|
|
3313
|
+
return response;
|
|
3564
3314
|
};
|
|
3565
3315
|
exports.de_UpdateResolverEndpointCommand = de_UpdateResolverEndpointCommand;
|
|
3566
3316
|
const de_UpdateResolverEndpointCommandError = async (output, context) => {
|
|
@@ -3587,10 +3337,9 @@ const de_UpdateResolverEndpointCommandError = async (output, context) => {
|
|
|
3587
3337
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3588
3338
|
default:
|
|
3589
3339
|
const parsedBody = parsedOutput.body;
|
|
3590
|
-
|
|
3340
|
+
return throwDefaultError({
|
|
3591
3341
|
output,
|
|
3592
3342
|
parsedBody,
|
|
3593
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3594
3343
|
errorCode,
|
|
3595
3344
|
});
|
|
3596
3345
|
}
|
|
@@ -3601,12 +3350,12 @@ const de_UpdateResolverRuleCommand = async (output, context) => {
|
|
|
3601
3350
|
}
|
|
3602
3351
|
const data = await parseBody(output.body, context);
|
|
3603
3352
|
let contents = {};
|
|
3604
|
-
contents =
|
|
3353
|
+
contents = (0, smithy_client_1._json)(data);
|
|
3605
3354
|
const response = {
|
|
3606
3355
|
$metadata: deserializeMetadata(output),
|
|
3607
3356
|
...contents,
|
|
3608
3357
|
};
|
|
3609
|
-
return
|
|
3358
|
+
return response;
|
|
3610
3359
|
};
|
|
3611
3360
|
exports.de_UpdateResolverRuleCommand = de_UpdateResolverRuleCommand;
|
|
3612
3361
|
const de_UpdateResolverRuleCommandError = async (output, context) => {
|
|
@@ -3639,17 +3388,16 @@ const de_UpdateResolverRuleCommandError = async (output, context) => {
|
|
|
3639
3388
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3640
3389
|
default:
|
|
3641
3390
|
const parsedBody = parsedOutput.body;
|
|
3642
|
-
|
|
3391
|
+
return throwDefaultError({
|
|
3643
3392
|
output,
|
|
3644
3393
|
parsedBody,
|
|
3645
|
-
exceptionCtor: Route53ResolverServiceException_1.Route53ResolverServiceException,
|
|
3646
3394
|
errorCode,
|
|
3647
3395
|
});
|
|
3648
3396
|
}
|
|
3649
3397
|
};
|
|
3650
3398
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3651
3399
|
const body = parsedOutput.body;
|
|
3652
|
-
const deserialized =
|
|
3400
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3653
3401
|
const exception = new models_0_1.AccessDeniedException({
|
|
3654
3402
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3655
3403
|
...deserialized,
|
|
@@ -3658,7 +3406,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
3658
3406
|
};
|
|
3659
3407
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3660
3408
|
const body = parsedOutput.body;
|
|
3661
|
-
const deserialized =
|
|
3409
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3662
3410
|
const exception = new models_0_1.ConflictException({
|
|
3663
3411
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3664
3412
|
...deserialized,
|
|
@@ -3667,7 +3415,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
3667
3415
|
};
|
|
3668
3416
|
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
3669
3417
|
const body = parsedOutput.body;
|
|
3670
|
-
const deserialized =
|
|
3418
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3671
3419
|
const exception = new models_0_1.InternalServiceErrorException({
|
|
3672
3420
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3673
3421
|
...deserialized,
|
|
@@ -3676,7 +3424,7 @@ const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
3676
3424
|
};
|
|
3677
3425
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
3678
3426
|
const body = parsedOutput.body;
|
|
3679
|
-
const deserialized =
|
|
3427
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3680
3428
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
3681
3429
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3682
3430
|
...deserialized,
|
|
@@ -3685,7 +3433,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
3685
3433
|
};
|
|
3686
3434
|
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
3687
3435
|
const body = parsedOutput.body;
|
|
3688
|
-
const deserialized =
|
|
3436
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3689
3437
|
const exception = new models_0_1.InvalidParameterException({
|
|
3690
3438
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3691
3439
|
...deserialized,
|
|
@@ -3694,7 +3442,7 @@ const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
|
3694
3442
|
};
|
|
3695
3443
|
const de_InvalidPolicyDocumentRes = async (parsedOutput, context) => {
|
|
3696
3444
|
const body = parsedOutput.body;
|
|
3697
|
-
const deserialized =
|
|
3445
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3698
3446
|
const exception = new models_0_1.InvalidPolicyDocument({
|
|
3699
3447
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3700
3448
|
...deserialized,
|
|
@@ -3703,7 +3451,7 @@ const de_InvalidPolicyDocumentRes = async (parsedOutput, context) => {
|
|
|
3703
3451
|
};
|
|
3704
3452
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
3705
3453
|
const body = parsedOutput.body;
|
|
3706
|
-
const deserialized =
|
|
3454
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3707
3455
|
const exception = new models_0_1.InvalidRequestException({
|
|
3708
3456
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3709
3457
|
...deserialized,
|
|
@@ -3712,7 +3460,7 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
3712
3460
|
};
|
|
3713
3461
|
const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
|
|
3714
3462
|
const body = parsedOutput.body;
|
|
3715
|
-
const deserialized =
|
|
3463
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3716
3464
|
const exception = new models_0_1.InvalidTagException({
|
|
3717
3465
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3718
3466
|
...deserialized,
|
|
@@ -3721,7 +3469,7 @@ const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
|
|
|
3721
3469
|
};
|
|
3722
3470
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
3723
3471
|
const body = parsedOutput.body;
|
|
3724
|
-
const deserialized =
|
|
3472
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3725
3473
|
const exception = new models_0_1.LimitExceededException({
|
|
3726
3474
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3727
3475
|
...deserialized,
|
|
@@ -3730,7 +3478,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
3730
3478
|
};
|
|
3731
3479
|
const de_ResourceExistsExceptionRes = async (parsedOutput, context) => {
|
|
3732
3480
|
const body = parsedOutput.body;
|
|
3733
|
-
const deserialized =
|
|
3481
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3734
3482
|
const exception = new models_0_1.ResourceExistsException({
|
|
3735
3483
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3736
3484
|
...deserialized,
|
|
@@ -3739,7 +3487,7 @@ const de_ResourceExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
3739
3487
|
};
|
|
3740
3488
|
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
3741
3489
|
const body = parsedOutput.body;
|
|
3742
|
-
const deserialized =
|
|
3490
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3743
3491
|
const exception = new models_0_1.ResourceInUseException({
|
|
3744
3492
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3745
3493
|
...deserialized,
|
|
@@ -3748,7 +3496,7 @@ const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
|
3748
3496
|
};
|
|
3749
3497
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3750
3498
|
const body = parsedOutput.body;
|
|
3751
|
-
const deserialized =
|
|
3499
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3752
3500
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
3753
3501
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3754
3502
|
...deserialized,
|
|
@@ -3757,7 +3505,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
3757
3505
|
};
|
|
3758
3506
|
const de_ResourceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
3759
3507
|
const body = parsedOutput.body;
|
|
3760
|
-
const deserialized =
|
|
3508
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3761
3509
|
const exception = new models_0_1.ResourceUnavailableException({
|
|
3762
3510
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3763
3511
|
...deserialized,
|
|
@@ -3766,7 +3514,7 @@ const de_ResourceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
3766
3514
|
};
|
|
3767
3515
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
3768
3516
|
const body = parsedOutput.body;
|
|
3769
|
-
const deserialized =
|
|
3517
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3770
3518
|
const exception = new models_0_1.ThrottlingException({
|
|
3771
3519
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3772
3520
|
...deserialized,
|
|
@@ -3775,7 +3523,7 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
3775
3523
|
};
|
|
3776
3524
|
const de_UnknownResourceExceptionRes = async (parsedOutput, context) => {
|
|
3777
3525
|
const body = parsedOutput.body;
|
|
3778
|
-
const deserialized =
|
|
3526
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3779
3527
|
const exception = new models_0_1.UnknownResourceException({
|
|
3780
3528
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3781
3529
|
...deserialized,
|
|
@@ -3784,7 +3532,7 @@ const de_UnknownResourceExceptionRes = async (parsedOutput, context) => {
|
|
|
3784
3532
|
};
|
|
3785
3533
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
3786
3534
|
const body = parsedOutput.body;
|
|
3787
|
-
const deserialized =
|
|
3535
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
3788
3536
|
const exception = new models_0_1.ValidationException({
|
|
3789
3537
|
$metadata: deserializeMetadata(parsedOutput),
|
|
3790
3538
|
...deserialized,
|
|
@@ -3792,1430 +3540,90 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
3792
3540
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
3793
3541
|
};
|
|
3794
3542
|
const se_AssociateFirewallRuleGroupRequest = (input, context) => {
|
|
3795
|
-
return {
|
|
3796
|
-
CreatorRequestId:
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
};
|
|
3804
|
-
};
|
|
3805
|
-
const se_AssociateResolverEndpointIpAddressRequest = (input, context) => {
|
|
3806
|
-
return {
|
|
3807
|
-
...(input.IpAddress != null && { IpAddress: se_IpAddressUpdate(input.IpAddress, context) }),
|
|
3808
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3809
|
-
};
|
|
3810
|
-
};
|
|
3811
|
-
const se_AssociateResolverQueryLogConfigRequest = (input, context) => {
|
|
3812
|
-
return {
|
|
3813
|
-
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
3814
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3815
|
-
};
|
|
3816
|
-
};
|
|
3817
|
-
const se_AssociateResolverRuleRequest = (input, context) => {
|
|
3818
|
-
return {
|
|
3819
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3820
|
-
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
3821
|
-
...(input.VPCId != null && { VPCId: input.VPCId }),
|
|
3822
|
-
};
|
|
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: [],
|
|
3551
|
+
});
|
|
3823
3552
|
};
|
|
3824
3553
|
const se_CreateFirewallDomainListRequest = (input, context) => {
|
|
3825
|
-
return {
|
|
3826
|
-
CreatorRequestId:
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
};
|
|
3554
|
+
return (0, smithy_client_1.take)(input, {
|
|
3555
|
+
CreatorRequestId: (_) => _ ?? (0, uuid_1.v4)(),
|
|
3556
|
+
Name: [],
|
|
3557
|
+
Tags: smithy_client_1._json,
|
|
3558
|
+
});
|
|
3830
3559
|
};
|
|
3831
3560
|
const se_CreateFirewallRuleGroupRequest = (input, context) => {
|
|
3832
|
-
return {
|
|
3833
|
-
CreatorRequestId:
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
};
|
|
3837
|
-
};
|
|
3838
|
-
const se_CreateFirewallRuleRequest = (input, context) => {
|
|
3839
|
-
return {
|
|
3840
|
-
...(input.Action != null && { Action: input.Action }),
|
|
3841
|
-
...(input.BlockOverrideDnsType != null && { BlockOverrideDnsType: input.BlockOverrideDnsType }),
|
|
3842
|
-
...(input.BlockOverrideDomain != null && { BlockOverrideDomain: input.BlockOverrideDomain }),
|
|
3843
|
-
...(input.BlockOverrideTtl != null && { BlockOverrideTtl: input.BlockOverrideTtl }),
|
|
3844
|
-
...(input.BlockResponse != null && { BlockResponse: input.BlockResponse }),
|
|
3845
|
-
CreatorRequestId: input.CreatorRequestId ?? (0, uuid_1.v4)(),
|
|
3846
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
3847
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3848
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3849
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
3850
|
-
};
|
|
3851
|
-
};
|
|
3852
|
-
const se_CreateResolverEndpointRequest = (input, context) => {
|
|
3853
|
-
return {
|
|
3854
|
-
...(input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId }),
|
|
3855
|
-
...(input.Direction != null && { Direction: input.Direction }),
|
|
3856
|
-
...(input.IpAddresses != null && { IpAddresses: se_IpAddressesRequest(input.IpAddresses, context) }),
|
|
3857
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3858
|
-
...(input.ResolverEndpointType != null && { ResolverEndpointType: input.ResolverEndpointType }),
|
|
3859
|
-
...(input.SecurityGroupIds != null && { SecurityGroupIds: se_SecurityGroupIds(input.SecurityGroupIds, context) }),
|
|
3860
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3861
|
-
};
|
|
3862
|
-
};
|
|
3863
|
-
const se_CreateResolverQueryLogConfigRequest = (input, context) => {
|
|
3864
|
-
return {
|
|
3865
|
-
CreatorRequestId: input.CreatorRequestId ?? (0, uuid_1.v4)(),
|
|
3866
|
-
...(input.DestinationArn != null && { DestinationArn: input.DestinationArn }),
|
|
3867
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3868
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3869
|
-
};
|
|
3870
|
-
};
|
|
3871
|
-
const se_CreateResolverRuleRequest = (input, context) => {
|
|
3872
|
-
return {
|
|
3873
|
-
...(input.CreatorRequestId != null && { CreatorRequestId: input.CreatorRequestId }),
|
|
3874
|
-
...(input.DomainName != null && { DomainName: input.DomainName }),
|
|
3875
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3876
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3877
|
-
...(input.RuleType != null && { RuleType: input.RuleType }),
|
|
3878
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
3879
|
-
...(input.TargetIps != null && { TargetIps: se_TargetList(input.TargetIps, context) }),
|
|
3880
|
-
};
|
|
3881
|
-
};
|
|
3882
|
-
const se_DeleteFirewallDomainListRequest = (input, context) => {
|
|
3883
|
-
return {
|
|
3884
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
3885
|
-
};
|
|
3886
|
-
};
|
|
3887
|
-
const se_DeleteFirewallRuleGroupRequest = (input, context) => {
|
|
3888
|
-
return {
|
|
3889
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3890
|
-
};
|
|
3891
|
-
};
|
|
3892
|
-
const se_DeleteFirewallRuleRequest = (input, context) => {
|
|
3893
|
-
return {
|
|
3894
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
3895
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3896
|
-
};
|
|
3897
|
-
};
|
|
3898
|
-
const se_DeleteResolverEndpointRequest = (input, context) => {
|
|
3899
|
-
return {
|
|
3900
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3901
|
-
};
|
|
3902
|
-
};
|
|
3903
|
-
const se_DeleteResolverQueryLogConfigRequest = (input, context) => {
|
|
3904
|
-
return {
|
|
3905
|
-
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
3906
|
-
};
|
|
3907
|
-
};
|
|
3908
|
-
const se_DeleteResolverRuleRequest = (input, context) => {
|
|
3909
|
-
return {
|
|
3910
|
-
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
3911
|
-
};
|
|
3912
|
-
};
|
|
3913
|
-
const se_DisassociateFirewallRuleGroupRequest = (input, context) => {
|
|
3914
|
-
return {
|
|
3915
|
-
...(input.FirewallRuleGroupAssociationId != null && {
|
|
3916
|
-
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
3917
|
-
}),
|
|
3918
|
-
};
|
|
3919
|
-
};
|
|
3920
|
-
const se_DisassociateResolverEndpointIpAddressRequest = (input, context) => {
|
|
3921
|
-
return {
|
|
3922
|
-
...(input.IpAddress != null && { IpAddress: se_IpAddressUpdate(input.IpAddress, context) }),
|
|
3923
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
3924
|
-
};
|
|
3925
|
-
};
|
|
3926
|
-
const se_DisassociateResolverQueryLogConfigRequest = (input, context) => {
|
|
3927
|
-
return {
|
|
3928
|
-
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
3929
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3930
|
-
};
|
|
3931
|
-
};
|
|
3932
|
-
const se_DisassociateResolverRuleRequest = (input, context) => {
|
|
3933
|
-
return {
|
|
3934
|
-
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
3935
|
-
...(input.VPCId != null && { VPCId: input.VPCId }),
|
|
3936
|
-
};
|
|
3937
|
-
};
|
|
3938
|
-
const se_Filter = (input, context) => {
|
|
3939
|
-
return {
|
|
3940
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3941
|
-
...(input.Values != null && { Values: se_FilterValues(input.Values, context) }),
|
|
3942
|
-
};
|
|
3943
|
-
};
|
|
3944
|
-
const se_Filters = (input, context) => {
|
|
3945
|
-
return input
|
|
3946
|
-
.filter((e) => e != null)
|
|
3947
|
-
.map((entry) => {
|
|
3948
|
-
return se_Filter(entry, context);
|
|
3561
|
+
return (0, smithy_client_1.take)(input, {
|
|
3562
|
+
CreatorRequestId: (_) => _ ?? (0, uuid_1.v4)(),
|
|
3563
|
+
Name: [],
|
|
3564
|
+
Tags: smithy_client_1._json,
|
|
3949
3565
|
});
|
|
3950
3566
|
};
|
|
3951
|
-
const
|
|
3952
|
-
return input
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
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: [],
|
|
3956
3579
|
});
|
|
3957
3580
|
};
|
|
3958
|
-
const
|
|
3959
|
-
return input
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
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,
|
|
3963
3587
|
});
|
|
3964
3588
|
};
|
|
3965
|
-
const
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
}
|
|
3975
|
-
|
|
3976
|
-
return {
|
|
3977
|
-
...(input.FirewallRuleGroupAssociationId != null && {
|
|
3978
|
-
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
3979
|
-
}),
|
|
3980
|
-
};
|
|
3981
|
-
};
|
|
3982
|
-
const se_GetFirewallRuleGroupPolicyRequest = (input, context) => {
|
|
3983
|
-
return {
|
|
3984
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
3985
|
-
};
|
|
3986
|
-
};
|
|
3987
|
-
const se_GetFirewallRuleGroupRequest = (input, context) => {
|
|
3988
|
-
return {
|
|
3989
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
3990
|
-
};
|
|
3991
|
-
};
|
|
3992
|
-
const se_GetResolverConfigRequest = (input, context) => {
|
|
3993
|
-
return {
|
|
3994
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
3995
|
-
};
|
|
3996
|
-
};
|
|
3997
|
-
const se_GetResolverDnssecConfigRequest = (input, context) => {
|
|
3998
|
-
return {
|
|
3999
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4000
|
-
};
|
|
4001
|
-
};
|
|
4002
|
-
const se_GetResolverEndpointRequest = (input, context) => {
|
|
4003
|
-
return {
|
|
4004
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4005
|
-
};
|
|
4006
|
-
};
|
|
4007
|
-
const se_GetResolverQueryLogConfigAssociationRequest = (input, context) => {
|
|
4008
|
-
return {
|
|
4009
|
-
...(input.ResolverQueryLogConfigAssociationId != null && {
|
|
4010
|
-
ResolverQueryLogConfigAssociationId: input.ResolverQueryLogConfigAssociationId,
|
|
4011
|
-
}),
|
|
4012
|
-
};
|
|
4013
|
-
};
|
|
4014
|
-
const se_GetResolverQueryLogConfigPolicyRequest = (input, context) => {
|
|
4015
|
-
return {
|
|
4016
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
4017
|
-
};
|
|
4018
|
-
};
|
|
4019
|
-
const se_GetResolverQueryLogConfigRequest = (input, context) => {
|
|
4020
|
-
return {
|
|
4021
|
-
...(input.ResolverQueryLogConfigId != null && { ResolverQueryLogConfigId: input.ResolverQueryLogConfigId }),
|
|
4022
|
-
};
|
|
4023
|
-
};
|
|
4024
|
-
const se_GetResolverRuleAssociationRequest = (input, context) => {
|
|
4025
|
-
return {
|
|
4026
|
-
...(input.ResolverRuleAssociationId != null && { ResolverRuleAssociationId: input.ResolverRuleAssociationId }),
|
|
4027
|
-
};
|
|
3589
|
+
const deserializeMetadata = (output) => ({
|
|
3590
|
+
httpStatusCode: output.statusCode,
|
|
3591
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
3592
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3593
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
3594
|
+
});
|
|
3595
|
+
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
3596
|
+
if (streamBody instanceof Uint8Array) {
|
|
3597
|
+
return Promise.resolve(streamBody);
|
|
3598
|
+
}
|
|
3599
|
+
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
4028
3600
|
};
|
|
4029
|
-
const
|
|
4030
|
-
|
|
4031
|
-
|
|
3601
|
+
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3602
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(Route53ResolverServiceException_1.Route53ResolverServiceException);
|
|
3603
|
+
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3604
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3605
|
+
const contents = {
|
|
3606
|
+
protocol,
|
|
3607
|
+
hostname,
|
|
3608
|
+
port,
|
|
3609
|
+
method: "POST",
|
|
3610
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
3611
|
+
headers,
|
|
4032
3612
|
};
|
|
3613
|
+
if (resolvedHostname !== undefined) {
|
|
3614
|
+
contents.hostname = resolvedHostname;
|
|
3615
|
+
}
|
|
3616
|
+
if (body !== undefined) {
|
|
3617
|
+
contents.body = body;
|
|
3618
|
+
}
|
|
3619
|
+
return new protocol_http_1.HttpRequest(contents);
|
|
4033
3620
|
};
|
|
4034
|
-
|
|
3621
|
+
function sharedHeaders(operation) {
|
|
4035
3622
|
return {
|
|
4036
|
-
|
|
3623
|
+
"content-type": "application/x-amz-json-1.1",
|
|
3624
|
+
"x-amz-target": `Route53Resolver.${operation}`,
|
|
4037
3625
|
};
|
|
4038
|
-
}
|
|
4039
|
-
const se_ImportFirewallDomainsRequest = (input, context) => {
|
|
4040
|
-
return {
|
|
4041
|
-
...(input.DomainFileUrl != null && { DomainFileUrl: input.DomainFileUrl }),
|
|
4042
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4043
|
-
...(input.Operation != null && { Operation: input.Operation }),
|
|
4044
|
-
};
|
|
4045
|
-
};
|
|
4046
|
-
const se_IpAddressesRequest = (input, context) => {
|
|
4047
|
-
return input
|
|
4048
|
-
.filter((e) => e != null)
|
|
4049
|
-
.map((entry) => {
|
|
4050
|
-
return se_IpAddressRequest(entry, context);
|
|
4051
|
-
});
|
|
4052
|
-
};
|
|
4053
|
-
const se_IpAddressRequest = (input, context) => {
|
|
4054
|
-
return {
|
|
4055
|
-
...(input.Ip != null && { Ip: input.Ip }),
|
|
4056
|
-
...(input.Ipv6 != null && { Ipv6: input.Ipv6 }),
|
|
4057
|
-
...(input.SubnetId != null && { SubnetId: input.SubnetId }),
|
|
4058
|
-
};
|
|
4059
|
-
};
|
|
4060
|
-
const se_IpAddressUpdate = (input, context) => {
|
|
4061
|
-
return {
|
|
4062
|
-
...(input.Ip != null && { Ip: input.Ip }),
|
|
4063
|
-
...(input.IpId != null && { IpId: input.IpId }),
|
|
4064
|
-
...(input.Ipv6 != null && { Ipv6: input.Ipv6 }),
|
|
4065
|
-
...(input.SubnetId != null && { SubnetId: input.SubnetId }),
|
|
4066
|
-
};
|
|
4067
|
-
};
|
|
4068
|
-
const se_ListFirewallConfigsRequest = (input, context) => {
|
|
4069
|
-
return {
|
|
4070
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4071
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4072
|
-
};
|
|
4073
|
-
};
|
|
4074
|
-
const se_ListFirewallDomainListsRequest = (input, context) => {
|
|
4075
|
-
return {
|
|
4076
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4077
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4078
|
-
};
|
|
4079
|
-
};
|
|
4080
|
-
const se_ListFirewallDomainsRequest = (input, context) => {
|
|
4081
|
-
return {
|
|
4082
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4083
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4084
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4085
|
-
};
|
|
4086
|
-
};
|
|
4087
|
-
const se_ListFirewallRuleGroupAssociationsRequest = (input, context) => {
|
|
4088
|
-
return {
|
|
4089
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4090
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4091
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4092
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
4093
|
-
...(input.Status != null && { Status: input.Status }),
|
|
4094
|
-
...(input.VpcId != null && { VpcId: input.VpcId }),
|
|
4095
|
-
};
|
|
4096
|
-
};
|
|
4097
|
-
const se_ListFirewallRuleGroupsRequest = (input, context) => {
|
|
4098
|
-
return {
|
|
4099
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4100
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4101
|
-
};
|
|
4102
|
-
};
|
|
4103
|
-
const se_ListFirewallRulesRequest = (input, context) => {
|
|
4104
|
-
return {
|
|
4105
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4106
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4107
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4108
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4109
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
4110
|
-
};
|
|
4111
|
-
};
|
|
4112
|
-
const se_ListResolverConfigsRequest = (input, context) => {
|
|
4113
|
-
return {
|
|
4114
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4115
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4116
|
-
};
|
|
4117
|
-
};
|
|
4118
|
-
const se_ListResolverDnssecConfigsRequest = (input, context) => {
|
|
4119
|
-
return {
|
|
4120
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
4121
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4122
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4123
|
-
};
|
|
4124
|
-
};
|
|
4125
|
-
const se_ListResolverEndpointIpAddressesRequest = (input, context) => {
|
|
4126
|
-
return {
|
|
4127
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4128
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4129
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4130
|
-
};
|
|
4131
|
-
};
|
|
4132
|
-
const se_ListResolverEndpointsRequest = (input, context) => {
|
|
4133
|
-
return {
|
|
4134
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
4135
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4136
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4137
|
-
};
|
|
4138
|
-
};
|
|
4139
|
-
const se_ListResolverQueryLogConfigAssociationsRequest = (input, context) => {
|
|
4140
|
-
return {
|
|
4141
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
4142
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4143
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4144
|
-
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
4145
|
-
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
4146
|
-
};
|
|
4147
|
-
};
|
|
4148
|
-
const se_ListResolverQueryLogConfigsRequest = (input, context) => {
|
|
4149
|
-
return {
|
|
4150
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
4151
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4152
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4153
|
-
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
4154
|
-
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
4155
|
-
};
|
|
4156
|
-
};
|
|
4157
|
-
const se_ListResolverRuleAssociationsRequest = (input, context) => {
|
|
4158
|
-
return {
|
|
4159
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
4160
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4161
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4162
|
-
};
|
|
4163
|
-
};
|
|
4164
|
-
const se_ListResolverRulesRequest = (input, context) => {
|
|
4165
|
-
return {
|
|
4166
|
-
...(input.Filters != null && { Filters: se_Filters(input.Filters, context) }),
|
|
4167
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4168
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4169
|
-
};
|
|
4170
|
-
};
|
|
4171
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
4172
|
-
return {
|
|
4173
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
4174
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
4175
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4176
|
-
};
|
|
4177
|
-
};
|
|
4178
|
-
const se_PutFirewallRuleGroupPolicyRequest = (input, context) => {
|
|
4179
|
-
return {
|
|
4180
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
4181
|
-
...(input.FirewallRuleGroupPolicy != null && { FirewallRuleGroupPolicy: input.FirewallRuleGroupPolicy }),
|
|
4182
|
-
};
|
|
4183
|
-
};
|
|
4184
|
-
const se_PutResolverQueryLogConfigPolicyRequest = (input, context) => {
|
|
4185
|
-
return {
|
|
4186
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
4187
|
-
...(input.ResolverQueryLogConfigPolicy != null && {
|
|
4188
|
-
ResolverQueryLogConfigPolicy: input.ResolverQueryLogConfigPolicy,
|
|
4189
|
-
}),
|
|
4190
|
-
};
|
|
4191
|
-
};
|
|
4192
|
-
const se_PutResolverRulePolicyRequest = (input, context) => {
|
|
4193
|
-
return {
|
|
4194
|
-
...(input.Arn != null && { Arn: input.Arn }),
|
|
4195
|
-
...(input.ResolverRulePolicy != null && { ResolverRulePolicy: input.ResolverRulePolicy }),
|
|
4196
|
-
};
|
|
4197
|
-
};
|
|
4198
|
-
const se_ResolverRuleConfig = (input, context) => {
|
|
4199
|
-
return {
|
|
4200
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4201
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4202
|
-
...(input.TargetIps != null && { TargetIps: se_TargetList(input.TargetIps, context) }),
|
|
4203
|
-
};
|
|
4204
|
-
};
|
|
4205
|
-
const se_SecurityGroupIds = (input, context) => {
|
|
4206
|
-
return input
|
|
4207
|
-
.filter((e) => e != null)
|
|
4208
|
-
.map((entry) => {
|
|
4209
|
-
return entry;
|
|
4210
|
-
});
|
|
4211
|
-
};
|
|
4212
|
-
const se_Tag = (input, context) => {
|
|
4213
|
-
return {
|
|
4214
|
-
...(input.Key != null && { Key: input.Key }),
|
|
4215
|
-
...(input.Value != null && { Value: input.Value }),
|
|
4216
|
-
};
|
|
4217
|
-
};
|
|
4218
|
-
const se_TagKeyList = (input, context) => {
|
|
4219
|
-
return input
|
|
4220
|
-
.filter((e) => e != null)
|
|
4221
|
-
.map((entry) => {
|
|
4222
|
-
return entry;
|
|
4223
|
-
});
|
|
4224
|
-
};
|
|
4225
|
-
const se_TagList = (input, context) => {
|
|
4226
|
-
return input
|
|
4227
|
-
.filter((e) => e != null)
|
|
4228
|
-
.map((entry) => {
|
|
4229
|
-
return se_Tag(entry, context);
|
|
4230
|
-
});
|
|
4231
|
-
};
|
|
4232
|
-
const se_TagResourceRequest = (input, context) => {
|
|
4233
|
-
return {
|
|
4234
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4235
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
4236
|
-
};
|
|
4237
|
-
};
|
|
4238
|
-
const se_TargetAddress = (input, context) => {
|
|
4239
|
-
return {
|
|
4240
|
-
...(input.Ip != null && { Ip: input.Ip }),
|
|
4241
|
-
...(input.Ipv6 != null && { Ipv6: input.Ipv6 }),
|
|
4242
|
-
...(input.Port != null && { Port: input.Port }),
|
|
4243
|
-
};
|
|
4244
|
-
};
|
|
4245
|
-
const se_TargetList = (input, context) => {
|
|
4246
|
-
return input
|
|
4247
|
-
.filter((e) => e != null)
|
|
4248
|
-
.map((entry) => {
|
|
4249
|
-
return se_TargetAddress(entry, context);
|
|
4250
|
-
});
|
|
4251
|
-
};
|
|
4252
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
4253
|
-
return {
|
|
4254
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
4255
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
4256
|
-
};
|
|
4257
|
-
};
|
|
4258
|
-
const se_UpdateFirewallConfigRequest = (input, context) => {
|
|
4259
|
-
return {
|
|
4260
|
-
...(input.FirewallFailOpen != null && { FirewallFailOpen: input.FirewallFailOpen }),
|
|
4261
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4262
|
-
};
|
|
4263
|
-
};
|
|
4264
|
-
const se_UpdateFirewallDomainsRequest = (input, context) => {
|
|
4265
|
-
return {
|
|
4266
|
-
...(input.Domains != null && { Domains: se_FirewallDomains(input.Domains, context) }),
|
|
4267
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4268
|
-
...(input.Operation != null && { Operation: input.Operation }),
|
|
4269
|
-
};
|
|
4270
|
-
};
|
|
4271
|
-
const se_UpdateFirewallRuleGroupAssociationRequest = (input, context) => {
|
|
4272
|
-
return {
|
|
4273
|
-
...(input.FirewallRuleGroupAssociationId != null && {
|
|
4274
|
-
FirewallRuleGroupAssociationId: input.FirewallRuleGroupAssociationId,
|
|
4275
|
-
}),
|
|
4276
|
-
...(input.MutationProtection != null && { MutationProtection: input.MutationProtection }),
|
|
4277
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4278
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
4279
|
-
};
|
|
4280
|
-
};
|
|
4281
|
-
const se_UpdateFirewallRuleRequest = (input, context) => {
|
|
4282
|
-
return {
|
|
4283
|
-
...(input.Action != null && { Action: input.Action }),
|
|
4284
|
-
...(input.BlockOverrideDnsType != null && { BlockOverrideDnsType: input.BlockOverrideDnsType }),
|
|
4285
|
-
...(input.BlockOverrideDomain != null && { BlockOverrideDomain: input.BlockOverrideDomain }),
|
|
4286
|
-
...(input.BlockOverrideTtl != null && { BlockOverrideTtl: input.BlockOverrideTtl }),
|
|
4287
|
-
...(input.BlockResponse != null && { BlockResponse: input.BlockResponse }),
|
|
4288
|
-
...(input.FirewallDomainListId != null && { FirewallDomainListId: input.FirewallDomainListId }),
|
|
4289
|
-
...(input.FirewallRuleGroupId != null && { FirewallRuleGroupId: input.FirewallRuleGroupId }),
|
|
4290
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4291
|
-
...(input.Priority != null && { Priority: input.Priority }),
|
|
4292
|
-
};
|
|
4293
|
-
};
|
|
4294
|
-
const se_UpdateIpAddress = (input, context) => {
|
|
4295
|
-
return {
|
|
4296
|
-
...(input.IpId != null && { IpId: input.IpId }),
|
|
4297
|
-
...(input.Ipv6 != null && { Ipv6: input.Ipv6 }),
|
|
4298
|
-
};
|
|
4299
|
-
};
|
|
4300
|
-
const se_UpdateIpAddresses = (input, context) => {
|
|
4301
|
-
return input
|
|
4302
|
-
.filter((e) => e != null)
|
|
4303
|
-
.map((entry) => {
|
|
4304
|
-
return se_UpdateIpAddress(entry, context);
|
|
4305
|
-
});
|
|
4306
|
-
};
|
|
4307
|
-
const se_UpdateResolverConfigRequest = (input, context) => {
|
|
4308
|
-
return {
|
|
4309
|
-
...(input.AutodefinedReverseFlag != null && { AutodefinedReverseFlag: input.AutodefinedReverseFlag }),
|
|
4310
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4311
|
-
};
|
|
4312
|
-
};
|
|
4313
|
-
const se_UpdateResolverDnssecConfigRequest = (input, context) => {
|
|
4314
|
-
return {
|
|
4315
|
-
...(input.ResourceId != null && { ResourceId: input.ResourceId }),
|
|
4316
|
-
...(input.Validation != null && { Validation: input.Validation }),
|
|
4317
|
-
};
|
|
4318
|
-
};
|
|
4319
|
-
const se_UpdateResolverEndpointRequest = (input, context) => {
|
|
4320
|
-
return {
|
|
4321
|
-
...(input.Name != null && { Name: input.Name }),
|
|
4322
|
-
...(input.ResolverEndpointId != null && { ResolverEndpointId: input.ResolverEndpointId }),
|
|
4323
|
-
...(input.ResolverEndpointType != null && { ResolverEndpointType: input.ResolverEndpointType }),
|
|
4324
|
-
...(input.UpdateIpAddresses != null && {
|
|
4325
|
-
UpdateIpAddresses: se_UpdateIpAddresses(input.UpdateIpAddresses, context),
|
|
4326
|
-
}),
|
|
4327
|
-
};
|
|
4328
|
-
};
|
|
4329
|
-
const se_UpdateResolverRuleRequest = (input, context) => {
|
|
4330
|
-
return {
|
|
4331
|
-
...(input.Config != null && { Config: se_ResolverRuleConfig(input.Config, context) }),
|
|
4332
|
-
...(input.ResolverRuleId != null && { ResolverRuleId: input.ResolverRuleId }),
|
|
4333
|
-
};
|
|
4334
|
-
};
|
|
4335
|
-
const de_AccessDeniedException = (output, context) => {
|
|
4336
|
-
return {
|
|
4337
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4338
|
-
};
|
|
4339
|
-
};
|
|
4340
|
-
const de_AssociateFirewallRuleGroupResponse = (output, context) => {
|
|
4341
|
-
return {
|
|
4342
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
4343
|
-
? de_FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
4344
|
-
: undefined,
|
|
4345
|
-
};
|
|
4346
|
-
};
|
|
4347
|
-
const de_AssociateResolverEndpointIpAddressResponse = (output, context) => {
|
|
4348
|
-
return {
|
|
4349
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4350
|
-
};
|
|
4351
|
-
};
|
|
4352
|
-
const de_AssociateResolverQueryLogConfigResponse = (output, context) => {
|
|
4353
|
-
return {
|
|
4354
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
4355
|
-
? de_ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
4356
|
-
: undefined,
|
|
4357
|
-
};
|
|
4358
|
-
};
|
|
4359
|
-
const de_AssociateResolverRuleResponse = (output, context) => {
|
|
4360
|
-
return {
|
|
4361
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
4362
|
-
? de_ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
4363
|
-
: undefined,
|
|
4364
|
-
};
|
|
4365
|
-
};
|
|
4366
|
-
const de_ConflictException = (output, context) => {
|
|
4367
|
-
return {
|
|
4368
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4369
|
-
};
|
|
4370
|
-
};
|
|
4371
|
-
const de_CreateFirewallDomainListResponse = (output, context) => {
|
|
4372
|
-
return {
|
|
4373
|
-
FirewallDomainList: output.FirewallDomainList != null ? de_FirewallDomainList(output.FirewallDomainList, context) : undefined,
|
|
4374
|
-
};
|
|
4375
|
-
};
|
|
4376
|
-
const de_CreateFirewallRuleGroupResponse = (output, context) => {
|
|
4377
|
-
return {
|
|
4378
|
-
FirewallRuleGroup: output.FirewallRuleGroup != null ? de_FirewallRuleGroup(output.FirewallRuleGroup, context) : undefined,
|
|
4379
|
-
};
|
|
4380
|
-
};
|
|
4381
|
-
const de_CreateFirewallRuleResponse = (output, context) => {
|
|
4382
|
-
return {
|
|
4383
|
-
FirewallRule: output.FirewallRule != null ? de_FirewallRule(output.FirewallRule, context) : undefined,
|
|
4384
|
-
};
|
|
4385
|
-
};
|
|
4386
|
-
const de_CreateResolverEndpointResponse = (output, context) => {
|
|
4387
|
-
return {
|
|
4388
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4389
|
-
};
|
|
4390
|
-
};
|
|
4391
|
-
const de_CreateResolverQueryLogConfigResponse = (output, context) => {
|
|
4392
|
-
return {
|
|
4393
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
4394
|
-
? de_ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
4395
|
-
: undefined,
|
|
4396
|
-
};
|
|
4397
|
-
};
|
|
4398
|
-
const de_CreateResolverRuleResponse = (output, context) => {
|
|
4399
|
-
return {
|
|
4400
|
-
ResolverRule: output.ResolverRule != null ? de_ResolverRule(output.ResolverRule, context) : undefined,
|
|
4401
|
-
};
|
|
4402
|
-
};
|
|
4403
|
-
const de_DeleteFirewallDomainListResponse = (output, context) => {
|
|
4404
|
-
return {
|
|
4405
|
-
FirewallDomainList: output.FirewallDomainList != null ? de_FirewallDomainList(output.FirewallDomainList, context) : undefined,
|
|
4406
|
-
};
|
|
4407
|
-
};
|
|
4408
|
-
const de_DeleteFirewallRuleGroupResponse = (output, context) => {
|
|
4409
|
-
return {
|
|
4410
|
-
FirewallRuleGroup: output.FirewallRuleGroup != null ? de_FirewallRuleGroup(output.FirewallRuleGroup, context) : undefined,
|
|
4411
|
-
};
|
|
4412
|
-
};
|
|
4413
|
-
const de_DeleteFirewallRuleResponse = (output, context) => {
|
|
4414
|
-
return {
|
|
4415
|
-
FirewallRule: output.FirewallRule != null ? de_FirewallRule(output.FirewallRule, context) : undefined,
|
|
4416
|
-
};
|
|
4417
|
-
};
|
|
4418
|
-
const de_DeleteResolverEndpointResponse = (output, context) => {
|
|
4419
|
-
return {
|
|
4420
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4421
|
-
};
|
|
4422
|
-
};
|
|
4423
|
-
const de_DeleteResolverQueryLogConfigResponse = (output, context) => {
|
|
4424
|
-
return {
|
|
4425
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
4426
|
-
? de_ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
4427
|
-
: undefined,
|
|
4428
|
-
};
|
|
4429
|
-
};
|
|
4430
|
-
const de_DeleteResolverRuleResponse = (output, context) => {
|
|
4431
|
-
return {
|
|
4432
|
-
ResolverRule: output.ResolverRule != null ? de_ResolverRule(output.ResolverRule, context) : undefined,
|
|
4433
|
-
};
|
|
4434
|
-
};
|
|
4435
|
-
const de_DisassociateFirewallRuleGroupResponse = (output, context) => {
|
|
4436
|
-
return {
|
|
4437
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
4438
|
-
? de_FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
4439
|
-
: undefined,
|
|
4440
|
-
};
|
|
4441
|
-
};
|
|
4442
|
-
const de_DisassociateResolverEndpointIpAddressResponse = (output, context) => {
|
|
4443
|
-
return {
|
|
4444
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4445
|
-
};
|
|
4446
|
-
};
|
|
4447
|
-
const de_DisassociateResolverQueryLogConfigResponse = (output, context) => {
|
|
4448
|
-
return {
|
|
4449
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
4450
|
-
? de_ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
4451
|
-
: undefined,
|
|
4452
|
-
};
|
|
4453
|
-
};
|
|
4454
|
-
const de_DisassociateResolverRuleResponse = (output, context) => {
|
|
4455
|
-
return {
|
|
4456
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
4457
|
-
? de_ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
4458
|
-
: undefined,
|
|
4459
|
-
};
|
|
4460
|
-
};
|
|
4461
|
-
const de_FirewallConfig = (output, context) => {
|
|
4462
|
-
return {
|
|
4463
|
-
FirewallFailOpen: (0, smithy_client_1.expectString)(output.FirewallFailOpen),
|
|
4464
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4465
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4466
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
4467
|
-
};
|
|
4468
|
-
};
|
|
4469
|
-
const de_FirewallConfigList = (output, context) => {
|
|
4470
|
-
const retVal = (output || [])
|
|
4471
|
-
.filter((e) => e != null)
|
|
4472
|
-
.map((entry) => {
|
|
4473
|
-
if (entry === null) {
|
|
4474
|
-
return null;
|
|
4475
|
-
}
|
|
4476
|
-
return de_FirewallConfig(entry, context);
|
|
4477
|
-
});
|
|
4478
|
-
return retVal;
|
|
4479
|
-
};
|
|
4480
|
-
const de_FirewallDomainList = (output, context) => {
|
|
4481
|
-
return {
|
|
4482
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4483
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4484
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4485
|
-
DomainCount: (0, smithy_client_1.expectInt32)(output.DomainCount),
|
|
4486
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4487
|
-
ManagedOwnerName: (0, smithy_client_1.expectString)(output.ManagedOwnerName),
|
|
4488
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4489
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4490
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4491
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4492
|
-
};
|
|
4493
|
-
};
|
|
4494
|
-
const de_FirewallDomainListMetadata = (output, context) => {
|
|
4495
|
-
return {
|
|
4496
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4497
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4498
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4499
|
-
ManagedOwnerName: (0, smithy_client_1.expectString)(output.ManagedOwnerName),
|
|
4500
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4501
|
-
};
|
|
4502
|
-
};
|
|
4503
|
-
const de_FirewallDomainListMetadataList = (output, context) => {
|
|
4504
|
-
const retVal = (output || [])
|
|
4505
|
-
.filter((e) => e != null)
|
|
4506
|
-
.map((entry) => {
|
|
4507
|
-
if (entry === null) {
|
|
4508
|
-
return null;
|
|
4509
|
-
}
|
|
4510
|
-
return de_FirewallDomainListMetadata(entry, context);
|
|
4511
|
-
});
|
|
4512
|
-
return retVal;
|
|
4513
|
-
};
|
|
4514
|
-
const de_FirewallDomains = (output, context) => {
|
|
4515
|
-
const retVal = (output || [])
|
|
4516
|
-
.filter((e) => e != null)
|
|
4517
|
-
.map((entry) => {
|
|
4518
|
-
if (entry === null) {
|
|
4519
|
-
return null;
|
|
4520
|
-
}
|
|
4521
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
4522
|
-
});
|
|
4523
|
-
return retVal;
|
|
4524
|
-
};
|
|
4525
|
-
const de_FirewallRule = (output, context) => {
|
|
4526
|
-
return {
|
|
4527
|
-
Action: (0, smithy_client_1.expectString)(output.Action),
|
|
4528
|
-
BlockOverrideDnsType: (0, smithy_client_1.expectString)(output.BlockOverrideDnsType),
|
|
4529
|
-
BlockOverrideDomain: (0, smithy_client_1.expectString)(output.BlockOverrideDomain),
|
|
4530
|
-
BlockOverrideTtl: (0, smithy_client_1.expectInt32)(output.BlockOverrideTtl),
|
|
4531
|
-
BlockResponse: (0, smithy_client_1.expectString)(output.BlockResponse),
|
|
4532
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4533
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4534
|
-
FirewallDomainListId: (0, smithy_client_1.expectString)(output.FirewallDomainListId),
|
|
4535
|
-
FirewallRuleGroupId: (0, smithy_client_1.expectString)(output.FirewallRuleGroupId),
|
|
4536
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4537
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4538
|
-
Priority: (0, smithy_client_1.expectInt32)(output.Priority),
|
|
4539
|
-
};
|
|
4540
|
-
};
|
|
4541
|
-
const de_FirewallRuleGroup = (output, context) => {
|
|
4542
|
-
return {
|
|
4543
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4544
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4545
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4546
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4547
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4548
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4549
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4550
|
-
RuleCount: (0, smithy_client_1.expectInt32)(output.RuleCount),
|
|
4551
|
-
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
4552
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4553
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4554
|
-
};
|
|
4555
|
-
};
|
|
4556
|
-
const de_FirewallRuleGroupAssociation = (output, context) => {
|
|
4557
|
-
return {
|
|
4558
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4559
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4560
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4561
|
-
FirewallRuleGroupId: (0, smithy_client_1.expectString)(output.FirewallRuleGroupId),
|
|
4562
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4563
|
-
ManagedOwnerName: (0, smithy_client_1.expectString)(output.ManagedOwnerName),
|
|
4564
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4565
|
-
MutationProtection: (0, smithy_client_1.expectString)(output.MutationProtection),
|
|
4566
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4567
|
-
Priority: (0, smithy_client_1.expectInt32)(output.Priority),
|
|
4568
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4569
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4570
|
-
VpcId: (0, smithy_client_1.expectString)(output.VpcId),
|
|
4571
|
-
};
|
|
4572
|
-
};
|
|
4573
|
-
const de_FirewallRuleGroupAssociations = (output, context) => {
|
|
4574
|
-
const retVal = (output || [])
|
|
4575
|
-
.filter((e) => e != null)
|
|
4576
|
-
.map((entry) => {
|
|
4577
|
-
if (entry === null) {
|
|
4578
|
-
return null;
|
|
4579
|
-
}
|
|
4580
|
-
return de_FirewallRuleGroupAssociation(entry, context);
|
|
4581
|
-
});
|
|
4582
|
-
return retVal;
|
|
4583
|
-
};
|
|
4584
|
-
const de_FirewallRuleGroupMetadata = (output, context) => {
|
|
4585
|
-
return {
|
|
4586
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4587
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4588
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4589
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4590
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4591
|
-
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
4592
|
-
};
|
|
4593
|
-
};
|
|
4594
|
-
const de_FirewallRuleGroupMetadataList = (output, context) => {
|
|
4595
|
-
const retVal = (output || [])
|
|
4596
|
-
.filter((e) => e != null)
|
|
4597
|
-
.map((entry) => {
|
|
4598
|
-
if (entry === null) {
|
|
4599
|
-
return null;
|
|
4600
|
-
}
|
|
4601
|
-
return de_FirewallRuleGroupMetadata(entry, context);
|
|
4602
|
-
});
|
|
4603
|
-
return retVal;
|
|
4604
|
-
};
|
|
4605
|
-
const de_FirewallRules = (output, context) => {
|
|
4606
|
-
const retVal = (output || [])
|
|
4607
|
-
.filter((e) => e != null)
|
|
4608
|
-
.map((entry) => {
|
|
4609
|
-
if (entry === null) {
|
|
4610
|
-
return null;
|
|
4611
|
-
}
|
|
4612
|
-
return de_FirewallRule(entry, context);
|
|
4613
|
-
});
|
|
4614
|
-
return retVal;
|
|
4615
|
-
};
|
|
4616
|
-
const de_GetFirewallConfigResponse = (output, context) => {
|
|
4617
|
-
return {
|
|
4618
|
-
FirewallConfig: output.FirewallConfig != null ? de_FirewallConfig(output.FirewallConfig, context) : undefined,
|
|
4619
|
-
};
|
|
4620
|
-
};
|
|
4621
|
-
const de_GetFirewallDomainListResponse = (output, context) => {
|
|
4622
|
-
return {
|
|
4623
|
-
FirewallDomainList: output.FirewallDomainList != null ? de_FirewallDomainList(output.FirewallDomainList, context) : undefined,
|
|
4624
|
-
};
|
|
4625
|
-
};
|
|
4626
|
-
const de_GetFirewallRuleGroupAssociationResponse = (output, context) => {
|
|
4627
|
-
return {
|
|
4628
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
4629
|
-
? de_FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
4630
|
-
: undefined,
|
|
4631
|
-
};
|
|
4632
|
-
};
|
|
4633
|
-
const de_GetFirewallRuleGroupPolicyResponse = (output, context) => {
|
|
4634
|
-
return {
|
|
4635
|
-
FirewallRuleGroupPolicy: (0, smithy_client_1.expectString)(output.FirewallRuleGroupPolicy),
|
|
4636
|
-
};
|
|
4637
|
-
};
|
|
4638
|
-
const de_GetFirewallRuleGroupResponse = (output, context) => {
|
|
4639
|
-
return {
|
|
4640
|
-
FirewallRuleGroup: output.FirewallRuleGroup != null ? de_FirewallRuleGroup(output.FirewallRuleGroup, context) : undefined,
|
|
4641
|
-
};
|
|
4642
|
-
};
|
|
4643
|
-
const de_GetResolverConfigResponse = (output, context) => {
|
|
4644
|
-
return {
|
|
4645
|
-
ResolverConfig: output.ResolverConfig != null ? de_ResolverConfig(output.ResolverConfig, context) : undefined,
|
|
4646
|
-
};
|
|
4647
|
-
};
|
|
4648
|
-
const de_GetResolverDnssecConfigResponse = (output, context) => {
|
|
4649
|
-
return {
|
|
4650
|
-
ResolverDNSSECConfig: output.ResolverDNSSECConfig != null ? de_ResolverDnssecConfig(output.ResolverDNSSECConfig, context) : undefined,
|
|
4651
|
-
};
|
|
4652
|
-
};
|
|
4653
|
-
const de_GetResolverEndpointResponse = (output, context) => {
|
|
4654
|
-
return {
|
|
4655
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
4656
|
-
};
|
|
4657
|
-
};
|
|
4658
|
-
const de_GetResolverQueryLogConfigAssociationResponse = (output, context) => {
|
|
4659
|
-
return {
|
|
4660
|
-
ResolverQueryLogConfigAssociation: output.ResolverQueryLogConfigAssociation != null
|
|
4661
|
-
? de_ResolverQueryLogConfigAssociation(output.ResolverQueryLogConfigAssociation, context)
|
|
4662
|
-
: undefined,
|
|
4663
|
-
};
|
|
4664
|
-
};
|
|
4665
|
-
const de_GetResolverQueryLogConfigPolicyResponse = (output, context) => {
|
|
4666
|
-
return {
|
|
4667
|
-
ResolverQueryLogConfigPolicy: (0, smithy_client_1.expectString)(output.ResolverQueryLogConfigPolicy),
|
|
4668
|
-
};
|
|
4669
|
-
};
|
|
4670
|
-
const de_GetResolverQueryLogConfigResponse = (output, context) => {
|
|
4671
|
-
return {
|
|
4672
|
-
ResolverQueryLogConfig: output.ResolverQueryLogConfig != null
|
|
4673
|
-
? de_ResolverQueryLogConfig(output.ResolverQueryLogConfig, context)
|
|
4674
|
-
: undefined,
|
|
4675
|
-
};
|
|
4676
|
-
};
|
|
4677
|
-
const de_GetResolverRuleAssociationResponse = (output, context) => {
|
|
4678
|
-
return {
|
|
4679
|
-
ResolverRuleAssociation: output.ResolverRuleAssociation != null
|
|
4680
|
-
? de_ResolverRuleAssociation(output.ResolverRuleAssociation, context)
|
|
4681
|
-
: undefined,
|
|
4682
|
-
};
|
|
4683
|
-
};
|
|
4684
|
-
const de_GetResolverRulePolicyResponse = (output, context) => {
|
|
4685
|
-
return {
|
|
4686
|
-
ResolverRulePolicy: (0, smithy_client_1.expectString)(output.ResolverRulePolicy),
|
|
4687
|
-
};
|
|
4688
|
-
};
|
|
4689
|
-
const de_GetResolverRuleResponse = (output, context) => {
|
|
4690
|
-
return {
|
|
4691
|
-
ResolverRule: output.ResolverRule != null ? de_ResolverRule(output.ResolverRule, context) : undefined,
|
|
4692
|
-
};
|
|
4693
|
-
};
|
|
4694
|
-
const de_ImportFirewallDomainsResponse = (output, context) => {
|
|
4695
|
-
return {
|
|
4696
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4697
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4698
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4699
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4700
|
-
};
|
|
4701
|
-
};
|
|
4702
|
-
const de_InternalServiceErrorException = (output, context) => {
|
|
4703
|
-
return {
|
|
4704
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4705
|
-
};
|
|
4706
|
-
};
|
|
4707
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
4708
|
-
return {
|
|
4709
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4710
|
-
};
|
|
4711
|
-
};
|
|
4712
|
-
const de_InvalidParameterException = (output, context) => {
|
|
4713
|
-
return {
|
|
4714
|
-
FieldName: (0, smithy_client_1.expectString)(output.FieldName),
|
|
4715
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4716
|
-
};
|
|
4717
|
-
};
|
|
4718
|
-
const de_InvalidPolicyDocument = (output, context) => {
|
|
4719
|
-
return {
|
|
4720
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4721
|
-
};
|
|
4722
|
-
};
|
|
4723
|
-
const de_InvalidRequestException = (output, context) => {
|
|
4724
|
-
return {
|
|
4725
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4726
|
-
};
|
|
4727
|
-
};
|
|
4728
|
-
const de_InvalidTagException = (output, context) => {
|
|
4729
|
-
return {
|
|
4730
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4731
|
-
};
|
|
4732
|
-
};
|
|
4733
|
-
const de_IpAddressesResponse = (output, context) => {
|
|
4734
|
-
const retVal = (output || [])
|
|
4735
|
-
.filter((e) => e != null)
|
|
4736
|
-
.map((entry) => {
|
|
4737
|
-
if (entry === null) {
|
|
4738
|
-
return null;
|
|
4739
|
-
}
|
|
4740
|
-
return de_IpAddressResponse(entry, context);
|
|
4741
|
-
});
|
|
4742
|
-
return retVal;
|
|
4743
|
-
};
|
|
4744
|
-
const de_IpAddressResponse = (output, context) => {
|
|
4745
|
-
return {
|
|
4746
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4747
|
-
Ip: (0, smithy_client_1.expectString)(output.Ip),
|
|
4748
|
-
IpId: (0, smithy_client_1.expectString)(output.IpId),
|
|
4749
|
-
Ipv6: (0, smithy_client_1.expectString)(output.Ipv6),
|
|
4750
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4751
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4752
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4753
|
-
SubnetId: (0, smithy_client_1.expectString)(output.SubnetId),
|
|
4754
|
-
};
|
|
4755
|
-
};
|
|
4756
|
-
const de_LimitExceededException = (output, context) => {
|
|
4757
|
-
return {
|
|
4758
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
4759
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
4760
|
-
};
|
|
4761
|
-
};
|
|
4762
|
-
const de_ListFirewallConfigsResponse = (output, context) => {
|
|
4763
|
-
return {
|
|
4764
|
-
FirewallConfigs: output.FirewallConfigs != null ? de_FirewallConfigList(output.FirewallConfigs, context) : undefined,
|
|
4765
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4766
|
-
};
|
|
4767
|
-
};
|
|
4768
|
-
const de_ListFirewallDomainListsResponse = (output, context) => {
|
|
4769
|
-
return {
|
|
4770
|
-
FirewallDomainLists: output.FirewallDomainLists != null
|
|
4771
|
-
? de_FirewallDomainListMetadataList(output.FirewallDomainLists, context)
|
|
4772
|
-
: undefined,
|
|
4773
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4774
|
-
};
|
|
4775
|
-
};
|
|
4776
|
-
const de_ListFirewallDomainsResponse = (output, context) => {
|
|
4777
|
-
return {
|
|
4778
|
-
Domains: output.Domains != null ? de_FirewallDomains(output.Domains, context) : undefined,
|
|
4779
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4780
|
-
};
|
|
4781
|
-
};
|
|
4782
|
-
const de_ListFirewallRuleGroupAssociationsResponse = (output, context) => {
|
|
4783
|
-
return {
|
|
4784
|
-
FirewallRuleGroupAssociations: output.FirewallRuleGroupAssociations != null
|
|
4785
|
-
? de_FirewallRuleGroupAssociations(output.FirewallRuleGroupAssociations, context)
|
|
4786
|
-
: undefined,
|
|
4787
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4788
|
-
};
|
|
4789
|
-
};
|
|
4790
|
-
const de_ListFirewallRuleGroupsResponse = (output, context) => {
|
|
4791
|
-
return {
|
|
4792
|
-
FirewallRuleGroups: output.FirewallRuleGroups != null
|
|
4793
|
-
? de_FirewallRuleGroupMetadataList(output.FirewallRuleGroups, context)
|
|
4794
|
-
: undefined,
|
|
4795
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4796
|
-
};
|
|
4797
|
-
};
|
|
4798
|
-
const de_ListFirewallRulesResponse = (output, context) => {
|
|
4799
|
-
return {
|
|
4800
|
-
FirewallRules: output.FirewallRules != null ? de_FirewallRules(output.FirewallRules, context) : undefined,
|
|
4801
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4802
|
-
};
|
|
4803
|
-
};
|
|
4804
|
-
const de_ListResolverConfigsResponse = (output, context) => {
|
|
4805
|
-
return {
|
|
4806
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4807
|
-
ResolverConfigs: output.ResolverConfigs != null ? de_ResolverConfigList(output.ResolverConfigs, context) : undefined,
|
|
4808
|
-
};
|
|
4809
|
-
};
|
|
4810
|
-
const de_ListResolverDnssecConfigsResponse = (output, context) => {
|
|
4811
|
-
return {
|
|
4812
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4813
|
-
ResolverDnssecConfigs: output.ResolverDnssecConfigs != null
|
|
4814
|
-
? de_ResolverDnssecConfigList(output.ResolverDnssecConfigs, context)
|
|
4815
|
-
: undefined,
|
|
4816
|
-
};
|
|
4817
|
-
};
|
|
4818
|
-
const de_ListResolverEndpointIpAddressesResponse = (output, context) => {
|
|
4819
|
-
return {
|
|
4820
|
-
IpAddresses: output.IpAddresses != null ? de_IpAddressesResponse(output.IpAddresses, context) : undefined,
|
|
4821
|
-
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
4822
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4823
|
-
};
|
|
4824
|
-
};
|
|
4825
|
-
const de_ListResolverEndpointsResponse = (output, context) => {
|
|
4826
|
-
return {
|
|
4827
|
-
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
4828
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4829
|
-
ResolverEndpoints: output.ResolverEndpoints != null ? de_ResolverEndpoints(output.ResolverEndpoints, context) : undefined,
|
|
4830
|
-
};
|
|
4831
|
-
};
|
|
4832
|
-
const de_ListResolverQueryLogConfigAssociationsResponse = (output, context) => {
|
|
4833
|
-
return {
|
|
4834
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4835
|
-
ResolverQueryLogConfigAssociations: output.ResolverQueryLogConfigAssociations != null
|
|
4836
|
-
? de_ResolverQueryLogConfigAssociationList(output.ResolverQueryLogConfigAssociations, context)
|
|
4837
|
-
: undefined,
|
|
4838
|
-
TotalCount: (0, smithy_client_1.expectInt32)(output.TotalCount),
|
|
4839
|
-
TotalFilteredCount: (0, smithy_client_1.expectInt32)(output.TotalFilteredCount),
|
|
4840
|
-
};
|
|
4841
|
-
};
|
|
4842
|
-
const de_ListResolverQueryLogConfigsResponse = (output, context) => {
|
|
4843
|
-
return {
|
|
4844
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4845
|
-
ResolverQueryLogConfigs: output.ResolverQueryLogConfigs != null
|
|
4846
|
-
? de_ResolverQueryLogConfigList(output.ResolverQueryLogConfigs, context)
|
|
4847
|
-
: undefined,
|
|
4848
|
-
TotalCount: (0, smithy_client_1.expectInt32)(output.TotalCount),
|
|
4849
|
-
TotalFilteredCount: (0, smithy_client_1.expectInt32)(output.TotalFilteredCount),
|
|
4850
|
-
};
|
|
4851
|
-
};
|
|
4852
|
-
const de_ListResolverRuleAssociationsResponse = (output, context) => {
|
|
4853
|
-
return {
|
|
4854
|
-
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
4855
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4856
|
-
ResolverRuleAssociations: output.ResolverRuleAssociations != null
|
|
4857
|
-
? de_ResolverRuleAssociations(output.ResolverRuleAssociations, context)
|
|
4858
|
-
: undefined,
|
|
4859
|
-
};
|
|
4860
|
-
};
|
|
4861
|
-
const de_ListResolverRulesResponse = (output, context) => {
|
|
4862
|
-
return {
|
|
4863
|
-
MaxResults: (0, smithy_client_1.expectInt32)(output.MaxResults),
|
|
4864
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4865
|
-
ResolverRules: output.ResolverRules != null ? de_ResolverRules(output.ResolverRules, context) : undefined,
|
|
4866
|
-
};
|
|
4867
|
-
};
|
|
4868
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
4869
|
-
return {
|
|
4870
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
4871
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
4872
|
-
};
|
|
4873
|
-
};
|
|
4874
|
-
const de_PutFirewallRuleGroupPolicyResponse = (output, context) => {
|
|
4875
|
-
return {
|
|
4876
|
-
ReturnValue: (0, smithy_client_1.expectBoolean)(output.ReturnValue),
|
|
4877
|
-
};
|
|
4878
|
-
};
|
|
4879
|
-
const de_PutResolverQueryLogConfigPolicyResponse = (output, context) => {
|
|
4880
|
-
return {
|
|
4881
|
-
ReturnValue: (0, smithy_client_1.expectBoolean)(output.ReturnValue),
|
|
4882
|
-
};
|
|
4883
|
-
};
|
|
4884
|
-
const de_PutResolverRulePolicyResponse = (output, context) => {
|
|
4885
|
-
return {
|
|
4886
|
-
ReturnValue: (0, smithy_client_1.expectBoolean)(output.ReturnValue),
|
|
4887
|
-
};
|
|
4888
|
-
};
|
|
4889
|
-
const de_ResolverConfig = (output, context) => {
|
|
4890
|
-
return {
|
|
4891
|
-
AutodefinedReverse: (0, smithy_client_1.expectString)(output.AutodefinedReverse),
|
|
4892
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4893
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4894
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
4895
|
-
};
|
|
4896
|
-
};
|
|
4897
|
-
const de_ResolverConfigList = (output, context) => {
|
|
4898
|
-
const retVal = (output || [])
|
|
4899
|
-
.filter((e) => e != null)
|
|
4900
|
-
.map((entry) => {
|
|
4901
|
-
if (entry === null) {
|
|
4902
|
-
return null;
|
|
4903
|
-
}
|
|
4904
|
-
return de_ResolverConfig(entry, context);
|
|
4905
|
-
});
|
|
4906
|
-
return retVal;
|
|
4907
|
-
};
|
|
4908
|
-
const de_ResolverDnssecConfig = (output, context) => {
|
|
4909
|
-
return {
|
|
4910
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4911
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4912
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
4913
|
-
ValidationStatus: (0, smithy_client_1.expectString)(output.ValidationStatus),
|
|
4914
|
-
};
|
|
4915
|
-
};
|
|
4916
|
-
const de_ResolverDnssecConfigList = (output, context) => {
|
|
4917
|
-
const retVal = (output || [])
|
|
4918
|
-
.filter((e) => e != null)
|
|
4919
|
-
.map((entry) => {
|
|
4920
|
-
if (entry === null) {
|
|
4921
|
-
return null;
|
|
4922
|
-
}
|
|
4923
|
-
return de_ResolverDnssecConfig(entry, context);
|
|
4924
|
-
});
|
|
4925
|
-
return retVal;
|
|
4926
|
-
};
|
|
4927
|
-
const de_ResolverEndpoint = (output, context) => {
|
|
4928
|
-
return {
|
|
4929
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4930
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4931
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4932
|
-
Direction: (0, smithy_client_1.expectString)(output.Direction),
|
|
4933
|
-
HostVPCId: (0, smithy_client_1.expectString)(output.HostVPCId),
|
|
4934
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4935
|
-
IpAddressCount: (0, smithy_client_1.expectInt32)(output.IpAddressCount),
|
|
4936
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
4937
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4938
|
-
ResolverEndpointType: (0, smithy_client_1.expectString)(output.ResolverEndpointType),
|
|
4939
|
-
SecurityGroupIds: output.SecurityGroupIds != null ? de_SecurityGroupIds(output.SecurityGroupIds, context) : undefined,
|
|
4940
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4941
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
4942
|
-
};
|
|
4943
|
-
};
|
|
4944
|
-
const de_ResolverEndpoints = (output, context) => {
|
|
4945
|
-
const retVal = (output || [])
|
|
4946
|
-
.filter((e) => e != null)
|
|
4947
|
-
.map((entry) => {
|
|
4948
|
-
if (entry === null) {
|
|
4949
|
-
return null;
|
|
4950
|
-
}
|
|
4951
|
-
return de_ResolverEndpoint(entry, context);
|
|
4952
|
-
});
|
|
4953
|
-
return retVal;
|
|
4954
|
-
};
|
|
4955
|
-
const de_ResolverQueryLogConfig = (output, context) => {
|
|
4956
|
-
return {
|
|
4957
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
4958
|
-
AssociationCount: (0, smithy_client_1.expectInt32)(output.AssociationCount),
|
|
4959
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4960
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
4961
|
-
DestinationArn: (0, smithy_client_1.expectString)(output.DestinationArn),
|
|
4962
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4963
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
4964
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
4965
|
-
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
4966
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4967
|
-
};
|
|
4968
|
-
};
|
|
4969
|
-
const de_ResolverQueryLogConfigAssociation = (output, context) => {
|
|
4970
|
-
return {
|
|
4971
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
4972
|
-
Error: (0, smithy_client_1.expectString)(output.Error),
|
|
4973
|
-
ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
|
|
4974
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
4975
|
-
ResolverQueryLogConfigId: (0, smithy_client_1.expectString)(output.ResolverQueryLogConfigId),
|
|
4976
|
-
ResourceId: (0, smithy_client_1.expectString)(output.ResourceId),
|
|
4977
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
4978
|
-
};
|
|
4979
|
-
};
|
|
4980
|
-
const de_ResolverQueryLogConfigAssociationList = (output, context) => {
|
|
4981
|
-
const retVal = (output || [])
|
|
4982
|
-
.filter((e) => e != null)
|
|
4983
|
-
.map((entry) => {
|
|
4984
|
-
if (entry === null) {
|
|
4985
|
-
return null;
|
|
4986
|
-
}
|
|
4987
|
-
return de_ResolverQueryLogConfigAssociation(entry, context);
|
|
4988
|
-
});
|
|
4989
|
-
return retVal;
|
|
4990
|
-
};
|
|
4991
|
-
const de_ResolverQueryLogConfigList = (output, context) => {
|
|
4992
|
-
const retVal = (output || [])
|
|
4993
|
-
.filter((e) => e != null)
|
|
4994
|
-
.map((entry) => {
|
|
4995
|
-
if (entry === null) {
|
|
4996
|
-
return null;
|
|
4997
|
-
}
|
|
4998
|
-
return de_ResolverQueryLogConfig(entry, context);
|
|
4999
|
-
});
|
|
5000
|
-
return retVal;
|
|
5001
|
-
};
|
|
5002
|
-
const de_ResolverRule = (output, context) => {
|
|
5003
|
-
return {
|
|
5004
|
-
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
5005
|
-
CreationTime: (0, smithy_client_1.expectString)(output.CreationTime),
|
|
5006
|
-
CreatorRequestId: (0, smithy_client_1.expectString)(output.CreatorRequestId),
|
|
5007
|
-
DomainName: (0, smithy_client_1.expectString)(output.DomainName),
|
|
5008
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5009
|
-
ModificationTime: (0, smithy_client_1.expectString)(output.ModificationTime),
|
|
5010
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5011
|
-
OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
|
|
5012
|
-
ResolverEndpointId: (0, smithy_client_1.expectString)(output.ResolverEndpointId),
|
|
5013
|
-
RuleType: (0, smithy_client_1.expectString)(output.RuleType),
|
|
5014
|
-
ShareStatus: (0, smithy_client_1.expectString)(output.ShareStatus),
|
|
5015
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5016
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5017
|
-
TargetIps: output.TargetIps != null ? de_TargetList(output.TargetIps, context) : undefined,
|
|
5018
|
-
};
|
|
5019
|
-
};
|
|
5020
|
-
const de_ResolverRuleAssociation = (output, context) => {
|
|
5021
|
-
return {
|
|
5022
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5023
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5024
|
-
ResolverRuleId: (0, smithy_client_1.expectString)(output.ResolverRuleId),
|
|
5025
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5026
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5027
|
-
VPCId: (0, smithy_client_1.expectString)(output.VPCId),
|
|
5028
|
-
};
|
|
5029
|
-
};
|
|
5030
|
-
const de_ResolverRuleAssociations = (output, context) => {
|
|
5031
|
-
const retVal = (output || [])
|
|
5032
|
-
.filter((e) => e != null)
|
|
5033
|
-
.map((entry) => {
|
|
5034
|
-
if (entry === null) {
|
|
5035
|
-
return null;
|
|
5036
|
-
}
|
|
5037
|
-
return de_ResolverRuleAssociation(entry, context);
|
|
5038
|
-
});
|
|
5039
|
-
return retVal;
|
|
5040
|
-
};
|
|
5041
|
-
const de_ResolverRules = (output, context) => {
|
|
5042
|
-
const retVal = (output || [])
|
|
5043
|
-
.filter((e) => e != null)
|
|
5044
|
-
.map((entry) => {
|
|
5045
|
-
if (entry === null) {
|
|
5046
|
-
return null;
|
|
5047
|
-
}
|
|
5048
|
-
return de_ResolverRule(entry, context);
|
|
5049
|
-
});
|
|
5050
|
-
return retVal;
|
|
5051
|
-
};
|
|
5052
|
-
const de_ResourceExistsException = (output, context) => {
|
|
5053
|
-
return {
|
|
5054
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5055
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
5056
|
-
};
|
|
5057
|
-
};
|
|
5058
|
-
const de_ResourceInUseException = (output, context) => {
|
|
5059
|
-
return {
|
|
5060
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5061
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
5062
|
-
};
|
|
5063
|
-
};
|
|
5064
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
5065
|
-
return {
|
|
5066
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5067
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
5068
|
-
};
|
|
5069
|
-
};
|
|
5070
|
-
const de_ResourceUnavailableException = (output, context) => {
|
|
5071
|
-
return {
|
|
5072
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5073
|
-
ResourceType: (0, smithy_client_1.expectString)(output.ResourceType),
|
|
5074
|
-
};
|
|
5075
|
-
};
|
|
5076
|
-
const de_SecurityGroupIds = (output, context) => {
|
|
5077
|
-
const retVal = (output || [])
|
|
5078
|
-
.filter((e) => e != null)
|
|
5079
|
-
.map((entry) => {
|
|
5080
|
-
if (entry === null) {
|
|
5081
|
-
return null;
|
|
5082
|
-
}
|
|
5083
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
5084
|
-
});
|
|
5085
|
-
return retVal;
|
|
5086
|
-
};
|
|
5087
|
-
const de_Tag = (output, context) => {
|
|
5088
|
-
return {
|
|
5089
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
5090
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
5091
|
-
};
|
|
5092
|
-
};
|
|
5093
|
-
const de_TagList = (output, context) => {
|
|
5094
|
-
const retVal = (output || [])
|
|
5095
|
-
.filter((e) => e != null)
|
|
5096
|
-
.map((entry) => {
|
|
5097
|
-
if (entry === null) {
|
|
5098
|
-
return null;
|
|
5099
|
-
}
|
|
5100
|
-
return de_Tag(entry, context);
|
|
5101
|
-
});
|
|
5102
|
-
return retVal;
|
|
5103
|
-
};
|
|
5104
|
-
const de_TagResourceResponse = (output, context) => {
|
|
5105
|
-
return {};
|
|
5106
|
-
};
|
|
5107
|
-
const de_TargetAddress = (output, context) => {
|
|
5108
|
-
return {
|
|
5109
|
-
Ip: (0, smithy_client_1.expectString)(output.Ip),
|
|
5110
|
-
Ipv6: (0, smithy_client_1.expectString)(output.Ipv6),
|
|
5111
|
-
Port: (0, smithy_client_1.expectInt32)(output.Port),
|
|
5112
|
-
};
|
|
5113
|
-
};
|
|
5114
|
-
const de_TargetList = (output, context) => {
|
|
5115
|
-
const retVal = (output || [])
|
|
5116
|
-
.filter((e) => e != null)
|
|
5117
|
-
.map((entry) => {
|
|
5118
|
-
if (entry === null) {
|
|
5119
|
-
return null;
|
|
5120
|
-
}
|
|
5121
|
-
return de_TargetAddress(entry, context);
|
|
5122
|
-
});
|
|
5123
|
-
return retVal;
|
|
5124
|
-
};
|
|
5125
|
-
const de_ThrottlingException = (output, context) => {
|
|
5126
|
-
return {
|
|
5127
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5128
|
-
};
|
|
5129
|
-
};
|
|
5130
|
-
const de_UnknownResourceException = (output, context) => {
|
|
5131
|
-
return {
|
|
5132
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5133
|
-
};
|
|
5134
|
-
};
|
|
5135
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
5136
|
-
return {};
|
|
5137
|
-
};
|
|
5138
|
-
const de_UpdateFirewallConfigResponse = (output, context) => {
|
|
5139
|
-
return {
|
|
5140
|
-
FirewallConfig: output.FirewallConfig != null ? de_FirewallConfig(output.FirewallConfig, context) : undefined,
|
|
5141
|
-
};
|
|
5142
|
-
};
|
|
5143
|
-
const de_UpdateFirewallDomainsResponse = (output, context) => {
|
|
5144
|
-
return {
|
|
5145
|
-
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
5146
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
5147
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
5148
|
-
StatusMessage: (0, smithy_client_1.expectString)(output.StatusMessage),
|
|
5149
|
-
};
|
|
5150
|
-
};
|
|
5151
|
-
const de_UpdateFirewallRuleGroupAssociationResponse = (output, context) => {
|
|
5152
|
-
return {
|
|
5153
|
-
FirewallRuleGroupAssociation: output.FirewallRuleGroupAssociation != null
|
|
5154
|
-
? de_FirewallRuleGroupAssociation(output.FirewallRuleGroupAssociation, context)
|
|
5155
|
-
: undefined,
|
|
5156
|
-
};
|
|
5157
|
-
};
|
|
5158
|
-
const de_UpdateFirewallRuleResponse = (output, context) => {
|
|
5159
|
-
return {
|
|
5160
|
-
FirewallRule: output.FirewallRule != null ? de_FirewallRule(output.FirewallRule, context) : undefined,
|
|
5161
|
-
};
|
|
5162
|
-
};
|
|
5163
|
-
const de_UpdateResolverConfigResponse = (output, context) => {
|
|
5164
|
-
return {
|
|
5165
|
-
ResolverConfig: output.ResolverConfig != null ? de_ResolverConfig(output.ResolverConfig, context) : undefined,
|
|
5166
|
-
};
|
|
5167
|
-
};
|
|
5168
|
-
const de_UpdateResolverDnssecConfigResponse = (output, context) => {
|
|
5169
|
-
return {
|
|
5170
|
-
ResolverDNSSECConfig: output.ResolverDNSSECConfig != null ? de_ResolverDnssecConfig(output.ResolverDNSSECConfig, context) : undefined,
|
|
5171
|
-
};
|
|
5172
|
-
};
|
|
5173
|
-
const de_UpdateResolverEndpointResponse = (output, context) => {
|
|
5174
|
-
return {
|
|
5175
|
-
ResolverEndpoint: output.ResolverEndpoint != null ? de_ResolverEndpoint(output.ResolverEndpoint, context) : undefined,
|
|
5176
|
-
};
|
|
5177
|
-
};
|
|
5178
|
-
const de_UpdateResolverRuleResponse = (output, context) => {
|
|
5179
|
-
return {
|
|
5180
|
-
ResolverRule: output.ResolverRule != null ? de_ResolverRule(output.ResolverRule, context) : undefined,
|
|
5181
|
-
};
|
|
5182
|
-
};
|
|
5183
|
-
const de_ValidationException = (output, context) => {
|
|
5184
|
-
return {
|
|
5185
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
5186
|
-
};
|
|
5187
|
-
};
|
|
5188
|
-
const deserializeMetadata = (output) => ({
|
|
5189
|
-
httpStatusCode: output.statusCode,
|
|
5190
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
5191
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
5192
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
5193
|
-
});
|
|
5194
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
5195
|
-
if (streamBody instanceof Uint8Array) {
|
|
5196
|
-
return Promise.resolve(streamBody);
|
|
5197
|
-
}
|
|
5198
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
5199
|
-
};
|
|
5200
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
5201
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
5202
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
5203
|
-
const contents = {
|
|
5204
|
-
protocol,
|
|
5205
|
-
hostname,
|
|
5206
|
-
port,
|
|
5207
|
-
method: "POST",
|
|
5208
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
5209
|
-
headers,
|
|
5210
|
-
};
|
|
5211
|
-
if (resolvedHostname !== undefined) {
|
|
5212
|
-
contents.hostname = resolvedHostname;
|
|
5213
|
-
}
|
|
5214
|
-
if (body !== undefined) {
|
|
5215
|
-
contents.body = body;
|
|
5216
|
-
}
|
|
5217
|
-
return new protocol_http_1.HttpRequest(contents);
|
|
5218
|
-
};
|
|
3626
|
+
}
|
|
5219
3627
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5220
3628
|
if (encoded.length) {
|
|
5221
3629
|
return JSON.parse(encoded);
|