@aws-sdk/client-global-accelerator 3.312.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_json1_1.js +373 -1383
- package/dist-es/protocols/Aws_json1_1.js +374 -1384
- package/package.json +6 -6
|
@@ -10,28 +10,28 @@ const models_0_1 = require("../models/models_0");
|
|
|
10
10
|
const se_AddCustomRoutingEndpointsCommand = async (input, context) => {
|
|
11
11
|
const headers = sharedHeaders("AddCustomRoutingEndpoints");
|
|
12
12
|
let body;
|
|
13
|
-
body = JSON.stringify(
|
|
13
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
14
14
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
15
15
|
};
|
|
16
16
|
exports.se_AddCustomRoutingEndpointsCommand = se_AddCustomRoutingEndpointsCommand;
|
|
17
17
|
const se_AddEndpointsCommand = async (input, context) => {
|
|
18
18
|
const headers = sharedHeaders("AddEndpoints");
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
23
|
exports.se_AddEndpointsCommand = se_AddEndpointsCommand;
|
|
24
24
|
const se_AdvertiseByoipCidrCommand = async (input, context) => {
|
|
25
25
|
const headers = sharedHeaders("AdvertiseByoipCidr");
|
|
26
26
|
let body;
|
|
27
|
-
body = JSON.stringify(
|
|
27
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
28
28
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
29
|
};
|
|
30
30
|
exports.se_AdvertiseByoipCidrCommand = se_AdvertiseByoipCidrCommand;
|
|
31
31
|
const se_AllowCustomRoutingTrafficCommand = async (input, context) => {
|
|
32
32
|
const headers = sharedHeaders("AllowCustomRoutingTraffic");
|
|
33
33
|
let body;
|
|
34
|
-
body = JSON.stringify(
|
|
34
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
35
35
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
36
36
|
};
|
|
37
37
|
exports.se_AllowCustomRoutingTrafficCommand = se_AllowCustomRoutingTrafficCommand;
|
|
@@ -80,252 +80,252 @@ exports.se_CreateListenerCommand = se_CreateListenerCommand;
|
|
|
80
80
|
const se_DeleteAcceleratorCommand = async (input, context) => {
|
|
81
81
|
const headers = sharedHeaders("DeleteAccelerator");
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
86
|
exports.se_DeleteAcceleratorCommand = se_DeleteAcceleratorCommand;
|
|
87
87
|
const se_DeleteCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
88
88
|
const headers = sharedHeaders("DeleteCustomRoutingAccelerator");
|
|
89
89
|
let body;
|
|
90
|
-
body = JSON.stringify(
|
|
90
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
91
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
92
92
|
};
|
|
93
93
|
exports.se_DeleteCustomRoutingAcceleratorCommand = se_DeleteCustomRoutingAcceleratorCommand;
|
|
94
94
|
const se_DeleteCustomRoutingEndpointGroupCommand = async (input, context) => {
|
|
95
95
|
const headers = sharedHeaders("DeleteCustomRoutingEndpointGroup");
|
|
96
96
|
let body;
|
|
97
|
-
body = JSON.stringify(
|
|
97
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
98
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
99
99
|
};
|
|
100
100
|
exports.se_DeleteCustomRoutingEndpointGroupCommand = se_DeleteCustomRoutingEndpointGroupCommand;
|
|
101
101
|
const se_DeleteCustomRoutingListenerCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("DeleteCustomRoutingListener");
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
107
|
exports.se_DeleteCustomRoutingListenerCommand = se_DeleteCustomRoutingListenerCommand;
|
|
108
108
|
const se_DeleteEndpointGroupCommand = async (input, context) => {
|
|
109
109
|
const headers = sharedHeaders("DeleteEndpointGroup");
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
114
|
exports.se_DeleteEndpointGroupCommand = se_DeleteEndpointGroupCommand;
|
|
115
115
|
const se_DeleteListenerCommand = async (input, context) => {
|
|
116
116
|
const headers = sharedHeaders("DeleteListener");
|
|
117
117
|
let body;
|
|
118
|
-
body = JSON.stringify(
|
|
118
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
119
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
120
|
};
|
|
121
121
|
exports.se_DeleteListenerCommand = se_DeleteListenerCommand;
|
|
122
122
|
const se_DenyCustomRoutingTrafficCommand = async (input, context) => {
|
|
123
123
|
const headers = sharedHeaders("DenyCustomRoutingTraffic");
|
|
124
124
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
126
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
127
|
};
|
|
128
128
|
exports.se_DenyCustomRoutingTrafficCommand = se_DenyCustomRoutingTrafficCommand;
|
|
129
129
|
const se_DeprovisionByoipCidrCommand = async (input, context) => {
|
|
130
130
|
const headers = sharedHeaders("DeprovisionByoipCidr");
|
|
131
131
|
let body;
|
|
132
|
-
body = JSON.stringify(
|
|
132
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
133
133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
134
134
|
};
|
|
135
135
|
exports.se_DeprovisionByoipCidrCommand = se_DeprovisionByoipCidrCommand;
|
|
136
136
|
const se_DescribeAcceleratorCommand = async (input, context) => {
|
|
137
137
|
const headers = sharedHeaders("DescribeAccelerator");
|
|
138
138
|
let body;
|
|
139
|
-
body = JSON.stringify(
|
|
139
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
140
140
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
141
141
|
};
|
|
142
142
|
exports.se_DescribeAcceleratorCommand = se_DescribeAcceleratorCommand;
|
|
143
143
|
const se_DescribeAcceleratorAttributesCommand = async (input, context) => {
|
|
144
144
|
const headers = sharedHeaders("DescribeAcceleratorAttributes");
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
149
|
exports.se_DescribeAcceleratorAttributesCommand = se_DescribeAcceleratorAttributesCommand;
|
|
150
150
|
const se_DescribeCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
151
151
|
const headers = sharedHeaders("DescribeCustomRoutingAccelerator");
|
|
152
152
|
let body;
|
|
153
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
156
156
|
exports.se_DescribeCustomRoutingAcceleratorCommand = se_DescribeCustomRoutingAcceleratorCommand;
|
|
157
157
|
const se_DescribeCustomRoutingAcceleratorAttributesCommand = async (input, context) => {
|
|
158
158
|
const headers = sharedHeaders("DescribeCustomRoutingAcceleratorAttributes");
|
|
159
159
|
let body;
|
|
160
|
-
body = JSON.stringify(
|
|
160
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
161
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
162
|
};
|
|
163
163
|
exports.se_DescribeCustomRoutingAcceleratorAttributesCommand = se_DescribeCustomRoutingAcceleratorAttributesCommand;
|
|
164
164
|
const se_DescribeCustomRoutingEndpointGroupCommand = async (input, context) => {
|
|
165
165
|
const headers = sharedHeaders("DescribeCustomRoutingEndpointGroup");
|
|
166
166
|
let body;
|
|
167
|
-
body = JSON.stringify(
|
|
167
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
168
168
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
169
169
|
};
|
|
170
170
|
exports.se_DescribeCustomRoutingEndpointGroupCommand = se_DescribeCustomRoutingEndpointGroupCommand;
|
|
171
171
|
const se_DescribeCustomRoutingListenerCommand = async (input, context) => {
|
|
172
172
|
const headers = sharedHeaders("DescribeCustomRoutingListener");
|
|
173
173
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
175
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
176
|
};
|
|
177
177
|
exports.se_DescribeCustomRoutingListenerCommand = se_DescribeCustomRoutingListenerCommand;
|
|
178
178
|
const se_DescribeEndpointGroupCommand = async (input, context) => {
|
|
179
179
|
const headers = sharedHeaders("DescribeEndpointGroup");
|
|
180
180
|
let body;
|
|
181
|
-
body = JSON.stringify(
|
|
181
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
182
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
183
183
|
};
|
|
184
184
|
exports.se_DescribeEndpointGroupCommand = se_DescribeEndpointGroupCommand;
|
|
185
185
|
const se_DescribeListenerCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("DescribeListener");
|
|
187
187
|
let body;
|
|
188
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
191
|
exports.se_DescribeListenerCommand = se_DescribeListenerCommand;
|
|
192
192
|
const se_ListAcceleratorsCommand = async (input, context) => {
|
|
193
193
|
const headers = sharedHeaders("ListAccelerators");
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
198
|
exports.se_ListAcceleratorsCommand = se_ListAcceleratorsCommand;
|
|
199
199
|
const se_ListByoipCidrsCommand = async (input, context) => {
|
|
200
200
|
const headers = sharedHeaders("ListByoipCidrs");
|
|
201
201
|
let body;
|
|
202
|
-
body = JSON.stringify(
|
|
202
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
203
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
204
|
};
|
|
205
205
|
exports.se_ListByoipCidrsCommand = se_ListByoipCidrsCommand;
|
|
206
206
|
const se_ListCustomRoutingAcceleratorsCommand = async (input, context) => {
|
|
207
207
|
const headers = sharedHeaders("ListCustomRoutingAccelerators");
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
212
|
exports.se_ListCustomRoutingAcceleratorsCommand = se_ListCustomRoutingAcceleratorsCommand;
|
|
213
213
|
const se_ListCustomRoutingEndpointGroupsCommand = async (input, context) => {
|
|
214
214
|
const headers = sharedHeaders("ListCustomRoutingEndpointGroups");
|
|
215
215
|
let body;
|
|
216
|
-
body = JSON.stringify(
|
|
216
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
217
217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
218
|
};
|
|
219
219
|
exports.se_ListCustomRoutingEndpointGroupsCommand = se_ListCustomRoutingEndpointGroupsCommand;
|
|
220
220
|
const se_ListCustomRoutingListenersCommand = async (input, context) => {
|
|
221
221
|
const headers = sharedHeaders("ListCustomRoutingListeners");
|
|
222
222
|
let body;
|
|
223
|
-
body = JSON.stringify(
|
|
223
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
224
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
225
225
|
};
|
|
226
226
|
exports.se_ListCustomRoutingListenersCommand = se_ListCustomRoutingListenersCommand;
|
|
227
227
|
const se_ListCustomRoutingPortMappingsCommand = async (input, context) => {
|
|
228
228
|
const headers = sharedHeaders("ListCustomRoutingPortMappings");
|
|
229
229
|
let body;
|
|
230
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
231
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
232
232
|
};
|
|
233
233
|
exports.se_ListCustomRoutingPortMappingsCommand = se_ListCustomRoutingPortMappingsCommand;
|
|
234
234
|
const se_ListCustomRoutingPortMappingsByDestinationCommand = async (input, context) => {
|
|
235
235
|
const headers = sharedHeaders("ListCustomRoutingPortMappingsByDestination");
|
|
236
236
|
let body;
|
|
237
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
238
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
239
|
};
|
|
240
240
|
exports.se_ListCustomRoutingPortMappingsByDestinationCommand = se_ListCustomRoutingPortMappingsByDestinationCommand;
|
|
241
241
|
const se_ListEndpointGroupsCommand = async (input, context) => {
|
|
242
242
|
const headers = sharedHeaders("ListEndpointGroups");
|
|
243
243
|
let body;
|
|
244
|
-
body = JSON.stringify(
|
|
244
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
245
245
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
246
|
};
|
|
247
247
|
exports.se_ListEndpointGroupsCommand = se_ListEndpointGroupsCommand;
|
|
248
248
|
const se_ListListenersCommand = async (input, context) => {
|
|
249
249
|
const headers = sharedHeaders("ListListeners");
|
|
250
250
|
let body;
|
|
251
|
-
body = JSON.stringify(
|
|
251
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
252
252
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
253
253
|
};
|
|
254
254
|
exports.se_ListListenersCommand = se_ListListenersCommand;
|
|
255
255
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
256
256
|
const headers = sharedHeaders("ListTagsForResource");
|
|
257
257
|
let body;
|
|
258
|
-
body = JSON.stringify(
|
|
258
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
259
259
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
260
260
|
};
|
|
261
261
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
262
262
|
const se_ProvisionByoipCidrCommand = async (input, context) => {
|
|
263
263
|
const headers = sharedHeaders("ProvisionByoipCidr");
|
|
264
264
|
let body;
|
|
265
|
-
body = JSON.stringify(
|
|
265
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
266
266
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
267
267
|
};
|
|
268
268
|
exports.se_ProvisionByoipCidrCommand = se_ProvisionByoipCidrCommand;
|
|
269
269
|
const se_RemoveCustomRoutingEndpointsCommand = async (input, context) => {
|
|
270
270
|
const headers = sharedHeaders("RemoveCustomRoutingEndpoints");
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
275
|
exports.se_RemoveCustomRoutingEndpointsCommand = se_RemoveCustomRoutingEndpointsCommand;
|
|
276
276
|
const se_RemoveEndpointsCommand = async (input, context) => {
|
|
277
277
|
const headers = sharedHeaders("RemoveEndpoints");
|
|
278
278
|
let body;
|
|
279
|
-
body = JSON.stringify(
|
|
279
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
280
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
281
|
};
|
|
282
282
|
exports.se_RemoveEndpointsCommand = se_RemoveEndpointsCommand;
|
|
283
283
|
const se_TagResourceCommand = async (input, context) => {
|
|
284
284
|
const headers = sharedHeaders("TagResource");
|
|
285
285
|
let body;
|
|
286
|
-
body = JSON.stringify(
|
|
286
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
287
287
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
288
|
};
|
|
289
289
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
290
290
|
const se_UntagResourceCommand = async (input, context) => {
|
|
291
291
|
const headers = sharedHeaders("UntagResource");
|
|
292
292
|
let body;
|
|
293
|
-
body = JSON.stringify(
|
|
293
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
294
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
295
295
|
};
|
|
296
296
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
297
297
|
const se_UpdateAcceleratorCommand = async (input, context) => {
|
|
298
298
|
const headers = sharedHeaders("UpdateAccelerator");
|
|
299
299
|
let body;
|
|
300
|
-
body = JSON.stringify(
|
|
300
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
301
301
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
302
302
|
};
|
|
303
303
|
exports.se_UpdateAcceleratorCommand = se_UpdateAcceleratorCommand;
|
|
304
304
|
const se_UpdateAcceleratorAttributesCommand = async (input, context) => {
|
|
305
305
|
const headers = sharedHeaders("UpdateAcceleratorAttributes");
|
|
306
306
|
let body;
|
|
307
|
-
body = JSON.stringify(
|
|
307
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
308
308
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
309
309
|
};
|
|
310
310
|
exports.se_UpdateAcceleratorAttributesCommand = se_UpdateAcceleratorAttributesCommand;
|
|
311
311
|
const se_UpdateCustomRoutingAcceleratorCommand = async (input, context) => {
|
|
312
312
|
const headers = sharedHeaders("UpdateCustomRoutingAccelerator");
|
|
313
313
|
let body;
|
|
314
|
-
body = JSON.stringify(
|
|
314
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
315
315
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
316
316
|
};
|
|
317
317
|
exports.se_UpdateCustomRoutingAcceleratorCommand = se_UpdateCustomRoutingAcceleratorCommand;
|
|
318
318
|
const se_UpdateCustomRoutingAcceleratorAttributesCommand = async (input, context) => {
|
|
319
319
|
const headers = sharedHeaders("UpdateCustomRoutingAcceleratorAttributes");
|
|
320
320
|
let body;
|
|
321
|
-
body = JSON.stringify(
|
|
321
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
322
322
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
323
|
};
|
|
324
324
|
exports.se_UpdateCustomRoutingAcceleratorAttributesCommand = se_UpdateCustomRoutingAcceleratorAttributesCommand;
|
|
325
325
|
const se_UpdateCustomRoutingListenerCommand = async (input, context) => {
|
|
326
326
|
const headers = sharedHeaders("UpdateCustomRoutingListener");
|
|
327
327
|
let body;
|
|
328
|
-
body = JSON.stringify(
|
|
328
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
329
329
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
330
|
};
|
|
331
331
|
exports.se_UpdateCustomRoutingListenerCommand = se_UpdateCustomRoutingListenerCommand;
|
|
@@ -339,14 +339,14 @@ exports.se_UpdateEndpointGroupCommand = se_UpdateEndpointGroupCommand;
|
|
|
339
339
|
const se_UpdateListenerCommand = async (input, context) => {
|
|
340
340
|
const headers = sharedHeaders("UpdateListener");
|
|
341
341
|
let body;
|
|
342
|
-
body = JSON.stringify(
|
|
342
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
343
343
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
344
344
|
};
|
|
345
345
|
exports.se_UpdateListenerCommand = se_UpdateListenerCommand;
|
|
346
346
|
const se_WithdrawByoipCidrCommand = async (input, context) => {
|
|
347
347
|
const headers = sharedHeaders("WithdrawByoipCidr");
|
|
348
348
|
let body;
|
|
349
|
-
body = JSON.stringify(
|
|
349
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
350
350
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
351
351
|
};
|
|
352
352
|
exports.se_WithdrawByoipCidrCommand = se_WithdrawByoipCidrCommand;
|
|
@@ -356,12 +356,12 @@ const de_AddCustomRoutingEndpointsCommand = async (output, context) => {
|
|
|
356
356
|
}
|
|
357
357
|
const data = await parseBody(output.body, context);
|
|
358
358
|
let contents = {};
|
|
359
|
-
contents =
|
|
359
|
+
contents = (0, smithy_client_1._json)(data);
|
|
360
360
|
const response = {
|
|
361
361
|
$metadata: deserializeMetadata(output),
|
|
362
362
|
...contents,
|
|
363
363
|
};
|
|
364
|
-
return
|
|
364
|
+
return response;
|
|
365
365
|
};
|
|
366
366
|
exports.de_AddCustomRoutingEndpointsCommand = de_AddCustomRoutingEndpointsCommand;
|
|
367
367
|
const de_AddCustomRoutingEndpointsCommandError = async (output, context) => {
|
|
@@ -394,10 +394,9 @@ const de_AddCustomRoutingEndpointsCommandError = async (output, context) => {
|
|
|
394
394
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
395
395
|
default:
|
|
396
396
|
const parsedBody = parsedOutput.body;
|
|
397
|
-
|
|
397
|
+
return throwDefaultError({
|
|
398
398
|
output,
|
|
399
399
|
parsedBody,
|
|
400
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
401
400
|
errorCode,
|
|
402
401
|
});
|
|
403
402
|
}
|
|
@@ -408,12 +407,12 @@ const de_AddEndpointsCommand = async (output, context) => {
|
|
|
408
407
|
}
|
|
409
408
|
const data = await parseBody(output.body, context);
|
|
410
409
|
let contents = {};
|
|
411
|
-
contents =
|
|
410
|
+
contents = (0, smithy_client_1._json)(data);
|
|
412
411
|
const response = {
|
|
413
412
|
$metadata: deserializeMetadata(output),
|
|
414
413
|
...contents,
|
|
415
414
|
};
|
|
416
|
-
return
|
|
415
|
+
return response;
|
|
417
416
|
};
|
|
418
417
|
exports.de_AddEndpointsCommand = de_AddEndpointsCommand;
|
|
419
418
|
const de_AddEndpointsCommandError = async (output, context) => {
|
|
@@ -443,10 +442,9 @@ const de_AddEndpointsCommandError = async (output, context) => {
|
|
|
443
442
|
throw await de_TransactionInProgressExceptionRes(parsedOutput, context);
|
|
444
443
|
default:
|
|
445
444
|
const parsedBody = parsedOutput.body;
|
|
446
|
-
|
|
445
|
+
return throwDefaultError({
|
|
447
446
|
output,
|
|
448
447
|
parsedBody,
|
|
449
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
450
448
|
errorCode,
|
|
451
449
|
});
|
|
452
450
|
}
|
|
@@ -462,7 +460,7 @@ const de_AdvertiseByoipCidrCommand = async (output, context) => {
|
|
|
462
460
|
$metadata: deserializeMetadata(output),
|
|
463
461
|
...contents,
|
|
464
462
|
};
|
|
465
|
-
return
|
|
463
|
+
return response;
|
|
466
464
|
};
|
|
467
465
|
exports.de_AdvertiseByoipCidrCommand = de_AdvertiseByoipCidrCommand;
|
|
468
466
|
const de_AdvertiseByoipCidrCommandError = async (output, context) => {
|
|
@@ -489,10 +487,9 @@ const de_AdvertiseByoipCidrCommandError = async (output, context) => {
|
|
|
489
487
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
490
488
|
default:
|
|
491
489
|
const parsedBody = parsedOutput.body;
|
|
492
|
-
|
|
490
|
+
return throwDefaultError({
|
|
493
491
|
output,
|
|
494
492
|
parsedBody,
|
|
495
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
496
493
|
errorCode,
|
|
497
494
|
});
|
|
498
495
|
}
|
|
@@ -505,7 +502,7 @@ const de_AllowCustomRoutingTrafficCommand = async (output, context) => {
|
|
|
505
502
|
const response = {
|
|
506
503
|
$metadata: deserializeMetadata(output),
|
|
507
504
|
};
|
|
508
|
-
return
|
|
505
|
+
return response;
|
|
509
506
|
};
|
|
510
507
|
exports.de_AllowCustomRoutingTrafficCommand = de_AllowCustomRoutingTrafficCommand;
|
|
511
508
|
const de_AllowCustomRoutingTrafficCommandError = async (output, context) => {
|
|
@@ -526,10 +523,9 @@ const de_AllowCustomRoutingTrafficCommandError = async (output, context) => {
|
|
|
526
523
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
527
524
|
default:
|
|
528
525
|
const parsedBody = parsedOutput.body;
|
|
529
|
-
|
|
526
|
+
return throwDefaultError({
|
|
530
527
|
output,
|
|
531
528
|
parsedBody,
|
|
532
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
533
529
|
errorCode,
|
|
534
530
|
});
|
|
535
531
|
}
|
|
@@ -545,7 +541,7 @@ const de_CreateAcceleratorCommand = async (output, context) => {
|
|
|
545
541
|
$metadata: deserializeMetadata(output),
|
|
546
542
|
...contents,
|
|
547
543
|
};
|
|
548
|
-
return
|
|
544
|
+
return response;
|
|
549
545
|
};
|
|
550
546
|
exports.de_CreateAcceleratorCommand = de_CreateAcceleratorCommand;
|
|
551
547
|
const de_CreateAcceleratorCommandError = async (output, context) => {
|
|
@@ -566,10 +562,9 @@ const de_CreateAcceleratorCommandError = async (output, context) => {
|
|
|
566
562
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
567
563
|
default:
|
|
568
564
|
const parsedBody = parsedOutput.body;
|
|
569
|
-
|
|
565
|
+
return throwDefaultError({
|
|
570
566
|
output,
|
|
571
567
|
parsedBody,
|
|
572
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
573
568
|
errorCode,
|
|
574
569
|
});
|
|
575
570
|
}
|
|
@@ -585,7 +580,7 @@ const de_CreateCustomRoutingAcceleratorCommand = async (output, context) => {
|
|
|
585
580
|
$metadata: deserializeMetadata(output),
|
|
586
581
|
...contents,
|
|
587
582
|
};
|
|
588
|
-
return
|
|
583
|
+
return response;
|
|
589
584
|
};
|
|
590
585
|
exports.de_CreateCustomRoutingAcceleratorCommand = de_CreateCustomRoutingAcceleratorCommand;
|
|
591
586
|
const de_CreateCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
@@ -609,10 +604,9 @@ const de_CreateCustomRoutingAcceleratorCommandError = async (output, context) =>
|
|
|
609
604
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
610
605
|
default:
|
|
611
606
|
const parsedBody = parsedOutput.body;
|
|
612
|
-
|
|
607
|
+
return throwDefaultError({
|
|
613
608
|
output,
|
|
614
609
|
parsedBody,
|
|
615
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
616
610
|
errorCode,
|
|
617
611
|
});
|
|
618
612
|
}
|
|
@@ -623,12 +617,12 @@ const de_CreateCustomRoutingEndpointGroupCommand = async (output, context) => {
|
|
|
623
617
|
}
|
|
624
618
|
const data = await parseBody(output.body, context);
|
|
625
619
|
let contents = {};
|
|
626
|
-
contents =
|
|
620
|
+
contents = (0, smithy_client_1._json)(data);
|
|
627
621
|
const response = {
|
|
628
622
|
$metadata: deserializeMetadata(output),
|
|
629
623
|
...contents,
|
|
630
624
|
};
|
|
631
|
-
return
|
|
625
|
+
return response;
|
|
632
626
|
};
|
|
633
627
|
exports.de_CreateCustomRoutingEndpointGroupCommand = de_CreateCustomRoutingEndpointGroupCommand;
|
|
634
628
|
const de_CreateCustomRoutingEndpointGroupCommandError = async (output, context) => {
|
|
@@ -664,10 +658,9 @@ const de_CreateCustomRoutingEndpointGroupCommandError = async (output, context)
|
|
|
664
658
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
665
659
|
default:
|
|
666
660
|
const parsedBody = parsedOutput.body;
|
|
667
|
-
|
|
661
|
+
return throwDefaultError({
|
|
668
662
|
output,
|
|
669
663
|
parsedBody,
|
|
670
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
671
664
|
errorCode,
|
|
672
665
|
});
|
|
673
666
|
}
|
|
@@ -678,12 +671,12 @@ const de_CreateCustomRoutingListenerCommand = async (output, context) => {
|
|
|
678
671
|
}
|
|
679
672
|
const data = await parseBody(output.body, context);
|
|
680
673
|
let contents = {};
|
|
681
|
-
contents =
|
|
674
|
+
contents = (0, smithy_client_1._json)(data);
|
|
682
675
|
const response = {
|
|
683
676
|
$metadata: deserializeMetadata(output),
|
|
684
677
|
...contents,
|
|
685
678
|
};
|
|
686
|
-
return
|
|
679
|
+
return response;
|
|
687
680
|
};
|
|
688
681
|
exports.de_CreateCustomRoutingListenerCommand = de_CreateCustomRoutingListenerCommand;
|
|
689
682
|
const de_CreateCustomRoutingListenerCommandError = async (output, context) => {
|
|
@@ -710,10 +703,9 @@ const de_CreateCustomRoutingListenerCommandError = async (output, context) => {
|
|
|
710
703
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
711
704
|
default:
|
|
712
705
|
const parsedBody = parsedOutput.body;
|
|
713
|
-
|
|
706
|
+
return throwDefaultError({
|
|
714
707
|
output,
|
|
715
708
|
parsedBody,
|
|
716
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
717
709
|
errorCode,
|
|
718
710
|
});
|
|
719
711
|
}
|
|
@@ -729,7 +721,7 @@ const de_CreateEndpointGroupCommand = async (output, context) => {
|
|
|
729
721
|
$metadata: deserializeMetadata(output),
|
|
730
722
|
...contents,
|
|
731
723
|
};
|
|
732
|
-
return
|
|
724
|
+
return response;
|
|
733
725
|
};
|
|
734
726
|
exports.de_CreateEndpointGroupCommand = de_CreateEndpointGroupCommand;
|
|
735
727
|
const de_CreateEndpointGroupCommandError = async (output, context) => {
|
|
@@ -762,10 +754,9 @@ const de_CreateEndpointGroupCommandError = async (output, context) => {
|
|
|
762
754
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
763
755
|
default:
|
|
764
756
|
const parsedBody = parsedOutput.body;
|
|
765
|
-
|
|
757
|
+
return throwDefaultError({
|
|
766
758
|
output,
|
|
767
759
|
parsedBody,
|
|
768
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
769
760
|
errorCode,
|
|
770
761
|
});
|
|
771
762
|
}
|
|
@@ -776,12 +767,12 @@ const de_CreateListenerCommand = async (output, context) => {
|
|
|
776
767
|
}
|
|
777
768
|
const data = await parseBody(output.body, context);
|
|
778
769
|
let contents = {};
|
|
779
|
-
contents =
|
|
770
|
+
contents = (0, smithy_client_1._json)(data);
|
|
780
771
|
const response = {
|
|
781
772
|
$metadata: deserializeMetadata(output),
|
|
782
773
|
...contents,
|
|
783
774
|
};
|
|
784
|
-
return
|
|
775
|
+
return response;
|
|
785
776
|
};
|
|
786
777
|
exports.de_CreateListenerCommand = de_CreateListenerCommand;
|
|
787
778
|
const de_CreateListenerCommandError = async (output, context) => {
|
|
@@ -808,10 +799,9 @@ const de_CreateListenerCommandError = async (output, context) => {
|
|
|
808
799
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
809
800
|
default:
|
|
810
801
|
const parsedBody = parsedOutput.body;
|
|
811
|
-
|
|
802
|
+
return throwDefaultError({
|
|
812
803
|
output,
|
|
813
804
|
parsedBody,
|
|
814
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
815
805
|
errorCode,
|
|
816
806
|
});
|
|
817
807
|
}
|
|
@@ -824,7 +814,7 @@ const de_DeleteAcceleratorCommand = async (output, context) => {
|
|
|
824
814
|
const response = {
|
|
825
815
|
$metadata: deserializeMetadata(output),
|
|
826
816
|
};
|
|
827
|
-
return
|
|
817
|
+
return response;
|
|
828
818
|
};
|
|
829
819
|
exports.de_DeleteAcceleratorCommand = de_DeleteAcceleratorCommand;
|
|
830
820
|
const de_DeleteAcceleratorCommandError = async (output, context) => {
|
|
@@ -851,10 +841,9 @@ const de_DeleteAcceleratorCommandError = async (output, context) => {
|
|
|
851
841
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
852
842
|
default:
|
|
853
843
|
const parsedBody = parsedOutput.body;
|
|
854
|
-
|
|
844
|
+
return throwDefaultError({
|
|
855
845
|
output,
|
|
856
846
|
parsedBody,
|
|
857
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
858
847
|
errorCode,
|
|
859
848
|
});
|
|
860
849
|
}
|
|
@@ -867,7 +856,7 @@ const de_DeleteCustomRoutingAcceleratorCommand = async (output, context) => {
|
|
|
867
856
|
const response = {
|
|
868
857
|
$metadata: deserializeMetadata(output),
|
|
869
858
|
};
|
|
870
|
-
return
|
|
859
|
+
return response;
|
|
871
860
|
};
|
|
872
861
|
exports.de_DeleteCustomRoutingAcceleratorCommand = de_DeleteCustomRoutingAcceleratorCommand;
|
|
873
862
|
const de_DeleteCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
@@ -894,10 +883,9 @@ const de_DeleteCustomRoutingAcceleratorCommandError = async (output, context) =>
|
|
|
894
883
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
895
884
|
default:
|
|
896
885
|
const parsedBody = parsedOutput.body;
|
|
897
|
-
|
|
886
|
+
return throwDefaultError({
|
|
898
887
|
output,
|
|
899
888
|
parsedBody,
|
|
900
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
901
889
|
errorCode,
|
|
902
890
|
});
|
|
903
891
|
}
|
|
@@ -910,7 +898,7 @@ const de_DeleteCustomRoutingEndpointGroupCommand = async (output, context) => {
|
|
|
910
898
|
const response = {
|
|
911
899
|
$metadata: deserializeMetadata(output),
|
|
912
900
|
};
|
|
913
|
-
return
|
|
901
|
+
return response;
|
|
914
902
|
};
|
|
915
903
|
exports.de_DeleteCustomRoutingEndpointGroupCommand = de_DeleteCustomRoutingEndpointGroupCommand;
|
|
916
904
|
const de_DeleteCustomRoutingEndpointGroupCommandError = async (output, context) => {
|
|
@@ -931,10 +919,9 @@ const de_DeleteCustomRoutingEndpointGroupCommandError = async (output, context)
|
|
|
931
919
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
932
920
|
default:
|
|
933
921
|
const parsedBody = parsedOutput.body;
|
|
934
|
-
|
|
922
|
+
return throwDefaultError({
|
|
935
923
|
output,
|
|
936
924
|
parsedBody,
|
|
937
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
938
925
|
errorCode,
|
|
939
926
|
});
|
|
940
927
|
}
|
|
@@ -947,7 +934,7 @@ const de_DeleteCustomRoutingListenerCommand = async (output, context) => {
|
|
|
947
934
|
const response = {
|
|
948
935
|
$metadata: deserializeMetadata(output),
|
|
949
936
|
};
|
|
950
|
-
return
|
|
937
|
+
return response;
|
|
951
938
|
};
|
|
952
939
|
exports.de_DeleteCustomRoutingListenerCommand = de_DeleteCustomRoutingListenerCommand;
|
|
953
940
|
const de_DeleteCustomRoutingListenerCommandError = async (output, context) => {
|
|
@@ -971,10 +958,9 @@ const de_DeleteCustomRoutingListenerCommandError = async (output, context) => {
|
|
|
971
958
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
972
959
|
default:
|
|
973
960
|
const parsedBody = parsedOutput.body;
|
|
974
|
-
|
|
961
|
+
return throwDefaultError({
|
|
975
962
|
output,
|
|
976
963
|
parsedBody,
|
|
977
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
978
964
|
errorCode,
|
|
979
965
|
});
|
|
980
966
|
}
|
|
@@ -987,7 +973,7 @@ const de_DeleteEndpointGroupCommand = async (output, context) => {
|
|
|
987
973
|
const response = {
|
|
988
974
|
$metadata: deserializeMetadata(output),
|
|
989
975
|
};
|
|
990
|
-
return
|
|
976
|
+
return response;
|
|
991
977
|
};
|
|
992
978
|
exports.de_DeleteEndpointGroupCommand = de_DeleteEndpointGroupCommand;
|
|
993
979
|
const de_DeleteEndpointGroupCommandError = async (output, context) => {
|
|
@@ -1008,10 +994,9 @@ const de_DeleteEndpointGroupCommandError = async (output, context) => {
|
|
|
1008
994
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1009
995
|
default:
|
|
1010
996
|
const parsedBody = parsedOutput.body;
|
|
1011
|
-
|
|
997
|
+
return throwDefaultError({
|
|
1012
998
|
output,
|
|
1013
999
|
parsedBody,
|
|
1014
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1015
1000
|
errorCode,
|
|
1016
1001
|
});
|
|
1017
1002
|
}
|
|
@@ -1024,7 +1009,7 @@ const de_DeleteListenerCommand = async (output, context) => {
|
|
|
1024
1009
|
const response = {
|
|
1025
1010
|
$metadata: deserializeMetadata(output),
|
|
1026
1011
|
};
|
|
1027
|
-
return
|
|
1012
|
+
return response;
|
|
1028
1013
|
};
|
|
1029
1014
|
exports.de_DeleteListenerCommand = de_DeleteListenerCommand;
|
|
1030
1015
|
const de_DeleteListenerCommandError = async (output, context) => {
|
|
@@ -1048,10 +1033,9 @@ const de_DeleteListenerCommandError = async (output, context) => {
|
|
|
1048
1033
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1049
1034
|
default:
|
|
1050
1035
|
const parsedBody = parsedOutput.body;
|
|
1051
|
-
|
|
1036
|
+
return throwDefaultError({
|
|
1052
1037
|
output,
|
|
1053
1038
|
parsedBody,
|
|
1054
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1055
1039
|
errorCode,
|
|
1056
1040
|
});
|
|
1057
1041
|
}
|
|
@@ -1064,7 +1048,7 @@ const de_DenyCustomRoutingTrafficCommand = async (output, context) => {
|
|
|
1064
1048
|
const response = {
|
|
1065
1049
|
$metadata: deserializeMetadata(output),
|
|
1066
1050
|
};
|
|
1067
|
-
return
|
|
1051
|
+
return response;
|
|
1068
1052
|
};
|
|
1069
1053
|
exports.de_DenyCustomRoutingTrafficCommand = de_DenyCustomRoutingTrafficCommand;
|
|
1070
1054
|
const de_DenyCustomRoutingTrafficCommandError = async (output, context) => {
|
|
@@ -1085,10 +1069,9 @@ const de_DenyCustomRoutingTrafficCommandError = async (output, context) => {
|
|
|
1085
1069
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1086
1070
|
default:
|
|
1087
1071
|
const parsedBody = parsedOutput.body;
|
|
1088
|
-
|
|
1072
|
+
return throwDefaultError({
|
|
1089
1073
|
output,
|
|
1090
1074
|
parsedBody,
|
|
1091
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1092
1075
|
errorCode,
|
|
1093
1076
|
});
|
|
1094
1077
|
}
|
|
@@ -1104,7 +1087,7 @@ const de_DeprovisionByoipCidrCommand = async (output, context) => {
|
|
|
1104
1087
|
$metadata: deserializeMetadata(output),
|
|
1105
1088
|
...contents,
|
|
1106
1089
|
};
|
|
1107
|
-
return
|
|
1090
|
+
return response;
|
|
1108
1091
|
};
|
|
1109
1092
|
exports.de_DeprovisionByoipCidrCommand = de_DeprovisionByoipCidrCommand;
|
|
1110
1093
|
const de_DeprovisionByoipCidrCommandError = async (output, context) => {
|
|
@@ -1131,10 +1114,9 @@ const de_DeprovisionByoipCidrCommandError = async (output, context) => {
|
|
|
1131
1114
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1132
1115
|
default:
|
|
1133
1116
|
const parsedBody = parsedOutput.body;
|
|
1134
|
-
|
|
1117
|
+
return throwDefaultError({
|
|
1135
1118
|
output,
|
|
1136
1119
|
parsedBody,
|
|
1137
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1138
1120
|
errorCode,
|
|
1139
1121
|
});
|
|
1140
1122
|
}
|
|
@@ -1150,7 +1132,7 @@ const de_DescribeAcceleratorCommand = async (output, context) => {
|
|
|
1150
1132
|
$metadata: deserializeMetadata(output),
|
|
1151
1133
|
...contents,
|
|
1152
1134
|
};
|
|
1153
|
-
return
|
|
1135
|
+
return response;
|
|
1154
1136
|
};
|
|
1155
1137
|
exports.de_DescribeAcceleratorCommand = de_DescribeAcceleratorCommand;
|
|
1156
1138
|
const de_DescribeAcceleratorCommandError = async (output, context) => {
|
|
@@ -1171,10 +1153,9 @@ const de_DescribeAcceleratorCommandError = async (output, context) => {
|
|
|
1171
1153
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1172
1154
|
default:
|
|
1173
1155
|
const parsedBody = parsedOutput.body;
|
|
1174
|
-
|
|
1156
|
+
return throwDefaultError({
|
|
1175
1157
|
output,
|
|
1176
1158
|
parsedBody,
|
|
1177
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1178
1159
|
errorCode,
|
|
1179
1160
|
});
|
|
1180
1161
|
}
|
|
@@ -1185,12 +1166,12 @@ const de_DescribeAcceleratorAttributesCommand = async (output, context) => {
|
|
|
1185
1166
|
}
|
|
1186
1167
|
const data = await parseBody(output.body, context);
|
|
1187
1168
|
let contents = {};
|
|
1188
|
-
contents =
|
|
1169
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1189
1170
|
const response = {
|
|
1190
1171
|
$metadata: deserializeMetadata(output),
|
|
1191
1172
|
...contents,
|
|
1192
1173
|
};
|
|
1193
|
-
return
|
|
1174
|
+
return response;
|
|
1194
1175
|
};
|
|
1195
1176
|
exports.de_DescribeAcceleratorAttributesCommand = de_DescribeAcceleratorAttributesCommand;
|
|
1196
1177
|
const de_DescribeAcceleratorAttributesCommandError = async (output, context) => {
|
|
@@ -1211,10 +1192,9 @@ const de_DescribeAcceleratorAttributesCommandError = async (output, context) =>
|
|
|
1211
1192
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1212
1193
|
default:
|
|
1213
1194
|
const parsedBody = parsedOutput.body;
|
|
1214
|
-
|
|
1195
|
+
return throwDefaultError({
|
|
1215
1196
|
output,
|
|
1216
1197
|
parsedBody,
|
|
1217
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1218
1198
|
errorCode,
|
|
1219
1199
|
});
|
|
1220
1200
|
}
|
|
@@ -1230,7 +1210,7 @@ const de_DescribeCustomRoutingAcceleratorCommand = async (output, context) => {
|
|
|
1230
1210
|
$metadata: deserializeMetadata(output),
|
|
1231
1211
|
...contents,
|
|
1232
1212
|
};
|
|
1233
|
-
return
|
|
1213
|
+
return response;
|
|
1234
1214
|
};
|
|
1235
1215
|
exports.de_DescribeCustomRoutingAcceleratorCommand = de_DescribeCustomRoutingAcceleratorCommand;
|
|
1236
1216
|
const de_DescribeCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
@@ -1251,10 +1231,9 @@ const de_DescribeCustomRoutingAcceleratorCommandError = async (output, context)
|
|
|
1251
1231
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1252
1232
|
default:
|
|
1253
1233
|
const parsedBody = parsedOutput.body;
|
|
1254
|
-
|
|
1234
|
+
return throwDefaultError({
|
|
1255
1235
|
output,
|
|
1256
1236
|
parsedBody,
|
|
1257
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1258
1237
|
errorCode,
|
|
1259
1238
|
});
|
|
1260
1239
|
}
|
|
@@ -1265,12 +1244,12 @@ const de_DescribeCustomRoutingAcceleratorAttributesCommand = async (output, cont
|
|
|
1265
1244
|
}
|
|
1266
1245
|
const data = await parseBody(output.body, context);
|
|
1267
1246
|
let contents = {};
|
|
1268
|
-
contents =
|
|
1247
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1269
1248
|
const response = {
|
|
1270
1249
|
$metadata: deserializeMetadata(output),
|
|
1271
1250
|
...contents,
|
|
1272
1251
|
};
|
|
1273
|
-
return
|
|
1252
|
+
return response;
|
|
1274
1253
|
};
|
|
1275
1254
|
exports.de_DescribeCustomRoutingAcceleratorAttributesCommand = de_DescribeCustomRoutingAcceleratorAttributesCommand;
|
|
1276
1255
|
const de_DescribeCustomRoutingAcceleratorAttributesCommandError = async (output, context) => {
|
|
@@ -1291,10 +1270,9 @@ const de_DescribeCustomRoutingAcceleratorAttributesCommandError = async (output,
|
|
|
1291
1270
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1292
1271
|
default:
|
|
1293
1272
|
const parsedBody = parsedOutput.body;
|
|
1294
|
-
|
|
1273
|
+
return throwDefaultError({
|
|
1295
1274
|
output,
|
|
1296
1275
|
parsedBody,
|
|
1297
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1298
1276
|
errorCode,
|
|
1299
1277
|
});
|
|
1300
1278
|
}
|
|
@@ -1305,12 +1283,12 @@ const de_DescribeCustomRoutingEndpointGroupCommand = async (output, context) =>
|
|
|
1305
1283
|
}
|
|
1306
1284
|
const data = await parseBody(output.body, context);
|
|
1307
1285
|
let contents = {};
|
|
1308
|
-
contents =
|
|
1286
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1309
1287
|
const response = {
|
|
1310
1288
|
$metadata: deserializeMetadata(output),
|
|
1311
1289
|
...contents,
|
|
1312
1290
|
};
|
|
1313
|
-
return
|
|
1291
|
+
return response;
|
|
1314
1292
|
};
|
|
1315
1293
|
exports.de_DescribeCustomRoutingEndpointGroupCommand = de_DescribeCustomRoutingEndpointGroupCommand;
|
|
1316
1294
|
const de_DescribeCustomRoutingEndpointGroupCommandError = async (output, context) => {
|
|
@@ -1331,10 +1309,9 @@ const de_DescribeCustomRoutingEndpointGroupCommandError = async (output, context
|
|
|
1331
1309
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1332
1310
|
default:
|
|
1333
1311
|
const parsedBody = parsedOutput.body;
|
|
1334
|
-
|
|
1312
|
+
return throwDefaultError({
|
|
1335
1313
|
output,
|
|
1336
1314
|
parsedBody,
|
|
1337
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1338
1315
|
errorCode,
|
|
1339
1316
|
});
|
|
1340
1317
|
}
|
|
@@ -1345,12 +1322,12 @@ const de_DescribeCustomRoutingListenerCommand = async (output, context) => {
|
|
|
1345
1322
|
}
|
|
1346
1323
|
const data = await parseBody(output.body, context);
|
|
1347
1324
|
let contents = {};
|
|
1348
|
-
contents =
|
|
1325
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1349
1326
|
const response = {
|
|
1350
1327
|
$metadata: deserializeMetadata(output),
|
|
1351
1328
|
...contents,
|
|
1352
1329
|
};
|
|
1353
|
-
return
|
|
1330
|
+
return response;
|
|
1354
1331
|
};
|
|
1355
1332
|
exports.de_DescribeCustomRoutingListenerCommand = de_DescribeCustomRoutingListenerCommand;
|
|
1356
1333
|
const de_DescribeCustomRoutingListenerCommandError = async (output, context) => {
|
|
@@ -1371,10 +1348,9 @@ const de_DescribeCustomRoutingListenerCommandError = async (output, context) =>
|
|
|
1371
1348
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1372
1349
|
default:
|
|
1373
1350
|
const parsedBody = parsedOutput.body;
|
|
1374
|
-
|
|
1351
|
+
return throwDefaultError({
|
|
1375
1352
|
output,
|
|
1376
1353
|
parsedBody,
|
|
1377
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1378
1354
|
errorCode,
|
|
1379
1355
|
});
|
|
1380
1356
|
}
|
|
@@ -1390,7 +1366,7 @@ const de_DescribeEndpointGroupCommand = async (output, context) => {
|
|
|
1390
1366
|
$metadata: deserializeMetadata(output),
|
|
1391
1367
|
...contents,
|
|
1392
1368
|
};
|
|
1393
|
-
return
|
|
1369
|
+
return response;
|
|
1394
1370
|
};
|
|
1395
1371
|
exports.de_DescribeEndpointGroupCommand = de_DescribeEndpointGroupCommand;
|
|
1396
1372
|
const de_DescribeEndpointGroupCommandError = async (output, context) => {
|
|
@@ -1411,10 +1387,9 @@ const de_DescribeEndpointGroupCommandError = async (output, context) => {
|
|
|
1411
1387
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1412
1388
|
default:
|
|
1413
1389
|
const parsedBody = parsedOutput.body;
|
|
1414
|
-
|
|
1390
|
+
return throwDefaultError({
|
|
1415
1391
|
output,
|
|
1416
1392
|
parsedBody,
|
|
1417
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1418
1393
|
errorCode,
|
|
1419
1394
|
});
|
|
1420
1395
|
}
|
|
@@ -1425,12 +1400,12 @@ const de_DescribeListenerCommand = async (output, context) => {
|
|
|
1425
1400
|
}
|
|
1426
1401
|
const data = await parseBody(output.body, context);
|
|
1427
1402
|
let contents = {};
|
|
1428
|
-
contents =
|
|
1403
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1429
1404
|
const response = {
|
|
1430
1405
|
$metadata: deserializeMetadata(output),
|
|
1431
1406
|
...contents,
|
|
1432
1407
|
};
|
|
1433
|
-
return
|
|
1408
|
+
return response;
|
|
1434
1409
|
};
|
|
1435
1410
|
exports.de_DescribeListenerCommand = de_DescribeListenerCommand;
|
|
1436
1411
|
const de_DescribeListenerCommandError = async (output, context) => {
|
|
@@ -1451,10 +1426,9 @@ const de_DescribeListenerCommandError = async (output, context) => {
|
|
|
1451
1426
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1452
1427
|
default:
|
|
1453
1428
|
const parsedBody = parsedOutput.body;
|
|
1454
|
-
|
|
1429
|
+
return throwDefaultError({
|
|
1455
1430
|
output,
|
|
1456
1431
|
parsedBody,
|
|
1457
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1458
1432
|
errorCode,
|
|
1459
1433
|
});
|
|
1460
1434
|
}
|
|
@@ -1470,7 +1444,7 @@ const de_ListAcceleratorsCommand = async (output, context) => {
|
|
|
1470
1444
|
$metadata: deserializeMetadata(output),
|
|
1471
1445
|
...contents,
|
|
1472
1446
|
};
|
|
1473
|
-
return
|
|
1447
|
+
return response;
|
|
1474
1448
|
};
|
|
1475
1449
|
exports.de_ListAcceleratorsCommand = de_ListAcceleratorsCommand;
|
|
1476
1450
|
const de_ListAcceleratorsCommandError = async (output, context) => {
|
|
@@ -1491,10 +1465,9 @@ const de_ListAcceleratorsCommandError = async (output, context) => {
|
|
|
1491
1465
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1492
1466
|
default:
|
|
1493
1467
|
const parsedBody = parsedOutput.body;
|
|
1494
|
-
|
|
1468
|
+
return throwDefaultError({
|
|
1495
1469
|
output,
|
|
1496
1470
|
parsedBody,
|
|
1497
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1498
1471
|
errorCode,
|
|
1499
1472
|
});
|
|
1500
1473
|
}
|
|
@@ -1510,7 +1483,7 @@ const de_ListByoipCidrsCommand = async (output, context) => {
|
|
|
1510
1483
|
$metadata: deserializeMetadata(output),
|
|
1511
1484
|
...contents,
|
|
1512
1485
|
};
|
|
1513
|
-
return
|
|
1486
|
+
return response;
|
|
1514
1487
|
};
|
|
1515
1488
|
exports.de_ListByoipCidrsCommand = de_ListByoipCidrsCommand;
|
|
1516
1489
|
const de_ListByoipCidrsCommandError = async (output, context) => {
|
|
@@ -1534,10 +1507,9 @@ const de_ListByoipCidrsCommandError = async (output, context) => {
|
|
|
1534
1507
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1535
1508
|
default:
|
|
1536
1509
|
const parsedBody = parsedOutput.body;
|
|
1537
|
-
|
|
1510
|
+
return throwDefaultError({
|
|
1538
1511
|
output,
|
|
1539
1512
|
parsedBody,
|
|
1540
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1541
1513
|
errorCode,
|
|
1542
1514
|
});
|
|
1543
1515
|
}
|
|
@@ -1553,7 +1525,7 @@ const de_ListCustomRoutingAcceleratorsCommand = async (output, context) => {
|
|
|
1553
1525
|
$metadata: deserializeMetadata(output),
|
|
1554
1526
|
...contents,
|
|
1555
1527
|
};
|
|
1556
|
-
return
|
|
1528
|
+
return response;
|
|
1557
1529
|
};
|
|
1558
1530
|
exports.de_ListCustomRoutingAcceleratorsCommand = de_ListCustomRoutingAcceleratorsCommand;
|
|
1559
1531
|
const de_ListCustomRoutingAcceleratorsCommandError = async (output, context) => {
|
|
@@ -1574,10 +1546,9 @@ const de_ListCustomRoutingAcceleratorsCommandError = async (output, context) =>
|
|
|
1574
1546
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1575
1547
|
default:
|
|
1576
1548
|
const parsedBody = parsedOutput.body;
|
|
1577
|
-
|
|
1549
|
+
return throwDefaultError({
|
|
1578
1550
|
output,
|
|
1579
1551
|
parsedBody,
|
|
1580
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1581
1552
|
errorCode,
|
|
1582
1553
|
});
|
|
1583
1554
|
}
|
|
@@ -1588,12 +1559,12 @@ const de_ListCustomRoutingEndpointGroupsCommand = async (output, context) => {
|
|
|
1588
1559
|
}
|
|
1589
1560
|
const data = await parseBody(output.body, context);
|
|
1590
1561
|
let contents = {};
|
|
1591
|
-
contents =
|
|
1562
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1592
1563
|
const response = {
|
|
1593
1564
|
$metadata: deserializeMetadata(output),
|
|
1594
1565
|
...contents,
|
|
1595
1566
|
};
|
|
1596
|
-
return
|
|
1567
|
+
return response;
|
|
1597
1568
|
};
|
|
1598
1569
|
exports.de_ListCustomRoutingEndpointGroupsCommand = de_ListCustomRoutingEndpointGroupsCommand;
|
|
1599
1570
|
const de_ListCustomRoutingEndpointGroupsCommandError = async (output, context) => {
|
|
@@ -1617,10 +1588,9 @@ const de_ListCustomRoutingEndpointGroupsCommandError = async (output, context) =
|
|
|
1617
1588
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1618
1589
|
default:
|
|
1619
1590
|
const parsedBody = parsedOutput.body;
|
|
1620
|
-
|
|
1591
|
+
return throwDefaultError({
|
|
1621
1592
|
output,
|
|
1622
1593
|
parsedBody,
|
|
1623
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1624
1594
|
errorCode,
|
|
1625
1595
|
});
|
|
1626
1596
|
}
|
|
@@ -1631,12 +1601,12 @@ const de_ListCustomRoutingListenersCommand = async (output, context) => {
|
|
|
1631
1601
|
}
|
|
1632
1602
|
const data = await parseBody(output.body, context);
|
|
1633
1603
|
let contents = {};
|
|
1634
|
-
contents =
|
|
1604
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1635
1605
|
const response = {
|
|
1636
1606
|
$metadata: deserializeMetadata(output),
|
|
1637
1607
|
...contents,
|
|
1638
1608
|
};
|
|
1639
|
-
return
|
|
1609
|
+
return response;
|
|
1640
1610
|
};
|
|
1641
1611
|
exports.de_ListCustomRoutingListenersCommand = de_ListCustomRoutingListenersCommand;
|
|
1642
1612
|
const de_ListCustomRoutingListenersCommandError = async (output, context) => {
|
|
@@ -1660,10 +1630,9 @@ const de_ListCustomRoutingListenersCommandError = async (output, context) => {
|
|
|
1660
1630
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1661
1631
|
default:
|
|
1662
1632
|
const parsedBody = parsedOutput.body;
|
|
1663
|
-
|
|
1633
|
+
return throwDefaultError({
|
|
1664
1634
|
output,
|
|
1665
1635
|
parsedBody,
|
|
1666
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1667
1636
|
errorCode,
|
|
1668
1637
|
});
|
|
1669
1638
|
}
|
|
@@ -1674,12 +1643,12 @@ const de_ListCustomRoutingPortMappingsCommand = async (output, context) => {
|
|
|
1674
1643
|
}
|
|
1675
1644
|
const data = await parseBody(output.body, context);
|
|
1676
1645
|
let contents = {};
|
|
1677
|
-
contents =
|
|
1646
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1678
1647
|
const response = {
|
|
1679
1648
|
$metadata: deserializeMetadata(output),
|
|
1680
1649
|
...contents,
|
|
1681
1650
|
};
|
|
1682
|
-
return
|
|
1651
|
+
return response;
|
|
1683
1652
|
};
|
|
1684
1653
|
exports.de_ListCustomRoutingPortMappingsCommand = de_ListCustomRoutingPortMappingsCommand;
|
|
1685
1654
|
const de_ListCustomRoutingPortMappingsCommandError = async (output, context) => {
|
|
@@ -1706,10 +1675,9 @@ const de_ListCustomRoutingPortMappingsCommandError = async (output, context) =>
|
|
|
1706
1675
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1707
1676
|
default:
|
|
1708
1677
|
const parsedBody = parsedOutput.body;
|
|
1709
|
-
|
|
1678
|
+
return throwDefaultError({
|
|
1710
1679
|
output,
|
|
1711
1680
|
parsedBody,
|
|
1712
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1713
1681
|
errorCode,
|
|
1714
1682
|
});
|
|
1715
1683
|
}
|
|
@@ -1720,12 +1688,12 @@ const de_ListCustomRoutingPortMappingsByDestinationCommand = async (output, cont
|
|
|
1720
1688
|
}
|
|
1721
1689
|
const data = await parseBody(output.body, context);
|
|
1722
1690
|
let contents = {};
|
|
1723
|
-
contents =
|
|
1691
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1724
1692
|
const response = {
|
|
1725
1693
|
$metadata: deserializeMetadata(output),
|
|
1726
1694
|
...contents,
|
|
1727
1695
|
};
|
|
1728
|
-
return
|
|
1696
|
+
return response;
|
|
1729
1697
|
};
|
|
1730
1698
|
exports.de_ListCustomRoutingPortMappingsByDestinationCommand = de_ListCustomRoutingPortMappingsByDestinationCommand;
|
|
1731
1699
|
const de_ListCustomRoutingPortMappingsByDestinationCommandError = async (output, context) => {
|
|
@@ -1749,10 +1717,9 @@ const de_ListCustomRoutingPortMappingsByDestinationCommandError = async (output,
|
|
|
1749
1717
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1750
1718
|
default:
|
|
1751
1719
|
const parsedBody = parsedOutput.body;
|
|
1752
|
-
|
|
1720
|
+
return throwDefaultError({
|
|
1753
1721
|
output,
|
|
1754
1722
|
parsedBody,
|
|
1755
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1756
1723
|
errorCode,
|
|
1757
1724
|
});
|
|
1758
1725
|
}
|
|
@@ -1768,7 +1735,7 @@ const de_ListEndpointGroupsCommand = async (output, context) => {
|
|
|
1768
1735
|
$metadata: deserializeMetadata(output),
|
|
1769
1736
|
...contents,
|
|
1770
1737
|
};
|
|
1771
|
-
return
|
|
1738
|
+
return response;
|
|
1772
1739
|
};
|
|
1773
1740
|
exports.de_ListEndpointGroupsCommand = de_ListEndpointGroupsCommand;
|
|
1774
1741
|
const de_ListEndpointGroupsCommandError = async (output, context) => {
|
|
@@ -1792,10 +1759,9 @@ const de_ListEndpointGroupsCommandError = async (output, context) => {
|
|
|
1792
1759
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
1793
1760
|
default:
|
|
1794
1761
|
const parsedBody = parsedOutput.body;
|
|
1795
|
-
|
|
1762
|
+
return throwDefaultError({
|
|
1796
1763
|
output,
|
|
1797
1764
|
parsedBody,
|
|
1798
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1799
1765
|
errorCode,
|
|
1800
1766
|
});
|
|
1801
1767
|
}
|
|
@@ -1806,12 +1772,12 @@ const de_ListListenersCommand = async (output, context) => {
|
|
|
1806
1772
|
}
|
|
1807
1773
|
const data = await parseBody(output.body, context);
|
|
1808
1774
|
let contents = {};
|
|
1809
|
-
contents =
|
|
1775
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1810
1776
|
const response = {
|
|
1811
1777
|
$metadata: deserializeMetadata(output),
|
|
1812
1778
|
...contents,
|
|
1813
1779
|
};
|
|
1814
|
-
return
|
|
1780
|
+
return response;
|
|
1815
1781
|
};
|
|
1816
1782
|
exports.de_ListListenersCommand = de_ListListenersCommand;
|
|
1817
1783
|
const de_ListListenersCommandError = async (output, context) => {
|
|
@@ -1835,10 +1801,9 @@ const de_ListListenersCommandError = async (output, context) => {
|
|
|
1835
1801
|
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1836
1802
|
default:
|
|
1837
1803
|
const parsedBody = parsedOutput.body;
|
|
1838
|
-
|
|
1804
|
+
return throwDefaultError({
|
|
1839
1805
|
output,
|
|
1840
1806
|
parsedBody,
|
|
1841
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1842
1807
|
errorCode,
|
|
1843
1808
|
});
|
|
1844
1809
|
}
|
|
@@ -1849,12 +1814,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1849
1814
|
}
|
|
1850
1815
|
const data = await parseBody(output.body, context);
|
|
1851
1816
|
let contents = {};
|
|
1852
|
-
contents =
|
|
1817
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1853
1818
|
const response = {
|
|
1854
1819
|
$metadata: deserializeMetadata(output),
|
|
1855
1820
|
...contents,
|
|
1856
1821
|
};
|
|
1857
|
-
return
|
|
1822
|
+
return response;
|
|
1858
1823
|
};
|
|
1859
1824
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1860
1825
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1875,10 +1840,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1875
1840
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1876
1841
|
default:
|
|
1877
1842
|
const parsedBody = parsedOutput.body;
|
|
1878
|
-
|
|
1843
|
+
return throwDefaultError({
|
|
1879
1844
|
output,
|
|
1880
1845
|
parsedBody,
|
|
1881
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1882
1846
|
errorCode,
|
|
1883
1847
|
});
|
|
1884
1848
|
}
|
|
@@ -1894,7 +1858,7 @@ const de_ProvisionByoipCidrCommand = async (output, context) => {
|
|
|
1894
1858
|
$metadata: deserializeMetadata(output),
|
|
1895
1859
|
...contents,
|
|
1896
1860
|
};
|
|
1897
|
-
return
|
|
1861
|
+
return response;
|
|
1898
1862
|
};
|
|
1899
1863
|
exports.de_ProvisionByoipCidrCommand = de_ProvisionByoipCidrCommand;
|
|
1900
1864
|
const de_ProvisionByoipCidrCommandError = async (output, context) => {
|
|
@@ -1921,10 +1885,9 @@ const de_ProvisionByoipCidrCommandError = async (output, context) => {
|
|
|
1921
1885
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1922
1886
|
default:
|
|
1923
1887
|
const parsedBody = parsedOutput.body;
|
|
1924
|
-
|
|
1888
|
+
return throwDefaultError({
|
|
1925
1889
|
output,
|
|
1926
1890
|
parsedBody,
|
|
1927
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1928
1891
|
errorCode,
|
|
1929
1892
|
});
|
|
1930
1893
|
}
|
|
@@ -1937,7 +1900,7 @@ const de_RemoveCustomRoutingEndpointsCommand = async (output, context) => {
|
|
|
1937
1900
|
const response = {
|
|
1938
1901
|
$metadata: deserializeMetadata(output),
|
|
1939
1902
|
};
|
|
1940
|
-
return
|
|
1903
|
+
return response;
|
|
1941
1904
|
};
|
|
1942
1905
|
exports.de_RemoveCustomRoutingEndpointsCommand = de_RemoveCustomRoutingEndpointsCommand;
|
|
1943
1906
|
const de_RemoveCustomRoutingEndpointsCommandError = async (output, context) => {
|
|
@@ -1967,10 +1930,9 @@ const de_RemoveCustomRoutingEndpointsCommandError = async (output, context) => {
|
|
|
1967
1930
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1968
1931
|
default:
|
|
1969
1932
|
const parsedBody = parsedOutput.body;
|
|
1970
|
-
|
|
1933
|
+
return throwDefaultError({
|
|
1971
1934
|
output,
|
|
1972
1935
|
parsedBody,
|
|
1973
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
1974
1936
|
errorCode,
|
|
1975
1937
|
});
|
|
1976
1938
|
}
|
|
@@ -1983,7 +1945,7 @@ const de_RemoveEndpointsCommand = async (output, context) => {
|
|
|
1983
1945
|
const response = {
|
|
1984
1946
|
$metadata: deserializeMetadata(output),
|
|
1985
1947
|
};
|
|
1986
|
-
return
|
|
1948
|
+
return response;
|
|
1987
1949
|
};
|
|
1988
1950
|
exports.de_RemoveEndpointsCommand = de_RemoveEndpointsCommand;
|
|
1989
1951
|
const de_RemoveEndpointsCommandError = async (output, context) => {
|
|
@@ -2010,10 +1972,9 @@ const de_RemoveEndpointsCommandError = async (output, context) => {
|
|
|
2010
1972
|
throw await de_TransactionInProgressExceptionRes(parsedOutput, context);
|
|
2011
1973
|
default:
|
|
2012
1974
|
const parsedBody = parsedOutput.body;
|
|
2013
|
-
|
|
1975
|
+
return throwDefaultError({
|
|
2014
1976
|
output,
|
|
2015
1977
|
parsedBody,
|
|
2016
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2017
1978
|
errorCode,
|
|
2018
1979
|
});
|
|
2019
1980
|
}
|
|
@@ -2024,12 +1985,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2024
1985
|
}
|
|
2025
1986
|
const data = await parseBody(output.body, context);
|
|
2026
1987
|
let contents = {};
|
|
2027
|
-
contents =
|
|
1988
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2028
1989
|
const response = {
|
|
2029
1990
|
$metadata: deserializeMetadata(output),
|
|
2030
1991
|
...contents,
|
|
2031
1992
|
};
|
|
2032
|
-
return
|
|
1993
|
+
return response;
|
|
2033
1994
|
};
|
|
2034
1995
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2035
1996
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -2050,10 +2011,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
2050
2011
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2051
2012
|
default:
|
|
2052
2013
|
const parsedBody = parsedOutput.body;
|
|
2053
|
-
|
|
2014
|
+
return throwDefaultError({
|
|
2054
2015
|
output,
|
|
2055
2016
|
parsedBody,
|
|
2056
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2057
2017
|
errorCode,
|
|
2058
2018
|
});
|
|
2059
2019
|
}
|
|
@@ -2064,12 +2024,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2064
2024
|
}
|
|
2065
2025
|
const data = await parseBody(output.body, context);
|
|
2066
2026
|
let contents = {};
|
|
2067
|
-
contents =
|
|
2027
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2068
2028
|
const response = {
|
|
2069
2029
|
$metadata: deserializeMetadata(output),
|
|
2070
2030
|
...contents,
|
|
2071
2031
|
};
|
|
2072
|
-
return
|
|
2032
|
+
return response;
|
|
2073
2033
|
};
|
|
2074
2034
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2075
2035
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -2090,10 +2050,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
2090
2050
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2091
2051
|
default:
|
|
2092
2052
|
const parsedBody = parsedOutput.body;
|
|
2093
|
-
|
|
2053
|
+
return throwDefaultError({
|
|
2094
2054
|
output,
|
|
2095
2055
|
parsedBody,
|
|
2096
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2097
2056
|
errorCode,
|
|
2098
2057
|
});
|
|
2099
2058
|
}
|
|
@@ -2109,7 +2068,7 @@ const de_UpdateAcceleratorCommand = async (output, context) => {
|
|
|
2109
2068
|
$metadata: deserializeMetadata(output),
|
|
2110
2069
|
...contents,
|
|
2111
2070
|
};
|
|
2112
|
-
return
|
|
2071
|
+
return response;
|
|
2113
2072
|
};
|
|
2114
2073
|
exports.de_UpdateAcceleratorCommand = de_UpdateAcceleratorCommand;
|
|
2115
2074
|
const de_UpdateAcceleratorCommandError = async (output, context) => {
|
|
@@ -2133,10 +2092,9 @@ const de_UpdateAcceleratorCommandError = async (output, context) => {
|
|
|
2133
2092
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2134
2093
|
default:
|
|
2135
2094
|
const parsedBody = parsedOutput.body;
|
|
2136
|
-
|
|
2095
|
+
return throwDefaultError({
|
|
2137
2096
|
output,
|
|
2138
2097
|
parsedBody,
|
|
2139
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2140
2098
|
errorCode,
|
|
2141
2099
|
});
|
|
2142
2100
|
}
|
|
@@ -2147,12 +2105,12 @@ const de_UpdateAcceleratorAttributesCommand = async (output, context) => {
|
|
|
2147
2105
|
}
|
|
2148
2106
|
const data = await parseBody(output.body, context);
|
|
2149
2107
|
let contents = {};
|
|
2150
|
-
contents =
|
|
2108
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2151
2109
|
const response = {
|
|
2152
2110
|
$metadata: deserializeMetadata(output),
|
|
2153
2111
|
...contents,
|
|
2154
2112
|
};
|
|
2155
|
-
return
|
|
2113
|
+
return response;
|
|
2156
2114
|
};
|
|
2157
2115
|
exports.de_UpdateAcceleratorAttributesCommand = de_UpdateAcceleratorAttributesCommand;
|
|
2158
2116
|
const de_UpdateAcceleratorAttributesCommandError = async (output, context) => {
|
|
@@ -2176,10 +2134,9 @@ const de_UpdateAcceleratorAttributesCommandError = async (output, context) => {
|
|
|
2176
2134
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2177
2135
|
default:
|
|
2178
2136
|
const parsedBody = parsedOutput.body;
|
|
2179
|
-
|
|
2137
|
+
return throwDefaultError({
|
|
2180
2138
|
output,
|
|
2181
2139
|
parsedBody,
|
|
2182
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2183
2140
|
errorCode,
|
|
2184
2141
|
});
|
|
2185
2142
|
}
|
|
@@ -2195,7 +2152,7 @@ const de_UpdateCustomRoutingAcceleratorCommand = async (output, context) => {
|
|
|
2195
2152
|
$metadata: deserializeMetadata(output),
|
|
2196
2153
|
...contents,
|
|
2197
2154
|
};
|
|
2198
|
-
return
|
|
2155
|
+
return response;
|
|
2199
2156
|
};
|
|
2200
2157
|
exports.de_UpdateCustomRoutingAcceleratorCommand = de_UpdateCustomRoutingAcceleratorCommand;
|
|
2201
2158
|
const de_UpdateCustomRoutingAcceleratorCommandError = async (output, context) => {
|
|
@@ -2216,10 +2173,9 @@ const de_UpdateCustomRoutingAcceleratorCommandError = async (output, context) =>
|
|
|
2216
2173
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2217
2174
|
default:
|
|
2218
2175
|
const parsedBody = parsedOutput.body;
|
|
2219
|
-
|
|
2176
|
+
return throwDefaultError({
|
|
2220
2177
|
output,
|
|
2221
2178
|
parsedBody,
|
|
2222
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2223
2179
|
errorCode,
|
|
2224
2180
|
});
|
|
2225
2181
|
}
|
|
@@ -2230,12 +2186,12 @@ const de_UpdateCustomRoutingAcceleratorAttributesCommand = async (output, contex
|
|
|
2230
2186
|
}
|
|
2231
2187
|
const data = await parseBody(output.body, context);
|
|
2232
2188
|
let contents = {};
|
|
2233
|
-
contents =
|
|
2189
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2234
2190
|
const response = {
|
|
2235
2191
|
$metadata: deserializeMetadata(output),
|
|
2236
2192
|
...contents,
|
|
2237
2193
|
};
|
|
2238
|
-
return
|
|
2194
|
+
return response;
|
|
2239
2195
|
};
|
|
2240
2196
|
exports.de_UpdateCustomRoutingAcceleratorAttributesCommand = de_UpdateCustomRoutingAcceleratorAttributesCommand;
|
|
2241
2197
|
const de_UpdateCustomRoutingAcceleratorAttributesCommandError = async (output, context) => {
|
|
@@ -2259,10 +2215,9 @@ const de_UpdateCustomRoutingAcceleratorAttributesCommandError = async (output, c
|
|
|
2259
2215
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2260
2216
|
default:
|
|
2261
2217
|
const parsedBody = parsedOutput.body;
|
|
2262
|
-
|
|
2218
|
+
return throwDefaultError({
|
|
2263
2219
|
output,
|
|
2264
2220
|
parsedBody,
|
|
2265
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2266
2221
|
errorCode,
|
|
2267
2222
|
});
|
|
2268
2223
|
}
|
|
@@ -2273,12 +2228,12 @@ const de_UpdateCustomRoutingListenerCommand = async (output, context) => {
|
|
|
2273
2228
|
}
|
|
2274
2229
|
const data = await parseBody(output.body, context);
|
|
2275
2230
|
let contents = {};
|
|
2276
|
-
contents =
|
|
2231
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2277
2232
|
const response = {
|
|
2278
2233
|
$metadata: deserializeMetadata(output),
|
|
2279
2234
|
...contents,
|
|
2280
2235
|
};
|
|
2281
|
-
return
|
|
2236
|
+
return response;
|
|
2282
2237
|
};
|
|
2283
2238
|
exports.de_UpdateCustomRoutingListenerCommand = de_UpdateCustomRoutingListenerCommand;
|
|
2284
2239
|
const de_UpdateCustomRoutingListenerCommandError = async (output, context) => {
|
|
@@ -2305,10 +2260,9 @@ const de_UpdateCustomRoutingListenerCommandError = async (output, context) => {
|
|
|
2305
2260
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2306
2261
|
default:
|
|
2307
2262
|
const parsedBody = parsedOutput.body;
|
|
2308
|
-
|
|
2263
|
+
return throwDefaultError({
|
|
2309
2264
|
output,
|
|
2310
2265
|
parsedBody,
|
|
2311
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2312
2266
|
errorCode,
|
|
2313
2267
|
});
|
|
2314
2268
|
}
|
|
@@ -2324,7 +2278,7 @@ const de_UpdateEndpointGroupCommand = async (output, context) => {
|
|
|
2324
2278
|
$metadata: deserializeMetadata(output),
|
|
2325
2279
|
...contents,
|
|
2326
2280
|
};
|
|
2327
|
-
return
|
|
2281
|
+
return response;
|
|
2328
2282
|
};
|
|
2329
2283
|
exports.de_UpdateEndpointGroupCommand = de_UpdateEndpointGroupCommand;
|
|
2330
2284
|
const de_UpdateEndpointGroupCommandError = async (output, context) => {
|
|
@@ -2351,10 +2305,9 @@ const de_UpdateEndpointGroupCommandError = async (output, context) => {
|
|
|
2351
2305
|
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
2352
2306
|
default:
|
|
2353
2307
|
const parsedBody = parsedOutput.body;
|
|
2354
|
-
|
|
2308
|
+
return throwDefaultError({
|
|
2355
2309
|
output,
|
|
2356
2310
|
parsedBody,
|
|
2357
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2358
2311
|
errorCode,
|
|
2359
2312
|
});
|
|
2360
2313
|
}
|
|
@@ -2365,12 +2318,12 @@ const de_UpdateListenerCommand = async (output, context) => {
|
|
|
2365
2318
|
}
|
|
2366
2319
|
const data = await parseBody(output.body, context);
|
|
2367
2320
|
let contents = {};
|
|
2368
|
-
contents =
|
|
2321
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2369
2322
|
const response = {
|
|
2370
2323
|
$metadata: deserializeMetadata(output),
|
|
2371
2324
|
...contents,
|
|
2372
2325
|
};
|
|
2373
|
-
return
|
|
2326
|
+
return response;
|
|
2374
2327
|
};
|
|
2375
2328
|
exports.de_UpdateListenerCommand = de_UpdateListenerCommand;
|
|
2376
2329
|
const de_UpdateListenerCommandError = async (output, context) => {
|
|
@@ -2397,10 +2350,9 @@ const de_UpdateListenerCommandError = async (output, context) => {
|
|
|
2397
2350
|
throw await de_ListenerNotFoundExceptionRes(parsedOutput, context);
|
|
2398
2351
|
default:
|
|
2399
2352
|
const parsedBody = parsedOutput.body;
|
|
2400
|
-
|
|
2353
|
+
return throwDefaultError({
|
|
2401
2354
|
output,
|
|
2402
2355
|
parsedBody,
|
|
2403
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2404
2356
|
errorCode,
|
|
2405
2357
|
});
|
|
2406
2358
|
}
|
|
@@ -2416,7 +2368,7 @@ const de_WithdrawByoipCidrCommand = async (output, context) => {
|
|
|
2416
2368
|
$metadata: deserializeMetadata(output),
|
|
2417
2369
|
...contents,
|
|
2418
2370
|
};
|
|
2419
|
-
return
|
|
2371
|
+
return response;
|
|
2420
2372
|
};
|
|
2421
2373
|
exports.de_WithdrawByoipCidrCommand = de_WithdrawByoipCidrCommand;
|
|
2422
2374
|
const de_WithdrawByoipCidrCommandError = async (output, context) => {
|
|
@@ -2443,17 +2395,16 @@ const de_WithdrawByoipCidrCommandError = async (output, context) => {
|
|
|
2443
2395
|
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
2444
2396
|
default:
|
|
2445
2397
|
const parsedBody = parsedOutput.body;
|
|
2446
|
-
|
|
2398
|
+
return throwDefaultError({
|
|
2447
2399
|
output,
|
|
2448
2400
|
parsedBody,
|
|
2449
|
-
exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
|
|
2450
2401
|
errorCode,
|
|
2451
2402
|
});
|
|
2452
2403
|
}
|
|
2453
2404
|
};
|
|
2454
2405
|
const de_AcceleratorNotDisabledExceptionRes = async (parsedOutput, context) => {
|
|
2455
2406
|
const body = parsedOutput.body;
|
|
2456
|
-
const deserialized =
|
|
2407
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2457
2408
|
const exception = new models_0_1.AcceleratorNotDisabledException({
|
|
2458
2409
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2459
2410
|
...deserialized,
|
|
@@ -2462,7 +2413,7 @@ const de_AcceleratorNotDisabledExceptionRes = async (parsedOutput, context) => {
|
|
|
2462
2413
|
};
|
|
2463
2414
|
const de_AcceleratorNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2464
2415
|
const body = parsedOutput.body;
|
|
2465
|
-
const deserialized =
|
|
2416
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2466
2417
|
const exception = new models_0_1.AcceleratorNotFoundException({
|
|
2467
2418
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2468
2419
|
...deserialized,
|
|
@@ -2471,7 +2422,7 @@ const de_AcceleratorNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2471
2422
|
};
|
|
2472
2423
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2473
2424
|
const body = parsedOutput.body;
|
|
2474
|
-
const deserialized =
|
|
2425
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2475
2426
|
const exception = new models_0_1.AccessDeniedException({
|
|
2476
2427
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2477
2428
|
...deserialized,
|
|
@@ -2480,7 +2431,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
2480
2431
|
};
|
|
2481
2432
|
const de_AssociatedEndpointGroupFoundExceptionRes = async (parsedOutput, context) => {
|
|
2482
2433
|
const body = parsedOutput.body;
|
|
2483
|
-
const deserialized =
|
|
2434
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2484
2435
|
const exception = new models_0_1.AssociatedEndpointGroupFoundException({
|
|
2485
2436
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2486
2437
|
...deserialized,
|
|
@@ -2489,7 +2440,7 @@ const de_AssociatedEndpointGroupFoundExceptionRes = async (parsedOutput, context
|
|
|
2489
2440
|
};
|
|
2490
2441
|
const de_AssociatedListenerFoundExceptionRes = async (parsedOutput, context) => {
|
|
2491
2442
|
const body = parsedOutput.body;
|
|
2492
|
-
const deserialized =
|
|
2443
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2493
2444
|
const exception = new models_0_1.AssociatedListenerFoundException({
|
|
2494
2445
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2495
2446
|
...deserialized,
|
|
@@ -2498,7 +2449,7 @@ const de_AssociatedListenerFoundExceptionRes = async (parsedOutput, context) =>
|
|
|
2498
2449
|
};
|
|
2499
2450
|
const de_ByoipCidrNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2500
2451
|
const body = parsedOutput.body;
|
|
2501
|
-
const deserialized =
|
|
2452
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2502
2453
|
const exception = new models_0_1.ByoipCidrNotFoundException({
|
|
2503
2454
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2504
2455
|
...deserialized,
|
|
@@ -2507,7 +2458,7 @@ const de_ByoipCidrNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2507
2458
|
};
|
|
2508
2459
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
2509
2460
|
const body = parsedOutput.body;
|
|
2510
|
-
const deserialized =
|
|
2461
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2511
2462
|
const exception = new models_0_1.ConflictException({
|
|
2512
2463
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2513
2464
|
...deserialized,
|
|
@@ -2516,7 +2467,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
2516
2467
|
};
|
|
2517
2468
|
const de_EndpointAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2518
2469
|
const body = parsedOutput.body;
|
|
2519
|
-
const deserialized =
|
|
2470
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2520
2471
|
const exception = new models_0_1.EndpointAlreadyExistsException({
|
|
2521
2472
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2522
2473
|
...deserialized,
|
|
@@ -2525,7 +2476,7 @@ const de_EndpointAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
2525
2476
|
};
|
|
2526
2477
|
const de_EndpointGroupAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2527
2478
|
const body = parsedOutput.body;
|
|
2528
|
-
const deserialized =
|
|
2479
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2529
2480
|
const exception = new models_0_1.EndpointGroupAlreadyExistsException({
|
|
2530
2481
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2531
2482
|
...deserialized,
|
|
@@ -2534,7 +2485,7 @@ const de_EndpointGroupAlreadyExistsExceptionRes = async (parsedOutput, context)
|
|
|
2534
2485
|
};
|
|
2535
2486
|
const de_EndpointGroupNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2536
2487
|
const body = parsedOutput.body;
|
|
2537
|
-
const deserialized =
|
|
2488
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2538
2489
|
const exception = new models_0_1.EndpointGroupNotFoundException({
|
|
2539
2490
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2540
2491
|
...deserialized,
|
|
@@ -2543,7 +2494,7 @@ const de_EndpointGroupNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2543
2494
|
};
|
|
2544
2495
|
const de_EndpointNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2545
2496
|
const body = parsedOutput.body;
|
|
2546
|
-
const deserialized =
|
|
2497
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2547
2498
|
const exception = new models_0_1.EndpointNotFoundException({
|
|
2548
2499
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2549
2500
|
...deserialized,
|
|
@@ -2552,7 +2503,7 @@ const de_EndpointNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2552
2503
|
};
|
|
2553
2504
|
const de_IncorrectCidrStateExceptionRes = async (parsedOutput, context) => {
|
|
2554
2505
|
const body = parsedOutput.body;
|
|
2555
|
-
const deserialized =
|
|
2506
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2556
2507
|
const exception = new models_0_1.IncorrectCidrStateException({
|
|
2557
2508
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2558
2509
|
...deserialized,
|
|
@@ -2561,7 +2512,7 @@ const de_IncorrectCidrStateExceptionRes = async (parsedOutput, context) => {
|
|
|
2561
2512
|
};
|
|
2562
2513
|
const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
2563
2514
|
const body = parsedOutput.body;
|
|
2564
|
-
const deserialized =
|
|
2515
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2565
2516
|
const exception = new models_0_1.InternalServiceErrorException({
|
|
2566
2517
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2567
2518
|
...deserialized,
|
|
@@ -2570,7 +2521,7 @@ const de_InternalServiceErrorExceptionRes = async (parsedOutput, context) => {
|
|
|
2570
2521
|
};
|
|
2571
2522
|
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
2572
2523
|
const body = parsedOutput.body;
|
|
2573
|
-
const deserialized =
|
|
2524
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2574
2525
|
const exception = new models_0_1.InvalidArgumentException({
|
|
2575
2526
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2576
2527
|
...deserialized,
|
|
@@ -2579,7 +2530,7 @@ const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
|
2579
2530
|
};
|
|
2580
2531
|
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
2581
2532
|
const body = parsedOutput.body;
|
|
2582
|
-
const deserialized =
|
|
2533
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2583
2534
|
const exception = new models_0_1.InvalidNextTokenException({
|
|
2584
2535
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2585
2536
|
...deserialized,
|
|
@@ -2588,7 +2539,7 @@ const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
|
2588
2539
|
};
|
|
2589
2540
|
const de_InvalidPortRangeExceptionRes = async (parsedOutput, context) => {
|
|
2590
2541
|
const body = parsedOutput.body;
|
|
2591
|
-
const deserialized =
|
|
2542
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2592
2543
|
const exception = new models_0_1.InvalidPortRangeException({
|
|
2593
2544
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2594
2545
|
...deserialized,
|
|
@@ -2597,7 +2548,7 @@ const de_InvalidPortRangeExceptionRes = async (parsedOutput, context) => {
|
|
|
2597
2548
|
};
|
|
2598
2549
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2599
2550
|
const body = parsedOutput.body;
|
|
2600
|
-
const deserialized =
|
|
2551
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2601
2552
|
const exception = new models_0_1.LimitExceededException({
|
|
2602
2553
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2603
2554
|
...deserialized,
|
|
@@ -2606,7 +2557,7 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2606
2557
|
};
|
|
2607
2558
|
const de_ListenerNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2608
2559
|
const body = parsedOutput.body;
|
|
2609
|
-
const deserialized =
|
|
2560
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2610
2561
|
const exception = new models_0_1.ListenerNotFoundException({
|
|
2611
2562
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2612
2563
|
...deserialized,
|
|
@@ -2615,1244 +2566,282 @@ const de_ListenerNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
2615
2566
|
};
|
|
2616
2567
|
const de_TransactionInProgressExceptionRes = async (parsedOutput, context) => {
|
|
2617
2568
|
const body = parsedOutput.body;
|
|
2618
|
-
const deserialized =
|
|
2569
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
2619
2570
|
const exception = new models_0_1.TransactionInProgressException({
|
|
2620
2571
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2621
2572
|
...deserialized,
|
|
2622
2573
|
});
|
|
2623
2574
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2624
2575
|
};
|
|
2625
|
-
const
|
|
2626
|
-
return {
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
const se_AddEndpointsRequest = (input, context) => {
|
|
2634
|
-
return {
|
|
2635
|
-
...(input.EndpointConfigurations != null && {
|
|
2636
|
-
EndpointConfigurations: se_EndpointConfigurations(input.EndpointConfigurations, context),
|
|
2637
|
-
}),
|
|
2638
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2639
|
-
};
|
|
2640
|
-
};
|
|
2641
|
-
const se_AdvertiseByoipCidrRequest = (input, context) => {
|
|
2642
|
-
return {
|
|
2643
|
-
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
2644
|
-
};
|
|
2645
|
-
};
|
|
2646
|
-
const se_AllowCustomRoutingTrafficRequest = (input, context) => {
|
|
2647
|
-
return {
|
|
2648
|
-
...(input.AllowAllTrafficToEndpoint != null && { AllowAllTrafficToEndpoint: input.AllowAllTrafficToEndpoint }),
|
|
2649
|
-
...(input.DestinationAddresses != null && {
|
|
2650
|
-
DestinationAddresses: se_DestinationAddresses(input.DestinationAddresses, context),
|
|
2651
|
-
}),
|
|
2652
|
-
...(input.DestinationPorts != null && { DestinationPorts: se_DestinationPorts(input.DestinationPorts, context) }),
|
|
2653
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2654
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2655
|
-
};
|
|
2656
|
-
};
|
|
2657
|
-
const se_CidrAuthorizationContext = (input, context) => {
|
|
2658
|
-
return {
|
|
2659
|
-
...(input.Message != null && { Message: input.Message }),
|
|
2660
|
-
...(input.Signature != null && { Signature: input.Signature }),
|
|
2661
|
-
};
|
|
2662
|
-
};
|
|
2663
|
-
const se_CreateAcceleratorRequest = (input, context) => {
|
|
2664
|
-
return {
|
|
2665
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
2666
|
-
IdempotencyToken: input.IdempotencyToken ?? (0, uuid_1.v4)(),
|
|
2667
|
-
...(input.IpAddressType != null && { IpAddressType: input.IpAddressType }),
|
|
2668
|
-
...(input.IpAddresses != null && { IpAddresses: se_IpAddresses(input.IpAddresses, context) }),
|
|
2669
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2670
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2671
|
-
};
|
|
2672
|
-
};
|
|
2673
|
-
const se_CreateCustomRoutingAcceleratorRequest = (input, context) => {
|
|
2674
|
-
return {
|
|
2675
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
2676
|
-
IdempotencyToken: input.IdempotencyToken ?? (0, uuid_1.v4)(),
|
|
2677
|
-
...(input.IpAddressType != null && { IpAddressType: input.IpAddressType }),
|
|
2678
|
-
...(input.IpAddresses != null && { IpAddresses: se_IpAddresses(input.IpAddresses, context) }),
|
|
2679
|
-
...(input.Name != null && { Name: input.Name }),
|
|
2680
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
2681
|
-
};
|
|
2682
|
-
};
|
|
2683
|
-
const se_CreateCustomRoutingEndpointGroupRequest = (input, context) => {
|
|
2684
|
-
return {
|
|
2685
|
-
...(input.DestinationConfigurations != null && {
|
|
2686
|
-
DestinationConfigurations: se_CustomRoutingDestinationConfigurations(input.DestinationConfigurations, context),
|
|
2687
|
-
}),
|
|
2688
|
-
...(input.EndpointGroupRegion != null && { EndpointGroupRegion: input.EndpointGroupRegion }),
|
|
2689
|
-
IdempotencyToken: input.IdempotencyToken ?? (0, uuid_1.v4)(),
|
|
2690
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2691
|
-
};
|
|
2692
|
-
};
|
|
2693
|
-
const se_CreateCustomRoutingListenerRequest = (input, context) => {
|
|
2694
|
-
return {
|
|
2695
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2696
|
-
IdempotencyToken: input.IdempotencyToken ?? (0, uuid_1.v4)(),
|
|
2697
|
-
...(input.PortRanges != null && { PortRanges: se_PortRanges(input.PortRanges, context) }),
|
|
2698
|
-
};
|
|
2699
|
-
};
|
|
2700
|
-
const se_CreateEndpointGroupRequest = (input, context) => {
|
|
2701
|
-
return {
|
|
2702
|
-
...(input.EndpointConfigurations != null && {
|
|
2703
|
-
EndpointConfigurations: se_EndpointConfigurations(input.EndpointConfigurations, context),
|
|
2704
|
-
}),
|
|
2705
|
-
...(input.EndpointGroupRegion != null && { EndpointGroupRegion: input.EndpointGroupRegion }),
|
|
2706
|
-
...(input.HealthCheckIntervalSeconds != null && { HealthCheckIntervalSeconds: input.HealthCheckIntervalSeconds }),
|
|
2707
|
-
...(input.HealthCheckPath != null && { HealthCheckPath: input.HealthCheckPath }),
|
|
2708
|
-
...(input.HealthCheckPort != null && { HealthCheckPort: input.HealthCheckPort }),
|
|
2709
|
-
...(input.HealthCheckProtocol != null && { HealthCheckProtocol: input.HealthCheckProtocol }),
|
|
2710
|
-
IdempotencyToken: input.IdempotencyToken ?? (0, uuid_1.v4)(),
|
|
2711
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2712
|
-
...(input.PortOverrides != null && { PortOverrides: se_PortOverrides(input.PortOverrides, context) }),
|
|
2713
|
-
...(input.ThresholdCount != null && { ThresholdCount: input.ThresholdCount }),
|
|
2714
|
-
...(input.TrafficDialPercentage != null && {
|
|
2715
|
-
TrafficDialPercentage: (0, smithy_client_1.serializeFloat)(input.TrafficDialPercentage),
|
|
2716
|
-
}),
|
|
2717
|
-
};
|
|
2718
|
-
};
|
|
2719
|
-
const se_CreateListenerRequest = (input, context) => {
|
|
2720
|
-
return {
|
|
2721
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2722
|
-
...(input.ClientAffinity != null && { ClientAffinity: input.ClientAffinity }),
|
|
2723
|
-
IdempotencyToken: input.IdempotencyToken ?? (0, uuid_1.v4)(),
|
|
2724
|
-
...(input.PortRanges != null && { PortRanges: se_PortRanges(input.PortRanges, context) }),
|
|
2725
|
-
...(input.Protocol != null && { Protocol: input.Protocol }),
|
|
2726
|
-
};
|
|
2727
|
-
};
|
|
2728
|
-
const se_CustomRoutingDestinationConfiguration = (input, context) => {
|
|
2729
|
-
return {
|
|
2730
|
-
...(input.FromPort != null && { FromPort: input.FromPort }),
|
|
2731
|
-
...(input.Protocols != null && { Protocols: se_CustomRoutingProtocols(input.Protocols, context) }),
|
|
2732
|
-
...(input.ToPort != null && { ToPort: input.ToPort }),
|
|
2733
|
-
};
|
|
2734
|
-
};
|
|
2735
|
-
const se_CustomRoutingDestinationConfigurations = (input, context) => {
|
|
2736
|
-
return input
|
|
2737
|
-
.filter((e) => e != null)
|
|
2738
|
-
.map((entry) => {
|
|
2739
|
-
return se_CustomRoutingDestinationConfiguration(entry, context);
|
|
2740
|
-
});
|
|
2741
|
-
};
|
|
2742
|
-
const se_CustomRoutingEndpointConfiguration = (input, context) => {
|
|
2743
|
-
return {
|
|
2744
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2745
|
-
};
|
|
2746
|
-
};
|
|
2747
|
-
const se_CustomRoutingEndpointConfigurations = (input, context) => {
|
|
2748
|
-
return input
|
|
2749
|
-
.filter((e) => e != null)
|
|
2750
|
-
.map((entry) => {
|
|
2751
|
-
return se_CustomRoutingEndpointConfiguration(entry, context);
|
|
2752
|
-
});
|
|
2753
|
-
};
|
|
2754
|
-
const se_CustomRoutingProtocols = (input, context) => {
|
|
2755
|
-
return input
|
|
2756
|
-
.filter((e) => e != null)
|
|
2757
|
-
.map((entry) => {
|
|
2758
|
-
return entry;
|
|
2759
|
-
});
|
|
2760
|
-
};
|
|
2761
|
-
const se_DeleteAcceleratorRequest = (input, context) => {
|
|
2762
|
-
return {
|
|
2763
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2764
|
-
};
|
|
2765
|
-
};
|
|
2766
|
-
const se_DeleteCustomRoutingAcceleratorRequest = (input, context) => {
|
|
2767
|
-
return {
|
|
2768
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2769
|
-
};
|
|
2770
|
-
};
|
|
2771
|
-
const se_DeleteCustomRoutingEndpointGroupRequest = (input, context) => {
|
|
2772
|
-
return {
|
|
2773
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2774
|
-
};
|
|
2775
|
-
};
|
|
2776
|
-
const se_DeleteCustomRoutingListenerRequest = (input, context) => {
|
|
2777
|
-
return {
|
|
2778
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2779
|
-
};
|
|
2780
|
-
};
|
|
2781
|
-
const se_DeleteEndpointGroupRequest = (input, context) => {
|
|
2782
|
-
return {
|
|
2783
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2784
|
-
};
|
|
2785
|
-
};
|
|
2786
|
-
const se_DeleteListenerRequest = (input, context) => {
|
|
2787
|
-
return {
|
|
2788
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2789
|
-
};
|
|
2790
|
-
};
|
|
2791
|
-
const se_DenyCustomRoutingTrafficRequest = (input, context) => {
|
|
2792
|
-
return {
|
|
2793
|
-
...(input.DenyAllTrafficToEndpoint != null && { DenyAllTrafficToEndpoint: input.DenyAllTrafficToEndpoint }),
|
|
2794
|
-
...(input.DestinationAddresses != null && {
|
|
2795
|
-
DestinationAddresses: se_DestinationAddresses(input.DestinationAddresses, context),
|
|
2796
|
-
}),
|
|
2797
|
-
...(input.DestinationPorts != null && { DestinationPorts: se_DestinationPorts(input.DestinationPorts, context) }),
|
|
2798
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2799
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2800
|
-
};
|
|
2801
|
-
};
|
|
2802
|
-
const se_DeprovisionByoipCidrRequest = (input, context) => {
|
|
2803
|
-
return {
|
|
2804
|
-
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
2805
|
-
};
|
|
2806
|
-
};
|
|
2807
|
-
const se_DescribeAcceleratorAttributesRequest = (input, context) => {
|
|
2808
|
-
return {
|
|
2809
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2810
|
-
};
|
|
2811
|
-
};
|
|
2812
|
-
const se_DescribeAcceleratorRequest = (input, context) => {
|
|
2813
|
-
return {
|
|
2814
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2815
|
-
};
|
|
2816
|
-
};
|
|
2817
|
-
const se_DescribeCustomRoutingAcceleratorAttributesRequest = (input, context) => {
|
|
2818
|
-
return {
|
|
2819
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2820
|
-
};
|
|
2821
|
-
};
|
|
2822
|
-
const se_DescribeCustomRoutingAcceleratorRequest = (input, context) => {
|
|
2823
|
-
return {
|
|
2824
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2825
|
-
};
|
|
2826
|
-
};
|
|
2827
|
-
const se_DescribeCustomRoutingEndpointGroupRequest = (input, context) => {
|
|
2828
|
-
return {
|
|
2829
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2830
|
-
};
|
|
2831
|
-
};
|
|
2832
|
-
const se_DescribeCustomRoutingListenerRequest = (input, context) => {
|
|
2833
|
-
return {
|
|
2834
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2835
|
-
};
|
|
2836
|
-
};
|
|
2837
|
-
const se_DescribeEndpointGroupRequest = (input, context) => {
|
|
2838
|
-
return {
|
|
2839
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2840
|
-
};
|
|
2841
|
-
};
|
|
2842
|
-
const se_DescribeListenerRequest = (input, context) => {
|
|
2843
|
-
return {
|
|
2844
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2845
|
-
};
|
|
2846
|
-
};
|
|
2847
|
-
const se_DestinationAddresses = (input, context) => {
|
|
2848
|
-
return input
|
|
2849
|
-
.filter((e) => e != null)
|
|
2850
|
-
.map((entry) => {
|
|
2851
|
-
return entry;
|
|
2852
|
-
});
|
|
2853
|
-
};
|
|
2854
|
-
const se_DestinationPorts = (input, context) => {
|
|
2855
|
-
return input
|
|
2856
|
-
.filter((e) => e != null)
|
|
2857
|
-
.map((entry) => {
|
|
2858
|
-
return entry;
|
|
2859
|
-
});
|
|
2860
|
-
};
|
|
2861
|
-
const se_EndpointConfiguration = (input, context) => {
|
|
2862
|
-
return {
|
|
2863
|
-
...(input.ClientIPPreservationEnabled != null && {
|
|
2864
|
-
ClientIPPreservationEnabled: input.ClientIPPreservationEnabled,
|
|
2865
|
-
}),
|
|
2866
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2867
|
-
...(input.Weight != null && { Weight: input.Weight }),
|
|
2868
|
-
};
|
|
2869
|
-
};
|
|
2870
|
-
const se_EndpointConfigurations = (input, context) => {
|
|
2871
|
-
return input
|
|
2872
|
-
.filter((e) => e != null)
|
|
2873
|
-
.map((entry) => {
|
|
2874
|
-
return se_EndpointConfiguration(entry, context);
|
|
2875
|
-
});
|
|
2876
|
-
};
|
|
2877
|
-
const se_EndpointIdentifier = (input, context) => {
|
|
2878
|
-
return {
|
|
2879
|
-
...(input.ClientIPPreservationEnabled != null && {
|
|
2880
|
-
ClientIPPreservationEnabled: input.ClientIPPreservationEnabled,
|
|
2881
|
-
}),
|
|
2882
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2883
|
-
};
|
|
2884
|
-
};
|
|
2885
|
-
const se_EndpointIdentifiers = (input, context) => {
|
|
2886
|
-
return input
|
|
2887
|
-
.filter((e) => e != null)
|
|
2888
|
-
.map((entry) => {
|
|
2889
|
-
return se_EndpointIdentifier(entry, context);
|
|
2890
|
-
});
|
|
2891
|
-
};
|
|
2892
|
-
const se_EndpointIds = (input, context) => {
|
|
2893
|
-
return input
|
|
2894
|
-
.filter((e) => e != null)
|
|
2895
|
-
.map((entry) => {
|
|
2896
|
-
return entry;
|
|
2897
|
-
});
|
|
2898
|
-
};
|
|
2899
|
-
const se_IpAddresses = (input, context) => {
|
|
2900
|
-
return input
|
|
2901
|
-
.filter((e) => e != null)
|
|
2902
|
-
.map((entry) => {
|
|
2903
|
-
return entry;
|
|
2904
|
-
});
|
|
2905
|
-
};
|
|
2906
|
-
const se_ListAcceleratorsRequest = (input, context) => {
|
|
2907
|
-
return {
|
|
2908
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2909
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2910
|
-
};
|
|
2911
|
-
};
|
|
2912
|
-
const se_ListByoipCidrsRequest = (input, context) => {
|
|
2913
|
-
return {
|
|
2914
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2915
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2916
|
-
};
|
|
2917
|
-
};
|
|
2918
|
-
const se_ListCustomRoutingAcceleratorsRequest = (input, context) => {
|
|
2919
|
-
return {
|
|
2920
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2921
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2922
|
-
};
|
|
2923
|
-
};
|
|
2924
|
-
const se_ListCustomRoutingEndpointGroupsRequest = (input, context) => {
|
|
2925
|
-
return {
|
|
2926
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2927
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2928
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2929
|
-
};
|
|
2930
|
-
};
|
|
2931
|
-
const se_ListCustomRoutingListenersRequest = (input, context) => {
|
|
2932
|
-
return {
|
|
2933
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2934
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2935
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2936
|
-
};
|
|
2937
|
-
};
|
|
2938
|
-
const se_ListCustomRoutingPortMappingsByDestinationRequest = (input, context) => {
|
|
2939
|
-
return {
|
|
2940
|
-
...(input.DestinationAddress != null && { DestinationAddress: input.DestinationAddress }),
|
|
2941
|
-
...(input.EndpointId != null && { EndpointId: input.EndpointId }),
|
|
2942
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2943
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2944
|
-
};
|
|
2945
|
-
};
|
|
2946
|
-
const se_ListCustomRoutingPortMappingsRequest = (input, context) => {
|
|
2947
|
-
return {
|
|
2948
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2949
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
2950
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2951
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2952
|
-
};
|
|
2953
|
-
};
|
|
2954
|
-
const se_ListEndpointGroupsRequest = (input, context) => {
|
|
2955
|
-
return {
|
|
2956
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
2957
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2958
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2959
|
-
};
|
|
2960
|
-
};
|
|
2961
|
-
const se_ListListenersRequest = (input, context) => {
|
|
2962
|
-
return {
|
|
2963
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
2964
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2965
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2966
|
-
};
|
|
2967
|
-
};
|
|
2968
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2969
|
-
return {
|
|
2970
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2971
|
-
};
|
|
2972
|
-
};
|
|
2973
|
-
const se_PortOverride = (input, context) => {
|
|
2974
|
-
return {
|
|
2975
|
-
...(input.EndpointPort != null && { EndpointPort: input.EndpointPort }),
|
|
2976
|
-
...(input.ListenerPort != null && { ListenerPort: input.ListenerPort }),
|
|
2977
|
-
};
|
|
2978
|
-
};
|
|
2979
|
-
const se_PortOverrides = (input, context) => {
|
|
2980
|
-
return input
|
|
2981
|
-
.filter((e) => e != null)
|
|
2982
|
-
.map((entry) => {
|
|
2983
|
-
return se_PortOverride(entry, context);
|
|
2984
|
-
});
|
|
2985
|
-
};
|
|
2986
|
-
const se_PortRange = (input, context) => {
|
|
2987
|
-
return {
|
|
2988
|
-
...(input.FromPort != null && { FromPort: input.FromPort }),
|
|
2989
|
-
...(input.ToPort != null && { ToPort: input.ToPort }),
|
|
2990
|
-
};
|
|
2991
|
-
};
|
|
2992
|
-
const se_PortRanges = (input, context) => {
|
|
2993
|
-
return input
|
|
2994
|
-
.filter((e) => e != null)
|
|
2995
|
-
.map((entry) => {
|
|
2996
|
-
return se_PortRange(entry, context);
|
|
2997
|
-
});
|
|
2998
|
-
};
|
|
2999
|
-
const se_ProvisionByoipCidrRequest = (input, context) => {
|
|
3000
|
-
return {
|
|
3001
|
-
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
3002
|
-
...(input.CidrAuthorizationContext != null && {
|
|
3003
|
-
CidrAuthorizationContext: se_CidrAuthorizationContext(input.CidrAuthorizationContext, context),
|
|
3004
|
-
}),
|
|
3005
|
-
};
|
|
3006
|
-
};
|
|
3007
|
-
const se_RemoveCustomRoutingEndpointsRequest = (input, context) => {
|
|
3008
|
-
return {
|
|
3009
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
3010
|
-
...(input.EndpointIds != null && { EndpointIds: se_EndpointIds(input.EndpointIds, context) }),
|
|
3011
|
-
};
|
|
3012
|
-
};
|
|
3013
|
-
const se_RemoveEndpointsRequest = (input, context) => {
|
|
3014
|
-
return {
|
|
3015
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
3016
|
-
...(input.EndpointIdentifiers != null && {
|
|
3017
|
-
EndpointIdentifiers: se_EndpointIdentifiers(input.EndpointIdentifiers, context),
|
|
3018
|
-
}),
|
|
3019
|
-
};
|
|
3020
|
-
};
|
|
3021
|
-
const se_Tag = (input, context) => {
|
|
3022
|
-
return {
|
|
3023
|
-
...(input.Key != null && { Key: input.Key }),
|
|
3024
|
-
...(input.Value != null && { Value: input.Value }),
|
|
3025
|
-
};
|
|
3026
|
-
};
|
|
3027
|
-
const se_TagKeys = (input, context) => {
|
|
3028
|
-
return input
|
|
3029
|
-
.filter((e) => e != null)
|
|
3030
|
-
.map((entry) => {
|
|
3031
|
-
return entry;
|
|
3032
|
-
});
|
|
3033
|
-
};
|
|
3034
|
-
const se_TagResourceRequest = (input, context) => {
|
|
3035
|
-
return {
|
|
3036
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3037
|
-
...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
|
|
3038
|
-
};
|
|
3039
|
-
};
|
|
3040
|
-
const se_Tags = (input, context) => {
|
|
3041
|
-
return input
|
|
3042
|
-
.filter((e) => e != null)
|
|
3043
|
-
.map((entry) => {
|
|
3044
|
-
return se_Tag(entry, context);
|
|
3045
|
-
});
|
|
3046
|
-
};
|
|
3047
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
3048
|
-
return {
|
|
3049
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
3050
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeys(input.TagKeys, context) }),
|
|
3051
|
-
};
|
|
3052
|
-
};
|
|
3053
|
-
const se_UpdateAcceleratorAttributesRequest = (input, context) => {
|
|
3054
|
-
return {
|
|
3055
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3056
|
-
...(input.FlowLogsEnabled != null && { FlowLogsEnabled: input.FlowLogsEnabled }),
|
|
3057
|
-
...(input.FlowLogsS3Bucket != null && { FlowLogsS3Bucket: input.FlowLogsS3Bucket }),
|
|
3058
|
-
...(input.FlowLogsS3Prefix != null && { FlowLogsS3Prefix: input.FlowLogsS3Prefix }),
|
|
3059
|
-
};
|
|
3060
|
-
};
|
|
3061
|
-
const se_UpdateAcceleratorRequest = (input, context) => {
|
|
3062
|
-
return {
|
|
3063
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3064
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3065
|
-
...(input.IpAddressType != null && { IpAddressType: input.IpAddressType }),
|
|
3066
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3067
|
-
};
|
|
3068
|
-
};
|
|
3069
|
-
const se_UpdateCustomRoutingAcceleratorAttributesRequest = (input, context) => {
|
|
3070
|
-
return {
|
|
3071
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3072
|
-
...(input.FlowLogsEnabled != null && { FlowLogsEnabled: input.FlowLogsEnabled }),
|
|
3073
|
-
...(input.FlowLogsS3Bucket != null && { FlowLogsS3Bucket: input.FlowLogsS3Bucket }),
|
|
3074
|
-
...(input.FlowLogsS3Prefix != null && { FlowLogsS3Prefix: input.FlowLogsS3Prefix }),
|
|
3075
|
-
};
|
|
3076
|
-
};
|
|
3077
|
-
const se_UpdateCustomRoutingAcceleratorRequest = (input, context) => {
|
|
3078
|
-
return {
|
|
3079
|
-
...(input.AcceleratorArn != null && { AcceleratorArn: input.AcceleratorArn }),
|
|
3080
|
-
...(input.Enabled != null && { Enabled: input.Enabled }),
|
|
3081
|
-
...(input.IpAddressType != null && { IpAddressType: input.IpAddressType }),
|
|
3082
|
-
...(input.Name != null && { Name: input.Name }),
|
|
3083
|
-
};
|
|
3084
|
-
};
|
|
3085
|
-
const se_UpdateCustomRoutingListenerRequest = (input, context) => {
|
|
3086
|
-
return {
|
|
3087
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
3088
|
-
...(input.PortRanges != null && { PortRanges: se_PortRanges(input.PortRanges, context) }),
|
|
3089
|
-
};
|
|
3090
|
-
};
|
|
3091
|
-
const se_UpdateEndpointGroupRequest = (input, context) => {
|
|
3092
|
-
return {
|
|
3093
|
-
...(input.EndpointConfigurations != null && {
|
|
3094
|
-
EndpointConfigurations: se_EndpointConfigurations(input.EndpointConfigurations, context),
|
|
3095
|
-
}),
|
|
3096
|
-
...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
|
|
3097
|
-
...(input.HealthCheckIntervalSeconds != null && { HealthCheckIntervalSeconds: input.HealthCheckIntervalSeconds }),
|
|
3098
|
-
...(input.HealthCheckPath != null && { HealthCheckPath: input.HealthCheckPath }),
|
|
3099
|
-
...(input.HealthCheckPort != null && { HealthCheckPort: input.HealthCheckPort }),
|
|
3100
|
-
...(input.HealthCheckProtocol != null && { HealthCheckProtocol: input.HealthCheckProtocol }),
|
|
3101
|
-
...(input.PortOverrides != null && { PortOverrides: se_PortOverrides(input.PortOverrides, context) }),
|
|
3102
|
-
...(input.ThresholdCount != null && { ThresholdCount: input.ThresholdCount }),
|
|
3103
|
-
...(input.TrafficDialPercentage != null && {
|
|
3104
|
-
TrafficDialPercentage: (0, smithy_client_1.serializeFloat)(input.TrafficDialPercentage),
|
|
3105
|
-
}),
|
|
3106
|
-
};
|
|
3107
|
-
};
|
|
3108
|
-
const se_UpdateListenerRequest = (input, context) => {
|
|
3109
|
-
return {
|
|
3110
|
-
...(input.ClientAffinity != null && { ClientAffinity: input.ClientAffinity }),
|
|
3111
|
-
...(input.ListenerArn != null && { ListenerArn: input.ListenerArn }),
|
|
3112
|
-
...(input.PortRanges != null && { PortRanges: se_PortRanges(input.PortRanges, context) }),
|
|
3113
|
-
...(input.Protocol != null && { Protocol: input.Protocol }),
|
|
3114
|
-
};
|
|
3115
|
-
};
|
|
3116
|
-
const se_WithdrawByoipCidrRequest = (input, context) => {
|
|
3117
|
-
return {
|
|
3118
|
-
...(input.Cidr != null && { Cidr: input.Cidr }),
|
|
3119
|
-
};
|
|
3120
|
-
};
|
|
3121
|
-
const de_Accelerator = (output, context) => {
|
|
3122
|
-
return {
|
|
3123
|
-
AcceleratorArn: (0, smithy_client_1.expectString)(output.AcceleratorArn),
|
|
3124
|
-
CreatedTime: output.CreatedTime != null
|
|
3125
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
3126
|
-
: undefined,
|
|
3127
|
-
DnsName: (0, smithy_client_1.expectString)(output.DnsName),
|
|
3128
|
-
DualStackDnsName: (0, smithy_client_1.expectString)(output.DualStackDnsName),
|
|
3129
|
-
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
3130
|
-
Events: output.Events != null ? de_AcceleratorEvents(output.Events, context) : undefined,
|
|
3131
|
-
IpAddressType: (0, smithy_client_1.expectString)(output.IpAddressType),
|
|
3132
|
-
IpSets: output.IpSets != null ? de_IpSets(output.IpSets, context) : undefined,
|
|
3133
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
3134
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3135
|
-
: undefined,
|
|
3136
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3137
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3138
|
-
};
|
|
3139
|
-
};
|
|
3140
|
-
const de_AcceleratorAttributes = (output, context) => {
|
|
3141
|
-
return {
|
|
3142
|
-
FlowLogsEnabled: (0, smithy_client_1.expectBoolean)(output.FlowLogsEnabled),
|
|
3143
|
-
FlowLogsS3Bucket: (0, smithy_client_1.expectString)(output.FlowLogsS3Bucket),
|
|
3144
|
-
FlowLogsS3Prefix: (0, smithy_client_1.expectString)(output.FlowLogsS3Prefix),
|
|
3145
|
-
};
|
|
3146
|
-
};
|
|
3147
|
-
const de_AcceleratorEvent = (output, context) => {
|
|
3148
|
-
return {
|
|
3149
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3150
|
-
Timestamp: output.Timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp))) : undefined,
|
|
3151
|
-
};
|
|
3152
|
-
};
|
|
3153
|
-
const de_AcceleratorEvents = (output, context) => {
|
|
3154
|
-
const retVal = (output || [])
|
|
3155
|
-
.filter((e) => e != null)
|
|
3156
|
-
.map((entry) => {
|
|
3157
|
-
if (entry === null) {
|
|
3158
|
-
return null;
|
|
3159
|
-
}
|
|
3160
|
-
return de_AcceleratorEvent(entry, context);
|
|
3161
|
-
});
|
|
3162
|
-
return retVal;
|
|
3163
|
-
};
|
|
3164
|
-
const de_AcceleratorNotDisabledException = (output, context) => {
|
|
3165
|
-
return {
|
|
3166
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3167
|
-
};
|
|
3168
|
-
};
|
|
3169
|
-
const de_AcceleratorNotFoundException = (output, context) => {
|
|
3170
|
-
return {
|
|
3171
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3172
|
-
};
|
|
3173
|
-
};
|
|
3174
|
-
const de_Accelerators = (output, context) => {
|
|
3175
|
-
const retVal = (output || [])
|
|
3176
|
-
.filter((e) => e != null)
|
|
3177
|
-
.map((entry) => {
|
|
3178
|
-
if (entry === null) {
|
|
3179
|
-
return null;
|
|
3180
|
-
}
|
|
3181
|
-
return de_Accelerator(entry, context);
|
|
3182
|
-
});
|
|
3183
|
-
return retVal;
|
|
3184
|
-
};
|
|
3185
|
-
const de_AccessDeniedException = (output, context) => {
|
|
3186
|
-
return {
|
|
3187
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3188
|
-
};
|
|
3189
|
-
};
|
|
3190
|
-
const de_AddCustomRoutingEndpointsResponse = (output, context) => {
|
|
3191
|
-
return {
|
|
3192
|
-
EndpointDescriptions: output.EndpointDescriptions != null
|
|
3193
|
-
? de_CustomRoutingEndpointDescriptions(output.EndpointDescriptions, context)
|
|
3194
|
-
: undefined,
|
|
3195
|
-
EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
|
|
3196
|
-
};
|
|
3197
|
-
};
|
|
3198
|
-
const de_AddEndpointsResponse = (output, context) => {
|
|
3199
|
-
return {
|
|
3200
|
-
EndpointDescriptions: output.EndpointDescriptions != null ? de_EndpointDescriptions(output.EndpointDescriptions, context) : undefined,
|
|
3201
|
-
EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
|
|
3202
|
-
};
|
|
3203
|
-
};
|
|
3204
|
-
const de_AdvertiseByoipCidrResponse = (output, context) => {
|
|
3205
|
-
return {
|
|
3206
|
-
ByoipCidr: output.ByoipCidr != null ? de_ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
3207
|
-
};
|
|
3208
|
-
};
|
|
3209
|
-
const de_AssociatedEndpointGroupFoundException = (output, context) => {
|
|
3210
|
-
return {
|
|
3211
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3212
|
-
};
|
|
3213
|
-
};
|
|
3214
|
-
const de_AssociatedListenerFoundException = (output, context) => {
|
|
3215
|
-
return {
|
|
3216
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3217
|
-
};
|
|
3218
|
-
};
|
|
3219
|
-
const de_ByoipCidr = (output, context) => {
|
|
3220
|
-
return {
|
|
3221
|
-
Cidr: (0, smithy_client_1.expectString)(output.Cidr),
|
|
3222
|
-
Events: output.Events != null ? de_ByoipCidrEvents(output.Events, context) : undefined,
|
|
3223
|
-
State: (0, smithy_client_1.expectString)(output.State),
|
|
3224
|
-
};
|
|
3225
|
-
};
|
|
3226
|
-
const de_ByoipCidrEvent = (output, context) => {
|
|
3227
|
-
return {
|
|
3228
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3229
|
-
Timestamp: output.Timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp))) : undefined,
|
|
3230
|
-
};
|
|
3231
|
-
};
|
|
3232
|
-
const de_ByoipCidrEvents = (output, context) => {
|
|
3233
|
-
const retVal = (output || [])
|
|
3234
|
-
.filter((e) => e != null)
|
|
3235
|
-
.map((entry) => {
|
|
3236
|
-
if (entry === null) {
|
|
3237
|
-
return null;
|
|
3238
|
-
}
|
|
3239
|
-
return de_ByoipCidrEvent(entry, context);
|
|
3240
|
-
});
|
|
3241
|
-
return retVal;
|
|
3242
|
-
};
|
|
3243
|
-
const de_ByoipCidrNotFoundException = (output, context) => {
|
|
3244
|
-
return {
|
|
3245
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3246
|
-
};
|
|
3247
|
-
};
|
|
3248
|
-
const de_ByoipCidrs = (output, context) => {
|
|
3249
|
-
const retVal = (output || [])
|
|
3250
|
-
.filter((e) => e != null)
|
|
3251
|
-
.map((entry) => {
|
|
3252
|
-
if (entry === null) {
|
|
3253
|
-
return null;
|
|
3254
|
-
}
|
|
3255
|
-
return de_ByoipCidr(entry, context);
|
|
3256
|
-
});
|
|
3257
|
-
return retVal;
|
|
3258
|
-
};
|
|
3259
|
-
const de_ConflictException = (output, context) => {
|
|
3260
|
-
return {
|
|
3261
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3262
|
-
};
|
|
3263
|
-
};
|
|
3264
|
-
const de_CreateAcceleratorResponse = (output, context) => {
|
|
3265
|
-
return {
|
|
3266
|
-
Accelerator: output.Accelerator != null ? de_Accelerator(output.Accelerator, context) : undefined,
|
|
3267
|
-
};
|
|
3268
|
-
};
|
|
3269
|
-
const de_CreateCustomRoutingAcceleratorResponse = (output, context) => {
|
|
3270
|
-
return {
|
|
3271
|
-
Accelerator: output.Accelerator != null ? de_CustomRoutingAccelerator(output.Accelerator, context) : undefined,
|
|
3272
|
-
};
|
|
3273
|
-
};
|
|
3274
|
-
const de_CreateCustomRoutingEndpointGroupResponse = (output, context) => {
|
|
3275
|
-
return {
|
|
3276
|
-
EndpointGroup: output.EndpointGroup != null ? de_CustomRoutingEndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3277
|
-
};
|
|
3278
|
-
};
|
|
3279
|
-
const de_CreateCustomRoutingListenerResponse = (output, context) => {
|
|
3280
|
-
return {
|
|
3281
|
-
Listener: output.Listener != null ? de_CustomRoutingListener(output.Listener, context) : undefined,
|
|
3282
|
-
};
|
|
3283
|
-
};
|
|
3284
|
-
const de_CreateEndpointGroupResponse = (output, context) => {
|
|
3285
|
-
return {
|
|
3286
|
-
EndpointGroup: output.EndpointGroup != null ? de_EndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3287
|
-
};
|
|
3288
|
-
};
|
|
3289
|
-
const de_CreateListenerResponse = (output, context) => {
|
|
3290
|
-
return {
|
|
3291
|
-
Listener: output.Listener != null ? de_Listener(output.Listener, context) : undefined,
|
|
3292
|
-
};
|
|
3293
|
-
};
|
|
3294
|
-
const de_CustomRoutingAccelerator = (output, context) => {
|
|
3295
|
-
return {
|
|
3296
|
-
AcceleratorArn: (0, smithy_client_1.expectString)(output.AcceleratorArn),
|
|
3297
|
-
CreatedTime: output.CreatedTime != null
|
|
3298
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedTime)))
|
|
3299
|
-
: undefined,
|
|
3300
|
-
DnsName: (0, smithy_client_1.expectString)(output.DnsName),
|
|
3301
|
-
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
3302
|
-
IpAddressType: (0, smithy_client_1.expectString)(output.IpAddressType),
|
|
3303
|
-
IpSets: output.IpSets != null ? de_IpSets(output.IpSets, context) : undefined,
|
|
3304
|
-
LastModifiedTime: output.LastModifiedTime != null
|
|
3305
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
3306
|
-
: undefined,
|
|
3307
|
-
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3308
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3309
|
-
};
|
|
3310
|
-
};
|
|
3311
|
-
const de_CustomRoutingAcceleratorAttributes = (output, context) => {
|
|
3312
|
-
return {
|
|
3313
|
-
FlowLogsEnabled: (0, smithy_client_1.expectBoolean)(output.FlowLogsEnabled),
|
|
3314
|
-
FlowLogsS3Bucket: (0, smithy_client_1.expectString)(output.FlowLogsS3Bucket),
|
|
3315
|
-
FlowLogsS3Prefix: (0, smithy_client_1.expectString)(output.FlowLogsS3Prefix),
|
|
3316
|
-
};
|
|
3317
|
-
};
|
|
3318
|
-
const de_CustomRoutingAccelerators = (output, context) => {
|
|
3319
|
-
const retVal = (output || [])
|
|
3320
|
-
.filter((e) => e != null)
|
|
3321
|
-
.map((entry) => {
|
|
3322
|
-
if (entry === null) {
|
|
3323
|
-
return null;
|
|
3324
|
-
}
|
|
3325
|
-
return de_CustomRoutingAccelerator(entry, context);
|
|
3326
|
-
});
|
|
3327
|
-
return retVal;
|
|
3328
|
-
};
|
|
3329
|
-
const de_CustomRoutingDestinationDescription = (output, context) => {
|
|
3330
|
-
return {
|
|
3331
|
-
FromPort: (0, smithy_client_1.expectInt32)(output.FromPort),
|
|
3332
|
-
Protocols: output.Protocols != null ? de_Protocols(output.Protocols, context) : undefined,
|
|
3333
|
-
ToPort: (0, smithy_client_1.expectInt32)(output.ToPort),
|
|
3334
|
-
};
|
|
3335
|
-
};
|
|
3336
|
-
const de_CustomRoutingDestinationDescriptions = (output, context) => {
|
|
3337
|
-
const retVal = (output || [])
|
|
3338
|
-
.filter((e) => e != null)
|
|
3339
|
-
.map((entry) => {
|
|
3340
|
-
if (entry === null) {
|
|
3341
|
-
return null;
|
|
3342
|
-
}
|
|
3343
|
-
return de_CustomRoutingDestinationDescription(entry, context);
|
|
3344
|
-
});
|
|
3345
|
-
return retVal;
|
|
3346
|
-
};
|
|
3347
|
-
const de_CustomRoutingEndpointDescription = (output, context) => {
|
|
3348
|
-
return {
|
|
3349
|
-
EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
|
|
3350
|
-
};
|
|
3351
|
-
};
|
|
3352
|
-
const de_CustomRoutingEndpointDescriptions = (output, context) => {
|
|
3353
|
-
const retVal = (output || [])
|
|
3354
|
-
.filter((e) => e != null)
|
|
3355
|
-
.map((entry) => {
|
|
3356
|
-
if (entry === null) {
|
|
3357
|
-
return null;
|
|
3358
|
-
}
|
|
3359
|
-
return de_CustomRoutingEndpointDescription(entry, context);
|
|
3360
|
-
});
|
|
3361
|
-
return retVal;
|
|
3362
|
-
};
|
|
3363
|
-
const de_CustomRoutingEndpointGroup = (output, context) => {
|
|
3364
|
-
return {
|
|
3365
|
-
DestinationDescriptions: output.DestinationDescriptions != null
|
|
3366
|
-
? de_CustomRoutingDestinationDescriptions(output.DestinationDescriptions, context)
|
|
3367
|
-
: undefined,
|
|
3368
|
-
EndpointDescriptions: output.EndpointDescriptions != null
|
|
3369
|
-
? de_CustomRoutingEndpointDescriptions(output.EndpointDescriptions, context)
|
|
3370
|
-
: undefined,
|
|
3371
|
-
EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
|
|
3372
|
-
EndpointGroupRegion: (0, smithy_client_1.expectString)(output.EndpointGroupRegion),
|
|
3373
|
-
};
|
|
3374
|
-
};
|
|
3375
|
-
const de_CustomRoutingEndpointGroups = (output, context) => {
|
|
3376
|
-
const retVal = (output || [])
|
|
3377
|
-
.filter((e) => e != null)
|
|
3378
|
-
.map((entry) => {
|
|
3379
|
-
if (entry === null) {
|
|
3380
|
-
return null;
|
|
3381
|
-
}
|
|
3382
|
-
return de_CustomRoutingEndpointGroup(entry, context);
|
|
2576
|
+
const se_CreateAcceleratorRequest = (input, context) => {
|
|
2577
|
+
return (0, smithy_client_1.take)(input, {
|
|
2578
|
+
Enabled: [],
|
|
2579
|
+
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2580
|
+
IpAddressType: [],
|
|
2581
|
+
IpAddresses: smithy_client_1._json,
|
|
2582
|
+
Name: [],
|
|
2583
|
+
Tags: smithy_client_1._json,
|
|
3383
2584
|
});
|
|
3384
|
-
return retVal;
|
|
3385
2585
|
};
|
|
3386
|
-
const
|
|
3387
|
-
return {
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
.filter((e) => e != null)
|
|
3395
|
-
.map((entry) => {
|
|
3396
|
-
if (entry === null) {
|
|
3397
|
-
return null;
|
|
3398
|
-
}
|
|
3399
|
-
return de_CustomRoutingListener(entry, context);
|
|
2586
|
+
const se_CreateCustomRoutingAcceleratorRequest = (input, context) => {
|
|
2587
|
+
return (0, smithy_client_1.take)(input, {
|
|
2588
|
+
Enabled: [],
|
|
2589
|
+
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2590
|
+
IpAddressType: [],
|
|
2591
|
+
IpAddresses: smithy_client_1._json,
|
|
2592
|
+
Name: [],
|
|
2593
|
+
Tags: smithy_client_1._json,
|
|
3400
2594
|
});
|
|
3401
|
-
return retVal;
|
|
3402
2595
|
};
|
|
3403
|
-
const
|
|
3404
|
-
|
|
3405
|
-
.
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
}
|
|
3410
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2596
|
+
const se_CreateCustomRoutingEndpointGroupRequest = (input, context) => {
|
|
2597
|
+
return (0, smithy_client_1.take)(input, {
|
|
2598
|
+
DestinationConfigurations: smithy_client_1._json,
|
|
2599
|
+
EndpointGroupRegion: [],
|
|
2600
|
+
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2601
|
+
ListenerArn: [],
|
|
3411
2602
|
});
|
|
3412
|
-
return retVal;
|
|
3413
|
-
};
|
|
3414
|
-
const de_DeprovisionByoipCidrResponse = (output, context) => {
|
|
3415
|
-
return {
|
|
3416
|
-
ByoipCidr: output.ByoipCidr != null ? de_ByoipCidr(output.ByoipCidr, context) : undefined,
|
|
3417
|
-
};
|
|
3418
|
-
};
|
|
3419
|
-
const de_DescribeAcceleratorAttributesResponse = (output, context) => {
|
|
3420
|
-
return {
|
|
3421
|
-
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3422
|
-
? de_AcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3423
|
-
: undefined,
|
|
3424
|
-
};
|
|
3425
|
-
};
|
|
3426
|
-
const de_DescribeAcceleratorResponse = (output, context) => {
|
|
3427
|
-
return {
|
|
3428
|
-
Accelerator: output.Accelerator != null ? de_Accelerator(output.Accelerator, context) : undefined,
|
|
3429
|
-
};
|
|
3430
|
-
};
|
|
3431
|
-
const de_DescribeCustomRoutingAcceleratorAttributesResponse = (output, context) => {
|
|
3432
|
-
return {
|
|
3433
|
-
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3434
|
-
? de_CustomRoutingAcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3435
|
-
: undefined,
|
|
3436
|
-
};
|
|
3437
|
-
};
|
|
3438
|
-
const de_DescribeCustomRoutingAcceleratorResponse = (output, context) => {
|
|
3439
|
-
return {
|
|
3440
|
-
Accelerator: output.Accelerator != null ? de_CustomRoutingAccelerator(output.Accelerator, context) : undefined,
|
|
3441
|
-
};
|
|
3442
|
-
};
|
|
3443
|
-
const de_DescribeCustomRoutingEndpointGroupResponse = (output, context) => {
|
|
3444
|
-
return {
|
|
3445
|
-
EndpointGroup: output.EndpointGroup != null ? de_CustomRoutingEndpointGroup(output.EndpointGroup, context) : undefined,
|
|
3446
|
-
};
|
|
3447
2603
|
};
|
|
3448
|
-
const
|
|
3449
|
-
return {
|
|
3450
|
-
|
|
3451
|
-
|
|
2604
|
+
const se_CreateCustomRoutingListenerRequest = (input, context) => {
|
|
2605
|
+
return (0, smithy_client_1.take)(input, {
|
|
2606
|
+
AcceleratorArn: [],
|
|
2607
|
+
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2608
|
+
PortRanges: smithy_client_1._json,
|
|
2609
|
+
});
|
|
3452
2610
|
};
|
|
3453
|
-
const
|
|
3454
|
-
return {
|
|
3455
|
-
|
|
3456
|
-
|
|
2611
|
+
const se_CreateEndpointGroupRequest = (input, context) => {
|
|
2612
|
+
return (0, smithy_client_1.take)(input, {
|
|
2613
|
+
EndpointConfigurations: smithy_client_1._json,
|
|
2614
|
+
EndpointGroupRegion: [],
|
|
2615
|
+
HealthCheckIntervalSeconds: [],
|
|
2616
|
+
HealthCheckPath: [],
|
|
2617
|
+
HealthCheckPort: [],
|
|
2618
|
+
HealthCheckProtocol: [],
|
|
2619
|
+
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2620
|
+
ListenerArn: [],
|
|
2621
|
+
PortOverrides: smithy_client_1._json,
|
|
2622
|
+
ThresholdCount: [],
|
|
2623
|
+
TrafficDialPercentage: smithy_client_1.serializeFloat,
|
|
2624
|
+
});
|
|
3457
2625
|
};
|
|
3458
|
-
const
|
|
3459
|
-
return {
|
|
3460
|
-
|
|
3461
|
-
|
|
2626
|
+
const se_CreateListenerRequest = (input, context) => {
|
|
2627
|
+
return (0, smithy_client_1.take)(input, {
|
|
2628
|
+
AcceleratorArn: [],
|
|
2629
|
+
ClientAffinity: [],
|
|
2630
|
+
IdempotencyToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2631
|
+
PortRanges: smithy_client_1._json,
|
|
2632
|
+
Protocol: [],
|
|
2633
|
+
});
|
|
3462
2634
|
};
|
|
3463
|
-
const
|
|
3464
|
-
return {
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
IpAddressType: (0, smithy_client_1.expectString)(output.IpAddressType),
|
|
3475
|
-
};
|
|
3476
|
-
};
|
|
3477
|
-
const de_DestinationPortMappings = (output, context) => {
|
|
3478
|
-
const retVal = (output || [])
|
|
3479
|
-
.filter((e) => e != null)
|
|
3480
|
-
.map((entry) => {
|
|
3481
|
-
if (entry === null) {
|
|
3482
|
-
return null;
|
|
3483
|
-
}
|
|
3484
|
-
return de_DestinationPortMapping(entry, context);
|
|
2635
|
+
const se_UpdateEndpointGroupRequest = (input, context) => {
|
|
2636
|
+
return (0, smithy_client_1.take)(input, {
|
|
2637
|
+
EndpointConfigurations: smithy_client_1._json,
|
|
2638
|
+
EndpointGroupArn: [],
|
|
2639
|
+
HealthCheckIntervalSeconds: [],
|
|
2640
|
+
HealthCheckPath: [],
|
|
2641
|
+
HealthCheckPort: [],
|
|
2642
|
+
HealthCheckProtocol: [],
|
|
2643
|
+
PortOverrides: smithy_client_1._json,
|
|
2644
|
+
ThresholdCount: [],
|
|
2645
|
+
TrafficDialPercentage: smithy_client_1.serializeFloat,
|
|
3485
2646
|
});
|
|
3486
|
-
return retVal;
|
|
3487
2647
|
};
|
|
3488
|
-
const
|
|
3489
|
-
return {
|
|
3490
|
-
|
|
3491
|
-
|
|
2648
|
+
const de_Accelerator = (output, context) => {
|
|
2649
|
+
return (0, smithy_client_1.take)(output, {
|
|
2650
|
+
AcceleratorArn: smithy_client_1.expectString,
|
|
2651
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2652
|
+
DnsName: smithy_client_1.expectString,
|
|
2653
|
+
DualStackDnsName: smithy_client_1.expectString,
|
|
2654
|
+
Enabled: smithy_client_1.expectBoolean,
|
|
2655
|
+
Events: (_) => de_AcceleratorEvents(_, context),
|
|
2656
|
+
IpAddressType: smithy_client_1.expectString,
|
|
2657
|
+
IpSets: smithy_client_1._json,
|
|
2658
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2659
|
+
Name: smithy_client_1.expectString,
|
|
2660
|
+
Status: smithy_client_1.expectString,
|
|
2661
|
+
});
|
|
3492
2662
|
};
|
|
3493
|
-
const
|
|
3494
|
-
return {
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
HealthState: (0, smithy_client_1.expectString)(output.HealthState),
|
|
3499
|
-
Weight: (0, smithy_client_1.expectInt32)(output.Weight),
|
|
3500
|
-
};
|
|
2663
|
+
const de_AcceleratorEvent = (output, context) => {
|
|
2664
|
+
return (0, smithy_client_1.take)(output, {
|
|
2665
|
+
Message: smithy_client_1.expectString,
|
|
2666
|
+
Timestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2667
|
+
});
|
|
3501
2668
|
};
|
|
3502
|
-
const
|
|
2669
|
+
const de_AcceleratorEvents = (output, context) => {
|
|
3503
2670
|
const retVal = (output || [])
|
|
3504
2671
|
.filter((e) => e != null)
|
|
3505
2672
|
.map((entry) => {
|
|
3506
|
-
|
|
3507
|
-
return null;
|
|
3508
|
-
}
|
|
3509
|
-
return de_EndpointDescription(entry, context);
|
|
2673
|
+
return de_AcceleratorEvent(entry, context);
|
|
3510
2674
|
});
|
|
3511
2675
|
return retVal;
|
|
3512
2676
|
};
|
|
3513
|
-
const
|
|
3514
|
-
return {
|
|
3515
|
-
EndpointDescriptions: output.EndpointDescriptions != null ? de_EndpointDescriptions(output.EndpointDescriptions, context) : undefined,
|
|
3516
|
-
EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
|
|
3517
|
-
EndpointGroupRegion: (0, smithy_client_1.expectString)(output.EndpointGroupRegion),
|
|
3518
|
-
HealthCheckIntervalSeconds: (0, smithy_client_1.expectInt32)(output.HealthCheckIntervalSeconds),
|
|
3519
|
-
HealthCheckPath: (0, smithy_client_1.expectString)(output.HealthCheckPath),
|
|
3520
|
-
HealthCheckPort: (0, smithy_client_1.expectInt32)(output.HealthCheckPort),
|
|
3521
|
-
HealthCheckProtocol: (0, smithy_client_1.expectString)(output.HealthCheckProtocol),
|
|
3522
|
-
PortOverrides: output.PortOverrides != null ? de_PortOverrides(output.PortOverrides, context) : undefined,
|
|
3523
|
-
ThresholdCount: (0, smithy_client_1.expectInt32)(output.ThresholdCount),
|
|
3524
|
-
TrafficDialPercentage: (0, smithy_client_1.limitedParseFloat32)(output.TrafficDialPercentage),
|
|
3525
|
-
};
|
|
3526
|
-
};
|
|
3527
|
-
const de_EndpointGroupAlreadyExistsException = (output, context) => {
|
|
3528
|
-
return {
|
|
3529
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3530
|
-
};
|
|
3531
|
-
};
|
|
3532
|
-
const de_EndpointGroupNotFoundException = (output, context) => {
|
|
3533
|
-
return {
|
|
3534
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3535
|
-
};
|
|
3536
|
-
};
|
|
3537
|
-
const de_EndpointGroups = (output, context) => {
|
|
2677
|
+
const de_Accelerators = (output, context) => {
|
|
3538
2678
|
const retVal = (output || [])
|
|
3539
2679
|
.filter((e) => e != null)
|
|
3540
2680
|
.map((entry) => {
|
|
3541
|
-
|
|
3542
|
-
return null;
|
|
3543
|
-
}
|
|
3544
|
-
return de_EndpointGroup(entry, context);
|
|
2681
|
+
return de_Accelerator(entry, context);
|
|
3545
2682
|
});
|
|
3546
2683
|
return retVal;
|
|
3547
2684
|
};
|
|
3548
|
-
const
|
|
3549
|
-
return {
|
|
3550
|
-
|
|
3551
|
-
};
|
|
3552
|
-
};
|
|
3553
|
-
const de_IncorrectCidrStateException = (output, context) => {
|
|
3554
|
-
return {
|
|
3555
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3556
|
-
};
|
|
3557
|
-
};
|
|
3558
|
-
const de_InternalServiceErrorException = (output, context) => {
|
|
3559
|
-
return {
|
|
3560
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3561
|
-
};
|
|
3562
|
-
};
|
|
3563
|
-
const de_InvalidArgumentException = (output, context) => {
|
|
3564
|
-
return {
|
|
3565
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3566
|
-
};
|
|
3567
|
-
};
|
|
3568
|
-
const de_InvalidNextTokenException = (output, context) => {
|
|
3569
|
-
return {
|
|
3570
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3571
|
-
};
|
|
3572
|
-
};
|
|
3573
|
-
const de_InvalidPortRangeException = (output, context) => {
|
|
3574
|
-
return {
|
|
3575
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3576
|
-
};
|
|
2685
|
+
const de_AdvertiseByoipCidrResponse = (output, context) => {
|
|
2686
|
+
return (0, smithy_client_1.take)(output, {
|
|
2687
|
+
ByoipCidr: (_) => de_ByoipCidr(_, context),
|
|
2688
|
+
});
|
|
3577
2689
|
};
|
|
3578
|
-
const
|
|
3579
|
-
|
|
3580
|
-
.
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
return null;
|
|
3584
|
-
}
|
|
3585
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2690
|
+
const de_ByoipCidr = (output, context) => {
|
|
2691
|
+
return (0, smithy_client_1.take)(output, {
|
|
2692
|
+
Cidr: smithy_client_1.expectString,
|
|
2693
|
+
Events: (_) => de_ByoipCidrEvents(_, context),
|
|
2694
|
+
State: smithy_client_1.expectString,
|
|
3586
2695
|
});
|
|
3587
|
-
return retVal;
|
|
3588
2696
|
};
|
|
3589
|
-
const
|
|
3590
|
-
return {
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
};
|
|
2697
|
+
const de_ByoipCidrEvent = (output, context) => {
|
|
2698
|
+
return (0, smithy_client_1.take)(output, {
|
|
2699
|
+
Message: smithy_client_1.expectString,
|
|
2700
|
+
Timestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2701
|
+
});
|
|
3595
2702
|
};
|
|
3596
|
-
const
|
|
2703
|
+
const de_ByoipCidrEvents = (output, context) => {
|
|
3597
2704
|
const retVal = (output || [])
|
|
3598
2705
|
.filter((e) => e != null)
|
|
3599
2706
|
.map((entry) => {
|
|
3600
|
-
|
|
3601
|
-
return null;
|
|
3602
|
-
}
|
|
3603
|
-
return de_IpSet(entry, context);
|
|
2707
|
+
return de_ByoipCidrEvent(entry, context);
|
|
3604
2708
|
});
|
|
3605
2709
|
return retVal;
|
|
3606
2710
|
};
|
|
3607
|
-
const
|
|
3608
|
-
return {
|
|
3609
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3610
|
-
};
|
|
3611
|
-
};
|
|
3612
|
-
const de_ListAcceleratorsResponse = (output, context) => {
|
|
3613
|
-
return {
|
|
3614
|
-
Accelerators: output.Accelerators != null ? de_Accelerators(output.Accelerators, context) : undefined,
|
|
3615
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3616
|
-
};
|
|
3617
|
-
};
|
|
3618
|
-
const de_ListByoipCidrsResponse = (output, context) => {
|
|
3619
|
-
return {
|
|
3620
|
-
ByoipCidrs: output.ByoipCidrs != null ? de_ByoipCidrs(output.ByoipCidrs, context) : undefined,
|
|
3621
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3622
|
-
};
|
|
3623
|
-
};
|
|
3624
|
-
const de_ListCustomRoutingAcceleratorsResponse = (output, context) => {
|
|
3625
|
-
return {
|
|
3626
|
-
Accelerators: output.Accelerators != null ? de_CustomRoutingAccelerators(output.Accelerators, context) : undefined,
|
|
3627
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3628
|
-
};
|
|
3629
|
-
};
|
|
3630
|
-
const de_ListCustomRoutingEndpointGroupsResponse = (output, context) => {
|
|
3631
|
-
return {
|
|
3632
|
-
EndpointGroups: output.EndpointGroups != null ? de_CustomRoutingEndpointGroups(output.EndpointGroups, context) : undefined,
|
|
3633
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3634
|
-
};
|
|
3635
|
-
};
|
|
3636
|
-
const de_ListCustomRoutingListenersResponse = (output, context) => {
|
|
3637
|
-
return {
|
|
3638
|
-
Listeners: output.Listeners != null ? de_CustomRoutingListeners(output.Listeners, context) : undefined,
|
|
3639
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3640
|
-
};
|
|
3641
|
-
};
|
|
3642
|
-
const de_ListCustomRoutingPortMappingsByDestinationResponse = (output, context) => {
|
|
3643
|
-
return {
|
|
3644
|
-
DestinationPortMappings: output.DestinationPortMappings != null
|
|
3645
|
-
? de_DestinationPortMappings(output.DestinationPortMappings, context)
|
|
3646
|
-
: undefined,
|
|
3647
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3648
|
-
};
|
|
3649
|
-
};
|
|
3650
|
-
const de_ListCustomRoutingPortMappingsResponse = (output, context) => {
|
|
3651
|
-
return {
|
|
3652
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3653
|
-
PortMappings: output.PortMappings != null ? de_PortMappings(output.PortMappings, context) : undefined,
|
|
3654
|
-
};
|
|
3655
|
-
};
|
|
3656
|
-
const de_ListEndpointGroupsResponse = (output, context) => {
|
|
3657
|
-
return {
|
|
3658
|
-
EndpointGroups: output.EndpointGroups != null ? de_EndpointGroups(output.EndpointGroups, context) : undefined,
|
|
3659
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
3660
|
-
};
|
|
3661
|
-
};
|
|
3662
|
-
const de_Listener = (output, context) => {
|
|
3663
|
-
return {
|
|
3664
|
-
ClientAffinity: (0, smithy_client_1.expectString)(output.ClientAffinity),
|
|
3665
|
-
ListenerArn: (0, smithy_client_1.expectString)(output.ListenerArn),
|
|
3666
|
-
PortRanges: output.PortRanges != null ? de_PortRanges(output.PortRanges, context) : undefined,
|
|
3667
|
-
Protocol: (0, smithy_client_1.expectString)(output.Protocol),
|
|
3668
|
-
};
|
|
3669
|
-
};
|
|
3670
|
-
const de_ListenerNotFoundException = (output, context) => {
|
|
3671
|
-
return {
|
|
3672
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3673
|
-
};
|
|
3674
|
-
};
|
|
3675
|
-
const de_Listeners = (output, context) => {
|
|
2711
|
+
const de_ByoipCidrs = (output, context) => {
|
|
3676
2712
|
const retVal = (output || [])
|
|
3677
2713
|
.filter((e) => e != null)
|
|
3678
2714
|
.map((entry) => {
|
|
3679
|
-
|
|
3680
|
-
return null;
|
|
3681
|
-
}
|
|
3682
|
-
return de_Listener(entry, context);
|
|
2715
|
+
return de_ByoipCidr(entry, context);
|
|
3683
2716
|
});
|
|
3684
2717
|
return retVal;
|
|
3685
2718
|
};
|
|
3686
|
-
const
|
|
3687
|
-
return {
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
};
|
|
3691
|
-
};
|
|
3692
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
3693
|
-
return {
|
|
3694
|
-
Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
|
|
3695
|
-
};
|
|
2719
|
+
const de_CreateAcceleratorResponse = (output, context) => {
|
|
2720
|
+
return (0, smithy_client_1.take)(output, {
|
|
2721
|
+
Accelerator: (_) => de_Accelerator(_, context),
|
|
2722
|
+
});
|
|
3696
2723
|
};
|
|
3697
|
-
const
|
|
3698
|
-
return {
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
DestinationTrafficState: (0, smithy_client_1.expectString)(output.DestinationTrafficState),
|
|
3702
|
-
EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
|
|
3703
|
-
EndpointId: (0, smithy_client_1.expectString)(output.EndpointId),
|
|
3704
|
-
Protocols: output.Protocols != null ? de_CustomRoutingProtocols(output.Protocols, context) : undefined,
|
|
3705
|
-
};
|
|
2724
|
+
const de_CreateCustomRoutingAcceleratorResponse = (output, context) => {
|
|
2725
|
+
return (0, smithy_client_1.take)(output, {
|
|
2726
|
+
Accelerator: (_) => de_CustomRoutingAccelerator(_, context),
|
|
2727
|
+
});
|
|
3706
2728
|
};
|
|
3707
|
-
const
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
.map((entry) => {
|
|
3711
|
-
if (entry === null) {
|
|
3712
|
-
return null;
|
|
3713
|
-
}
|
|
3714
|
-
return de_PortMapping(entry, context);
|
|
2729
|
+
const de_CreateEndpointGroupResponse = (output, context) => {
|
|
2730
|
+
return (0, smithy_client_1.take)(output, {
|
|
2731
|
+
EndpointGroup: (_) => de_EndpointGroup(_, context),
|
|
3715
2732
|
});
|
|
3716
|
-
return retVal;
|
|
3717
2733
|
};
|
|
3718
|
-
const
|
|
3719
|
-
return {
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
2734
|
+
const de_CustomRoutingAccelerator = (output, context) => {
|
|
2735
|
+
return (0, smithy_client_1.take)(output, {
|
|
2736
|
+
AcceleratorArn: smithy_client_1.expectString,
|
|
2737
|
+
CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2738
|
+
DnsName: smithy_client_1.expectString,
|
|
2739
|
+
Enabled: smithy_client_1.expectBoolean,
|
|
2740
|
+
IpAddressType: smithy_client_1.expectString,
|
|
2741
|
+
IpSets: smithy_client_1._json,
|
|
2742
|
+
LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2743
|
+
Name: smithy_client_1.expectString,
|
|
2744
|
+
Status: smithy_client_1.expectString,
|
|
2745
|
+
});
|
|
3723
2746
|
};
|
|
3724
|
-
const
|
|
2747
|
+
const de_CustomRoutingAccelerators = (output, context) => {
|
|
3725
2748
|
const retVal = (output || [])
|
|
3726
2749
|
.filter((e) => e != null)
|
|
3727
2750
|
.map((entry) => {
|
|
3728
|
-
|
|
3729
|
-
return null;
|
|
3730
|
-
}
|
|
3731
|
-
return de_PortOverride(entry, context);
|
|
2751
|
+
return de_CustomRoutingAccelerator(entry, context);
|
|
3732
2752
|
});
|
|
3733
2753
|
return retVal;
|
|
3734
2754
|
};
|
|
3735
|
-
const
|
|
3736
|
-
return {
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
};
|
|
2755
|
+
const de_DeprovisionByoipCidrResponse = (output, context) => {
|
|
2756
|
+
return (0, smithy_client_1.take)(output, {
|
|
2757
|
+
ByoipCidr: (_) => de_ByoipCidr(_, context),
|
|
2758
|
+
});
|
|
3740
2759
|
};
|
|
3741
|
-
const
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
.map((entry) => {
|
|
3745
|
-
if (entry === null) {
|
|
3746
|
-
return null;
|
|
3747
|
-
}
|
|
3748
|
-
return de_PortRange(entry, context);
|
|
2760
|
+
const de_DescribeAcceleratorResponse = (output, context) => {
|
|
2761
|
+
return (0, smithy_client_1.take)(output, {
|
|
2762
|
+
Accelerator: (_) => de_Accelerator(_, context),
|
|
3749
2763
|
});
|
|
3750
|
-
return retVal;
|
|
3751
2764
|
};
|
|
3752
|
-
const
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
.map((entry) => {
|
|
3756
|
-
if (entry === null) {
|
|
3757
|
-
return null;
|
|
3758
|
-
}
|
|
3759
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2765
|
+
const de_DescribeCustomRoutingAcceleratorResponse = (output, context) => {
|
|
2766
|
+
return (0, smithy_client_1.take)(output, {
|
|
2767
|
+
Accelerator: (_) => de_CustomRoutingAccelerator(_, context),
|
|
3760
2768
|
});
|
|
3761
|
-
return retVal;
|
|
3762
2769
|
};
|
|
3763
|
-
const
|
|
3764
|
-
return {
|
|
3765
|
-
|
|
3766
|
-
};
|
|
2770
|
+
const de_DescribeEndpointGroupResponse = (output, context) => {
|
|
2771
|
+
return (0, smithy_client_1.take)(output, {
|
|
2772
|
+
EndpointGroup: (_) => de_EndpointGroup(_, context),
|
|
2773
|
+
});
|
|
3767
2774
|
};
|
|
3768
|
-
const
|
|
3769
|
-
return {
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
2775
|
+
const de_EndpointGroup = (output, context) => {
|
|
2776
|
+
return (0, smithy_client_1.take)(output, {
|
|
2777
|
+
EndpointDescriptions: smithy_client_1._json,
|
|
2778
|
+
EndpointGroupArn: smithy_client_1.expectString,
|
|
2779
|
+
EndpointGroupRegion: smithy_client_1.expectString,
|
|
2780
|
+
HealthCheckIntervalSeconds: smithy_client_1.expectInt32,
|
|
2781
|
+
HealthCheckPath: smithy_client_1.expectString,
|
|
2782
|
+
HealthCheckPort: smithy_client_1.expectInt32,
|
|
2783
|
+
HealthCheckProtocol: smithy_client_1.expectString,
|
|
2784
|
+
PortOverrides: smithy_client_1._json,
|
|
2785
|
+
ThresholdCount: smithy_client_1.expectInt32,
|
|
2786
|
+
TrafficDialPercentage: smithy_client_1.limitedParseFloat32,
|
|
2787
|
+
});
|
|
3773
2788
|
};
|
|
3774
|
-
const
|
|
2789
|
+
const de_EndpointGroups = (output, context) => {
|
|
3775
2790
|
const retVal = (output || [])
|
|
3776
2791
|
.filter((e) => e != null)
|
|
3777
2792
|
.map((entry) => {
|
|
3778
|
-
|
|
3779
|
-
return null;
|
|
3780
|
-
}
|
|
3781
|
-
return de_SocketAddress(entry, context);
|
|
2793
|
+
return de_EndpointGroup(entry, context);
|
|
3782
2794
|
});
|
|
3783
2795
|
return retVal;
|
|
3784
2796
|
};
|
|
3785
|
-
const
|
|
3786
|
-
return {
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
};
|
|
3790
|
-
};
|
|
3791
|
-
const de_TagResourceResponse = (output, context) => {
|
|
3792
|
-
return {};
|
|
2797
|
+
const de_ListAcceleratorsResponse = (output, context) => {
|
|
2798
|
+
return (0, smithy_client_1.take)(output, {
|
|
2799
|
+
Accelerators: (_) => de_Accelerators(_, context),
|
|
2800
|
+
NextToken: smithy_client_1.expectString,
|
|
2801
|
+
});
|
|
3793
2802
|
};
|
|
3794
|
-
const
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
.
|
|
3798
|
-
if (entry === null) {
|
|
3799
|
-
return null;
|
|
3800
|
-
}
|
|
3801
|
-
return de_Tag(entry, context);
|
|
2803
|
+
const de_ListByoipCidrsResponse = (output, context) => {
|
|
2804
|
+
return (0, smithy_client_1.take)(output, {
|
|
2805
|
+
ByoipCidrs: (_) => de_ByoipCidrs(_, context),
|
|
2806
|
+
NextToken: smithy_client_1.expectString,
|
|
3802
2807
|
});
|
|
3803
|
-
return retVal;
|
|
3804
2808
|
};
|
|
3805
|
-
const
|
|
3806
|
-
return {
|
|
3807
|
-
|
|
3808
|
-
|
|
2809
|
+
const de_ListCustomRoutingAcceleratorsResponse = (output, context) => {
|
|
2810
|
+
return (0, smithy_client_1.take)(output, {
|
|
2811
|
+
Accelerators: (_) => de_CustomRoutingAccelerators(_, context),
|
|
2812
|
+
NextToken: smithy_client_1.expectString,
|
|
2813
|
+
});
|
|
3809
2814
|
};
|
|
3810
|
-
const
|
|
3811
|
-
return {
|
|
2815
|
+
const de_ListEndpointGroupsResponse = (output, context) => {
|
|
2816
|
+
return (0, smithy_client_1.take)(output, {
|
|
2817
|
+
EndpointGroups: (_) => de_EndpointGroups(_, context),
|
|
2818
|
+
NextToken: smithy_client_1.expectString,
|
|
2819
|
+
});
|
|
3812
2820
|
};
|
|
3813
|
-
const
|
|
3814
|
-
return {
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
: undefined,
|
|
3818
|
-
};
|
|
2821
|
+
const de_ProvisionByoipCidrResponse = (output, context) => {
|
|
2822
|
+
return (0, smithy_client_1.take)(output, {
|
|
2823
|
+
ByoipCidr: (_) => de_ByoipCidr(_, context),
|
|
2824
|
+
});
|
|
3819
2825
|
};
|
|
3820
2826
|
const de_UpdateAcceleratorResponse = (output, context) => {
|
|
3821
|
-
return {
|
|
3822
|
-
Accelerator:
|
|
3823
|
-
};
|
|
3824
|
-
};
|
|
3825
|
-
const de_UpdateCustomRoutingAcceleratorAttributesResponse = (output, context) => {
|
|
3826
|
-
return {
|
|
3827
|
-
AcceleratorAttributes: output.AcceleratorAttributes != null
|
|
3828
|
-
? de_CustomRoutingAcceleratorAttributes(output.AcceleratorAttributes, context)
|
|
3829
|
-
: undefined,
|
|
3830
|
-
};
|
|
2827
|
+
return (0, smithy_client_1.take)(output, {
|
|
2828
|
+
Accelerator: (_) => de_Accelerator(_, context),
|
|
2829
|
+
});
|
|
3831
2830
|
};
|
|
3832
2831
|
const de_UpdateCustomRoutingAcceleratorResponse = (output, context) => {
|
|
3833
|
-
return {
|
|
3834
|
-
Accelerator:
|
|
3835
|
-
};
|
|
3836
|
-
};
|
|
3837
|
-
const de_UpdateCustomRoutingListenerResponse = (output, context) => {
|
|
3838
|
-
return {
|
|
3839
|
-
Listener: output.Listener != null ? de_CustomRoutingListener(output.Listener, context) : undefined,
|
|
3840
|
-
};
|
|
2832
|
+
return (0, smithy_client_1.take)(output, {
|
|
2833
|
+
Accelerator: (_) => de_CustomRoutingAccelerator(_, context),
|
|
2834
|
+
});
|
|
3841
2835
|
};
|
|
3842
2836
|
const de_UpdateEndpointGroupResponse = (output, context) => {
|
|
3843
|
-
return {
|
|
3844
|
-
EndpointGroup:
|
|
3845
|
-
};
|
|
3846
|
-
};
|
|
3847
|
-
const de_UpdateListenerResponse = (output, context) => {
|
|
3848
|
-
return {
|
|
3849
|
-
Listener: output.Listener != null ? de_Listener(output.Listener, context) : undefined,
|
|
3850
|
-
};
|
|
2837
|
+
return (0, smithy_client_1.take)(output, {
|
|
2838
|
+
EndpointGroup: (_) => de_EndpointGroup(_, context),
|
|
2839
|
+
});
|
|
3851
2840
|
};
|
|
3852
2841
|
const de_WithdrawByoipCidrResponse = (output, context) => {
|
|
3853
|
-
return {
|
|
3854
|
-
ByoipCidr:
|
|
3855
|
-
};
|
|
2842
|
+
return (0, smithy_client_1.take)(output, {
|
|
2843
|
+
ByoipCidr: (_) => de_ByoipCidr(_, context),
|
|
2844
|
+
});
|
|
3856
2845
|
};
|
|
3857
2846
|
const deserializeMetadata = (output) => ({
|
|
3858
2847
|
httpStatusCode: output.statusCode,
|
|
@@ -3867,6 +2856,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
3867
2856
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3868
2857
|
};
|
|
3869
2858
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2859
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException);
|
|
3870
2860
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
3871
2861
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
3872
2862
|
const contents = {
|