@aws-sdk/client-route53resolver 3.309.0 → 3.312.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 +69 -252
- package/dist-es/protocols/Aws_json1_1.js +69 -252
- package/package.json +35 -35
|
@@ -9,630 +9,441 @@ 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
21
|
body = JSON.stringify(se_AssociateResolverEndpointIpAddressRequest(input, context));
|
|
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
28
|
body = JSON.stringify(se_AssociateResolverQueryLogConfigRequest(input, context));
|
|
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
35
|
body = JSON.stringify(se_AssociateResolverRuleRequest(input, context));
|
|
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
63
|
body = JSON.stringify(se_CreateResolverEndpointRequest(input, context));
|
|
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
77
|
body = JSON.stringify(se_CreateResolverRuleRequest(input, context));
|
|
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
84
|
body = JSON.stringify(se_DeleteFirewallDomainListRequest(input, context));
|
|
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
91
|
body = JSON.stringify(se_DeleteFirewallRuleRequest(input, context));
|
|
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
98
|
body = JSON.stringify(se_DeleteFirewallRuleGroupRequest(input, context));
|
|
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
105
|
body = JSON.stringify(se_DeleteResolverEndpointRequest(input, context));
|
|
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
112
|
body = JSON.stringify(se_DeleteResolverQueryLogConfigRequest(input, context));
|
|
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
119
|
body = JSON.stringify(se_DeleteResolverRuleRequest(input, context));
|
|
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
126
|
body = JSON.stringify(se_DisassociateFirewallRuleGroupRequest(input, context));
|
|
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
133
|
body = JSON.stringify(se_DisassociateResolverEndpointIpAddressRequest(input, context));
|
|
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
140
|
body = JSON.stringify(se_DisassociateResolverQueryLogConfigRequest(input, context));
|
|
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
147
|
body = JSON.stringify(se_DisassociateResolverRuleRequest(input, context));
|
|
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
154
|
body = JSON.stringify(se_GetFirewallConfigRequest(input, context));
|
|
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
161
|
body = JSON.stringify(se_GetFirewallDomainListRequest(input, context));
|
|
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
168
|
body = JSON.stringify(se_GetFirewallRuleGroupRequest(input, context));
|
|
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
175
|
body = JSON.stringify(se_GetFirewallRuleGroupAssociationRequest(input, context));
|
|
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
182
|
body = JSON.stringify(se_GetFirewallRuleGroupPolicyRequest(input, context));
|
|
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
189
|
body = JSON.stringify(se_GetResolverConfigRequest(input, context));
|
|
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
196
|
body = JSON.stringify(se_GetResolverDnssecConfigRequest(input, context));
|
|
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
203
|
body = JSON.stringify(se_GetResolverEndpointRequest(input, context));
|
|
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
210
|
body = JSON.stringify(se_GetResolverQueryLogConfigRequest(input, context));
|
|
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
217
|
body = JSON.stringify(se_GetResolverQueryLogConfigAssociationRequest(input, context));
|
|
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
224
|
body = JSON.stringify(se_GetResolverQueryLogConfigPolicyRequest(input, context));
|
|
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
231
|
body = JSON.stringify(se_GetResolverRuleRequest(input, context));
|
|
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
238
|
body = JSON.stringify(se_GetResolverRuleAssociationRequest(input, context));
|
|
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
245
|
body = JSON.stringify(se_GetResolverRulePolicyRequest(input, context));
|
|
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
252
|
body = JSON.stringify(se_ImportFirewallDomainsRequest(input, context));
|
|
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
259
|
body = JSON.stringify(se_ListFirewallConfigsRequest(input, context));
|
|
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
266
|
body = JSON.stringify(se_ListFirewallDomainListsRequest(input, context));
|
|
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
273
|
body = JSON.stringify(se_ListFirewallDomainsRequest(input, context));
|
|
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
280
|
body = JSON.stringify(se_ListFirewallRuleGroupAssociationsRequest(input, context));
|
|
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
287
|
body = JSON.stringify(se_ListFirewallRuleGroupsRequest(input, context));
|
|
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
294
|
body = JSON.stringify(se_ListFirewallRulesRequest(input, context));
|
|
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
301
|
body = JSON.stringify(se_ListResolverConfigsRequest(input, context));
|
|
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
308
|
body = JSON.stringify(se_ListResolverDnssecConfigsRequest(input, context));
|
|
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
315
|
body = JSON.stringify(se_ListResolverEndpointIpAddressesRequest(input, context));
|
|
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
322
|
body = JSON.stringify(se_ListResolverEndpointsRequest(input, context));
|
|
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
329
|
body = JSON.stringify(se_ListResolverQueryLogConfigAssociationsRequest(input, context));
|
|
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
336
|
body = JSON.stringify(se_ListResolverQueryLogConfigsRequest(input, context));
|
|
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
343
|
body = JSON.stringify(se_ListResolverRuleAssociationsRequest(input, context));
|
|
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
350
|
body = JSON.stringify(se_ListResolverRulesRequest(input, context));
|
|
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
357
|
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
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
364
|
body = JSON.stringify(se_PutFirewallRuleGroupPolicyRequest(input, context));
|
|
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
371
|
body = JSON.stringify(se_PutResolverQueryLogConfigPolicyRequest(input, context));
|
|
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
378
|
body = JSON.stringify(se_PutResolverRulePolicyRequest(input, context));
|
|
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
385
|
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
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
392
|
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
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
399
|
body = JSON.stringify(se_UpdateFirewallConfigRequest(input, context));
|
|
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
406
|
body = JSON.stringify(se_UpdateFirewallDomainsRequest(input, context));
|
|
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
413
|
body = JSON.stringify(se_UpdateFirewallRuleRequest(input, context));
|
|
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
420
|
body = JSON.stringify(se_UpdateFirewallRuleGroupAssociationRequest(input, context));
|
|
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
427
|
body = JSON.stringify(se_UpdateResolverConfigRequest(input, context));
|
|
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
434
|
body = JSON.stringify(se_UpdateResolverDnssecConfigRequest(input, context));
|
|
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
441
|
body = JSON.stringify(se_UpdateResolverEndpointRequest(input, context));
|
|
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
448
|
body = JSON.stringify(se_UpdateResolverRuleRequest(input, context));
|
|
638
449
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -5216,6 +5027,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
5216
5027
|
}
|
|
5217
5028
|
return new protocol_http_1.HttpRequest(contents);
|
|
5218
5029
|
};
|
|
5030
|
+
function sharedHeaders(operation) {
|
|
5031
|
+
return {
|
|
5032
|
+
"content-type": "application/x-amz-json-1.1",
|
|
5033
|
+
"x-amz-target": `Route53Resolver.${operation}`,
|
|
5034
|
+
};
|
|
5035
|
+
}
|
|
5219
5036
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5220
5037
|
if (encoded.length) {
|
|
5221
5038
|
return JSON.parse(encoded);
|