@aws-sdk/client-sagemaker-geospatial 3.490.0 → 3.496.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist-cjs/SageMakerGeospatial.js +1 -49
  2. package/dist-cjs/SageMakerGeospatialClient.js +1 -43
  3. package/dist-cjs/commands/DeleteEarthObservationJobCommand.js +1 -28
  4. package/dist-cjs/commands/DeleteVectorEnrichmentJobCommand.js +1 -28
  5. package/dist-cjs/commands/ExportEarthObservationJobCommand.js +1 -28
  6. package/dist-cjs/commands/ExportVectorEnrichmentJobCommand.js +1 -28
  7. package/dist-cjs/commands/GetEarthObservationJobCommand.js +1 -29
  8. package/dist-cjs/commands/GetRasterDataCollectionCommand.js +1 -28
  9. package/dist-cjs/commands/GetTileCommand.js +1 -29
  10. package/dist-cjs/commands/GetVectorEnrichmentJobCommand.js +1 -28
  11. package/dist-cjs/commands/ListEarthObservationJobsCommand.js +1 -29
  12. package/dist-cjs/commands/ListRasterDataCollectionsCommand.js +1 -29
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  14. package/dist-cjs/commands/ListVectorEnrichmentJobsCommand.js +1 -29
  15. package/dist-cjs/commands/SearchRasterDataCollectionCommand.js +1 -29
  16. package/dist-cjs/commands/StartEarthObservationJobCommand.js +1 -29
  17. package/dist-cjs/commands/StartVectorEnrichmentJobCommand.js +1 -28
  18. package/dist-cjs/commands/StopEarthObservationJobCommand.js +1 -28
  19. package/dist-cjs/commands/StopVectorEnrichmentJobCommand.js +1 -28
  20. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  21. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  22. package/dist-cjs/commands/index.js +1 -22
  23. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  24. package/dist-cjs/extensionConfiguration.js +1 -2
  25. package/dist-cjs/index.js +3275 -11
  26. package/dist-cjs/models/SageMakerGeospatialServiceException.js +1 -12
  27. package/dist-cjs/models/index.js +1 -4
  28. package/dist-cjs/models/models_0.js +1 -474
  29. package/dist-cjs/pagination/Interfaces.js +1 -2
  30. package/dist-cjs/pagination/ListEarthObservationJobsPaginator.js +1 -7
  31. package/dist-cjs/pagination/ListRasterDataCollectionsPaginator.js +1 -7
  32. package/dist-cjs/pagination/ListVectorEnrichmentJobsPaginator.js +1 -7
  33. package/dist-cjs/pagination/SearchRasterDataCollectionPaginator.js +1 -7
  34. package/dist-cjs/pagination/index.js +1 -8
  35. package/dist-cjs/protocols/Aws_restJson1.js +1 -1939
  36. package/dist-cjs/runtimeExtensions.js +1 -22
  37. package/package.json +41 -41
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,3276 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SageMakerGeospatialServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./SageMakerGeospatialClient"), exports);
6
- tslib_1.__exportStar(require("./SageMakerGeospatial"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var SageMakerGeospatialServiceException_1 = require("./models/SageMakerGeospatialServiceException");
12
- Object.defineProperty(exports, "SageMakerGeospatialServiceException", { enumerable: true, get: function () { return SageMakerGeospatialServiceException_1.SageMakerGeospatialServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AccessDeniedException: () => AccessDeniedException,
25
+ AlgorithmNameCloudRemoval: () => AlgorithmNameCloudRemoval,
26
+ AlgorithmNameGeoMosaic: () => AlgorithmNameGeoMosaic,
27
+ AlgorithmNameResampling: () => AlgorithmNameResampling,
28
+ AreaOfInterest: () => AreaOfInterest,
29
+ AreaOfInterestFilterSensitiveLog: () => AreaOfInterestFilterSensitiveLog,
30
+ AreaOfInterestGeometry: () => AreaOfInterestGeometry,
31
+ AreaOfInterestGeometryFilterSensitiveLog: () => AreaOfInterestGeometryFilterSensitiveLog,
32
+ ComparisonOperator: () => ComparisonOperator,
33
+ ConflictException: () => ConflictException,
34
+ DataCollectionType: () => DataCollectionType,
35
+ DeleteEarthObservationJobCommand: () => DeleteEarthObservationJobCommand,
36
+ DeleteVectorEnrichmentJobCommand: () => DeleteVectorEnrichmentJobCommand,
37
+ EarthObservationJobErrorType: () => EarthObservationJobErrorType,
38
+ EarthObservationJobExportStatus: () => EarthObservationJobExportStatus,
39
+ EarthObservationJobStatus: () => EarthObservationJobStatus,
40
+ ExportEarthObservationJobCommand: () => ExportEarthObservationJobCommand,
41
+ ExportErrorType: () => ExportErrorType,
42
+ ExportVectorEnrichmentJobCommand: () => ExportVectorEnrichmentJobCommand,
43
+ GeometryFilterSensitiveLog: () => GeometryFilterSensitiveLog,
44
+ GetEarthObservationJobCommand: () => GetEarthObservationJobCommand,
45
+ GetEarthObservationJobOutputFilterSensitiveLog: () => GetEarthObservationJobOutputFilterSensitiveLog,
46
+ GetRasterDataCollectionCommand: () => GetRasterDataCollectionCommand,
47
+ GetTileCommand: () => GetTileCommand,
48
+ GetTileOutputFilterSensitiveLog: () => GetTileOutputFilterSensitiveLog,
49
+ GetVectorEnrichmentJobCommand: () => GetVectorEnrichmentJobCommand,
50
+ GroupBy: () => GroupBy,
51
+ InputConfigInputFilterSensitiveLog: () => InputConfigInputFilterSensitiveLog,
52
+ InputConfigOutputFilterSensitiveLog: () => InputConfigOutputFilterSensitiveLog,
53
+ InternalServerException: () => InternalServerException,
54
+ ItemSourceFilterSensitiveLog: () => ItemSourceFilterSensitiveLog,
55
+ JobConfigInput: () => JobConfigInput,
56
+ ListEarthObservationJobInputFilterSensitiveLog: () => ListEarthObservationJobInputFilterSensitiveLog,
57
+ ListEarthObservationJobOutputFilterSensitiveLog: () => ListEarthObservationJobOutputFilterSensitiveLog,
58
+ ListEarthObservationJobsCommand: () => ListEarthObservationJobsCommand,
59
+ ListRasterDataCollectionsCommand: () => ListRasterDataCollectionsCommand,
60
+ ListRasterDataCollectionsInputFilterSensitiveLog: () => ListRasterDataCollectionsInputFilterSensitiveLog,
61
+ ListRasterDataCollectionsOutputFilterSensitiveLog: () => ListRasterDataCollectionsOutputFilterSensitiveLog,
62
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
63
+ ListVectorEnrichmentJobInputFilterSensitiveLog: () => ListVectorEnrichmentJobInputFilterSensitiveLog,
64
+ ListVectorEnrichmentJobOutputFilterSensitiveLog: () => ListVectorEnrichmentJobOutputFilterSensitiveLog,
65
+ ListVectorEnrichmentJobsCommand: () => ListVectorEnrichmentJobsCommand,
66
+ LogicalOperator: () => LogicalOperator,
67
+ MultiPolygonGeometryInputFilterSensitiveLog: () => MultiPolygonGeometryInputFilterSensitiveLog,
68
+ OutputType: () => OutputType,
69
+ PolygonGeometryInputFilterSensitiveLog: () => PolygonGeometryInputFilterSensitiveLog,
70
+ PredefinedResolution: () => PredefinedResolution,
71
+ Property: () => Property,
72
+ RasterDataCollectionQueryInputFilterSensitiveLog: () => RasterDataCollectionQueryInputFilterSensitiveLog,
73
+ RasterDataCollectionQueryOutputFilterSensitiveLog: () => RasterDataCollectionQueryOutputFilterSensitiveLog,
74
+ RasterDataCollectionQueryWithBandFilterInputFilterSensitiveLog: () => RasterDataCollectionQueryWithBandFilterInputFilterSensitiveLog,
75
+ ResourceNotFoundException: () => ResourceNotFoundException,
76
+ SageMakerGeospatial: () => SageMakerGeospatial,
77
+ SageMakerGeospatialClient: () => SageMakerGeospatialClient,
78
+ SageMakerGeospatialServiceException: () => SageMakerGeospatialServiceException,
79
+ SearchRasterDataCollectionCommand: () => SearchRasterDataCollectionCommand,
80
+ SearchRasterDataCollectionInputFilterSensitiveLog: () => SearchRasterDataCollectionInputFilterSensitiveLog,
81
+ SearchRasterDataCollectionOutputFilterSensitiveLog: () => SearchRasterDataCollectionOutputFilterSensitiveLog,
82
+ ServiceQuotaExceededException: () => ServiceQuotaExceededException,
83
+ SortOrder: () => SortOrder,
84
+ StartEarthObservationJobCommand: () => StartEarthObservationJobCommand,
85
+ StartEarthObservationJobInputFilterSensitiveLog: () => StartEarthObservationJobInputFilterSensitiveLog,
86
+ StartEarthObservationJobOutputFilterSensitiveLog: () => StartEarthObservationJobOutputFilterSensitiveLog,
87
+ StartVectorEnrichmentJobCommand: () => StartVectorEnrichmentJobCommand,
88
+ StopEarthObservationJobCommand: () => StopEarthObservationJobCommand,
89
+ StopVectorEnrichmentJobCommand: () => StopVectorEnrichmentJobCommand,
90
+ TagResourceCommand: () => TagResourceCommand,
91
+ TargetOptions: () => TargetOptions,
92
+ TemporalStatistics: () => TemporalStatistics,
93
+ ThrottlingException: () => ThrottlingException,
94
+ TimeRangeFilterInputFilterSensitiveLog: () => TimeRangeFilterInputFilterSensitiveLog,
95
+ TimeRangeFilterOutputFilterSensitiveLog: () => TimeRangeFilterOutputFilterSensitiveLog,
96
+ Unit: () => Unit,
97
+ UntagResourceCommand: () => UntagResourceCommand,
98
+ ValidationException: () => ValidationException,
99
+ VectorEnrichmentJobConfig: () => VectorEnrichmentJobConfig,
100
+ VectorEnrichmentJobDataSourceConfigInput: () => VectorEnrichmentJobDataSourceConfigInput,
101
+ VectorEnrichmentJobDocumentType: () => VectorEnrichmentJobDocumentType,
102
+ VectorEnrichmentJobErrorType: () => VectorEnrichmentJobErrorType,
103
+ VectorEnrichmentJobExportErrorType: () => VectorEnrichmentJobExportErrorType,
104
+ VectorEnrichmentJobExportStatus: () => VectorEnrichmentJobExportStatus,
105
+ VectorEnrichmentJobStatus: () => VectorEnrichmentJobStatus,
106
+ VectorEnrichmentJobType: () => VectorEnrichmentJobType,
107
+ ZonalStatistics: () => ZonalStatistics,
108
+ __Client: () => import_smithy_client.Client,
109
+ paginateListEarthObservationJobs: () => paginateListEarthObservationJobs,
110
+ paginateListRasterDataCollections: () => paginateListRasterDataCollections,
111
+ paginateListVectorEnrichmentJobs: () => paginateListVectorEnrichmentJobs,
112
+ paginateSearchRasterDataCollection: () => paginateSearchRasterDataCollection
113
+ });
114
+ module.exports = __toCommonJS(src_exports);
115
+
116
+ // src/SageMakerGeospatialClient.ts
117
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
118
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
119
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
120
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
121
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
122
+ var import_config_resolver = require("@smithy/config-resolver");
123
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
124
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
125
+ var import_middleware_retry = require("@smithy/middleware-retry");
126
+
127
+
128
+ // src/endpoint/EndpointParameters.ts
129
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
130
+ return {
131
+ ...options,
132
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
133
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
134
+ defaultSigningName: "sagemaker-geospatial"
135
+ };
136
+ }, "resolveClientEndpointParameters");
137
+ var commonParams = {
138
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
139
+ Endpoint: { type: "builtInParams", name: "endpoint" },
140
+ Region: { type: "builtInParams", name: "region" },
141
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
142
+ };
143
+
144
+ // src/SageMakerGeospatialClient.ts
145
+ var import_runtimeConfig = require("././runtimeConfig");
146
+
147
+ // src/runtimeExtensions.ts
148
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
149
+ var import_protocol_http = require("@smithy/protocol-http");
150
+ var import_smithy_client = require("@smithy/smithy-client");
151
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
152
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
153
+ const extensionConfiguration = {
154
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
155
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
156
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
157
+ };
158
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
159
+ return {
160
+ ...runtimeConfig,
161
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
162
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
163
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
164
+ };
165
+ }, "resolveRuntimeExtensions");
166
+
167
+ // src/SageMakerGeospatialClient.ts
168
+ var _SageMakerGeospatialClient = class _SageMakerGeospatialClient extends import_smithy_client.Client {
169
+ constructor(...[configuration]) {
170
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
171
+ const _config_1 = resolveClientEndpointParameters(_config_0);
172
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
173
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
174
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
175
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
176
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
177
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
178
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
179
+ super(_config_8);
180
+ this.config = _config_8;
181
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
182
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
183
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
184
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
185
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
186
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
187
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
188
+ }
189
+ /**
190
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
191
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
192
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
193
+ */
194
+ destroy() {
195
+ super.destroy();
196
+ }
197
+ };
198
+ __name(_SageMakerGeospatialClient, "SageMakerGeospatialClient");
199
+ var SageMakerGeospatialClient = _SageMakerGeospatialClient;
200
+
201
+ // src/SageMakerGeospatial.ts
202
+
203
+
204
+ // src/commands/DeleteEarthObservationJobCommand.ts
205
+
206
+ var import_middleware_serde = require("@smithy/middleware-serde");
207
+
208
+ var import_types = require("@smithy/types");
209
+
210
+ // src/protocols/Aws_restJson1.ts
211
+ var import_core = require("@aws-sdk/core");
212
+ var import_core2 = require("@smithy/core");
213
+
214
+ var import_uuid = require("uuid");
215
+
216
+ // src/models/models_0.ts
217
+
218
+
219
+ // src/models/SageMakerGeospatialServiceException.ts
220
+
221
+ var _SageMakerGeospatialServiceException = class _SageMakerGeospatialServiceException extends import_smithy_client.ServiceException {
222
+ /**
223
+ * @internal
224
+ */
225
+ constructor(options) {
226
+ super(options);
227
+ Object.setPrototypeOf(this, _SageMakerGeospatialServiceException.prototype);
228
+ }
229
+ };
230
+ __name(_SageMakerGeospatialServiceException, "SageMakerGeospatialServiceException");
231
+ var SageMakerGeospatialServiceException = _SageMakerGeospatialServiceException;
232
+
233
+ // src/models/models_0.ts
234
+ var _AccessDeniedException = class _AccessDeniedException extends SageMakerGeospatialServiceException {
235
+ /**
236
+ * @internal
237
+ */
238
+ constructor(opts) {
239
+ super({
240
+ name: "AccessDeniedException",
241
+ $fault: "client",
242
+ ...opts
243
+ });
244
+ this.name = "AccessDeniedException";
245
+ this.$fault = "client";
246
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
247
+ this.Message = opts.Message;
248
+ }
249
+ };
250
+ __name(_AccessDeniedException, "AccessDeniedException");
251
+ var AccessDeniedException = _AccessDeniedException;
252
+ var AlgorithmNameCloudRemoval = {
253
+ /**
254
+ * INTERPOLATION
255
+ */
256
+ INTERPOLATION: "INTERPOLATION"
257
+ };
258
+ var AlgorithmNameGeoMosaic = {
259
+ /**
260
+ * AVERAGE
261
+ */
262
+ AVERAGE: "AVERAGE",
263
+ /**
264
+ * BILINEAR
265
+ */
266
+ BILINEAR: "BILINEAR",
267
+ /**
268
+ * CUBIC
269
+ */
270
+ CUBIC: "CUBIC",
271
+ /**
272
+ * CUBICSPLINE
273
+ */
274
+ CUBICSPLINE: "CUBICSPLINE",
275
+ /**
276
+ * LANCZOS
277
+ */
278
+ LANCZOS: "LANCZOS",
279
+ /**
280
+ * MAX
281
+ */
282
+ MAX: "MAX",
283
+ /**
284
+ * MED
285
+ */
286
+ MED: "MED",
287
+ /**
288
+ * MIN
289
+ */
290
+ MIN: "MIN",
291
+ /**
292
+ * MODE
293
+ */
294
+ MODE: "MODE",
295
+ /**
296
+ * NEAR
297
+ */
298
+ NEAR: "NEAR",
299
+ /**
300
+ * Q1
301
+ */
302
+ Q1: "Q1",
303
+ /**
304
+ * Q3
305
+ */
306
+ Q3: "Q3",
307
+ /**
308
+ * RMS
309
+ */
310
+ RMS: "RMS",
311
+ /**
312
+ * SUM
313
+ */
314
+ SUM: "SUM"
315
+ };
316
+ var AlgorithmNameResampling = {
317
+ /**
318
+ * AVERAGE
319
+ */
320
+ AVERAGE: "AVERAGE",
321
+ /**
322
+ * BILINEAR
323
+ */
324
+ BILINEAR: "BILINEAR",
325
+ /**
326
+ * CUBIC
327
+ */
328
+ CUBIC: "CUBIC",
329
+ /**
330
+ * CUBICSPLINE
331
+ */
332
+ CUBICSPLINE: "CUBICSPLINE",
333
+ /**
334
+ * LANCZOS
335
+ */
336
+ LANCZOS: "LANCZOS",
337
+ /**
338
+ * MAX
339
+ */
340
+ MAX: "MAX",
341
+ /**
342
+ * MED
343
+ */
344
+ MED: "MED",
345
+ /**
346
+ * MIN
347
+ */
348
+ MIN: "MIN",
349
+ /**
350
+ * MODE
351
+ */
352
+ MODE: "MODE",
353
+ /**
354
+ * NEAR
355
+ */
356
+ NEAR: "NEAR",
357
+ /**
358
+ * Q1
359
+ */
360
+ Q1: "Q1",
361
+ /**
362
+ * Q3
363
+ */
364
+ Q3: "Q3",
365
+ /**
366
+ * RMS
367
+ */
368
+ RMS: "RMS",
369
+ /**
370
+ * SUM
371
+ */
372
+ SUM: "SUM"
373
+ };
374
+ var AreaOfInterestGeometry;
375
+ ((AreaOfInterestGeometry2) => {
376
+ AreaOfInterestGeometry2.visit = /* @__PURE__ */ __name((value, visitor) => {
377
+ if (value.PolygonGeometry !== void 0)
378
+ return visitor.PolygonGeometry(value.PolygonGeometry);
379
+ if (value.MultiPolygonGeometry !== void 0)
380
+ return visitor.MultiPolygonGeometry(value.MultiPolygonGeometry);
381
+ return visitor._(value.$unknown[0], value.$unknown[1]);
382
+ }, "visit");
383
+ })(AreaOfInterestGeometry || (AreaOfInterestGeometry = {}));
384
+ var AreaOfInterest;
385
+ ((AreaOfInterest2) => {
386
+ AreaOfInterest2.visit = /* @__PURE__ */ __name((value, visitor) => {
387
+ if (value.AreaOfInterestGeometry !== void 0)
388
+ return visitor.AreaOfInterestGeometry(value.AreaOfInterestGeometry);
389
+ return visitor._(value.$unknown[0], value.$unknown[1]);
390
+ }, "visit");
391
+ })(AreaOfInterest || (AreaOfInterest = {}));
392
+ var OutputType = {
393
+ /**
394
+ * FLOAT32
395
+ */
396
+ FLOAT32: "FLOAT32",
397
+ /**
398
+ * FLOAT64
399
+ */
400
+ FLOAT64: "FLOAT64",
401
+ /**
402
+ * INT16
403
+ */
404
+ INT16: "INT16",
405
+ /**
406
+ * INT32
407
+ */
408
+ INT32: "INT32",
409
+ /**
410
+ * UINT16
411
+ */
412
+ UINT16: "UINT16"
413
+ };
414
+ var ComparisonOperator = {
415
+ /**
416
+ * EQUALS
417
+ */
418
+ EQUALS: "EQUALS",
419
+ /**
420
+ * NOT_EQUALS
421
+ */
422
+ NOT_EQUALS: "NOT_EQUALS",
423
+ /**
424
+ * STARTS_WITH
425
+ */
426
+ STARTS_WITH: "STARTS_WITH"
427
+ };
428
+ var _ConflictException = class _ConflictException extends SageMakerGeospatialServiceException {
429
+ /**
430
+ * @internal
431
+ */
432
+ constructor(opts) {
433
+ super({
434
+ name: "ConflictException",
435
+ $fault: "client",
436
+ ...opts
437
+ });
438
+ this.name = "ConflictException";
439
+ this.$fault = "client";
440
+ Object.setPrototypeOf(this, _ConflictException.prototype);
441
+ this.Message = opts.Message;
442
+ this.ResourceId = opts.ResourceId;
443
+ }
444
+ };
445
+ __name(_ConflictException, "ConflictException");
446
+ var ConflictException = _ConflictException;
447
+ var DataCollectionType = {
448
+ /**
449
+ * PREMIUM
450
+ */
451
+ PREMIUM: "PREMIUM",
452
+ /**
453
+ * PUBLIC
454
+ */
455
+ PUBLIC: "PUBLIC",
456
+ /**
457
+ * USER
458
+ */
459
+ USER: "USER"
460
+ };
461
+ var _InternalServerException = class _InternalServerException extends SageMakerGeospatialServiceException {
462
+ /**
463
+ * @internal
464
+ */
465
+ constructor(opts) {
466
+ super({
467
+ name: "InternalServerException",
468
+ $fault: "server",
469
+ ...opts
470
+ });
471
+ this.name = "InternalServerException";
472
+ this.$fault = "server";
473
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
474
+ this.Message = opts.Message;
475
+ this.ResourceId = opts.ResourceId;
476
+ }
477
+ };
478
+ __name(_InternalServerException, "InternalServerException");
479
+ var InternalServerException = _InternalServerException;
480
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends SageMakerGeospatialServiceException {
481
+ /**
482
+ * @internal
483
+ */
484
+ constructor(opts) {
485
+ super({
486
+ name: "ResourceNotFoundException",
487
+ $fault: "client",
488
+ ...opts
489
+ });
490
+ this.name = "ResourceNotFoundException";
491
+ this.$fault = "client";
492
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
493
+ this.Message = opts.Message;
494
+ this.ResourceId = opts.ResourceId;
495
+ }
496
+ };
497
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
498
+ var ResourceNotFoundException = _ResourceNotFoundException;
499
+ var _ThrottlingException = class _ThrottlingException extends SageMakerGeospatialServiceException {
500
+ /**
501
+ * @internal
502
+ */
503
+ constructor(opts) {
504
+ super({
505
+ name: "ThrottlingException",
506
+ $fault: "client",
507
+ ...opts
508
+ });
509
+ this.name = "ThrottlingException";
510
+ this.$fault = "client";
511
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
512
+ this.Message = opts.Message;
513
+ this.ResourceId = opts.ResourceId;
514
+ }
515
+ };
516
+ __name(_ThrottlingException, "ThrottlingException");
517
+ var ThrottlingException = _ThrottlingException;
518
+ var _ValidationException = class _ValidationException extends SageMakerGeospatialServiceException {
519
+ /**
520
+ * @internal
521
+ */
522
+ constructor(opts) {
523
+ super({
524
+ name: "ValidationException",
525
+ $fault: "client",
526
+ ...opts
527
+ });
528
+ this.name = "ValidationException";
529
+ this.$fault = "client";
530
+ Object.setPrototypeOf(this, _ValidationException.prototype);
531
+ this.Message = opts.Message;
532
+ this.ResourceId = opts.ResourceId;
533
+ }
534
+ };
535
+ __name(_ValidationException, "ValidationException");
536
+ var ValidationException = _ValidationException;
537
+ var EarthObservationJobExportStatus = {
538
+ /**
539
+ * FAILED
540
+ */
541
+ FAILED: "FAILED",
542
+ /**
543
+ * IN_PROGRESS
544
+ */
545
+ IN_PROGRESS: "IN_PROGRESS",
546
+ /**
547
+ * SUCCEEDED
548
+ */
549
+ SUCCEEDED: "SUCCEEDED"
550
+ };
551
+ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SageMakerGeospatialServiceException {
552
+ /**
553
+ * @internal
554
+ */
555
+ constructor(opts) {
556
+ super({
557
+ name: "ServiceQuotaExceededException",
558
+ $fault: "client",
559
+ ...opts
560
+ });
561
+ this.name = "ServiceQuotaExceededException";
562
+ this.$fault = "client";
563
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
564
+ this.Message = opts.Message;
565
+ this.ResourceId = opts.ResourceId;
566
+ }
567
+ };
568
+ __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
569
+ var ServiceQuotaExceededException = _ServiceQuotaExceededException;
570
+ var EarthObservationJobErrorType = {
571
+ /**
572
+ * CLIENT_ERROR
573
+ */
574
+ CLIENT_ERROR: "CLIENT_ERROR",
575
+ /**
576
+ * SERVER_ERROR
577
+ */
578
+ SERVER_ERROR: "SERVER_ERROR"
579
+ };
580
+ var ExportErrorType = {
581
+ /**
582
+ * CLIENT_ERROR
583
+ */
584
+ CLIENT_ERROR: "CLIENT_ERROR",
585
+ /**
586
+ * SERVER_ERROR
587
+ */
588
+ SERVER_ERROR: "SERVER_ERROR"
589
+ };
590
+ var LogicalOperator = {
591
+ /**
592
+ * AND
593
+ */
594
+ AND: "AND"
595
+ };
596
+ var Property;
597
+ ((Property2) => {
598
+ Property2.visit = /* @__PURE__ */ __name((value, visitor) => {
599
+ if (value.EoCloudCover !== void 0)
600
+ return visitor.EoCloudCover(value.EoCloudCover);
601
+ if (value.ViewOffNadir !== void 0)
602
+ return visitor.ViewOffNadir(value.ViewOffNadir);
603
+ if (value.ViewSunAzimuth !== void 0)
604
+ return visitor.ViewSunAzimuth(value.ViewSunAzimuth);
605
+ if (value.ViewSunElevation !== void 0)
606
+ return visitor.ViewSunElevation(value.ViewSunElevation);
607
+ if (value.Platform !== void 0)
608
+ return visitor.Platform(value.Platform);
609
+ if (value.LandsatCloudCoverLand !== void 0)
610
+ return visitor.LandsatCloudCoverLand(value.LandsatCloudCoverLand);
611
+ return visitor._(value.$unknown[0], value.$unknown[1]);
612
+ }, "visit");
613
+ })(Property || (Property = {}));
614
+ var Unit = {
615
+ /**
616
+ * METERS
617
+ */
618
+ METERS: "METERS"
619
+ };
620
+ var PredefinedResolution = {
621
+ /**
622
+ * AVERAGE
623
+ */
624
+ AVERAGE: "AVERAGE",
625
+ /**
626
+ * HIGHEST
627
+ */
628
+ HIGHEST: "HIGHEST",
629
+ /**
630
+ * LOWEST
631
+ */
632
+ LOWEST: "LOWEST"
633
+ };
634
+ var GroupBy = {
635
+ /**
636
+ * ALL
637
+ */
638
+ ALL: "ALL",
639
+ /**
640
+ * YEARLY
641
+ */
642
+ YEARLY: "YEARLY"
643
+ };
644
+ var TemporalStatistics = {
645
+ /**
646
+ * MEAN
647
+ */
648
+ MEAN: "MEAN",
649
+ /**
650
+ * MEDIAN
651
+ */
652
+ MEDIAN: "MEDIAN",
653
+ /**
654
+ * STANDARD_DEVIATION
655
+ */
656
+ STANDARD_DEVIATION: "STANDARD_DEVIATION"
657
+ };
658
+ var ZonalStatistics = {
659
+ /**
660
+ * MAX
661
+ */
662
+ MAX: "MAX",
663
+ /**
664
+ * MEAN
665
+ */
666
+ MEAN: "MEAN",
667
+ /**
668
+ * MEDIAN
669
+ */
670
+ MEDIAN: "MEDIAN",
671
+ /**
672
+ * MIN
673
+ */
674
+ MIN: "MIN",
675
+ /**
676
+ * STANDARD_DEVIATION
677
+ */
678
+ STANDARD_DEVIATION: "STANDARD_DEVIATION",
679
+ /**
680
+ * SUM
681
+ */
682
+ SUM: "SUM"
683
+ };
684
+ var JobConfigInput;
685
+ ((JobConfigInput2) => {
686
+ JobConfigInput2.visit = /* @__PURE__ */ __name((value, visitor) => {
687
+ if (value.BandMathConfig !== void 0)
688
+ return visitor.BandMathConfig(value.BandMathConfig);
689
+ if (value.ResamplingConfig !== void 0)
690
+ return visitor.ResamplingConfig(value.ResamplingConfig);
691
+ if (value.TemporalStatisticsConfig !== void 0)
692
+ return visitor.TemporalStatisticsConfig(value.TemporalStatisticsConfig);
693
+ if (value.CloudRemovalConfig !== void 0)
694
+ return visitor.CloudRemovalConfig(value.CloudRemovalConfig);
695
+ if (value.ZonalStatisticsConfig !== void 0)
696
+ return visitor.ZonalStatisticsConfig(value.ZonalStatisticsConfig);
697
+ if (value.GeoMosaicConfig !== void 0)
698
+ return visitor.GeoMosaicConfig(value.GeoMosaicConfig);
699
+ if (value.StackConfig !== void 0)
700
+ return visitor.StackConfig(value.StackConfig);
701
+ if (value.CloudMaskingConfig !== void 0)
702
+ return visitor.CloudMaskingConfig(value.CloudMaskingConfig);
703
+ if (value.LandCoverSegmentationConfig !== void 0)
704
+ return visitor.LandCoverSegmentationConfig(value.LandCoverSegmentationConfig);
705
+ return visitor._(value.$unknown[0], value.$unknown[1]);
706
+ }, "visit");
707
+ })(JobConfigInput || (JobConfigInput = {}));
708
+ var EarthObservationJobStatus = {
709
+ /**
710
+ * COMPLETED
711
+ */
712
+ COMPLETED: "COMPLETED",
713
+ /**
714
+ * DELETED
715
+ */
716
+ DELETED: "DELETED",
717
+ /**
718
+ * DELETING
719
+ */
720
+ DELETING: "DELETING",
721
+ /**
722
+ * FAILED
723
+ */
724
+ FAILED: "FAILED",
725
+ /**
726
+ * INITIALIZING
727
+ */
728
+ INITIALIZING: "INITIALIZING",
729
+ /**
730
+ * IN_PROGRESS
731
+ */
732
+ IN_PROGRESS: "IN_PROGRESS",
733
+ /**
734
+ * STOPPED
735
+ */
736
+ STOPPED: "STOPPED",
737
+ /**
738
+ * STOPPING
739
+ */
740
+ STOPPING: "STOPPING"
741
+ };
742
+ var TargetOptions = {
743
+ /**
744
+ * INPUT
745
+ */
746
+ INPUT: "INPUT",
747
+ /**
748
+ * OUTPUT
749
+ */
750
+ OUTPUT: "OUTPUT"
751
+ };
752
+ var SortOrder = {
753
+ /**
754
+ * ASCENDING
755
+ */
756
+ ASCENDING: "ASCENDING",
757
+ /**
758
+ * DESCENDING
759
+ */
760
+ DESCENDING: "DESCENDING"
761
+ };
762
+ var VectorEnrichmentJobExportStatus = {
763
+ FAILED: "FAILED",
764
+ IN_PROGRESS: "IN_PROGRESS",
765
+ SUCCEEDED: "SUCCEEDED"
766
+ };
767
+ var VectorEnrichmentJobErrorType = {
768
+ /**
769
+ * CLIENT_ERROR
770
+ */
771
+ CLIENT_ERROR: "CLIENT_ERROR",
772
+ /**
773
+ * SERVER_ERROR
774
+ */
775
+ SERVER_ERROR: "SERVER_ERROR"
776
+ };
777
+ var VectorEnrichmentJobExportErrorType = {
778
+ CLIENT_ERROR: "CLIENT_ERROR",
779
+ SERVER_ERROR: "SERVER_ERROR"
780
+ };
781
+ var VectorEnrichmentJobDataSourceConfigInput;
782
+ ((VectorEnrichmentJobDataSourceConfigInput3) => {
783
+ VectorEnrichmentJobDataSourceConfigInput3.visit = /* @__PURE__ */ __name((value, visitor) => {
784
+ if (value.S3Data !== void 0)
785
+ return visitor.S3Data(value.S3Data);
786
+ return visitor._(value.$unknown[0], value.$unknown[1]);
787
+ }, "visit");
788
+ })(VectorEnrichmentJobDataSourceConfigInput || (VectorEnrichmentJobDataSourceConfigInput = {}));
789
+ var VectorEnrichmentJobDocumentType = {
790
+ CSV: "CSV"
791
+ };
792
+ var VectorEnrichmentJobConfig;
793
+ ((VectorEnrichmentJobConfig3) => {
794
+ VectorEnrichmentJobConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
795
+ if (value.ReverseGeocodingConfig !== void 0)
796
+ return visitor.ReverseGeocodingConfig(value.ReverseGeocodingConfig);
797
+ if (value.MapMatchingConfig !== void 0)
798
+ return visitor.MapMatchingConfig(value.MapMatchingConfig);
799
+ return visitor._(value.$unknown[0], value.$unknown[1]);
800
+ }, "visit");
801
+ })(VectorEnrichmentJobConfig || (VectorEnrichmentJobConfig = {}));
802
+ var VectorEnrichmentJobStatus = {
803
+ COMPLETED: "COMPLETED",
804
+ DELETED: "DELETED",
805
+ DELETING: "DELETING",
806
+ FAILED: "FAILED",
807
+ INITIALIZING: "INITIALIZING",
808
+ IN_PROGRESS: "IN_PROGRESS",
809
+ STOPPED: "STOPPED",
810
+ STOPPING: "STOPPING"
811
+ };
812
+ var VectorEnrichmentJobType = {
813
+ MAP_MATCHING: "MAP_MATCHING",
814
+ REVERSE_GEOCODING: "REVERSE_GEOCODING"
815
+ };
816
+ var MultiPolygonGeometryInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
817
+ ...obj,
818
+ ...obj.Coordinates && { Coordinates: obj.Coordinates.map((item) => item.map((item2) => import_smithy_client.SENSITIVE_STRING)) }
819
+ }), "MultiPolygonGeometryInputFilterSensitiveLog");
820
+ var PolygonGeometryInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
821
+ ...obj,
822
+ ...obj.Coordinates && { Coordinates: obj.Coordinates.map((item) => import_smithy_client.SENSITIVE_STRING) }
823
+ }), "PolygonGeometryInputFilterSensitiveLog");
824
+ var AreaOfInterestGeometryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
825
+ if (obj.PolygonGeometry !== void 0)
826
+ return { PolygonGeometry: PolygonGeometryInputFilterSensitiveLog(obj.PolygonGeometry) };
827
+ if (obj.MultiPolygonGeometry !== void 0)
828
+ return { MultiPolygonGeometry: MultiPolygonGeometryInputFilterSensitiveLog(obj.MultiPolygonGeometry) };
829
+ if (obj.$unknown !== void 0)
830
+ return { [obj.$unknown[0]]: "UNKNOWN" };
831
+ }, "AreaOfInterestGeometryFilterSensitiveLog");
832
+ var AreaOfInterestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
833
+ if (obj.AreaOfInterestGeometry !== void 0)
834
+ return { AreaOfInterestGeometry: AreaOfInterestGeometryFilterSensitiveLog(obj.AreaOfInterestGeometry) };
835
+ if (obj.$unknown !== void 0)
836
+ return { [obj.$unknown[0]]: "UNKNOWN" };
837
+ }, "AreaOfInterestFilterSensitiveLog");
838
+ var TimeRangeFilterOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
839
+ ...obj
840
+ }), "TimeRangeFilterOutputFilterSensitiveLog");
841
+ var RasterDataCollectionQueryOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
842
+ ...obj,
843
+ ...obj.TimeRangeFilter && { TimeRangeFilter: import_smithy_client.SENSITIVE_STRING },
844
+ ...obj.AreaOfInterest && { AreaOfInterest: AreaOfInterestFilterSensitiveLog(obj.AreaOfInterest) },
845
+ ...obj.PropertyFilters && { PropertyFilters: obj.PropertyFilters }
846
+ }), "RasterDataCollectionQueryOutputFilterSensitiveLog");
847
+ var InputConfigOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
848
+ ...obj,
849
+ ...obj.RasterDataCollectionQuery && {
850
+ RasterDataCollectionQuery: RasterDataCollectionQueryOutputFilterSensitiveLog(obj.RasterDataCollectionQuery)
851
+ }
852
+ }), "InputConfigOutputFilterSensitiveLog");
853
+ var GetEarthObservationJobOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
854
+ ...obj,
855
+ ...obj.InputConfig && { InputConfig: InputConfigOutputFilterSensitiveLog(obj.InputConfig) },
856
+ ...obj.JobConfig && { JobConfig: obj.JobConfig }
857
+ }), "GetEarthObservationJobOutputFilterSensitiveLog");
858
+ var GetTileOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
859
+ ...obj
860
+ }), "GetTileOutputFilterSensitiveLog");
861
+ var ListEarthObservationJobInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
862
+ ...obj,
863
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
864
+ }), "ListEarthObservationJobInputFilterSensitiveLog");
865
+ var ListEarthObservationJobOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
866
+ ...obj,
867
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
868
+ }), "ListEarthObservationJobOutputFilterSensitiveLog");
869
+ var TimeRangeFilterInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
870
+ ...obj
871
+ }), "TimeRangeFilterInputFilterSensitiveLog");
872
+ var RasterDataCollectionQueryInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
873
+ ...obj,
874
+ ...obj.TimeRangeFilter && { TimeRangeFilter: import_smithy_client.SENSITIVE_STRING },
875
+ ...obj.AreaOfInterest && { AreaOfInterest: AreaOfInterestFilterSensitiveLog(obj.AreaOfInterest) },
876
+ ...obj.PropertyFilters && { PropertyFilters: obj.PropertyFilters }
877
+ }), "RasterDataCollectionQueryInputFilterSensitiveLog");
878
+ var InputConfigInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
879
+ ...obj,
880
+ ...obj.RasterDataCollectionQuery && {
881
+ RasterDataCollectionQuery: RasterDataCollectionQueryInputFilterSensitiveLog(obj.RasterDataCollectionQuery)
882
+ }
883
+ }), "InputConfigInputFilterSensitiveLog");
884
+ var StartEarthObservationJobInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
885
+ ...obj,
886
+ ...obj.InputConfig && { InputConfig: InputConfigInputFilterSensitiveLog(obj.InputConfig) },
887
+ ...obj.JobConfig && { JobConfig: obj.JobConfig }
888
+ }), "StartEarthObservationJobInputFilterSensitiveLog");
889
+ var StartEarthObservationJobOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
890
+ ...obj,
891
+ ...obj.InputConfig && { InputConfig: InputConfigOutputFilterSensitiveLog(obj.InputConfig) },
892
+ ...obj.JobConfig && { JobConfig: obj.JobConfig }
893
+ }), "StartEarthObservationJobOutputFilterSensitiveLog");
894
+ var GeometryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
895
+ ...obj,
896
+ ...obj.Coordinates && { Coordinates: obj.Coordinates.map((item) => import_smithy_client.SENSITIVE_STRING) }
897
+ }), "GeometryFilterSensitiveLog");
898
+ var ItemSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
899
+ ...obj,
900
+ ...obj.Geometry && { Geometry: GeometryFilterSensitiveLog(obj.Geometry) }
901
+ }), "ItemSourceFilterSensitiveLog");
902
+ var ListRasterDataCollectionsInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
903
+ ...obj,
904
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
905
+ }), "ListRasterDataCollectionsInputFilterSensitiveLog");
906
+ var ListRasterDataCollectionsOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
907
+ ...obj,
908
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
909
+ }), "ListRasterDataCollectionsOutputFilterSensitiveLog");
910
+ var ListVectorEnrichmentJobInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
911
+ ...obj,
912
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
913
+ }), "ListVectorEnrichmentJobInputFilterSensitiveLog");
914
+ var ListVectorEnrichmentJobOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
915
+ ...obj,
916
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
917
+ }), "ListVectorEnrichmentJobOutputFilterSensitiveLog");
918
+ var RasterDataCollectionQueryWithBandFilterInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
919
+ ...obj,
920
+ ...obj.TimeRangeFilter && { TimeRangeFilter: import_smithy_client.SENSITIVE_STRING },
921
+ ...obj.AreaOfInterest && { AreaOfInterest: AreaOfInterestFilterSensitiveLog(obj.AreaOfInterest) },
922
+ ...obj.PropertyFilters && { PropertyFilters: obj.PropertyFilters }
923
+ }), "RasterDataCollectionQueryWithBandFilterInputFilterSensitiveLog");
924
+ var SearchRasterDataCollectionInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
925
+ ...obj,
926
+ ...obj.RasterDataCollectionQuery && {
927
+ RasterDataCollectionQuery: RasterDataCollectionQueryWithBandFilterInputFilterSensitiveLog(
928
+ obj.RasterDataCollectionQuery
929
+ )
930
+ },
931
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING }
932
+ }), "SearchRasterDataCollectionInputFilterSensitiveLog");
933
+ var SearchRasterDataCollectionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
934
+ ...obj,
935
+ ...obj.NextToken && { NextToken: import_smithy_client.SENSITIVE_STRING },
936
+ ...obj.Items && { Items: obj.Items.map((item) => ItemSourceFilterSensitiveLog(item)) }
937
+ }), "SearchRasterDataCollectionOutputFilterSensitiveLog");
938
+
939
+ // src/protocols/Aws_restJson1.ts
940
+ var se_DeleteEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
941
+ const b = (0, import_core2.requestBuilder)(input, context);
942
+ const headers = {};
943
+ b.bp("/earth-observation-jobs/{Arn}");
944
+ b.p("Arn", () => input.Arn, "{Arn}", false);
945
+ let body;
946
+ b.m("DELETE").h(headers).b(body);
947
+ return b.build();
948
+ }, "se_DeleteEarthObservationJobCommand");
949
+ var se_DeleteVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, context) => {
950
+ const b = (0, import_core2.requestBuilder)(input, context);
951
+ const headers = {};
952
+ b.bp("/vector-enrichment-jobs/{Arn}");
953
+ b.p("Arn", () => input.Arn, "{Arn}", false);
954
+ let body;
955
+ b.m("DELETE").h(headers).b(body);
956
+ return b.build();
957
+ }, "se_DeleteVectorEnrichmentJobCommand");
958
+ var se_ExportEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
959
+ const b = (0, import_core2.requestBuilder)(input, context);
960
+ const headers = {
961
+ "content-type": "application/json"
962
+ };
963
+ b.bp("/export-earth-observation-job");
964
+ let body;
965
+ body = JSON.stringify(
966
+ (0, import_smithy_client.take)(input, {
967
+ Arn: [],
968
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
969
+ ExecutionRoleArn: [],
970
+ ExportSourceImages: [],
971
+ OutputConfig: (_) => (0, import_smithy_client._json)(_)
972
+ })
973
+ );
974
+ b.m("POST").h(headers).b(body);
975
+ return b.build();
976
+ }, "se_ExportEarthObservationJobCommand");
977
+ var se_ExportVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, context) => {
978
+ const b = (0, import_core2.requestBuilder)(input, context);
979
+ const headers = {
980
+ "content-type": "application/json"
981
+ };
982
+ b.bp("/export-vector-enrichment-jobs");
983
+ let body;
984
+ body = JSON.stringify(
985
+ (0, import_smithy_client.take)(input, {
986
+ Arn: [],
987
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
988
+ ExecutionRoleArn: [],
989
+ OutputConfig: (_) => (0, import_smithy_client._json)(_)
990
+ })
991
+ );
992
+ b.m("POST").h(headers).b(body);
993
+ return b.build();
994
+ }, "se_ExportVectorEnrichmentJobCommand");
995
+ var se_GetEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
996
+ const b = (0, import_core2.requestBuilder)(input, context);
997
+ const headers = {};
998
+ b.bp("/earth-observation-jobs/{Arn}");
999
+ b.p("Arn", () => input.Arn, "{Arn}", false);
1000
+ let body;
1001
+ b.m("GET").h(headers).b(body);
1002
+ return b.build();
1003
+ }, "se_GetEarthObservationJobCommand");
1004
+ var se_GetRasterDataCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {
1005
+ const b = (0, import_core2.requestBuilder)(input, context);
1006
+ const headers = {};
1007
+ b.bp("/raster-data-collection/{Arn}");
1008
+ b.p("Arn", () => input.Arn, "{Arn}", false);
1009
+ let body;
1010
+ b.m("GET").h(headers).b(body);
1011
+ return b.build();
1012
+ }, "se_GetRasterDataCollectionCommand");
1013
+ var se_GetTileCommand = /* @__PURE__ */ __name(async (input, context) => {
1014
+ const b = (0, import_core2.requestBuilder)(input, context);
1015
+ const headers = {};
1016
+ b.bp("/tile/{z}/{x}/{y}");
1017
+ b.p("x", () => input.x.toString(), "{x}", false);
1018
+ b.p("y", () => input.y.toString(), "{y}", false);
1019
+ b.p("z", () => input.z.toString(), "{z}", false);
1020
+ const query = (0, import_smithy_client.map)({
1021
+ [_IA]: [
1022
+ (0, import_smithy_client.expectNonNull)(input.ImageAssets, `ImageAssets`) != null,
1023
+ () => (input[_IA] || []).map((_entry) => _entry)
1024
+ ],
1025
+ [_T]: [, (0, import_smithy_client.expectNonNull)(input[_T], `Target`)],
1026
+ [_A]: [, (0, import_smithy_client.expectNonNull)(input[_A], `Arn`)],
1027
+ [_IM]: [() => input.ImageMask !== void 0, () => input[_IM].toString()],
1028
+ [_OF]: [, input[_OF]],
1029
+ [_TRF]: [, input[_TRF]],
1030
+ [_PF]: [, input[_PF]],
1031
+ [_ODT]: [, input[_ODT]],
1032
+ [_ERA]: [, input[_ERA]]
1033
+ });
1034
+ let body;
1035
+ b.m("GET").h(headers).q(query).b(body);
1036
+ return b.build();
1037
+ }, "se_GetTileCommand");
1038
+ var se_GetVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1039
+ const b = (0, import_core2.requestBuilder)(input, context);
1040
+ const headers = {};
1041
+ b.bp("/vector-enrichment-jobs/{Arn}");
1042
+ b.p("Arn", () => input.Arn, "{Arn}", false);
1043
+ let body;
1044
+ b.m("GET").h(headers).b(body);
1045
+ return b.build();
1046
+ }, "se_GetVectorEnrichmentJobCommand");
1047
+ var se_ListEarthObservationJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1048
+ const b = (0, import_core2.requestBuilder)(input, context);
1049
+ const headers = {
1050
+ "content-type": "application/json"
1051
+ };
1052
+ b.bp("/list-earth-observation-jobs");
1053
+ let body;
1054
+ body = JSON.stringify(
1055
+ (0, import_smithy_client.take)(input, {
1056
+ MaxResults: [],
1057
+ NextToken: [],
1058
+ SortBy: [],
1059
+ SortOrder: [],
1060
+ StatusEquals: []
1061
+ })
1062
+ );
1063
+ b.m("POST").h(headers).b(body);
1064
+ return b.build();
1065
+ }, "se_ListEarthObservationJobsCommand");
1066
+ var se_ListRasterDataCollectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1067
+ const b = (0, import_core2.requestBuilder)(input, context);
1068
+ const headers = {};
1069
+ b.bp("/raster-data-collections");
1070
+ const query = (0, import_smithy_client.map)({
1071
+ [_NT]: [, input[_NT]],
1072
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
1073
+ });
1074
+ let body;
1075
+ b.m("GET").h(headers).q(query).b(body);
1076
+ return b.build();
1077
+ }, "se_ListRasterDataCollectionsCommand");
1078
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1079
+ const b = (0, import_core2.requestBuilder)(input, context);
1080
+ const headers = {};
1081
+ b.bp("/tags/{ResourceArn}");
1082
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1083
+ let body;
1084
+ b.m("GET").h(headers).b(body);
1085
+ return b.build();
1086
+ }, "se_ListTagsForResourceCommand");
1087
+ var se_ListVectorEnrichmentJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1088
+ const b = (0, import_core2.requestBuilder)(input, context);
1089
+ const headers = {
1090
+ "content-type": "application/json"
1091
+ };
1092
+ b.bp("/list-vector-enrichment-jobs");
1093
+ let body;
1094
+ body = JSON.stringify(
1095
+ (0, import_smithy_client.take)(input, {
1096
+ MaxResults: [],
1097
+ NextToken: [],
1098
+ SortBy: [],
1099
+ SortOrder: [],
1100
+ StatusEquals: []
1101
+ })
1102
+ );
1103
+ b.m("POST").h(headers).b(body);
1104
+ return b.build();
1105
+ }, "se_ListVectorEnrichmentJobsCommand");
1106
+ var se_SearchRasterDataCollectionCommand = /* @__PURE__ */ __name(async (input, context) => {
1107
+ const b = (0, import_core2.requestBuilder)(input, context);
1108
+ const headers = {
1109
+ "content-type": "application/json"
1110
+ };
1111
+ b.bp("/search-raster-data-collection");
1112
+ let body;
1113
+ body = JSON.stringify(
1114
+ (0, import_smithy_client.take)(input, {
1115
+ Arn: [],
1116
+ NextToken: [],
1117
+ RasterDataCollectionQuery: (_) => se_RasterDataCollectionQueryWithBandFilterInput(_, context)
1118
+ })
1119
+ );
1120
+ b.m("POST").h(headers).b(body);
1121
+ return b.build();
1122
+ }, "se_SearchRasterDataCollectionCommand");
1123
+ var se_StartEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1124
+ const b = (0, import_core2.requestBuilder)(input, context);
1125
+ const headers = {
1126
+ "content-type": "application/json"
1127
+ };
1128
+ b.bp("/earth-observation-jobs");
1129
+ let body;
1130
+ body = JSON.stringify(
1131
+ (0, import_smithy_client.take)(input, {
1132
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1133
+ ExecutionRoleArn: [],
1134
+ InputConfig: (_) => se_InputConfigInput(_, context),
1135
+ JobConfig: (_) => se_JobConfigInput(_, context),
1136
+ KmsKeyId: [],
1137
+ Name: [],
1138
+ Tags: (_) => (0, import_smithy_client._json)(_)
1139
+ })
1140
+ );
1141
+ b.m("POST").h(headers).b(body);
1142
+ return b.build();
1143
+ }, "se_StartEarthObservationJobCommand");
1144
+ var se_StartVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1145
+ const b = (0, import_core2.requestBuilder)(input, context);
1146
+ const headers = {
1147
+ "content-type": "application/json"
1148
+ };
1149
+ b.bp("/vector-enrichment-jobs");
1150
+ let body;
1151
+ body = JSON.stringify(
1152
+ (0, import_smithy_client.take)(input, {
1153
+ ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1154
+ ExecutionRoleArn: [],
1155
+ InputConfig: (_) => (0, import_smithy_client._json)(_),
1156
+ JobConfig: (_) => (0, import_smithy_client._json)(_),
1157
+ KmsKeyId: [],
1158
+ Name: [],
1159
+ Tags: (_) => (0, import_smithy_client._json)(_)
1160
+ })
1161
+ );
1162
+ b.m("POST").h(headers).b(body);
1163
+ return b.build();
1164
+ }, "se_StartVectorEnrichmentJobCommand");
1165
+ var se_StopEarthObservationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1166
+ const b = (0, import_core2.requestBuilder)(input, context);
1167
+ const headers = {
1168
+ "content-type": "application/json"
1169
+ };
1170
+ b.bp("/earth-observation-jobs/stop");
1171
+ let body;
1172
+ body = JSON.stringify(
1173
+ (0, import_smithy_client.take)(input, {
1174
+ Arn: []
1175
+ })
1176
+ );
1177
+ b.m("POST").h(headers).b(body);
1178
+ return b.build();
1179
+ }, "se_StopEarthObservationJobCommand");
1180
+ var se_StopVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1181
+ const b = (0, import_core2.requestBuilder)(input, context);
1182
+ const headers = {
1183
+ "content-type": "application/json"
1184
+ };
1185
+ b.bp("/vector-enrichment-jobs/stop");
1186
+ let body;
1187
+ body = JSON.stringify(
1188
+ (0, import_smithy_client.take)(input, {
1189
+ Arn: []
1190
+ })
1191
+ );
1192
+ b.m("POST").h(headers).b(body);
1193
+ return b.build();
1194
+ }, "se_StopVectorEnrichmentJobCommand");
1195
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1196
+ const b = (0, import_core2.requestBuilder)(input, context);
1197
+ const headers = {
1198
+ "content-type": "application/json"
1199
+ };
1200
+ b.bp("/tags/{ResourceArn}");
1201
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1202
+ let body;
1203
+ body = JSON.stringify(
1204
+ (0, import_smithy_client.take)(input, {
1205
+ Tags: (_) => (0, import_smithy_client._json)(_)
1206
+ })
1207
+ );
1208
+ b.m("PUT").h(headers).b(body);
1209
+ return b.build();
1210
+ }, "se_TagResourceCommand");
1211
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1212
+ const b = (0, import_core2.requestBuilder)(input, context);
1213
+ const headers = {};
1214
+ b.bp("/tags/{ResourceArn}");
1215
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
1216
+ const query = (0, import_smithy_client.map)({
1217
+ [_tK]: [
1218
+ (0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
1219
+ () => (input[_TK] || []).map((_entry) => _entry)
1220
+ ]
1221
+ });
1222
+ let body;
1223
+ b.m("DELETE").h(headers).q(query).b(body);
1224
+ return b.build();
1225
+ }, "se_UntagResourceCommand");
1226
+ var de_DeleteEarthObservationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1227
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1228
+ return de_DeleteEarthObservationJobCommandError(output, context);
1229
+ }
1230
+ const contents = (0, import_smithy_client.map)({
1231
+ $metadata: deserializeMetadata(output)
1232
+ });
1233
+ await (0, import_smithy_client.collectBody)(output.body, context);
1234
+ return contents;
1235
+ }, "de_DeleteEarthObservationJobCommand");
1236
+ var de_DeleteEarthObservationJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1237
+ const parsedOutput = {
1238
+ ...output,
1239
+ body: await parseErrorBody(output.body, context)
1240
+ };
1241
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1242
+ switch (errorCode) {
1243
+ case "AccessDeniedException":
1244
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1245
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1246
+ case "ConflictException":
1247
+ case "com.amazonaws.sagemakergeospatial#ConflictException":
1248
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1249
+ case "InternalServerException":
1250
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1251
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1252
+ case "ResourceNotFoundException":
1253
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1254
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1255
+ case "ThrottlingException":
1256
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1257
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1258
+ case "ValidationException":
1259
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1260
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1261
+ default:
1262
+ const parsedBody = parsedOutput.body;
1263
+ return throwDefaultError({
1264
+ output,
1265
+ parsedBody,
1266
+ errorCode
1267
+ });
1268
+ }
1269
+ }, "de_DeleteEarthObservationJobCommandError");
1270
+ var de_DeleteVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1271
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1272
+ return de_DeleteVectorEnrichmentJobCommandError(output, context);
1273
+ }
1274
+ const contents = (0, import_smithy_client.map)({
1275
+ $metadata: deserializeMetadata(output)
1276
+ });
1277
+ await (0, import_smithy_client.collectBody)(output.body, context);
1278
+ return contents;
1279
+ }, "de_DeleteVectorEnrichmentJobCommand");
1280
+ var de_DeleteVectorEnrichmentJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1281
+ const parsedOutput = {
1282
+ ...output,
1283
+ body: await parseErrorBody(output.body, context)
1284
+ };
1285
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1286
+ switch (errorCode) {
1287
+ case "AccessDeniedException":
1288
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1289
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1290
+ case "ConflictException":
1291
+ case "com.amazonaws.sagemakergeospatial#ConflictException":
1292
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1293
+ case "InternalServerException":
1294
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1295
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1296
+ case "ResourceNotFoundException":
1297
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1298
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1299
+ case "ThrottlingException":
1300
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1301
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1302
+ case "ValidationException":
1303
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1304
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1305
+ default:
1306
+ const parsedBody = parsedOutput.body;
1307
+ return throwDefaultError({
1308
+ output,
1309
+ parsedBody,
1310
+ errorCode
1311
+ });
1312
+ }
1313
+ }, "de_DeleteVectorEnrichmentJobCommandError");
1314
+ var de_ExportEarthObservationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1315
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1316
+ return de_ExportEarthObservationJobCommandError(output, context);
1317
+ }
1318
+ const contents = (0, import_smithy_client.map)({
1319
+ $metadata: deserializeMetadata(output)
1320
+ });
1321
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1322
+ const doc = (0, import_smithy_client.take)(data, {
1323
+ Arn: import_smithy_client.expectString,
1324
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1325
+ ExecutionRoleArn: import_smithy_client.expectString,
1326
+ ExportSourceImages: import_smithy_client.expectBoolean,
1327
+ ExportStatus: import_smithy_client.expectString,
1328
+ OutputConfig: import_smithy_client._json
1329
+ });
1330
+ Object.assign(contents, doc);
1331
+ return contents;
1332
+ }, "de_ExportEarthObservationJobCommand");
1333
+ var de_ExportEarthObservationJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1334
+ const parsedOutput = {
1335
+ ...output,
1336
+ body: await parseErrorBody(output.body, context)
1337
+ };
1338
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1339
+ switch (errorCode) {
1340
+ case "AccessDeniedException":
1341
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1342
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1343
+ case "ConflictException":
1344
+ case "com.amazonaws.sagemakergeospatial#ConflictException":
1345
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1346
+ case "InternalServerException":
1347
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1348
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1349
+ case "ResourceNotFoundException":
1350
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1351
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1352
+ case "ServiceQuotaExceededException":
1353
+ case "com.amazonaws.sagemakergeospatial#ServiceQuotaExceededException":
1354
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1355
+ case "ThrottlingException":
1356
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1357
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1358
+ case "ValidationException":
1359
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1360
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1361
+ default:
1362
+ const parsedBody = parsedOutput.body;
1363
+ return throwDefaultError({
1364
+ output,
1365
+ parsedBody,
1366
+ errorCode
1367
+ });
1368
+ }
1369
+ }, "de_ExportEarthObservationJobCommandError");
1370
+ var de_ExportVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1371
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1372
+ return de_ExportVectorEnrichmentJobCommandError(output, context);
1373
+ }
1374
+ const contents = (0, import_smithy_client.map)({
1375
+ $metadata: deserializeMetadata(output)
1376
+ });
1377
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1378
+ const doc = (0, import_smithy_client.take)(data, {
1379
+ Arn: import_smithy_client.expectString,
1380
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1381
+ ExecutionRoleArn: import_smithy_client.expectString,
1382
+ ExportStatus: import_smithy_client.expectString,
1383
+ OutputConfig: import_smithy_client._json
1384
+ });
1385
+ Object.assign(contents, doc);
1386
+ return contents;
1387
+ }, "de_ExportVectorEnrichmentJobCommand");
1388
+ var de_ExportVectorEnrichmentJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1389
+ const parsedOutput = {
1390
+ ...output,
1391
+ body: await parseErrorBody(output.body, context)
1392
+ };
1393
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1394
+ switch (errorCode) {
1395
+ case "AccessDeniedException":
1396
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1397
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1398
+ case "ConflictException":
1399
+ case "com.amazonaws.sagemakergeospatial#ConflictException":
1400
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1401
+ case "InternalServerException":
1402
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1403
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1404
+ case "ResourceNotFoundException":
1405
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1406
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1407
+ case "ServiceQuotaExceededException":
1408
+ case "com.amazonaws.sagemakergeospatial#ServiceQuotaExceededException":
1409
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1410
+ case "ThrottlingException":
1411
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1412
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1413
+ case "ValidationException":
1414
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1415
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1416
+ default:
1417
+ const parsedBody = parsedOutput.body;
1418
+ return throwDefaultError({
1419
+ output,
1420
+ parsedBody,
1421
+ errorCode
1422
+ });
1423
+ }
1424
+ }, "de_ExportVectorEnrichmentJobCommandError");
1425
+ var de_GetEarthObservationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1426
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1427
+ return de_GetEarthObservationJobCommandError(output, context);
1428
+ }
1429
+ const contents = (0, import_smithy_client.map)({
1430
+ $metadata: deserializeMetadata(output)
1431
+ });
1432
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1433
+ const doc = (0, import_smithy_client.take)(data, {
1434
+ Arn: import_smithy_client.expectString,
1435
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1436
+ DurationInSeconds: import_smithy_client.expectInt32,
1437
+ ErrorDetails: import_smithy_client._json,
1438
+ ExecutionRoleArn: import_smithy_client.expectString,
1439
+ ExportErrorDetails: import_smithy_client._json,
1440
+ ExportStatus: import_smithy_client.expectString,
1441
+ InputConfig: (_) => de_InputConfigOutput(_, context),
1442
+ JobConfig: (_) => de_JobConfigInput((0, import_core.awsExpectUnion)(_), context),
1443
+ KmsKeyId: import_smithy_client.expectString,
1444
+ Name: import_smithy_client.expectString,
1445
+ OutputBands: import_smithy_client._json,
1446
+ Status: import_smithy_client.expectString,
1447
+ Tags: import_smithy_client._json
1448
+ });
1449
+ Object.assign(contents, doc);
1450
+ return contents;
1451
+ }, "de_GetEarthObservationJobCommand");
1452
+ var de_GetEarthObservationJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1453
+ const parsedOutput = {
1454
+ ...output,
1455
+ body: await parseErrorBody(output.body, context)
1456
+ };
1457
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1458
+ switch (errorCode) {
1459
+ case "AccessDeniedException":
1460
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1461
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1462
+ case "InternalServerException":
1463
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1464
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1465
+ case "ResourceNotFoundException":
1466
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1467
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1468
+ case "ThrottlingException":
1469
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1470
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1471
+ case "ValidationException":
1472
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1473
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1474
+ default:
1475
+ const parsedBody = parsedOutput.body;
1476
+ return throwDefaultError({
1477
+ output,
1478
+ parsedBody,
1479
+ errorCode
1480
+ });
1481
+ }
1482
+ }, "de_GetEarthObservationJobCommandError");
1483
+ var de_GetRasterDataCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {
1484
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1485
+ return de_GetRasterDataCollectionCommandError(output, context);
1486
+ }
1487
+ const contents = (0, import_smithy_client.map)({
1488
+ $metadata: deserializeMetadata(output)
1489
+ });
1490
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1491
+ const doc = (0, import_smithy_client.take)(data, {
1492
+ Arn: import_smithy_client.expectString,
1493
+ Description: import_smithy_client.expectString,
1494
+ DescriptionPageUrl: import_smithy_client.expectString,
1495
+ ImageSourceBands: import_smithy_client._json,
1496
+ Name: import_smithy_client.expectString,
1497
+ SupportedFilters: (_) => de_FilterList(_, context),
1498
+ Tags: import_smithy_client._json,
1499
+ Type: import_smithy_client.expectString
1500
+ });
1501
+ Object.assign(contents, doc);
1502
+ return contents;
1503
+ }, "de_GetRasterDataCollectionCommand");
1504
+ var de_GetRasterDataCollectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1505
+ const parsedOutput = {
1506
+ ...output,
1507
+ body: await parseErrorBody(output.body, context)
1508
+ };
1509
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1510
+ switch (errorCode) {
1511
+ case "AccessDeniedException":
1512
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1513
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1514
+ case "InternalServerException":
1515
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1516
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1517
+ case "ResourceNotFoundException":
1518
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1519
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1520
+ case "ThrottlingException":
1521
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1522
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1523
+ case "ValidationException":
1524
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1525
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1526
+ default:
1527
+ const parsedBody = parsedOutput.body;
1528
+ return throwDefaultError({
1529
+ output,
1530
+ parsedBody,
1531
+ errorCode
1532
+ });
1533
+ }
1534
+ }, "de_GetRasterDataCollectionCommandError");
1535
+ var de_GetTileCommand = /* @__PURE__ */ __name(async (output, context) => {
1536
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1537
+ return de_GetTileCommandError(output, context);
1538
+ }
1539
+ const contents = (0, import_smithy_client.map)({
1540
+ $metadata: deserializeMetadata(output)
1541
+ });
1542
+ const data = output.body;
1543
+ context.sdkStreamMixin(data);
1544
+ contents.BinaryFile = data;
1545
+ return contents;
1546
+ }, "de_GetTileCommand");
1547
+ var de_GetTileCommandError = /* @__PURE__ */ __name(async (output, context) => {
1548
+ const parsedOutput = {
1549
+ ...output,
1550
+ body: await parseErrorBody(output.body, context)
1551
+ };
1552
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1553
+ switch (errorCode) {
1554
+ case "AccessDeniedException":
1555
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1556
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1557
+ case "InternalServerException":
1558
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1559
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1560
+ case "ResourceNotFoundException":
1561
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1562
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1563
+ case "ThrottlingException":
1564
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1565
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1566
+ case "ValidationException":
1567
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1568
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1569
+ default:
1570
+ const parsedBody = parsedOutput.body;
1571
+ return throwDefaultError({
1572
+ output,
1573
+ parsedBody,
1574
+ errorCode
1575
+ });
1576
+ }
1577
+ }, "de_GetTileCommandError");
1578
+ var de_GetVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1579
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1580
+ return de_GetVectorEnrichmentJobCommandError(output, context);
1581
+ }
1582
+ const contents = (0, import_smithy_client.map)({
1583
+ $metadata: deserializeMetadata(output)
1584
+ });
1585
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1586
+ const doc = (0, import_smithy_client.take)(data, {
1587
+ Arn: import_smithy_client.expectString,
1588
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1589
+ DurationInSeconds: import_smithy_client.expectInt32,
1590
+ ErrorDetails: import_smithy_client._json,
1591
+ ExecutionRoleArn: import_smithy_client.expectString,
1592
+ ExportErrorDetails: import_smithy_client._json,
1593
+ ExportStatus: import_smithy_client.expectString,
1594
+ InputConfig: import_smithy_client._json,
1595
+ JobConfig: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
1596
+ KmsKeyId: import_smithy_client.expectString,
1597
+ Name: import_smithy_client.expectString,
1598
+ Status: import_smithy_client.expectString,
1599
+ Tags: import_smithy_client._json,
1600
+ Type: import_smithy_client.expectString
1601
+ });
1602
+ Object.assign(contents, doc);
1603
+ return contents;
1604
+ }, "de_GetVectorEnrichmentJobCommand");
1605
+ var de_GetVectorEnrichmentJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1606
+ const parsedOutput = {
1607
+ ...output,
1608
+ body: await parseErrorBody(output.body, context)
1609
+ };
1610
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1611
+ switch (errorCode) {
1612
+ case "AccessDeniedException":
1613
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1614
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1615
+ case "InternalServerException":
1616
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1617
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1618
+ case "ResourceNotFoundException":
1619
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1620
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1621
+ case "ThrottlingException":
1622
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1623
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1624
+ case "ValidationException":
1625
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1626
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1627
+ default:
1628
+ const parsedBody = parsedOutput.body;
1629
+ return throwDefaultError({
1630
+ output,
1631
+ parsedBody,
1632
+ errorCode
1633
+ });
1634
+ }
1635
+ }, "de_GetVectorEnrichmentJobCommandError");
1636
+ var de_ListEarthObservationJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
1637
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1638
+ return de_ListEarthObservationJobsCommandError(output, context);
1639
+ }
1640
+ const contents = (0, import_smithy_client.map)({
1641
+ $metadata: deserializeMetadata(output)
1642
+ });
1643
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1644
+ const doc = (0, import_smithy_client.take)(data, {
1645
+ EarthObservationJobSummaries: (_) => de_EarthObservationJobList(_, context),
1646
+ NextToken: import_smithy_client.expectString
1647
+ });
1648
+ Object.assign(contents, doc);
1649
+ return contents;
1650
+ }, "de_ListEarthObservationJobsCommand");
1651
+ var de_ListEarthObservationJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1652
+ const parsedOutput = {
1653
+ ...output,
1654
+ body: await parseErrorBody(output.body, context)
1655
+ };
1656
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1657
+ switch (errorCode) {
1658
+ case "AccessDeniedException":
1659
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1660
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1661
+ case "InternalServerException":
1662
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1663
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1664
+ case "ResourceNotFoundException":
1665
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1666
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1667
+ case "ThrottlingException":
1668
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1669
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1670
+ case "ValidationException":
1671
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1672
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1673
+ default:
1674
+ const parsedBody = parsedOutput.body;
1675
+ return throwDefaultError({
1676
+ output,
1677
+ parsedBody,
1678
+ errorCode
1679
+ });
1680
+ }
1681
+ }, "de_ListEarthObservationJobsCommandError");
1682
+ var de_ListRasterDataCollectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1683
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1684
+ return de_ListRasterDataCollectionsCommandError(output, context);
1685
+ }
1686
+ const contents = (0, import_smithy_client.map)({
1687
+ $metadata: deserializeMetadata(output)
1688
+ });
1689
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1690
+ const doc = (0, import_smithy_client.take)(data, {
1691
+ NextToken: import_smithy_client.expectString,
1692
+ RasterDataCollectionSummaries: (_) => de_DataCollectionsList(_, context)
1693
+ });
1694
+ Object.assign(contents, doc);
1695
+ return contents;
1696
+ }, "de_ListRasterDataCollectionsCommand");
1697
+ var de_ListRasterDataCollectionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1698
+ const parsedOutput = {
1699
+ ...output,
1700
+ body: await parseErrorBody(output.body, context)
1701
+ };
1702
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1703
+ switch (errorCode) {
1704
+ case "AccessDeniedException":
1705
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1706
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1707
+ case "InternalServerException":
1708
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1709
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1710
+ case "ResourceNotFoundException":
1711
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1712
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1713
+ case "ThrottlingException":
1714
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1715
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1716
+ case "ValidationException":
1717
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1718
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1719
+ default:
1720
+ const parsedBody = parsedOutput.body;
1721
+ return throwDefaultError({
1722
+ output,
1723
+ parsedBody,
1724
+ errorCode
1725
+ });
1726
+ }
1727
+ }, "de_ListRasterDataCollectionsCommandError");
1728
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1729
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1730
+ return de_ListTagsForResourceCommandError(output, context);
1731
+ }
1732
+ const contents = (0, import_smithy_client.map)({
1733
+ $metadata: deserializeMetadata(output)
1734
+ });
1735
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1736
+ const doc = (0, import_smithy_client.take)(data, {
1737
+ Tags: import_smithy_client._json
1738
+ });
1739
+ Object.assign(contents, doc);
1740
+ return contents;
1741
+ }, "de_ListTagsForResourceCommand");
1742
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1743
+ const parsedOutput = {
1744
+ ...output,
1745
+ body: await parseErrorBody(output.body, context)
1746
+ };
1747
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1748
+ switch (errorCode) {
1749
+ case "AccessDeniedException":
1750
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1751
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1752
+ case "InternalServerException":
1753
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1754
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1755
+ case "ResourceNotFoundException":
1756
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1757
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1758
+ case "ThrottlingException":
1759
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1760
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1761
+ case "ValidationException":
1762
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1763
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1764
+ default:
1765
+ const parsedBody = parsedOutput.body;
1766
+ return throwDefaultError({
1767
+ output,
1768
+ parsedBody,
1769
+ errorCode
1770
+ });
1771
+ }
1772
+ }, "de_ListTagsForResourceCommandError");
1773
+ var de_ListVectorEnrichmentJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
1774
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1775
+ return de_ListVectorEnrichmentJobsCommandError(output, context);
1776
+ }
1777
+ const contents = (0, import_smithy_client.map)({
1778
+ $metadata: deserializeMetadata(output)
1779
+ });
1780
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1781
+ const doc = (0, import_smithy_client.take)(data, {
1782
+ NextToken: import_smithy_client.expectString,
1783
+ VectorEnrichmentJobSummaries: (_) => de_VectorEnrichmentJobList(_, context)
1784
+ });
1785
+ Object.assign(contents, doc);
1786
+ return contents;
1787
+ }, "de_ListVectorEnrichmentJobsCommand");
1788
+ var de_ListVectorEnrichmentJobsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1789
+ const parsedOutput = {
1790
+ ...output,
1791
+ body: await parseErrorBody(output.body, context)
1792
+ };
1793
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1794
+ switch (errorCode) {
1795
+ case "AccessDeniedException":
1796
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1797
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1798
+ case "InternalServerException":
1799
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1800
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1801
+ case "ResourceNotFoundException":
1802
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1803
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1804
+ case "ThrottlingException":
1805
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1806
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1807
+ case "ValidationException":
1808
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1809
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1810
+ default:
1811
+ const parsedBody = parsedOutput.body;
1812
+ return throwDefaultError({
1813
+ output,
1814
+ parsedBody,
1815
+ errorCode
1816
+ });
1817
+ }
1818
+ }, "de_ListVectorEnrichmentJobsCommandError");
1819
+ var de_SearchRasterDataCollectionCommand = /* @__PURE__ */ __name(async (output, context) => {
1820
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1821
+ return de_SearchRasterDataCollectionCommandError(output, context);
1822
+ }
1823
+ const contents = (0, import_smithy_client.map)({
1824
+ $metadata: deserializeMetadata(output)
1825
+ });
1826
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1827
+ const doc = (0, import_smithy_client.take)(data, {
1828
+ ApproximateResultCount: import_smithy_client.expectInt32,
1829
+ Items: (_) => de_ItemSourceList(_, context),
1830
+ NextToken: import_smithy_client.expectString
1831
+ });
1832
+ Object.assign(contents, doc);
1833
+ return contents;
1834
+ }, "de_SearchRasterDataCollectionCommand");
1835
+ var de_SearchRasterDataCollectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
1836
+ const parsedOutput = {
1837
+ ...output,
1838
+ body: await parseErrorBody(output.body, context)
1839
+ };
1840
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1841
+ switch (errorCode) {
1842
+ case "AccessDeniedException":
1843
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1844
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1845
+ case "InternalServerException":
1846
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1847
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1848
+ case "ResourceNotFoundException":
1849
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1850
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1851
+ case "ThrottlingException":
1852
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1853
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1854
+ case "ValidationException":
1855
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1856
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1857
+ default:
1858
+ const parsedBody = parsedOutput.body;
1859
+ return throwDefaultError({
1860
+ output,
1861
+ parsedBody,
1862
+ errorCode
1863
+ });
1864
+ }
1865
+ }, "de_SearchRasterDataCollectionCommandError");
1866
+ var de_StartEarthObservationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1867
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1868
+ return de_StartEarthObservationJobCommandError(output, context);
1869
+ }
1870
+ const contents = (0, import_smithy_client.map)({
1871
+ $metadata: deserializeMetadata(output)
1872
+ });
1873
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1874
+ const doc = (0, import_smithy_client.take)(data, {
1875
+ Arn: import_smithy_client.expectString,
1876
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1877
+ DurationInSeconds: import_smithy_client.expectInt32,
1878
+ ExecutionRoleArn: import_smithy_client.expectString,
1879
+ InputConfig: (_) => de_InputConfigOutput(_, context),
1880
+ JobConfig: (_) => de_JobConfigInput((0, import_core.awsExpectUnion)(_), context),
1881
+ KmsKeyId: import_smithy_client.expectString,
1882
+ Name: import_smithy_client.expectString,
1883
+ Status: import_smithy_client.expectString,
1884
+ Tags: import_smithy_client._json
1885
+ });
1886
+ Object.assign(contents, doc);
1887
+ return contents;
1888
+ }, "de_StartEarthObservationJobCommand");
1889
+ var de_StartEarthObservationJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1890
+ const parsedOutput = {
1891
+ ...output,
1892
+ body: await parseErrorBody(output.body, context)
1893
+ };
1894
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1895
+ switch (errorCode) {
1896
+ case "AccessDeniedException":
1897
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1898
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1899
+ case "ConflictException":
1900
+ case "com.amazonaws.sagemakergeospatial#ConflictException":
1901
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1902
+ case "InternalServerException":
1903
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1904
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1905
+ case "ResourceNotFoundException":
1906
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1907
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1908
+ case "ServiceQuotaExceededException":
1909
+ case "com.amazonaws.sagemakergeospatial#ServiceQuotaExceededException":
1910
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1911
+ case "ThrottlingException":
1912
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1913
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1914
+ case "ValidationException":
1915
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1916
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1917
+ default:
1918
+ const parsedBody = parsedOutput.body;
1919
+ return throwDefaultError({
1920
+ output,
1921
+ parsedBody,
1922
+ errorCode
1923
+ });
1924
+ }
1925
+ }, "de_StartEarthObservationJobCommandError");
1926
+ var de_StartVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1927
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1928
+ return de_StartVectorEnrichmentJobCommandError(output, context);
1929
+ }
1930
+ const contents = (0, import_smithy_client.map)({
1931
+ $metadata: deserializeMetadata(output)
1932
+ });
1933
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
1934
+ const doc = (0, import_smithy_client.take)(data, {
1935
+ Arn: import_smithy_client.expectString,
1936
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1937
+ DurationInSeconds: import_smithy_client.expectInt32,
1938
+ ExecutionRoleArn: import_smithy_client.expectString,
1939
+ InputConfig: import_smithy_client._json,
1940
+ JobConfig: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
1941
+ KmsKeyId: import_smithy_client.expectString,
1942
+ Name: import_smithy_client.expectString,
1943
+ Status: import_smithy_client.expectString,
1944
+ Tags: import_smithy_client._json,
1945
+ Type: import_smithy_client.expectString
1946
+ });
1947
+ Object.assign(contents, doc);
1948
+ return contents;
1949
+ }, "de_StartVectorEnrichmentJobCommand");
1950
+ var de_StartVectorEnrichmentJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1951
+ const parsedOutput = {
1952
+ ...output,
1953
+ body: await parseErrorBody(output.body, context)
1954
+ };
1955
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1956
+ switch (errorCode) {
1957
+ case "AccessDeniedException":
1958
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
1959
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1960
+ case "ConflictException":
1961
+ case "com.amazonaws.sagemakergeospatial#ConflictException":
1962
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1963
+ case "InternalServerException":
1964
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
1965
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1966
+ case "ResourceNotFoundException":
1967
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
1968
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1969
+ case "ServiceQuotaExceededException":
1970
+ case "com.amazonaws.sagemakergeospatial#ServiceQuotaExceededException":
1971
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1972
+ case "ThrottlingException":
1973
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
1974
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1975
+ case "ValidationException":
1976
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
1977
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1978
+ default:
1979
+ const parsedBody = parsedOutput.body;
1980
+ return throwDefaultError({
1981
+ output,
1982
+ parsedBody,
1983
+ errorCode
1984
+ });
1985
+ }
1986
+ }, "de_StartVectorEnrichmentJobCommandError");
1987
+ var de_StopEarthObservationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1988
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1989
+ return de_StopEarthObservationJobCommandError(output, context);
1990
+ }
1991
+ const contents = (0, import_smithy_client.map)({
1992
+ $metadata: deserializeMetadata(output)
1993
+ });
1994
+ await (0, import_smithy_client.collectBody)(output.body, context);
1995
+ return contents;
1996
+ }, "de_StopEarthObservationJobCommand");
1997
+ var de_StopEarthObservationJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1998
+ const parsedOutput = {
1999
+ ...output,
2000
+ body: await parseErrorBody(output.body, context)
2001
+ };
2002
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2003
+ switch (errorCode) {
2004
+ case "AccessDeniedException":
2005
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
2006
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2007
+ case "ConflictException":
2008
+ case "com.amazonaws.sagemakergeospatial#ConflictException":
2009
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2010
+ case "InternalServerException":
2011
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
2012
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2013
+ case "ResourceNotFoundException":
2014
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
2015
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2016
+ case "ThrottlingException":
2017
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
2018
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2019
+ case "ValidationException":
2020
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
2021
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2022
+ default:
2023
+ const parsedBody = parsedOutput.body;
2024
+ return throwDefaultError({
2025
+ output,
2026
+ parsedBody,
2027
+ errorCode
2028
+ });
2029
+ }
2030
+ }, "de_StopEarthObservationJobCommandError");
2031
+ var de_StopVectorEnrichmentJobCommand = /* @__PURE__ */ __name(async (output, context) => {
2032
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2033
+ return de_StopVectorEnrichmentJobCommandError(output, context);
2034
+ }
2035
+ const contents = (0, import_smithy_client.map)({
2036
+ $metadata: deserializeMetadata(output)
2037
+ });
2038
+ await (0, import_smithy_client.collectBody)(output.body, context);
2039
+ return contents;
2040
+ }, "de_StopVectorEnrichmentJobCommand");
2041
+ var de_StopVectorEnrichmentJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
2042
+ const parsedOutput = {
2043
+ ...output,
2044
+ body: await parseErrorBody(output.body, context)
2045
+ };
2046
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2047
+ switch (errorCode) {
2048
+ case "AccessDeniedException":
2049
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
2050
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2051
+ case "ConflictException":
2052
+ case "com.amazonaws.sagemakergeospatial#ConflictException":
2053
+ throw await de_ConflictExceptionRes(parsedOutput, context);
2054
+ case "InternalServerException":
2055
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
2056
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2057
+ case "ResourceNotFoundException":
2058
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
2059
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2060
+ case "ThrottlingException":
2061
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
2062
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2063
+ case "ValidationException":
2064
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
2065
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2066
+ default:
2067
+ const parsedBody = parsedOutput.body;
2068
+ return throwDefaultError({
2069
+ output,
2070
+ parsedBody,
2071
+ errorCode
2072
+ });
2073
+ }
2074
+ }, "de_StopVectorEnrichmentJobCommandError");
2075
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2076
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2077
+ return de_TagResourceCommandError(output, context);
2078
+ }
2079
+ const contents = (0, import_smithy_client.map)({
2080
+ $metadata: deserializeMetadata(output)
2081
+ });
2082
+ await (0, import_smithy_client.collectBody)(output.body, context);
2083
+ return contents;
2084
+ }, "de_TagResourceCommand");
2085
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2086
+ const parsedOutput = {
2087
+ ...output,
2088
+ body: await parseErrorBody(output.body, context)
2089
+ };
2090
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2091
+ switch (errorCode) {
2092
+ case "AccessDeniedException":
2093
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
2094
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2095
+ case "InternalServerException":
2096
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
2097
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2098
+ case "ResourceNotFoundException":
2099
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
2100
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2101
+ case "ThrottlingException":
2102
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
2103
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2104
+ case "ValidationException":
2105
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
2106
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2107
+ default:
2108
+ const parsedBody = parsedOutput.body;
2109
+ return throwDefaultError({
2110
+ output,
2111
+ parsedBody,
2112
+ errorCode
2113
+ });
2114
+ }
2115
+ }, "de_TagResourceCommandError");
2116
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2117
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2118
+ return de_UntagResourceCommandError(output, context);
2119
+ }
2120
+ const contents = (0, import_smithy_client.map)({
2121
+ $metadata: deserializeMetadata(output)
2122
+ });
2123
+ await (0, import_smithy_client.collectBody)(output.body, context);
2124
+ return contents;
2125
+ }, "de_UntagResourceCommand");
2126
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2127
+ const parsedOutput = {
2128
+ ...output,
2129
+ body: await parseErrorBody(output.body, context)
2130
+ };
2131
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2132
+ switch (errorCode) {
2133
+ case "AccessDeniedException":
2134
+ case "com.amazonaws.sagemakergeospatial#AccessDeniedException":
2135
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
2136
+ case "InternalServerException":
2137
+ case "com.amazonaws.sagemakergeospatial#InternalServerException":
2138
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
2139
+ case "ResourceNotFoundException":
2140
+ case "com.amazonaws.sagemakergeospatial#ResourceNotFoundException":
2141
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2142
+ case "ThrottlingException":
2143
+ case "com.amazonaws.sagemakergeospatial#ThrottlingException":
2144
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
2145
+ case "ValidationException":
2146
+ case "com.amazonaws.sagemakergeospatial#ValidationException":
2147
+ throw await de_ValidationExceptionRes(parsedOutput, context);
2148
+ default:
2149
+ const parsedBody = parsedOutput.body;
2150
+ return throwDefaultError({
2151
+ output,
2152
+ parsedBody,
2153
+ errorCode
2154
+ });
2155
+ }
2156
+ }, "de_UntagResourceCommandError");
2157
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(SageMakerGeospatialServiceException);
2158
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2159
+ const contents = (0, import_smithy_client.map)({});
2160
+ const data = parsedOutput.body;
2161
+ const doc = (0, import_smithy_client.take)(data, {
2162
+ Message: import_smithy_client.expectString
2163
+ });
2164
+ Object.assign(contents, doc);
2165
+ const exception = new AccessDeniedException({
2166
+ $metadata: deserializeMetadata(parsedOutput),
2167
+ ...contents
2168
+ });
2169
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2170
+ }, "de_AccessDeniedExceptionRes");
2171
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2172
+ const contents = (0, import_smithy_client.map)({});
2173
+ const data = parsedOutput.body;
2174
+ const doc = (0, import_smithy_client.take)(data, {
2175
+ Message: import_smithy_client.expectString,
2176
+ ResourceId: import_smithy_client.expectString
2177
+ });
2178
+ Object.assign(contents, doc);
2179
+ const exception = new ConflictException({
2180
+ $metadata: deserializeMetadata(parsedOutput),
2181
+ ...contents
2182
+ });
2183
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2184
+ }, "de_ConflictExceptionRes");
2185
+ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2186
+ const contents = (0, import_smithy_client.map)({});
2187
+ const data = parsedOutput.body;
2188
+ const doc = (0, import_smithy_client.take)(data, {
2189
+ Message: import_smithy_client.expectString,
2190
+ ResourceId: import_smithy_client.expectString
2191
+ });
2192
+ Object.assign(contents, doc);
2193
+ const exception = new InternalServerException({
2194
+ $metadata: deserializeMetadata(parsedOutput),
2195
+ ...contents
2196
+ });
2197
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2198
+ }, "de_InternalServerExceptionRes");
2199
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2200
+ const contents = (0, import_smithy_client.map)({});
2201
+ const data = parsedOutput.body;
2202
+ const doc = (0, import_smithy_client.take)(data, {
2203
+ Message: import_smithy_client.expectString,
2204
+ ResourceId: import_smithy_client.expectString
2205
+ });
2206
+ Object.assign(contents, doc);
2207
+ const exception = new ResourceNotFoundException({
2208
+ $metadata: deserializeMetadata(parsedOutput),
2209
+ ...contents
2210
+ });
2211
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2212
+ }, "de_ResourceNotFoundExceptionRes");
2213
+ var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2214
+ const contents = (0, import_smithy_client.map)({});
2215
+ const data = parsedOutput.body;
2216
+ const doc = (0, import_smithy_client.take)(data, {
2217
+ Message: import_smithy_client.expectString,
2218
+ ResourceId: import_smithy_client.expectString
2219
+ });
2220
+ Object.assign(contents, doc);
2221
+ const exception = new ServiceQuotaExceededException({
2222
+ $metadata: deserializeMetadata(parsedOutput),
2223
+ ...contents
2224
+ });
2225
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2226
+ }, "de_ServiceQuotaExceededExceptionRes");
2227
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2228
+ const contents = (0, import_smithy_client.map)({});
2229
+ const data = parsedOutput.body;
2230
+ const doc = (0, import_smithy_client.take)(data, {
2231
+ Message: import_smithy_client.expectString,
2232
+ ResourceId: import_smithy_client.expectString
2233
+ });
2234
+ Object.assign(contents, doc);
2235
+ const exception = new ThrottlingException({
2236
+ $metadata: deserializeMetadata(parsedOutput),
2237
+ ...contents
2238
+ });
2239
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2240
+ }, "de_ThrottlingExceptionRes");
2241
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2242
+ const contents = (0, import_smithy_client.map)({});
2243
+ const data = parsedOutput.body;
2244
+ const doc = (0, import_smithy_client.take)(data, {
2245
+ Message: import_smithy_client.expectString,
2246
+ ResourceId: import_smithy_client.expectString
2247
+ });
2248
+ Object.assign(contents, doc);
2249
+ const exception = new ValidationException({
2250
+ $metadata: deserializeMetadata(parsedOutput),
2251
+ ...contents
2252
+ });
2253
+ return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
2254
+ }, "de_ValidationExceptionRes");
2255
+ var se_AreaOfInterest = /* @__PURE__ */ __name((input, context) => {
2256
+ return AreaOfInterest.visit(input, {
2257
+ AreaOfInterestGeometry: (value) => ({ AreaOfInterestGeometry: se_AreaOfInterestGeometry(value, context) }),
2258
+ _: (name, value) => ({ name: value })
2259
+ });
2260
+ }, "se_AreaOfInterest");
2261
+ var se_AreaOfInterestGeometry = /* @__PURE__ */ __name((input, context) => {
2262
+ return AreaOfInterestGeometry.visit(input, {
2263
+ MultiPolygonGeometry: (value) => ({ MultiPolygonGeometry: se_MultiPolygonGeometryInput(value, context) }),
2264
+ PolygonGeometry: (value) => ({ PolygonGeometry: se_PolygonGeometryInput(value, context) }),
2265
+ _: (name, value) => ({ name: value })
2266
+ });
2267
+ }, "se_AreaOfInterestGeometry");
2268
+ var se_EoCloudCoverInput = /* @__PURE__ */ __name((input, context) => {
2269
+ return (0, import_smithy_client.take)(input, {
2270
+ LowerBound: import_smithy_client.serializeFloat,
2271
+ UpperBound: import_smithy_client.serializeFloat
2272
+ });
2273
+ }, "se_EoCloudCoverInput");
2274
+ var se_InputConfigInput = /* @__PURE__ */ __name((input, context) => {
2275
+ return (0, import_smithy_client.take)(input, {
2276
+ PreviousEarthObservationJobArn: [],
2277
+ RasterDataCollectionQuery: (_) => se_RasterDataCollectionQueryInput(_, context)
2278
+ });
2279
+ }, "se_InputConfigInput");
2280
+ var se_JobConfigInput = /* @__PURE__ */ __name((input, context) => {
2281
+ return JobConfigInput.visit(input, {
2282
+ BandMathConfig: (value) => ({ BandMathConfig: (0, import_smithy_client._json)(value) }),
2283
+ CloudMaskingConfig: (value) => ({ CloudMaskingConfig: (0, import_smithy_client._json)(value) }),
2284
+ CloudRemovalConfig: (value) => ({ CloudRemovalConfig: (0, import_smithy_client._json)(value) }),
2285
+ GeoMosaicConfig: (value) => ({ GeoMosaicConfig: (0, import_smithy_client._json)(value) }),
2286
+ LandCoverSegmentationConfig: (value) => ({ LandCoverSegmentationConfig: (0, import_smithy_client._json)(value) }),
2287
+ ResamplingConfig: (value) => ({ ResamplingConfig: se_ResamplingConfigInput(value, context) }),
2288
+ StackConfig: (value) => ({ StackConfig: se_StackConfigInput(value, context) }),
2289
+ TemporalStatisticsConfig: (value) => ({ TemporalStatisticsConfig: (0, import_smithy_client._json)(value) }),
2290
+ ZonalStatisticsConfig: (value) => ({ ZonalStatisticsConfig: (0, import_smithy_client._json)(value) }),
2291
+ _: (name, value) => ({ name: value })
2292
+ });
2293
+ }, "se_JobConfigInput");
2294
+ var se_LandsatCloudCoverLandInput = /* @__PURE__ */ __name((input, context) => {
2295
+ return (0, import_smithy_client.take)(input, {
2296
+ LowerBound: import_smithy_client.serializeFloat,
2297
+ UpperBound: import_smithy_client.serializeFloat
2298
+ });
2299
+ }, "se_LandsatCloudCoverLandInput");
2300
+ var se_LinearRing = /* @__PURE__ */ __name((input, context) => {
2301
+ return input.filter((e) => e != null).map((entry) => {
2302
+ return se_Position(entry, context);
2303
+ });
2304
+ }, "se_LinearRing");
2305
+ var se_LinearRings = /* @__PURE__ */ __name((input, context) => {
2306
+ return input.filter((e) => e != null).map((entry) => {
2307
+ return se_LinearRing(entry, context);
2308
+ });
2309
+ }, "se_LinearRings");
2310
+ var se_LinearRingsList = /* @__PURE__ */ __name((input, context) => {
2311
+ return input.filter((e) => e != null).map((entry) => {
2312
+ return se_LinearRings(entry, context);
2313
+ });
2314
+ }, "se_LinearRingsList");
2315
+ var se_MultiPolygonGeometryInput = /* @__PURE__ */ __name((input, context) => {
2316
+ return (0, import_smithy_client.take)(input, {
2317
+ Coordinates: (_) => se_LinearRingsList(_, context)
2318
+ });
2319
+ }, "se_MultiPolygonGeometryInput");
2320
+ var se_OutputResolutionResamplingInput = /* @__PURE__ */ __name((input, context) => {
2321
+ return (0, import_smithy_client.take)(input, {
2322
+ UserDefined: (_) => se_UserDefined(_, context)
2323
+ });
2324
+ }, "se_OutputResolutionResamplingInput");
2325
+ var se_OutputResolutionStackInput = /* @__PURE__ */ __name((input, context) => {
2326
+ return (0, import_smithy_client.take)(input, {
2327
+ Predefined: [],
2328
+ UserDefined: (_) => se_UserDefined(_, context)
2329
+ });
2330
+ }, "se_OutputResolutionStackInput");
2331
+ var se_PolygonGeometryInput = /* @__PURE__ */ __name((input, context) => {
2332
+ return (0, import_smithy_client.take)(input, {
2333
+ Coordinates: (_) => se_LinearRings(_, context)
2334
+ });
2335
+ }, "se_PolygonGeometryInput");
2336
+ var se_Position = /* @__PURE__ */ __name((input, context) => {
2337
+ return input.filter((e) => e != null).map((entry) => {
2338
+ return (0, import_smithy_client.serializeFloat)(entry);
2339
+ });
2340
+ }, "se_Position");
2341
+ var se_Property = /* @__PURE__ */ __name((input, context) => {
2342
+ return Property.visit(input, {
2343
+ EoCloudCover: (value) => ({ EoCloudCover: se_EoCloudCoverInput(value, context) }),
2344
+ LandsatCloudCoverLand: (value) => ({ LandsatCloudCoverLand: se_LandsatCloudCoverLandInput(value, context) }),
2345
+ Platform: (value) => ({ Platform: (0, import_smithy_client._json)(value) }),
2346
+ ViewOffNadir: (value) => ({ ViewOffNadir: se_ViewOffNadirInput(value, context) }),
2347
+ ViewSunAzimuth: (value) => ({ ViewSunAzimuth: se_ViewSunAzimuthInput(value, context) }),
2348
+ ViewSunElevation: (value) => ({ ViewSunElevation: se_ViewSunElevationInput(value, context) }),
2349
+ _: (name, value) => ({ name: value })
2350
+ });
2351
+ }, "se_Property");
2352
+ var se_PropertyFilter = /* @__PURE__ */ __name((input, context) => {
2353
+ return (0, import_smithy_client.take)(input, {
2354
+ Property: (_) => se_Property(_, context)
2355
+ });
2356
+ }, "se_PropertyFilter");
2357
+ var se_PropertyFilters = /* @__PURE__ */ __name((input, context) => {
2358
+ return (0, import_smithy_client.take)(input, {
2359
+ LogicalOperator: [],
2360
+ Properties: (_) => se_PropertyFiltersList(_, context)
2361
+ });
2362
+ }, "se_PropertyFilters");
2363
+ var se_PropertyFiltersList = /* @__PURE__ */ __name((input, context) => {
2364
+ return input.filter((e) => e != null).map((entry) => {
2365
+ return se_PropertyFilter(entry, context);
2366
+ });
2367
+ }, "se_PropertyFiltersList");
2368
+ var se_RasterDataCollectionQueryInput = /* @__PURE__ */ __name((input, context) => {
2369
+ return (0, import_smithy_client.take)(input, {
2370
+ AreaOfInterest: (_) => se_AreaOfInterest(_, context),
2371
+ PropertyFilters: (_) => se_PropertyFilters(_, context),
2372
+ RasterDataCollectionArn: [],
2373
+ TimeRangeFilter: (_) => se_TimeRangeFilterInput(_, context)
2374
+ });
2375
+ }, "se_RasterDataCollectionQueryInput");
2376
+ var se_RasterDataCollectionQueryWithBandFilterInput = /* @__PURE__ */ __name((input, context) => {
2377
+ return (0, import_smithy_client.take)(input, {
2378
+ AreaOfInterest: (_) => se_AreaOfInterest(_, context),
2379
+ BandFilter: import_smithy_client._json,
2380
+ PropertyFilters: (_) => se_PropertyFilters(_, context),
2381
+ TimeRangeFilter: (_) => se_TimeRangeFilterInput(_, context)
2382
+ });
2383
+ }, "se_RasterDataCollectionQueryWithBandFilterInput");
2384
+ var se_ResamplingConfigInput = /* @__PURE__ */ __name((input, context) => {
2385
+ return (0, import_smithy_client.take)(input, {
2386
+ AlgorithmName: [],
2387
+ OutputResolution: (_) => se_OutputResolutionResamplingInput(_, context),
2388
+ TargetBands: import_smithy_client._json
2389
+ });
2390
+ }, "se_ResamplingConfigInput");
2391
+ var se_StackConfigInput = /* @__PURE__ */ __name((input, context) => {
2392
+ return (0, import_smithy_client.take)(input, {
2393
+ OutputResolution: (_) => se_OutputResolutionStackInput(_, context),
2394
+ TargetBands: import_smithy_client._json
2395
+ });
2396
+ }, "se_StackConfigInput");
2397
+ var se_TimeRangeFilterInput = /* @__PURE__ */ __name((input, context) => {
2398
+ return (0, import_smithy_client.take)(input, {
2399
+ EndTime: (_) => Math.round(_.getTime() / 1e3),
2400
+ StartTime: (_) => Math.round(_.getTime() / 1e3)
2401
+ });
2402
+ }, "se_TimeRangeFilterInput");
2403
+ var se_UserDefined = /* @__PURE__ */ __name((input, context) => {
2404
+ return (0, import_smithy_client.take)(input, {
2405
+ Unit: [],
2406
+ Value: import_smithy_client.serializeFloat
2407
+ });
2408
+ }, "se_UserDefined");
2409
+ var se_ViewOffNadirInput = /* @__PURE__ */ __name((input, context) => {
2410
+ return (0, import_smithy_client.take)(input, {
2411
+ LowerBound: import_smithy_client.serializeFloat,
2412
+ UpperBound: import_smithy_client.serializeFloat
2413
+ });
2414
+ }, "se_ViewOffNadirInput");
2415
+ var se_ViewSunAzimuthInput = /* @__PURE__ */ __name((input, context) => {
2416
+ return (0, import_smithy_client.take)(input, {
2417
+ LowerBound: import_smithy_client.serializeFloat,
2418
+ UpperBound: import_smithy_client.serializeFloat
2419
+ });
2420
+ }, "se_ViewSunAzimuthInput");
2421
+ var se_ViewSunElevationInput = /* @__PURE__ */ __name((input, context) => {
2422
+ return (0, import_smithy_client.take)(input, {
2423
+ LowerBound: import_smithy_client.serializeFloat,
2424
+ UpperBound: import_smithy_client.serializeFloat
2425
+ });
2426
+ }, "se_ViewSunElevationInput");
2427
+ var de_AreaOfInterest = /* @__PURE__ */ __name((output, context) => {
2428
+ if (output.AreaOfInterestGeometry != null) {
2429
+ return {
2430
+ AreaOfInterestGeometry: de_AreaOfInterestGeometry((0, import_core.awsExpectUnion)(output.AreaOfInterestGeometry), context)
2431
+ };
2432
+ }
2433
+ return { $unknown: Object.entries(output)[0] };
2434
+ }, "de_AreaOfInterest");
2435
+ var de_AreaOfInterestGeometry = /* @__PURE__ */ __name((output, context) => {
2436
+ if (output.MultiPolygonGeometry != null) {
2437
+ return {
2438
+ MultiPolygonGeometry: de_MultiPolygonGeometryInput(output.MultiPolygonGeometry, context)
2439
+ };
2440
+ }
2441
+ if (output.PolygonGeometry != null) {
2442
+ return {
2443
+ PolygonGeometry: de_PolygonGeometryInput(output.PolygonGeometry, context)
2444
+ };
2445
+ }
2446
+ return { $unknown: Object.entries(output)[0] };
2447
+ }, "de_AreaOfInterestGeometry");
2448
+ var de_DataCollectionsList = /* @__PURE__ */ __name((output, context) => {
2449
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2450
+ return de_RasterDataCollectionMetadata(entry, context);
2451
+ });
2452
+ return retVal;
2453
+ }, "de_DataCollectionsList");
2454
+ var de_EarthObservationJobList = /* @__PURE__ */ __name((output, context) => {
2455
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2456
+ return de_ListEarthObservationJobOutputConfig(entry, context);
2457
+ });
2458
+ return retVal;
2459
+ }, "de_EarthObservationJobList");
2460
+ var de_EoCloudCoverInput = /* @__PURE__ */ __name((output, context) => {
2461
+ return (0, import_smithy_client.take)(output, {
2462
+ LowerBound: import_smithy_client.limitedParseFloat32,
2463
+ UpperBound: import_smithy_client.limitedParseFloat32
2464
+ });
2465
+ }, "de_EoCloudCoverInput");
2466
+ var de_Filter = /* @__PURE__ */ __name((output, context) => {
2467
+ return (0, import_smithy_client.take)(output, {
2468
+ Maximum: import_smithy_client.limitedParseFloat32,
2469
+ Minimum: import_smithy_client.limitedParseFloat32,
2470
+ Name: import_smithy_client.expectString,
2471
+ Type: import_smithy_client.expectString
2472
+ });
2473
+ }, "de_Filter");
2474
+ var de_FilterList = /* @__PURE__ */ __name((output, context) => {
2475
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2476
+ return de_Filter(entry, context);
2477
+ });
2478
+ return retVal;
2479
+ }, "de_FilterList");
2480
+ var de_Geometry = /* @__PURE__ */ __name((output, context) => {
2481
+ return (0, import_smithy_client.take)(output, {
2482
+ Coordinates: (_) => de_LinearRings(_, context),
2483
+ Type: import_smithy_client.expectString
2484
+ });
2485
+ }, "de_Geometry");
2486
+ var de_InputConfigOutput = /* @__PURE__ */ __name((output, context) => {
2487
+ return (0, import_smithy_client.take)(output, {
2488
+ PreviousEarthObservationJobArn: import_smithy_client.expectString,
2489
+ RasterDataCollectionQuery: (_) => de_RasterDataCollectionQueryOutput(_, context)
2490
+ });
2491
+ }, "de_InputConfigOutput");
2492
+ var de_ItemSource = /* @__PURE__ */ __name((output, context) => {
2493
+ return (0, import_smithy_client.take)(output, {
2494
+ Assets: import_smithy_client._json,
2495
+ DateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2496
+ Geometry: (_) => de_Geometry(_, context),
2497
+ Id: import_smithy_client.expectString,
2498
+ Properties: (_) => de_Properties(_, context)
2499
+ });
2500
+ }, "de_ItemSource");
2501
+ var de_ItemSourceList = /* @__PURE__ */ __name((output, context) => {
2502
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2503
+ return de_ItemSource(entry, context);
2504
+ });
2505
+ return retVal;
2506
+ }, "de_ItemSourceList");
2507
+ var de_JobConfigInput = /* @__PURE__ */ __name((output, context) => {
2508
+ if (output.BandMathConfig != null) {
2509
+ return {
2510
+ BandMathConfig: (0, import_smithy_client._json)(output.BandMathConfig)
2511
+ };
2512
+ }
2513
+ if (output.CloudMaskingConfig != null) {
2514
+ return {
2515
+ CloudMaskingConfig: (0, import_smithy_client._json)(output.CloudMaskingConfig)
2516
+ };
2517
+ }
2518
+ if (output.CloudRemovalConfig != null) {
2519
+ return {
2520
+ CloudRemovalConfig: (0, import_smithy_client._json)(output.CloudRemovalConfig)
2521
+ };
2522
+ }
2523
+ if (output.GeoMosaicConfig != null) {
2524
+ return {
2525
+ GeoMosaicConfig: (0, import_smithy_client._json)(output.GeoMosaicConfig)
2526
+ };
2527
+ }
2528
+ if (output.LandCoverSegmentationConfig != null) {
2529
+ return {
2530
+ LandCoverSegmentationConfig: (0, import_smithy_client._json)(output.LandCoverSegmentationConfig)
2531
+ };
2532
+ }
2533
+ if (output.ResamplingConfig != null) {
2534
+ return {
2535
+ ResamplingConfig: de_ResamplingConfigInput(output.ResamplingConfig, context)
2536
+ };
2537
+ }
2538
+ if (output.StackConfig != null) {
2539
+ return {
2540
+ StackConfig: de_StackConfigInput(output.StackConfig, context)
2541
+ };
2542
+ }
2543
+ if (output.TemporalStatisticsConfig != null) {
2544
+ return {
2545
+ TemporalStatisticsConfig: (0, import_smithy_client._json)(output.TemporalStatisticsConfig)
2546
+ };
2547
+ }
2548
+ if (output.ZonalStatisticsConfig != null) {
2549
+ return {
2550
+ ZonalStatisticsConfig: (0, import_smithy_client._json)(output.ZonalStatisticsConfig)
2551
+ };
2552
+ }
2553
+ return { $unknown: Object.entries(output)[0] };
2554
+ }, "de_JobConfigInput");
2555
+ var de_LandsatCloudCoverLandInput = /* @__PURE__ */ __name((output, context) => {
2556
+ return (0, import_smithy_client.take)(output, {
2557
+ LowerBound: import_smithy_client.limitedParseFloat32,
2558
+ UpperBound: import_smithy_client.limitedParseFloat32
2559
+ });
2560
+ }, "de_LandsatCloudCoverLandInput");
2561
+ var de_LinearRing = /* @__PURE__ */ __name((output, context) => {
2562
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2563
+ return de_Position(entry, context);
2564
+ });
2565
+ return retVal;
2566
+ }, "de_LinearRing");
2567
+ var de_LinearRings = /* @__PURE__ */ __name((output, context) => {
2568
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2569
+ return de_LinearRing(entry, context);
2570
+ });
2571
+ return retVal;
2572
+ }, "de_LinearRings");
2573
+ var de_LinearRingsList = /* @__PURE__ */ __name((output, context) => {
2574
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2575
+ return de_LinearRings(entry, context);
2576
+ });
2577
+ return retVal;
2578
+ }, "de_LinearRingsList");
2579
+ var de_ListEarthObservationJobOutputConfig = /* @__PURE__ */ __name((output, context) => {
2580
+ return (0, import_smithy_client.take)(output, {
2581
+ Arn: import_smithy_client.expectString,
2582
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2583
+ DurationInSeconds: import_smithy_client.expectInt32,
2584
+ Name: import_smithy_client.expectString,
2585
+ OperationType: import_smithy_client.expectString,
2586
+ Status: import_smithy_client.expectString,
2587
+ Tags: import_smithy_client._json
2588
+ });
2589
+ }, "de_ListEarthObservationJobOutputConfig");
2590
+ var de_ListVectorEnrichmentJobOutputConfig = /* @__PURE__ */ __name((output, context) => {
2591
+ return (0, import_smithy_client.take)(output, {
2592
+ Arn: import_smithy_client.expectString,
2593
+ CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2594
+ DurationInSeconds: import_smithy_client.expectInt32,
2595
+ Name: import_smithy_client.expectString,
2596
+ Status: import_smithy_client.expectString,
2597
+ Tags: import_smithy_client._json,
2598
+ Type: import_smithy_client.expectString
2599
+ });
2600
+ }, "de_ListVectorEnrichmentJobOutputConfig");
2601
+ var de_MultiPolygonGeometryInput = /* @__PURE__ */ __name((output, context) => {
2602
+ return (0, import_smithy_client.take)(output, {
2603
+ Coordinates: (_) => de_LinearRingsList(_, context)
2604
+ });
2605
+ }, "de_MultiPolygonGeometryInput");
2606
+ var de_OutputResolutionResamplingInput = /* @__PURE__ */ __name((output, context) => {
2607
+ return (0, import_smithy_client.take)(output, {
2608
+ UserDefined: (_) => de_UserDefined(_, context)
2609
+ });
2610
+ }, "de_OutputResolutionResamplingInput");
2611
+ var de_OutputResolutionStackInput = /* @__PURE__ */ __name((output, context) => {
2612
+ return (0, import_smithy_client.take)(output, {
2613
+ Predefined: import_smithy_client.expectString,
2614
+ UserDefined: (_) => de_UserDefined(_, context)
2615
+ });
2616
+ }, "de_OutputResolutionStackInput");
2617
+ var de_PolygonGeometryInput = /* @__PURE__ */ __name((output, context) => {
2618
+ return (0, import_smithy_client.take)(output, {
2619
+ Coordinates: (_) => de_LinearRings(_, context)
2620
+ });
2621
+ }, "de_PolygonGeometryInput");
2622
+ var de_Position = /* @__PURE__ */ __name((output, context) => {
2623
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2624
+ return (0, import_smithy_client.limitedParseDouble)(entry);
2625
+ });
2626
+ return retVal;
2627
+ }, "de_Position");
2628
+ var de_Properties = /* @__PURE__ */ __name((output, context) => {
2629
+ return (0, import_smithy_client.take)(output, {
2630
+ EoCloudCover: import_smithy_client.limitedParseFloat32,
2631
+ LandsatCloudCoverLand: import_smithy_client.limitedParseFloat32,
2632
+ Platform: import_smithy_client.expectString,
2633
+ ViewOffNadir: import_smithy_client.limitedParseFloat32,
2634
+ ViewSunAzimuth: import_smithy_client.limitedParseFloat32,
2635
+ ViewSunElevation: import_smithy_client.limitedParseFloat32
2636
+ });
2637
+ }, "de_Properties");
2638
+ var de_Property = /* @__PURE__ */ __name((output, context) => {
2639
+ if (output.EoCloudCover != null) {
2640
+ return {
2641
+ EoCloudCover: de_EoCloudCoverInput(output.EoCloudCover, context)
2642
+ };
2643
+ }
2644
+ if (output.LandsatCloudCoverLand != null) {
2645
+ return {
2646
+ LandsatCloudCoverLand: de_LandsatCloudCoverLandInput(output.LandsatCloudCoverLand, context)
2647
+ };
2648
+ }
2649
+ if (output.Platform != null) {
2650
+ return {
2651
+ Platform: (0, import_smithy_client._json)(output.Platform)
2652
+ };
2653
+ }
2654
+ if (output.ViewOffNadir != null) {
2655
+ return {
2656
+ ViewOffNadir: de_ViewOffNadirInput(output.ViewOffNadir, context)
2657
+ };
2658
+ }
2659
+ if (output.ViewSunAzimuth != null) {
2660
+ return {
2661
+ ViewSunAzimuth: de_ViewSunAzimuthInput(output.ViewSunAzimuth, context)
2662
+ };
2663
+ }
2664
+ if (output.ViewSunElevation != null) {
2665
+ return {
2666
+ ViewSunElevation: de_ViewSunElevationInput(output.ViewSunElevation, context)
2667
+ };
2668
+ }
2669
+ return { $unknown: Object.entries(output)[0] };
2670
+ }, "de_Property");
2671
+ var de_PropertyFilter = /* @__PURE__ */ __name((output, context) => {
2672
+ return (0, import_smithy_client.take)(output, {
2673
+ Property: (_) => de_Property((0, import_core.awsExpectUnion)(_), context)
2674
+ });
2675
+ }, "de_PropertyFilter");
2676
+ var de_PropertyFilters = /* @__PURE__ */ __name((output, context) => {
2677
+ return (0, import_smithy_client.take)(output, {
2678
+ LogicalOperator: import_smithy_client.expectString,
2679
+ Properties: (_) => de_PropertyFiltersList(_, context)
2680
+ });
2681
+ }, "de_PropertyFilters");
2682
+ var de_PropertyFiltersList = /* @__PURE__ */ __name((output, context) => {
2683
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2684
+ return de_PropertyFilter(entry, context);
2685
+ });
2686
+ return retVal;
2687
+ }, "de_PropertyFiltersList");
2688
+ var de_RasterDataCollectionMetadata = /* @__PURE__ */ __name((output, context) => {
2689
+ return (0, import_smithy_client.take)(output, {
2690
+ Arn: import_smithy_client.expectString,
2691
+ Description: import_smithy_client.expectString,
2692
+ DescriptionPageUrl: import_smithy_client.expectString,
2693
+ Name: import_smithy_client.expectString,
2694
+ SupportedFilters: (_) => de_FilterList(_, context),
2695
+ Tags: import_smithy_client._json,
2696
+ Type: import_smithy_client.expectString
2697
+ });
2698
+ }, "de_RasterDataCollectionMetadata");
2699
+ var de_RasterDataCollectionQueryOutput = /* @__PURE__ */ __name((output, context) => {
2700
+ return (0, import_smithy_client.take)(output, {
2701
+ AreaOfInterest: (_) => de_AreaOfInterest((0, import_core.awsExpectUnion)(_), context),
2702
+ PropertyFilters: (_) => de_PropertyFilters(_, context),
2703
+ RasterDataCollectionArn: import_smithy_client.expectString,
2704
+ RasterDataCollectionName: import_smithy_client.expectString,
2705
+ TimeRangeFilter: (_) => de_TimeRangeFilterOutput(_, context)
2706
+ });
2707
+ }, "de_RasterDataCollectionQueryOutput");
2708
+ var de_ResamplingConfigInput = /* @__PURE__ */ __name((output, context) => {
2709
+ return (0, import_smithy_client.take)(output, {
2710
+ AlgorithmName: import_smithy_client.expectString,
2711
+ OutputResolution: (_) => de_OutputResolutionResamplingInput(_, context),
2712
+ TargetBands: import_smithy_client._json
2713
+ });
2714
+ }, "de_ResamplingConfigInput");
2715
+ var de_StackConfigInput = /* @__PURE__ */ __name((output, context) => {
2716
+ return (0, import_smithy_client.take)(output, {
2717
+ OutputResolution: (_) => de_OutputResolutionStackInput(_, context),
2718
+ TargetBands: import_smithy_client._json
2719
+ });
2720
+ }, "de_StackConfigInput");
2721
+ var de_TimeRangeFilterOutput = /* @__PURE__ */ __name((output, context) => {
2722
+ return (0, import_smithy_client.take)(output, {
2723
+ EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2724
+ StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
2725
+ });
2726
+ }, "de_TimeRangeFilterOutput");
2727
+ var de_UserDefined = /* @__PURE__ */ __name((output, context) => {
2728
+ return (0, import_smithy_client.take)(output, {
2729
+ Unit: import_smithy_client.expectString,
2730
+ Value: import_smithy_client.limitedParseFloat32
2731
+ });
2732
+ }, "de_UserDefined");
2733
+ var de_VectorEnrichmentJobList = /* @__PURE__ */ __name((output, context) => {
2734
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2735
+ return de_ListVectorEnrichmentJobOutputConfig(entry, context);
2736
+ });
2737
+ return retVal;
2738
+ }, "de_VectorEnrichmentJobList");
2739
+ var de_ViewOffNadirInput = /* @__PURE__ */ __name((output, context) => {
2740
+ return (0, import_smithy_client.take)(output, {
2741
+ LowerBound: import_smithy_client.limitedParseFloat32,
2742
+ UpperBound: import_smithy_client.limitedParseFloat32
2743
+ });
2744
+ }, "de_ViewOffNadirInput");
2745
+ var de_ViewSunAzimuthInput = /* @__PURE__ */ __name((output, context) => {
2746
+ return (0, import_smithy_client.take)(output, {
2747
+ LowerBound: import_smithy_client.limitedParseFloat32,
2748
+ UpperBound: import_smithy_client.limitedParseFloat32
2749
+ });
2750
+ }, "de_ViewSunAzimuthInput");
2751
+ var de_ViewSunElevationInput = /* @__PURE__ */ __name((output, context) => {
2752
+ return (0, import_smithy_client.take)(output, {
2753
+ LowerBound: import_smithy_client.limitedParseFloat32,
2754
+ UpperBound: import_smithy_client.limitedParseFloat32
2755
+ });
2756
+ }, "de_ViewSunElevationInput");
2757
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2758
+ httpStatusCode: output.statusCode,
2759
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2760
+ extendedRequestId: output.headers["x-amz-id-2"],
2761
+ cfId: output.headers["x-amz-cf-id"]
2762
+ }), "deserializeMetadata");
2763
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
2764
+ var _A = "Arn";
2765
+ var _ERA = "ExecutionRoleArn";
2766
+ var _IA = "ImageAssets";
2767
+ var _IM = "ImageMask";
2768
+ var _MR = "MaxResults";
2769
+ var _NT = "NextToken";
2770
+ var _ODT = "OutputDataType";
2771
+ var _OF = "OutputFormat";
2772
+ var _PF = "PropertyFilters";
2773
+ var _T = "Target";
2774
+ var _TK = "TagKeys";
2775
+ var _TRF = "TimeRangeFilter";
2776
+ var _tK = "tagKeys";
2777
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2778
+ if (encoded.length) {
2779
+ return JSON.parse(encoded);
2780
+ }
2781
+ return {};
2782
+ }), "parseBody");
2783
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
2784
+ const value = await parseBody(errorBody, context);
2785
+ value.message = value.message ?? value.Message;
2786
+ return value;
2787
+ }, "parseErrorBody");
2788
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
2789
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
2790
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
2791
+ let cleanValue = rawValue;
2792
+ if (typeof cleanValue === "number") {
2793
+ cleanValue = cleanValue.toString();
2794
+ }
2795
+ if (cleanValue.indexOf(",") >= 0) {
2796
+ cleanValue = cleanValue.split(",")[0];
2797
+ }
2798
+ if (cleanValue.indexOf(":") >= 0) {
2799
+ cleanValue = cleanValue.split(":")[0];
2800
+ }
2801
+ if (cleanValue.indexOf("#") >= 0) {
2802
+ cleanValue = cleanValue.split("#")[1];
2803
+ }
2804
+ return cleanValue;
2805
+ }, "sanitizeErrorCode");
2806
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
2807
+ if (headerKey !== void 0) {
2808
+ return sanitizeErrorCode(output.headers[headerKey]);
2809
+ }
2810
+ if (data.code !== void 0) {
2811
+ return sanitizeErrorCode(data.code);
2812
+ }
2813
+ if (data["__type"] !== void 0) {
2814
+ return sanitizeErrorCode(data["__type"]);
2815
+ }
2816
+ }, "loadRestJsonErrorCode");
2817
+
2818
+ // src/commands/DeleteEarthObservationJobCommand.ts
2819
+ var _DeleteEarthObservationJobCommand = class _DeleteEarthObservationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2820
+ ...commonParams
2821
+ }).m(function(Command, cs, config, o) {
2822
+ return [
2823
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2824
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2825
+ ];
2826
+ }).s("SageMakerGeospatial", "DeleteEarthObservationJob", {}).n("SageMakerGeospatialClient", "DeleteEarthObservationJobCommand").f(void 0, void 0).ser(se_DeleteEarthObservationJobCommand).de(de_DeleteEarthObservationJobCommand).build() {
2827
+ };
2828
+ __name(_DeleteEarthObservationJobCommand, "DeleteEarthObservationJobCommand");
2829
+ var DeleteEarthObservationJobCommand = _DeleteEarthObservationJobCommand;
2830
+
2831
+ // src/commands/DeleteVectorEnrichmentJobCommand.ts
2832
+
2833
+
2834
+
2835
+
2836
+ var _DeleteVectorEnrichmentJobCommand = class _DeleteVectorEnrichmentJobCommand extends import_smithy_client.Command.classBuilder().ep({
2837
+ ...commonParams
2838
+ }).m(function(Command, cs, config, o) {
2839
+ return [
2840
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2841
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2842
+ ];
2843
+ }).s("SageMakerGeospatial", "DeleteVectorEnrichmentJob", {}).n("SageMakerGeospatialClient", "DeleteVectorEnrichmentJobCommand").f(void 0, void 0).ser(se_DeleteVectorEnrichmentJobCommand).de(de_DeleteVectorEnrichmentJobCommand).build() {
2844
+ };
2845
+ __name(_DeleteVectorEnrichmentJobCommand, "DeleteVectorEnrichmentJobCommand");
2846
+ var DeleteVectorEnrichmentJobCommand = _DeleteVectorEnrichmentJobCommand;
2847
+
2848
+ // src/commands/ExportEarthObservationJobCommand.ts
2849
+
2850
+
2851
+
2852
+
2853
+ var _ExportEarthObservationJobCommand = class _ExportEarthObservationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2854
+ ...commonParams
2855
+ }).m(function(Command, cs, config, o) {
2856
+ return [
2857
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2858
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2859
+ ];
2860
+ }).s("SageMakerGeospatial", "ExportEarthObservationJob", {}).n("SageMakerGeospatialClient", "ExportEarthObservationJobCommand").f(void 0, void 0).ser(se_ExportEarthObservationJobCommand).de(de_ExportEarthObservationJobCommand).build() {
2861
+ };
2862
+ __name(_ExportEarthObservationJobCommand, "ExportEarthObservationJobCommand");
2863
+ var ExportEarthObservationJobCommand = _ExportEarthObservationJobCommand;
2864
+
2865
+ // src/commands/ExportVectorEnrichmentJobCommand.ts
2866
+
2867
+
2868
+
2869
+
2870
+ var _ExportVectorEnrichmentJobCommand = class _ExportVectorEnrichmentJobCommand extends import_smithy_client.Command.classBuilder().ep({
2871
+ ...commonParams
2872
+ }).m(function(Command, cs, config, o) {
2873
+ return [
2874
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2875
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2876
+ ];
2877
+ }).s("SageMakerGeospatial", "ExportVectorEnrichmentJob", {}).n("SageMakerGeospatialClient", "ExportVectorEnrichmentJobCommand").f(void 0, void 0).ser(se_ExportVectorEnrichmentJobCommand).de(de_ExportVectorEnrichmentJobCommand).build() {
2878
+ };
2879
+ __name(_ExportVectorEnrichmentJobCommand, "ExportVectorEnrichmentJobCommand");
2880
+ var ExportVectorEnrichmentJobCommand = _ExportVectorEnrichmentJobCommand;
2881
+
2882
+ // src/commands/GetEarthObservationJobCommand.ts
2883
+
2884
+
2885
+
2886
+
2887
+ var _GetEarthObservationJobCommand = class _GetEarthObservationJobCommand extends import_smithy_client.Command.classBuilder().ep({
2888
+ ...commonParams
2889
+ }).m(function(Command, cs, config, o) {
2890
+ return [
2891
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2892
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2893
+ ];
2894
+ }).s("SageMakerGeospatial", "GetEarthObservationJob", {}).n("SageMakerGeospatialClient", "GetEarthObservationJobCommand").f(void 0, GetEarthObservationJobOutputFilterSensitiveLog).ser(se_GetEarthObservationJobCommand).de(de_GetEarthObservationJobCommand).build() {
2895
+ };
2896
+ __name(_GetEarthObservationJobCommand, "GetEarthObservationJobCommand");
2897
+ var GetEarthObservationJobCommand = _GetEarthObservationJobCommand;
2898
+
2899
+ // src/commands/GetRasterDataCollectionCommand.ts
2900
+
2901
+
2902
+
2903
+
2904
+ var _GetRasterDataCollectionCommand = class _GetRasterDataCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
2905
+ ...commonParams
2906
+ }).m(function(Command, cs, config, o) {
2907
+ return [
2908
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2909
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2910
+ ];
2911
+ }).s("SageMakerGeospatial", "GetRasterDataCollection", {}).n("SageMakerGeospatialClient", "GetRasterDataCollectionCommand").f(void 0, void 0).ser(se_GetRasterDataCollectionCommand).de(de_GetRasterDataCollectionCommand).build() {
2912
+ };
2913
+ __name(_GetRasterDataCollectionCommand, "GetRasterDataCollectionCommand");
2914
+ var GetRasterDataCollectionCommand = _GetRasterDataCollectionCommand;
2915
+
2916
+ // src/commands/GetTileCommand.ts
2917
+
2918
+
2919
+
2920
+
2921
+ var _GetTileCommand = class _GetTileCommand extends import_smithy_client.Command.classBuilder().ep({
2922
+ ...commonParams
2923
+ }).m(function(Command, cs, config, o) {
2924
+ return [
2925
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2926
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2927
+ ];
2928
+ }).s("SageMakerGeospatial", "GetTile", {}).n("SageMakerGeospatialClient", "GetTileCommand").f(void 0, GetTileOutputFilterSensitiveLog).ser(se_GetTileCommand).de(de_GetTileCommand).build() {
2929
+ };
2930
+ __name(_GetTileCommand, "GetTileCommand");
2931
+ var GetTileCommand = _GetTileCommand;
2932
+
2933
+ // src/commands/GetVectorEnrichmentJobCommand.ts
2934
+
2935
+
2936
+
2937
+
2938
+ var _GetVectorEnrichmentJobCommand = class _GetVectorEnrichmentJobCommand extends import_smithy_client.Command.classBuilder().ep({
2939
+ ...commonParams
2940
+ }).m(function(Command, cs, config, o) {
2941
+ return [
2942
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2943
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2944
+ ];
2945
+ }).s("SageMakerGeospatial", "GetVectorEnrichmentJob", {}).n("SageMakerGeospatialClient", "GetVectorEnrichmentJobCommand").f(void 0, void 0).ser(se_GetVectorEnrichmentJobCommand).de(de_GetVectorEnrichmentJobCommand).build() {
2946
+ };
2947
+ __name(_GetVectorEnrichmentJobCommand, "GetVectorEnrichmentJobCommand");
2948
+ var GetVectorEnrichmentJobCommand = _GetVectorEnrichmentJobCommand;
2949
+
2950
+ // src/commands/ListEarthObservationJobsCommand.ts
2951
+
2952
+
2953
+
2954
+
2955
+ var _ListEarthObservationJobsCommand = class _ListEarthObservationJobsCommand extends import_smithy_client.Command.classBuilder().ep({
2956
+ ...commonParams
2957
+ }).m(function(Command, cs, config, o) {
2958
+ return [
2959
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2960
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2961
+ ];
2962
+ }).s("SageMakerGeospatial", "ListEarthObservationJobs", {}).n("SageMakerGeospatialClient", "ListEarthObservationJobsCommand").f(ListEarthObservationJobInputFilterSensitiveLog, ListEarthObservationJobOutputFilterSensitiveLog).ser(se_ListEarthObservationJobsCommand).de(de_ListEarthObservationJobsCommand).build() {
2963
+ };
2964
+ __name(_ListEarthObservationJobsCommand, "ListEarthObservationJobsCommand");
2965
+ var ListEarthObservationJobsCommand = _ListEarthObservationJobsCommand;
2966
+
2967
+ // src/commands/ListRasterDataCollectionsCommand.ts
2968
+
2969
+
2970
+
2971
+
2972
+ var _ListRasterDataCollectionsCommand = class _ListRasterDataCollectionsCommand extends import_smithy_client.Command.classBuilder().ep({
2973
+ ...commonParams
2974
+ }).m(function(Command, cs, config, o) {
2975
+ return [
2976
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2977
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2978
+ ];
2979
+ }).s("SageMakerGeospatial", "ListRasterDataCollections", {}).n("SageMakerGeospatialClient", "ListRasterDataCollectionsCommand").f(ListRasterDataCollectionsInputFilterSensitiveLog, ListRasterDataCollectionsOutputFilterSensitiveLog).ser(se_ListRasterDataCollectionsCommand).de(de_ListRasterDataCollectionsCommand).build() {
2980
+ };
2981
+ __name(_ListRasterDataCollectionsCommand, "ListRasterDataCollectionsCommand");
2982
+ var ListRasterDataCollectionsCommand = _ListRasterDataCollectionsCommand;
2983
+
2984
+ // src/commands/ListTagsForResourceCommand.ts
2985
+
2986
+
2987
+
2988
+
2989
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2990
+ ...commonParams
2991
+ }).m(function(Command, cs, config, o) {
2992
+ return [
2993
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2994
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2995
+ ];
2996
+ }).s("SageMakerGeospatial", "ListTagsForResource", {}).n("SageMakerGeospatialClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2997
+ };
2998
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
2999
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
3000
+
3001
+ // src/commands/ListVectorEnrichmentJobsCommand.ts
3002
+
3003
+
3004
+
3005
+
3006
+ var _ListVectorEnrichmentJobsCommand = class _ListVectorEnrichmentJobsCommand extends import_smithy_client.Command.classBuilder().ep({
3007
+ ...commonParams
3008
+ }).m(function(Command, cs, config, o) {
3009
+ return [
3010
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3011
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3012
+ ];
3013
+ }).s("SageMakerGeospatial", "ListVectorEnrichmentJobs", {}).n("SageMakerGeospatialClient", "ListVectorEnrichmentJobsCommand").f(ListVectorEnrichmentJobInputFilterSensitiveLog, ListVectorEnrichmentJobOutputFilterSensitiveLog).ser(se_ListVectorEnrichmentJobsCommand).de(de_ListVectorEnrichmentJobsCommand).build() {
3014
+ };
3015
+ __name(_ListVectorEnrichmentJobsCommand, "ListVectorEnrichmentJobsCommand");
3016
+ var ListVectorEnrichmentJobsCommand = _ListVectorEnrichmentJobsCommand;
3017
+
3018
+ // src/commands/SearchRasterDataCollectionCommand.ts
3019
+
3020
+
3021
+
3022
+
3023
+ var _SearchRasterDataCollectionCommand = class _SearchRasterDataCollectionCommand extends import_smithy_client.Command.classBuilder().ep({
3024
+ ...commonParams
3025
+ }).m(function(Command, cs, config, o) {
3026
+ return [
3027
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3028
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3029
+ ];
3030
+ }).s("SageMakerGeospatial", "SearchRasterDataCollection", {}).n("SageMakerGeospatialClient", "SearchRasterDataCollectionCommand").f(SearchRasterDataCollectionInputFilterSensitiveLog, SearchRasterDataCollectionOutputFilterSensitiveLog).ser(se_SearchRasterDataCollectionCommand).de(de_SearchRasterDataCollectionCommand).build() {
3031
+ };
3032
+ __name(_SearchRasterDataCollectionCommand, "SearchRasterDataCollectionCommand");
3033
+ var SearchRasterDataCollectionCommand = _SearchRasterDataCollectionCommand;
3034
+
3035
+ // src/commands/StartEarthObservationJobCommand.ts
3036
+
3037
+
3038
+
3039
+
3040
+ var _StartEarthObservationJobCommand = class _StartEarthObservationJobCommand extends import_smithy_client.Command.classBuilder().ep({
3041
+ ...commonParams
3042
+ }).m(function(Command, cs, config, o) {
3043
+ return [
3044
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3045
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3046
+ ];
3047
+ }).s("SageMakerGeospatial", "StartEarthObservationJob", {}).n("SageMakerGeospatialClient", "StartEarthObservationJobCommand").f(StartEarthObservationJobInputFilterSensitiveLog, StartEarthObservationJobOutputFilterSensitiveLog).ser(se_StartEarthObservationJobCommand).de(de_StartEarthObservationJobCommand).build() {
3048
+ };
3049
+ __name(_StartEarthObservationJobCommand, "StartEarthObservationJobCommand");
3050
+ var StartEarthObservationJobCommand = _StartEarthObservationJobCommand;
3051
+
3052
+ // src/commands/StartVectorEnrichmentJobCommand.ts
3053
+
3054
+
3055
+
3056
+
3057
+ var _StartVectorEnrichmentJobCommand = class _StartVectorEnrichmentJobCommand extends import_smithy_client.Command.classBuilder().ep({
3058
+ ...commonParams
3059
+ }).m(function(Command, cs, config, o) {
3060
+ return [
3061
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3062
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3063
+ ];
3064
+ }).s("SageMakerGeospatial", "StartVectorEnrichmentJob", {}).n("SageMakerGeospatialClient", "StartVectorEnrichmentJobCommand").f(void 0, void 0).ser(se_StartVectorEnrichmentJobCommand).de(de_StartVectorEnrichmentJobCommand).build() {
3065
+ };
3066
+ __name(_StartVectorEnrichmentJobCommand, "StartVectorEnrichmentJobCommand");
3067
+ var StartVectorEnrichmentJobCommand = _StartVectorEnrichmentJobCommand;
3068
+
3069
+ // src/commands/StopEarthObservationJobCommand.ts
3070
+
3071
+
3072
+
3073
+
3074
+ var _StopEarthObservationJobCommand = class _StopEarthObservationJobCommand extends import_smithy_client.Command.classBuilder().ep({
3075
+ ...commonParams
3076
+ }).m(function(Command, cs, config, o) {
3077
+ return [
3078
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3079
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3080
+ ];
3081
+ }).s("SageMakerGeospatial", "StopEarthObservationJob", {}).n("SageMakerGeospatialClient", "StopEarthObservationJobCommand").f(void 0, void 0).ser(se_StopEarthObservationJobCommand).de(de_StopEarthObservationJobCommand).build() {
3082
+ };
3083
+ __name(_StopEarthObservationJobCommand, "StopEarthObservationJobCommand");
3084
+ var StopEarthObservationJobCommand = _StopEarthObservationJobCommand;
3085
+
3086
+ // src/commands/StopVectorEnrichmentJobCommand.ts
3087
+
3088
+
3089
+
3090
+
3091
+ var _StopVectorEnrichmentJobCommand = class _StopVectorEnrichmentJobCommand extends import_smithy_client.Command.classBuilder().ep({
3092
+ ...commonParams
3093
+ }).m(function(Command, cs, config, o) {
3094
+ return [
3095
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3096
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3097
+ ];
3098
+ }).s("SageMakerGeospatial", "StopVectorEnrichmentJob", {}).n("SageMakerGeospatialClient", "StopVectorEnrichmentJobCommand").f(void 0, void 0).ser(se_StopVectorEnrichmentJobCommand).de(de_StopVectorEnrichmentJobCommand).build() {
3099
+ };
3100
+ __name(_StopVectorEnrichmentJobCommand, "StopVectorEnrichmentJobCommand");
3101
+ var StopVectorEnrichmentJobCommand = _StopVectorEnrichmentJobCommand;
3102
+
3103
+ // src/commands/TagResourceCommand.ts
3104
+
3105
+
3106
+
3107
+
3108
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3109
+ ...commonParams
3110
+ }).m(function(Command, cs, config, o) {
3111
+ return [
3112
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3113
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3114
+ ];
3115
+ }).s("SageMakerGeospatial", "TagResource", {}).n("SageMakerGeospatialClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
3116
+ };
3117
+ __name(_TagResourceCommand, "TagResourceCommand");
3118
+ var TagResourceCommand = _TagResourceCommand;
3119
+
3120
+ // src/commands/UntagResourceCommand.ts
3121
+
3122
+
3123
+
3124
+
3125
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
3126
+ ...commonParams
3127
+ }).m(function(Command, cs, config, o) {
3128
+ return [
3129
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3130
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3131
+ ];
3132
+ }).s("SageMakerGeospatial", "UntagResource", {}).n("SageMakerGeospatialClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
3133
+ };
3134
+ __name(_UntagResourceCommand, "UntagResourceCommand");
3135
+ var UntagResourceCommand = _UntagResourceCommand;
3136
+
3137
+ // src/SageMakerGeospatial.ts
3138
+ var commands = {
3139
+ DeleteEarthObservationJobCommand,
3140
+ DeleteVectorEnrichmentJobCommand,
3141
+ ExportEarthObservationJobCommand,
3142
+ ExportVectorEnrichmentJobCommand,
3143
+ GetEarthObservationJobCommand,
3144
+ GetRasterDataCollectionCommand,
3145
+ GetTileCommand,
3146
+ GetVectorEnrichmentJobCommand,
3147
+ ListEarthObservationJobsCommand,
3148
+ ListRasterDataCollectionsCommand,
3149
+ ListTagsForResourceCommand,
3150
+ ListVectorEnrichmentJobsCommand,
3151
+ SearchRasterDataCollectionCommand,
3152
+ StartEarthObservationJobCommand,
3153
+ StartVectorEnrichmentJobCommand,
3154
+ StopEarthObservationJobCommand,
3155
+ StopVectorEnrichmentJobCommand,
3156
+ TagResourceCommand,
3157
+ UntagResourceCommand
3158
+ };
3159
+ var _SageMakerGeospatial = class _SageMakerGeospatial extends SageMakerGeospatialClient {
3160
+ };
3161
+ __name(_SageMakerGeospatial, "SageMakerGeospatial");
3162
+ var SageMakerGeospatial = _SageMakerGeospatial;
3163
+ (0, import_smithy_client.createAggregatedClient)(commands, SageMakerGeospatial);
3164
+
3165
+ // src/pagination/ListEarthObservationJobsPaginator.ts
3166
+ var import_core3 = require("@smithy/core");
3167
+ var paginateListEarthObservationJobs = (0, import_core3.createPaginator)(SageMakerGeospatialClient, ListEarthObservationJobsCommand, "NextToken", "NextToken", "");
3168
+
3169
+ // src/pagination/ListRasterDataCollectionsPaginator.ts
3170
+ var import_core4 = require("@smithy/core");
3171
+ var paginateListRasterDataCollections = (0, import_core4.createPaginator)(SageMakerGeospatialClient, ListRasterDataCollectionsCommand, "NextToken", "NextToken", "");
3172
+
3173
+ // src/pagination/ListVectorEnrichmentJobsPaginator.ts
3174
+ var import_core5 = require("@smithy/core");
3175
+ var paginateListVectorEnrichmentJobs = (0, import_core5.createPaginator)(SageMakerGeospatialClient, ListVectorEnrichmentJobsCommand, "NextToken", "NextToken", "");
3176
+
3177
+ // src/pagination/SearchRasterDataCollectionPaginator.ts
3178
+ var import_core6 = require("@smithy/core");
3179
+ var paginateSearchRasterDataCollection = (0, import_core6.createPaginator)(SageMakerGeospatialClient, SearchRasterDataCollectionCommand, "NextToken", "NextToken", "");
3180
+
3181
+ // src/index.ts
3182
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3183
+ // Annotate the CommonJS export names for ESM import in node:
3184
+
3185
+ 0 && (module.exports = {
3186
+ AccessDeniedException,
3187
+ AlgorithmNameCloudRemoval,
3188
+ AlgorithmNameGeoMosaic,
3189
+ AlgorithmNameResampling,
3190
+ AreaOfInterest,
3191
+ AreaOfInterestFilterSensitiveLog,
3192
+ AreaOfInterestGeometry,
3193
+ AreaOfInterestGeometryFilterSensitiveLog,
3194
+ ComparisonOperator,
3195
+ ConflictException,
3196
+ DataCollectionType,
3197
+ DeleteEarthObservationJobCommand,
3198
+ DeleteVectorEnrichmentJobCommand,
3199
+ EarthObservationJobErrorType,
3200
+ EarthObservationJobExportStatus,
3201
+ EarthObservationJobStatus,
3202
+ ExportEarthObservationJobCommand,
3203
+ ExportErrorType,
3204
+ ExportVectorEnrichmentJobCommand,
3205
+ GeometryFilterSensitiveLog,
3206
+ GetEarthObservationJobCommand,
3207
+ GetEarthObservationJobOutputFilterSensitiveLog,
3208
+ GetRasterDataCollectionCommand,
3209
+ GetTileCommand,
3210
+ GetTileOutputFilterSensitiveLog,
3211
+ GetVectorEnrichmentJobCommand,
3212
+ GroupBy,
3213
+ InputConfigInputFilterSensitiveLog,
3214
+ InputConfigOutputFilterSensitiveLog,
3215
+ InternalServerException,
3216
+ ItemSourceFilterSensitiveLog,
3217
+ JobConfigInput,
3218
+ ListEarthObservationJobInputFilterSensitiveLog,
3219
+ ListEarthObservationJobOutputFilterSensitiveLog,
3220
+ ListEarthObservationJobsCommand,
3221
+ ListRasterDataCollectionsCommand,
3222
+ ListRasterDataCollectionsInputFilterSensitiveLog,
3223
+ ListRasterDataCollectionsOutputFilterSensitiveLog,
3224
+ ListTagsForResourceCommand,
3225
+ ListVectorEnrichmentJobInputFilterSensitiveLog,
3226
+ ListVectorEnrichmentJobOutputFilterSensitiveLog,
3227
+ ListVectorEnrichmentJobsCommand,
3228
+ LogicalOperator,
3229
+ MultiPolygonGeometryInputFilterSensitiveLog,
3230
+ OutputType,
3231
+ PolygonGeometryInputFilterSensitiveLog,
3232
+ PredefinedResolution,
3233
+ Property,
3234
+ RasterDataCollectionQueryInputFilterSensitiveLog,
3235
+ RasterDataCollectionQueryOutputFilterSensitiveLog,
3236
+ RasterDataCollectionQueryWithBandFilterInputFilterSensitiveLog,
3237
+ ResourceNotFoundException,
3238
+ SageMakerGeospatial,
3239
+ SageMakerGeospatialClient,
3240
+ SageMakerGeospatialServiceException,
3241
+ SearchRasterDataCollectionCommand,
3242
+ SearchRasterDataCollectionInputFilterSensitiveLog,
3243
+ SearchRasterDataCollectionOutputFilterSensitiveLog,
3244
+ ServiceQuotaExceededException,
3245
+ SortOrder,
3246
+ StartEarthObservationJobCommand,
3247
+ StartEarthObservationJobInputFilterSensitiveLog,
3248
+ StartEarthObservationJobOutputFilterSensitiveLog,
3249
+ StartVectorEnrichmentJobCommand,
3250
+ StopEarthObservationJobCommand,
3251
+ StopVectorEnrichmentJobCommand,
3252
+ TagResourceCommand,
3253
+ TargetOptions,
3254
+ TemporalStatistics,
3255
+ ThrottlingException,
3256
+ TimeRangeFilterInputFilterSensitiveLog,
3257
+ TimeRangeFilterOutputFilterSensitiveLog,
3258
+ Unit,
3259
+ UntagResourceCommand,
3260
+ ValidationException,
3261
+ VectorEnrichmentJobConfig,
3262
+ VectorEnrichmentJobDataSourceConfigInput,
3263
+ VectorEnrichmentJobDocumentType,
3264
+ VectorEnrichmentJobErrorType,
3265
+ VectorEnrichmentJobExportErrorType,
3266
+ VectorEnrichmentJobExportStatus,
3267
+ VectorEnrichmentJobStatus,
3268
+ VectorEnrichmentJobType,
3269
+ ZonalStatistics,
3270
+ __Client,
3271
+ paginateListEarthObservationJobs,
3272
+ paginateListRasterDataCollections,
3273
+ paginateListVectorEnrichmentJobs,
3274
+ paginateSearchRasterDataCollection
3275
+ });
3276
+