@aws-sdk/client-route53resolver 3.310.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 +2 -2
|
@@ -4,568 +4,379 @@ import { v4 as generateIdempotencyToken } from "uuid";
|
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServiceErrorException, InvalidNextTokenException, InvalidParameterException, InvalidPolicyDocument, InvalidRequestException, InvalidTagException, LimitExceededException, ResourceExistsException, ResourceInUseException, ResourceNotFoundException, ResourceUnavailableException, ThrottlingException, UnknownResourceException, ValidationException, } from "../models/models_0";
|
|
5
5
|
import { Route53ResolverServiceException as __BaseException } from "../models/Route53ResolverServiceException";
|
|
6
6
|
export const se_AssociateFirewallRuleGroupCommand = async (input, context) => {
|
|
7
|
-
const headers =
|
|
8
|
-
"content-type": "application/x-amz-json-1.1",
|
|
9
|
-
"x-amz-target": "Route53Resolver.AssociateFirewallRuleGroup",
|
|
10
|
-
};
|
|
7
|
+
const headers = sharedHeaders("AssociateFirewallRuleGroup");
|
|
11
8
|
let body;
|
|
12
9
|
body = JSON.stringify(se_AssociateFirewallRuleGroupRequest(input, context));
|
|
13
10
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
14
11
|
};
|
|
15
12
|
export const se_AssociateResolverEndpointIpAddressCommand = async (input, context) => {
|
|
16
|
-
const headers =
|
|
17
|
-
"content-type": "application/x-amz-json-1.1",
|
|
18
|
-
"x-amz-target": "Route53Resolver.AssociateResolverEndpointIpAddress",
|
|
19
|
-
};
|
|
13
|
+
const headers = sharedHeaders("AssociateResolverEndpointIpAddress");
|
|
20
14
|
let body;
|
|
21
15
|
body = JSON.stringify(se_AssociateResolverEndpointIpAddressRequest(input, context));
|
|
22
16
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
17
|
};
|
|
24
18
|
export const se_AssociateResolverQueryLogConfigCommand = async (input, context) => {
|
|
25
|
-
const headers =
|
|
26
|
-
"content-type": "application/x-amz-json-1.1",
|
|
27
|
-
"x-amz-target": "Route53Resolver.AssociateResolverQueryLogConfig",
|
|
28
|
-
};
|
|
19
|
+
const headers = sharedHeaders("AssociateResolverQueryLogConfig");
|
|
29
20
|
let body;
|
|
30
21
|
body = JSON.stringify(se_AssociateResolverQueryLogConfigRequest(input, context));
|
|
31
22
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
32
23
|
};
|
|
33
24
|
export const se_AssociateResolverRuleCommand = async (input, context) => {
|
|
34
|
-
const headers =
|
|
35
|
-
"content-type": "application/x-amz-json-1.1",
|
|
36
|
-
"x-amz-target": "Route53Resolver.AssociateResolverRule",
|
|
37
|
-
};
|
|
25
|
+
const headers = sharedHeaders("AssociateResolverRule");
|
|
38
26
|
let body;
|
|
39
27
|
body = JSON.stringify(se_AssociateResolverRuleRequest(input, context));
|
|
40
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
29
|
};
|
|
42
30
|
export const se_CreateFirewallDomainListCommand = async (input, context) => {
|
|
43
|
-
const headers =
|
|
44
|
-
"content-type": "application/x-amz-json-1.1",
|
|
45
|
-
"x-amz-target": "Route53Resolver.CreateFirewallDomainList",
|
|
46
|
-
};
|
|
31
|
+
const headers = sharedHeaders("CreateFirewallDomainList");
|
|
47
32
|
let body;
|
|
48
33
|
body = JSON.stringify(se_CreateFirewallDomainListRequest(input, context));
|
|
49
34
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
35
|
};
|
|
51
36
|
export const se_CreateFirewallRuleCommand = async (input, context) => {
|
|
52
|
-
const headers =
|
|
53
|
-
"content-type": "application/x-amz-json-1.1",
|
|
54
|
-
"x-amz-target": "Route53Resolver.CreateFirewallRule",
|
|
55
|
-
};
|
|
37
|
+
const headers = sharedHeaders("CreateFirewallRule");
|
|
56
38
|
let body;
|
|
57
39
|
body = JSON.stringify(se_CreateFirewallRuleRequest(input, context));
|
|
58
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
41
|
};
|
|
60
42
|
export const se_CreateFirewallRuleGroupCommand = async (input, context) => {
|
|
61
|
-
const headers =
|
|
62
|
-
"content-type": "application/x-amz-json-1.1",
|
|
63
|
-
"x-amz-target": "Route53Resolver.CreateFirewallRuleGroup",
|
|
64
|
-
};
|
|
43
|
+
const headers = sharedHeaders("CreateFirewallRuleGroup");
|
|
65
44
|
let body;
|
|
66
45
|
body = JSON.stringify(se_CreateFirewallRuleGroupRequest(input, context));
|
|
67
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
68
47
|
};
|
|
69
48
|
export const se_CreateResolverEndpointCommand = async (input, context) => {
|
|
70
|
-
const headers =
|
|
71
|
-
"content-type": "application/x-amz-json-1.1",
|
|
72
|
-
"x-amz-target": "Route53Resolver.CreateResolverEndpoint",
|
|
73
|
-
};
|
|
49
|
+
const headers = sharedHeaders("CreateResolverEndpoint");
|
|
74
50
|
let body;
|
|
75
51
|
body = JSON.stringify(se_CreateResolverEndpointRequest(input, context));
|
|
76
52
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
53
|
};
|
|
78
54
|
export const se_CreateResolverQueryLogConfigCommand = async (input, context) => {
|
|
79
|
-
const headers =
|
|
80
|
-
"content-type": "application/x-amz-json-1.1",
|
|
81
|
-
"x-amz-target": "Route53Resolver.CreateResolverQueryLogConfig",
|
|
82
|
-
};
|
|
55
|
+
const headers = sharedHeaders("CreateResolverQueryLogConfig");
|
|
83
56
|
let body;
|
|
84
57
|
body = JSON.stringify(se_CreateResolverQueryLogConfigRequest(input, context));
|
|
85
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
86
59
|
};
|
|
87
60
|
export const se_CreateResolverRuleCommand = async (input, context) => {
|
|
88
|
-
const headers =
|
|
89
|
-
"content-type": "application/x-amz-json-1.1",
|
|
90
|
-
"x-amz-target": "Route53Resolver.CreateResolverRule",
|
|
91
|
-
};
|
|
61
|
+
const headers = sharedHeaders("CreateResolverRule");
|
|
92
62
|
let body;
|
|
93
63
|
body = JSON.stringify(se_CreateResolverRuleRequest(input, context));
|
|
94
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
65
|
};
|
|
96
66
|
export const se_DeleteFirewallDomainListCommand = async (input, context) => {
|
|
97
|
-
const headers =
|
|
98
|
-
"content-type": "application/x-amz-json-1.1",
|
|
99
|
-
"x-amz-target": "Route53Resolver.DeleteFirewallDomainList",
|
|
100
|
-
};
|
|
67
|
+
const headers = sharedHeaders("DeleteFirewallDomainList");
|
|
101
68
|
let body;
|
|
102
69
|
body = JSON.stringify(se_DeleteFirewallDomainListRequest(input, context));
|
|
103
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
104
71
|
};
|
|
105
72
|
export const se_DeleteFirewallRuleCommand = async (input, context) => {
|
|
106
|
-
const headers =
|
|
107
|
-
"content-type": "application/x-amz-json-1.1",
|
|
108
|
-
"x-amz-target": "Route53Resolver.DeleteFirewallRule",
|
|
109
|
-
};
|
|
73
|
+
const headers = sharedHeaders("DeleteFirewallRule");
|
|
110
74
|
let body;
|
|
111
75
|
body = JSON.stringify(se_DeleteFirewallRuleRequest(input, context));
|
|
112
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
77
|
};
|
|
114
78
|
export const se_DeleteFirewallRuleGroupCommand = async (input, context) => {
|
|
115
|
-
const headers =
|
|
116
|
-
"content-type": "application/x-amz-json-1.1",
|
|
117
|
-
"x-amz-target": "Route53Resolver.DeleteFirewallRuleGroup",
|
|
118
|
-
};
|
|
79
|
+
const headers = sharedHeaders("DeleteFirewallRuleGroup");
|
|
119
80
|
let body;
|
|
120
81
|
body = JSON.stringify(se_DeleteFirewallRuleGroupRequest(input, context));
|
|
121
82
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
122
83
|
};
|
|
123
84
|
export const se_DeleteResolverEndpointCommand = async (input, context) => {
|
|
124
|
-
const headers =
|
|
125
|
-
"content-type": "application/x-amz-json-1.1",
|
|
126
|
-
"x-amz-target": "Route53Resolver.DeleteResolverEndpoint",
|
|
127
|
-
};
|
|
85
|
+
const headers = sharedHeaders("DeleteResolverEndpoint");
|
|
128
86
|
let body;
|
|
129
87
|
body = JSON.stringify(se_DeleteResolverEndpointRequest(input, context));
|
|
130
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
89
|
};
|
|
132
90
|
export const se_DeleteResolverQueryLogConfigCommand = async (input, context) => {
|
|
133
|
-
const headers =
|
|
134
|
-
"content-type": "application/x-amz-json-1.1",
|
|
135
|
-
"x-amz-target": "Route53Resolver.DeleteResolverQueryLogConfig",
|
|
136
|
-
};
|
|
91
|
+
const headers = sharedHeaders("DeleteResolverQueryLogConfig");
|
|
137
92
|
let body;
|
|
138
93
|
body = JSON.stringify(se_DeleteResolverQueryLogConfigRequest(input, context));
|
|
139
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
95
|
};
|
|
141
96
|
export const se_DeleteResolverRuleCommand = async (input, context) => {
|
|
142
|
-
const headers =
|
|
143
|
-
"content-type": "application/x-amz-json-1.1",
|
|
144
|
-
"x-amz-target": "Route53Resolver.DeleteResolverRule",
|
|
145
|
-
};
|
|
97
|
+
const headers = sharedHeaders("DeleteResolverRule");
|
|
146
98
|
let body;
|
|
147
99
|
body = JSON.stringify(se_DeleteResolverRuleRequest(input, context));
|
|
148
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
101
|
};
|
|
150
102
|
export const se_DisassociateFirewallRuleGroupCommand = async (input, context) => {
|
|
151
|
-
const headers =
|
|
152
|
-
"content-type": "application/x-amz-json-1.1",
|
|
153
|
-
"x-amz-target": "Route53Resolver.DisassociateFirewallRuleGroup",
|
|
154
|
-
};
|
|
103
|
+
const headers = sharedHeaders("DisassociateFirewallRuleGroup");
|
|
155
104
|
let body;
|
|
156
105
|
body = JSON.stringify(se_DisassociateFirewallRuleGroupRequest(input, context));
|
|
157
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
158
107
|
};
|
|
159
108
|
export const se_DisassociateResolverEndpointIpAddressCommand = async (input, context) => {
|
|
160
|
-
const headers =
|
|
161
|
-
"content-type": "application/x-amz-json-1.1",
|
|
162
|
-
"x-amz-target": "Route53Resolver.DisassociateResolverEndpointIpAddress",
|
|
163
|
-
};
|
|
109
|
+
const headers = sharedHeaders("DisassociateResolverEndpointIpAddress");
|
|
164
110
|
let body;
|
|
165
111
|
body = JSON.stringify(se_DisassociateResolverEndpointIpAddressRequest(input, context));
|
|
166
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
113
|
};
|
|
168
114
|
export const se_DisassociateResolverQueryLogConfigCommand = async (input, context) => {
|
|
169
|
-
const headers =
|
|
170
|
-
"content-type": "application/x-amz-json-1.1",
|
|
171
|
-
"x-amz-target": "Route53Resolver.DisassociateResolverQueryLogConfig",
|
|
172
|
-
};
|
|
115
|
+
const headers = sharedHeaders("DisassociateResolverQueryLogConfig");
|
|
173
116
|
let body;
|
|
174
117
|
body = JSON.stringify(se_DisassociateResolverQueryLogConfigRequest(input, context));
|
|
175
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
119
|
};
|
|
177
120
|
export const se_DisassociateResolverRuleCommand = async (input, context) => {
|
|
178
|
-
const headers =
|
|
179
|
-
"content-type": "application/x-amz-json-1.1",
|
|
180
|
-
"x-amz-target": "Route53Resolver.DisassociateResolverRule",
|
|
181
|
-
};
|
|
121
|
+
const headers = sharedHeaders("DisassociateResolverRule");
|
|
182
122
|
let body;
|
|
183
123
|
body = JSON.stringify(se_DisassociateResolverRuleRequest(input, context));
|
|
184
124
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
125
|
};
|
|
186
126
|
export const se_GetFirewallConfigCommand = async (input, context) => {
|
|
187
|
-
const headers =
|
|
188
|
-
"content-type": "application/x-amz-json-1.1",
|
|
189
|
-
"x-amz-target": "Route53Resolver.GetFirewallConfig",
|
|
190
|
-
};
|
|
127
|
+
const headers = sharedHeaders("GetFirewallConfig");
|
|
191
128
|
let body;
|
|
192
129
|
body = JSON.stringify(se_GetFirewallConfigRequest(input, context));
|
|
193
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
194
131
|
};
|
|
195
132
|
export const se_GetFirewallDomainListCommand = async (input, context) => {
|
|
196
|
-
const headers =
|
|
197
|
-
"content-type": "application/x-amz-json-1.1",
|
|
198
|
-
"x-amz-target": "Route53Resolver.GetFirewallDomainList",
|
|
199
|
-
};
|
|
133
|
+
const headers = sharedHeaders("GetFirewallDomainList");
|
|
200
134
|
let body;
|
|
201
135
|
body = JSON.stringify(se_GetFirewallDomainListRequest(input, context));
|
|
202
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
137
|
};
|
|
204
138
|
export const se_GetFirewallRuleGroupCommand = async (input, context) => {
|
|
205
|
-
const headers =
|
|
206
|
-
"content-type": "application/x-amz-json-1.1",
|
|
207
|
-
"x-amz-target": "Route53Resolver.GetFirewallRuleGroup",
|
|
208
|
-
};
|
|
139
|
+
const headers = sharedHeaders("GetFirewallRuleGroup");
|
|
209
140
|
let body;
|
|
210
141
|
body = JSON.stringify(se_GetFirewallRuleGroupRequest(input, context));
|
|
211
142
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
212
143
|
};
|
|
213
144
|
export const se_GetFirewallRuleGroupAssociationCommand = async (input, context) => {
|
|
214
|
-
const headers =
|
|
215
|
-
"content-type": "application/x-amz-json-1.1",
|
|
216
|
-
"x-amz-target": "Route53Resolver.GetFirewallRuleGroupAssociation",
|
|
217
|
-
};
|
|
145
|
+
const headers = sharedHeaders("GetFirewallRuleGroupAssociation");
|
|
218
146
|
let body;
|
|
219
147
|
body = JSON.stringify(se_GetFirewallRuleGroupAssociationRequest(input, context));
|
|
220
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
149
|
};
|
|
222
150
|
export const se_GetFirewallRuleGroupPolicyCommand = async (input, context) => {
|
|
223
|
-
const headers =
|
|
224
|
-
"content-type": "application/x-amz-json-1.1",
|
|
225
|
-
"x-amz-target": "Route53Resolver.GetFirewallRuleGroupPolicy",
|
|
226
|
-
};
|
|
151
|
+
const headers = sharedHeaders("GetFirewallRuleGroupPolicy");
|
|
227
152
|
let body;
|
|
228
153
|
body = JSON.stringify(se_GetFirewallRuleGroupPolicyRequest(input, context));
|
|
229
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
230
155
|
};
|
|
231
156
|
export const se_GetResolverConfigCommand = async (input, context) => {
|
|
232
|
-
const headers =
|
|
233
|
-
"content-type": "application/x-amz-json-1.1",
|
|
234
|
-
"x-amz-target": "Route53Resolver.GetResolverConfig",
|
|
235
|
-
};
|
|
157
|
+
const headers = sharedHeaders("GetResolverConfig");
|
|
236
158
|
let body;
|
|
237
159
|
body = JSON.stringify(se_GetResolverConfigRequest(input, context));
|
|
238
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
161
|
};
|
|
240
162
|
export const se_GetResolverDnssecConfigCommand = async (input, context) => {
|
|
241
|
-
const headers =
|
|
242
|
-
"content-type": "application/x-amz-json-1.1",
|
|
243
|
-
"x-amz-target": "Route53Resolver.GetResolverDnssecConfig",
|
|
244
|
-
};
|
|
163
|
+
const headers = sharedHeaders("GetResolverDnssecConfig");
|
|
245
164
|
let body;
|
|
246
165
|
body = JSON.stringify(se_GetResolverDnssecConfigRequest(input, context));
|
|
247
166
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
248
167
|
};
|
|
249
168
|
export const se_GetResolverEndpointCommand = async (input, context) => {
|
|
250
|
-
const headers =
|
|
251
|
-
"content-type": "application/x-amz-json-1.1",
|
|
252
|
-
"x-amz-target": "Route53Resolver.GetResolverEndpoint",
|
|
253
|
-
};
|
|
169
|
+
const headers = sharedHeaders("GetResolverEndpoint");
|
|
254
170
|
let body;
|
|
255
171
|
body = JSON.stringify(se_GetResolverEndpointRequest(input, context));
|
|
256
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
173
|
};
|
|
258
174
|
export const se_GetResolverQueryLogConfigCommand = async (input, context) => {
|
|
259
|
-
const headers =
|
|
260
|
-
"content-type": "application/x-amz-json-1.1",
|
|
261
|
-
"x-amz-target": "Route53Resolver.GetResolverQueryLogConfig",
|
|
262
|
-
};
|
|
175
|
+
const headers = sharedHeaders("GetResolverQueryLogConfig");
|
|
263
176
|
let body;
|
|
264
177
|
body = JSON.stringify(se_GetResolverQueryLogConfigRequest(input, context));
|
|
265
178
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
266
179
|
};
|
|
267
180
|
export const se_GetResolverQueryLogConfigAssociationCommand = async (input, context) => {
|
|
268
|
-
const headers =
|
|
269
|
-
"content-type": "application/x-amz-json-1.1",
|
|
270
|
-
"x-amz-target": "Route53Resolver.GetResolverQueryLogConfigAssociation",
|
|
271
|
-
};
|
|
181
|
+
const headers = sharedHeaders("GetResolverQueryLogConfigAssociation");
|
|
272
182
|
let body;
|
|
273
183
|
body = JSON.stringify(se_GetResolverQueryLogConfigAssociationRequest(input, context));
|
|
274
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
185
|
};
|
|
276
186
|
export const se_GetResolverQueryLogConfigPolicyCommand = async (input, context) => {
|
|
277
|
-
const headers =
|
|
278
|
-
"content-type": "application/x-amz-json-1.1",
|
|
279
|
-
"x-amz-target": "Route53Resolver.GetResolverQueryLogConfigPolicy",
|
|
280
|
-
};
|
|
187
|
+
const headers = sharedHeaders("GetResolverQueryLogConfigPolicy");
|
|
281
188
|
let body;
|
|
282
189
|
body = JSON.stringify(se_GetResolverQueryLogConfigPolicyRequest(input, context));
|
|
283
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
284
191
|
};
|
|
285
192
|
export const se_GetResolverRuleCommand = async (input, context) => {
|
|
286
|
-
const headers =
|
|
287
|
-
"content-type": "application/x-amz-json-1.1",
|
|
288
|
-
"x-amz-target": "Route53Resolver.GetResolverRule",
|
|
289
|
-
};
|
|
193
|
+
const headers = sharedHeaders("GetResolverRule");
|
|
290
194
|
let body;
|
|
291
195
|
body = JSON.stringify(se_GetResolverRuleRequest(input, context));
|
|
292
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
197
|
};
|
|
294
198
|
export const se_GetResolverRuleAssociationCommand = async (input, context) => {
|
|
295
|
-
const headers =
|
|
296
|
-
"content-type": "application/x-amz-json-1.1",
|
|
297
|
-
"x-amz-target": "Route53Resolver.GetResolverRuleAssociation",
|
|
298
|
-
};
|
|
199
|
+
const headers = sharedHeaders("GetResolverRuleAssociation");
|
|
299
200
|
let body;
|
|
300
201
|
body = JSON.stringify(se_GetResolverRuleAssociationRequest(input, context));
|
|
301
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
302
203
|
};
|
|
303
204
|
export const se_GetResolverRulePolicyCommand = async (input, context) => {
|
|
304
|
-
const headers =
|
|
305
|
-
"content-type": "application/x-amz-json-1.1",
|
|
306
|
-
"x-amz-target": "Route53Resolver.GetResolverRulePolicy",
|
|
307
|
-
};
|
|
205
|
+
const headers = sharedHeaders("GetResolverRulePolicy");
|
|
308
206
|
let body;
|
|
309
207
|
body = JSON.stringify(se_GetResolverRulePolicyRequest(input, context));
|
|
310
208
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
209
|
};
|
|
312
210
|
export const se_ImportFirewallDomainsCommand = async (input, context) => {
|
|
313
|
-
const headers =
|
|
314
|
-
"content-type": "application/x-amz-json-1.1",
|
|
315
|
-
"x-amz-target": "Route53Resolver.ImportFirewallDomains",
|
|
316
|
-
};
|
|
211
|
+
const headers = sharedHeaders("ImportFirewallDomains");
|
|
317
212
|
let body;
|
|
318
213
|
body = JSON.stringify(se_ImportFirewallDomainsRequest(input, context));
|
|
319
214
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
320
215
|
};
|
|
321
216
|
export const se_ListFirewallConfigsCommand = async (input, context) => {
|
|
322
|
-
const headers =
|
|
323
|
-
"content-type": "application/x-amz-json-1.1",
|
|
324
|
-
"x-amz-target": "Route53Resolver.ListFirewallConfigs",
|
|
325
|
-
};
|
|
217
|
+
const headers = sharedHeaders("ListFirewallConfigs");
|
|
326
218
|
let body;
|
|
327
219
|
body = JSON.stringify(se_ListFirewallConfigsRequest(input, context));
|
|
328
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
221
|
};
|
|
330
222
|
export const se_ListFirewallDomainListsCommand = async (input, context) => {
|
|
331
|
-
const headers =
|
|
332
|
-
"content-type": "application/x-amz-json-1.1",
|
|
333
|
-
"x-amz-target": "Route53Resolver.ListFirewallDomainLists",
|
|
334
|
-
};
|
|
223
|
+
const headers = sharedHeaders("ListFirewallDomainLists");
|
|
335
224
|
let body;
|
|
336
225
|
body = JSON.stringify(se_ListFirewallDomainListsRequest(input, context));
|
|
337
226
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
227
|
};
|
|
339
228
|
export const se_ListFirewallDomainsCommand = async (input, context) => {
|
|
340
|
-
const headers =
|
|
341
|
-
"content-type": "application/x-amz-json-1.1",
|
|
342
|
-
"x-amz-target": "Route53Resolver.ListFirewallDomains",
|
|
343
|
-
};
|
|
229
|
+
const headers = sharedHeaders("ListFirewallDomains");
|
|
344
230
|
let body;
|
|
345
231
|
body = JSON.stringify(se_ListFirewallDomainsRequest(input, context));
|
|
346
232
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
233
|
};
|
|
348
234
|
export const se_ListFirewallRuleGroupAssociationsCommand = async (input, context) => {
|
|
349
|
-
const headers =
|
|
350
|
-
"content-type": "application/x-amz-json-1.1",
|
|
351
|
-
"x-amz-target": "Route53Resolver.ListFirewallRuleGroupAssociations",
|
|
352
|
-
};
|
|
235
|
+
const headers = sharedHeaders("ListFirewallRuleGroupAssociations");
|
|
353
236
|
let body;
|
|
354
237
|
body = JSON.stringify(se_ListFirewallRuleGroupAssociationsRequest(input, context));
|
|
355
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
356
239
|
};
|
|
357
240
|
export const se_ListFirewallRuleGroupsCommand = async (input, context) => {
|
|
358
|
-
const headers =
|
|
359
|
-
"content-type": "application/x-amz-json-1.1",
|
|
360
|
-
"x-amz-target": "Route53Resolver.ListFirewallRuleGroups",
|
|
361
|
-
};
|
|
241
|
+
const headers = sharedHeaders("ListFirewallRuleGroups");
|
|
362
242
|
let body;
|
|
363
243
|
body = JSON.stringify(se_ListFirewallRuleGroupsRequest(input, context));
|
|
364
244
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
365
245
|
};
|
|
366
246
|
export const se_ListFirewallRulesCommand = async (input, context) => {
|
|
367
|
-
const headers =
|
|
368
|
-
"content-type": "application/x-amz-json-1.1",
|
|
369
|
-
"x-amz-target": "Route53Resolver.ListFirewallRules",
|
|
370
|
-
};
|
|
247
|
+
const headers = sharedHeaders("ListFirewallRules");
|
|
371
248
|
let body;
|
|
372
249
|
body = JSON.stringify(se_ListFirewallRulesRequest(input, context));
|
|
373
250
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
374
251
|
};
|
|
375
252
|
export const se_ListResolverConfigsCommand = async (input, context) => {
|
|
376
|
-
const headers =
|
|
377
|
-
"content-type": "application/x-amz-json-1.1",
|
|
378
|
-
"x-amz-target": "Route53Resolver.ListResolverConfigs",
|
|
379
|
-
};
|
|
253
|
+
const headers = sharedHeaders("ListResolverConfigs");
|
|
380
254
|
let body;
|
|
381
255
|
body = JSON.stringify(se_ListResolverConfigsRequest(input, context));
|
|
382
256
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
383
257
|
};
|
|
384
258
|
export const se_ListResolverDnssecConfigsCommand = async (input, context) => {
|
|
385
|
-
const headers =
|
|
386
|
-
"content-type": "application/x-amz-json-1.1",
|
|
387
|
-
"x-amz-target": "Route53Resolver.ListResolverDnssecConfigs",
|
|
388
|
-
};
|
|
259
|
+
const headers = sharedHeaders("ListResolverDnssecConfigs");
|
|
389
260
|
let body;
|
|
390
261
|
body = JSON.stringify(se_ListResolverDnssecConfigsRequest(input, context));
|
|
391
262
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
392
263
|
};
|
|
393
264
|
export const se_ListResolverEndpointIpAddressesCommand = async (input, context) => {
|
|
394
|
-
const headers =
|
|
395
|
-
"content-type": "application/x-amz-json-1.1",
|
|
396
|
-
"x-amz-target": "Route53Resolver.ListResolverEndpointIpAddresses",
|
|
397
|
-
};
|
|
265
|
+
const headers = sharedHeaders("ListResolverEndpointIpAddresses");
|
|
398
266
|
let body;
|
|
399
267
|
body = JSON.stringify(se_ListResolverEndpointIpAddressesRequest(input, context));
|
|
400
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
401
269
|
};
|
|
402
270
|
export const se_ListResolverEndpointsCommand = async (input, context) => {
|
|
403
|
-
const headers =
|
|
404
|
-
"content-type": "application/x-amz-json-1.1",
|
|
405
|
-
"x-amz-target": "Route53Resolver.ListResolverEndpoints",
|
|
406
|
-
};
|
|
271
|
+
const headers = sharedHeaders("ListResolverEndpoints");
|
|
407
272
|
let body;
|
|
408
273
|
body = JSON.stringify(se_ListResolverEndpointsRequest(input, context));
|
|
409
274
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
410
275
|
};
|
|
411
276
|
export const se_ListResolverQueryLogConfigAssociationsCommand = async (input, context) => {
|
|
412
|
-
const headers =
|
|
413
|
-
"content-type": "application/x-amz-json-1.1",
|
|
414
|
-
"x-amz-target": "Route53Resolver.ListResolverQueryLogConfigAssociations",
|
|
415
|
-
};
|
|
277
|
+
const headers = sharedHeaders("ListResolverQueryLogConfigAssociations");
|
|
416
278
|
let body;
|
|
417
279
|
body = JSON.stringify(se_ListResolverQueryLogConfigAssociationsRequest(input, context));
|
|
418
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
419
281
|
};
|
|
420
282
|
export const se_ListResolverQueryLogConfigsCommand = async (input, context) => {
|
|
421
|
-
const headers =
|
|
422
|
-
"content-type": "application/x-amz-json-1.1",
|
|
423
|
-
"x-amz-target": "Route53Resolver.ListResolverQueryLogConfigs",
|
|
424
|
-
};
|
|
283
|
+
const headers = sharedHeaders("ListResolverQueryLogConfigs");
|
|
425
284
|
let body;
|
|
426
285
|
body = JSON.stringify(se_ListResolverQueryLogConfigsRequest(input, context));
|
|
427
286
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
428
287
|
};
|
|
429
288
|
export const se_ListResolverRuleAssociationsCommand = async (input, context) => {
|
|
430
|
-
const headers =
|
|
431
|
-
"content-type": "application/x-amz-json-1.1",
|
|
432
|
-
"x-amz-target": "Route53Resolver.ListResolverRuleAssociations",
|
|
433
|
-
};
|
|
289
|
+
const headers = sharedHeaders("ListResolverRuleAssociations");
|
|
434
290
|
let body;
|
|
435
291
|
body = JSON.stringify(se_ListResolverRuleAssociationsRequest(input, context));
|
|
436
292
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
437
293
|
};
|
|
438
294
|
export const se_ListResolverRulesCommand = async (input, context) => {
|
|
439
|
-
const headers =
|
|
440
|
-
"content-type": "application/x-amz-json-1.1",
|
|
441
|
-
"x-amz-target": "Route53Resolver.ListResolverRules",
|
|
442
|
-
};
|
|
295
|
+
const headers = sharedHeaders("ListResolverRules");
|
|
443
296
|
let body;
|
|
444
297
|
body = JSON.stringify(se_ListResolverRulesRequest(input, context));
|
|
445
298
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
446
299
|
};
|
|
447
300
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
448
|
-
const headers =
|
|
449
|
-
"content-type": "application/x-amz-json-1.1",
|
|
450
|
-
"x-amz-target": "Route53Resolver.ListTagsForResource",
|
|
451
|
-
};
|
|
301
|
+
const headers = sharedHeaders("ListTagsForResource");
|
|
452
302
|
let body;
|
|
453
303
|
body = JSON.stringify(se_ListTagsForResourceRequest(input, context));
|
|
454
304
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
455
305
|
};
|
|
456
306
|
export const se_PutFirewallRuleGroupPolicyCommand = async (input, context) => {
|
|
457
|
-
const headers =
|
|
458
|
-
"content-type": "application/x-amz-json-1.1",
|
|
459
|
-
"x-amz-target": "Route53Resolver.PutFirewallRuleGroupPolicy",
|
|
460
|
-
};
|
|
307
|
+
const headers = sharedHeaders("PutFirewallRuleGroupPolicy");
|
|
461
308
|
let body;
|
|
462
309
|
body = JSON.stringify(se_PutFirewallRuleGroupPolicyRequest(input, context));
|
|
463
310
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
464
311
|
};
|
|
465
312
|
export const se_PutResolverQueryLogConfigPolicyCommand = async (input, context) => {
|
|
466
|
-
const headers =
|
|
467
|
-
"content-type": "application/x-amz-json-1.1",
|
|
468
|
-
"x-amz-target": "Route53Resolver.PutResolverQueryLogConfigPolicy",
|
|
469
|
-
};
|
|
313
|
+
const headers = sharedHeaders("PutResolverQueryLogConfigPolicy");
|
|
470
314
|
let body;
|
|
471
315
|
body = JSON.stringify(se_PutResolverQueryLogConfigPolicyRequest(input, context));
|
|
472
316
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
473
317
|
};
|
|
474
318
|
export const se_PutResolverRulePolicyCommand = async (input, context) => {
|
|
475
|
-
const headers =
|
|
476
|
-
"content-type": "application/x-amz-json-1.1",
|
|
477
|
-
"x-amz-target": "Route53Resolver.PutResolverRulePolicy",
|
|
478
|
-
};
|
|
319
|
+
const headers = sharedHeaders("PutResolverRulePolicy");
|
|
479
320
|
let body;
|
|
480
321
|
body = JSON.stringify(se_PutResolverRulePolicyRequest(input, context));
|
|
481
322
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
482
323
|
};
|
|
483
324
|
export const se_TagResourceCommand = async (input, context) => {
|
|
484
|
-
const headers =
|
|
485
|
-
"content-type": "application/x-amz-json-1.1",
|
|
486
|
-
"x-amz-target": "Route53Resolver.TagResource",
|
|
487
|
-
};
|
|
325
|
+
const headers = sharedHeaders("TagResource");
|
|
488
326
|
let body;
|
|
489
327
|
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
490
328
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
491
329
|
};
|
|
492
330
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
493
|
-
const headers =
|
|
494
|
-
"content-type": "application/x-amz-json-1.1",
|
|
495
|
-
"x-amz-target": "Route53Resolver.UntagResource",
|
|
496
|
-
};
|
|
331
|
+
const headers = sharedHeaders("UntagResource");
|
|
497
332
|
let body;
|
|
498
333
|
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
499
334
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
500
335
|
};
|
|
501
336
|
export const se_UpdateFirewallConfigCommand = async (input, context) => {
|
|
502
|
-
const headers =
|
|
503
|
-
"content-type": "application/x-amz-json-1.1",
|
|
504
|
-
"x-amz-target": "Route53Resolver.UpdateFirewallConfig",
|
|
505
|
-
};
|
|
337
|
+
const headers = sharedHeaders("UpdateFirewallConfig");
|
|
506
338
|
let body;
|
|
507
339
|
body = JSON.stringify(se_UpdateFirewallConfigRequest(input, context));
|
|
508
340
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
509
341
|
};
|
|
510
342
|
export const se_UpdateFirewallDomainsCommand = async (input, context) => {
|
|
511
|
-
const headers =
|
|
512
|
-
"content-type": "application/x-amz-json-1.1",
|
|
513
|
-
"x-amz-target": "Route53Resolver.UpdateFirewallDomains",
|
|
514
|
-
};
|
|
343
|
+
const headers = sharedHeaders("UpdateFirewallDomains");
|
|
515
344
|
let body;
|
|
516
345
|
body = JSON.stringify(se_UpdateFirewallDomainsRequest(input, context));
|
|
517
346
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
518
347
|
};
|
|
519
348
|
export const se_UpdateFirewallRuleCommand = async (input, context) => {
|
|
520
|
-
const headers =
|
|
521
|
-
"content-type": "application/x-amz-json-1.1",
|
|
522
|
-
"x-amz-target": "Route53Resolver.UpdateFirewallRule",
|
|
523
|
-
};
|
|
349
|
+
const headers = sharedHeaders("UpdateFirewallRule");
|
|
524
350
|
let body;
|
|
525
351
|
body = JSON.stringify(se_UpdateFirewallRuleRequest(input, context));
|
|
526
352
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
527
353
|
};
|
|
528
354
|
export const se_UpdateFirewallRuleGroupAssociationCommand = async (input, context) => {
|
|
529
|
-
const headers =
|
|
530
|
-
"content-type": "application/x-amz-json-1.1",
|
|
531
|
-
"x-amz-target": "Route53Resolver.UpdateFirewallRuleGroupAssociation",
|
|
532
|
-
};
|
|
355
|
+
const headers = sharedHeaders("UpdateFirewallRuleGroupAssociation");
|
|
533
356
|
let body;
|
|
534
357
|
body = JSON.stringify(se_UpdateFirewallRuleGroupAssociationRequest(input, context));
|
|
535
358
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
536
359
|
};
|
|
537
360
|
export const se_UpdateResolverConfigCommand = async (input, context) => {
|
|
538
|
-
const headers =
|
|
539
|
-
"content-type": "application/x-amz-json-1.1",
|
|
540
|
-
"x-amz-target": "Route53Resolver.UpdateResolverConfig",
|
|
541
|
-
};
|
|
361
|
+
const headers = sharedHeaders("UpdateResolverConfig");
|
|
542
362
|
let body;
|
|
543
363
|
body = JSON.stringify(se_UpdateResolverConfigRequest(input, context));
|
|
544
364
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
545
365
|
};
|
|
546
366
|
export const se_UpdateResolverDnssecConfigCommand = async (input, context) => {
|
|
547
|
-
const headers =
|
|
548
|
-
"content-type": "application/x-amz-json-1.1",
|
|
549
|
-
"x-amz-target": "Route53Resolver.UpdateResolverDnssecConfig",
|
|
550
|
-
};
|
|
367
|
+
const headers = sharedHeaders("UpdateResolverDnssecConfig");
|
|
551
368
|
let body;
|
|
552
369
|
body = JSON.stringify(se_UpdateResolverDnssecConfigRequest(input, context));
|
|
553
370
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
554
371
|
};
|
|
555
372
|
export const se_UpdateResolverEndpointCommand = async (input, context) => {
|
|
556
|
-
const headers =
|
|
557
|
-
"content-type": "application/x-amz-json-1.1",
|
|
558
|
-
"x-amz-target": "Route53Resolver.UpdateResolverEndpoint",
|
|
559
|
-
};
|
|
373
|
+
const headers = sharedHeaders("UpdateResolverEndpoint");
|
|
560
374
|
let body;
|
|
561
375
|
body = JSON.stringify(se_UpdateResolverEndpointRequest(input, context));
|
|
562
376
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
563
377
|
};
|
|
564
378
|
export const se_UpdateResolverRuleCommand = async (input, context) => {
|
|
565
|
-
const headers =
|
|
566
|
-
"content-type": "application/x-amz-json-1.1",
|
|
567
|
-
"x-amz-target": "Route53Resolver.UpdateResolverRule",
|
|
568
|
-
};
|
|
379
|
+
const headers = sharedHeaders("UpdateResolverRule");
|
|
569
380
|
let body;
|
|
570
381
|
body = JSON.stringify(se_UpdateResolverRuleRequest(input, context));
|
|
571
382
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
@@ -5085,6 +4896,12 @@ const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, bod
|
|
|
5085
4896
|
}
|
|
5086
4897
|
return new __HttpRequest(contents);
|
|
5087
4898
|
};
|
|
4899
|
+
function sharedHeaders(operation) {
|
|
4900
|
+
return {
|
|
4901
|
+
"content-type": "application/x-amz-json-1.1",
|
|
4902
|
+
"x-amz-target": `Route53Resolver.${operation}`,
|
|
4903
|
+
};
|
|
4904
|
+
}
|
|
5088
4905
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5089
4906
|
if (encoded.length) {
|
|
5090
4907
|
return JSON.parse(encoded);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route53resolver",
|
|
3
3
|
"description": "AWS SDK for JavaScript Route53resolver Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.312.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.312.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.310.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|