@aws-sdk/client-sagemaker-geospatial 3.300.0 → 3.303.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 (31) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/models/models_0.js +152 -173
  3. package/dist-cjs/protocols/Aws_restJson1.js +17 -16
  4. package/dist-es/endpoint/ruleset.js +3 -3
  5. package/dist-es/models/models_0.js +148 -170
  6. package/dist-es/protocols/Aws_restJson1.js +18 -17
  7. package/dist-types/SageMakerGeospatial.d.ts +2 -2
  8. package/dist-types/commands/DeleteEarthObservationJobCommand.d.ts +3 -3
  9. package/dist-types/commands/DeleteVectorEnrichmentJobCommand.d.ts +3 -3
  10. package/dist-types/commands/ExportEarthObservationJobCommand.d.ts +7 -6
  11. package/dist-types/commands/ExportVectorEnrichmentJobCommand.d.ts +7 -6
  12. package/dist-types/commands/GetEarthObservationJobCommand.d.ts +2 -2
  13. package/dist-types/commands/GetRasterDataCollectionCommand.d.ts +2 -2
  14. package/dist-types/commands/GetTileCommand.d.ts +4 -3
  15. package/dist-types/commands/GetVectorEnrichmentJobCommand.d.ts +2 -2
  16. package/dist-types/commands/ListEarthObservationJobsCommand.d.ts +2 -2
  17. package/dist-types/commands/ListRasterDataCollectionsCommand.d.ts +2 -2
  18. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  19. package/dist-types/commands/ListVectorEnrichmentJobsCommand.d.ts +2 -2
  20. package/dist-types/commands/SearchRasterDataCollectionCommand.d.ts +23 -23
  21. package/dist-types/commands/StartEarthObservationJobCommand.d.ts +47 -50
  22. package/dist-types/commands/StartVectorEnrichmentJobCommand.d.ts +10 -10
  23. package/dist-types/commands/StopEarthObservationJobCommand.d.ts +3 -3
  24. package/dist-types/commands/StopVectorEnrichmentJobCommand.d.ts +3 -3
  25. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  26. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  27. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  28. package/dist-types/models/models_0.d.ts +519 -302
  29. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  30. package/dist-types/ts3.4/models/models_0.d.ts +210 -154
  31. package/package.json +36 -36
@@ -13,44 +13,41 @@ export class AccessDeniedException extends __BaseException {
13
13
  this.Message = opts.Message;
14
14
  }
15
15
  }
16
- export var AlgorithmNameCloudRemoval;
17
- (function (AlgorithmNameCloudRemoval) {
18
- AlgorithmNameCloudRemoval["INTERPOLATION"] = "INTERPOLATION";
19
- })(AlgorithmNameCloudRemoval || (AlgorithmNameCloudRemoval = {}));
20
- export var AlgorithmNameGeoMosaic;
21
- (function (AlgorithmNameGeoMosaic) {
22
- AlgorithmNameGeoMosaic["AVERAGE"] = "AVERAGE";
23
- AlgorithmNameGeoMosaic["BILINEAR"] = "BILINEAR";
24
- AlgorithmNameGeoMosaic["CUBIC"] = "CUBIC";
25
- AlgorithmNameGeoMosaic["CUBICSPLINE"] = "CUBICSPLINE";
26
- AlgorithmNameGeoMosaic["LANCZOS"] = "LANCZOS";
27
- AlgorithmNameGeoMosaic["MAX"] = "MAX";
28
- AlgorithmNameGeoMosaic["MED"] = "MED";
29
- AlgorithmNameGeoMosaic["MIN"] = "MIN";
30
- AlgorithmNameGeoMosaic["MODE"] = "MODE";
31
- AlgorithmNameGeoMosaic["NEAR"] = "NEAR";
32
- AlgorithmNameGeoMosaic["Q1"] = "Q1";
33
- AlgorithmNameGeoMosaic["Q3"] = "Q3";
34
- AlgorithmNameGeoMosaic["RMS"] = "RMS";
35
- AlgorithmNameGeoMosaic["SUM"] = "SUM";
36
- })(AlgorithmNameGeoMosaic || (AlgorithmNameGeoMosaic = {}));
37
- export var AlgorithmNameResampling;
38
- (function (AlgorithmNameResampling) {
39
- AlgorithmNameResampling["AVERAGE"] = "AVERAGE";
40
- AlgorithmNameResampling["BILINEAR"] = "BILINEAR";
41
- AlgorithmNameResampling["CUBIC"] = "CUBIC";
42
- AlgorithmNameResampling["CUBICSPLINE"] = "CUBICSPLINE";
43
- AlgorithmNameResampling["LANCZOS"] = "LANCZOS";
44
- AlgorithmNameResampling["MAX"] = "MAX";
45
- AlgorithmNameResampling["MED"] = "MED";
46
- AlgorithmNameResampling["MIN"] = "MIN";
47
- AlgorithmNameResampling["MODE"] = "MODE";
48
- AlgorithmNameResampling["NEAR"] = "NEAR";
49
- AlgorithmNameResampling["Q1"] = "Q1";
50
- AlgorithmNameResampling["Q3"] = "Q3";
51
- AlgorithmNameResampling["RMS"] = "RMS";
52
- AlgorithmNameResampling["SUM"] = "SUM";
53
- })(AlgorithmNameResampling || (AlgorithmNameResampling = {}));
16
+ export const AlgorithmNameCloudRemoval = {
17
+ INTERPOLATION: "INTERPOLATION",
18
+ };
19
+ export const AlgorithmNameGeoMosaic = {
20
+ AVERAGE: "AVERAGE",
21
+ BILINEAR: "BILINEAR",
22
+ CUBIC: "CUBIC",
23
+ CUBICSPLINE: "CUBICSPLINE",
24
+ LANCZOS: "LANCZOS",
25
+ MAX: "MAX",
26
+ MED: "MED",
27
+ MIN: "MIN",
28
+ MODE: "MODE",
29
+ NEAR: "NEAR",
30
+ Q1: "Q1",
31
+ Q3: "Q3",
32
+ RMS: "RMS",
33
+ SUM: "SUM",
34
+ };
35
+ export const AlgorithmNameResampling = {
36
+ AVERAGE: "AVERAGE",
37
+ BILINEAR: "BILINEAR",
38
+ CUBIC: "CUBIC",
39
+ CUBICSPLINE: "CUBICSPLINE",
40
+ LANCZOS: "LANCZOS",
41
+ MAX: "MAX",
42
+ MED: "MED",
43
+ MIN: "MIN",
44
+ MODE: "MODE",
45
+ NEAR: "NEAR",
46
+ Q1: "Q1",
47
+ Q3: "Q3",
48
+ RMS: "RMS",
49
+ SUM: "SUM",
50
+ };
54
51
  export var AreaOfInterestGeometry;
