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