@aws-sdk/client-sagemaker-geospatial 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 (43) hide show
  1. package/dist-cjs/commands/DeleteEarthObservationJobCommand.js +2 -2
  2. package/dist-cjs/commands/DeleteVectorEnrichmentJobCommand.js +2 -2
  3. package/dist-cjs/commands/ExportEarthObservationJobCommand.js +2 -2
  4. package/dist-cjs/commands/ExportVectorEnrichmentJobCommand.js +2 -2
  5. package/dist-cjs/commands/GetEarthObservationJobCommand.js +2 -2
  6. package/dist-cjs/commands/GetRasterDataCollectionCommand.js +2 -2
  7. package/dist-cjs/commands/GetTileCommand.js +2 -2
  8. package/dist-cjs/commands/GetVectorEnrichmentJobCommand.js +2 -2
  9. package/dist-cjs/commands/ListEarthObservationJobsCommand.js +2 -2
  10. package/dist-cjs/commands/ListRasterDataCollectionsCommand.js +2 -2
  11. package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
  12. package/dist-cjs/commands/ListVectorEnrichmentJobsCommand.js +2 -2
  13. package/dist-cjs/commands/SearchRasterDataCollectionCommand.js +2 -2
  14. package/dist-cjs/commands/StartEarthObservationJobCommand.js +2 -2
  15. package/dist-cjs/commands/StartVectorEnrichmentJobCommand.js +2 -2
  16. package/dist-cjs/commands/StopEarthObservationJobCommand.js +2 -2
  17. package/dist-cjs/commands/StopVectorEnrichmentJobCommand.js +2 -2
  18. package/dist-cjs/commands/TagResourceCommand.js +2 -2
  19. package/dist-cjs/commands/UntagResourceCommand.js +2 -2
  20. package/dist-cjs/protocols/Aws_restJson1.js +522 -604
  21. package/dist-es/commands/DeleteEarthObservationJobCommand.js +3 -3
  22. package/dist-es/commands/DeleteVectorEnrichmentJobCommand.js +3 -3
  23. package/dist-es/commands/ExportEarthObservationJobCommand.js +3 -3
  24. package/dist-es/commands/ExportVectorEnrichmentJobCommand.js +3 -3
  25. package/dist-es/commands/GetEarthObservationJobCommand.js +3 -3
  26. package/dist-es/commands/GetRasterDataCollectionCommand.js +3 -3
  27. package/dist-es/commands/GetTileCommand.js +3 -3
  28. package/dist-es/commands/GetVectorEnrichmentJobCommand.js +3 -3
  29. package/dist-es/commands/ListEarthObservationJobsCommand.js +3 -3
  30. package/dist-es/commands/ListRasterDataCollectionsCommand.js +3 -3
  31. package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
  32. package/dist-es/commands/ListVectorEnrichmentJobsCommand.js +3 -3
  33. package/dist-es/commands/SearchRasterDataCollectionCommand.js +3 -3
  34. package/dist-es/commands/StartEarthObservationJobCommand.js +3 -3
  35. package/dist-es/commands/StartVectorEnrichmentJobCommand.js +3 -3
  36. package/dist-es/commands/StopEarthObservationJobCommand.js +3 -3
  37. package/dist-es/commands/StopVectorEnrichmentJobCommand.js +3 -3
  38. package/dist-es/commands/TagResourceCommand.js +3 -3
  39. package/dist-es/commands/UntagResourceCommand.js +3 -3
  40. package/dist-es/protocols/Aws_restJson1.js +483 -565
  41. package/dist-types/protocols/Aws_restJson1.d.ts +152 -38
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +38 -38
  43. package/package.json +31 -31
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StopVectorEnrichmentJobCommand = exports.deserializeAws_restJson1StopEarthObservationJobCommand = exports.deserializeAws_restJson1StartVectorEnrichmentJobCommand = exports.deserializeAws_restJson1StartEarthObservationJobCommand = exports.deserializeAws_restJson1SearchRasterDataCollectionCommand = exports.deserializeAws_restJson1ListVectorEnrichmentJobsCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListRasterDataCollectionsCommand = exports.deserializeAws_restJson1ListEarthObservationJobsCommand = exports.deserializeAws_restJson1GetVectorEnrichmentJobCommand = exports.deserializeAws_restJson1GetTileCommand = exports.deserializeAws_restJson1GetRasterDataCollectionCommand = exports.deserializeAws_restJson1GetEarthObservationJobCommand = exports.deserializeAws_restJson1ExportVectorEnrichmentJobCommand = exports.deserializeAws_restJson1ExportEarthObservationJobCommand = exports.deserializeAws_restJson1DeleteVectorEnrichmentJobCommand = exports.deserializeAws_restJson1DeleteEarthObservationJobCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StopVectorEnrichmentJobCommand = exports.serializeAws_restJson1StopEarthObservationJobCommand = exports.serializeAws_restJson1StartVectorEnrichmentJobCommand = exports.serializeAws_restJson1StartEarthObservationJobCommand = exports.serializeAws_restJson1SearchRasterDataCollectionCommand = exports.serializeAws_restJson1ListVectorEnrichmentJobsCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListRasterDataCollectionsCommand = exports.serializeAws_restJson1ListEarthObservationJobsCommand = exports.serializeAws_restJson1GetVectorEnrichmentJobCommand = exports.serializeAws_restJson1GetTileCommand = exports.serializeAws_restJson1GetRasterDataCollectionCommand = exports.serializeAws_restJson1GetEarthObservationJobCommand = exports.serializeAws_restJson1ExportVectorEnrichmentJobCommand = exports.serializeAws_restJson1ExportEarthObservationJobCommand = exports.serializeAws_restJson1DeleteVectorEnrichmentJobCommand = exports.serializeAws_restJson1DeleteEarthObservationJobCommand = void 0;
3
+ exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopVectorEnrichmentJobCommand = exports.de_StopEarthObservationJobCommand = exports.de_StartVectorEnrichmentJobCommand = exports.de_StartEarthObservationJobCommand = exports.de_SearchRasterDataCollectionCommand = exports.de_ListVectorEnrichmentJobsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRasterDataCollectionsCommand = exports.de_ListEarthObservationJobsCommand = exports.de_GetVectorEnrichmentJobCommand = exports.de_GetTileCommand = exports.de_GetRasterDataCollectionCommand = exports.de_GetEarthObservationJobCommand = exports.de_ExportVectorEnrichmentJobCommand = exports.de_ExportEarthObservationJobCommand = exports.de_DeleteVectorEnrichmentJobCommand = exports.de_DeleteEarthObservationJobCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopVectorEnrichmentJobCommand = exports.se_StopEarthObservationJobCommand = exports.se_StartVectorEnrichmentJobCommand = exports.se_StartEarthObservationJobCommand = exports.se_SearchRasterDataCollectionCommand = exports.se_ListVectorEnrichmentJobsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListRasterDataCollectionsCommand = exports.se_ListEarthObservationJobsCommand = exports.se_GetVectorEnrichmentJobCommand = exports.se_GetTileCommand = exports.se_GetRasterDataCollectionCommand = exports.se_GetEarthObservationJobCommand = exports.se_ExportVectorEnrichmentJobCommand = exports.se_ExportEarthObservationJobCommand = exports.se_DeleteVectorEnrichmentJobCommand = exports.se_DeleteEarthObservationJobCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const uuid_1 = require("uuid");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const SageMakerGeospatialServiceException_1 = require("../models/SageMakerGeospatialServiceException");
9
- const serializeAws_restJson1DeleteEarthObservationJobCommand = async (input, context) => {
9
+ const se_DeleteEarthObservationJobCommand = 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 || ""}` + "/earth-observation-jobs/{Arn}";
@@ -22,8 +22,8 @@ const serializeAws_restJson1DeleteEarthObservationJobCommand = async (input, con
22
22
  body,
23
23
  });
24
24
  };
25
- exports.serializeAws_restJson1DeleteEarthObservationJobCommand = serializeAws_restJson1DeleteEarthObservationJobCommand;
26
- const serializeAws_restJson1DeleteVectorEnrichmentJobCommand = async (input, context) => {
25
+ exports.se_DeleteEarthObservationJobCommand = se_DeleteEarthObservationJobCommand;
26
+ const se_DeleteVectorEnrichmentJobCommand = async (input, context) => {
27
27
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
28
28
  const headers = {};
29
29
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vector-enrichment-jobs/{Arn}";
@@ -39,8 +39,8 @@ const serializeAws_restJson1DeleteVectorEnrichmentJobCommand = async (input, con
39
39
  body,
40
40
  });
41
41
  };
42
- exports.serializeAws_restJson1DeleteVectorEnrichmentJobCommand = serializeAws_restJson1DeleteVectorEnrichmentJobCommand;
43
- const serializeAws_restJson1ExportEarthObservationJobCommand = async (input, context) => {
42
+ exports.se_DeleteVectorEnrichmentJobCommand = se_DeleteVectorEnrichmentJobCommand;
43
+ const se_ExportEarthObservationJobCommand = async (input, context) => {
44
44
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
45
45
  const headers = {
46
46
  "content-type": "application/json",
@@ -52,9 +52,7 @@ const serializeAws_restJson1ExportEarthObservationJobCommand = async (input, con
52
52
  ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
53
53
  ...(input.ExecutionRoleArn != null && { ExecutionRoleArn: input.ExecutionRoleArn }),
54
54
  ...(input.ExportSourceImages != null && { ExportSourceImages: input.ExportSourceImages }),
55
- ...(input.OutputConfig != null && {
56
- OutputConfig: serializeAws_restJson1OutputConfigInput(input.OutputConfig, context),
57
- }),
55
+ ...(input.OutputConfig != null && { OutputConfig: se_OutputConfigInput(input.OutputConfig, context) }),
58
56
  });
59
57
  return new protocol_http_1.HttpRequest({
60
58
  protocol,
@@ -66,8 +64,8 @@ const serializeAws_restJson1ExportEarthObservationJobCommand = async (input, con
66
64
  body,
67
65
  });
68
66
  };
69
- exports.serializeAws_restJson1ExportEarthObservationJobCommand = serializeAws_restJson1ExportEarthObservationJobCommand;
70
- const serializeAws_restJson1ExportVectorEnrichmentJobCommand = async (input, context) => {
67
+ exports.se_ExportEarthObservationJobCommand = se_ExportEarthObservationJobCommand;
68
+ const se_ExportVectorEnrichmentJobCommand = async (input, context) => {
71
69
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
72
70
  const headers = {
73
71
  "content-type": "application/json",
@@ -79,7 +77,7 @@ const serializeAws_restJson1ExportVectorEnrichmentJobCommand = async (input, con
79
77
  ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
80
78
  ...(input.ExecutionRoleArn != null && { ExecutionRoleArn: input.ExecutionRoleArn }),
81
79
  ...(input.OutputConfig != null && {
82
- OutputConfig: serializeAws_restJson1ExportVectorEnrichmentJobOutputConfig(input.OutputConfig, context),
80
+ OutputConfig: se_ExportVectorEnrichmentJobOutputConfig(input.OutputConfig, context),
83
81
  }),
84
82
  });
85
83
  return new protocol_http_1.HttpRequest({
@@ -92,8 +90,8 @@ const serializeAws_restJson1ExportVectorEnrichmentJobCommand = async (input, con
92
90
  body,
93
91
  });
94
92
  };
95
- exports.serializeAws_restJson1ExportVectorEnrichmentJobCommand = serializeAws_restJson1ExportVectorEnrichmentJobCommand;
96
- const serializeAws_restJson1GetEarthObservationJobCommand = async (input, context) => {
93
+ exports.se_ExportVectorEnrichmentJobCommand = se_ExportVectorEnrichmentJobCommand;
94
+ const se_GetEarthObservationJobCommand = async (input, context) => {
97
95
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
98
96
  const headers = {};
99
97
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/earth-observation-jobs/{Arn}";
@@ -109,8 +107,8 @@ const serializeAws_restJson1GetEarthObservationJobCommand = async (input, contex
109
107
  body,
110
108
  });
111
109
  };
112
- exports.serializeAws_restJson1GetEarthObservationJobCommand = serializeAws_restJson1GetEarthObservationJobCommand;
113
- const serializeAws_restJson1GetRasterDataCollectionCommand = async (input, context) => {
110
+ exports.se_GetEarthObservationJobCommand = se_GetEarthObservationJobCommand;
111
+ const se_GetRasterDataCollectionCommand = async (input, context) => {
114
112
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
115
113
  const headers = {};
116
114
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/raster-data-collection/{Arn}";
@@ -126,8 +124,8 @@ const serializeAws_restJson1GetRasterDataCollectionCommand = async (input, conte
126
124
  body,
127
125
  });
128
126
  };
129
- exports.serializeAws_restJson1GetRasterDataCollectionCommand = serializeAws_restJson1GetRasterDataCollectionCommand;
130
- const serializeAws_restJson1GetTileCommand = async (input, context) => {
127
+ exports.se_GetRasterDataCollectionCommand = se_GetRasterDataCollectionCommand;
128
+ const se_GetTileCommand = async (input, context) => {
131
129
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
132
130
  const headers = {};
133
131
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tile/{z}/{x}/{y}";
@@ -160,8 +158,8 @@ const serializeAws_restJson1GetTileCommand = async (input, context) => {
160
158
  body,
161
159
  });
162
160
  };
163
- exports.serializeAws_restJson1GetTileCommand = serializeAws_restJson1GetTileCommand;
164
- const serializeAws_restJson1GetVectorEnrichmentJobCommand = async (input, context) => {
161
+ exports.se_GetTileCommand = se_GetTileCommand;
162
+ const se_GetVectorEnrichmentJobCommand = async (input, context) => {
165
163
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
166
164
  const headers = {};
167
165
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vector-enrichment-jobs/{Arn}";
@@ -177,8 +175,8 @@ const serializeAws_restJson1GetVectorEnrichmentJobCommand = async (input, contex
177
175
  body,
178
176
  });
179
177
  };
180
- exports.serializeAws_restJson1GetVectorEnrichmentJobCommand = serializeAws_restJson1GetVectorEnrichmentJobCommand;
181
- const serializeAws_restJson1ListEarthObservationJobsCommand = async (input, context) => {
178
+ exports.se_GetVectorEnrichmentJobCommand = se_GetVectorEnrichmentJobCommand;
179
+ const se_ListEarthObservationJobsCommand = async (input, context) => {
182
180
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
183
181
  const headers = {
184
182
  "content-type": "application/json",
@@ -202,8 +200,8 @@ const serializeAws_restJson1ListEarthObservationJobsCommand = async (input, cont
202
200
  body,
203
201
  });
204
202
  };
205
- exports.serializeAws_restJson1ListEarthObservationJobsCommand = serializeAws_restJson1ListEarthObservationJobsCommand;
206
- const serializeAws_restJson1ListRasterDataCollectionsCommand = async (input, context) => {
203
+ exports.se_ListEarthObservationJobsCommand = se_ListEarthObservationJobsCommand;
204
+ const se_ListRasterDataCollectionsCommand = async (input, context) => {
207
205
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
208
206
  const headers = {};
209
207
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/raster-data-collections";
@@ -223,8 +221,8 @@ const serializeAws_restJson1ListRasterDataCollectionsCommand = async (input, con
223
221
  body,
224
222
  });
225
223
  };
226
- exports.serializeAws_restJson1ListRasterDataCollectionsCommand = serializeAws_restJson1ListRasterDataCollectionsCommand;
227
- const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
224
+ exports.se_ListRasterDataCollectionsCommand = se_ListRasterDataCollectionsCommand;
225
+ const se_ListTagsForResourceCommand = async (input, context) => {
228
226
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
229
227
  const headers = {};
230
228
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -240,8 +238,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
240
238
  body,
241
239
  });
242
240
  };
243
- exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
244
- const serializeAws_restJson1ListVectorEnrichmentJobsCommand = async (input, context) => {
241
+ exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
242
+ const se_ListVectorEnrichmentJobsCommand = async (input, context) => {
245
243
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
246
244
  const headers = {
247
245
  "content-type": "application/json",
@@ -265,8 +263,8 @@ const serializeAws_restJson1ListVectorEnrichmentJobsCommand = async (input, cont
265
263
  body,
266
264
  });
267
265
  };
268
- exports.serializeAws_restJson1ListVectorEnrichmentJobsCommand = serializeAws_restJson1ListVectorEnrichmentJobsCommand;
269
- const serializeAws_restJson1SearchRasterDataCollectionCommand = async (input, context) => {
266
+ exports.se_ListVectorEnrichmentJobsCommand = se_ListVectorEnrichmentJobsCommand;
267
+ const se_SearchRasterDataCollectionCommand = async (input, context) => {
270
268
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
271
269
  const headers = {
272
270
  "content-type": "application/json",
@@ -277,7 +275,7 @@ const serializeAws_restJson1SearchRasterDataCollectionCommand = async (input, co
277
275
  ...(input.Arn != null && { Arn: input.Arn }),
278
276
  ...(input.NextToken != null && { NextToken: input.NextToken }),
279
277
  ...(input.RasterDataCollectionQuery != null && {
280
- RasterDataCollectionQuery: serializeAws_restJson1RasterDataCollectionQueryWithBandFilterInput(input.RasterDataCollectionQuery, context),
278
+ RasterDataCollectionQuery: se_RasterDataCollectionQueryWithBandFilterInput(input.RasterDataCollectionQuery, context),
281
279
  }),
282
280
  });
283
281
  return new protocol_http_1.HttpRequest({
@@ -290,8 +288,8 @@ const serializeAws_restJson1SearchRasterDataCollectionCommand = async (input, co
290
288
  body,
291
289
  });
292
290
  };
293
- exports.serializeAws_restJson1SearchRasterDataCollectionCommand = serializeAws_restJson1SearchRasterDataCollectionCommand;
294
- const serializeAws_restJson1StartEarthObservationJobCommand = async (input, context) => {
291
+ exports.se_SearchRasterDataCollectionCommand = se_SearchRasterDataCollectionCommand;
292
+ const se_StartEarthObservationJobCommand = async (input, context) => {
295
293
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
296
294
  const headers = {
297
295
  "content-type": "application/json",
@@ -301,13 +299,11 @@ const serializeAws_restJson1StartEarthObservationJobCommand = async (input, cont
301
299
  body = JSON.stringify({
302
300
  ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
303
301
  ...(input.ExecutionRoleArn != null && { ExecutionRoleArn: input.ExecutionRoleArn }),
304
- ...(input.InputConfig != null && {
305
- InputConfig: serializeAws_restJson1InputConfigInput(input.InputConfig, context),
306
- }),
307
- ...(input.JobConfig != null && { JobConfig: serializeAws_restJson1JobConfigInput(input.JobConfig, context) }),
302
+ ...(input.InputConfig != null && { InputConfig: se_InputConfigInput(input.InputConfig, context) }),
303
+ ...(input.JobConfig != null && { JobConfig: se_JobConfigInput(input.JobConfig, context) }),
308
304
  ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
309
305
  ...(input.Name != null && { Name: input.Name }),
310
- ...(input.Tags != null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
306
+ ...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
311
307
  });
312
308
  return new protocol_http_1.HttpRequest({
313
309
  protocol,
@@ -319,8 +315,8 @@ const serializeAws_restJson1StartEarthObservationJobCommand = async (input, cont
319
315
  body,
320
316
  });
321
317
  };
322
- exports.serializeAws_restJson1StartEarthObservationJobCommand = serializeAws_restJson1StartEarthObservationJobCommand;
323
- const serializeAws_restJson1StartVectorEnrichmentJobCommand = async (input, context) => {
318
+ exports.se_StartEarthObservationJobCommand = se_StartEarthObservationJobCommand;
319
+ const se_StartVectorEnrichmentJobCommand = async (input, context) => {
324
320
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
325
321
  const headers = {
326
322
  "content-type": "application/json",
@@ -330,15 +326,11 @@ const serializeAws_restJson1StartVectorEnrichmentJobCommand = async (input, cont
330
326
  body = JSON.stringify({
331
327
  ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
332
328
  ...(input.ExecutionRoleArn != null && { ExecutionRoleArn: input.ExecutionRoleArn }),
333
- ...(input.InputConfig != null && {
334
- InputConfig: serializeAws_restJson1VectorEnrichmentJobInputConfig(input.InputConfig, context),
335
- }),
336
- ...(input.JobConfig != null && {
337
- JobConfig: serializeAws_restJson1VectorEnrichmentJobConfig(input.JobConfig, context),
338
- }),
329
+ ...(input.InputConfig != null && { InputConfig: se_VectorEnrichmentJobInputConfig(input.InputConfig, context) }),
330
+ ...(input.JobConfig != null && { JobConfig: se_VectorEnrichmentJobConfig(input.JobConfig, context) }),
339
331
  ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
340
332
  ...(input.Name != null && { Name: input.Name }),
341
- ...(input.Tags != null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
333
+ ...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
342
334
  });
343
335
  return new protocol_http_1.HttpRequest({
344
336
  protocol,
@@ -350,8 +342,8 @@ const serializeAws_restJson1StartVectorEnrichmentJobCommand = async (input, cont
350
342
  body,
351
343
  });
352
344
  };
353
- exports.serializeAws_restJson1StartVectorEnrichmentJobCommand = serializeAws_restJson1StartVectorEnrichmentJobCommand;
354
- const serializeAws_restJson1StopEarthObservationJobCommand = async (input, context) => {
345
+ exports.se_StartVectorEnrichmentJobCommand = se_StartVectorEnrichmentJobCommand;
346
+ const se_StopEarthObservationJobCommand = async (input, context) => {
355
347
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
356
348
  const headers = {
357
349
  "content-type": "application/json",
@@ -371,8 +363,8 @@ const serializeAws_restJson1StopEarthObservationJobCommand = async (input, conte
371
363
  body,
372
364
  });
373
365
  };
374
- exports.serializeAws_restJson1StopEarthObservationJobCommand = serializeAws_restJson1StopEarthObservationJobCommand;
375
- const serializeAws_restJson1StopVectorEnrichmentJobCommand = async (input, context) => {
366
+ exports.se_StopEarthObservationJobCommand = se_StopEarthObservationJobCommand;
367
+ const se_StopVectorEnrichmentJobCommand = async (input, context) => {
376
368
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
377
369
  const headers = {
378
370
  "content-type": "application/json",
@@ -392,8 +384,8 @@ const serializeAws_restJson1StopVectorEnrichmentJobCommand = async (input, conte
392
384
  body,
393
385
  });
394
386
  };
395
- exports.serializeAws_restJson1StopVectorEnrichmentJobCommand = serializeAws_restJson1StopVectorEnrichmentJobCommand;
396
- const serializeAws_restJson1TagResourceCommand = async (input, context) => {
387
+ exports.se_StopVectorEnrichmentJobCommand = se_StopVectorEnrichmentJobCommand;
388
+ const se_TagResourceCommand = async (input, context) => {
397
389
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
398
390
  const headers = {
399
391
  "content-type": "application/json",
@@ -402,7 +394,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
402
394
  resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
403
395
  let body;
404
396
  body = JSON.stringify({
405
- ...(input.Tags != null && { Tags: serializeAws_restJson1Tags(input.Tags, context) }),
397
+ ...(input.Tags != null && { Tags: se_Tags(input.Tags, context) }),
406
398
  });
407
399
  return new protocol_http_1.HttpRequest({
408
400
  protocol,
@@ -414,8 +406,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
414
406
  body,
415
407
  });
416
408
  };
417
- exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
418
- const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
409
+ exports.se_TagResourceCommand = se_TagResourceCommand;
410
+ const se_UntagResourceCommand = async (input, context) => {
419
411
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
420
412
  const headers = {};
421
413
  let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
@@ -438,10 +430,10 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
438
430
  body,
439
431
  });
440
432
  };
441
- exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
442
- const deserializeAws_restJson1DeleteEarthObservationJobCommand = async (output, context) => {
433
+ exports.se_UntagResourceCommand = se_UntagResourceCommand;
434
+ const de_DeleteEarthObservationJobCommand = async (output, context) => {
443
435
  if (output.statusCode !== 200 && output.statusCode >= 300) {
444
- return deserializeAws_restJson1DeleteEarthObservationJobCommandError(output, context);
436
+ return de_DeleteEarthObservationJobCommandError(output, context);
445
437
  }
446
438
  const contents = map({
447
439
  $metadata: deserializeMetadata(output),
@@ -449,8 +441,8 @@ const deserializeAws_restJson1DeleteEarthObservationJobCommand = async (output,
449
441
  await collectBody(output.body, context);
450
442
  return contents;
451
443
  };
452
- exports.deserializeAws_restJson1DeleteEarthObservationJobCommand = deserializeAws_restJson1DeleteEarthObservationJobCommand;
453
- const deserializeAws_restJson1DeleteEarthObservationJobCommandError = async (output, context) => {
444
+ exports.de_DeleteEarthObservationJobCommand = de_DeleteEarthObservationJobCommand;
445
+ const de_DeleteEarthObservationJobCommandError = async (output, context) => {
454
446
  const parsedOutput = {
455
447
  ...output,
456
448
  body: await parseErrorBody(output.body, context),
@@ -459,22 +451,22 @@ const deserializeAws_restJson1DeleteEarthObservationJobCommandError = async (out
459
451
  switch (errorCode) {
460
452
  case "AccessDeniedException":
461
453
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
462
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
454
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
463
455
  case "ConflictException":
464
456
  case "com.amazonaws.sagemakergeospatial#ConflictException":
465
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
457
+ throw await de_ConflictExceptionRes(parsedOutput, context);
466
458
  case "InternalServerException":
467
459
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
468
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
460
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
469
461
  case "ResourceNotFoundException":
470
462
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
471
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
463
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
472
464
  case "ThrottlingException":
473
465
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
474
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
466
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
475
467
  case "ValidationException":
476
468
  case "com.amazonaws.sagemakergeospatial#ValidationException":
477
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
469
+ throw await de_ValidationExceptionRes(parsedOutput, context);
478
470
  default:
479
471
  const parsedBody = parsedOutput.body;
480
472
  (0, smithy_client_1.throwDefaultError)({
@@ -485,9 +477,9 @@ const deserializeAws_restJson1DeleteEarthObservationJobCommandError = async (out
485
477
  });
486
478
  }
487
479
  };
488
- const deserializeAws_restJson1DeleteVectorEnrichmentJobCommand = async (output, context) => {
480
+ const de_DeleteVectorEnrichmentJobCommand = async (output, context) => {
489
481
  if (output.statusCode !== 200 && output.statusCode >= 300) {
490
- return deserializeAws_restJson1DeleteVectorEnrichmentJobCommandError(output, context);
482
+ return de_DeleteVectorEnrichmentJobCommandError(output, context);
491
483
  }
492
484
  const contents = map({
493
485
  $metadata: deserializeMetadata(output),
@@ -495,8 +487,8 @@ const deserializeAws_restJson1DeleteVectorEnrichmentJobCommand = async (output,
495
487
  await collectBody(output.body, context);
496
488
  return contents;
497
489
  };
498
- exports.deserializeAws_restJson1DeleteVectorEnrichmentJobCommand = deserializeAws_restJson1DeleteVectorEnrichmentJobCommand;
499
- const deserializeAws_restJson1DeleteVectorEnrichmentJobCommandError = async (output, context) => {
490
+ exports.de_DeleteVectorEnrichmentJobCommand = de_DeleteVectorEnrichmentJobCommand;
491
+ const de_DeleteVectorEnrichmentJobCommandError = async (output, context) => {
500
492
  const parsedOutput = {
501
493
  ...output,
502
494
  body: await parseErrorBody(output.body, context),
@@ -505,22 +497,22 @@ const deserializeAws_restJson1DeleteVectorEnrichmentJobCommandError = async (out
505
497
  switch (errorCode) {
506
498
  case "AccessDeniedException":
507
499
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
508
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
500
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
509
501
  case "ConflictException":
510
502
  case "com.amazonaws.sagemakergeospatial#ConflictException":
511
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
503
+ throw await de_ConflictExceptionRes(parsedOutput, context);
512
504
  case "InternalServerException":
513
505
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
514
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
506
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
515
507
  case "ResourceNotFoundException":
516
508
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
517
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
509
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
518
510
  case "ThrottlingException":
519
511
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
520
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
512
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
521
513
  case "ValidationException":
522
514
  case "com.amazonaws.sagemakergeospatial#ValidationException":
523
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
515
+ throw await de_ValidationExceptionRes(parsedOutput, context);
524
516
  default:
525
517
  const parsedBody = parsedOutput.body;
526
518
  (0, smithy_client_1.throwDefaultError)({
@@ -531,9 +523,9 @@ const deserializeAws_restJson1DeleteVectorEnrichmentJobCommandError = async (out
531
523
  });
532
524
  }
533
525
  };
534
- const deserializeAws_restJson1ExportEarthObservationJobCommand = async (output, context) => {
526
+ const de_ExportEarthObservationJobCommand = async (output, context) => {
535
527
  if (output.statusCode !== 200 && output.statusCode >= 300) {
536
- return deserializeAws_restJson1ExportEarthObservationJobCommandError(output, context);
528
+ return de_ExportEarthObservationJobCommandError(output, context);
537
529
  }
538
530
  const contents = map({
539
531
  $metadata: deserializeMetadata(output),
@@ -555,12 +547,12 @@ const deserializeAws_restJson1ExportEarthObservationJobCommand = async (output,
555
547
  contents.ExportStatus = (0, smithy_client_1.expectString)(data.ExportStatus);
556
548
  }
557
549
  if (data.OutputConfig != null) {
558
- contents.OutputConfig = deserializeAws_restJson1OutputConfigInput(data.OutputConfig, context);
550
+ contents.OutputConfig = de_OutputConfigInput(data.OutputConfig, context);
559
551
  }
560
552
  return contents;
561
553
  };
562
- exports.deserializeAws_restJson1ExportEarthObservationJobCommand = deserializeAws_restJson1ExportEarthObservationJobCommand;
563
- const deserializeAws_restJson1ExportEarthObservationJobCommandError = async (output, context) => {
554
+ exports.de_ExportEarthObservationJobCommand = de_ExportEarthObservationJobCommand;
555
+ const de_ExportEarthObservationJobCommandError = async (output, context) => {
564
556
  const parsedOutput = {
565
557
  ...output,
566
558
  body: await parseErrorBody(output.body, context),
@@ -569,25 +561,25 @@ const deserializeAws_restJson1ExportEarthObservationJobCommandError = async (out
569
561
  switch (errorCode) {
570
562
  case "AccessDeniedException":
571
563
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
572
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
564
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
573
565
  case "ConflictException":
574
566
  case "com.amazonaws.sagemakergeospatial#ConflictException":
575
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
567
+ throw await de_ConflictExceptionRes(parsedOutput, context);
576
568
  case "InternalServerException":
577
569
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
578
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
570
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
579
571
  case "ResourceNotFoundException":
580
572
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
581
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
573
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
582
574
  case "ServiceQuotaExceededException":
583
575
  case "com.amazonaws.sagemakergeospatial#ServiceQuotaExceededException":
584
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
576
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
585
577
  case "ThrottlingException":
586
578
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
587
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
579
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
588
580
  case "ValidationException":
589
581
  case "com.amazonaws.sagemakergeospatial#ValidationException":
590
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
582
+ throw await de_ValidationExceptionRes(parsedOutput, context);
591
583
  default:
592
584
  const parsedBody = parsedOutput.body;
593
585
  (0, smithy_client_1.throwDefaultError)({
@@ -598,9 +590,9 @@ const deserializeAws_restJson1ExportEarthObservationJobCommandError = async (out
598
590
  });
599
591
  }
600
592
  };
601
- const deserializeAws_restJson1ExportVectorEnrichmentJobCommand = async (output, context) => {
593
+ const de_ExportVectorEnrichmentJobCommand = async (output, context) => {
602
594
  if (output.statusCode !== 200 && output.statusCode >= 300) {
603
- return deserializeAws_restJson1ExportVectorEnrichmentJobCommandError(output, context);
595
+ return de_ExportVectorEnrichmentJobCommandError(output, context);
604
596
  }
605
597
  const contents = map({
606
598
  $metadata: deserializeMetadata(output),
@@ -619,12 +611,12 @@ const deserializeAws_restJson1ExportVectorEnrichmentJobCommand = async (output,
619
611
  contents.ExportStatus = (0, smithy_client_1.expectString)(data.ExportStatus);
620
612
  }
621
613
  if (data.OutputConfig != null) {
622
- contents.OutputConfig = deserializeAws_restJson1ExportVectorEnrichmentJobOutputConfig(data.OutputConfig, context);
614
+ contents.OutputConfig = de_ExportVectorEnrichmentJobOutputConfig(data.OutputConfig, context);
623
615
  }
624
616
  return contents;
625
617
  };
626
- exports.deserializeAws_restJson1ExportVectorEnrichmentJobCommand = deserializeAws_restJson1ExportVectorEnrichmentJobCommand;
627
- const deserializeAws_restJson1ExportVectorEnrichmentJobCommandError = async (output, context) => {
618
+ exports.de_ExportVectorEnrichmentJobCommand = de_ExportVectorEnrichmentJobCommand;
619
+ const de_ExportVectorEnrichmentJobCommandError = async (output, context) => {
628
620
  const parsedOutput = {
629
621
  ...output,
630
622
  body: await parseErrorBody(output.body, context),
@@ -633,25 +625,25 @@ const deserializeAws_restJson1ExportVectorEnrichmentJobCommandError = async (out
633
625
  switch (errorCode) {
634
626
  case "AccessDeniedException":
635
627
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
636
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
628
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
637
629
  case "ConflictException":
638
630
  case "com.amazonaws.sagemakergeospatial#ConflictException":
639
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
631
+ throw await de_ConflictExceptionRes(parsedOutput, context);
640
632
  case "InternalServerException":
641
633
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
642
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
634
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
643
635
  case "ResourceNotFoundException":
644
636
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
645
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
637
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
646
638
  case "ServiceQuotaExceededException":
647
639
  case "com.amazonaws.sagemakergeospatial#ServiceQuotaExceededException":
648
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
640
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
649
641
  case "ThrottlingException":
650
642
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
651
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
643
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
652
644
  case "ValidationException":
653
645
  case "com.amazonaws.sagemakergeospatial#ValidationException":
654
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
646
+ throw await de_ValidationExceptionRes(parsedOutput, context);
655
647
  default:
656
648
  const parsedBody = parsedOutput.body;
657
649
  (0, smithy_client_1.throwDefaultError)({
@@ -662,9 +654,9 @@ const deserializeAws_restJson1ExportVectorEnrichmentJobCommandError = async (out
662
654
  });
663
655
  }
664
656
  };
665
- const deserializeAws_restJson1GetEarthObservationJobCommand = async (output, context) => {
657
+ const de_GetEarthObservationJobCommand = async (output, context) => {
666
658
  if (output.statusCode !== 200 && output.statusCode >= 300) {
667
- return deserializeAws_restJson1GetEarthObservationJobCommandError(output, context);
659
+ return de_GetEarthObservationJobCommandError(output, context);
668
660
  }
669
661
  const contents = map({
670
662
  $metadata: deserializeMetadata(output),
@@ -680,22 +672,22 @@ const deserializeAws_restJson1GetEarthObservationJobCommand = async (output, con
680
672
  contents.DurationInSeconds = (0, smithy_client_1.expectInt32)(data.DurationInSeconds);
681
673
  }
682
674
  if (data.ErrorDetails != null) {
683
- contents.ErrorDetails = deserializeAws_restJson1EarthObservationJobErrorDetails(data.ErrorDetails, context);
675
+ contents.ErrorDetails = de_EarthObservationJobErrorDetails(data.ErrorDetails, context);
684
676
  }
685
677
  if (data.ExecutionRoleArn != null) {
686
678
  contents.ExecutionRoleArn = (0, smithy_client_1.expectString)(data.ExecutionRoleArn);
687
679
  }
688
680
  if (data.ExportErrorDetails != null) {
689
- contents.ExportErrorDetails = deserializeAws_restJson1ExportErrorDetails(data.ExportErrorDetails, context);
681
+ contents.ExportErrorDetails = de_ExportErrorDetails(data.ExportErrorDetails, context);
690
682
  }
691
683
  if (data.ExportStatus != null) {
692
684
  contents.ExportStatus = (0, smithy_client_1.expectString)(data.ExportStatus);
693
685
  }
694
686
  if (data.InputConfig != null) {
695
- contents.InputConfig = deserializeAws_restJson1InputConfigOutput(data.InputConfig, context);
687
+ contents.InputConfig = de_InputConfigOutput(data.InputConfig, context);
696
688
  }
697
689
  if (data.JobConfig != null) {
698
- contents.JobConfig = deserializeAws_restJson1JobConfigInput((0, smithy_client_1.expectUnion)(data.JobConfig), context);
690
+ contents.JobConfig = de_JobConfigInput((0, smithy_client_1.expectUnion)(data.JobConfig), context);
699
691
  }
700
692
  if (data.KmsKeyId != null) {
701
693
  contents.KmsKeyId = (0, smithy_client_1.expectString)(data.KmsKeyId);
@@ -704,18 +696,18 @@ const deserializeAws_restJson1GetEarthObservationJobCommand = async (output, con
704
696
  contents.Name = (0, smithy_client_1.expectString)(data.Name);
705
697
  }
706
698
  if (data.OutputBands != null) {
707
- contents.OutputBands = deserializeAws_restJson1EarthObservationJobOutputBands(data.OutputBands, context);
699
+ contents.OutputBands = de_EarthObservationJobOutputBands(data.OutputBands, context);
708
700
  }
709
701
  if (data.Status != null) {
710
702
  contents.Status = (0, smithy_client_1.expectString)(data.Status);
711
703
  }
712
704
  if (data.Tags != null) {
713
- contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
705
+ contents.Tags = de_Tags(data.Tags, context);
714
706
  }
715
707
  return contents;
716
708
  };
717
- exports.deserializeAws_restJson1GetEarthObservationJobCommand = deserializeAws_restJson1GetEarthObservationJobCommand;
718
- const deserializeAws_restJson1GetEarthObservationJobCommandError = async (output, context) => {
709
+ exports.de_GetEarthObservationJobCommand = de_GetEarthObservationJobCommand;
710
+ const de_GetEarthObservationJobCommandError = async (output, context) => {
719
711
  const parsedOutput = {
720
712
  ...output,
721
713
  body: await parseErrorBody(output.body, context),
@@ -724,19 +716,19 @@ const deserializeAws_restJson1GetEarthObservationJobCommandError = async (output
724
716
  switch (errorCode) {
725
717
  case "AccessDeniedException":
726
718
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
727
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
719
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
728
720
  case "InternalServerException":
729
721
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
730
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
722
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
731
723
  case "ResourceNotFoundException":
732
724
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
733
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
725
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
734
726
  case "ThrottlingException":
735
727
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
736
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
728
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
737
729
  case "ValidationException":
738
730
  case "com.amazonaws.sagemakergeospatial#ValidationException":
739
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
731
+ throw await de_ValidationExceptionRes(parsedOutput, context);
740
732
  default:
741
733
  const parsedBody = parsedOutput.body;
742
734
  (0, smithy_client_1.throwDefaultError)({
@@ -747,9 +739,9 @@ const deserializeAws_restJson1GetEarthObservationJobCommandError = async (output
747
739
  });
748
740
  }
749
741
  };
750
- const deserializeAws_restJson1GetRasterDataCollectionCommand = async (output, context) => {
742
+ const de_GetRasterDataCollectionCommand = async (output, context) => {
751
743
  if (output.statusCode !== 200 && output.statusCode >= 300) {
752
- return deserializeAws_restJson1GetRasterDataCollectionCommandError(output, context);
744
+ return de_GetRasterDataCollectionCommandError(output, context);
753
745
  }
754
746
  const contents = map({
755
747
  $metadata: deserializeMetadata(output),
@@ -765,24 +757,24 @@ const deserializeAws_restJson1GetRasterDataCollectionCommand = async (output, co
765
757
  contents.DescriptionPageUrl = (0, smithy_client_1.expectString)(data.DescriptionPageUrl);
766
758
  }
767
759
  if (data.ImageSourceBands != null) {
768
- contents.ImageSourceBands = deserializeAws_restJson1ImageSourceBandList(data.ImageSourceBands, context);
760
+ contents.ImageSourceBands = de_ImageSourceBandList(data.ImageSourceBands, context);
769
761
  }
770
762
  if (data.Name != null) {
771
763
  contents.Name = (0, smithy_client_1.expectString)(data.Name);
772
764
  }
773
765
  if (data.SupportedFilters != null) {
774
- contents.SupportedFilters = deserializeAws_restJson1FilterList(data.SupportedFilters, context);
766
+ contents.SupportedFilters = de_FilterList(data.SupportedFilters, context);
775
767
  }
776
768
  if (data.Tags != null) {
777
- contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
769
+ contents.Tags = de_Tags(data.Tags, context);
778
770
  }
779
771
  if (data.Type != null) {
780
772
  contents.Type = (0, smithy_client_1.expectString)(data.Type);
781
773
  }
782
774
  return contents;
783
775
  };
784
- exports.deserializeAws_restJson1GetRasterDataCollectionCommand = deserializeAws_restJson1GetRasterDataCollectionCommand;
785
- const deserializeAws_restJson1GetRasterDataCollectionCommandError = async (output, context) => {
776
+ exports.de_GetRasterDataCollectionCommand = de_GetRasterDataCollectionCommand;
777
+ const de_GetRasterDataCollectionCommandError = async (output, context) => {
786
778
  const parsedOutput = {
787
779
  ...output,
788
780
  body: await parseErrorBody(output.body, context),
@@ -791,19 +783,19 @@ const deserializeAws_restJson1GetRasterDataCollectionCommandError = async (outpu
791
783
  switch (errorCode) {
792
784
  case "AccessDeniedException":
793
785
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
794
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
786
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
795
787
  case "InternalServerException":
796
788
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
797
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
789
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
798
790
  case "ResourceNotFoundException":
799
791
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
800
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
792
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
801
793
  case "ThrottlingException":
802
794
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
803
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
795
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
804
796
  case "ValidationException":
805
797
  case "com.amazonaws.sagemakergeospatial#ValidationException":
806
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
798
+ throw await de_ValidationExceptionRes(parsedOutput, context);
807
799
  default:
808
800
  const parsedBody = parsedOutput.body;
809
801
  (0, smithy_client_1.throwDefaultError)({
@@ -814,9 +806,9 @@ const deserializeAws_restJson1GetRasterDataCollectionCommandError = async (outpu
814
806
  });
815
807
  }
816
808
  };
817
- const deserializeAws_restJson1GetTileCommand = async (output, context) => {
809
+ const de_GetTileCommand = async (output, context) => {
818
810
  if (output.statusCode !== 200 && output.statusCode >= 300) {
819
- return deserializeAws_restJson1GetTileCommandError(output, context);
811
+ return de_GetTileCommandError(output, context);
820
812
  }
821
813
  const contents = map({
822
814
  $metadata: deserializeMetadata(output),
@@ -826,8 +818,8 @@ const deserializeAws_restJson1GetTileCommand = async (output, context) => {
826
818
  contents.BinaryFile = data;
827
819
  return contents;
828
820
  };
829
- exports.deserializeAws_restJson1GetTileCommand = deserializeAws_restJson1GetTileCommand;
830
- const deserializeAws_restJson1GetTileCommandError = async (output, context) => {
821
+ exports.de_GetTileCommand = de_GetTileCommand;
822
+ const de_GetTileCommandError = async (output, context) => {
831
823
  const parsedOutput = {
832
824
  ...output,
833
825
  body: await parseErrorBody(output.body, context),
@@ -836,19 +828,19 @@ const deserializeAws_restJson1GetTileCommandError = async (output, context) => {
836
828
  switch (errorCode) {
837
829
  case "AccessDeniedException":
838
830
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
839
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
831
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
840
832
  case "InternalServerException":
841
833
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
842
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
834
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
843
835
  case "ResourceNotFoundException":
844
836
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
845
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
837
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
846
838
  case "ThrottlingException":
847
839
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
848
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
840
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
849
841
  case "ValidationException":
850
842
  case "com.amazonaws.sagemakergeospatial#ValidationException":
851
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
843
+ throw await de_ValidationExceptionRes(parsedOutput, context);
852
844
  default:
853
845
  const parsedBody = parsedOutput.body;
854
846
  (0, smithy_client_1.throwDefaultError)({
@@ -859,9 +851,9 @@ const deserializeAws_restJson1GetTileCommandError = async (output, context) => {
859
851
  });
860
852
  }
861
853
  };
862
- const deserializeAws_restJson1GetVectorEnrichmentJobCommand = async (output, context) => {
854
+ const de_GetVectorEnrichmentJobCommand = async (output, context) => {
863
855
  if (output.statusCode !== 200 && output.statusCode >= 300) {
864
- return deserializeAws_restJson1GetVectorEnrichmentJobCommandError(output, context);
856
+ return de_GetVectorEnrichmentJobCommandError(output, context);
865
857
  }
866
858
  const contents = map({
867
859
  $metadata: deserializeMetadata(output),
@@ -877,22 +869,22 @@ const deserializeAws_restJson1GetVectorEnrichmentJobCommand = async (output, con
877
869
  contents.DurationInSeconds = (0, smithy_client_1.expectInt32)(data.DurationInSeconds);
878
870
  }
879
871
  if (data.ErrorDetails != null) {
880
- contents.ErrorDetails = deserializeAws_restJson1VectorEnrichmentJobErrorDetails(data.ErrorDetails, context);
872
+ contents.ErrorDetails = de_VectorEnrichmentJobErrorDetails(data.ErrorDetails, context);
881
873
  }
882
874
  if (data.ExecutionRoleArn != null) {
883
875
  contents.ExecutionRoleArn = (0, smithy_client_1.expectString)(data.ExecutionRoleArn);
884
876
  }
885
877
  if (data.ExportErrorDetails != null) {
886
- contents.ExportErrorDetails = deserializeAws_restJson1VectorEnrichmentJobExportErrorDetails(data.ExportErrorDetails, context);
878
+ contents.ExportErrorDetails = de_VectorEnrichmentJobExportErrorDetails(data.ExportErrorDetails, context);
887
879
  }
888
880
  if (data.ExportStatus != null) {
889
881
  contents.ExportStatus = (0, smithy_client_1.expectString)(data.ExportStatus);
890
882
  }
891
883
  if (data.InputConfig != null) {
892
- contents.InputConfig = deserializeAws_restJson1VectorEnrichmentJobInputConfig(data.InputConfig, context);
884
+ contents.InputConfig = de_VectorEnrichmentJobInputConfig(data.InputConfig, context);
893
885
  }
894
886
  if (data.JobConfig != null) {
895
- contents.JobConfig = deserializeAws_restJson1VectorEnrichmentJobConfig((0, smithy_client_1.expectUnion)(data.JobConfig), context);
887
+ contents.JobConfig = de_VectorEnrichmentJobConfig((0, smithy_client_1.expectUnion)(data.JobConfig), context);
896
888
  }
897
889
  if (data.KmsKeyId != null) {
898
890
  contents.KmsKeyId = (0, smithy_client_1.expectString)(data.KmsKeyId);
@@ -904,15 +896,15 @@ const deserializeAws_restJson1GetVectorEnrichmentJobCommand = async (output, con
904
896
  contents.Status = (0, smithy_client_1.expectString)(data.Status);
905
897
  }
906
898
  if (data.Tags != null) {
907
- contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
899
+ contents.Tags = de_Tags(data.Tags, context);
908
900
  }
909
901
  if (data.Type != null) {
910
902
  contents.Type = (0, smithy_client_1.expectString)(data.Type);
911
903
  }
912
904
  return contents;
913
905
  };
914
- exports.deserializeAws_restJson1GetVectorEnrichmentJobCommand = deserializeAws_restJson1GetVectorEnrichmentJobCommand;
915
- const deserializeAws_restJson1GetVectorEnrichmentJobCommandError = async (output, context) => {
906
+ exports.de_GetVectorEnrichmentJobCommand = de_GetVectorEnrichmentJobCommand;
907
+ const de_GetVectorEnrichmentJobCommandError = async (output, context) => {
916
908
  const parsedOutput = {
917
909
  ...output,
918
910
  body: await parseErrorBody(output.body, context),
@@ -921,19 +913,19 @@ const deserializeAws_restJson1GetVectorEnrichmentJobCommandError = async (output
921
913
  switch (errorCode) {
922
914
  case "AccessDeniedException":
923
915
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
924
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
916
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
925
917
  case "InternalServerException":
926
918
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
927
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
919
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
928
920
  case "ResourceNotFoundException":
929
921
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
930
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
922
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
931
923
  case "ThrottlingException":
932
924
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
933
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
925
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
934
926
  case "ValidationException":
935
927
  case "com.amazonaws.sagemakergeospatial#ValidationException":
936
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
928
+ throw await de_ValidationExceptionRes(parsedOutput, context);
937
929
  default:
938
930
  const parsedBody = parsedOutput.body;
939
931
  (0, smithy_client_1.throwDefaultError)({
@@ -944,24 +936,24 @@ const deserializeAws_restJson1GetVectorEnrichmentJobCommandError = async (output
944
936
  });
945
937
  }
946
938
  };
947
- const deserializeAws_restJson1ListEarthObservationJobsCommand = async (output, context) => {
939
+ const de_ListEarthObservationJobsCommand = async (output, context) => {
948
940
  if (output.statusCode !== 200 && output.statusCode >= 300) {
949
- return deserializeAws_restJson1ListEarthObservationJobsCommandError(output, context);
941
+ return de_ListEarthObservationJobsCommandError(output, context);
950
942
  }
951
943
  const contents = map({
952
944
  $metadata: deserializeMetadata(output),
953
945
  });
954
946
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
955
947
  if (data.EarthObservationJobSummaries != null) {
956
- contents.EarthObservationJobSummaries = deserializeAws_restJson1EarthObservationJobList(data.EarthObservationJobSummaries, context);
948
+ contents.EarthObservationJobSummaries = de_EarthObservationJobList(data.EarthObservationJobSummaries, context);
957
949
  }
958
950
  if (data.NextToken != null) {
959
951
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
960
952
  }
961
953
  return contents;
962
954
  };
963
- exports.deserializeAws_restJson1ListEarthObservationJobsCommand = deserializeAws_restJson1ListEarthObservationJobsCommand;
964
- const deserializeAws_restJson1ListEarthObservationJobsCommandError = async (output, context) => {
955
+ exports.de_ListEarthObservationJobsCommand = de_ListEarthObservationJobsCommand;
956
+ const de_ListEarthObservationJobsCommandError = async (output, context) => {
965
957
  const parsedOutput = {
966
958
  ...output,
967
959
  body: await parseErrorBody(output.body, context),
@@ -970,19 +962,19 @@ const deserializeAws_restJson1ListEarthObservationJobsCommandError = async (outp
970
962
  switch (errorCode) {
971
963
  case "AccessDeniedException":
972
964
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
973
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
965
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
974
966
  case "InternalServerException":
975
967
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
976
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
968
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
977
969
  case "ResourceNotFoundException":
978
970
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
979
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
971
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
980
972
  case "ThrottlingException":
981
973
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
982
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
974
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
983
975
  case "ValidationException":
984
976
  case "com.amazonaws.sagemakergeospatial#ValidationException":
985
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
977
+ throw await de_ValidationExceptionRes(parsedOutput, context);
986
978
  default:
987
979
  const parsedBody = parsedOutput.body;
988
980
  (0, smithy_client_1.throwDefaultError)({
@@ -993,9 +985,9 @@ const deserializeAws_restJson1ListEarthObservationJobsCommandError = async (outp
993
985
  });
994
986
  }
995
987
  };
996
- const deserializeAws_restJson1ListRasterDataCollectionsCommand = async (output, context) => {
988
+ const de_ListRasterDataCollectionsCommand = async (output, context) => {
997
989
  if (output.statusCode !== 200 && output.statusCode >= 300) {
998
- return deserializeAws_restJson1ListRasterDataCollectionsCommandError(output, context);
990
+ return de_ListRasterDataCollectionsCommandError(output, context);
999
991
  }
1000
992
  const contents = map({
1001
993
  $metadata: deserializeMetadata(output),
@@ -1005,12 +997,12 @@ const deserializeAws_restJson1ListRasterDataCollectionsCommand = async (output,
1005
997
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1006
998
  }
1007
999
  if (data.RasterDataCollectionSummaries != null) {
1008
- contents.RasterDataCollectionSummaries = deserializeAws_restJson1DataCollectionsList(data.RasterDataCollectionSummaries, context);
1000
+ contents.RasterDataCollectionSummaries = de_DataCollectionsList(data.RasterDataCollectionSummaries, context);
1009
1001
  }
1010
1002
  return contents;
1011
1003
  };
1012
- exports.deserializeAws_restJson1ListRasterDataCollectionsCommand = deserializeAws_restJson1ListRasterDataCollectionsCommand;
1013
- const deserializeAws_restJson1ListRasterDataCollectionsCommandError = async (output, context) => {
1004
+ exports.de_ListRasterDataCollectionsCommand = de_ListRasterDataCollectionsCommand;
1005
+ const de_ListRasterDataCollectionsCommandError = async (output, context) => {
1014
1006
  const parsedOutput = {
1015
1007
  ...output,
1016
1008
  body: await parseErrorBody(output.body, context),
@@ -1019,19 +1011,19 @@ const deserializeAws_restJson1ListRasterDataCollectionsCommandError = async (out
1019
1011
  switch (errorCode) {
1020
1012
  case "AccessDeniedException":
1021
1013
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1022
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1014
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1023
1015
  case "InternalServerException":
1024
1016
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
1025
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1017
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1026
1018
  case "ResourceNotFoundException":
1027
1019
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1028
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1020
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1029
1021
  case "ThrottlingException":
1030
1022
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1031
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1023
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1032
1024
  case "ValidationException":
1033
1025
  case "com.amazonaws.sagemakergeospatial#ValidationException":
1034
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1026
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1035
1027
  default:
1036
1028
  const parsedBody = parsedOutput.body;
1037
1029
  (0, smithy_client_1.throwDefaultError)({
@@ -1042,21 +1034,21 @@ const deserializeAws_restJson1ListRasterDataCollectionsCommandError = async (out
1042
1034
  });
1043
1035
  }
1044
1036
  };
1045
- const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
1037
+ const de_ListTagsForResourceCommand = async (output, context) => {
1046
1038
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1047
- return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
1039
+ return de_ListTagsForResourceCommandError(output, context);
1048
1040
  }
1049
1041
  const contents = map({
1050
1042
  $metadata: deserializeMetadata(output),
1051
1043
  });
1052
1044
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1053
1045
  if (data.Tags != null) {
1054
- contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
1046
+ contents.Tags = de_Tags(data.Tags, context);
1055
1047
  }
1056
1048
  return contents;
1057
1049
  };
1058
- exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
1059
- const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
1050
+ exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
1051
+ const de_ListTagsForResourceCommandError = async (output, context) => {
1060
1052
  const parsedOutput = {
1061
1053
  ...output,
1062
1054
  body: await parseErrorBody(output.body, context),
@@ -1065,19 +1057,19 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1065
1057
  switch (errorCode) {
1066
1058
  case "AccessDeniedException":
1067
1059
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1068
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1060
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1069
1061
  case "InternalServerException":
1070
1062
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
1071
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1063
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1072
1064
  case "ResourceNotFoundException":
1073
1065
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1074
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1066
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1075
1067
  case "ThrottlingException":
1076
1068
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1077
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1069
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1078
1070
  case "ValidationException":
1079
1071
  case "com.amazonaws.sagemakergeospatial#ValidationException":
1080
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1072
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1081
1073
  default:
1082
1074
  const parsedBody = parsedOutput.body;
1083
1075
  (0, smithy_client_1.throwDefaultError)({
@@ -1088,9 +1080,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
1088
1080
  });
1089
1081
  }
1090
1082
  };
1091
- const deserializeAws_restJson1ListVectorEnrichmentJobsCommand = async (output, context) => {
1083
+ const de_ListVectorEnrichmentJobsCommand = async (output, context) => {
1092
1084
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1093
- return deserializeAws_restJson1ListVectorEnrichmentJobsCommandError(output, context);
1085
+ return de_ListVectorEnrichmentJobsCommandError(output, context);
1094
1086
  }
1095
1087
  const contents = map({
1096
1088
  $metadata: deserializeMetadata(output),
@@ -1100,12 +1092,12 @@ const deserializeAws_restJson1ListVectorEnrichmentJobsCommand = async (output, c
1100
1092
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1101
1093
  }
1102
1094
  if (data.VectorEnrichmentJobSummaries != null) {
1103
- contents.VectorEnrichmentJobSummaries = deserializeAws_restJson1VectorEnrichmentJobList(data.VectorEnrichmentJobSummaries, context);
1095
+ contents.VectorEnrichmentJobSummaries = de_VectorEnrichmentJobList(data.VectorEnrichmentJobSummaries, context);
1104
1096
  }
1105
1097
  return contents;
1106
1098
  };
1107
- exports.deserializeAws_restJson1ListVectorEnrichmentJobsCommand = deserializeAws_restJson1ListVectorEnrichmentJobsCommand;
1108
- const deserializeAws_restJson1ListVectorEnrichmentJobsCommandError = async (output, context) => {
1099
+ exports.de_ListVectorEnrichmentJobsCommand = de_ListVectorEnrichmentJobsCommand;
1100
+ const de_ListVectorEnrichmentJobsCommandError = async (output, context) => {
1109
1101
  const parsedOutput = {
1110
1102
  ...output,
1111
1103
  body: await parseErrorBody(output.body, context),
@@ -1114,19 +1106,19 @@ const deserializeAws_restJson1ListVectorEnrichmentJobsCommandError = async (outp
1114
1106
  switch (errorCode) {
1115
1107
  case "AccessDeniedException":
1116
1108
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1117
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1109
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1118
1110
  case "InternalServerException":
1119
1111
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
1120
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1112
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1121
1113
  case "ResourceNotFoundException":
1122
1114
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1123
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1115
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1124
1116
  case "ThrottlingException":
1125
1117
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1126
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1118
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1127
1119
  case "ValidationException":
1128
1120
  case "com.amazonaws.sagemakergeospatial#ValidationException":
1129
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1121
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1130
1122
  default:
1131
1123
  const parsedBody = parsedOutput.body;
1132
1124
  (0, smithy_client_1.throwDefaultError)({
@@ -1137,9 +1129,9 @@ const deserializeAws_restJson1ListVectorEnrichmentJobsCommandError = async (outp
1137
1129
  });
1138
1130
  }
1139
1131
  };
1140
- const deserializeAws_restJson1SearchRasterDataCollectionCommand = async (output, context) => {
1132
+ const de_SearchRasterDataCollectionCommand = async (output, context) => {
1141
1133
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1142
- return deserializeAws_restJson1SearchRasterDataCollectionCommandError(output, context);
1134
+ return de_SearchRasterDataCollectionCommandError(output, context);
1143
1135
  }
1144
1136
  const contents = map({
1145
1137
  $metadata: deserializeMetadata(output),
@@ -1149,15 +1141,15 @@ const deserializeAws_restJson1SearchRasterDataCollectionCommand = async (output,
1149
1141
  contents.ApproximateResultCount = (0, smithy_client_1.expectInt32)(data.ApproximateResultCount);
1150
1142
  }
1151
1143
  if (data.Items != null) {
1152
- contents.Items = deserializeAws_restJson1ItemSourceList(data.Items, context);
1144
+ contents.Items = de_ItemSourceList(data.Items, context);
1153
1145
  }
1154
1146
  if (data.NextToken != null) {
1155
1147
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
1156
1148
  }
1157
1149
  return contents;
1158
1150
  };
1159
- exports.deserializeAws_restJson1SearchRasterDataCollectionCommand = deserializeAws_restJson1SearchRasterDataCollectionCommand;
1160
- const deserializeAws_restJson1SearchRasterDataCollectionCommandError = async (output, context) => {
1151
+ exports.de_SearchRasterDataCollectionCommand = de_SearchRasterDataCollectionCommand;
1152
+ const de_SearchRasterDataCollectionCommandError = async (output, context) => {
1161
1153
  const parsedOutput = {
1162
1154
  ...output,
1163
1155
  body: await parseErrorBody(output.body, context),
@@ -1166,19 +1158,19 @@ const deserializeAws_restJson1SearchRasterDataCollectionCommandError = async (ou
1166
1158
  switch (errorCode) {
1167
1159
  case "AccessDeniedException":
1168
1160
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1169
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1161
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1170
1162
  case "InternalServerException":
1171
1163
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
1172
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1164
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1173
1165
  case "ResourceNotFoundException":
1174
1166
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1175
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1167
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1176
1168
  case "ThrottlingException":
1177
1169
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1178
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1170
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1179
1171
  case "ValidationException":
1180
1172
  case "com.amazonaws.sagemakergeospatial#ValidationException":
1181
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1173
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1182
1174
  default:
1183
1175
  const parsedBody = parsedOutput.body;
1184
1176
  (0, smithy_client_1.throwDefaultError)({
@@ -1189,9 +1181,9 @@ const deserializeAws_restJson1SearchRasterDataCollectionCommandError = async (ou
1189
1181
  });
1190
1182
  }
1191
1183
  };
1192
- const deserializeAws_restJson1StartEarthObservationJobCommand = async (output, context) => {
1184
+ const de_StartEarthObservationJobCommand = async (output, context) => {
1193
1185
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1194
- return deserializeAws_restJson1StartEarthObservationJobCommandError(output, context);
1186
+ return de_StartEarthObservationJobCommandError(output, context);
1195
1187
  }
1196
1188
  const contents = map({
1197
1189
  $metadata: deserializeMetadata(output),
@@ -1210,10 +1202,10 @@ const deserializeAws_restJson1StartEarthObservationJobCommand = async (output, c
1210
1202
  contents.ExecutionRoleArn = (0, smithy_client_1.expectString)(data.ExecutionRoleArn);
1211
1203
  }
1212
1204
  if (data.InputConfig != null) {
1213
- contents.InputConfig = deserializeAws_restJson1InputConfigOutput(data.InputConfig, context);
1205
+ contents.InputConfig = de_InputConfigOutput(data.InputConfig, context);
1214
1206
  }
1215
1207
  if (data.JobConfig != null) {
1216
- contents.JobConfig = deserializeAws_restJson1JobConfigInput((0, smithy_client_1.expectUnion)(data.JobConfig), context);
1208
+ contents.JobConfig = de_JobConfigInput((0, smithy_client_1.expectUnion)(data.JobConfig), context);
1217
1209
  }
1218
1210
  if (data.KmsKeyId != null) {
1219
1211
  contents.KmsKeyId = (0, smithy_client_1.expectString)(data.KmsKeyId);
@@ -1225,12 +1217,12 @@ const deserializeAws_restJson1StartEarthObservationJobCommand = async (output, c
1225
1217
  contents.Status = (0, smithy_client_1.expectString)(data.Status);
1226
1218
  }
1227
1219
  if (data.Tags != null) {
1228
- contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
1220
+ contents.Tags = de_Tags(data.Tags, context);
1229
1221
  }
1230
1222
  return contents;
1231
1223
  };
1232
- exports.deserializeAws_restJson1StartEarthObservationJobCommand = deserializeAws_restJson1StartEarthObservationJobCommand;
1233
- const deserializeAws_restJson1StartEarthObservationJobCommandError = async (output, context) => {
1224
+ exports.de_StartEarthObservationJobCommand = de_StartEarthObservationJobCommand;
1225
+ const de_StartEarthObservationJobCommandError = async (output, context) => {
1234
1226
  const parsedOutput = {
1235
1227
  ...output,
1236
1228
  body: await parseErrorBody(output.body, context),
@@ -1239,25 +1231,25 @@ const deserializeAws_restJson1StartEarthObservationJobCommandError = async (outp
1239
1231
  switch (errorCode) {
1240
1232
  case "AccessDeniedException":
1241
1233
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1242
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1234
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1243
1235
  case "ConflictException":
1244
1236
  case "com.amazonaws.sagemakergeospatial#ConflictException":
1245
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1237
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1246
1238
  case "InternalServerException":
1247
1239
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
1248
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1240
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1249
1241
  case "ResourceNotFoundException":
1250
1242
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1251
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1243
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1252
1244
  case "ServiceQuotaExceededException":
1253
1245
  case "com.amazonaws.sagemakergeospatial#ServiceQuotaExceededException":
1254
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1246
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1255
1247
  case "ThrottlingException":
1256
1248
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1257
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1249
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1258
1250
  case "ValidationException":
1259
1251
  case "com.amazonaws.sagemakergeospatial#ValidationException":
1260
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1252
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1261
1253
  default:
1262
1254
  const parsedBody = parsedOutput.body;
1263
1255
  (0, smithy_client_1.throwDefaultError)({
@@ -1268,9 +1260,9 @@ const deserializeAws_restJson1StartEarthObservationJobCommandError = async (outp
1268
1260
  });
1269
1261
  }
1270
1262
  };
1271
- const deserializeAws_restJson1StartVectorEnrichmentJobCommand = async (output, context) => {
1263
+ const de_StartVectorEnrichmentJobCommand = async (output, context) => {
1272
1264
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1273
- return deserializeAws_restJson1StartVectorEnrichmentJobCommandError(output, context);
1265
+ return de_StartVectorEnrichmentJobCommandError(output, context);
1274
1266
  }
1275
1267
  const contents = map({
1276
1268
  $metadata: deserializeMetadata(output),
@@ -1289,10 +1281,10 @@ const deserializeAws_restJson1StartVectorEnrichmentJobCommand = async (output, c
1289
1281
  contents.ExecutionRoleArn = (0, smithy_client_1.expectString)(data.ExecutionRoleArn);
1290
1282
  }
1291
1283
  if (data.InputConfig != null) {
1292
- contents.InputConfig = deserializeAws_restJson1VectorEnrichmentJobInputConfig(data.InputConfig, context);
1284
+ contents.InputConfig = de_VectorEnrichmentJobInputConfig(data.InputConfig, context);
1293
1285
  }
1294
1286
  if (data.JobConfig != null) {
1295
- contents.JobConfig = deserializeAws_restJson1VectorEnrichmentJobConfig((0, smithy_client_1.expectUnion)(data.JobConfig), context);
1287
+ contents.JobConfig = de_VectorEnrichmentJobConfig((0, smithy_client_1.expectUnion)(data.JobConfig), context);
1296
1288
  }
1297
1289
  if (data.KmsKeyId != null) {
1298
1290
  contents.KmsKeyId = (0, smithy_client_1.expectString)(data.KmsKeyId);
@@ -1304,15 +1296,15 @@ const deserializeAws_restJson1StartVectorEnrichmentJobCommand = async (output, c
1304
1296
  contents.Status = (0, smithy_client_1.expectString)(data.Status);
1305
1297
  }
1306
1298
  if (data.Tags != null) {
1307
- contents.Tags = deserializeAws_restJson1Tags(data.Tags, context);
1299
+ contents.Tags = de_Tags(data.Tags, context);
1308
1300
  }
1309
1301
  if (data.Type != null) {
1310
1302
  contents.Type = (0, smithy_client_1.expectString)(data.Type);
1311
1303
  }
1312
1304
  return contents;
1313
1305
  };
1314
- exports.deserializeAws_restJson1StartVectorEnrichmentJobCommand = deserializeAws_restJson1StartVectorEnrichmentJobCommand;
1315
- const deserializeAws_restJson1StartVectorEnrichmentJobCommandError = async (output, context) => {
1306
+ exports.de_StartVectorEnrichmentJobCommand = de_StartVectorEnrichmentJobCommand;
1307
+ const de_StartVectorEnrichmentJobCommandError = async (output, context) => {
1316
1308
  const parsedOutput = {
1317
1309
  ...output,
1318
1310
  body: await parseErrorBody(output.body, context),
@@ -1321,25 +1313,25 @@ const deserializeAws_restJson1StartVectorEnrichmentJobCommandError = async (outp
1321
1313
  switch (errorCode) {
1322
1314
  case "AccessDeniedException":
1323
1315
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1324
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1316
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1325
1317
  case "ConflictException":
1326
1318
  case "com.amazonaws.sagemakergeospatial#ConflictException":
1327
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1319
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1328
1320
  case "InternalServerException":
1329
1321
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
1330
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1322
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1331
1323
  case "ResourceNotFoundException":
1332
1324
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1333
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1325
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1334
1326
  case "ServiceQuotaExceededException":
1335
1327
  case "com.amazonaws.sagemakergeospatial#ServiceQuotaExceededException":
1336
- throw await deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context);
1328
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1337
1329
  case "ThrottlingException":
1338
1330
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1339
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1331
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1340
1332
  case "ValidationException":
1341
1333
  case "com.amazonaws.sagemakergeospatial#ValidationException":
1342
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1334
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1343
1335
  default:
1344
1336
  const parsedBody = parsedOutput.body;
1345
1337
  (0, smithy_client_1.throwDefaultError)({
@@ -1350,9 +1342,9 @@ const deserializeAws_restJson1StartVectorEnrichmentJobCommandError = async (outp
1350
1342
  });
1351
1343
  }
1352
1344
  };
1353
- const deserializeAws_restJson1StopEarthObservationJobCommand = async (output, context) => {
1345
+ const de_StopEarthObservationJobCommand = async (output, context) => {
1354
1346
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1355
- return deserializeAws_restJson1StopEarthObservationJobCommandError(output, context);
1347
+ return de_StopEarthObservationJobCommandError(output, context);
1356
1348
  }
1357
1349
  const contents = map({
1358
1350
  $metadata: deserializeMetadata(output),
@@ -1360,8 +1352,8 @@ const deserializeAws_restJson1StopEarthObservationJobCommand = async (output, co
1360
1352
  await collectBody(output.body, context);
1361
1353
  return contents;
1362
1354
  };
1363
- exports.deserializeAws_restJson1StopEarthObservationJobCommand = deserializeAws_restJson1StopEarthObservationJobCommand;
1364
- const deserializeAws_restJson1StopEarthObservationJobCommandError = async (output, context) => {
1355
+ exports.de_StopEarthObservationJobCommand = de_StopEarthObservationJobCommand;
1356
+ const de_StopEarthObservationJobCommandError = async (output, context) => {
1365
1357
  const parsedOutput = {
1366
1358
  ...output,
1367
1359
  body: await parseErrorBody(output.body, context),
@@ -1370,22 +1362,22 @@ const deserializeAws_restJson1StopEarthObservationJobCommandError = async (outpu
1370
1362
  switch (errorCode) {
1371
1363
  case "AccessDeniedException":
1372
1364
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1373
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1365
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1374
1366
  case "ConflictException":
1375
1367
  case "com.amazonaws.sagemakergeospatial#ConflictException":
1376
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1368
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1377
1369
  case "InternalServerException":
1378
1370
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
1379
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1371
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1380
1372
  case "ResourceNotFoundException":
1381
1373
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1382
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1374
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1383
1375
  case "ThrottlingException":
1384
1376
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1385
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1377
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1386
1378
  case "ValidationException":
1387
1379
  case "com.amazonaws.sagemakergeospatial#ValidationException":
1388
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1380
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1389
1381
  default:
1390
1382
  const parsedBody = parsedOutput.body;
1391
1383
  (0, smithy_client_1.throwDefaultError)({
@@ -1396,9 +1388,9 @@ const deserializeAws_restJson1StopEarthObservationJobCommandError = async (outpu
1396
1388
  });
1397
1389
  }
1398
1390
  };
1399
- const deserializeAws_restJson1StopVectorEnrichmentJobCommand = async (output, context) => {
1391
+ const de_StopVectorEnrichmentJobCommand = async (output, context) => {
1400
1392
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1401
- return deserializeAws_restJson1StopVectorEnrichmentJobCommandError(output, context);
1393
+ return de_StopVectorEnrichmentJobCommandError(output, context);
1402
1394
  }
1403
1395
  const contents = map({
1404
1396
  $metadata: deserializeMetadata(output),
@@ -1406,8 +1398,8 @@ const deserializeAws_restJson1StopVectorEnrichmentJobCommand = async (output, co
1406
1398
  await collectBody(output.body, context);
1407
1399
  return contents;
1408
1400
  };
1409
- exports.deserializeAws_restJson1StopVectorEnrichmentJobCommand = deserializeAws_restJson1StopVectorEnrichmentJobCommand;
1410
- const deserializeAws_restJson1StopVectorEnrichmentJobCommandError = async (output, context) => {
1401
+ exports.de_StopVectorEnrichmentJobCommand = de_StopVectorEnrichmentJobCommand;
1402
+ const de_StopVectorEnrichmentJobCommandError = async (output, context) => {
1411
1403
  const parsedOutput = {
1412
1404
  ...output,
1413
1405
  body: await parseErrorBody(output.body, context),
@@ -1416,22 +1408,22 @@ const deserializeAws_restJson1StopVectorEnrichmentJobCommandError = async (outpu
1416
1408
  switch (errorCode) {
1417
1409
  case "AccessDeniedException":
1418
1410
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1419
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1411
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1420
1412
  case "ConflictException":
1421
1413
  case "com.amazonaws.sagemakergeospatial#ConflictException":
1422
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
1414
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1423
1415
  case "InternalServerException":
1424
1416
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
1425
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1417
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1426
1418
  case "ResourceNotFoundException":
1427
1419
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1428
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1420
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1429
1421
  case "ThrottlingException":
1430
1422
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1431
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1423
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1432
1424
  case "ValidationException":
1433
1425
  case "com.amazonaws.sagemakergeospatial#ValidationException":
1434
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1426
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1435
1427
  default:
1436
1428
  const parsedBody = parsedOutput.body;
1437
1429
  (0, smithy_client_1.throwDefaultError)({
@@ -1442,9 +1434,9 @@ const deserializeAws_restJson1StopVectorEnrichmentJobCommandError = async (outpu
1442
1434
  });
1443
1435
  }
1444
1436
  };
1445
- const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1437
+ const de_TagResourceCommand = async (output, context) => {
1446
1438
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1447
- return deserializeAws_restJson1TagResourceCommandError(output, context);
1439
+ return de_TagResourceCommandError(output, context);
1448
1440
  }
1449
1441
  const contents = map({
1450
1442
  $metadata: deserializeMetadata(output),
@@ -1452,8 +1444,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
1452
1444
  await collectBody(output.body, context);
1453
1445
  return contents;
1454
1446
  };
1455
- exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
1456
- const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
1447
+ exports.de_TagResourceCommand = de_TagResourceCommand;
1448
+ const de_TagResourceCommandError = async (output, context) => {
1457
1449
  const parsedOutput = {
1458
1450
  ...output,
1459
1451
  body: await parseErrorBody(output.body, context),
@@ -1462,19 +1454,19 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1462
1454
  switch (errorCode) {
1463
1455
  case "AccessDeniedException":
1464
1456
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1465
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1457
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1466
1458
  case "InternalServerException":
1467
1459
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
1468
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1460
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1469
1461
  case "ResourceNotFoundException":
1470
1462
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1471
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1463
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1472
1464
  case "ThrottlingException":
1473
1465
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1474
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1466
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1475
1467
  case "ValidationException":
1476
1468
  case "com.amazonaws.sagemakergeospatial#ValidationException":
1477
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1469
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1478
1470
  default:
1479
1471
  const parsedBody = parsedOutput.body;
1480
1472
  (0, smithy_client_1.throwDefaultError)({
@@ -1485,9 +1477,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
1485
1477
  });
1486
1478
  }
1487
1479
  };
1488
- const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
1480
+ const de_UntagResourceCommand = async (output, context) => {
1489
1481
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1490
- return deserializeAws_restJson1UntagResourceCommandError(output, context);
1482
+ return de_UntagResourceCommandError(output, context);
1491
1483
  }
1492
1484
  const contents = map({
1493
1485
  $metadata: deserializeMetadata(output),
@@ -1495,8 +1487,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
1495
1487
  await collectBody(output.body, context);
1496
1488
  return contents;
1497
1489
  };
1498
- exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
1499
- const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
1490
+ exports.de_UntagResourceCommand = de_UntagResourceCommand;
1491
+ const de_UntagResourceCommandError = async (output, context) => {
1500
1492
  const parsedOutput = {
1501
1493
  ...output,
1502
1494
  body: await parseErrorBody(output.body, context),
@@ -1505,19 +1497,19 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1505
1497
  switch (errorCode) {
1506
1498
  case "AccessDeniedException":
1507
1499
  case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1508
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
1500
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1509
1501
  case "InternalServerException":
1510
1502
  case "com.amazonaws.sagemakergeospatial#InternalServerException":
1511
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1503
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1512
1504
  case "ResourceNotFoundException":
1513
1505
  case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1514
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1506
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1515
1507
  case "ThrottlingException":
1516
1508
  case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1517
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
1509
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1518
1510
  case "ValidationException":
1519
1511
  case "com.amazonaws.sagemakergeospatial#ValidationException":
1520
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
1512
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1521
1513
  default:
1522
1514
  const parsedBody = parsedOutput.body;
1523
1515
  (0, smithy_client_1.throwDefaultError)({
@@ -1529,7 +1521,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
1529
1521
  }
1530
1522
  };
1531
1523
  const map = smithy_client_1.map;
1532
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
1524
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1533
1525
  const contents = map({});
1534
1526
  const data = parsedOutput.body;
1535
1527
  if (data.Message != null) {
@@ -1541,7 +1533,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
1541
1533
  });
1542
1534
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1543
1535
  };
1544
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
1536
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
1545
1537
  const contents = map({});
1546
1538
  const data = parsedOutput.body;
1547
1539
  if (data.Message != null) {
@@ -1556,7 +1548,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
1556
1548
  });
1557
1549
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1558
1550
  };
1559
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1551
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1560
1552
  const contents = map({});
1561
1553
  const data = parsedOutput.body;
1562
1554
  if (data.Message != null) {
@@ -1571,7 +1563,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
1571
1563
  });
1572
1564
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1573
1565
  };
1574
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1566
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1575
1567
  const contents = map({});
1576
1568
  const data = parsedOutput.body;
1577
1569
  if (data.Message != null) {
@@ -1586,7 +1578,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
1586
1578
  });
1587
1579
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1588
1580
  };
1589
- const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1581
+ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1590
1582
  const contents = map({});
1591
1583
  const data = parsedOutput.body;
1592
1584
  if (data.Message != null) {
@@ -1601,7 +1593,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
1601
1593
  });
1602
1594
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1603
1595
  };
1604
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
1596
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1605
1597
  const contents = map({});
1606
1598
  const data = parsedOutput.body;
1607
1599
  if (data.Message != null) {
@@ -1616,7 +1608,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
1616
1608
  });
1617
1609
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1618
1610
  };
1619
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
1611
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
1620
1612
  const contents = map({});
1621
1613
  const data = parsedOutput.body;
1622
1614
  if (data.Message != null) {
@@ -1631,151 +1623,131 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
1631
1623
  });
1632
1624
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1633
1625
  };
1634
- const serializeAws_restJson1AreaOfInterest = (input, context) => {
1626
+ const se_AreaOfInterest = (input, context) => {
1635
1627
  return models_0_1.AreaOfInterest.visit(input, {
1636
- AreaOfInterestGeometry: (value) => ({
1637
- AreaOfInterestGeometry: serializeAws_restJson1AreaOfInterestGeometry(value, context),
1638
- }),
1628
+ AreaOfInterestGeometry: (value) => ({ AreaOfInterestGeometry: se_AreaOfInterestGeometry(value, context) }),
1639
1629
  _: (name, value) => ({ name: value }),
1640
1630
  });
1641
1631
  };
1642
- const serializeAws_restJson1AreaOfInterestGeometry = (input, context) => {
1632
+ const se_AreaOfInterestGeometry = (input, context) => {
1643
1633
  return models_0_1.AreaOfInterestGeometry.visit(input, {
1644
- MultiPolygonGeometry: (value) => ({
1645
- MultiPolygonGeometry: serializeAws_restJson1MultiPolygonGeometryInput(value, context),
1646
- }),
1647
- PolygonGeometry: (value) => ({ PolygonGeometry: serializeAws_restJson1PolygonGeometryInput(value, context) }),
1634
+ MultiPolygonGeometry: (value) => ({ MultiPolygonGeometry: se_MultiPolygonGeometryInput(value, context) }),
1635
+ PolygonGeometry: (value) => ({ PolygonGeometry: se_PolygonGeometryInput(value, context) }),
1648
1636
  _: (name, value) => ({ name: value }),
1649
1637
  });
1650
1638
  };
1651
- const serializeAws_restJson1BandMathConfigInput = (input, context) => {
1639
+ const se_BandMathConfigInput = (input, context) => {
1652
1640
  return {
1653
- ...(input.CustomIndices != null && {
1654
- CustomIndices: serializeAws_restJson1CustomIndicesInput(input.CustomIndices, context),
1655
- }),
1656
- ...(input.PredefinedIndices != null && {
1657
- PredefinedIndices: serializeAws_restJson1StringListInput(input.PredefinedIndices, context),
1658
- }),
1641
+ ...(input.CustomIndices != null && { CustomIndices: se_CustomIndicesInput(input.CustomIndices, context) }),
1642
+ ...(input.PredefinedIndices != null && { PredefinedIndices: se_StringListInput(input.PredefinedIndices, context) }),
1659
1643
  };
1660
1644
  };
1661
- const serializeAws_restJson1CloudMaskingConfigInput = (input, context) => {
1645
+ const se_CloudMaskingConfigInput = (input, context) => {
1662
1646
  return {};
1663
1647
  };
1664
- const serializeAws_restJson1CloudRemovalConfigInput = (input, context) => {
1648
+ const se_CloudRemovalConfigInput = (input, context) => {
1665
1649
  return {
1666
1650
  ...(input.AlgorithmName != null && { AlgorithmName: input.AlgorithmName }),
1667
1651
  ...(input.InterpolationValue != null && { InterpolationValue: input.InterpolationValue }),
1668
- ...(input.TargetBands != null && {
1669
- TargetBands: serializeAws_restJson1StringListInput(input.TargetBands, context),
1670
- }),
1652
+ ...(input.TargetBands != null && { TargetBands: se_StringListInput(input.TargetBands, context) }),
1671
1653
  };
1672
1654
  };
1673
- const serializeAws_restJson1CustomIndicesInput = (input, context) => {
1655
+ const se_CustomIndicesInput = (input, context) => {
1674
1656
  return {
1675
- ...(input.Operations != null && {
1676
- Operations: serializeAws_restJson1OperationsListInput(input.Operations, context),
1677
- }),
1657
+ ...(input.Operations != null && { Operations: se_OperationsListInput(input.Operations, context) }),
1678
1658
  };
1679
1659
  };
1680
- const serializeAws_restJson1EoCloudCoverInput = (input, context) => {
1660
+ const se_EoCloudCoverInput = (input, context) => {
1681
1661
  return {
1682
1662
  ...(input.LowerBound != null && { LowerBound: (0, smithy_client_1.serializeFloat)(input.LowerBound) }),
1683
1663
  ...(input.UpperBound != null && { UpperBound: (0, smithy_client_1.serializeFloat)(input.UpperBound) }),
1684
1664
  };
1685
1665
  };
1686
- const serializeAws_restJson1EojDataSourceConfigInput = (input, context) => {
1666
+ const se_EojDataSourceConfigInput = (input, context) => {
1687
1667
  return models_0_1.EojDataSourceConfigInput.visit(input, {
1688
- S3Data: (value) => ({ S3Data: serializeAws_restJson1S3DataInput(value, context) }),
1668
+ S3Data: (value) => ({ S3Data: se_S3DataInput(value, context) }),
1689
1669
  _: (name, value) => ({ name: value }),
1690
1670
  });
1691
1671
  };
1692
- const serializeAws_restJson1ExportS3DataInput = (input, context) => {
1672
+ const se_ExportS3DataInput = (input, context) => {
1693
1673
  return {
1694
1674
  ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
1695
1675
  ...(input.S3Uri != null && { S3Uri: input.S3Uri }),
1696
1676
  };
1697
1677
  };
1698
- const serializeAws_restJson1ExportVectorEnrichmentJobOutputConfig = (input, context) => {
1678
+ const se_ExportVectorEnrichmentJobOutputConfig = (input, context) => {
1699
1679
  return {
1700
- ...(input.S3Data != null && { S3Data: serializeAws_restJson1VectorEnrichmentJobS3Data(input.S3Data, context) }),
1680
+ ...(input.S3Data != null && { S3Data: se_VectorEnrichmentJobS3Data(input.S3Data, context) }),
1701
1681
  };
1702
1682
  };
1703
- const serializeAws_restJson1GeoMosaicConfigInput = (input, context) => {
1683
+ const se_GeoMosaicConfigInput = (input, context) => {
1704
1684
  return {
1705
1685
  ...(input.AlgorithmName != null && { AlgorithmName: input.AlgorithmName }),
1706
- ...(input.TargetBands != null && {
1707
- TargetBands: serializeAws_restJson1StringListInput(input.TargetBands, context),
1708
- }),
1686
+ ...(input.TargetBands != null && { TargetBands: se_StringListInput(input.TargetBands, context) }),
1709
1687
  };
1710
1688
  };
1711
- const serializeAws_restJson1InputConfigInput = (input, context) => {
1689
+ const se_InputConfigInput = (input, context) => {
1712
1690
  return {
1713
1691
  ...(input.DataSourceConfig != null && {
1714
- DataSourceConfig: serializeAws_restJson1EojDataSourceConfigInput(input.DataSourceConfig, context),
1692
+ DataSourceConfig: se_EojDataSourceConfigInput(input.DataSourceConfig, context),
1715
1693
  }),
1716
1694
  ...(input.PreviousEarthObservationJobArn != null && {
1717
1695
  PreviousEarthObservationJobArn: input.PreviousEarthObservationJobArn,
1718
1696
  }),
1719
1697
  ...(input.RasterDataCollectionQuery != null && {
1720
- RasterDataCollectionQuery: serializeAws_restJson1RasterDataCollectionQueryInput(input.RasterDataCollectionQuery, context),
1698
+ RasterDataCollectionQuery: se_RasterDataCollectionQueryInput(input.RasterDataCollectionQuery, context),
1721
1699
  }),
1722
1700
  };
1723
1701
  };
1724
- const serializeAws_restJson1JobConfigInput = (input, context) => {
1702
+ const se_JobConfigInput = (input, context) => {
1725
1703
  return models_0_1.JobConfigInput.visit(input, {
1726
- BandMathConfig: (value) => ({ BandMathConfig: serializeAws_restJson1BandMathConfigInput(value, context) }),
1727
- CloudMaskingConfig: (value) => ({
1728
- CloudMaskingConfig: serializeAws_restJson1CloudMaskingConfigInput(value, context),
1729
- }),
1730
- CloudRemovalConfig: (value) => ({
1731
- CloudRemovalConfig: serializeAws_restJson1CloudRemovalConfigInput(value, context),
1732
- }),
1733
- GeoMosaicConfig: (value) => ({ GeoMosaicConfig: serializeAws_restJson1GeoMosaicConfigInput(value, context) }),
1704
+ BandMathConfig: (value) => ({ BandMathConfig: se_BandMathConfigInput(value, context) }),
1705
+ CloudMaskingConfig: (value) => ({ CloudMaskingConfig: se_CloudMaskingConfigInput(value, context) }),
1706
+ CloudRemovalConfig: (value) => ({ CloudRemovalConfig: se_CloudRemovalConfigInput(value, context) }),
1707
+ GeoMosaicConfig: (value) => ({ GeoMosaicConfig: se_GeoMosaicConfigInput(value, context) }),
1734
1708
  LandCoverSegmentationConfig: (value) => ({
1735
- LandCoverSegmentationConfig: serializeAws_restJson1LandCoverSegmentationConfigInput(value, context),
1709
+ LandCoverSegmentationConfig: se_LandCoverSegmentationConfigInput(value, context),
1736
1710
  }),
1737
- ResamplingConfig: (value) => ({ ResamplingConfig: serializeAws_restJson1ResamplingConfigInput(value, context) }),
1738
- StackConfig: (value) => ({ StackConfig: serializeAws_restJson1StackConfigInput(value, context) }),
1711
+ ResamplingConfig: (value) => ({ ResamplingConfig: se_ResamplingConfigInput(value, context) }),
1712
+ StackConfig: (value) => ({ StackConfig: se_StackConfigInput(value, context) }),
1739
1713
  TemporalStatisticsConfig: (value) => ({
1740
- TemporalStatisticsConfig: serializeAws_restJson1TemporalStatisticsConfigInput(value, context),
1741
- }),
1742
- ZonalStatisticsConfig: (value) => ({
1743
- ZonalStatisticsConfig: serializeAws_restJson1ZonalStatisticsConfigInput(value, context),
1714
+ TemporalStatisticsConfig: se_TemporalStatisticsConfigInput(value, context),
1744
1715
  }),
1716
+ ZonalStatisticsConfig: (value) => ({ ZonalStatisticsConfig: se_ZonalStatisticsConfigInput(value, context) }),
1745
1717
  _: (name, value) => ({ name: value }),
1746
1718
  });
1747
1719
  };
1748
- const serializeAws_restJson1LandCoverSegmentationConfigInput = (input, context) => {
1720
+ const se_LandCoverSegmentationConfigInput = (input, context) => {
1749
1721
  return {};
1750
1722
  };
1751
- const serializeAws_restJson1LandsatCloudCoverLandInput = (input, context) => {
1723
+ const se_LandsatCloudCoverLandInput = (input, context) => {
1752
1724
  return {
1753
1725
  ...(input.LowerBound != null && { LowerBound: (0, smithy_client_1.serializeFloat)(input.LowerBound) }),
1754
1726
  ...(input.UpperBound != null && { UpperBound: (0, smithy_client_1.serializeFloat)(input.UpperBound) }),
1755
1727
  };
1756
1728
  };
1757
- const serializeAws_restJson1LinearRing = (input, context) => {
1729
+ const se_LinearRing = (input, context) => {
1758
1730
  return input
1759
1731
  .filter((e) => e != null)
1760
1732
  .map((entry) => {
1761
- return serializeAws_restJson1Position(entry, context);
1733
+ return se_Position(entry, context);
1762
1734
  });
1763
1735
  };
1764
- const serializeAws_restJson1LinearRings = (input, context) => {
1736
+ const se_LinearRings = (input, context) => {
1765
1737
  return input
1766
1738
  .filter((e) => e != null)
1767
1739
  .map((entry) => {
1768
- return serializeAws_restJson1LinearRing(entry, context);
1740
+ return se_LinearRing(entry, context);
1769
1741
  });
1770
1742
  };
1771
- const serializeAws_restJson1LinearRingsList = (input, context) => {
1743
+ const se_LinearRingsList = (input, context) => {
1772
1744
  return input
1773
1745
  .filter((e) => e != null)
1774
1746
  .map((entry) => {
1775
- return serializeAws_restJson1LinearRings(entry, context);
1747
+ return se_LinearRings(entry, context);
1776
1748
  });
1777
1749
  };
1778
- const serializeAws_restJson1MapMatchingConfig = (input, context) => {
1750
+ const se_MapMatchingConfig = (input, context) => {
1779
1751
  return {
1780
1752
  ...(input.IdAttributeName != null && { IdAttributeName: input.IdAttributeName }),
1781
1753
  ...(input.TimestampAttributeName != null && { TimestampAttributeName: input.TimestampAttributeName }),
@@ -1783,164 +1755,142 @@ const serializeAws_restJson1MapMatchingConfig = (input, context) => {
1783
1755
  ...(input.YAttributeName != null && { YAttributeName: input.YAttributeName }),
1784
1756
  };
1785
1757
  };
1786
- const serializeAws_restJson1MultiPolygonGeometryInput = (input, context) => {
1758
+ const se_MultiPolygonGeometryInput = (input, context) => {
1787
1759
  return {
1788
- ...(input.Coordinates != null && {
1789
- Coordinates: serializeAws_restJson1LinearRingsList(input.Coordinates, context),
1790
- }),
1760
+ ...(input.Coordinates != null && { Coordinates: se_LinearRingsList(input.Coordinates, context) }),
1791
1761
  };
1792
1762
  };
1793
- const serializeAws_restJson1Operation = (input, context) => {
1763
+ const se_Operation = (input, context) => {
1794
1764
  return {
1795
1765
  ...(input.Equation != null && { Equation: input.Equation }),
1796
1766
  ...(input.Name != null && { Name: input.Name }),
1797
1767
  ...(input.OutputType != null && { OutputType: input.OutputType }),
1798
1768
  };
1799
1769
  };
1800
- const serializeAws_restJson1OperationsListInput = (input, context) => {
1770
+ const se_OperationsListInput = (input, context) => {
1801
1771
  return input
1802
1772
  .filter((e) => e != null)
1803
1773
  .map((entry) => {
1804
- return serializeAws_restJson1Operation(entry, context);
1774
+ return se_Operation(entry, context);
1805
1775
  });
1806
1776
  };
1807
- const serializeAws_restJson1OutputConfigInput = (input, context) => {
1777
+ const se_OutputConfigInput = (input, context) => {
1808
1778
  return {
1809
- ...(input.S3Data != null && { S3Data: serializeAws_restJson1ExportS3DataInput(input.S3Data, context) }),
1779
+ ...(input.S3Data != null && { S3Data: se_ExportS3DataInput(input.S3Data, context) }),
1810
1780
  };
1811
1781
  };
1812
- const serializeAws_restJson1OutputResolutionResamplingInput = (input, context) => {
1782
+ const se_OutputResolutionResamplingInput = (input, context) => {
1813
1783
  return {
1814
- ...(input.UserDefined != null && { UserDefined: serializeAws_restJson1UserDefined(input.UserDefined, context) }),
1784
+ ...(input.UserDefined != null && { UserDefined: se_UserDefined(input.UserDefined, context) }),
1815
1785
  };
1816
1786
  };
1817
- const serializeAws_restJson1OutputResolutionStackInput = (input, context) => {
1787
+ const se_OutputResolutionStackInput = (input, context) => {
1818
1788
  return {
1819
1789
  ...(input.Predefined != null && { Predefined: input.Predefined }),
1820
- ...(input.UserDefined != null && { UserDefined: serializeAws_restJson1UserDefined(input.UserDefined, context) }),
1790
+ ...(input.UserDefined != null && { UserDefined: se_UserDefined(input.UserDefined, context) }),
1821
1791
  };
1822
1792
  };
1823
- const serializeAws_restJson1PlatformInput = (input, context) => {
1793
+ const se_PlatformInput = (input, context) => {
1824
1794
  return {
1825
1795
  ...(input.ComparisonOperator != null && { ComparisonOperator: input.ComparisonOperator }),
1826
1796
  ...(input.Value != null && { Value: input.Value }),
1827
1797
  };
1828
1798
  };
1829
- const serializeAws_restJson1PolygonGeometryInput = (input, context) => {
1799
+ const se_PolygonGeometryInput = (input, context) => {
1830
1800
  return {
1831
- ...(input.Coordinates != null && { Coordinates: serializeAws_restJson1LinearRings(input.Coordinates, context) }),
1801
+ ...(input.Coordinates != null && { Coordinates: se_LinearRings(input.Coordinates, context) }),
1832
1802
  };
1833
1803
  };
1834
- const serializeAws_restJson1Position = (input, context) => {
1804
+ const se_Position = (input, context) => {
1835
1805
  return input
1836
1806
  .filter((e) => e != null)
1837
1807
  .map((entry) => {
1838
1808
  return (0, smithy_client_1.serializeFloat)(entry);
1839
1809
  });
1840
1810
  };
1841
- const serializeAws_restJson1Property = (input, context) => {
1811
+ const se_Property = (input, context) => {
1842
1812
  return models_0_1.Property.visit(input, {
1843
- EoCloudCover: (value) => ({ EoCloudCover: serializeAws_restJson1EoCloudCoverInput(value, context) }),
1844
- LandsatCloudCoverLand: (value) => ({
1845
- LandsatCloudCoverLand: serializeAws_restJson1LandsatCloudCoverLandInput(value, context),
1846
- }),
1847
- Platform: (value) => ({ Platform: serializeAws_restJson1PlatformInput(value, context) }),
1848
- ViewOffNadir: (value) => ({ ViewOffNadir: serializeAws_restJson1ViewOffNadirInput(value, context) }),
1849
- ViewSunAzimuth: (value) => ({ ViewSunAzimuth: serializeAws_restJson1ViewSunAzimuthInput(value, context) }),
1850
- ViewSunElevation: (value) => ({ ViewSunElevation: serializeAws_restJson1ViewSunElevationInput(value, context) }),
1813
+ EoCloudCover: (value) => ({ EoCloudCover: se_EoCloudCoverInput(value, context) }),
1814
+ LandsatCloudCoverLand: (value) => ({ LandsatCloudCoverLand: se_LandsatCloudCoverLandInput(value, context) }),
1815
+ Platform: (value) => ({ Platform: se_PlatformInput(value, context) }),
1816
+ ViewOffNadir: (value) => ({ ViewOffNadir: se_ViewOffNadirInput(value, context) }),
1817
+ ViewSunAzimuth: (value) => ({ ViewSunAzimuth: se_ViewSunAzimuthInput(value, context) }),
1818
+ ViewSunElevation: (value) => ({ ViewSunElevation: se_ViewSunElevationInput(value, context) }),
1851
1819
  _: (name, value) => ({ name: value }),
1852
1820
  });
1853
1821
  };
1854
- const serializeAws_restJson1PropertyFilter = (input, context) => {
1822
+ const se_PropertyFilter = (input, context) => {
1855
1823
  return {
1856
- ...(input.Property != null && { Property: serializeAws_restJson1Property(input.Property, context) }),
1824
+ ...(input.Property != null && { Property: se_Property(input.Property, context) }),
1857
1825
  };
1858
1826
  };
1859
- const serializeAws_restJson1PropertyFilters = (input, context) => {
1827
+ const se_PropertyFilters = (input, context) => {
1860
1828
  return {
1861
1829
  ...(input.LogicalOperator != null && { LogicalOperator: input.LogicalOperator }),
1862
- ...(input.Properties != null && {
1863
- Properties: serializeAws_restJson1PropertyFiltersList(input.Properties, context),
1864
- }),
1830
+ ...(input.Properties != null && { Properties: se_PropertyFiltersList(input.Properties, context) }),
1865
1831
  };
1866
1832
  };
1867
- const serializeAws_restJson1PropertyFiltersList = (input, context) => {
1833
+ const se_PropertyFiltersList = (input, context) => {
1868
1834
  return input
1869
1835
  .filter((e) => e != null)
1870
1836
  .map((entry) => {
1871
- return serializeAws_restJson1PropertyFilter(entry, context);
1837
+ return se_PropertyFilter(entry, context);
1872
1838
  });
1873
1839
  };
1874
- const serializeAws_restJson1RasterDataCollectionQueryInput = (input, context) => {
1840
+ const se_RasterDataCollectionQueryInput = (input, context) => {
1875
1841
  return {
1876
- ...(input.AreaOfInterest != null && {
1877
- AreaOfInterest: serializeAws_restJson1AreaOfInterest(input.AreaOfInterest, context),
1878
- }),
1879
- ...(input.PropertyFilters != null && {
1880
- PropertyFilters: serializeAws_restJson1PropertyFilters(input.PropertyFilters, context),
1881
- }),
1842
+ ...(input.AreaOfInterest != null && { AreaOfInterest: se_AreaOfInterest(input.AreaOfInterest, context) }),
1843
+ ...(input.PropertyFilters != null && { PropertyFilters: se_PropertyFilters(input.PropertyFilters, context) }),
1882
1844
  ...(input.RasterDataCollectionArn != null && { RasterDataCollectionArn: input.RasterDataCollectionArn }),
1883
- ...(input.TimeRangeFilter != null && {
1884
- TimeRangeFilter: serializeAws_restJson1TimeRangeFilterInput(input.TimeRangeFilter, context),
1885
- }),
1845
+ ...(input.TimeRangeFilter != null && { TimeRangeFilter: se_TimeRangeFilterInput(input.TimeRangeFilter, context) }),
1886
1846
  };
1887
1847
  };
1888
- const serializeAws_restJson1RasterDataCollectionQueryWithBandFilterInput = (input, context) => {
1848
+ const se_RasterDataCollectionQueryWithBandFilterInput = (input, context) => {
1889
1849
  return {
1890
- ...(input.AreaOfInterest != null && {
1891
- AreaOfInterest: serializeAws_restJson1AreaOfInterest(input.AreaOfInterest, context),
1892
- }),
1893
- ...(input.BandFilter != null && { BandFilter: serializeAws_restJson1StringListInput(input.BandFilter, context) }),
1894
- ...(input.PropertyFilters != null && {
1895
- PropertyFilters: serializeAws_restJson1PropertyFilters(input.PropertyFilters, context),
1896
- }),
1897
- ...(input.TimeRangeFilter != null && {
1898
- TimeRangeFilter: serializeAws_restJson1TimeRangeFilterInput(input.TimeRangeFilter, context),
1899
- }),
1850
+ ...(input.AreaOfInterest != null && { AreaOfInterest: se_AreaOfInterest(input.AreaOfInterest, context) }),
1851
+ ...(input.BandFilter != null && { BandFilter: se_StringListInput(input.BandFilter, context) }),
1852
+ ...(input.PropertyFilters != null && { PropertyFilters: se_PropertyFilters(input.PropertyFilters, context) }),
1853
+ ...(input.TimeRangeFilter != null && { TimeRangeFilter: se_TimeRangeFilterInput(input.TimeRangeFilter, context) }),
1900
1854
  };
1901
1855
  };
1902
- const serializeAws_restJson1ResamplingConfigInput = (input, context) => {
1856
+ const se_ResamplingConfigInput = (input, context) => {
1903
1857
  return {
1904
1858
  ...(input.AlgorithmName != null && { AlgorithmName: input.AlgorithmName }),
1905
1859
  ...(input.OutputResolution != null && {
1906
- OutputResolution: serializeAws_restJson1OutputResolutionResamplingInput(input.OutputResolution, context),
1907
- }),
1908
- ...(input.TargetBands != null && {
1909
- TargetBands: serializeAws_restJson1StringListInput(input.TargetBands, context),
1860
+ OutputResolution: se_OutputResolutionResamplingInput(input.OutputResolution, context),
1910
1861
  }),
1862
+ ...(input.TargetBands != null && { TargetBands: se_StringListInput(input.TargetBands, context) }),
1911
1863
  };
1912
1864
  };
1913
- const serializeAws_restJson1ReverseGeocodingConfig = (input, context) => {
1865
+ const se_ReverseGeocodingConfig = (input, context) => {
1914
1866
  return {
1915
1867
  ...(input.XAttributeName != null && { XAttributeName: input.XAttributeName }),
1916
1868
  ...(input.YAttributeName != null && { YAttributeName: input.YAttributeName }),
1917
1869
  };
1918
1870
  };
1919
- const serializeAws_restJson1S3DataInput = (input, context) => {
1871
+ const se_S3DataInput = (input, context) => {
1920
1872
  return {
1921
1873
  ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
1922
1874
  ...(input.MetadataProvider != null && { MetadataProvider: input.MetadataProvider }),
1923
1875
  ...(input.S3Uri != null && { S3Uri: input.S3Uri }),
1924
1876
  };
1925
1877
  };
1926
- const serializeAws_restJson1StackConfigInput = (input, context) => {
1878
+ const se_StackConfigInput = (input, context) => {
1927
1879
  return {
1928
1880
  ...(input.OutputResolution != null && {
1929
- OutputResolution: serializeAws_restJson1OutputResolutionStackInput(input.OutputResolution, context),
1930
- }),
1931
- ...(input.TargetBands != null && {
1932
- TargetBands: serializeAws_restJson1StringListInput(input.TargetBands, context),
1881
+ OutputResolution: se_OutputResolutionStackInput(input.OutputResolution, context),
1933
1882
  }),
1883
+ ...(input.TargetBands != null && { TargetBands: se_StringListInput(input.TargetBands, context) }),
1934
1884
  };
1935
1885
  };
1936
- const serializeAws_restJson1StringListInput = (input, context) => {
1886
+ const se_StringListInput = (input, context) => {
1937
1887
  return input
1938
1888
  .filter((e) => e != null)
1939
1889
  .map((entry) => {
1940
1890
  return entry;
1941
1891
  });
1942
1892
  };
1943
- const serializeAws_restJson1Tags = (input, context) => {
1893
+ const se_Tags = (input, context) => {
1944
1894
  return Object.entries(input).reduce((acc, [key, value]) => {
1945
1895
  if (value === null) {
1946
1896
  return acc;
@@ -1949,243 +1899,225 @@ const serializeAws_restJson1Tags = (input, context) => {
1949
1899
  return acc;
1950
1900
  }, {});
1951
1901
  };
1952
- const serializeAws_restJson1TemporalStatisticsConfigInput = (input, context) => {
1902
+ const se_TemporalStatisticsConfigInput = (input, context) => {
1953
1903
  return {
1954
1904
  ...(input.GroupBy != null && { GroupBy: input.GroupBy }),
1955
- ...(input.Statistics != null && {
1956
- Statistics: serializeAws_restJson1TemporalStatisticsListInput(input.Statistics, context),
1957
- }),
1958
- ...(input.TargetBands != null && {
1959
- TargetBands: serializeAws_restJson1StringListInput(input.TargetBands, context),
1960
- }),
1905
+ ...(input.Statistics != null && { Statistics: se_TemporalStatisticsListInput(input.Statistics, context) }),
1906
+ ...(input.TargetBands != null && { TargetBands: se_StringListInput(input.TargetBands, context) }),
1961
1907
  };
1962
1908
  };
1963
- const serializeAws_restJson1TemporalStatisticsListInput = (input, context) => {
1909
+ const se_TemporalStatisticsListInput = (input, context) => {
1964
1910
  return input
1965
1911
  .filter((e) => e != null)
1966
1912
  .map((entry) => {
1967
1913
  return entry;
1968
1914
  });
1969
1915
  };
1970
- const serializeAws_restJson1TimeRangeFilterInput = (input, context) => {
1916
+ const se_TimeRangeFilterInput = (input, context) => {
1971
1917
  return {
1972
1918
  ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
1973
1919
  ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
1974
1920
  };
1975
1921
  };
1976
- const serializeAws_restJson1UserDefined = (input, context) => {
1922
+ const se_UserDefined = (input, context) => {
1977
1923
  return {
1978
1924
  ...(input.Unit != null && { Unit: input.Unit }),
1979
1925
  ...(input.Value != null && { Value: (0, smithy_client_1.serializeFloat)(input.Value) }),
1980
1926
  };
1981
1927
  };
1982
- const serializeAws_restJson1VectorEnrichmentJobConfig = (input, context) => {
1928
+ const se_VectorEnrichmentJobConfig = (input, context) => {
1983
1929
  return models_0_1.VectorEnrichmentJobConfig.visit(input, {
1984
- MapMatchingConfig: (value) => ({ MapMatchingConfig: serializeAws_restJson1MapMatchingConfig(value, context) }),
1985
- ReverseGeocodingConfig: (value) => ({
1986
- ReverseGeocodingConfig: serializeAws_restJson1ReverseGeocodingConfig(value, context),
1987
- }),
1930
+ MapMatchingConfig: (value) => ({ MapMatchingConfig: se_MapMatchingConfig(value, context) }),
1931
+ ReverseGeocodingConfig: (value) => ({ ReverseGeocodingConfig: se_ReverseGeocodingConfig(value, context) }),
1988
1932
  _: (name, value) => ({ name: value }),
1989
1933
  });
1990
1934
  };
1991
- const serializeAws_restJson1VectorEnrichmentJobDataSourceConfigInput = (input, context) => {
1935
+ const se_VectorEnrichmentJobDataSourceConfigInput = (input, context) => {
1992
1936
  return models_0_1.VectorEnrichmentJobDataSourceConfigInput.visit(input, {
1993
- S3Data: (value) => ({ S3Data: serializeAws_restJson1VectorEnrichmentJobS3Data(value, context) }),
1937
+ S3Data: (value) => ({ S3Data: se_VectorEnrichmentJobS3Data(value, context) }),
1994
1938
  _: (name, value) => ({ name: value }),
1995
1939
  });
1996
1940
  };
1997
- const serializeAws_restJson1VectorEnrichmentJobInputConfig = (input, context) => {
1941
+ const se_VectorEnrichmentJobInputConfig = (input, context) => {
1998
1942
  return {
1999
1943
  ...(input.DataSourceConfig != null && {
2000
- DataSourceConfig: serializeAws_restJson1VectorEnrichmentJobDataSourceConfigInput(input.DataSourceConfig, context),
1944
+ DataSourceConfig: se_VectorEnrichmentJobDataSourceConfigInput(input.DataSourceConfig, context),
2001
1945
  }),
2002
1946
  ...(input.DocumentType != null && { DocumentType: input.DocumentType }),
2003
1947
  };
2004
1948
  };
2005
- const serializeAws_restJson1VectorEnrichmentJobS3Data = (input, context) => {
1949
+ const se_VectorEnrichmentJobS3Data = (input, context) => {
2006
1950
  return {
2007
1951
  ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
2008
1952
  ...(input.S3Uri != null && { S3Uri: input.S3Uri }),
2009
1953
  };
2010
1954
  };
2011
- const serializeAws_restJson1ViewOffNadirInput = (input, context) => {
1955
+ const se_ViewOffNadirInput = (input, context) => {
2012
1956
  return {
2013
1957
  ...(input.LowerBound != null && { LowerBound: (0, smithy_client_1.serializeFloat)(input.LowerBound) }),
2014
1958
  ...(input.UpperBound != null && { UpperBound: (0, smithy_client_1.serializeFloat)(input.UpperBound) }),
2015
1959
  };
2016
1960
  };
2017
- const serializeAws_restJson1ViewSunAzimuthInput = (input, context) => {
1961
+ const se_ViewSunAzimuthInput = (input, context) => {
2018
1962
  return {
2019
1963
  ...(input.LowerBound != null && { LowerBound: (0, smithy_client_1.serializeFloat)(input.LowerBound) }),
2020
1964
  ...(input.UpperBound != null && { UpperBound: (0, smithy_client_1.serializeFloat)(input.UpperBound) }),
2021
1965
  };
2022
1966
  };
2023
- const serializeAws_restJson1ViewSunElevationInput = (input, context) => {
1967
+ const se_ViewSunElevationInput = (input, context) => {
2024
1968
  return {
2025
1969
  ...(input.LowerBound != null && { LowerBound: (0, smithy_client_1.serializeFloat)(input.LowerBound) }),
2026
1970
  ...(input.UpperBound != null && { UpperBound: (0, smithy_client_1.serializeFloat)(input.UpperBound) }),
2027
1971
  };
2028
1972
  };
2029
- const serializeAws_restJson1ZonalStatisticsConfigInput = (input, context) => {
1973
+ const se_ZonalStatisticsConfigInput = (input, context) => {
2030
1974
  return {
2031
- ...(input.Statistics != null && {
2032
- Statistics: serializeAws_restJson1ZonalStatisticsListInput(input.Statistics, context),
2033
- }),
2034
- ...(input.TargetBands != null && {
2035
- TargetBands: serializeAws_restJson1StringListInput(input.TargetBands, context),
2036
- }),
1975
+ ...(input.Statistics != null && { Statistics: se_ZonalStatisticsListInput(input.Statistics, context) }),
1976
+ ...(input.TargetBands != null && { TargetBands: se_StringListInput(input.TargetBands, context) }),
2037
1977
  ...(input.ZoneS3Path != null && { ZoneS3Path: input.ZoneS3Path }),
2038
1978
  ...(input.ZoneS3PathKmsKeyId != null && { ZoneS3PathKmsKeyId: input.ZoneS3PathKmsKeyId }),
2039
1979
  };
2040
1980
  };
2041
- const serializeAws_restJson1ZonalStatisticsListInput = (input, context) => {
1981
+ const se_ZonalStatisticsListInput = (input, context) => {
2042
1982
  return input
2043
1983
  .filter((e) => e != null)
2044
1984
  .map((entry) => {
2045
1985
  return entry;
2046
1986
  });
2047
1987
  };
2048
- const deserializeAws_restJson1AreaOfInterest = (output, context) => {
1988
+ const de_AreaOfInterest = (output, context) => {
2049
1989
  if (output.AreaOfInterestGeometry != null) {
2050
1990
  return {
2051
- AreaOfInterestGeometry: deserializeAws_restJson1AreaOfInterestGeometry((0, smithy_client_1.expectUnion)(output.AreaOfInterestGeometry), context),
1991
+ AreaOfInterestGeometry: de_AreaOfInterestGeometry((0, smithy_client_1.expectUnion)(output.AreaOfInterestGeometry), context),
2052
1992
  };
2053
1993
  }
2054
1994
  return { $unknown: Object.entries(output)[0] };
2055
1995
  };
2056
- const deserializeAws_restJson1AreaOfInterestGeometry = (output, context) => {
1996
+ const de_AreaOfInterestGeometry = (output, context) => {
2057
1997
  if (output.MultiPolygonGeometry != null) {
2058
1998
  return {
2059
- MultiPolygonGeometry: deserializeAws_restJson1MultiPolygonGeometryInput(output.MultiPolygonGeometry, context),
1999
+ MultiPolygonGeometry: de_MultiPolygonGeometryInput(output.MultiPolygonGeometry, context),
2060
2000
  };
2061
2001
  }
2062
2002
  if (output.PolygonGeometry != null) {
2063
2003
  return {
2064
- PolygonGeometry: deserializeAws_restJson1PolygonGeometryInput(output.PolygonGeometry, context),
2004
+ PolygonGeometry: de_PolygonGeometryInput(output.PolygonGeometry, context),
2065
2005
  };
2066
2006
  }
2067
2007
  return { $unknown: Object.entries(output)[0] };
2068
2008
  };
2069
- const deserializeAws_restJson1AssetsMap = (output, context) => {
2009
+ const de_AssetsMap = (output, context) => {
2070
2010
  return Object.entries(output).reduce((acc, [key, value]) => {
2071
2011
  if (value === null) {
2072
2012
  return acc;
2073
2013
  }
2074
- acc[key] = deserializeAws_restJson1AssetValue(value, context);
2014
+ acc[key] = de_AssetValue(value, context);
2075
2015
  return acc;
2076
2016
  }, {});
2077
2017
  };
2078
- const deserializeAws_restJson1AssetValue = (output, context) => {
2018
+ const de_AssetValue = (output, context) => {
2079
2019
  return {
2080
2020
  Href: (0, smithy_client_1.expectString)(output.Href),
2081
2021
  };
2082
2022
  };
2083
- const deserializeAws_restJson1BandMathConfigInput = (output, context) => {
2023
+ const de_BandMathConfigInput = (output, context) => {
2084
2024
  return {
2085
- CustomIndices: output.CustomIndices != null
2086
- ? deserializeAws_restJson1CustomIndicesInput(output.CustomIndices, context)
2087
- : undefined,
2088
- PredefinedIndices: output.PredefinedIndices != null
2089
- ? deserializeAws_restJson1StringListInput(output.PredefinedIndices, context)
2090
- : undefined,
2025
+ CustomIndices: output.CustomIndices != null ? de_CustomIndicesInput(output.CustomIndices, context) : undefined,
2026
+ PredefinedIndices: output.PredefinedIndices != null ? de_StringListInput(output.PredefinedIndices, context) : undefined,
2091
2027
  };
2092
2028
  };
2093
- const deserializeAws_restJson1CloudMaskingConfigInput = (output, context) => {
2029
+ const de_CloudMaskingConfigInput = (output, context) => {
2094
2030
  return {};
2095
2031
  };
2096
- const deserializeAws_restJson1CloudRemovalConfigInput = (output, context) => {
2032
+ const de_CloudRemovalConfigInput = (output, context) => {
2097
2033
  return {
2098
2034
  AlgorithmName: (0, smithy_client_1.expectString)(output.AlgorithmName),
2099
2035
  InterpolationValue: (0, smithy_client_1.expectString)(output.InterpolationValue),
2100
- TargetBands: output.TargetBands != null ? deserializeAws_restJson1StringListInput(output.TargetBands, context) : undefined,
2036
+ TargetBands: output.TargetBands != null ? de_StringListInput(output.TargetBands, context) : undefined,
2101
2037
  };
2102
2038
  };
2103
- const deserializeAws_restJson1CustomIndicesInput = (output, context) => {
2039
+ const de_CustomIndicesInput = (output, context) => {
2104
2040
  return {
2105
- Operations: output.Operations != null ? deserializeAws_restJson1OperationsListInput(output.Operations, context) : undefined,
2041
+ Operations: output.Operations != null ? de_OperationsListInput(output.Operations, context) : undefined,
2106
2042
  };
2107
2043
  };
2108
- const deserializeAws_restJson1DataCollectionsList = (output, context) => {
2044
+ const de_DataCollectionsList = (output, context) => {
2109
2045
  const retVal = (output || [])
2110
2046
  .filter((e) => e != null)
2111
2047
  .map((entry) => {
2112
2048
  if (entry === null) {
2113
2049
  return null;
2114
2050
  }
2115
- return deserializeAws_restJson1RasterDataCollectionMetadata(entry, context);
2051
+ return de_RasterDataCollectionMetadata(entry, context);
2116
2052
  });
2117
2053
  return retVal;
2118
2054
  };
2119
- const deserializeAws_restJson1EarthObservationJobErrorDetails = (output, context) => {
2055
+ const de_EarthObservationJobErrorDetails = (output, context) => {
2120
2056
  return {
2121
2057
  Message: (0, smithy_client_1.expectString)(output.Message),
2122
2058
  Type: (0, smithy_client_1.expectString)(output.Type),
2123
2059
  };
2124
2060
  };
2125
- const deserializeAws_restJson1EarthObservationJobList = (output, context) => {
2061
+ const de_EarthObservationJobList = (output, context) => {
2126
2062
  const retVal = (output || [])
2127
2063
  .filter((e) => e != null)
2128
2064
  .map((entry) => {
2129
2065
  if (entry === null) {
2130
2066
  return null;
2131
2067
  }
2132
- return deserializeAws_restJson1ListEarthObservationJobOutputConfig(entry, context);
2068
+ return de_ListEarthObservationJobOutputConfig(entry, context);
2133
2069
  });
2134
2070
  return retVal;
2135
2071
  };
2136
- const deserializeAws_restJson1EarthObservationJobOutputBands = (output, context) => {
2072
+ const de_EarthObservationJobOutputBands = (output, context) => {
2137
2073
  const retVal = (output || [])
2138
2074
  .filter((e) => e != null)
2139
2075
  .map((entry) => {
2140
2076
  if (entry === null) {
2141
2077
  return null;
2142
2078
  }
2143
- return deserializeAws_restJson1OutputBand(entry, context);
2079
+ return de_OutputBand(entry, context);
2144
2080
  });
2145
2081
  return retVal;
2146
2082
  };
2147
- const deserializeAws_restJson1EoCloudCoverInput = (output, context) => {
2083
+ const de_EoCloudCoverInput = (output, context) => {
2148
2084
  return {
2149
2085
  LowerBound: (0, smithy_client_1.limitedParseFloat32)(output.LowerBound),
2150
2086
  UpperBound: (0, smithy_client_1.limitedParseFloat32)(output.UpperBound),
2151
2087
  };
2152
2088
  };
2153
- const deserializeAws_restJson1EojDataSourceConfigInput = (output, context) => {
2089
+ const de_EojDataSourceConfigInput = (output, context) => {
2154
2090
  if (output.S3Data != null) {
2155
2091
  return {
2156
- S3Data: deserializeAws_restJson1S3DataInput(output.S3Data, context),
2092
+ S3Data: de_S3DataInput(output.S3Data, context),
2157
2093
  };
2158
2094
  }
2159
2095
  return { $unknown: Object.entries(output)[0] };
2160
2096
  };
2161
- const deserializeAws_restJson1ExportErrorDetails = (output, context) => {
2097
+ const de_ExportErrorDetails = (output, context) => {
2162
2098
  return {
2163
- ExportResults: output.ExportResults != null
2164
- ? deserializeAws_restJson1ExportErrorDetailsOutput(output.ExportResults, context)
2165
- : undefined,
2166
- ExportSourceImages: output.ExportSourceImages != null
2167
- ? deserializeAws_restJson1ExportErrorDetailsOutput(output.ExportSourceImages, context)
2168
- : undefined,
2099
+ ExportResults: output.ExportResults != null ? de_ExportErrorDetailsOutput(output.ExportResults, context) : undefined,
2100
+ ExportSourceImages: output.ExportSourceImages != null ? de_ExportErrorDetailsOutput(output.ExportSourceImages, context) : undefined,
2169
2101
  };
2170
2102
  };
2171
- const deserializeAws_restJson1ExportErrorDetailsOutput = (output, context) => {
2103
+ const de_ExportErrorDetailsOutput = (output, context) => {
2172
2104
  return {
2173
2105
  Message: (0, smithy_client_1.expectString)(output.Message),
2174
2106
  Type: (0, smithy_client_1.expectString)(output.Type),
2175
2107
  };
2176
2108
  };
2177
- const deserializeAws_restJson1ExportS3DataInput = (output, context) => {
2109
+ const de_ExportS3DataInput = (output, context) => {
2178
2110
  return {
2179
2111
  KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
2180
2112
  S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
2181
2113
  };
2182
2114
  };
2183
- const deserializeAws_restJson1ExportVectorEnrichmentJobOutputConfig = (output, context) => {
2115
+ const de_ExportVectorEnrichmentJobOutputConfig = (output, context) => {
2184
2116
  return {
2185
- S3Data: output.S3Data != null ? deserializeAws_restJson1VectorEnrichmentJobS3Data(output.S3Data, context) : undefined,
2117
+ S3Data: output.S3Data != null ? de_VectorEnrichmentJobS3Data(output.S3Data, context) : undefined,
2186
2118
  };
2187
2119
  };
2188
- const deserializeAws_restJson1Filter = (output, context) => {
2120
+ const de_Filter = (output, context) => {
2189
2121
  return {
2190
2122
  Maximum: (0, smithy_client_1.limitedParseFloat32)(output.Maximum),
2191
2123
  Minimum: (0, smithy_client_1.limitedParseFloat32)(output.Minimum),
@@ -2193,30 +2125,30 @@ const deserializeAws_restJson1Filter = (output, context) => {
2193
2125
  Type: (0, smithy_client_1.expectString)(output.Type),
2194
2126
  };
2195
2127
  };
2196
- const deserializeAws_restJson1FilterList = (output, context) => {
2128
+ const de_FilterList = (output, context) => {
2197
2129
  const retVal = (output || [])
2198
2130
  .filter((e) => e != null)
2199
2131
  .map((entry) => {
2200
2132
  if (entry === null) {
2201
2133
  return null;
2202
2134
  }
2203
- return deserializeAws_restJson1Filter(entry, context);
2135
+ return de_Filter(entry, context);
2204
2136
  });
2205
2137
  return retVal;
2206
2138
  };
2207
- const deserializeAws_restJson1Geometry = (output, context) => {
2139
+ const de_Geometry = (output, context) => {
2208
2140
  return {
2209
- Coordinates: output.Coordinates != null ? deserializeAws_restJson1LinearRings(output.Coordinates, context) : undefined,
2141
+ Coordinates: output.Coordinates != null ? de_LinearRings(output.Coordinates, context) : undefined,
2210
2142
  Type: (0, smithy_client_1.expectString)(output.Type),
2211
2143
  };
2212
2144
  };
2213
- const deserializeAws_restJson1GeoMosaicConfigInput = (output, context) => {
2145
+ const de_GeoMosaicConfigInput = (output, context) => {
2214
2146
  return {
2215
2147
  AlgorithmName: (0, smithy_client_1.expectString)(output.AlgorithmName),
2216
- TargetBands: output.TargetBands != null ? deserializeAws_restJson1StringListInput(output.TargetBands, context) : undefined,
2148
+ TargetBands: output.TargetBands != null ? de_StringListInput(output.TargetBands, context) : undefined,
2217
2149
  };
2218
2150
  };
2219
- const deserializeAws_restJson1ImageSourceBandList = (output, context) => {
2151
+ const de_ImageSourceBandList = (output, context) => {
2220
2152
  const retVal = (output || [])
2221
2153
  .filter((e) => e != null)
2222
2154
  .map((entry) => {
@@ -2227,128 +2159,128 @@ const deserializeAws_restJson1ImageSourceBandList = (output, context) => {
2227
2159
  });
2228
2160
  return retVal;
2229
2161
  };
2230
- const deserializeAws_restJson1InputConfigOutput = (output, context) => {
2162
+ const de_InputConfigOutput = (output, context) => {
2231
2163
  return {
2232
2164
  DataSourceConfig: output.DataSourceConfig != null
2233
- ? deserializeAws_restJson1EojDataSourceConfigInput((0, smithy_client_1.expectUnion)(output.DataSourceConfig), context)
2165
+ ? de_EojDataSourceConfigInput((0, smithy_client_1.expectUnion)(output.DataSourceConfig), context)
2234
2166
  : undefined,
2235
2167
  PreviousEarthObservationJobArn: (0, smithy_client_1.expectString)(output.PreviousEarthObservationJobArn),
2236
2168
  RasterDataCollectionQuery: output.RasterDataCollectionQuery != null
2237
- ? deserializeAws_restJson1RasterDataCollectionQueryOutput(output.RasterDataCollectionQuery, context)
2169
+ ? de_RasterDataCollectionQueryOutput(output.RasterDataCollectionQuery, context)
2238
2170
  : undefined,
2239
2171
  };
2240
2172
  };
2241
- const deserializeAws_restJson1ItemSource = (output, context) => {
2173
+ const de_ItemSource = (output, context) => {
2242
2174
  return {
2243
- Assets: output.Assets != null ? deserializeAws_restJson1AssetsMap(output.Assets, context) : undefined,
2175
+ Assets: output.Assets != null ? de_AssetsMap(output.Assets, context) : undefined,
2244
2176
  DateTime: output.DateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.DateTime))) : undefined,
2245
- Geometry: output.Geometry != null ? deserializeAws_restJson1Geometry(output.Geometry, context) : undefined,
2177
+ Geometry: output.Geometry != null ? de_Geometry(output.Geometry, context) : undefined,
2246
2178
  Id: (0, smithy_client_1.expectString)(output.Id),
2247
- Properties: output.Properties != null ? deserializeAws_restJson1Properties(output.Properties, context) : undefined,
2179
+ Properties: output.Properties != null ? de_Properties(output.Properties, context) : undefined,
2248
2180
  };
2249
2181
  };
2250
- const deserializeAws_restJson1ItemSourceList = (output, context) => {
2182
+ const de_ItemSourceList = (output, context) => {
2251
2183
  const retVal = (output || [])
2252
2184
  .filter((e) => e != null)
2253
2185
  .map((entry) => {
2254
2186
  if (entry === null) {
2255
2187
  return null;
2256
2188
  }
2257
- return deserializeAws_restJson1ItemSource(entry, context);
2189
+ return de_ItemSource(entry, context);
2258
2190
  });
2259
2191
  return retVal;
2260
2192
  };
2261
- const deserializeAws_restJson1JobConfigInput = (output, context) => {
2193
+ const de_JobConfigInput = (output, context) => {
2262
2194
  if (output.BandMathConfig != null) {
2263
2195
  return {
2264
- BandMathConfig: deserializeAws_restJson1BandMathConfigInput(output.BandMathConfig, context),
2196
+ BandMathConfig: de_BandMathConfigInput(output.BandMathConfig, context),
2265
2197
  };
2266
2198
  }
2267
2199
  if (output.CloudMaskingConfig != null) {
2268
2200
  return {
2269
- CloudMaskingConfig: deserializeAws_restJson1CloudMaskingConfigInput(output.CloudMaskingConfig, context),
2201
+ CloudMaskingConfig: de_CloudMaskingConfigInput(output.CloudMaskingConfig, context),
2270
2202
  };
2271
2203
  }
2272
2204
  if (output.CloudRemovalConfig != null) {
2273
2205
  return {
2274
- CloudRemovalConfig: deserializeAws_restJson1CloudRemovalConfigInput(output.CloudRemovalConfig, context),
2206
+ CloudRemovalConfig: de_CloudRemovalConfigInput(output.CloudRemovalConfig, context),
2275
2207
  };
2276
2208
  }
2277
2209
  if (output.GeoMosaicConfig != null) {
2278
2210
  return {
2279
- GeoMosaicConfig: deserializeAws_restJson1GeoMosaicConfigInput(output.GeoMosaicConfig, context),
2211
+ GeoMosaicConfig: de_GeoMosaicConfigInput(output.GeoMosaicConfig, context),
2280
2212
  };
2281
2213
  }
2282
2214
  if (output.LandCoverSegmentationConfig != null) {
2283
2215
  return {
2284
- LandCoverSegmentationConfig: deserializeAws_restJson1LandCoverSegmentationConfigInput(output.LandCoverSegmentationConfig, context),
2216
+ LandCoverSegmentationConfig: de_LandCoverSegmentationConfigInput(output.LandCoverSegmentationConfig, context),
2285
2217
  };
2286
2218
  }
2287
2219
  if (output.ResamplingConfig != null) {
2288
2220
  return {
2289
- ResamplingConfig: deserializeAws_restJson1ResamplingConfigInput(output.ResamplingConfig, context),
2221
+ ResamplingConfig: de_ResamplingConfigInput(output.ResamplingConfig, context),
2290
2222
  };
2291
2223
  }
2292
2224
  if (output.StackConfig != null) {
2293
2225
  return {
2294
- StackConfig: deserializeAws_restJson1StackConfigInput(output.StackConfig, context),
2226
+ StackConfig: de_StackConfigInput(output.StackConfig, context),
2295
2227
  };
2296
2228
  }
2297
2229
  if (output.TemporalStatisticsConfig != null) {
2298
2230
  return {
2299
- TemporalStatisticsConfig: deserializeAws_restJson1TemporalStatisticsConfigInput(output.TemporalStatisticsConfig, context),
2231
+ TemporalStatisticsConfig: de_TemporalStatisticsConfigInput(output.TemporalStatisticsConfig, context),
2300
2232
  };
2301
2233
  }
2302
2234
  if (output.ZonalStatisticsConfig != null) {
2303
2235
  return {
2304
- ZonalStatisticsConfig: deserializeAws_restJson1ZonalStatisticsConfigInput(output.ZonalStatisticsConfig, context),
2236
+ ZonalStatisticsConfig: de_ZonalStatisticsConfigInput(output.ZonalStatisticsConfig, context),
2305
2237
  };
2306
2238
  }
2307
2239
  return { $unknown: Object.entries(output)[0] };
2308
2240
  };
2309
- const deserializeAws_restJson1LandCoverSegmentationConfigInput = (output, context) => {
2241
+ const de_LandCoverSegmentationConfigInput = (output, context) => {
2310
2242
  return {};
2311
2243
  };
2312
- const deserializeAws_restJson1LandsatCloudCoverLandInput = (output, context) => {
2244
+ const de_LandsatCloudCoverLandInput = (output, context) => {
2313
2245
  return {
2314
2246
  LowerBound: (0, smithy_client_1.limitedParseFloat32)(output.LowerBound),
2315
2247
  UpperBound: (0, smithy_client_1.limitedParseFloat32)(output.UpperBound),
2316
2248
  };
2317
2249
  };
2318
- const deserializeAws_restJson1LinearRing = (output, context) => {
2250
+ const de_LinearRing = (output, context) => {
2319
2251
  const retVal = (output || [])
2320
2252
  .filter((e) => e != null)
2321
2253
  .map((entry) => {
2322
2254
  if (entry === null) {
2323
2255
  return null;
2324
2256
  }
2325
- return deserializeAws_restJson1Position(entry, context);
2257
+ return de_Position(entry, context);
2326
2258
  });
2327
2259
  return retVal;
2328
2260
  };
2329
- const deserializeAws_restJson1LinearRings = (output, context) => {
2261
+ const de_LinearRings = (output, context) => {
2330
2262
  const retVal = (output || [])
2331
2263
  .filter((e) => e != null)
2332
2264
  .map((entry) => {
2333
2265
  if (entry === null) {
2334
2266
  return null;
2335
2267
  }
2336
- return deserializeAws_restJson1LinearRing(entry, context);
2268
+ return de_LinearRing(entry, context);
2337
2269
  });
2338
2270
  return retVal;
2339
2271
  };
2340
- const deserializeAws_restJson1LinearRingsList = (output, context) => {
2272
+ const de_LinearRingsList = (output, context) => {
2341
2273
  const retVal = (output || [])
2342
2274
  .filter((e) => e != null)
2343
2275
  .map((entry) => {
2344
2276
  if (entry === null) {
2345
2277
  return null;
2346
2278
  }
2347
- return deserializeAws_restJson1LinearRings(entry, context);
2279
+ return de_LinearRings(entry, context);
2348
2280
  });
2349
2281
  return retVal;
2350
2282
  };
2351
- const deserializeAws_restJson1ListEarthObservationJobOutputConfig = (output, context) => {
2283
+ const de_ListEarthObservationJobOutputConfig = (output, context) => {
2352
2284
  return {
2353
2285
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2354
2286
  CreationTime: output.CreationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationTime)) : undefined,
@@ -2356,21 +2288,21 @@ const deserializeAws_restJson1ListEarthObservationJobOutputConfig = (output, con
2356
2288
  Name: (0, smithy_client_1.expectString)(output.Name),
2357
2289
  OperationType: (0, smithy_client_1.expectString)(output.OperationType),
2358
2290
  Status: (0, smithy_client_1.expectString)(output.Status),
2359
- Tags: output.Tags != null ? deserializeAws_restJson1Tags(output.Tags, context) : undefined,
2291
+ Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
2360
2292
  };
2361
2293
  };
2362
- const deserializeAws_restJson1ListVectorEnrichmentJobOutputConfig = (output, context) => {
2294
+ const de_ListVectorEnrichmentJobOutputConfig = (output, context) => {
2363
2295
  return {
2364
2296
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2365
2297
  CreationTime: output.CreationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationTime)) : undefined,
2366
2298
  DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
2367
2299
  Name: (0, smithy_client_1.expectString)(output.Name),
2368
2300
  Status: (0, smithy_client_1.expectString)(output.Status),
2369
- Tags: output.Tags != null ? deserializeAws_restJson1Tags(output.Tags, context) : undefined,
2301
+ Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
2370
2302
  Type: (0, smithy_client_1.expectString)(output.Type),
2371
2303
  };
2372
2304
  };
2373
- const deserializeAws_restJson1MapMatchingConfig = (output, context) => {
2305
+ const de_MapMatchingConfig = (output, context) => {
2374
2306
  return {
2375
2307
  IdAttributeName: (0, smithy_client_1.expectString)(output.IdAttributeName),
2376
2308
  TimestampAttributeName: (0, smithy_client_1.expectString)(output.TimestampAttributeName),
@@ -2378,63 +2310,63 @@ const deserializeAws_restJson1MapMatchingConfig = (output, context) => {
2378
2310
  YAttributeName: (0, smithy_client_1.expectString)(output.YAttributeName),
2379
2311
  };
2380
2312
  };
2381
- const deserializeAws_restJson1MultiPolygonGeometryInput = (output, context) => {
2313
+ const de_MultiPolygonGeometryInput = (output, context) => {
2382
2314
  return {
2383
- Coordinates: output.Coordinates != null ? deserializeAws_restJson1LinearRingsList(output.Coordinates, context) : undefined,
2315
+ Coordinates: output.Coordinates != null ? de_LinearRingsList(output.Coordinates, context) : undefined,
2384
2316
  };
2385
2317
  };
2386
- const deserializeAws_restJson1Operation = (output, context) => {
2318
+ const de_Operation = (output, context) => {
2387
2319
  return {
2388
2320
  Equation: (0, smithy_client_1.expectString)(output.Equation),
2389
2321
  Name: (0, smithy_client_1.expectString)(output.Name),
2390
2322
  OutputType: (0, smithy_client_1.expectString)(output.OutputType),
2391
2323
  };
2392
2324
  };
2393
- const deserializeAws_restJson1OperationsListInput = (output, context) => {
2325
+ const de_OperationsListInput = (output, context) => {
2394
2326
  const retVal = (output || [])
2395
2327
  .filter((e) => e != null)
2396
2328
  .map((entry) => {
2397
2329
  if (entry === null) {
2398
2330
  return null;
2399
2331
  }
2400
- return deserializeAws_restJson1Operation(entry, context);
2332
+ return de_Operation(entry, context);
2401
2333
  });
2402
2334
  return retVal;
2403
2335
  };
2404
- const deserializeAws_restJson1OutputBand = (output, context) => {
2336
+ const de_OutputBand = (output, context) => {
2405
2337
  return {
2406
2338
  BandName: (0, smithy_client_1.expectString)(output.BandName),
2407
2339
  OutputDataType: (0, smithy_client_1.expectString)(output.OutputDataType),
2408
2340
  };
2409
2341
  };
2410
- const deserializeAws_restJson1OutputConfigInput = (output, context) => {
2342
+ const de_OutputConfigInput = (output, context) => {
2411
2343
  return {
2412
- S3Data: output.S3Data != null ? deserializeAws_restJson1ExportS3DataInput(output.S3Data, context) : undefined,
2344
+ S3Data: output.S3Data != null ? de_ExportS3DataInput(output.S3Data, context) : undefined,
2413
2345
  };
2414
2346
  };
2415
- const deserializeAws_restJson1OutputResolutionResamplingInput = (output, context) => {
2347
+ const de_OutputResolutionResamplingInput = (output, context) => {
2416
2348
  return {
2417
- UserDefined: output.UserDefined != null ? deserializeAws_restJson1UserDefined(output.UserDefined, context) : undefined,
2349
+ UserDefined: output.UserDefined != null ? de_UserDefined(output.UserDefined, context) : undefined,
2418
2350
  };
2419
2351
  };
2420
- const deserializeAws_restJson1OutputResolutionStackInput = (output, context) => {
2352
+ const de_OutputResolutionStackInput = (output, context) => {
2421
2353
  return {
2422
2354
  Predefined: (0, smithy_client_1.expectString)(output.Predefined),
2423
- UserDefined: output.UserDefined != null ? deserializeAws_restJson1UserDefined(output.UserDefined, context) : undefined,
2355
+ UserDefined: output.UserDefined != null ? de_UserDefined(output.UserDefined, context) : undefined,
2424
2356
  };
2425
2357
  };
2426
- const deserializeAws_restJson1PlatformInput = (output, context) => {
2358
+ const de_PlatformInput = (output, context) => {
2427
2359
  return {
2428
2360
  ComparisonOperator: (0, smithy_client_1.expectString)(output.ComparisonOperator),
2429
2361
  Value: (0, smithy_client_1.expectString)(output.Value),
2430
2362
  };
2431
2363
  };
2432
- const deserializeAws_restJson1PolygonGeometryInput = (output, context) => {
2364
+ const de_PolygonGeometryInput = (output, context) => {
2433
2365
  return {
2434
- Coordinates: output.Coordinates != null ? deserializeAws_restJson1LinearRings(output.Coordinates, context) : undefined,
2366
+ Coordinates: output.Coordinates != null ? de_LinearRings(output.Coordinates, context) : undefined,
2435
2367
  };
2436
2368
  };
2437
- const deserializeAws_restJson1Position = (output, context) => {
2369
+ const de_Position = (output, context) => {
2438
2370
  const retVal = (output || [])
2439
2371
  .filter((e) => e != null)
2440
2372
  .map((entry) => {
@@ -2445,7 +2377,7 @@ const deserializeAws_restJson1Position = (output, context) => {
2445
2377
  });
2446
2378
  return retVal;
2447
2379
  };
2448
- const deserializeAws_restJson1Properties = (output, context) => {
2380
+ const de_Properties = (output, context) => {
2449
2381
  return {
2450
2382
  EoCloudCover: (0, smithy_client_1.limitedParseFloat32)(output.EoCloudCover),
2451
2383
  LandsatCloudCoverLand: (0, smithy_client_1.limitedParseFloat32)(output.LandsatCloudCoverLand),
@@ -2455,120 +2387,110 @@ const deserializeAws_restJson1Properties = (output, context) => {
2455
2387
  ViewSunElevation: (0, smithy_client_1.limitedParseFloat32)(output.ViewSunElevation),
2456
2388
  };
2457
2389
  };
2458
- const deserializeAws_restJson1Property = (output, context) => {
2390
+ const de_Property = (output, context) => {
2459
2391
  if (output.EoCloudCover != null) {
2460
2392
  return {
2461
- EoCloudCover: deserializeAws_restJson1EoCloudCoverInput(output.EoCloudCover, context),
2393
+ EoCloudCover: de_EoCloudCoverInput(output.EoCloudCover, context),
2462
2394
  };
2463
2395
  }
2464
2396
  if (output.LandsatCloudCoverLand != null) {
2465
2397
  return {
2466
- LandsatCloudCoverLand: deserializeAws_restJson1LandsatCloudCoverLandInput(output.LandsatCloudCoverLand, context),
2398
+ LandsatCloudCoverLand: de_LandsatCloudCoverLandInput(output.LandsatCloudCoverLand, context),
2467
2399
  };
2468
2400
  }
2469
2401
  if (output.Platform != null) {
2470
2402
  return {
2471
- Platform: deserializeAws_restJson1PlatformInput(output.Platform, context),
2403
+ Platform: de_PlatformInput(output.Platform, context),
2472
2404
  };
2473
2405
  }
2474
2406
  if (output.ViewOffNadir != null) {
2475
2407
  return {
2476
- ViewOffNadir: deserializeAws_restJson1ViewOffNadirInput(output.ViewOffNadir, context),
2408
+ ViewOffNadir: de_ViewOffNadirInput(output.ViewOffNadir, context),
2477
2409
  };
2478
2410
  }
2479
2411
  if (output.ViewSunAzimuth != null) {
2480
2412
  return {
2481
- ViewSunAzimuth: deserializeAws_restJson1ViewSunAzimuthInput(output.ViewSunAzimuth, context),
2413
+ ViewSunAzimuth: de_ViewSunAzimuthInput(output.ViewSunAzimuth, context),
2482
2414
  };
2483
2415
  }
2484
2416
  if (output.ViewSunElevation != null) {
2485
2417
  return {
2486
- ViewSunElevation: deserializeAws_restJson1ViewSunElevationInput(output.ViewSunElevation, context),
2418
+ ViewSunElevation: de_ViewSunElevationInput(output.ViewSunElevation, context),
2487
2419
  };
2488
2420
  }
2489
2421
  return { $unknown: Object.entries(output)[0] };
2490
2422
  };
2491
- const deserializeAws_restJson1PropertyFilter = (output, context) => {
2423
+ const de_PropertyFilter = (output, context) => {
2492
2424
  return {
2493
- Property: output.Property != null ? deserializeAws_restJson1Property((0, smithy_client_1.expectUnion)(output.Property), context) : undefined,
2425
+ Property: output.Property != null ? de_Property((0, smithy_client_1.expectUnion)(output.Property), context) : undefined,
2494
2426
  };
2495
2427
  };
2496
- const deserializeAws_restJson1PropertyFilters = (output, context) => {
2428
+ const de_PropertyFilters = (output, context) => {
2497
2429
  return {
2498
2430
  LogicalOperator: (0, smithy_client_1.expectString)(output.LogicalOperator),
2499
- Properties: output.Properties != null ? deserializeAws_restJson1PropertyFiltersList(output.Properties, context) : undefined,
2431
+ Properties: output.Properties != null ? de_PropertyFiltersList(output.Properties, context) : undefined,
2500
2432
  };
2501
2433
  };
2502
- const deserializeAws_restJson1PropertyFiltersList = (output, context) => {
2434
+ const de_PropertyFiltersList = (output, context) => {
2503
2435
  const retVal = (output || [])
2504
2436
  .filter((e) => e != null)
2505
2437
  .map((entry) => {
2506
2438
  if (entry === null) {
2507
2439
  return null;
2508
2440
  }
2509
- return deserializeAws_restJson1PropertyFilter(entry, context);
2441
+ return de_PropertyFilter(entry, context);
2510
2442
  });
2511
2443
  return retVal;
2512
2444
  };
2513
- const deserializeAws_restJson1RasterDataCollectionMetadata = (output, context) => {
2445
+ const de_RasterDataCollectionMetadata = (output, context) => {
2514
2446
  return {
2515
2447
  Arn: (0, smithy_client_1.expectString)(output.Arn),
2516
2448
  Description: (0, smithy_client_1.expectString)(output.Description),
2517
2449
  DescriptionPageUrl: (0, smithy_client_1.expectString)(output.DescriptionPageUrl),
2518
2450
  Name: (0, smithy_client_1.expectString)(output.Name),
2519
- SupportedFilters: output.SupportedFilters != null
2520
- ? deserializeAws_restJson1FilterList(output.SupportedFilters, context)
2521
- : undefined,
2522
- Tags: output.Tags != null ? deserializeAws_restJson1Tags(output.Tags, context) : undefined,
2451
+ SupportedFilters: output.SupportedFilters != null ? de_FilterList(output.SupportedFilters, context) : undefined,
2452
+ Tags: output.Tags != null ? de_Tags(output.Tags, context) : undefined,
2523
2453
  Type: (0, smithy_client_1.expectString)(output.Type),
2524
2454
  };
2525
2455
  };
2526
- const deserializeAws_restJson1RasterDataCollectionQueryOutput = (output, context) => {
2456
+ const de_RasterDataCollectionQueryOutput = (output, context) => {
2527
2457
  return {
2528
- AreaOfInterest: output.AreaOfInterest != null
2529
- ? deserializeAws_restJson1AreaOfInterest((0, smithy_client_1.expectUnion)(output.AreaOfInterest), context)
2530
- : undefined,
2531
- PropertyFilters: output.PropertyFilters != null
2532
- ? deserializeAws_restJson1PropertyFilters(output.PropertyFilters, context)
2533
- : undefined,
2458
+ AreaOfInterest: output.AreaOfInterest != null ? de_AreaOfInterest((0, smithy_client_1.expectUnion)(output.AreaOfInterest), context) : undefined,
2459
+ PropertyFilters: output.PropertyFilters != null ? de_PropertyFilters(output.PropertyFilters, context) : undefined,
2534
2460
  RasterDataCollectionArn: (0, smithy_client_1.expectString)(output.RasterDataCollectionArn),
2535
2461
  RasterDataCollectionName: (0, smithy_client_1.expectString)(output.RasterDataCollectionName),
2536
- TimeRangeFilter: output.TimeRangeFilter != null
2537
- ? deserializeAws_restJson1TimeRangeFilterOutput(output.TimeRangeFilter, context)
2538
- : undefined,
2462
+ TimeRangeFilter: output.TimeRangeFilter != null ? de_TimeRangeFilterOutput(output.TimeRangeFilter, context) : undefined,
2539
2463
  };
2540
2464
  };
2541
- const deserializeAws_restJson1ResamplingConfigInput = (output, context) => {
2465
+ const de_ResamplingConfigInput = (output, context) => {
2542
2466
  return {
2543
2467
  AlgorithmName: (0, smithy_client_1.expectString)(output.AlgorithmName),
2544
2468
  OutputResolution: output.OutputResolution != null
2545
- ? deserializeAws_restJson1OutputResolutionResamplingInput(output.OutputResolution, context)
2469
+ ? de_OutputResolutionResamplingInput(output.OutputResolution, context)
2546
2470
  : undefined,
2547
- TargetBands: output.TargetBands != null ? deserializeAws_restJson1StringListInput(output.TargetBands, context) : undefined,
2471
+ TargetBands: output.TargetBands != null ? de_StringListInput(output.TargetBands, context) : undefined,
2548
2472
  };
2549
2473
  };
2550
- const deserializeAws_restJson1ReverseGeocodingConfig = (output, context) => {
2474
+ const de_ReverseGeocodingConfig = (output, context) => {
2551
2475
  return {
2552
2476
  XAttributeName: (0, smithy_client_1.expectString)(output.XAttributeName),
2553
2477
  YAttributeName: (0, smithy_client_1.expectString)(output.YAttributeName),
2554
2478
  };
2555
2479
  };
2556
- const deserializeAws_restJson1S3DataInput = (output, context) => {
2480
+ const de_S3DataInput = (output, context) => {
2557
2481
  return {
2558
2482
  KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
2559
2483
  MetadataProvider: (0, smithy_client_1.expectString)(output.MetadataProvider),
2560
2484
  S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
2561
2485
  };
2562
2486
  };
2563
- const deserializeAws_restJson1StackConfigInput = (output, context) => {
2487
+ const de_StackConfigInput = (output, context) => {
2564
2488
  return {
2565
- OutputResolution: output.OutputResolution != null
2566
- ? deserializeAws_restJson1OutputResolutionStackInput(output.OutputResolution, context)
2567
- : undefined,
2568
- TargetBands: output.TargetBands != null ? deserializeAws_restJson1StringListInput(output.TargetBands, context) : undefined,
2489
+ OutputResolution: output.OutputResolution != null ? de_OutputResolutionStackInput(output.OutputResolution, context) : undefined,
2490
+ TargetBands: output.TargetBands != null ? de_StringListInput(output.TargetBands, context) : undefined,
2569
2491
  };
2570
2492
  };
2571
- const deserializeAws_restJson1StringListInput = (output, context) => {
2493
+ const de_StringListInput = (output, context) => {
2572
2494
  const retVal = (output || [])
2573
2495
  .filter((e) => e != null)
2574
2496
  .map((entry) => {
@@ -2579,7 +2501,7 @@ const deserializeAws_restJson1StringListInput = (output, context) => {
2579
2501
  });
2580
2502
  return retVal;
2581
2503
  };
2582
- const deserializeAws_restJson1Tags = (output, context) => {
2504
+ const de_Tags = (output, context) => {
2583
2505
  return Object.entries(output).reduce((acc, [key, value]) => {
2584
2506
  if (value === null) {
2585
2507
  return acc;
@@ -2588,16 +2510,14 @@ const deserializeAws_restJson1Tags = (output, context) => {
2588
2510
  return acc;
2589
2511
  }, {});
2590
2512
  };
2591
- const deserializeAws_restJson1TemporalStatisticsConfigInput = (output, context) => {
2513
+ const de_TemporalStatisticsConfigInput = (output, context) => {
2592
2514
  return {
2593
2515
  GroupBy: (0, smithy_client_1.expectString)(output.GroupBy),
2594
- Statistics: output.Statistics != null
2595
- ? deserializeAws_restJson1TemporalStatisticsListInput(output.Statistics, context)
2596
- : undefined,
2597
- TargetBands: output.TargetBands != null ? deserializeAws_restJson1StringListInput(output.TargetBands, context) : undefined,
2516
+ Statistics: output.Statistics != null ? de_TemporalStatisticsListInput(output.Statistics, context) : undefined,
2517
+ TargetBands: output.TargetBands != null ? de_StringListInput(output.TargetBands, context) : undefined,
2598
2518
  };
2599
2519
  };
2600
- const deserializeAws_restJson1TemporalStatisticsListInput = (output, context) => {
2520
+ const de_TemporalStatisticsListInput = (output, context) => {
2601
2521
  const retVal = (output || [])
2602
2522
  .filter((e) => e != null)
2603
2523
  .map((entry) => {
@@ -2608,105 +2528,103 @@ const deserializeAws_restJson1TemporalStatisticsListInput = (output, context) =>
2608
2528
  });
2609
2529
  return retVal;
2610
2530
  };
2611
- const deserializeAws_restJson1TimeRangeFilterOutput = (output, context) => {
2531
+ const de_TimeRangeFilterOutput = (output, context) => {
2612
2532
  return {
2613
2533
  EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.EndTime)) : undefined,
2614
2534
  StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.StartTime)) : undefined,
2615
2535
  };
2616
2536
  };
2617
- const deserializeAws_restJson1UserDefined = (output, context) => {
2537
+ const de_UserDefined = (output, context) => {
2618
2538
  return {
2619
2539
  Unit: (0, smithy_client_1.expectString)(output.Unit),
2620
2540
  Value: (0, smithy_client_1.limitedParseFloat32)(output.Value),
2621
2541
  };
2622
2542
  };
2623
- const deserializeAws_restJson1VectorEnrichmentJobConfig = (output, context) => {
2543
+ const de_VectorEnrichmentJobConfig = (output, context) => {
2624
2544
  if (output.MapMatchingConfig != null) {
2625
2545
  return {
2626
- MapMatchingConfig: deserializeAws_restJson1MapMatchingConfig(output.MapMatchingConfig, context),
2546
+ MapMatchingConfig: de_MapMatchingConfig(output.MapMatchingConfig, context),
2627
2547
  };
2628
2548
  }
2629
2549
  if (output.ReverseGeocodingConfig != null) {
2630
2550
  return {
2631
- ReverseGeocodingConfig: deserializeAws_restJson1ReverseGeocodingConfig(output.ReverseGeocodingConfig, context),
2551
+ ReverseGeocodingConfig: de_ReverseGeocodingConfig(output.ReverseGeocodingConfig, context),
2632
2552
  };
2633
2553
  }
2634
2554
  return { $unknown: Object.entries(output)[0] };
2635
2555
  };
2636
- const deserializeAws_restJson1VectorEnrichmentJobDataSourceConfigInput = (output, context) => {
2556
+ const de_VectorEnrichmentJobDataSourceConfigInput = (output, context) => {
2637
2557
  if (output.S3Data != null) {
2638
2558
  return {
2639
- S3Data: deserializeAws_restJson1VectorEnrichmentJobS3Data(output.S3Data, context),
2559
+ S3Data: de_VectorEnrichmentJobS3Data(output.S3Data, context),
2640
2560
  };
2641
2561
  }
2642
2562
  return { $unknown: Object.entries(output)[0] };
2643
2563
  };
2644
- const deserializeAws_restJson1VectorEnrichmentJobErrorDetails = (output, context) => {
2564
+ const de_VectorEnrichmentJobErrorDetails = (output, context) => {
2645
2565
  return {
2646
2566
  ErrorMessage: (0, smithy_client_1.expectString)(output.ErrorMessage),
2647
2567
  ErrorType: (0, smithy_client_1.expectString)(output.ErrorType),
2648
2568
  };
2649
2569
  };
2650
- const deserializeAws_restJson1VectorEnrichmentJobExportErrorDetails = (output, context) => {
2570
+ const de_VectorEnrichmentJobExportErrorDetails = (output, context) => {
2651
2571
  return {
2652
2572
  Message: (0, smithy_client_1.expectString)(output.Message),
2653
2573
  Type: (0, smithy_client_1.expectString)(output.Type),
2654
2574
  };
2655
2575
  };
2656
- const deserializeAws_restJson1VectorEnrichmentJobInputConfig = (output, context) => {
2576
+ const de_VectorEnrichmentJobInputConfig = (output, context) => {
2657
2577
  return {
2658
2578
  DataSourceConfig: output.DataSourceConfig != null
2659
- ? deserializeAws_restJson1VectorEnrichmentJobDataSourceConfigInput((0, smithy_client_1.expectUnion)(output.DataSourceConfig), context)
2579
+ ? de_VectorEnrichmentJobDataSourceConfigInput((0, smithy_client_1.expectUnion)(output.DataSourceConfig), context)
2660
2580
  : undefined,
2661
2581
  DocumentType: (0, smithy_client_1.expectString)(output.DocumentType),
2662
2582
  };
2663
2583
  };
2664
- const deserializeAws_restJson1VectorEnrichmentJobList = (output, context) => {
2584
+ const de_VectorEnrichmentJobList = (output, context) => {
2665
2585
  const retVal = (output || [])
2666
2586
  .filter((e) => e != null)
2667
2587
  .map((entry) => {
2668
2588
  if (entry === null) {
2669
2589
  return null;
2670
2590
  }
2671
- return deserializeAws_restJson1ListVectorEnrichmentJobOutputConfig(entry, context);
2591
+ return de_ListVectorEnrichmentJobOutputConfig(entry, context);
2672
2592
  });
2673
2593
  return retVal;
2674
2594
  };
2675
- const deserializeAws_restJson1VectorEnrichmentJobS3Data = (output, context) => {
2595
+ const de_VectorEnrichmentJobS3Data = (output, context) => {
2676
2596
  return {
2677
2597
  KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
2678
2598
  S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
2679
2599
  };
2680
2600
  };
2681
- const deserializeAws_restJson1ViewOffNadirInput = (output, context) => {
2601
+ const de_ViewOffNadirInput = (output, context) => {
2682
2602
  return {
2683
2603
  LowerBound: (0, smithy_client_1.limitedParseFloat32)(output.LowerBound),
2684
2604
  UpperBound: (0, smithy_client_1.limitedParseFloat32)(output.UpperBound),
2685
2605
  };
2686
2606
  };
2687
- const deserializeAws_restJson1ViewSunAzimuthInput = (output, context) => {
2607
+ const de_ViewSunAzimuthInput = (output, context) => {
2688
2608
  return {
2689
2609
  LowerBound: (0, smithy_client_1.limitedParseFloat32)(output.LowerBound),
2690
2610
  UpperBound: (0, smithy_client_1.limitedParseFloat32)(output.UpperBound),
2691
2611
  };
2692
2612
  };
2693
- const deserializeAws_restJson1ViewSunElevationInput = (output, context) => {
2613
+ const de_ViewSunElevationInput = (output, context) => {
2694
2614
  return {
2695
2615
  LowerBound: (0, smithy_client_1.limitedParseFloat32)(output.LowerBound),
2696
2616
  UpperBound: (0, smithy_client_1.limitedParseFloat32)(output.UpperBound),
2697
2617
  };
2698
2618
  };
2699
- const deserializeAws_restJson1ZonalStatisticsConfigInput = (output, context) => {
2619
+ const de_ZonalStatisticsConfigInput = (output, context) => {
2700
2620
  return {
2701
- Statistics: output.Statistics != null
2702
- ? deserializeAws_restJson1ZonalStatisticsListInput(output.Statistics, context)
2703
- : undefined,
2704
- TargetBands: output.TargetBands != null ? deserializeAws_restJson1StringListInput(output.TargetBands, context) : undefined,
2621
+ Statistics: output.Statistics != null ? de_ZonalStatisticsListInput(output.Statistics, context) : undefined,
2622
+ TargetBands: output.TargetBands != null ? de_StringListInput(output.TargetBands, context) : undefined,
2705
2623
  ZoneS3Path: (0, smithy_client_1.expectString)(output.ZoneS3Path),
2706
2624
  ZoneS3PathKmsKeyId: (0, smithy_client_1.expectString)(output.ZoneS3PathKmsKeyId),
2707
2625
  };
2708
2626
  };
2709
- const deserializeAws_restJson1ZonalStatisticsListInput = (output, context) => {
2627
+ const de_ZonalStatisticsListInput = (output, context) => {
2710
2628
  const retVal = (output || [])
2711
2629
  .filter((e) => e != null)
2712
2630
  .map((entry) => {