55
52
  (function (AreaOfInterestGeometry) {
56
53
  AreaOfInterestGeometry.visit = (value, visitor) => {
@@ -69,20 +66,18 @@ export var AreaOfInterest;
69
66
  return visitor._(value.$unknown[0], value.$unknown[1]);
70
67
  };
71
68
  })(AreaOfInterest || (AreaOfInterest = {}));
72
- export var OutputType;
73
- (function (OutputType) {
74
- OutputType["FLOAT32"] = "FLOAT32";
75
- OutputType["FLOAT64"] = "FLOAT64";
76
- OutputType["INT16"] = "INT16";
77
- OutputType["INT32"] = "INT32";
78
- OutputType["UINT16"] = "UINT16";
79
- })(OutputType || (OutputType = {}));
80
- export var ComparisonOperator;
81
- (function (ComparisonOperator) {
82
- ComparisonOperator["EQUALS"] = "EQUALS";
83
- ComparisonOperator["NOT_EQUALS"] = "NOT_EQUALS";
84
- ComparisonOperator["STARTS_WITH"] = "STARTS_WITH";
85
- })(ComparisonOperator || (ComparisonOperator = {}));
69
+ export const OutputType = {
70
+ FLOAT32: "FLOAT32",
71
+ FLOAT64: "FLOAT64",
72
+ INT16: "INT16",
73
+ INT32: "INT32",
74
+ UINT16: "UINT16",
75
+ };
76
+ export const ComparisonOperator = {
77
+ EQUALS: "EQUALS",
78
+ NOT_EQUALS: "NOT_EQUALS",
79
+ STARTS_WITH: "STARTS_WITH",
80
+ };
86
81
  export class ConflictException extends __BaseException {
87
82
  constructor(opts) {
88
83
  super({
@@ -97,12 +92,11 @@ export class ConflictException extends __BaseException {
97
92
  this.ResourceId = opts.ResourceId;
98
93
  }
99
94
  }
100
- export var DataCollectionType;
101
- (function (DataCollectionType) {
102
- DataCollectionType["PREMIUM"] = "PREMIUM";
103
- DataCollectionType["PUBLIC"] = "PUBLIC";
104
- DataCollectionType["USER"] = "USER";
105
- })(DataCollectionType || (DataCollectionType = {}));
95
+ export const DataCollectionType = {
96
+ PREMIUM: "PREMIUM",
97
+ PUBLIC: "PUBLIC",
98
+ USER: "USER",
99
+ };
106
100
  export class InternalServerException extends __BaseException {
107
101
  constructor(opts) {
108
102
  super({
@@ -159,12 +153,11 @@ export class ValidationException extends __BaseException {
159
153
  this.ResourceId = opts.ResourceId;
160
154
  }
161
155
  }
162
- export var EarthObservationJobExportStatus;
163
- (function (EarthObservationJobExportStatus) {
164
- EarthObservationJobExportStatus["FAILED"] = "FAILED";
165
- EarthObservationJobExportStatus["IN_PROGRESS"] = "IN_PROGRESS";
166
- EarthObservationJobExportStatus["SUCCEEDED"] = "SUCCEEDED";
167
- })(EarthObservationJobExportStatus || (EarthObservationJobExportStatus = {}));
156
+ export const EarthObservationJobExportStatus = {
157
+ FAILED: "FAILED",
158
+ IN_PROGRESS: "IN_PROGRESS",
159
+ SUCCEEDED: "SUCCEEDED",
160
+ };
168
161
  export class ServiceQuotaExceededException extends __BaseException {
169
162
  constructor(opts) {
170
163
  super({
@@ -179,20 +172,17 @@ export class ServiceQuotaExceededException extends __BaseException {
179
172
  this.ResourceId = opts.ResourceId;
180
173
  }
181
174
  }
182
- export var EarthObservationJobErrorType;
183
- (function (EarthObservationJobErrorType) {
184
- EarthObservationJobErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
185
- EarthObservationJobErrorType["SERVER_ERROR"] = "SERVER_ERROR";
186
- })(EarthObservationJobErrorType || (EarthObservationJobErrorType = {}));
187
- export var ExportErrorType;
188
- (function (ExportErrorType) {
189
- ExportErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
190
- ExportErrorType["SERVER_ERROR"] = "SERVER_ERROR";
191
- })(ExportErrorType || (ExportErrorType = {}));
192
- export var MetadataProvider;
193
- (function (MetadataProvider) {
194
- MetadataProvider["PLANET_ORDER"] = "PLANET_ORDER";
195
- })(MetadataProvider || (MetadataProvider = {}));
175
+ export const EarthObservationJobErrorType = {
176
+ CLIENT_ERROR: "CLIENT_ERROR",
177
+ SERVER_ERROR: "SERVER_ERROR",
178
+ };
179
+ export const ExportErrorType = {
180
+ CLIENT_ERROR: "CLIENT_ERROR",
181
+ SERVER_ERROR: "SERVER_ERROR",
182
+ };
183
+ export const MetadataProvider = {
184
+ PLANET_ORDER: "PLANET_ORDER",
185
+ };
196
186
  export var EojDataSourceConfigInput;
197
187
  (function (EojDataSourceConfigInput) {
198
188
  EojDataSourceConfigInput.visit = (value, visitor) => {
@@ -201,10 +191,9 @@ export var EojDataSourceConfigInput;
201
191
  return visitor._(value.$unknown[0], value.$unknown[1]);
202
192
  };
203
193
  })(EojDataSourceConfigInput || (EojDataSourceConfigInput = {}));
204
- export var LogicalOperator;
205
- (function (LogicalOperator) {
206
- LogicalOperator["AND"] = "AND";
207
- })(LogicalOperator || (LogicalOperator = {}));
194
+ export const LogicalOperator = {
195
+ AND: "AND",
196
+ };
208
197
  export var Property;
209
198
  (function (Property) {
210
199
  Property.visit = (value, visitor) => {
@@ -223,36 +212,31 @@ export var Property;
223
212
  return visitor._(value.$unknown[0], value.$unknown[1]);
224
213
  };
225
214
  })(Property || (Property = {}));
226
- export var Unit;
227
- (function (Unit) {
228
- Unit["METERS"] = "METERS";
229
- })(Unit || (Unit = {}));
230
- export var PredefinedResolution;
231
- (function (PredefinedResolution) {
232
- PredefinedResolution["AVERAGE"] = "AVERAGE";
233
- PredefinedResolution["HIGHEST"] = "HIGHEST";
234
- PredefinedResolution["LOWEST"] = "LOWEST";
235
- })(PredefinedResolution || (PredefinedResolution = {}));
236
- export var GroupBy;
237
- (function (GroupBy) {
238
- GroupBy["ALL"] = "ALL";
239
- GroupBy["YEARLY"] = "YEARLY";
240
- })(GroupBy || (GroupBy = {}));
241
- export var TemporalStatistics;
242
- (function (TemporalStatistics) {
243
- TemporalStatistics["MEAN"] = "MEAN";
244
- TemporalStatistics["MEDIAN"] = "MEDIAN";
245
- TemporalStatistics["STANDARD_DEVIATION"] = "STANDARD_DEVIATION";
246
- })(TemporalStatistics || (TemporalStatistics = {}));
247
- export var ZonalStatistics;
248
- (function (ZonalStatistics) {
249
- ZonalStatistics["MAX"] = "MAX";
250
- ZonalStatistics["MEAN"] = "MEAN";
251
- ZonalStatistics["MEDIAN"] = "MEDIAN";
252
- ZonalStatistics["MIN"] = "MIN";
253
- ZonalStatistics["STANDARD_DEVIATION"] = "STANDARD_DEVIATION";
254
- ZonalStatistics["SUM"] = "SUM";
255
- })(ZonalStatistics || (ZonalStatistics = {}));
215
+ export const Unit = {
216
+ METERS: "METERS",
217
+ };
218
+ export const PredefinedResolution = {
219
+ AVERAGE: "AVERAGE",
220
+ HIGHEST: "HIGHEST",
221
+ LOWEST: "LOWEST",
222
+ };
223
+ export const GroupBy = {
224
+ ALL: "ALL",
225
+ YEARLY: "YEARLY",
226
+ };
227
+ export const TemporalStatistics = {
228
+ MEAN: "MEAN",
229
+ MEDIAN: "MEDIAN",
230
+ STANDARD_DEVIATION: "STANDARD_DEVIATION",
231
+ };
232
+ export const ZonalStatistics = {
233
+ MAX: "MAX",
234
+ MEAN: "MEAN",
235
+ MEDIAN: "MEDIAN",
236
+ MIN: "MIN",
237
+ STANDARD_DEVIATION: "STANDARD_DEVIATION",
238
+ SUM: "SUM",
239
+ };
256
240
  export var JobConfigInput;
257
241
  (function (JobConfigInput) {
258
242
  JobConfigInput.visit = (value, visitor) => {
@@ -277,43 +261,37 @@ export var JobConfigInput;
277
261
  return visitor._(value.$unknown[0], value.$unknown[1]);
278
262
  };
279
263
  })(JobConfigInput || (JobConfigInput = {}));
280
- export var EarthObservationJobStatus;
281
- (function (EarthObservationJobStatus) {
282
- EarthObservationJobStatus["COMPLETED"] = "COMPLETED";
283
- EarthObservationJobStatus["DELETED"] = "DELETED";
284
- EarthObservationJobStatus["DELETING"] = "DELETING";
285
- EarthObservationJobStatus["FAILED"] = "FAILED";
286
- EarthObservationJobStatus["INITIALIZING"] = "INITIALIZING";
287
- EarthObservationJobStatus["IN_PROGRESS"] = "IN_PROGRESS";
288
- EarthObservationJobStatus["STOPPED"] = "STOPPED";
289
- EarthObservationJobStatus["STOPPING"] = "STOPPING";
290
- })(EarthObservationJobStatus || (EarthObservationJobStatus = {}));
291
- export var TargetOptions;
292
- (function (TargetOptions) {
293
- TargetOptions["INPUT"] = "INPUT";
294
- TargetOptions["OUTPUT"] = "OUTPUT";
295
- })(TargetOptions || (TargetOptions = {}));
296
- export var SortOrder;
297
- (function (SortOrder) {
298
- SortOrder["ASCENDING"] = "ASCENDING";
299
- SortOrder["DESCENDING"] = "DESCENDING";
300
- })(SortOrder || (SortOrder = {}));
301
- export var VectorEnrichmentJobExportStatus;
302
- (function (VectorEnrichmentJobExportStatus) {
303
- VectorEnrichmentJobExportStatus["FAILED"] = "FAILED";
304
- VectorEnrichmentJobExportStatus["IN_PROGRESS"] = "IN_PROGRESS";
305
- VectorEnrichmentJobExportStatus["SUCCEEDED"] = "SUCCEEDED";
306
- })(VectorEnrichmentJobExportStatus || (VectorEnrichmentJobExportStatus = {}));
307
- export var VectorEnrichmentJobErrorType;
308
- (function (VectorEnrichmentJobErrorType) {
309
- VectorEnrichmentJobErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
310
- VectorEnrichmentJobErrorType["SERVER_ERROR"] = "SERVER_ERROR";
311
- })(VectorEnrichmentJobErrorType || (VectorEnrichmentJobErrorType = {}));
312
- export var VectorEnrichmentJobExportErrorType;
313
- (function (VectorEnrichmentJobExportErrorType) {
314
- VectorEnrichmentJobExportErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
315
- VectorEnrichmentJobExportErrorType["SERVER_ERROR"] = "SERVER_ERROR";
316
- })(VectorEnrichmentJobExportErrorType || (VectorEnrichmentJobExportErrorType = {}));
264
+ export const EarthObservationJobStatus = {
265
+ COMPLETED: "COMPLETED",
266
+ DELETED: "DELETED",
267
+ DELETING: "DELETING",
268
+ FAILED: "FAILED",
269
+ INITIALIZING: "INITIALIZING",
270
+ IN_PROGRESS: "IN_PROGRESS",
271
+ STOPPED: "STOPPED",
272
+ STOPPING: "STOPPING",
273
+ };
274
+ export const TargetOptions = {
275
+ INPUT: "INPUT",
276
+ OUTPUT: "OUTPUT",
277
+ };
278
+ export const SortOrder = {
279
+ ASCENDING: "ASCENDING",
280
+ DESCENDING: "DESCENDING",
281
+ };
282
+ export const VectorEnrichmentJobExportStatus = {
283
+ FAILED: "FAILED",
284
+ IN_PROGRESS: "IN_PROGRESS",
285
+ SUCCEEDED: "SUCCEEDED",
286
+ };
287
+ export const VectorEnrichmentJobErrorType = {
288
+ CLIENT_ERROR: "CLIENT_ERROR",
289
+ SERVER_ERROR: "SERVER_ERROR",
290
+ };
291
+ export const VectorEnrichmentJobExportErrorType = {
292
+ CLIENT_ERROR: "CLIENT_ERROR",
293
+ SERVER_ERROR: "SERVER_ERROR",
294
+ };
317
295
  export var VectorEnrichmentJobDataSourceConfigInput;
318
296
  (function (VectorEnrichmentJobDataSourceConfigInput) {
319
297
  VectorEnrichmentJobDataSourceConfigInput.visit = (value, visitor) => {
@@ -322,10 +300,9 @@ export var VectorEnrichmentJobDataSourceConfigInput;
322
300
  return visitor._(value.$unknown[0], value.$unknown[1]);
323
301
  };
324
302
  })(VectorEnrichmentJobDataSourceConfigInput || (VectorEnrichmentJobDataSourceConfigInput = {}));
325
- export var VectorEnrichmentJobDocumentType;
326
- (function (VectorEnrichmentJobDocumentType) {
327
- VectorEnrichmentJobDocumentType["CSV"] = "CSV";
328
- })(VectorEnrichmentJobDocumentType || (VectorEnrichmentJobDocumentType = {}));
303
+ export const VectorEnrichmentJobDocumentType = {
304
+ CSV: "CSV",
305
+ };
329
306
  export var VectorEnrichmentJobConfig;
330
307
  (function (VectorEnrichmentJobConfig) {
331
308
  VectorEnrichmentJobConfig.visit = (value, visitor) => {
@@ -336,22 +313,20 @@ export var VectorEnrichmentJobConfig;
336
313
  return visitor._(value.$unknown[0], value.$unknown[1]);
337
314
  };
338
315
  })(VectorEnrichmentJobConfig || (VectorEnrichmentJobConfig = {}));
339
- export var VectorEnrichmentJobStatus;
340
- (function (VectorEnrichmentJobStatus) {
341
- VectorEnrichmentJobStatus["COMPLETED"] = "COMPLETED";
342
- VectorEnrichmentJobStatus["DELETED"] = "DELETED";
343
- VectorEnrichmentJobStatus["DELETING"] = "DELETING";
344
- VectorEnrichmentJobStatus["FAILED"] = "FAILED";
345
- VectorEnrichmentJobStatus["INITIALIZING"] = "INITIALIZING";
346
- VectorEnrichmentJobStatus["IN_PROGRESS"] = "IN_PROGRESS";
347
- VectorEnrichmentJobStatus["STOPPED"] = "STOPPED";
348
- VectorEnrichmentJobStatus["STOPPING"] = "STOPPING";
349
- })(VectorEnrichmentJobStatus || (VectorEnrichmentJobStatus = {}));
350
- export var VectorEnrichmentJobType;
351
- (function (VectorEnrichmentJobType) {
352
- VectorEnrichmentJobType["MAP_MATCHING"] = "MAP_MATCHING";
353
- VectorEnrichmentJobType["REVERSE_GEOCODING"] = "REVERSE_GEOCODING";
354
- })(VectorEnrichmentJobType || (VectorEnrichmentJobType = {}));
316
+ export const VectorEnrichmentJobStatus = {
317
+ COMPLETED: "COMPLETED",
318
+ DELETED: "DELETED",
319
+ DELETING: "DELETING",
320
+ FAILED: "FAILED",
321
+ INITIALIZING: "INITIALIZING",
322
+ IN_PROGRESS: "IN_PROGRESS",
323
+ STOPPED: "STOPPED",
324
+ STOPPING: "STOPPING",
325
+ };
326
+ export const VectorEnrichmentJobType = {
327
+ MAP_MATCHING: "MAP_MATCHING",
328
+ REVERSE_GEOCODING: "REVERSE_GEOCODING",
329
+ };
355
330
  export const MultiPolygonGeometryInputFilterSensitiveLog = (obj) => ({
356
331
  ...obj,
357
332
  ...(obj.Coordinates && { Coordinates: obj.Coordinates.map((item) => item.map((item) => SENSITIVE_STRING)) }),
@@ -374,7 +349,7 @@ export const AreaOfInterestFilterSensitiveLog = (obj) => {
374
349
  if (obj.$unknown !== undefined)
375
350
  return { [obj.$unknown[0]]: "UNKNOWN" };
376
351
  };
377
- export const TimeRangeFilterInputFilterSensitiveLog = (obj) => ({
352
+ export const TimeRangeFilterOutputFilterSensitiveLog = (obj) => ({
378
353
  ...obj,
379
354
  });
380
355
  export const RasterDataCollectionQueryOutputFilterSensitiveLog = (obj) => ({
@@ -406,6 +381,9 @@ export const ListEarthObservationJobOutputFilterSensitiveLog = (obj) => ({
406
381
  ...obj,
407
382
  ...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
408
383
  });
384
+ export const TimeRangeFilterInputFilterSensitiveLog = (obj) => ({
385
+ ...obj,
386
+ });
409
387
  export const RasterDataCollectionQueryInputFilterSensitiveLog = (obj) => ({
410
388
  ...obj,
411
389
  ...(obj.TimeRangeFilter && { TimeRangeFilter: SENSITIVE_STRING }),
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map as __map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map as __map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { AccessDeniedException, AreaOfInterest, AreaOfInterestGeometry, ConflictException, EojDataSourceConfigInput, InternalServerException, JobConfigInput, Property, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, VectorEnrichmentJobConfig, VectorEnrichmentJobDataSourceConfigInput, } from "../models/models_0";
5
5
  import { SageMakerGeospatialServiceException as __BaseException } from "../models/SageMakerGeospatialServiceException";
@@ -44,6 +44,7 @@ export const serializeAws_restJson1ExportEarthObservationJobCommand = async (inp
44
44
  let body;
45
45
  body = JSON.stringify({
46
46
  ...(input.Arn != null && { Arn: input.Arn }),
47
+ ClientToken: input.ClientToken ?? generateIdempotencyToken(),
47
48
  ...(input.ExecutionRoleArn != null && { ExecutionRoleArn: input.ExecutionRoleArn }),
48
49
  ...(input.ExportSourceImages != null && { ExportSourceImages: input.ExportSourceImages }),
49
50
  ...(input.OutputConfig != null && {
@@ -69,6 +70,7 @@ export const serializeAws_restJson1ExportVectorEnrichmentJobCommand = async (inp
69
70
  let body;
70
71
  body = JSON.stringify({
71
72
  ...(input.Arn != null && { Arn: input.Arn }),
73
+ ClientToken: input.ClientToken ?? generateIdempotencyToken(),
72
74
  ...(input.ExecutionRoleArn != null && { ExecutionRoleArn: input.ExecutionRoleArn }),
73
75
  ...(input.OutputConfig != null && {
74
76
  OutputConfig: serializeAws_restJson1ExportVectorEnrichmentJobOutputConfig(input.OutputConfig, context),
@@ -135,6 +137,7 @@ export const serializeAws_restJson1GetTileCommand = async (input, context) => {
135
137
  TimeRangeFilter: [, input.TimeRangeFilter],
136
138
  PropertyFilters: [, input.PropertyFilters],
137
139
  OutputDataType: [, input.OutputDataType],
140
+ ExecutionRoleArn: [, input.ExecutionRoleArn],
138
141
  });
139
142
  let body;
140
143
  return new __HttpRequest({
@@ -516,7 +519,7 @@ export const deserializeAws_restJson1ExportEarthObservationJobCommand = async (o
516
519
  contents.Arn = __expectString(data.Arn);
517
520
  }
518
521
  if (data.CreationTime != null) {
519
- contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
522
+ contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreationTime));
520
523
  }
521
524
  if (data.ExecutionRoleArn != null) {
522
525
  contents.ExecutionRoleArn = __expectString(data.ExecutionRoleArn);
@@ -582,7 +585,7 @@ export const deserializeAws_restJson1ExportVectorEnrichmentJobCommand = async (o
582
585
  contents.Arn = __expectString(data.Arn);
583
586
  }
584
587
  if (data.CreationTime != null) {
585
- contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
588
+ contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreationTime));
586
589
  }
587
590
  if (data.ExecutionRoleArn != null) {
588
591
  contents.ExecutionRoleArn = __expectString(data.ExecutionRoleArn);
@@ -645,7 +648,7 @@ export const deserializeAws_restJson1GetEarthObservationJobCommand = async (outp
645
648
  contents.Arn = __expectString(data.Arn);
646
649
  }
647
650
  if (data.CreationTime != null) {
648
- contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
651
+ contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreationTime));
649
652
  }
650
653
  if (data.DurationInSeconds != null) {
651
654
  contents.DurationInSeconds = __expectInt32(data.DurationInSeconds);
@@ -839,7 +842,7 @@ export const deserializeAws_restJson1GetVectorEnrichmentJobCommand = async (outp
839
842
  contents.Arn = __expectString(data.Arn);
840
843
  }
841
844
  if (data.CreationTime != null) {
842
- contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
845
+ contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreationTime));
843
846
  }
844
847
  if (data.DurationInSeconds != null) {
845
848
  contents.DurationInSeconds = __expectInt32(data.DurationInSeconds);
@@ -1163,7 +1166,7 @@ export const deserializeAws_restJson1StartEarthObservationJobCommand = async (ou
1163
1166
  contents.Arn = __expectString(data.Arn);
1164
1167
  }
1165
1168
  if (data.CreationTime != null) {
1166
- contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
1169
+ contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreationTime));
1167
1170
  }
1168
1171
  if (data.DurationInSeconds != null) {
1169
1172
  contents.DurationInSeconds = __expectInt32(data.DurationInSeconds);
@@ -1241,7 +1244,7 @@ export const deserializeAws_restJson1StartVectorEnrichmentJobCommand = async (ou
1241
1244
  contents.Arn = __expectString(data.Arn);
1242
1245
  }
1243
1246
  if (data.CreationTime != null) {
1244
- contents.CreationTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.CreationTime)));
1247
+ contents.CreationTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(data.CreationTime));
1245
1248
  }
1246
1249
  if (data.DurationInSeconds != null) {
1247
1250
  contents.DurationInSeconds = __expectInt32(data.DurationInSeconds);
@@ -1991,6 +1994,7 @@ const serializeAws_restJson1ZonalStatisticsConfigInput = (input, context) => {
1991
1994
  TargetBands: serializeAws_restJson1StringListInput(input.TargetBands, context),
1992
1995
  }),
1993
1996
  ...(input.ZoneS3Path != null && { ZoneS3Path: input.ZoneS3Path }),
1997
+ ...(input.ZoneS3PathKmsKeyId != null && { ZoneS3PathKmsKeyId: input.ZoneS3PathKmsKeyId }),
1994
1998
  };
1995
1999
  };
1996
2000
  const serializeAws_restJson1ZonalStatisticsListInput = (input, context) => {
@@ -2306,9 +2310,7 @@ const deserializeAws_restJson1LinearRingsList = (output, context) => {
2306
2310
  const deserializeAws_restJson1ListEarthObservationJobOutputConfig = (output, context) => {
2307
2311
  return {
2308
2312
  Arn: __expectString(output.Arn),
2309
- CreationTime: output.CreationTime != null
2310
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
2311
- : undefined,
2313
+ CreationTime: output.CreationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationTime)) : undefined,
2312
2314
  DurationInSeconds: __expectInt32(output.DurationInSeconds),
2313
2315
  Name: __expectString(output.Name),
2314
2316
  OperationType: __expectString(output.OperationType),
@@ -2319,9 +2321,7 @@ const deserializeAws_restJson1ListEarthObservationJobOutputConfig = (output, con
2319
2321
  const deserializeAws_restJson1ListVectorEnrichmentJobOutputConfig = (output, context) => {
2320
2322
  return {
2321
2323
  Arn: __expectString(output.Arn),
2322
- CreationTime: output.CreationTime != null
2323
- ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
2324
- : undefined,
2324
+ CreationTime: output.CreationTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.CreationTime)) : undefined,
2325
2325
  DurationInSeconds: __expectInt32(output.DurationInSeconds),
2326
2326
  Name: __expectString(output.Name),
2327
2327
  Status: __expectString(output.Status),
@@ -2493,7 +2493,7 @@ const deserializeAws_restJson1RasterDataCollectionQueryOutput = (output, context
2493
2493
  RasterDataCollectionArn: __expectString(output.RasterDataCollectionArn),
2494
2494
  RasterDataCollectionName: __expectString(output.RasterDataCollectionName),
2495
2495
  TimeRangeFilter: output.TimeRangeFilter != null
2496
- ? deserializeAws_restJson1TimeRangeFilterInput(output.TimeRangeFilter, context)
2496
+ ? deserializeAws_restJson1TimeRangeFilterOutput(output.TimeRangeFilter, context)
2497
2497
  : undefined,
2498
2498
  };
2499
2499
  };
@@ -2567,10 +2567,10 @@ const deserializeAws_restJson1TemporalStatisticsListInput = (output, context) =>
2567
2567
  });
2568
2568
  return retVal;
2569
2569
  };
2570
- const deserializeAws_restJson1TimeRangeFilterInput = (output, context) => {
2570
+ const deserializeAws_restJson1TimeRangeFilterOutput = (output, context) => {
2571
2571
  return {
2572
- EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
2573
- StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
2572
+ EndTime: output.EndTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.EndTime)) : undefined,
2573
+ StartTime: output.StartTime != null ? __expectNonNull(__parseRfc3339DateTimeWithOffset(output.StartTime)) : undefined,
2574
2574
  };
2575
2575
  };
2576
2576
  const deserializeAws_restJson1UserDefined = (output, context) => {
@@ -2662,6 +2662,7 @@ const deserializeAws_restJson1ZonalStatisticsConfigInput = (output, context) =>
2662
2662
  : undefined,
2663
2663
  TargetBands: output.TargetBands != null ? deserializeAws_restJson1StringListInput(output.TargetBands, context) : undefined,
2664
2664
  ZoneS3Path: __expectString(output.ZoneS3Path),
2665
+ ZoneS3PathKmsKeyId: __expectString(output.ZoneS3PathKmsKeyId),
2665
2666
  };
2666
2667
  };
2667
2668
  const deserializeAws_restJson1ZonalStatisticsListInput = (output, context) => {
@@ -40,14 +40,14 @@ export declare class SageMakerGeospatial extends SageMakerGeospatialClient {
40
40
  deleteVectorEnrichmentJob(args: DeleteVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVectorEnrichmentJobCommandOutput) => void): void;
41
41
  /**
42
42
  * @public
43
- * <p>Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an S3 location.</p>
43
+ * <p>Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an Amazon S3 location.</p>
44
44
  */
45
45
  exportEarthObservationJob(args: ExportEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<ExportEarthObservationJobCommandOutput>;
46
46
  exportEarthObservationJob(args: ExportEarthObservationJobCommandInput, cb: (err: any, data?: ExportEarthObservationJobCommandOutput) => void): void;
47
47
  exportEarthObservationJob(args: ExportEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportEarthObservationJobCommandOutput) => void): void;
48
48
  /**
49
49
  * @public
50
- * <p>Use this operation to copy results of a Vector Enrichment job to an S3 location.</p>
50
+ * <p>Use this operation to copy results of a Vector Enrichment job to an Amazon S3 location.</p>
51
51
  */
52
52
  exportVectorEnrichmentJob(args: ExportVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<ExportVectorEnrichmentJobCommandOutput>;
53
53
  exportVectorEnrichmentJob(args: ExportVectorEnrichmentJobCommandInput, cb: (err: any, data?: ExportVectorEnrichmentJobCommandOutput) => void): void;
@@ -26,7 +26,7 @@ export interface DeleteEarthObservationJobCommandOutput extends DeleteEarthObser
26
26
  * import { SageMakerGeospatialClient, DeleteEarthObservationJobCommand } from "@aws-sdk/client-sagemaker-geospatial"; // ES Modules import
27
27
  * // const { SageMakerGeospatialClient, DeleteEarthObservationJobCommand } = require("@aws-sdk/client-sagemaker-geospatial"); // CommonJS import
28
28
  * const client = new SageMakerGeospatialClient(config);
29
- * const input = {
29
+ * const input = { // DeleteEarthObservationJobInput
30
30
  * Arn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteEarthObservationJobCommand(input);
@@ -43,13 +43,13 @@ export interface DeleteEarthObservationJobCommandOutput extends DeleteEarthObser
43
43
  * <p>You do not have sufficient access to perform this action.</p>
44
44
  *
45
45
  * @throws {@link ConflictException} (client fault)
46
- * <p/>
46
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
47
47
  *
48
48
  * @throws {@link InternalServerException} (server fault)
49
49
  * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
50
50
  *
51
51
  * @throws {@link ResourceNotFoundException} (client fault)
52
- * <p/>
52
+ * <p>The request references a resource which does not exist.</p>
53
53
  *
54
54
  * @throws {@link ThrottlingException} (client fault)
55
55
  * <p>The request was denied due to request throttling.</p>
@@ -26,7 +26,7 @@ export interface DeleteVectorEnrichmentJobCommandOutput extends DeleteVectorEnri
26
26
  * import { SageMakerGeospatialClient, DeleteVectorEnrichmentJobCommand } from "@aws-sdk/client-sagemaker-geospatial"; // ES Modules import
27
27
  * // const { SageMakerGeospatialClient, DeleteVectorEnrichmentJobCommand } = require("@aws-sdk/client-sagemaker-geospatial"); // CommonJS import
28
28
  * const client = new SageMakerGeospatialClient(config);
29
- * const input = {
29
+ * const input = { // DeleteVectorEnrichmentJobInput
30
30
  * Arn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new DeleteVectorEnrichmentJobCommand(input);
@@ -43,13 +43,13 @@ export interface DeleteVectorEnrichmentJobCommandOutput extends DeleteVectorEnri
43
43
  * <p>You do not have sufficient access to perform this action.</p>
44
44
  *
45
45
  * @throws {@link ConflictException} (client fault)
46
- * <p/>
46
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
47
47
  *
48
48
  * @throws {@link InternalServerException} (server fault)
49
49
  * <p>The request processing has failed because of an unknown error, exception, or failure.</p>
50
50
  *
51
51
  * @throws {@link ResourceNotFoundException} (client fault)
52
- * <p/>
52
+ * <p>The request references a resource which does not exist.</p>
53
53
  *
54
54
  * @throws {@link ThrottlingException} (client fault)
55
55
  * <p>The request was denied due to request throttling.</p>