@aws-sdk/client-outposts 3.303.0 → 3.309.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.
Files changed (57) hide show
  1. package/dist-cjs/commands/CancelOrderCommand.js +2 -2
  2. package/dist-cjs/commands/CreateOrderCommand.js +2 -2
  3. package/dist-cjs/commands/CreateOutpostCommand.js +2 -2
  4. package/dist-cjs/commands/CreateSiteCommand.js +2 -2
  5. package/dist-cjs/commands/DeleteOutpostCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteSiteCommand.js +2 -2
  7. package/dist-cjs/commands/GetCatalogItemCommand.js +2 -2
  8. package/dist-cjs/commands/GetConnectionCommand.js +2 -2
  9. package/dist-cjs/commands/GetOrderCommand.js +2 -2
  10. package/dist-cjs/commands/GetOutpostCommand.js +2 -2
  11. package/dist-cjs/commands/GetOutpostInstanceTypesCommand.js +2 -2
  12. package/dist-cjs/commands/GetSiteAddressCommand.js +2 -2
  13. package/dist-cjs/commands/GetSiteCommand.js +2 -2
  14. package/dist-cjs/commands/ListAssetsCommand.js +2 -2
  15. package/dist-cjs/commands/ListCatalogItemsCommand.js +2 -2
  16. package/dist-cjs/commands/ListOrdersCommand.js +2 -2
  17. package/dist-cjs/commands/ListOutpostsCommand.js +2 -2
  18. package/dist-cjs/commands/ListSitesCommand.js +2 -2
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  20. package/dist-cjs/commands/StartConnectionCommand.js +2 -2
  21. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  22. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  23. package/dist-cjs/commands/UpdateOutpostCommand.js +2 -2
  24. package/dist-cjs/commands/UpdateSiteAddressCommand.js +2 -2
  25. package/dist-cjs/commands/UpdateSiteCommand.js +2 -2
  26. package/dist-cjs/commands/UpdateSiteRackPhysicalPropertiesCommand.js +2 -2
  27. package/dist-cjs/protocols/Aws_restJson1.js +360 -376
  28. package/dist-es/commands/CancelOrderCommand.js +3 -3
  29. package/dist-es/commands/CreateOrderCommand.js +3 -3
  30. package/dist-es/commands/CreateOutpostCommand.js +3 -3
  31. package/dist-es/commands/CreateSiteCommand.js +3 -3
  32. package/dist-es/commands/DeleteOutpostCommand.js +3 -3
  33. package/dist-es/commands/DeleteSiteCommand.js +3 -3
  34. package/dist-es/commands/GetCatalogItemCommand.js +3 -3
  35. package/dist-es/commands/GetConnectionCommand.js +3 -3
  36. package/dist-es/commands/GetOrderCommand.js +3 -3
  37. package/dist-es/commands/GetOutpostCommand.js +3 -3
  38. package/dist-es/commands/GetOutpostInstanceTypesCommand.js +3 -3
  39. package/dist-es/commands/GetSiteAddressCommand.js +3 -3
  40. package/dist-es/commands/GetSiteCommand.js +3 -3
  41. package/dist-es/commands/ListAssetsCommand.js +3 -3
  42. package/dist-es/commands/ListCatalogItemsCommand.js +3 -3
  43. package/dist-es/commands/ListOrdersCommand.js +3 -3
  44. package/dist-es/commands/ListOutpostsCommand.js +3 -3
  45. package/dist-es/commands/ListSitesCommand.js +3 -3
  46. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  47. package/dist-es/commands/StartConnectionCommand.js +3 -3
  48. package/dist-es/commands/TagResourceCommand.js +3 -3
  49. package/dist-es/commands/UntagResourceCommand.js +3 -3
  50. package/dist-es/commands/UpdateOutpostCommand.js +3 -3
  51. package/dist-es/commands/UpdateSiteAddressCommand.js +3 -3
  52. package/dist-es/commands/UpdateSiteCommand.js +3 -3
  53. package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +3 -3
  54. package/dist-es/protocols/Aws_restJson1.js +306 -322
  55. package/dist-types/protocols/Aws_restJson1.d.ts +208 -52
  56. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +52 -52
  57. package/package.json +29 -29
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UpdateSiteCommand = exports.deserializeAws_restJson1UpdateOutpostCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartConnectionCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSitesCommand = exports.deserializeAws_restJson1ListOutpostsCommand = exports.deserializeAws_restJson1ListOrdersCommand = exports.deserializeAws_restJson1ListCatalogItemsCommand = exports.deserializeAws_restJson1ListAssetsCommand = exports.deserializeAws_restJson1GetSiteAddressCommand = exports.deserializeAws_restJson1GetSiteCommand = exports.deserializeAws_restJson1GetOutpostInstanceTypesCommand = exports.deserializeAws_restJson1GetOutpostCommand = exports.deserializeAws_restJson1GetOrderCommand = exports.deserializeAws_restJson1GetConnectionCommand = exports.deserializeAws_restJson1GetCatalogItemCommand = exports.deserializeAws_restJson1DeleteSiteCommand = exports.deserializeAws_restJson1DeleteOutpostCommand = exports.deserializeAws_restJson1CreateSiteCommand = exports.deserializeAws_restJson1CreateOutpostCommand = exports.deserializeAws_restJson1CreateOrderCommand = exports.deserializeAws_restJson1CancelOrderCommand = exports.serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand = exports.serializeAws_restJson1UpdateSiteAddressCommand = exports.serializeAws_restJson1UpdateSiteCommand = exports.serializeAws_restJson1UpdateOutpostCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartConnectionCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSitesCommand = exports.serializeAws_restJson1ListOutpostsCommand = exports.serializeAws_restJson1ListOrdersCommand = exports.serializeAws_restJson1ListCatalogItemsCommand = exports.serializeAws_restJson1ListAssetsCommand = exports.serializeAws_restJson1GetSiteAddressCommand = exports.serializeAws_restJson1GetSiteCommand = exports.serializeAws_restJson1GetOutpostInstanceTypesCommand = exports.serializeAws_restJson1GetOutpostCommand = exports.serializeAws_restJson1GetOrderCommand = exports.serializeAws_restJson1GetConnectionCommand = exports.serializeAws_restJson1GetCatalogItemCommand = exports.serializeAws_restJson1DeleteSiteCommand = exports.serializeAws_restJson1DeleteOutpostCommand = exports.serializeAws_restJson1CreateSiteCommand = exports.serializeAws_restJson1CreateOutpostCommand = exports.serializeAws_restJson1CreateOrderCommand = exports.serializeAws_restJson1CancelOrderCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand = exports.deserializeAws_restJson1UpdateSiteAddressCommand = void 0;
3
+ exports.de_UpdateSiteCommand = exports.de_UpdateOutpostCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StartConnectionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSitesCommand = exports.de_ListOutpostsCommand = exports.de_ListOrdersCommand = exports.de_ListCatalogItemsCommand = exports.de_ListAssetsCommand = exports.de_GetSiteAddressCommand = exports.de_GetSiteCommand = exports.de_GetOutpostInstanceTypesCommand = exports.de_GetOutpostCommand = exports.de_GetOrderCommand = exports.de_GetConnectionCommand = exports.de_GetCatalogItemCommand = exports.de_DeleteSiteCommand = exports.de_DeleteOutpostCommand = exports.de_CreateSiteCommand = exports.de_CreateOutpostCommand = exports.de_CreateOrderCommand = exports.de_CancelOrderCommand = exports.se_UpdateSiteRackPhysicalPropertiesCommand = exports.se_UpdateSiteAddressCommand = exports.se_UpdateSiteCommand = exports.se_UpdateOutpostCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StartConnectionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSitesCommand = exports.se_ListOutpostsCommand = exports.se_ListOrdersCommand = exports.se_ListCatalogItemsCommand = exports.se_ListAssetsCommand = exports.se_GetSiteAddressCommand = exports.se_GetSiteCommand = exports.se_GetOutpostInstanceTypesCommand = exports.se_GetOutpostCommand = exports.se_GetOrderCommand = exports.se_GetConnectionCommand = exports.se_GetCatalogItemCommand = exports.se_DeleteSiteCommand = exports.se_DeleteOutpostCommand = exports.se_CreateSiteCommand = exports.se_CreateOutpostCommand = exports.se_CreateOrderCommand = exports.se_CancelOrderCommand = void 0;
4
+ exports.de_UpdateSiteRackPhysicalPropertiesCommand = exports.de_UpdateSiteAddressCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const OutpostsServiceException_1 = require("../models/OutpostsServiceException");
9
- const serializeAws_restJson1CancelOrderCommand = async (input, context) => {
9
+ const se_CancelOrderCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {};
12
12
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/orders/{OrderId}/cancel";
@@ -22,8 +22,8 @@ const serializeAws_restJson1CancelOrderCommand = async (input, context) => {
22
22
  body,
23
23
  });
24
24
  };
