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