25
- exports.serializeAws_restJson1CancelOrderCommand = serializeAws_restJson1CancelOrderCommand;
26
- const serializeAws_restJson1CreateOrderCommand = async (input, context) => {
25
+ exports.se_CancelOrderCommand = se_CancelOrderCommand;
26
+ const se_CreateOrderCommand = async (input, context) => {
27
27
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
28
  const headers = {
29
29
  "content-type": "application/json",
@@ -31,9 +31,7 @@ const serializeAws_restJson1CreateOrderCommand = async (input, context) => {
31
31
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/orders";
32
32
  let body;
33
33
  body = JSON.stringify({
34
- ...(input.LineItems != null && {
35
- LineItems: serializeAws_restJson1LineItemRequestListDefinition(input.LineItems, context),
36
- }),
34
+ ...(input.LineItems != null && { LineItems: se_LineItemRequestListDefinition(input.LineItems, context) }),
37
35
  ...(input.OutpostIdentifier != null && { OutpostIdentifier: input.OutpostIdentifier }),
38
36
  ...(input.PaymentOption != null && { PaymentOption: input.PaymentOption }),
39
37
  ...(input.PaymentTerm != null && { PaymentTerm: input.PaymentTerm }),
@@ -48,8 +46,8 @@ const serializeAws_restJson1CreateOrderCommand = async (input, context) => {
48
46
  body,
49
47
  });
50
48
  };
51
- exports.serializeAws_restJson1CreateOrderCommand = serializeAws_restJson1CreateOrderCommand;
52
- const serializeAws_restJson1CreateOutpostCommand = async (input, context) => {
49
+ exports.se_CreateOrderCommand = se_CreateOrderCommand;
50
+ const se_CreateOutpostCommand = async (input, context) => {
53
51
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
54
52
  const headers = {
55
53
  "content-type": "application/json",
@@ -63,7 +61,7 @@ const serializeAws_restJson1CreateOutpostCommand = async (input, context) => {
63
61
  ...(input.Name != null && { Name: input.Name }),
64
62
  ...(input.SiteId != null && { SiteId: input.SiteId }),
65
63
  ...(input.SupportedHardwareType != null && { SupportedHardwareType: input.SupportedHardwareType }),
66
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
64
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
67
65
  });
68
66
  return new protocol_http_1.HttpRequest({
69
67
  protocol,
@@ -75,8 +73,8 @@ const serializeAws_restJson1CreateOutpostCommand = async (input, context) => {
75
73
  body,
76
74
  });
77
75
  };
78
- exports.serializeAws_restJson1CreateOutpostCommand = serializeAws_restJson1CreateOutpostCommand;
79
- const serializeAws_restJson1CreateSiteCommand = async (input, context) => {
76
+ exports.se_CreateOutpostCommand = se_CreateOutpostCommand;
77
+ const se_CreateSiteCommand = async (input, context) => {
80
78
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
81
79
  const headers = {
82
80
  "content-type": "application/json",
@@ -87,16 +85,12 @@ const serializeAws_restJson1CreateSiteCommand = async (input, context) => {
87
85
  ...(input.Description != null && { Description: input.Description }),
88
86
  ...(input.Name != null && { Name: input.Name }),
89
87
  ...(input.Notes != null && { Notes: input.Notes }),
90
- ...(input.OperatingAddress != null && {
91
- OperatingAddress: serializeAws_restJson1Address(input.OperatingAddress, context),
92
- }),
88
+ ...(input.OperatingAddress != null && { OperatingAddress: se_Address(input.OperatingAddress, context) }),
93
89
  ...(input.RackPhysicalProperties != null && {
94
- RackPhysicalProperties: serializeAws_restJson1RackPhysicalProperties(input.RackPhysicalProperties, context),
90
+ RackPhysicalProperties: se_RackPhysicalProperties(input.RackPhysicalProperties, context),
95
91
  }),
96
- ...(input.ShippingAddress != null && {
97
- ShippingAddress: serializeAws_restJson1Address(input.ShippingAddress, context),
98
- }),
99
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
92
+ ...(input.ShippingAddress != null && { ShippingAddress: se_Address(input.ShippingAddress, context) }),
93
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
100
94
  });
101
95
  return new protocol_http_1.HttpRequest({
102
96
  protocol,
@@ -108,8 +102,8 @@ const serializeAws_restJson1CreateSiteCommand = async (input, context) => {
108
102
  body,
109
103
  });
110
104
  };
111
- exports.serializeAws_restJson1CreateSiteCommand = serializeAws_restJson1CreateSiteCommand;
112
- const serializeAws_restJson1DeleteOutpostCommand = async (input, context) => {
105
+ exports.se_CreateSiteCommand = se_CreateSiteCommand;
106
+ const se_DeleteOutpostCommand = async (input, context) => {
113
107
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
114
108
  const headers = {};
115
109
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/outposts/{OutpostId}";
@@ -125,8 +119,8 @@ const serializeAws_restJson1DeleteOutpostCommand = async (input, context) => {
125
119
  body,
126
120
  });
127
121
  };
128
- exports.serializeAws_restJson1DeleteOutpostCommand = serializeAws_restJson1DeleteOutpostCommand;
129
- const serializeAws_restJson1DeleteSiteCommand = async (input, context) => {
122
+ exports.se_DeleteOutpostCommand = se_DeleteOutpostCommand;
123
+ const se_DeleteSiteCommand = async (input, context) => {
130
124
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
131
125
  const headers = {};
132
126
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sites/{SiteId}";
@@ -142,8 +136,8 @@ const serializeAws_restJson1DeleteSiteCommand = async (input, context) => {
142
136
  body,
143
137
  });
144
138
  };
145
- exports.serializeAws_restJson1DeleteSiteCommand = serializeAws_restJson1DeleteSiteCommand;
146
- const serializeAws_restJson1GetCatalogItemCommand = async (input, context) => {
139
+ exports.se_DeleteSiteCommand = se_DeleteSiteCommand;
140
+ const se_GetCatalogItemCommand = async (input, context) => {
147
141
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
148
142
  const headers = {};
149
143
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/catalog/item/{CatalogItemId}";
@@ -159,8 +153,8 @@ const serializeAws_restJson1GetCatalogItemCommand = async (input, context) => {
159
153
  body,
160
154
  });
161
155
  };
162
- exports.serializeAws_restJson1GetCatalogItemCommand = serializeAws_restJson1GetCatalogItemCommand;
163
- const serializeAws_restJson1GetConnectionCommand = async (input, context) => {
156
+ exports.se_GetCatalogItemCommand = se_GetCatalogItemCommand;
157
+ const se_GetConnectionCommand = async (input, context) => {
164
158
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
165
159
  const headers = {};
166
160
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/connections/{ConnectionId}";
@@ -176,8 +170,8 @@ const serializeAws_restJson1GetConnectionCommand = async (input, context) => {
176
170
  body,
177
171
  });
178
172
  };
179
- exports.serializeAws_restJson1GetConnectionCommand = serializeAws_restJson1GetConnectionCommand;
180
- const serializeAws_restJson1GetOrderCommand = async (input, context) => {
173
+ exports.se_GetConnectionCommand = se_GetConnectionCommand;
174
+ const se_GetOrderCommand = async (input, context) => {
181
175
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
182
176
  const headers = {};
183
177
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/orders/{OrderId}";
@@ -193,8 +187,8 @@ const serializeAws_restJson1GetOrderCommand = async (input, context) => {
193
187
  body,
194
188
  });
195
189
  };
196
- exports.serializeAws_restJson1GetOrderCommand = serializeAws_restJson1GetOrderCommand;
197
- const serializeAws_restJson1GetOutpostCommand = async (input, context) => {
190
+ exports.se_GetOrderCommand = se_GetOrderCommand;
191
+ const se_GetOutpostCommand = async (input, context) => {
198
192
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
199
193
  const headers = {};
200
194
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/outposts/{OutpostId}";
@@ -210,8 +204,8 @@ const serializeAws_restJson1GetOutpostCommand = async (input, context) => {
210
204
  body,
211
205
  });
212
206
  };
213
- exports.serializeAws_restJson1GetOutpostCommand = serializeAws_restJson1GetOutpostCommand;
214
- const serializeAws_restJson1GetOutpostInstanceTypesCommand = async (input, context) => {
207
+ exports.se_GetOutpostCommand = se_GetOutpostCommand;
208
+ const se_GetOutpostInstanceTypesCommand = async (input, context) => {
215
209
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
216
210
  const headers = {};
217
211
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/outposts/{OutpostId}/instanceTypes";
@@ -232,8 +226,8 @@ const serializeAws_restJson1GetOutpostInstanceTypesCommand = async (input, conte
232
226
  body,
233
227
  });
234
228
  };
235
- exports.serializeAws_restJson1GetOutpostInstanceTypesCommand = serializeAws_restJson1GetOutpostInstanceTypesCommand;
236
- const serializeAws_restJson1GetSiteCommand = async (input, context) => {
229
+ exports.se_GetOutpostInstanceTypesCommand = se_GetOutpostInstanceTypesCommand;
230
+ const se_GetSiteCommand = async (input, context) => {
237
231
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
238
232
  const headers = {};
239
233
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sites/{SiteId}";
@@ -249,8 +243,8 @@ const serializeAws_restJson1GetSiteCommand = async (input, context) => {
249
243
  body,
250
244
  });
251
245
  };
252
- exports.serializeAws_restJson1GetSiteCommand = serializeAws_restJson1GetSiteCommand;
253
- const serializeAws_restJson1GetSiteAddressCommand = async (input, context) => {
246
+ exports.se_GetSiteCommand = se_GetSiteCommand;
247
+ const se_GetSiteAddressCommand = async (input, context) => {
254
248
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
255
249
  const headers = {};
256
250
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sites/{SiteId}/address";
@@ -270,8 +264,8 @@ const serializeAws_restJson1GetSiteAddressCommand = async (input, context) => {
270
264
  body,
271
265
  });
272
266
  };
273
- exports.serializeAws_restJson1GetSiteAddressCommand = serializeAws_restJson1GetSiteAddressCommand;
274
- const serializeAws_restJson1ListAssetsCommand = async (input, context) => {
267
+ exports.se_GetSiteAddressCommand = se_GetSiteAddressCommand;
268
+ const se_ListAssetsCommand = async (input, context) => {
275
269
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
276
270
  const headers = {};
277
271
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/outposts/{OutpostIdentifier}/assets";
@@ -300,8 +294,8 @@ const serializeAws_restJson1ListAssetsCommand = async (input, context) => {
300
294
  body,
301
295
  });
302
296
  };
303
- exports.serializeAws_restJson1ListAssetsCommand = serializeAws_restJson1ListAssetsCommand;
304
- const serializeAws_restJson1ListCatalogItemsCommand = async (input, context) => {
297
+ exports.se_ListAssetsCommand = se_ListAssetsCommand;
298
+ const se_ListCatalogItemsCommand = async (input, context) => {
305
299
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
306
300
  const headers = {};
307
301
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/catalog/items";
@@ -333,8 +327,8 @@ const serializeAws_restJson1ListCatalogItemsCommand = async (input, context) =>
333
327
  body,
334
328
  });
335
329
  };
336
- exports.serializeAws_restJson1ListCatalogItemsCommand = serializeAws_restJson1ListCatalogItemsCommand;
337
- const serializeAws_restJson1ListOrdersCommand = async (input, context) => {
330
+ exports.se_ListCatalogItemsCommand = se_ListCatalogItemsCommand;
331
+ const se_ListOrdersCommand = async (input, context) => {
338
332
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
339
333
  const headers = {};
340
334
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-orders";
@@ -355,8 +349,8 @@ const serializeAws_restJson1ListOrdersCommand = async (input, context) => {
355
349
  body,
356
350
  });
357
351
  };
358
- exports.serializeAws_restJson1ListOrdersCommand = serializeAws_restJson1ListOrdersCommand;
359
- const serializeAws_restJson1ListOutpostsCommand = async (input, context) => {
352
+ exports.se_ListOrdersCommand = se_ListOrdersCommand;
353
+ const se_ListOutpostsCommand = async (input, context) => {
360
354
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
361
355
  const headers = {};
362
356
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/outposts";
@@ -388,8 +382,8 @@ const serializeAws_restJson1ListOutpostsCommand = async (input, context) => {
388
382
  body,
389
383
  });
390
384
  };
391
- exports.serializeAws_restJson1ListOutpostsCommand = serializeAws_restJson1ListOutpostsCommand;
392
- const serializeAws_restJson1ListSitesCommand = async (input, context) => {
385
+ exports.se_ListOutpostsCommand = se_ListOutpostsCommand;
386
+ const se_ListSitesCommand = async (input, context) => {
393
387
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
394
388
  const headers = {};
395
389
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/sites";
@@ -421,8 +415,8 @@ const serializeAws_restJson1ListSitesCommand = async (input, context) => {
421
415
  body,
422
416
  });
423
417
  };
424
- exports.serializeAws_restJson1ListSitesCommand = serializeAws_restJson1ListSitesCommand;
425
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
418
+ exports.se_ListSitesCommand = se_ListSitesCommand;
419
+ const se_ListTagsForResourceCommand = async (input, context) => {
426
420
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
427
421
  const headers = {};
428
422
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -438,8 +432,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
438
432
  body,
439
433
  });
440
434
  };
441
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
442
- const serializeAws_restJson1StartConnectionCommand = async (input, context) => {
435
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
436
+ const se_StartConnectionCommand = async (input, context) => {
443
437
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
444
438
  const headers = {
445
439
  "content-type": "application/json",
@@ -464,8 +458,8 @@ const serializeAws_restJson1StartConnectionCommand = async (input, context) => {
464
458
  body,
465
459
  });
466
460
  };
467
- exports.serializeAws_restJson1StartConnectionCommand = serializeAws_restJson1StartConnectionCommand;
468
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
461
+ exports.se_StartConnectionCommand = se_StartConnectionCommand;
462
+ const se_TagResourceCommand = async (input, context) => {
469
463
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
470
464
  const headers = {
471
465
  "content-type": "application/json",
@@ -474,7 +468,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
474
468
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
475
469
  let body;
476
470
  body = JSON.stringify({
477
- ...(input.Tags != null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
471
+ ...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
478
472
  });
479
473
  return new protocol_http_1.HttpRequest({
480
474
  protocol,
@@ -486,8 +480,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
486
480
  body,
487
481
  });
488
482
  };
489
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
490
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
483
+ exports.se_TagResourceCommand = se_TagResourceCommand;
484
+ const se_UntagResourceCommand = async (input, context) => {
491
485
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
492
486
  const headers = {};
493
487
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -510,8 +504,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
510
504
  body,
511
505
  });
512
506
  };
513
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
514
- const serializeAws_restJson1UpdateOutpostCommand = async (input, context) => {
507
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
508
+ const se_UpdateOutpostCommand = async (input, context) => {
515
509
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
516
510
  const headers = {
517
511
  "content-type": "application/json",
@@ -534,8 +528,8 @@ const serializeAws_restJson1UpdateOutpostCommand = async (input, context) => {
534
528
  body,
535
529
  });
536
530
  };
537
- exports.serializeAws_restJson1UpdateOutpostCommand = serializeAws_restJson1UpdateOutpostCommand;
538
- const serializeAws_restJson1UpdateSiteCommand = async (input, context) => {
531
+ exports.se_UpdateOutpostCommand = se_UpdateOutpostCommand;
532
+ const se_UpdateSiteCommand = async (input, context) => {
539
533
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
540
534
  const headers = {
541
535
  "content-type": "application/json",
@@ -558,8 +552,8 @@ const serializeAws_restJson1UpdateSiteCommand = async (input, context) => {
558
552
  body,
559
553
  });
560
554
  };
561
- exports.serializeAws_restJson1UpdateSiteCommand = serializeAws_restJson1UpdateSiteCommand;
562
- const serializeAws_restJson1UpdateSiteAddressCommand = async (input, context) => {
555
+ exports.se_UpdateSiteCommand = se_UpdateSiteCommand;
556
+ const se_UpdateSiteAddressCommand = async (input, context) => {
563
557
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
564
558
  const headers = {
565
559
  "content-type": "application/json",
@@ -568,7 +562,7 @@ const serializeAws_restJson1UpdateSiteAddressCommand = async (input, context) =>
568
562
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "SiteId", () => input.SiteId, "{SiteId}", false);
569
563
  let body;
570
564
  body = JSON.stringify({
571
- ...(input.Address != null && { Address: serializeAws_restJson1Address(input.Address, context) }),
565
+ ...(input.Address != null && { Address: se_Address(input.Address, context) }),
572
566
  ...(input.AddressType != null && { AddressType: input.AddressType }),
573
567
  });
574
568
  return new protocol_http_1.HttpRequest({
@@ -581,8 +575,8 @@ const serializeAws_restJson1UpdateSiteAddressCommand = async (input, context) =>
581
575
  body,
582
576
  });
583
577
  };
584
- exports.serializeAws_restJson1UpdateSiteAddressCommand = serializeAws_restJson1UpdateSiteAddressCommand;
585
- const serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand = async (input, context) => {
578
+ exports.se_UpdateSiteAddressCommand = se_UpdateSiteAddressCommand;
579
+ const se_UpdateSiteRackPhysicalPropertiesCommand = async (input, context) => {
586
580
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
587
581
  const headers = {
588
582
  "content-type": "application/json",
@@ -611,10 +605,10 @@ const serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand = async (inp
611
605
  body,
612
606
  });
613
607
  };
614
- exports.serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand = serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand;
615
- const deserializeAws_restJson1CancelOrderCommand = async (output, context) => {
608
+ exports.se_UpdateSiteRackPhysicalPropertiesCommand = se_UpdateSiteRackPhysicalPropertiesCommand;
609
+ const de_CancelOrderCommand = async (output, context) => {
616
610
  if (output.statusCode !== 200 && output.statusCode >= 300) {
617
- return deserializeAws_restJson1CancelOrderCommandError(output, context);
611
+ return de_CancelOrderCommandError(output, context);
618
612
  }
619
613
  const contents = map({
620
614
  $metadata: deserializeMetadata(output),
@@ -622,8 +616,8 @@ const deserializeAws_restJson1CancelOrderCommand = async (output, context) => {
622
616
  await collectBody(output.body, context);
623
617
  return contents;
624
618
  };
625
- exports.deserializeAws_restJson1CancelOrderCommand = deserializeAws_restJson1CancelOrderCommand;
626
- const deserializeAws_restJson1CancelOrderCommandError = async (output, context) => {
619
+ exports.de_CancelOrderCommand = de_CancelOrderCommand;
620
+ const de_CancelOrderCommandError = async (output, context) => {
627
621
  const parsedOutput = {
628
622
  ...output,
629
623
  body: await parseErrorBody(output.body, context),
@@ -632,19 +626,19 @@ const deserializeAws_restJson1CancelOrderCommandError = async (output, context)
632
626
  switch (errorCode) {
633
627
  case "AccessDeniedException":
634
628
  case "com.amazonaws.outposts#AccessDeniedException":
635
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
629
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
636
630
  case "ConflictException":
637
631
  case "com.amazonaws.outposts#ConflictException":
638
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
632
+ throw await de_ConflictExceptionRes(parsedOutput, context);
639
633
  case "InternalServerException":
640
634
  case "com.amazonaws.outposts#InternalServerException":
641
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
635
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
642
636
  case "NotFoundException":
643
637
  case "com.amazonaws.outposts#NotFoundException":
644
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
638
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
645
639
  case "ValidationException":
646
640
  case "com.amazonaws.outposts#ValidationException":
647
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
641
+ throw await de_ValidationExceptionRes(parsedOutput, context);
648
642
  default:
649
643
  const parsedBody = parsedOutput.body;
650
644
  (0, smithy_client_1.throwDefaultError)({
@@ -655,21 +649,21 @@ const deserializeAws_restJson1CancelOrderCommandError = async (output, context)
655
649
  });
656
650
  }
657
651
  };
658
- const deserializeAws_restJson1CreateOrderCommand = async (output, context) => {
652
+ const de_CreateOrderCommand = async (output, context) => {
659
653
  if (output.statusCode !== 200 && output.statusCode >= 300) {
660
- return deserializeAws_restJson1CreateOrderCommandError(output, context);
654
+ return de_CreateOrderCommandError(output, context);
661
655
  }
662
656
  const contents = map({
663
657
  $metadata: deserializeMetadata(output),
664
658
  });
665
659
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
666
660
  if (data.Order != null) {
667
- contents.Order = deserializeAws_restJson1Order(data.Order, context);
661
+ contents.Order = de_Order(data.Order, context);
668
662
  }
669
663
  return contents;
670
664
  };
671
- exports.deserializeAws_restJson1CreateOrderCommand = deserializeAws_restJson1CreateOrderCommand;
672
- const deserializeAws_restJson1CreateOrderCommandError = async (output, context) => {
665
+ exports.de_CreateOrderCommand = de_CreateOrderCommand;
666
+ const de_CreateOrderCommandError = async (output, context) => {
673
667
  const parsedOutput = {
674
668
  ...output,
675
669
  body: await parseErrorBody(output.body, context),
@@ -678,22 +672,22 @@ const deserializeAws_restJson1CreateOrderCommandError = async (output, context)
678
672
  switch (errorCode) {
679
673
  case "AccessDeniedException":
680
674
  case "com.amazonaws.outposts#AccessDeniedException":
681
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
675
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
682
676
  case "ConflictException":
683
677
  case "com.amazonaws.outposts#ConflictException":
684
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
678
+ throw await de_ConflictExceptionRes(parsedOutput, context);
685
679
  case "InternalServerException":
686
680
  case "com.amazonaws.outposts#InternalServerException":
687
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
681
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
688
682
  case "NotFoundException":
689
683
  case "com.amazonaws.outposts#NotFoundException":
690
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
684
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
691
685
  case "ServiceQuotaExceededException":
692
686
  case "com.amazonaws.outposts#ServiceQuotaExceededException":
693
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
687
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
694
688
  case "ValidationException":
695
689
  case "com.amazonaws.outposts#ValidationException":
696
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
690
+ throw await de_ValidationExceptionRes(parsedOutput, context);
697
691
  default:
698
692
  const parsedBody = parsedOutput.body;
699
693
  (0, smithy_client_1.throwDefaultError)({
@@ -704,21 +698,21 @@ const deserializeAws_restJson1CreateOrderCommandError = async (output, context)
704
698
  });
705
699
  }
706
700
  };
707
- const deserializeAws_restJson1CreateOutpostCommand = async (output, context) => {
701
+ const de_CreateOutpostCommand = async (output, context) => {
708
702
  if (output.statusCode !== 200 && output.statusCode >= 300) {
709
- return deserializeAws_restJson1CreateOutpostCommandError(output, context);
703
+ return de_CreateOutpostCommandError(output, context);
710
704
  }
711
705
  const contents = map({
712
706
  $metadata: deserializeMetadata(output),
713
707
  });
714
708
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
715
709
  if (data.Outpost != null) {
716
- contents.Outpost = deserializeAws_restJson1Outpost(data.Outpost, context);
710
+ contents.Outpost = de_Outpost(data.Outpost, context);
717
711
  }
718
712
  return contents;
719
713
  };
720
- exports.deserializeAws_restJson1CreateOutpostCommand = deserializeAws_restJson1CreateOutpostCommand;
721
- const deserializeAws_restJson1CreateOutpostCommandError = async (output, context) => {
714
+ exports.de_CreateOutpostCommand = de_CreateOutpostCommand;
715
+ const de_CreateOutpostCommandError = async (output, context) => {
722
716
  const parsedOutput = {
723
717
  ...output,
724
718
  body: await parseErrorBody(output.body, context),
@@ -727,22 +721,22 @@ const deserializeAws_restJson1CreateOutpostCommandError = async (output, context
727
721
  switch (errorCode) {
728
722
  case "AccessDeniedException":
729
723
  case "com.amazonaws.outposts#AccessDeniedException":
730
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
724
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
731
725
  case "ConflictException":
732
726
  case "com.amazonaws.outposts#ConflictException":
733
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
727
+ throw await de_ConflictExceptionRes(parsedOutput, context);
734
728
  case "InternalServerException":
735
729
  case "com.amazonaws.outposts#InternalServerException":
736
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
730
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
737
731
  case "NotFoundException":
738
732
  case "com.amazonaws.outposts#NotFoundException":
739
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
733
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
740
734
  case "ServiceQuotaExceededException":
741
735
  case "com.amazonaws.outposts#ServiceQuotaExceededException":
742
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
736
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
743
737
  case "ValidationException":
744
738
  case "com.amazonaws.outposts#ValidationException":
745
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
739
+ throw await de_ValidationExceptionRes(parsedOutput, context);
746
740
  default:
747
741
  const parsedBody = parsedOutput.body;
748
742
  (0, smithy_client_1.throwDefaultError)({
@@ -753,21 +747,21 @@ const deserializeAws_restJson1CreateOutpostCommandError = async (output, context
753
747
  });
754
748
  }
755
749
  };
756
- const deserializeAws_restJson1CreateSiteCommand = async (output, context) => {
750
+ const de_CreateSiteCommand = async (output, context) => {
757
751
  if (output.statusCode !== 200 && output.statusCode >= 300) {
758
- return deserializeAws_restJson1CreateSiteCommandError(output, context);
752
+ return de_CreateSiteCommandError(output, context);
759
753
  }
760
754
  const contents = map({
761
755
  $metadata: deserializeMetadata(output),
762
756
  });
763
757
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
764
758
  if (data.Site != null) {
765
- contents.Site = deserializeAws_restJson1Site(data.Site, context);
759
+ contents.Site = de_Site(data.Site, context);
766
760
  }
767
761
  return contents;
768
762
  };
769
- exports.deserializeAws_restJson1CreateSiteCommand = deserializeAws_restJson1CreateSiteCommand;
770
- const deserializeAws_restJson1CreateSiteCommandError = async (output, context) => {
763
+ exports.de_CreateSiteCommand = de_CreateSiteCommand;
764
+ const de_CreateSiteCommandError = async (output, context) => {
771
765
  const parsedOutput = {
772
766
  ...output,
773
767
  body: await parseErrorBody(output.body, context),
@@ -776,19 +770,19 @@ const deserializeAws_restJson1CreateSiteCommandError = async (output, context) =
776
770
  switch (errorCode) {
777
771
  case "AccessDeniedException":
778
772
  case "com.amazonaws.outposts#AccessDeniedException":
779
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
773
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
780
774
  case "ConflictException":
781
775
  case "com.amazonaws.outposts#ConflictException":
782
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
776
+ throw await de_ConflictExceptionRes(parsedOutput, context);
783
777
  case "InternalServerException":
784
778
  case "com.amazonaws.outposts#InternalServerException":
785
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
779
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
786
780
  case "ServiceQuotaExceededException":
787
781
  case "com.amazonaws.outposts#ServiceQuotaExceededException":
788
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
782
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
789
783
  case "ValidationException":
790
784
  case "com.amazonaws.outposts#ValidationException":
791
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
785
+ throw await de_ValidationExceptionRes(parsedOutput, context);
792
786
  default:
793
787
  const parsedBody = parsedOutput.body;
794
788
  (0, smithy_client_1.throwDefaultError)({
@@ -799,9 +793,9 @@ const deserializeAws_restJson1CreateSiteCommandError = async (output, context) =
799
793
  });
800
794
  }
801
795
  };
802
- const deserializeAws_restJson1DeleteOutpostCommand = async (output, context) => {
796
+ const de_DeleteOutpostCommand = async (output, context) => {
803
797
  if (output.statusCode !== 200 && output.statusCode >= 300) {
804
- return deserializeAws_restJson1DeleteOutpostCommandError(output, context);
798
+ return de_DeleteOutpostCommandError(output, context);
805
799
  }
806
800
  const contents = map({
807
801
  $metadata: deserializeMetadata(output),
@@ -809,8 +803,8 @@ const deserializeAws_restJson1DeleteOutpostCommand = async (output, context) =>
809
803
  await collectBody(output.body, context);
810
804
  return contents;
811
805
  };
812
- exports.deserializeAws_restJson1DeleteOutpostCommand = deserializeAws_restJson1DeleteOutpostCommand;
813
- const deserializeAws_restJson1DeleteOutpostCommandError = async (output, context) => {
806
+ exports.de_DeleteOutpostCommand = de_DeleteOutpostCommand;
807
+ const de_DeleteOutpostCommandError = async (output, context) => {
814
808
  const parsedOutput = {
815
809
  ...output,
816
810
  body: await parseErrorBody(output.body, context),
@@ -819,19 +813,19 @@ const deserializeAws_restJson1DeleteOutpostCommandError = async (output, context
819
813
  switch (errorCode) {
820
814
  case "AccessDeniedException":
821
815
  case "com.amazonaws.outposts#AccessDeniedException":
822
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
816
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
823
817
  case "ConflictException":
824
818
  case "com.amazonaws.outposts#ConflictException":
825
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
819
+ throw await de_ConflictExceptionRes(parsedOutput, context);
826
820
  case "InternalServerException":
827
821
  case "com.amazonaws.outposts#InternalServerException":
828
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
822
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
829
823
  case "NotFoundException":
830
824
  case "com.amazonaws.outposts#NotFoundException":
831
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
825
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
832
826
  case "ValidationException":
833
827
  case "com.amazonaws.outposts#ValidationException":
834
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
828
+ throw await de_ValidationExceptionRes(parsedOutput, context);
835
829
  default:
836
830
  const parsedBody = parsedOutput.body;
837
831
  (0, smithy_client_1.throwDefaultError)({
@@ -842,9 +836,9 @@ const deserializeAws_restJson1DeleteOutpostCommandError = async (output, context
842
836
  });
843
837
  }
844
838
  };
845
- const deserializeAws_restJson1DeleteSiteCommand = async (output, context) => {
839
+ const de_DeleteSiteCommand = async (output, context) => {
846
840
  if (output.statusCode !== 200 && output.statusCode >= 300) {
847
- return deserializeAws_restJson1DeleteSiteCommandError(output, context);
841
+ return de_DeleteSiteCommandError(output, context);
848
842
  }
849
843
  const contents = map({
850
844
  $metadata: deserializeMetadata(output),
@@ -852,8 +846,8 @@ const deserializeAws_restJson1DeleteSiteCommand = async (output, context) => {
852
846
  await collectBody(output.body, context);
853
847
  return contents;
854
848
  };
855
- exports.deserializeAws_restJson1DeleteSiteCommand = deserializeAws_restJson1DeleteSiteCommand;
856
- const deserializeAws_restJson1DeleteSiteCommandError = async (output, context) => {
849
+ exports.de_DeleteSiteCommand = de_DeleteSiteCommand;
850
+ const de_DeleteSiteCommandError = async (output, context) => {
857
851
  const parsedOutput = {
858
852
  ...output,
859
853
  body: await parseErrorBody(output.body, context),
@@ -862,19 +856,19 @@ const deserializeAws_restJson1DeleteSiteCommandError = async (output, context) =
862
856
  switch (errorCode) {
863
857
  case "AccessDeniedException":
864
858
  case "com.amazonaws.outposts#AccessDeniedException":
865
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
859
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
866
860
  case "ConflictException":
867
861
  case "com.amazonaws.outposts#ConflictException":
868
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
862
+ throw await de_ConflictExceptionRes(parsedOutput, context);
869
863
  case "InternalServerException":
870
864
  case "com.amazonaws.outposts#InternalServerException":
871
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
865
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
872
866
  case "NotFoundException":
873
867
  case "com.amazonaws.outposts#NotFoundException":
874
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
868
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
875
869
  case "ValidationException":
876
870
  case "com.amazonaws.outposts#ValidationException":
877
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
871
+ throw await de_ValidationExceptionRes(parsedOutput, context);
878
872
  default:
879
873
  const parsedBody = parsedOutput.body;
880
874
  (0, smithy_client_1.throwDefaultError)({
@@ -885,21 +879,21 @@ const deserializeAws_restJson1DeleteSiteCommandError = async (output, context) =
885
879
  });
886
880
  }
887
881
  };
888
- const deserializeAws_restJson1GetCatalogItemCommand = async (output, context) => {
882
+ const de_GetCatalogItemCommand = async (output, context) => {
889
883
  if (output.statusCode !== 200 && output.statusCode >= 300) {
890
- return deserializeAws_restJson1GetCatalogItemCommandError(output, context);
884
+ return de_GetCatalogItemCommandError(output, context);
891
885
  }
892
886
  const contents = map({
893
887
  $metadata: deserializeMetadata(output),
894
888
  });
895
889
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
896
890
  if (data.CatalogItem != null) {
897
- contents.CatalogItem = deserializeAws_restJson1CatalogItem(data.CatalogItem, context);
891
+ contents.CatalogItem = de_CatalogItem(data.CatalogItem, context);
898
892
  }
899
893
  return contents;
900
894
  };
901
- exports.deserializeAws_restJson1GetCatalogItemCommand = deserializeAws_restJson1GetCatalogItemCommand;
902
- const deserializeAws_restJson1GetCatalogItemCommandError = async (output, context) => {
895
+ exports.de_GetCatalogItemCommand = de_GetCatalogItemCommand;
896
+ const de_GetCatalogItemCommandError = async (output, context) => {
903
897
  const parsedOutput = {
904
898
  ...output,
905
899
  body: await parseErrorBody(output.body, context),
@@ -908,13 +902,13 @@ const deserializeAws_restJson1GetCatalogItemCommandError = async (output, contex
908
902
  switch (errorCode) {
909
903
  case "InternalServerException":
910
904
  case "com.amazonaws.outposts#InternalServerException":
911
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
905
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
912
906
  case "NotFoundException":
913
907
  case "com.amazonaws.outposts#NotFoundException":
914
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
908
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
915
909
  case "ValidationException":
916
910
  case "com.amazonaws.outposts#ValidationException":
917
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
911
+ throw await de_ValidationExceptionRes(parsedOutput, context);
918
912
  default:
919
913
  const parsedBody = parsedOutput.body;
920
914
  (0, smithy_client_1.throwDefaultError)({
@@ -925,24 +919,24 @@ const deserializeAws_restJson1GetCatalogItemCommandError = async (output, contex
925
919
  });
926
920
  }
927
921
  };
928
- const deserializeAws_restJson1GetConnectionCommand = async (output, context) => {
922
+ const de_GetConnectionCommand = async (output, context) => {
929
923
  if (output.statusCode !== 200 && output.statusCode >= 300) {
930
- return deserializeAws_restJson1GetConnectionCommandError(output, context);
924
+ return de_GetConnectionCommandError(output, context);
931
925
  }
932
926
  const contents = map({
933
927
  $metadata: deserializeMetadata(output),
934
928
  });
935
929
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
936
930
  if (data.ConnectionDetails != null) {
937
- contents.ConnectionDetails = deserializeAws_restJson1ConnectionDetails(data.ConnectionDetails, context);
931
+ contents.ConnectionDetails = de_ConnectionDetails(data.ConnectionDetails, context);
938
932
  }
939
933
  if (data.ConnectionId != null) {
940
934
  contents.ConnectionId = (0, smithy_client_1.expectString)(data.ConnectionId);
941
935
  }
942
936
  return contents;
943
937
  };
944
- exports.deserializeAws_restJson1GetConnectionCommand = deserializeAws_restJson1GetConnectionCommand;
945
- const deserializeAws_restJson1GetConnectionCommandError = async (output, context) => {
938
+ exports.de_GetConnectionCommand = de_GetConnectionCommand;
939
+ const de_GetConnectionCommandError = async (output, context) => {
946
940
  const parsedOutput = {
947
941
  ...output,
948
942
  body: await parseErrorBody(output.body, context),
@@ -951,16 +945,16 @@ const deserializeAws_restJson1GetConnectionCommandError = async (output, context
951
945
  switch (errorCode) {
952
946
  case "AccessDeniedException":
953
947
  case "com.amazonaws.outposts#AccessDeniedException":
954
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
948
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
955
949
  case "InternalServerException":
956
950
  case "com.amazonaws.outposts#InternalServerException":
957
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
951
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
958
952
  case "NotFoundException":
959
953
  case "com.amazonaws.outposts#NotFoundException":
960
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
954
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
961
955
  case "ValidationException":
962
956
  case "com.amazonaws.outposts#ValidationException":
963
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
957
+ throw await de_ValidationExceptionRes(parsedOutput, context);
964
958
  default:
965
959
  const parsedBody = parsedOutput.body;
966
960
  (0, smithy_client_1.throwDefaultError)({
@@ -971,21 +965,21 @@ const deserializeAws_restJson1GetConnectionCommandError = async (output, context
971
965
  });
972
966
  }
973
967
  };
974
- const deserializeAws_restJson1GetOrderCommand = async (output, context) => {
968
+ const de_GetOrderCommand = async (output, context) => {
975
969
  if (output.statusCode !== 200 && output.statusCode >= 300) {
976
- return deserializeAws_restJson1GetOrderCommandError(output, context);
970
+ return de_GetOrderCommandError(output, context);
977
971
  }
978
972
  const contents = map({
979
973
  $metadata: deserializeMetadata(output),
980
974
  });
981
975
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
982
976
  if (data.Order != null) {
983
- contents.Order = deserializeAws_restJson1Order(data.Order, context);
977
+ contents.Order = de_Order(data.Order, context);
984
978
  }
985
979
  return contents;
986
980
  };
987
- exports.deserializeAws_restJson1GetOrderCommand = deserializeAws_restJson1GetOrderCommand;
988
- const deserializeAws_restJson1GetOrderCommandError = async (output, context) => {
981
+ exports.de_GetOrderCommand = de_GetOrderCommand;
982
+ const de_GetOrderCommandError = async (output, context) => {
989
983
  const parsedOutput = {
990
984
  ...output,
991
985
  body: await parseErrorBody(output.body, context),
@@ -994,13 +988,13 @@ const deserializeAws_restJson1GetOrderCommandError = async (output, context) =>
994
988
  switch (errorCode) {
995
989
  case "InternalServerException":
996
990
  case "com.amazonaws.outposts#InternalServerException":
997
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
991
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
998
992
  case "NotFoundException":
999
993
  case "com.amazonaws.outposts#NotFoundException":
1000
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
994
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1001
995
  case "ValidationException":
1002
996
  case "com.amazonaws.outposts#ValidationException":
1003
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
997
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1004
998
  default:
1005
999
  const parsedBody = parsedOutput.body;
1006
1000
  (0, smithy_client_1.throwDefaultError)({
@@ -1011,21 +1005,21 @@ const deserializeAws_restJson1GetOrderCommandError = async (output, context) =>
1011
1005
  });
1012
1006
  }
1013
1007
  };
1014
- const deserializeAws_restJson1GetOutpostCommand = async (output, context) => {
1008
+ const de_GetOutpostCommand = async (output, context) => {
1015
1009
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1016
- return deserializeAws_restJson1GetOutpostCommandError(output, context);
1010
+ return de_GetOutpostCommandError(output, context);
1017
1011
  }
1018
1012
  const contents = map({
1019
1013
  $metadata: deserializeMetadata(output),
1020
1014
  });
1021
1015
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1022
1016
  if (data.Outpost != null) {
1023
- contents.Outpost = deserializeAws_restJson1Outpost(data.Outpost, context);
1017
+ contents.Outpost = de_Outpost(data.Outpost, context);
1024
1018
  }
1025
1019
  return contents;
1026
1020
  };
1027
- exports.deserializeAws_restJson1GetOutpostCommand = deserializeAws_restJson1GetOutpostCommand;
1028
- const deserializeAws_restJson1GetOutpostCommandError = async (output, context) => {
1021
+ exports.de_GetOutpostCommand = de_GetOutpostCommand;
1022
+ const de_GetOutpostCommandError = async (output, context) => {
1029
1023
  const parsedOutput = {
1030
1024
  ...output,
1031
1025
  body: await parseErrorBody(output.body, context),
@@ -1034,16 +1028,16 @@ const deserializeAws_restJson1GetOutpostCommandError = async (output, context) =
1034
1028
  switch (errorCode) {
1035
1029
  case "AccessDeniedException":
1036
1030
  case "com.amazonaws.outposts#AccessDeniedException":
1037
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1031
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1038
1032
  case "InternalServerException":
1039
1033
  case "com.amazonaws.outposts#InternalServerException":
1040
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1034
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1041
1035
  case "NotFoundException":
1042
1036
  case "com.amazonaws.outposts#NotFoundException":
1043
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1037
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1044
1038
  case "ValidationException":
1045
1039
  case "com.amazonaws.outposts#ValidationException":
1046
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1040
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1047
1041
  default:
1048
1042
  const parsedBody = parsedOutput.body;
1049
1043
  (0, smithy_client_1.throwDefaultError)({
@@ -1054,16 +1048,16 @@ const deserializeAws_restJson1GetOutpostCommandError = async (output, context) =
1054
1048
  });
1055
1049
  }
1056
1050
  };
1057
- const deserializeAws_restJson1GetOutpostInstanceTypesCommand = async (output, context) => {
1051
+ const de_GetOutpostInstanceTypesCommand = async (output, context) => {
1058
1052
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1059
- return deserializeAws_restJson1GetOutpostInstanceTypesCommandError(output, context);
1053
+ return de_GetOutpostInstanceTypesCommandError(output, context);
1060
1054
  }
1061
1055
  const contents = map({
1062
1056
  $metadata: deserializeMetadata(output),
1063
1057
  });
1064
1058
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1065
1059
  if (data.InstanceTypes != null) {
1066
- contents.InstanceTypes = deserializeAws_restJson1InstanceTypeListDefinition(data.InstanceTypes, context);
1060
+ contents.InstanceTypes = de_InstanceTypeListDefinition(data.InstanceTypes, context);
1067
1061
  }
1068
1062
  if (data.NextToken != null) {
1069
1063
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
@@ -1076,8 +1070,8 @@ const deserializeAws_restJson1GetOutpostInstanceTypesCommand = async (output, co
1076
1070
  }
1077
1071
  return contents;
1078
1072
  };
1079
- exports.deserializeAws_restJson1GetOutpostInstanceTypesCommand = deserializeAws_restJson1GetOutpostInstanceTypesCommand;
1080
- const deserializeAws_restJson1GetOutpostInstanceTypesCommandError = async (output, context) => {
1073
+ exports.de_GetOutpostInstanceTypesCommand = de_GetOutpostInstanceTypesCommand;
1074
+ const de_GetOutpostInstanceTypesCommandError = async (output, context) => {
1081
1075
  const parsedOutput = {
1082
1076
  ...output,
1083
1077
  body: await parseErrorBody(output.body, context),
@@ -1086,16 +1080,16 @@ const deserializeAws_restJson1GetOutpostInstanceTypesCommandError = async (outpu
1086
1080
  switch (errorCode) {
1087
1081
  case "AccessDeniedException":
1088
1082
  case "com.amazonaws.outposts#AccessDeniedException":
1089
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1083
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1090
1084
  case "InternalServerException":
1091
1085
  case "com.amazonaws.outposts#InternalServerException":
1092
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1086
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1093
1087
  case "NotFoundException":
1094
1088
  case "com.amazonaws.outposts#NotFoundException":
1095
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1089
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1096
1090
  case "ValidationException":
1097
1091
  case "com.amazonaws.outposts#ValidationException":
1098
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1092
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1099
1093
  default:
1100
1094
  const parsedBody = parsedOutput.body;
1101
1095
  (0, smithy_client_1.throwDefaultError)({
@@ -1106,21 +1100,21 @@ const deserializeAws_restJson1GetOutpostInstanceTypesCommandError = async (outpu
1106
1100
  });
1107
1101
  }
1108
1102
  };
1109
- const deserializeAws_restJson1GetSiteCommand = async (output, context) => {
1103
+ const de_GetSiteCommand = async (output, context) => {
1110
1104
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1111
- return deserializeAws_restJson1GetSiteCommandError(output, context);
1105
+ return de_GetSiteCommandError(output, context);
1112
1106
  }
1113
1107
  const contents = map({
1114
1108
  $metadata: deserializeMetadata(output),
1115
1109
  });
1116
1110
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1117
1111
  if (data.Site != null) {
1118
- contents.Site = deserializeAws_restJson1Site(data.Site, context);
1112
+ contents.Site = de_Site(data.Site, context);
1119
1113
  }
1120
1114
  return contents;
1121
1115
  };
1122
- exports.deserializeAws_restJson1GetSiteCommand = deserializeAws_restJson1GetSiteCommand;
1123
- const deserializeAws_restJson1GetSiteCommandError = async (output, context) => {
1116
+ exports.de_GetSiteCommand = de_GetSiteCommand;
1117
+ const de_GetSiteCommandError = async (output, context) => {
1124
1118
  const parsedOutput = {
1125
1119
  ...output,
1126
1120
  body: await parseErrorBody(output.body, context),
@@ -1129,16 +1123,16 @@ const deserializeAws_restJson1GetSiteCommandError = async (output, context) => {
1129
1123
  switch (errorCode) {
1130
1124
  case "AccessDeniedException":
1131
1125
  case "com.amazonaws.outposts#AccessDeniedException":
1132
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1126
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1133
1127
  case "InternalServerException":
1134
1128
  case "com.amazonaws.outposts#InternalServerException":
1135
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1129
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1136
1130
  case "NotFoundException":
1137
1131
  case "com.amazonaws.outposts#NotFoundException":
1138
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1132
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1139
1133
  case "ValidationException":
1140
1134
  case "com.amazonaws.outposts#ValidationException":
1141
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1135
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1142
1136
  default:
1143
1137
  const parsedBody = parsedOutput.body;
1144
1138
  (0, smithy_client_1.throwDefaultError)({
@@ -1149,16 +1143,16 @@ const deserializeAws_restJson1GetSiteCommandError = async (output, context) => {
1149
1143
  });
1150
1144
  }
1151
1145
  };
1152
- const deserializeAws_restJson1GetSiteAddressCommand = async (output, context) => {
1146
+ const de_GetSiteAddressCommand = async (output, context) => {
1153
1147
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1154
- return deserializeAws_restJson1GetSiteAddressCommandError(output, context);
1148
+ return de_GetSiteAddressCommandError(output, context);
1155
1149
  }
1156
1150
  const contents = map({
1157
1151
  $metadata: deserializeMetadata(output),
1158
1152
  });
1159
1153
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1160
1154
  if (data.Address != null) {
1161
- contents.Address = deserializeAws_restJson1Address(data.Address, context);
1155
+ contents.Address = de_Address(data.Address, context);
1162
1156
  }
1163
1157
  if (data.AddressType != null) {
1164
1158
  contents.AddressType = (0, smithy_client_1.expectString)(data.AddressType);
@@ -1168,8 +1162,8 @@ const deserializeAws_restJson1GetSiteAddressCommand = async (output, context) =>
1168
1162
  }
1169
1163
  return contents;
1170
1164
  };
1171
- exports.deserializeAws_restJson1GetSiteAddressCommand = deserializeAws_restJson1GetSiteAddressCommand;
1172
- const deserializeAws_restJson1GetSiteAddressCommandError = async (output, context) => {
1165
+ exports.de_GetSiteAddressCommand = de_GetSiteAddressCommand;
1166
+ const de_GetSiteAddressCommandError = async (output, context) => {
1173
1167
  const parsedOutput = {
1174
1168
  ...output,
1175
1169
  body: await parseErrorBody(output.body, context),
@@ -1178,16 +1172,16 @@ const deserializeAws_restJson1GetSiteAddressCommandError = async (output, contex
1178
1172
  switch (errorCode) {
1179
1173
  case "AccessDeniedException":
1180
1174
  case "com.amazonaws.outposts#AccessDeniedException":
1181
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1175
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1182
1176
  case "InternalServerException":
1183
1177
  case "com.amazonaws.outposts#InternalServerException":
1184
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1178
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1185
1179
  case "NotFoundException":
1186
1180
  case "com.amazonaws.outposts#NotFoundException":
1187
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1181
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1188
1182
  case "ValidationException":
1189
1183
  case "com.amazonaws.outposts#ValidationException":
1190
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1184
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1191
1185
  default:
1192
1186
  const parsedBody = parsedOutput.body;
1193
1187
  (0, smithy_client_1.throwDefaultError)({
@@ -1198,24 +1192,24 @@ const deserializeAws_restJson1GetSiteAddressCommandError = async (output, contex
1198
1192
  });
1199
1193
  }
1200
1194
  };
1201
- const deserializeAws_restJson1ListAssetsCommand = async (output, context) => {
1195
+ const de_ListAssetsCommand = async (output, context) => {
1202
1196
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1203
- return deserializeAws_restJson1ListAssetsCommandError(output, context);
1197
+ return de_ListAssetsCommandError(output, context);
1204
1198
  }
1205
1199
  const contents = map({
1206
1200
  $metadata: deserializeMetadata(output),
1207
1201
  });
1208
1202
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1209
1203
  if (data.Assets != null) {
1210
- contents.Assets = deserializeAws_restJson1AssetListDefinition(data.Assets, context);
1204
+ contents.Assets = de_AssetListDefinition(data.Assets, context);
1211
1205
  }
1212
1206
  if (data.NextToken != null) {
1213
1207
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1214
1208
  }
1215
1209
  return contents;
1216
1210
  };
1217
- exports.deserializeAws_restJson1ListAssetsCommand = deserializeAws_restJson1ListAssetsCommand;
1218
- const deserializeAws_restJson1ListAssetsCommandError = async (output, context) => {
1211
+ exports.de_ListAssetsCommand = de_ListAssetsCommand;
1212
+ const de_ListAssetsCommandError = async (output, context) => {
1219
1213
  const parsedOutput = {
1220
1214
  ...output,
1221
1215
  body: await parseErrorBody(output.body, context),
@@ -1224,16 +1218,16 @@ const deserializeAws_restJson1ListAssetsCommandError = async (output, context) =
1224
1218
  switch (errorCode) {
1225
1219
  case "AccessDeniedException":
1226
1220
  case "com.amazonaws.outposts#AccessDeniedException":
1227
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1221
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1228
1222
  case "InternalServerException":
1229
1223
  case "com.amazonaws.outposts#InternalServerException":
1230
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1224
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1231
1225
  case "NotFoundException":
1232
1226
  case "com.amazonaws.outposts#NotFoundException":
1233
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1227
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1234
1228
  case "ValidationException":
1235
1229
  case "com.amazonaws.outposts#ValidationException":
1236
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1230
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1237
1231
  default:
1238
1232
  const parsedBody = parsedOutput.body;
1239
1233
  (0, smithy_client_1.throwDefaultError)({
@@ -1244,24 +1238,24 @@ const deserializeAws_restJson1ListAssetsCommandError = async (output, context) =
1244
1238
  });
1245
1239
  }
1246
1240
  };
1247
- const deserializeAws_restJson1ListCatalogItemsCommand = async (output, context) => {
1241
+ const de_ListCatalogItemsCommand = async (output, context) => {
1248
1242
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1249
- return deserializeAws_restJson1ListCatalogItemsCommandError(output, context);
1243
+ return de_ListCatalogItemsCommandError(output, context);
1250
1244
  }
1251
1245
  const contents = map({
1252
1246
  $metadata: deserializeMetadata(output),
1253
1247
  });
1254
1248
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1255
1249
  if (data.CatalogItems != null) {
1256
- contents.CatalogItems = deserializeAws_restJson1CatalogItemListDefinition(data.CatalogItems, context);
1250
+ contents.CatalogItems = de_CatalogItemListDefinition(data.CatalogItems, context);
1257
1251
  }
1258
1252
  if (data.NextToken != null) {
1259
1253
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1260
1254
  }
1261
1255
  return contents;
1262
1256
  };
1263
- exports.deserializeAws_restJson1ListCatalogItemsCommand = deserializeAws_restJson1ListCatalogItemsCommand;
1264
- const deserializeAws_restJson1ListCatalogItemsCommandError = async (output, context) => {
1257
+ exports.de_ListCatalogItemsCommand = de_ListCatalogItemsCommand;
1258
+ const de_ListCatalogItemsCommandError = async (output, context) => {
1265
1259
  const parsedOutput = {
1266
1260
  ...output,
1267
1261
  body: await parseErrorBody(output.body, context),
@@ -1270,13 +1264,13 @@ const deserializeAws_restJson1ListCatalogItemsCommandError = async (output, cont
1270
1264
  switch (errorCode) {
1271
1265
  case "InternalServerException":
1272
1266
  case "com.amazonaws.outposts#InternalServerException":
1273
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1267
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1274
1268
  case "NotFoundException":
1275
1269
  case "com.amazonaws.outposts#NotFoundException":
1276
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1270
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1277
1271
  case "ValidationException":
1278
1272
  case "com.amazonaws.outposts#ValidationException":
1279
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1273
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1280
1274
  default:
1281
1275
  const parsedBody = parsedOutput.body;
1282
1276
  (0, smithy_client_1.throwDefaultError)({
@@ -1287,9 +1281,9 @@ const deserializeAws_restJson1ListCatalogItemsCommandError = async (output, cont
1287
1281
  });
1288
1282
  }
1289
1283
  };
1290
- const deserializeAws_restJson1ListOrdersCommand = async (output, context) => {
1284
+ const de_ListOrdersCommand = async (output, context) => {
1291
1285
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1292
- return deserializeAws_restJson1ListOrdersCommandError(output, context);
1286
+ return de_ListOrdersCommandError(output, context);
1293
1287
  }
1294
1288
  const contents = map({
1295
1289
  $metadata: deserializeMetadata(output),
@@ -1299,12 +1293,12 @@ const deserializeAws_restJson1ListOrdersCommand = async (output, context) => {
1299
1293
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1300
1294
  }
1301
1295
  if (data.Orders != null) {
1302
- contents.Orders = deserializeAws_restJson1OrderSummaryListDefinition(data.Orders, context);
1296
+ contents.Orders = de_OrderSummaryListDefinition(data.Orders, context);
1303
1297
  }
1304
1298
  return contents;
1305
1299
  };
1306
- exports.deserializeAws_restJson1ListOrdersCommand = deserializeAws_restJson1ListOrdersCommand;
1307
- const deserializeAws_restJson1ListOrdersCommandError = async (output, context) => {
1300
+ exports.de_ListOrdersCommand = de_ListOrdersCommand;
1301
+ const de_ListOrdersCommandError = async (output, context) => {
1308
1302
  const parsedOutput = {
1309
1303
  ...output,
1310
1304
  body: await parseErrorBody(output.body, context),
@@ -1313,16 +1307,16 @@ const deserializeAws_restJson1ListOrdersCommandError = async (output, context) =
1313
1307
  switch (errorCode) {
1314
1308
  case "AccessDeniedException":
1315
1309
  case "com.amazonaws.outposts#AccessDeniedException":
1316
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1310
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1317
1311
  case "InternalServerException":
1318
1312
  case "com.amazonaws.outposts#InternalServerException":
1319
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1313
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1320
1314
  case "NotFoundException":
1321
1315
  case "com.amazonaws.outposts#NotFoundException":
1322
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1316
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1323
1317
  case "ValidationException":
1324
1318
  case "com.amazonaws.outposts#ValidationException":
1325
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1319
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1326
1320
  default:
1327
1321
  const parsedBody = parsedOutput.body;
1328
1322
  (0, smithy_client_1.throwDefaultError)({
@@ -1333,9 +1327,9 @@ const deserializeAws_restJson1ListOrdersCommandError = async (output, context) =
1333
1327
  });
1334
1328
  }
1335
1329
  };
1336
- const deserializeAws_restJson1ListOutpostsCommand = async (output, context) => {
1330
+ const de_ListOutpostsCommand = async (output, context) => {
1337
1331
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1338
- return deserializeAws_restJson1ListOutpostsCommandError(output, context);
1332
+ return de_ListOutpostsCommandError(output, context);
1339
1333
  }
1340
1334
  const contents = map({
1341
1335
  $metadata: deserializeMetadata(output),
@@ -1345,12 +1339,12 @@ const deserializeAws_restJson1ListOutpostsCommand = async (output, context) => {
1345
1339
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1346
1340
  }
1347
1341
  if (data.Outposts != null) {
1348
- contents.Outposts = deserializeAws_restJson1outpostListDefinition(data.Outposts, context);
1342
+ contents.Outposts = de_outpostListDefinition(data.Outposts, context);
1349
1343
  }
1350
1344
  return contents;
1351
1345
  };
1352
- exports.deserializeAws_restJson1ListOutpostsCommand = deserializeAws_restJson1ListOutpostsCommand;
1353
- const deserializeAws_restJson1ListOutpostsCommandError = async (output, context) => {
1346
+ exports.de_ListOutpostsCommand = de_ListOutpostsCommand;
1347
+ const de_ListOutpostsCommandError = async (output, context) => {
1354
1348
  const parsedOutput = {
1355
1349
  ...output,
1356
1350
  body: await parseErrorBody(output.body, context),
@@ -1359,13 +1353,13 @@ const deserializeAws_restJson1ListOutpostsCommandError = async (output, context)
1359
1353
  switch (errorCode) {
1360
1354
  case "AccessDeniedException":
1361
1355
  case "com.amazonaws.outposts#AccessDeniedException":
1362
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1356
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1363
1357
  case "InternalServerException":
1364
1358
  case "com.amazonaws.outposts#InternalServerException":
1365
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1359
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1366
1360
  case "ValidationException":
1367
1361
  case "com.amazonaws.outposts#ValidationException":
1368
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1362
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1369
1363
  default:
1370
1364
  const parsedBody = parsedOutput.body;
1371
1365
  (0, smithy_client_1.throwDefaultError)({
@@ -1376,9 +1370,9 @@ const deserializeAws_restJson1ListOutpostsCommandError = async (output, context)
1376
1370
  });
1377
1371
  }
1378
1372
  };
1379
- const deserializeAws_restJson1ListSitesCommand = async (output, context) => {
1373
+ const de_ListSitesCommand = async (output, context) => {
1380
1374
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1381
- return deserializeAws_restJson1ListSitesCommandError(output, context);
1375
+ return de_ListSitesCommandError(output, context);
1382
1376
  }
1383
1377
  const contents = map({
1384
1378
  $metadata: deserializeMetadata(output),
@@ -1388,12 +1382,12 @@ const deserializeAws_restJson1ListSitesCommand = async (output, context) => {
1388
1382
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1389
1383
  }
1390
1384
  if (data.Sites != null) {
1391
- contents.Sites = deserializeAws_restJson1siteListDefinition(data.Sites, context);
1385
+ contents.Sites = de_siteListDefinition(data.Sites, context);
1392
1386
  }
1393
1387
  return contents;
1394
1388
  };
1395
- exports.deserializeAws_restJson1ListSitesCommand = deserializeAws_restJson1ListSitesCommand;
1396
- const deserializeAws_restJson1ListSitesCommandError = async (output, context) => {
1389
+ exports.de_ListSitesCommand = de_ListSitesCommand;
1390
+ const de_ListSitesCommandError = async (output, context) => {
1397
1391
  const parsedOutput = {
1398
1392
  ...output,
1399
1393
  body: await parseErrorBody(output.body, context),
@@ -1402,13 +1396,13 @@ const deserializeAws_restJson1ListSitesCommandError = async (output, context) =>
1402
1396
  switch (errorCode) {
1403
1397
  case "AccessDeniedException":
1404
1398
  case "com.amazonaws.outposts#AccessDeniedException":
1405
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1399
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1406
1400
  case "InternalServerException":
1407
1401
  case "com.amazonaws.outposts#InternalServerException":
1408
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1402
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1409
1403
  case "ValidationException":
1410
1404
  case "com.amazonaws.outposts#ValidationException":
1411
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1405
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1412
1406
  default:
1413
1407
  const parsedBody = parsedOutput.body;
1414
1408
  (0, smithy_client_1.throwDefaultError)({
@@ -1419,21 +1413,21 @@ const deserializeAws_restJson1ListSitesCommandError = async (output, context) =>
1419
1413
  });
1420
1414
  }
1421
1415
  };
1422
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1416
+ const de_ListTagsForResourceCommand = async (output, context) => {
1423
1417
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1424
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1418
+ return de_ListTagsForResourceCommandError(output, context);
1425
1419
  }
1426
1420
  const contents = map({
1427
1421
  $metadata: deserializeMetadata(output),
1428
1422
  });
1429
1423
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1430
1424
  if (data.Tags != null) {
1431
- contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
1425
+ contents.Tags = de_TagMap(data.Tags, context);
1432
1426
  }
1433
1427
  return contents;
1434
1428
  };
1435
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1436
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1429
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1430
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1437
1431
  const parsedOutput = {
1438
1432
  ...output,
1439
1433
  body: await parseErrorBody(output.body, context),
@@ -1442,13 +1436,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1442
1436
  switch (errorCode) {
1443
1437
  case "InternalServerException":
1444
1438
  case "com.amazonaws.outposts#InternalServerException":
1445
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1439
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1446
1440
  case "NotFoundException":
1447
1441
  case "com.amazonaws.outposts#NotFoundException":
1448
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1442
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1449
1443
  case "ValidationException":
1450
1444
  case "com.amazonaws.outposts#ValidationException":
1451
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1445
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1452
1446
  default:
1453
1447
  const parsedBody = parsedOutput.body;
1454
1448
  (0, smithy_client_1.throwDefaultError)({
@@ -1459,9 +1453,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1459
1453
  });
1460
1454
  }
1461
1455
  };
1462
- const deserializeAws_restJson1StartConnectionCommand = async (output, context) => {
1456
+ const de_StartConnectionCommand = async (output, context) => {
1463
1457
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1464
- return deserializeAws_restJson1StartConnectionCommandError(output, context);
1458
+ return de_StartConnectionCommandError(output, context);
1465
1459
  }
1466
1460
  const contents = map({
1467
1461
  $metadata: deserializeMetadata(output),
@@ -1475,8 +1469,8 @@ const deserializeAws_restJson1StartConnectionCommand = async (output, context) =
1475
1469
  }
1476
1470
  return contents;
1477
1471
  };
1478
- exports.deserializeAws_restJson1StartConnectionCommand = deserializeAws_restJson1StartConnectionCommand;
1479
- const deserializeAws_restJson1StartConnectionCommandError = async (output, context) => {
1472
+ exports.de_StartConnectionCommand = de_StartConnectionCommand;
1473
+ const de_StartConnectionCommandError = async (output, context) => {
1480
1474
  const parsedOutput = {
1481
1475
  ...output,
1482
1476
  body: await parseErrorBody(output.body, context),
@@ -1485,16 +1479,16 @@ const deserializeAws_restJson1StartConnectionCommandError = async (output, conte
1485
1479
  switch (errorCode) {
1486
1480
  case "AccessDeniedException":
1487
1481
  case "com.amazonaws.outposts#AccessDeniedException":
1488
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1482
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1489
1483
  case "InternalServerException":
1490
1484
  case "com.amazonaws.outposts#InternalServerException":
1491
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1485
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1492
1486
  case "NotFoundException":
1493
1487
  case "com.amazonaws.outposts#NotFoundException":
1494
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1488
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1495
1489
  case "ValidationException":
1496
1490
  case "com.amazonaws.outposts#ValidationException":
1497
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1491
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1498
1492
  default:
1499
1493
  const parsedBody = parsedOutput.body;
1500
1494
  (0, smithy_client_1.throwDefaultError)({
@@ -1505,9 +1499,9 @@ const deserializeAws_restJson1StartConnectionCommandError = async (output, conte
1505
1499
  });
1506
1500
  }
1507
1501
  };
1508
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1502
+ const de_TagResourceCommand = async (output, context) => {
1509
1503
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1510
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1504
+ return de_TagResourceCommandError(output, context);
1511
1505
  }
1512
1506
  const contents = map({
1513
1507
  $metadata: deserializeMetadata(output),
@@ -1515,8 +1509,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1515
1509
  await collectBody(output.body, context);
1516
1510
  return contents;
1517
1511
  };
1518
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1519
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1512
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1513
+ const de_TagResourceCommandError = async (output, context) => {
1520
1514
  const parsedOutput = {
1521
1515
  ...output,
1522
1516
  body: await parseErrorBody(output.body, context),
@@ -1525,13 +1519,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1525
1519
  switch (errorCode) {
1526
1520
  case "InternalServerException":
1527
1521
  case "com.amazonaws.outposts#InternalServerException":
1528
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1522
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1529
1523
  case "NotFoundException":
1530
1524
  case "com.amazonaws.outposts#NotFoundException":
1531
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1525
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1532
1526
  case "ValidationException":
1533
1527
  case "com.amazonaws.outposts#ValidationException":
1534
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1528
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1535
1529
  default:
1536
1530
  const parsedBody = parsedOutput.body;
1537
1531
  (0, smithy_client_1.throwDefaultError)({
@@ -1542,9 +1536,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1542
1536
  });
1543
1537
  }
1544
1538
  };
1545
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1539
+ const de_UntagResourceCommand = async (output, context) => {
1546
1540
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1547
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1541
+ return de_UntagResourceCommandError(output, context);
1548
1542
  }
1549
1543
  const contents = map({
1550
1544
  $metadata: deserializeMetadata(output),
@@ -1552,8 +1546,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1552
1546
  await collectBody(output.body, context);
1553
1547
  return contents;
1554
1548
  };
1555
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1556
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1549
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1550
+ const de_UntagResourceCommandError = async (output, context) => {
1557
1551
  const parsedOutput = {
1558
1552
  ...output,
1559
1553
  body: await parseErrorBody(output.body, context),
@@ -1562,13 +1556,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1562
1556
  switch (errorCode) {
1563
1557
  case "InternalServerException":
1564
1558
  case "com.amazonaws.outposts#InternalServerException":
1565
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1559
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1566
1560
  case "NotFoundException":
1567
1561
  case "com.amazonaws.outposts#NotFoundException":
1568
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1562
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1569
1563
  case "ValidationException":
1570
1564
  case "com.amazonaws.outposts#ValidationException":
1571
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1565
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1572
1566
  default:
1573
1567
  const parsedBody = parsedOutput.body;
1574
1568
  (0, smithy_client_1.throwDefaultError)({
@@ -1579,21 +1573,21 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1579
1573
  });
1580
1574
  }
1581
1575
  };
1582
- const deserializeAws_restJson1UpdateOutpostCommand = async (output, context) => {
1576
+ const de_UpdateOutpostCommand = async (output, context) => {
1583
1577
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1584
- return deserializeAws_restJson1UpdateOutpostCommandError(output, context);
1578
+ return de_UpdateOutpostCommandError(output, context);
1585
1579
  }
1586
1580
  const contents = map({
1587
1581
  $metadata: deserializeMetadata(output),
1588
1582
  });
1589
1583
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1590
1584
  if (data.Outpost != null) {
1591
- contents.Outpost = deserializeAws_restJson1Outpost(data.Outpost, context);
1585
+ contents.Outpost = de_Outpost(data.Outpost, context);
1592
1586
  }
1593
1587
  return contents;
1594
1588
  };
1595
- exports.deserializeAws_restJson1UpdateOutpostCommand = deserializeAws_restJson1UpdateOutpostCommand;
1596
- const deserializeAws_restJson1UpdateOutpostCommandError = async (output, context) => {
1589
+ exports.de_UpdateOutpostCommand = de_UpdateOutpostCommand;
1590
+ const de_UpdateOutpostCommandError = async (output, context) => {
1597
1591
  const parsedOutput = {
1598
1592
  ...output,
1599
1593
  body: await parseErrorBody(output.body, context),
@@ -1602,19 +1596,19 @@ const deserializeAws_restJson1UpdateOutpostCommandError = async (output, context
1602
1596
  switch (errorCode) {
1603
1597
  case "AccessDeniedException":
1604
1598
  case "com.amazonaws.outposts#AccessDeniedException":
1605
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1599
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1606
1600
  case "ConflictException":
1607
1601
  case "com.amazonaws.outposts#ConflictException":
1608
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1602
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1609
1603
  case "InternalServerException":
1610
1604
  case "com.amazonaws.outposts#InternalServerException":
1611
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1605
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1612
1606
  case "NotFoundException":
1613
1607
  case "com.amazonaws.outposts#NotFoundException":
1614
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1608
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1615
1609
  case "ValidationException":
1616
1610
  case "com.amazonaws.outposts#ValidationException":
1617
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1611
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1618
1612
  default:
1619
1613
  const parsedBody = parsedOutput.body;
1620
1614
  (0, smithy_client_1.throwDefaultError)({
@@ -1625,21 +1619,21 @@ const deserializeAws_restJson1UpdateOutpostCommandError = async (output, context
1625
1619
  });
1626
1620
  }
1627
1621
  };
1628
- const deserializeAws_restJson1UpdateSiteCommand = async (output, context) => {
1622
+ const de_UpdateSiteCommand = async (output, context) => {
1629
1623
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1630
- return deserializeAws_restJson1UpdateSiteCommandError(output, context);
1624
+ return de_UpdateSiteCommandError(output, context);
1631
1625
  }
1632
1626
  const contents = map({
1633
1627
  $metadata: deserializeMetadata(output),
1634
1628
  });
1635
1629
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1636
1630
  if (data.Site != null) {
1637
- contents.Site = deserializeAws_restJson1Site(data.Site, context);
1631
+ contents.Site = de_Site(data.Site, context);
1638
1632
  }
1639
1633
  return contents;
1640
1634
  };
1641
- exports.deserializeAws_restJson1UpdateSiteCommand = deserializeAws_restJson1UpdateSiteCommand;
1642
- const deserializeAws_restJson1UpdateSiteCommandError = async (output, context) => {
1635
+ exports.de_UpdateSiteCommand = de_UpdateSiteCommand;
1636
+ const de_UpdateSiteCommandError = async (output, context) => {
1643
1637
  const parsedOutput = {
1644
1638
  ...output,
1645
1639
  body: await parseErrorBody(output.body, context),
@@ -1648,19 +1642,19 @@ const deserializeAws_restJson1UpdateSiteCommandError = async (output, context) =
1648
1642
  switch (errorCode) {
1649
1643
  case "AccessDeniedException":
1650
1644
  case "com.amazonaws.outposts#AccessDeniedException":
1651
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1645
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1652
1646
  case "ConflictException":
1653
1647
  case "com.amazonaws.outposts#ConflictException":
1654
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1648
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1655
1649
  case "InternalServerException":
1656
1650
  case "com.amazonaws.outposts#InternalServerException":
1657
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1651
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1658
1652
  case "NotFoundException":
1659
1653
  case "com.amazonaws.outposts#NotFoundException":
1660
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1654
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1661
1655
  case "ValidationException":
1662
1656
  case "com.amazonaws.outposts#ValidationException":
1663
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1657
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1664
1658
  default:
1665
1659
  const parsedBody = parsedOutput.body;
1666
1660
  (0, smithy_client_1.throwDefaultError)({
@@ -1671,24 +1665,24 @@ const deserializeAws_restJson1UpdateSiteCommandError = async (output, context) =
1671
1665
  });
1672
1666
  }
1673
1667
  };
1674
- const deserializeAws_restJson1UpdateSiteAddressCommand = async (output, context) => {
1668
+ const de_UpdateSiteAddressCommand = async (output, context) => {
1675
1669
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1676
- return deserializeAws_restJson1UpdateSiteAddressCommandError(output, context);
1670
+ return de_UpdateSiteAddressCommandError(output, context);
1677
1671
  }
1678
1672
  const contents = map({
1679
1673
  $metadata: deserializeMetadata(output),
1680
1674
  });
1681
1675
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1682
1676
  if (data.Address != null) {
1683
- contents.Address = deserializeAws_restJson1Address(data.Address, context);
1677
+ contents.Address = de_Address(data.Address, context);
1684
1678
  }
1685
1679
  if (data.AddressType != null) {
1686
1680
  contents.AddressType = (0, smithy_client_1.expectString)(data.AddressType);
1687
1681
  }
1688
1682
  return contents;
1689
1683
  };
1690
- exports.deserializeAws_restJson1UpdateSiteAddressCommand = deserializeAws_restJson1UpdateSiteAddressCommand;
1691
- const deserializeAws_restJson1UpdateSiteAddressCommandError = async (output, context) => {
1684
+ exports.de_UpdateSiteAddressCommand = de_UpdateSiteAddressCommand;
1685
+ const de_UpdateSiteAddressCommandError = async (output, context) => {
1692
1686
  const parsedOutput = {
1693
1687
  ...output,
1694
1688
  body: await parseErrorBody(output.body, context),
@@ -1697,19 +1691,19 @@ const deserializeAws_restJson1UpdateSiteAddressCommandError = async (output, con
1697
1691
  switch (errorCode) {
1698
1692
  case "AccessDeniedException":
1699
1693
  case "com.amazonaws.outposts#AccessDeniedException":
1700
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1694
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1701
1695
  case "ConflictException":
1702
1696
  case "com.amazonaws.outposts#ConflictException":
1703
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1697
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1704
1698
  case "InternalServerException":
1705
1699
  case "com.amazonaws.outposts#InternalServerException":
1706
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1700
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1707
1701
  case "NotFoundException":
1708
1702
  case "com.amazonaws.outposts#NotFoundException":
1709
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1703
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1710
1704
  case "ValidationException":
1711
1705
  case "com.amazonaws.outposts#ValidationException":
1712
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1706
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1713
1707
  default:
1714
1708
  const parsedBody = parsedOutput.body;
1715
1709
  (0, smithy_client_1.throwDefaultError)({
@@ -1720,21 +1714,21 @@ const deserializeAws_restJson1UpdateSiteAddressCommandError = async (output, con
1720
1714
  });
1721
1715
  }
1722
1716
  };
1723
- const deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand = async (output, context) => {
1717
+ const de_UpdateSiteRackPhysicalPropertiesCommand = async (output, context) => {
1724
1718
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1725
- return deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommandError(output, context);
1719
+ return de_UpdateSiteRackPhysicalPropertiesCommandError(output, context);
1726
1720
  }
1727
1721
  const contents = map({
1728
1722
  $metadata: deserializeMetadata(output),
1729
1723
  });
1730
1724
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1731
1725
  if (data.Site != null) {
1732
- contents.Site = deserializeAws_restJson1Site(data.Site, context);
1726
+ contents.Site = de_Site(data.Site, context);
1733
1727
  }
1734
1728
  return contents;
1735
1729
  };
1736
- exports.deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand = deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand;
1737
- const deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommandError = async (output, context) => {
1730
+ exports.de_UpdateSiteRackPhysicalPropertiesCommand = de_UpdateSiteRackPhysicalPropertiesCommand;
1731
+ const de_UpdateSiteRackPhysicalPropertiesCommandError = async (output, context) => {
1738
1732
  const parsedOutput = {
1739
1733
  ...output,
1740
1734
  body: await parseErrorBody(output.body, context),
@@ -1743,19 +1737,19 @@ const deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommandError = asy
1743
1737
  switch (errorCode) {
1744
1738
  case "AccessDeniedException":
1745
1739
  case "com.amazonaws.outposts#AccessDeniedException":
1746
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1740
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1747
1741
  case "ConflictException":
1748
1742
  case "com.amazonaws.outposts#ConflictException":
1749
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1743
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1750
1744
  case "InternalServerException":
1751
1745
  case "com.amazonaws.outposts#InternalServerException":
1752
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1746
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1753
1747
  case "NotFoundException":
1754
1748
  case "com.amazonaws.outposts#NotFoundException":
1755
- throw await deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context);
1749
+ throw await de_NotFoundExceptionRes(parsedOutput, context);
1756
1750
  case "ValidationException":
1757
1751
  case "com.amazonaws.outposts#ValidationException":
1758
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1752
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1759
1753
  default:
1760
1754
  const parsedBody = parsedOutput.body;
1761
1755
  (0, smithy_client_1.throwDefaultError)({
@@ -1767,7 +1761,7 @@ const deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommandError = asy
1767
1761
  }
1768
1762
  };
1769
1763
  const map = smithy_client_1.map;
1770
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1764
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1771
1765
  const contents = map({});
1772
1766
  const data = parsedOutput.body;
1773
1767
  if (data.Message != null) {
@@ -1779,7 +1773,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1779
1773
  });
1780
1774
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1781
1775
  };
1782
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1776
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1783
1777
  const contents = map({});
1784
1778
  const data = parsedOutput.body;
1785
1779
  if (data.Message != null) {
@@ -1797,7 +1791,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1797
1791
  });
1798
1792
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1799
1793
  };
1800
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1794
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1801
1795
  const contents = map({});
1802
1796
  const data = parsedOutput.body;
1803
1797
  if (data.Message != null) {
@@ -1809,7 +1803,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1809
1803
  });
1810
1804
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1811
1805
  };
1812
- const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, context) => {
1806
+ const de_NotFoundExceptionRes = async (parsedOutput, context) => {
1813
1807
  const contents = map({});
1814
1808
  const data = parsedOutput.body;
1815
1809
  if (data.Message != null) {
@@ -1821,7 +1815,7 @@ const deserializeAws_restJson1NotFoundExceptionResponse = async (parsedOutput, c
1821
1815
  });
1822
1816
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1823
1817
  };
1824
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1818
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1825
1819
  const contents = map({});
1826
1820
  const data = parsedOutput.body;
1827
1821
  if (data.Message != null) {
@@ -1833,7 +1827,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
1833
1827
  });
1834
1828
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1835
1829
  };
1836
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1830
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1837
1831
  const contents = map({});
1838
1832
  const data = parsedOutput.body;
1839
1833
  if (data.Message != null) {
@@ -1845,7 +1839,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1845
1839
  });
1846
1840
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1847
1841
  };
1848
- const serializeAws_restJson1Address = (input, context) => {
1842
+ const se_Address = (input, context) => {
1849
1843
  return {
1850
1844
  ...(input.AddressLine1 != null && { AddressLine1: input.AddressLine1 }),
1851
1845
  ...(input.AddressLine2 != null && { AddressLine2: input.AddressLine2 }),
@@ -1860,20 +1854,20 @@ const serializeAws_restJson1Address = (input, context) => {
1860
1854
  ...(input.StateOrRegion != null && { StateOrRegion: input.StateOrRegion }),
1861
1855
  };
1862
1856
  };
1863
- const serializeAws_restJson1LineItemRequest = (input, context) => {
1857
+ const se_LineItemRequest = (input, context) => {
1864
1858
  return {
1865
1859
  ...(input.CatalogItemId != null && { CatalogItemId: input.CatalogItemId }),
1866
1860
  ...(input.Quantity != null && { Quantity: input.Quantity }),
1867
1861
  };
1868
1862
  };
1869
- const serializeAws_restJson1LineItemRequestListDefinition = (input, context) => {
1863
+ const se_LineItemRequestListDefinition = (input, context) => {
1870
1864
  return input
1871
1865
  .filter((e) => e != null)
1872
1866
  .map((entry) => {
1873
- return serializeAws_restJson1LineItemRequest(entry, context);
1867
+ return se_LineItemRequest(entry, context);
1874
1868
  });
1875
1869
  };
1876
- const serializeAws_restJson1RackPhysicalProperties = (input, context) => {
1870
+ const se_RackPhysicalProperties = (input, context) => {
1877
1871
  return {
1878
1872
  ...(input.FiberOpticCableType != null && { FiberOpticCableType: input.FiberOpticCableType }),
1879
1873
  ...(input.MaximumSupportedWeightLbs != null && { MaximumSupportedWeightLbs: input.MaximumSupportedWeightLbs }),
@@ -1886,7 +1880,7 @@ const serializeAws_restJson1RackPhysicalProperties = (input, context) => {
1886
1880
  ...(input.UplinkGbps != null && { UplinkGbps: input.UplinkGbps }),
1887
1881
  };
1888
1882
  };
1889
- const serializeAws_restJson1TagMap = (input, context) => {
1883
+ const se_TagMap = (input, context) => {
1890
1884
  return Object.entries(input).reduce((acc, [key, value]) => {
1891
1885
  if (value === null) {
1892
1886
  return acc;
@@ -1895,7 +1889,7 @@ const serializeAws_restJson1TagMap = (input, context) => {
1895
1889
  return acc;
1896
1890
  }, {});
1897
1891
  };
1898
- const deserializeAws_restJson1Address = (output, context) => {
1892
+ const de_Address = (output, context) => {
1899
1893
  return {
1900
1894
  AddressLine1: (0, smithy_client_1.expectString)(output.AddressLine1),
1901
1895
  AddressLine2: (0, smithy_client_1.expectString)(output.AddressLine2),
@@ -1910,62 +1904,56 @@ const deserializeAws_restJson1Address = (output, context) => {
1910
1904
  StateOrRegion: (0, smithy_client_1.expectString)(output.StateOrRegion),
1911
1905
  };
1912
1906
  };
1913
- const deserializeAws_restJson1AssetInfo = (output, context) => {
1907
+ const de_AssetInfo = (output, context) => {
1914
1908
  return {
1915
1909
  AssetId: (0, smithy_client_1.expectString)(output.AssetId),
1916
- AssetLocation: output.AssetLocation != null ? deserializeAws_restJson1AssetLocation(output.AssetLocation, context) : undefined,
1910
+ AssetLocation: output.AssetLocation != null ? de_AssetLocation(output.AssetLocation, context) : undefined,
1917
1911
  AssetType: (0, smithy_client_1.expectString)(output.AssetType),
1918
- ComputeAttributes: output.ComputeAttributes != null
1919
- ? deserializeAws_restJson1ComputeAttributes(output.ComputeAttributes, context)
1920
- : undefined,
1912
+ ComputeAttributes: output.ComputeAttributes != null ? de_ComputeAttributes(output.ComputeAttributes, context) : undefined,
1921
1913
  RackId: (0, smithy_client_1.expectString)(output.RackId),
1922
1914
  };
1923
1915
  };
1924
- const deserializeAws_restJson1AssetListDefinition = (output, context) => {
1916
+ const de_AssetListDefinition = (output, context) => {
1925
1917
  const retVal = (output || [])
1926
1918
  .filter((e) => e != null)
1927
1919
  .map((entry) => {
1928
1920
  if (entry === null) {
1929
1921
  return null;
1930
1922
  }
1931
- return deserializeAws_restJson1AssetInfo(entry, context);
1923
+ return de_AssetInfo(entry, context);
1932
1924
  });
1933
1925
  return retVal;
1934
1926
  };
1935
- const deserializeAws_restJson1AssetLocation = (output, context) => {
1927
+ const de_AssetLocation = (output, context) => {
1936
1928
  return {
1937
1929
  RackElevation: (0, smithy_client_1.limitedParseFloat32)(output.RackElevation),
1938
1930
  };
1939
1931
  };
1940
- const deserializeAws_restJson1CatalogItem = (output, context) => {
1932
+ const de_CatalogItem = (output, context) => {
1941
1933
  return {
1942
1934
  CatalogItemId: (0, smithy_client_1.expectString)(output.CatalogItemId),
1943
- EC2Capacities: output.EC2Capacities != null
1944
- ? deserializeAws_restJson1EC2CapacityListDefinition(output.EC2Capacities, context)
1945
- : undefined,
1935
+ EC2Capacities: output.EC2Capacities != null ? de_EC2CapacityListDefinition(output.EC2Capacities, context) : undefined,
1946
1936
  ItemStatus: (0, smithy_client_1.expectString)(output.ItemStatus),
1947
1937
  PowerKva: (0, smithy_client_1.limitedParseFloat32)(output.PowerKva),
1948
- SupportedStorage: output.SupportedStorage != null
1949
- ? deserializeAws_restJson1SupportedStorageList(output.SupportedStorage, context)
1950
- : undefined,
1938
+ SupportedStorage: output.SupportedStorage != null ? de_SupportedStorageList(output.SupportedStorage, context) : undefined,
1951
1939
  SupportedUplinkGbps: output.SupportedUplinkGbps != null
1952
- ? deserializeAws_restJson1SupportedUplinkGbpsListDefinition(output.SupportedUplinkGbps, context)
1940
+ ? de_SupportedUplinkGbpsListDefinition(output.SupportedUplinkGbps, context)
1953
1941
  : undefined,
1954
1942
  WeightLbs: (0, smithy_client_1.expectInt32)(output.WeightLbs),
1955
1943
  };
1956
1944
  };
1957
- const deserializeAws_restJson1CatalogItemListDefinition = (output, context) => {
1945
+ const de_CatalogItemListDefinition = (output, context) => {
1958
1946
  const retVal = (output || [])
1959
1947
  .filter((e) => e != null)
1960
1948
  .map((entry) => {
1961
1949
  if (entry === null) {
1962
1950
  return null;
1963
1951
  }
1964
- return deserializeAws_restJson1CatalogItem(entry, context);
1952
+ return de_CatalogItem(entry, context);
1965
1953
  });
1966
1954
  return retVal;
1967
1955
  };
1968
- const deserializeAws_restJson1CIDRList = (output, context) => {
1956
+ const de_CIDRList = (output, context) => {
1969
1957
  const retVal = (output || [])
1970
1958
  .filter((e) => e != null)
1971
1959
  .map((entry) => {
@@ -1976,15 +1964,15 @@ const deserializeAws_restJson1CIDRList = (output, context) => {
1976
1964
  });
1977
1965
  return retVal;
1978
1966
  };
1979
- const deserializeAws_restJson1ComputeAttributes = (output, context) => {
1967
+ const de_ComputeAttributes = (output, context) => {
1980
1968
  return {
1981
1969
  HostId: (0, smithy_client_1.expectString)(output.HostId),
1982
1970
  State: (0, smithy_client_1.expectString)(output.State),
1983
1971
  };
1984
1972
  };
1985
- const deserializeAws_restJson1ConnectionDetails = (output, context) => {
1973
+ const de_ConnectionDetails = (output, context) => {
1986
1974
  return {
1987
- AllowedIps: output.AllowedIps != null ? deserializeAws_restJson1CIDRList(output.AllowedIps, context) : undefined,
1975
+ AllowedIps: output.AllowedIps != null ? de_CIDRList(output.AllowedIps, context) : undefined,
1988
1976
  ClientPublicKey: (0, smithy_client_1.expectString)(output.ClientPublicKey),
1989
1977
  ClientTunnelAddress: (0, smithy_client_1.expectString)(output.ClientTunnelAddress),
1990
1978
  ServerEndpoint: (0, smithy_client_1.expectString)(output.ServerEndpoint),
@@ -1992,87 +1980,83 @@ const deserializeAws_restJson1ConnectionDetails = (output, context) => {
1992
1980
  ServerTunnelAddress: (0, smithy_client_1.expectString)(output.ServerTunnelAddress),
1993
1981
  };
1994
1982
  };
1995
- const deserializeAws_restJson1EC2Capacity = (output, context) => {
1983
+ const de_EC2Capacity = (output, context) => {
1996
1984
  return {
1997
1985
  Family: (0, smithy_client_1.expectString)(output.Family),
1998
1986
  MaxSize: (0, smithy_client_1.expectString)(output.MaxSize),
1999
1987
  Quantity: (0, smithy_client_1.expectString)(output.Quantity),
2000
1988
  };
2001
1989
  };
2002
- const deserializeAws_restJson1EC2CapacityListDefinition = (output, context) => {
1990
+ const de_EC2CapacityListDefinition = (output, context) => {
2003
1991
  const retVal = (output || [])
2004
1992
  .filter((e) => e != null)
2005
1993
  .map((entry) => {
2006
1994
  if (entry === null) {
2007
1995
  return null;
2008
1996
  }
2009
- return deserializeAws_restJson1EC2Capacity(entry, context);
1997
+ return de_EC2Capacity(entry, context);
2010
1998
  });
2011
1999
  return retVal;
2012
2000
  };
2013
- const deserializeAws_restJson1InstanceTypeItem = (output, context) => {
2001
+ const de_InstanceTypeItem = (output, context) => {
2014
2002
  return {
2015
2003
  InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
2016
2004
  };
2017
2005
  };
2018
- const deserializeAws_restJson1InstanceTypeListDefinition = (output, context) => {
2006
+ const de_InstanceTypeListDefinition = (output, context) => {
2019
2007
  const retVal = (output || [])
2020
2008
  .filter((e) => e != null)
2021
2009
  .map((entry) => {
2022
2010
  if (entry === null) {
2023
2011
  return null;
2024
2012
  }
2025
- return deserializeAws_restJson1InstanceTypeItem(entry, context);
2013
+ return de_InstanceTypeItem(entry, context);
2026
2014
  });
2027
2015
  return retVal;
2028
2016
  };
2029
- const deserializeAws_restJson1LineItem = (output, context) => {
2017
+ const de_LineItem = (output, context) => {
2030
2018
  return {
2031
2019
  AssetInformationList: output.AssetInformationList != null
2032
- ? deserializeAws_restJson1LineItemAssetInformationList(output.AssetInformationList, context)
2020
+ ? de_LineItemAssetInformationList(output.AssetInformationList, context)
2033
2021
  : undefined,
2034
2022
  CatalogItemId: (0, smithy_client_1.expectString)(output.CatalogItemId),
2035
2023
  LineItemId: (0, smithy_client_1.expectString)(output.LineItemId),
2036
2024
  PreviousLineItemId: (0, smithy_client_1.expectString)(output.PreviousLineItemId),
2037
2025
  PreviousOrderId: (0, smithy_client_1.expectString)(output.PreviousOrderId),
2038
2026
  Quantity: (0, smithy_client_1.expectInt32)(output.Quantity),
2039
- ShipmentInformation: output.ShipmentInformation != null
2040
- ? deserializeAws_restJson1ShipmentInformation(output.ShipmentInformation, context)
2041
- : undefined,
2027
+ ShipmentInformation: output.ShipmentInformation != null ? de_ShipmentInformation(output.ShipmentInformation, context) : undefined,
2042
2028
  Status: (0, smithy_client_1.expectString)(output.Status),
2043
2029
  };
2044
2030
  };
2045
- const deserializeAws_restJson1LineItemAssetInformation = (output, context) => {
2031
+ const de_LineItemAssetInformation = (output, context) => {
2046
2032
  return {
2047
2033
  AssetId: (0, smithy_client_1.expectString)(output.AssetId),
2048
- MacAddressList: output.MacAddressList != null
2049
- ? deserializeAws_restJson1MacAddressList(output.MacAddressList, context)
2050
- : undefined,
2034
+ MacAddressList: output.MacAddressList != null ? de_MacAddressList(output.MacAddressList, context) : undefined,
2051
2035
  };
2052
2036
  };
2053
- const deserializeAws_restJson1LineItemAssetInformationList = (output, context) => {
2037
+ const de_LineItemAssetInformationList = (output, context) => {
2054
2038
  const retVal = (output || [])
2055
2039
  .filter((e) => e != null)
2056
2040
  .map((entry) => {
2057
2041
  if (entry === null) {
2058
2042
  return null;
2059
2043
  }
2060
- return deserializeAws_restJson1LineItemAssetInformation(entry, context);
2044
+ return de_LineItemAssetInformation(entry, context);
2061
2045
  });
2062
2046
  return retVal;
2063
2047
  };
2064
- const deserializeAws_restJson1LineItemListDefinition = (output, context) => {
2048
+ const de_LineItemListDefinition = (output, context) => {
2065
2049
  const retVal = (output || [])
2066
2050
  .filter((e) => e != null)
2067
2051
  .map((entry) => {
2068
2052
  if (entry === null) {
2069
2053
  return null;
2070
2054
  }
2071
- return deserializeAws_restJson1LineItem(entry, context);
2055
+ return de_LineItem(entry, context);
2072
2056
  });
2073
2057
  return retVal;
2074
2058
  };
2075
- const deserializeAws_restJson1LineItemStatusCounts = (output, context) => {
2059
+ const de_LineItemStatusCounts = (output, context) => {
2076
2060
  return Object.entries(output).reduce((acc, [key, value]) => {
2077
2061
  if (value === null) {
2078
2062
  return acc;
@@ -2081,7 +2065,7 @@ const deserializeAws_restJson1LineItemStatusCounts = (output, context) => {
2081
2065
  return acc;
2082
2066
  }, {});
2083
2067
  };
2084
- const deserializeAws_restJson1MacAddressList = (output, context) => {
2068
+ const de_MacAddressList = (output, context) => {
2085
2069
  const retVal = (output || [])
2086
2070
  .filter((e) => e != null)
2087
2071
  .map((entry) => {
@@ -2092,9 +2076,9 @@ const deserializeAws_restJson1MacAddressList = (output, context) => {
2092
2076
  });
2093
2077
  return retVal;
2094
2078
  };
2095
- const deserializeAws_restJson1Order = (output, context) => {
2079
+ const de_Order = (output, context) => {
2096
2080
  return {
2097
- LineItems: output.LineItems != null ? deserializeAws_restJson1LineItemListDefinition(output.LineItems, context) : undefined,
2081
+ LineItems: output.LineItems != null ? de_LineItemListDefinition(output.LineItems, context) : undefined,
2098
2082
  OrderFulfilledDate: output.OrderFulfilledDate != null
2099
2083
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OrderFulfilledDate)))
2100
2084
  : undefined,
@@ -2109,10 +2093,10 @@ const deserializeAws_restJson1Order = (output, context) => {
2109
2093
  Status: (0, smithy_client_1.expectString)(output.Status),
2110
2094
  };
2111
2095
  };
2112
- const deserializeAws_restJson1OrderSummary = (output, context) => {
2096
+ const de_OrderSummary = (output, context) => {
2113
2097
  return {
2114
2098
  LineItemCountsByStatus: output.LineItemCountsByStatus != null
2115
- ? deserializeAws_restJson1LineItemStatusCounts(output.LineItemCountsByStatus, context)
2099
+ ? de_LineItemStatusCounts(output.LineItemCountsByStatus, context)
2116
2100
  : undefined,
2117
2101
  OrderFulfilledDate: output.OrderFulfilledDate != null
2118
2102
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OrderFulfilledDate)))
@@ -2126,18 +2110,18 @@ const deserializeAws_restJson1OrderSummary = (output, context) => {
2126
2110
  Status: (0, smithy_client_1.expectString)(output.Status),
2127
2111
  };
2128
2112
  };
2129
- const deserializeAws_restJson1OrderSummaryListDefinition = (output, context) => {
2113
+ const de_OrderSummaryListDefinition = (output, context) => {
2130
2114
  const retVal = (output || [])
2131
2115
  .filter((e) => e != null)
2132
2116
  .map((entry) => {
2133
2117
  if (entry === null) {
2134
2118
  return null;
2135
2119
  }
2136
- return deserializeAws_restJson1OrderSummary(entry, context);
2120
+ return de_OrderSummary(entry, context);
2137
2121
  });
2138
2122
  return retVal;
2139
2123
  };
2140
- const deserializeAws_restJson1Outpost = (output, context) => {
2124
+ const de_Outpost = (output, context) => {
2141
2125
  return {
2142
2126
  AvailabilityZone: (0, smithy_client_1.expectString)(output.AvailabilityZone),
2143
2127
  AvailabilityZoneId: (0, smithy_client_1.expectString)(output.AvailabilityZoneId),
@@ -2150,21 +2134,21 @@ const deserializeAws_restJson1Outpost = (output, context) => {
2150
2134
  SiteArn: (0, smithy_client_1.expectString)(output.SiteArn),
2151
2135
  SiteId: (0, smithy_client_1.expectString)(output.SiteId),
2152
2136
  SupportedHardwareType: (0, smithy_client_1.expectString)(output.SupportedHardwareType),
2153
- Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
2137
+ Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
2154
2138
  };
2155
2139
  };
2156
- const deserializeAws_restJson1outpostListDefinition = (output, context) => {
2140
+ const de_outpostListDefinition = (output, context) => {
2157
2141
  const retVal = (output || [])
2158
2142
  .filter((e) => e != null)
2159
2143
  .map((entry) => {
2160
2144
  if (entry === null) {
2161
2145
  return null;
2162
2146
  }
2163
- return deserializeAws_restJson1Outpost(entry, context);
2147
+ return de_Outpost(entry, context);
2164
2148
  });
2165
2149
  return retVal;
2166
2150
  };
2167
- const deserializeAws_restJson1RackPhysicalProperties = (output, context) => {
2151
+ const de_RackPhysicalProperties = (output, context) => {
2168
2152
  return {
2169
2153
  FiberOpticCableType: (0, smithy_client_1.expectString)(output.FiberOpticCableType),
2170
2154
  MaximumSupportedWeightLbs: (0, smithy_client_1.expectString)(output.MaximumSupportedWeightLbs),
@@ -2177,13 +2161,13 @@ const deserializeAws_restJson1RackPhysicalProperties = (output, context) => {
2177
2161
  UplinkGbps: (0, smithy_client_1.expectString)(output.UplinkGbps),
2178
2162
  };
2179
2163
  };
2180
- const deserializeAws_restJson1ShipmentInformation = (output, context) => {
2164
+ const de_ShipmentInformation = (output, context) => {
2181
2165
  return {
2182
2166
  ShipmentCarrier: (0, smithy_client_1.expectString)(output.ShipmentCarrier),
2183
2167
  ShipmentTrackingNumber: (0, smithy_client_1.expectString)(output.ShipmentTrackingNumber),
2184
2168
  };
2185
2169
  };
2186
- const deserializeAws_restJson1Site = (output, context) => {
2170
+ const de_Site = (output, context) => {
2187
2171
  return {
2188
2172
  AccountId: (0, smithy_client_1.expectString)(output.AccountId),
2189
2173
  Description: (0, smithy_client_1.expectString)(output.Description),
@@ -2193,25 +2177,25 @@ const deserializeAws_restJson1Site = (output, context) => {
2193
2177
  OperatingAddressCountryCode: (0, smithy_client_1.expectString)(output.OperatingAddressCountryCode),
2194
2178
  OperatingAddressStateOrRegion: (0, smithy_client_1.expectString)(output.OperatingAddressStateOrRegion),
2195
2179
  RackPhysicalProperties: output.RackPhysicalProperties != null
2196
- ? deserializeAws_restJson1RackPhysicalProperties(output.RackPhysicalProperties, context)
2180
+ ? de_RackPhysicalProperties(output.RackPhysicalProperties, context)
2197
2181
  : undefined,
2198
2182
  SiteArn: (0, smithy_client_1.expectString)(output.SiteArn),
2199
2183
  SiteId: (0, smithy_client_1.expectString)(output.SiteId),
2200
- Tags: output.Tags != null ? deserializeAws_restJson1TagMap(output.Tags, context) : undefined,
2184
+ Tags: output.Tags != null ? de_TagMap(output.Tags, context) : undefined,
2201
2185
  };
2202
2186
  };
2203
- const deserializeAws_restJson1siteListDefinition = (output, context) => {
2187
+ const de_siteListDefinition = (output, context) => {
2204
2188
  const retVal = (output || [])
2205
2189
  .filter((e) => e != null)
2206
2190
  .map((entry) => {
2207
2191
  if (entry === null) {
2208
2192
  return null;
2209
2193
  }
2210
- return deserializeAws_restJson1Site(entry, context);
2194
+ return de_Site(entry, context);
2211
2195
  });
2212
2196
  return retVal;
2213
2197
  };
2214
- const deserializeAws_restJson1SupportedStorageList = (output, context) => {
2198
+ const de_SupportedStorageList = (output, context) => {
2215
2199
  const retVal = (output || [])
2216
2200
  .filter((e) => e != null)
2217
2201
  .map((entry) => {
@@ -2222,7 +2206,7 @@ const deserializeAws_restJson1SupportedStorageList = (output, context) => {
2222
2206
  });
2223
2207
  return retVal;
2224
2208
  };
2225
- const deserializeAws_restJson1SupportedUplinkGbpsListDefinition = (output, context) => {
2209
+ const de_SupportedUplinkGbpsListDefinition = (output, context) => {
2226
2210
  const retVal = (output || [])
2227
2211
  .filter((e) => e != null)
2228
2212
  .map((entry) => {
@@ -2233,7 +2217,7 @@ const deserializeAws_restJson1SupportedUplinkGbpsListDefinition = (output, conte
2233
2217
  });
2234
2218
  return retVal;
2235
2219
  };
2236
- const deserializeAws_restJson1TagMap = (output, context) => {
2220
+ const de_TagMap = (output, context) => {
2237
2221
  return Object.entries(output).reduce((acc, [key, value]) => {
2238
2222
  if (value === null) {
2239
2223
  return acc;