@aws-sdk/client-sagemaker-geospatial 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1141 -1623
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SageMakerGeospatialClient.js +2 -0
- package/dist-es/commands/DeleteEarthObservationJobCommand.js +3 -9
- package/dist-es/commands/DeleteVectorEnrichmentJobCommand.js +3 -9
- package/dist-es/commands/ExportEarthObservationJobCommand.js +3 -9
- package/dist-es/commands/ExportVectorEnrichmentJobCommand.js +3 -9
- package/dist-es/commands/GetEarthObservationJobCommand.js +3 -10
- package/dist-es/commands/GetRasterDataCollectionCommand.js +3 -9
- package/dist-es/commands/GetTileCommand.js +3 -10
- package/dist-es/commands/GetVectorEnrichmentJobCommand.js +3 -9
- package/dist-es/commands/ListEarthObservationJobsCommand.js +3 -10
- package/dist-es/commands/ListRasterDataCollectionsCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListVectorEnrichmentJobsCommand.js +3 -10
- package/dist-es/commands/SearchRasterDataCollectionCommand.js +3 -10
- package/dist-es/commands/StartEarthObservationJobCommand.js +3 -10
- package/dist-es/commands/StartVectorEnrichmentJobCommand.js +3 -9
- package/dist-es/commands/StopEarthObservationJobCommand.js +3 -9
- package/dist-es/commands/StopVectorEnrichmentJobCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -199
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +1098 -0
- package/dist-types/SageMakerGeospatialClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +24 -106
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +145 -0
- package/dist-types/ts3.4/SageMakerGeospatialClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -80
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +152 -0
- package/package.json +34 -35
- package/dist-es/protocols/Aws_restJson1.js +0 -1259
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -173
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -236
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { SageMakerGeospatialServiceException as __BaseException } from "./SageMakerGeospatialServiceException";
|
|
3
2
|
export class AccessDeniedException extends __BaseException {
|
|
4
3
|
name = "AccessDeniedException";
|
|
@@ -49,24 +48,6 @@ export const AlgorithmNameResampling = {
|
|
|
49
48
|
RMS: "RMS",
|
|
50
49
|
SUM: "SUM",
|
|
51
50
|
};
|
|
52
|
-
export var AreaOfInterestGeometry;
|
|
53
|
-
(function (AreaOfInterestGeometry) {
|
|
54
|
-
AreaOfInterestGeometry.visit = (value, visitor) => {
|
|
55
|
-
if (value.PolygonGeometry !== undefined)
|
|
56
|
-
return visitor.PolygonGeometry(value.PolygonGeometry);
|
|
57
|
-
if (value.MultiPolygonGeometry !== undefined)
|
|
58
|
-
return visitor.MultiPolygonGeometry(value.MultiPolygonGeometry);
|
|
59
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
60
|
-
};
|
|
61
|
-
})(AreaOfInterestGeometry || (AreaOfInterestGeometry = {}));
|
|
62
|
-
export var AreaOfInterest;
|
|
63
|
-
(function (AreaOfInterest) {
|
|
64
|
-
AreaOfInterest.visit = (value, visitor) => {
|
|
65
|
-
if (value.AreaOfInterestGeometry !== undefined)
|
|
66
|
-
return visitor.AreaOfInterestGeometry(value.AreaOfInterestGeometry);
|
|
67
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
68
|
-
};
|
|
69
|
-
})(AreaOfInterest || (AreaOfInterest = {}));
|
|
70
51
|
export const OutputType = {
|
|
71
52
|
FLOAT32: "FLOAT32",
|
|
72
53
|
FLOAT64: "FLOAT64",
|
|
@@ -196,24 +177,6 @@ export const ExportErrorType = {
|
|
|
196
177
|
export const LogicalOperator = {
|
|
197
178
|
AND: "AND",
|
|
198
179
|
};
|
|
199
|
-
export var Property;
|
|
200
|
-
(function (Property) {
|
|
201
|
-
Property.visit = (value, visitor) => {
|
|
202
|
-
if (value.EoCloudCover !== undefined)
|
|
203
|
-
return visitor.EoCloudCover(value.EoCloudCover);
|
|
204
|
-
if (value.ViewOffNadir !== undefined)
|
|
205
|
-
return visitor.ViewOffNadir(value.ViewOffNadir);
|
|
206
|
-
if (value.ViewSunAzimuth !== undefined)
|
|
207
|
-
return visitor.ViewSunAzimuth(value.ViewSunAzimuth);
|
|
208
|
-
if (value.ViewSunElevation !== undefined)
|
|
209
|
-
return visitor.ViewSunElevation(value.ViewSunElevation);
|
|
210
|
-
if (value.Platform !== undefined)
|
|
211
|
-
return visitor.Platform(value.Platform);
|
|
212
|
-
if (value.LandsatCloudCoverLand !== undefined)
|
|
213
|
-
return visitor.LandsatCloudCoverLand(value.LandsatCloudCoverLand);
|
|
214
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
215
|
-
};
|
|
216
|
-
})(Property || (Property = {}));
|
|
217
180
|
export const Unit = {
|
|
218
181
|
METERS: "METERS",
|
|
219
182
|
};
|
|
@@ -239,30 +202,6 @@ export const ZonalStatistics = {
|
|
|
239
202
|
STANDARD_DEVIATION: "STANDARD_DEVIATION",
|
|
240
203
|
SUM: "SUM",
|
|
241
204
|
};
|
|
242
|
-
export var JobConfigInput;
|
|
243
|
-
(function (JobConfigInput) {
|
|
244
|
-
JobConfigInput.visit = (value, visitor) => {
|
|
245
|
-
if (value.BandMathConfig !== undefined)
|
|
246
|
-
return visitor.BandMathConfig(value.BandMathConfig);
|
|
247
|
-
if (value.ResamplingConfig !== undefined)
|
|
248
|
-
return visitor.ResamplingConfig(value.ResamplingConfig);
|
|
249
|
-
if (value.TemporalStatisticsConfig !== undefined)
|
|
250
|
-
return visitor.TemporalStatisticsConfig(value.TemporalStatisticsConfig);
|
|
251
|
-
if (value.CloudRemovalConfig !== undefined)
|
|
252
|
-
return visitor.CloudRemovalConfig(value.CloudRemovalConfig);
|
|
253
|
-
if (value.ZonalStatisticsConfig !== undefined)
|
|
254
|
-
return visitor.ZonalStatisticsConfig(value.ZonalStatisticsConfig);
|
|
255
|
-
if (value.GeoMosaicConfig !== undefined)
|
|
256
|
-
return visitor.GeoMosaicConfig(value.GeoMosaicConfig);
|
|
257
|
-
if (value.StackConfig !== undefined)
|
|
258
|
-
return visitor.StackConfig(value.StackConfig);
|
|
259
|
-
if (value.CloudMaskingConfig !== undefined)
|
|
260
|
-
return visitor.CloudMaskingConfig(value.CloudMaskingConfig);
|
|
261
|
-
if (value.LandCoverSegmentationConfig !== undefined)
|
|
262
|
-
return visitor.LandCoverSegmentationConfig(value.LandCoverSegmentationConfig);
|
|
263
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
264
|
-
};
|
|
265
|
-
})(JobConfigInput || (JobConfigInput = {}));
|
|
266
205
|
export const EarthObservationJobStatus = {
|
|
267
206
|
COMPLETED: "COMPLETED",
|
|
268
207
|
DELETED: "DELETED",
|
|
@@ -294,27 +233,9 @@ export const VectorEnrichmentJobExportErrorType = {
|
|
|
294
233
|
CLIENT_ERROR: "CLIENT_ERROR",
|
|
295
234
|
SERVER_ERROR: "SERVER_ERROR",
|
|
296
235
|
};
|
|
297
|
-
export var VectorEnrichmentJobDataSourceConfigInput;
|
|
298
|
-
(function (VectorEnrichmentJobDataSourceConfigInput) {
|
|
299
|
-
VectorEnrichmentJobDataSourceConfigInput.visit = (value, visitor) => {
|
|
300
|
-
if (value.S3Data !== undefined)
|
|
301
|
-
return visitor.S3Data(value.S3Data);
|
|
302
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
303
|
-
};
|
|
304
|
-
})(VectorEnrichmentJobDataSourceConfigInput || (VectorEnrichmentJobDataSourceConfigInput = {}));
|
|
305
236
|
export const VectorEnrichmentJobDocumentType = {
|
|
306
237
|
CSV: "CSV",
|
|
307
238
|
};
|
|
308
|
-
export var VectorEnrichmentJobConfig;
|
|
309
|
-
(function (VectorEnrichmentJobConfig) {
|
|
310
|
-
VectorEnrichmentJobConfig.visit = (value, visitor) => {
|
|
311
|
-
if (value.ReverseGeocodingConfig !== undefined)
|
|
312
|
-
return visitor.ReverseGeocodingConfig(value.ReverseGeocodingConfig);
|
|
313
|
-
if (value.MapMatchingConfig !== undefined)
|
|
314
|
-
return visitor.MapMatchingConfig(value.MapMatchingConfig);
|
|
315
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
316
|
-
};
|
|
317
|
-
})(VectorEnrichmentJobConfig || (VectorEnrichmentJobConfig = {}));
|
|
318
239
|
export const VectorEnrichmentJobStatus = {
|
|
319
240
|
COMPLETED: "COMPLETED",
|
|
320
241
|
DELETED: "DELETED",
|
|
@@ -329,123 +250,3 @@ export const VectorEnrichmentJobType = {
|
|
|
329
250
|
MAP_MATCHING: "MAP_MATCHING",
|
|
330
251
|
REVERSE_GEOCODING: "REVERSE_GEOCODING",
|
|
331
252
|
};
|
|
332
|
-
export const MultiPolygonGeometryInputFilterSensitiveLog = (obj) => ({
|
|
333
|
-
...obj,
|
|
334
|
-
...(obj.Coordinates && { Coordinates: obj.Coordinates.map((item) => item.map((item) => SENSITIVE_STRING)) }),
|
|
335
|
-
});
|
|
336
|
-
export const PolygonGeometryInputFilterSensitiveLog = (obj) => ({
|
|
337
|
-
...obj,
|
|
338
|
-
...(obj.Coordinates && { Coordinates: obj.Coordinates.map((item) => SENSITIVE_STRING) }),
|
|
339
|
-
});
|
|
340
|
-
export const AreaOfInterestGeometryFilterSensitiveLog = (obj) => {
|
|
341
|
-
if (obj.PolygonGeometry !== undefined)
|
|
342
|
-
return { PolygonGeometry: PolygonGeometryInputFilterSensitiveLog(obj.PolygonGeometry) };
|
|
343
|
-
if (obj.MultiPolygonGeometry !== undefined)
|
|
344
|
-
return { MultiPolygonGeometry: MultiPolygonGeometryInputFilterSensitiveLog(obj.MultiPolygonGeometry) };
|
|
345
|
-
if (obj.$unknown !== undefined)
|
|
346
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
347
|
-
};
|
|
348
|
-
export const AreaOfInterestFilterSensitiveLog = (obj) => {
|
|
349
|
-
if (obj.AreaOfInterestGeometry !== undefined)
|
|
350
|
-
return { AreaOfInterestGeometry: AreaOfInterestGeometryFilterSensitiveLog(obj.AreaOfInterestGeometry) };
|
|
351
|
-
if (obj.$unknown !== undefined)
|
|
352
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
353
|
-
};
|
|
354
|
-
export const TimeRangeFilterOutputFilterSensitiveLog = (obj) => ({
|
|
355
|
-
...obj,
|
|
356
|
-
});
|
|
357
|
-
export const RasterDataCollectionQueryOutputFilterSensitiveLog = (obj) => ({
|
|
358
|
-
...obj,
|
|
359
|
-
...(obj.TimeRangeFilter && { TimeRangeFilter: SENSITIVE_STRING }),
|
|
360
|
-
...(obj.AreaOfInterest && { AreaOfInterest: AreaOfInterestFilterSensitiveLog(obj.AreaOfInterest) }),
|
|
361
|
-
...(obj.PropertyFilters && { PropertyFilters: obj.PropertyFilters }),
|
|
362
|
-
});
|
|
363
|
-
export const InputConfigOutputFilterSensitiveLog = (obj) => ({
|
|
364
|
-
...obj,
|
|
365
|
-
...(obj.RasterDataCollectionQuery && {
|
|
366
|
-
RasterDataCollectionQuery: RasterDataCollectionQueryOutputFilterSensitiveLog(obj.RasterDataCollectionQuery),
|
|
367
|
-
}),
|
|
368
|
-
});
|
|
369
|
-
export const GetEarthObservationJobOutputFilterSensitiveLog = (obj) => ({
|
|
370
|
-
...obj,
|
|
371
|
-
...(obj.InputConfig && { InputConfig: InputConfigOutputFilterSensitiveLog(obj.InputConfig) }),
|
|
372
|
-
...(obj.JobConfig && { JobConfig: obj.JobConfig }),
|
|
373
|
-
});
|
|
374
|
-
export const GetTileOutputFilterSensitiveLog = (obj) => ({
|
|
375
|
-
...obj,
|
|
376
|
-
});
|
|
377
|
-
export const ListEarthObservationJobInputFilterSensitiveLog = (obj) => ({
|
|
378
|
-
...obj,
|
|
379
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
380
|
-
});
|
|
381
|
-
export const ListEarthObservationJobOutputFilterSensitiveLog = (obj) => ({
|
|
382
|
-
...obj,
|
|
383
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
384
|
-
});
|
|
385
|
-
export const TimeRangeFilterInputFilterSensitiveLog = (obj) => ({
|
|
386
|
-
...obj,
|
|
387
|
-
});
|
|
388
|
-
export const RasterDataCollectionQueryInputFilterSensitiveLog = (obj) => ({
|
|
389
|
-
...obj,
|
|
390
|
-
...(obj.TimeRangeFilter && { TimeRangeFilter: SENSITIVE_STRING }),
|
|
391
|
-
...(obj.AreaOfInterest && { AreaOfInterest: AreaOfInterestFilterSensitiveLog(obj.AreaOfInterest) }),
|
|
392
|
-
...(obj.PropertyFilters && { PropertyFilters: obj.PropertyFilters }),
|
|
393
|
-
});
|
|
394
|
-
export const InputConfigInputFilterSensitiveLog = (obj) => ({
|
|
395
|
-
...obj,
|
|
396
|
-
...(obj.RasterDataCollectionQuery && {
|
|
397
|
-
RasterDataCollectionQuery: RasterDataCollectionQueryInputFilterSensitiveLog(obj.RasterDataCollectionQuery),
|
|
398
|
-
}),
|
|
399
|
-
});
|
|
400
|
-
export const StartEarthObservationJobInputFilterSensitiveLog = (obj) => ({
|
|
401
|
-
...obj,
|
|
402
|
-
...(obj.InputConfig && { InputConfig: InputConfigInputFilterSensitiveLog(obj.InputConfig) }),
|
|
403
|
-
...(obj.JobConfig && { JobConfig: obj.JobConfig }),
|
|
404
|
-
});
|
|
405
|
-
export const StartEarthObservationJobOutputFilterSensitiveLog = (obj) => ({
|
|
406
|
-
...obj,
|
|
407
|
-
...(obj.InputConfig && { InputConfig: InputConfigOutputFilterSensitiveLog(obj.InputConfig) }),
|
|
408
|
-
...(obj.JobConfig && { JobConfig: obj.JobConfig }),
|
|
409
|
-
});
|
|
410
|
-
export const GeometryFilterSensitiveLog = (obj) => ({
|
|
411
|
-
...obj,
|
|
412
|
-
...(obj.Coordinates && { Coordinates: obj.Coordinates.map((item) => SENSITIVE_STRING) }),
|
|
413
|
-
});
|
|
414
|
-
export const ItemSourceFilterSensitiveLog = (obj) => ({
|
|
415
|
-
...obj,
|
|
416
|
-
...(obj.Geometry && { Geometry: GeometryFilterSensitiveLog(obj.Geometry) }),
|
|
417
|
-
});
|
|
418
|
-
export const ListRasterDataCollectionsInputFilterSensitiveLog = (obj) => ({
|
|
419
|
-
...obj,
|
|
420
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
421
|
-
});
|
|
422
|
-
export const ListRasterDataCollectionsOutputFilterSensitiveLog = (obj) => ({
|
|
423
|
-
...obj,
|
|
424
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
425
|
-
});
|
|
426
|
-
export const ListVectorEnrichmentJobInputFilterSensitiveLog = (obj) => ({
|
|
427
|
-
...obj,
|
|
428
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
429
|
-
});
|
|
430
|
-
export const ListVectorEnrichmentJobOutputFilterSensitiveLog = (obj) => ({
|
|
431
|
-
...obj,
|
|
432
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
433
|
-
});
|
|
434
|
-
export const RasterDataCollectionQueryWithBandFilterInputFilterSensitiveLog = (obj) => ({
|
|
435
|
-
...obj,
|
|
436
|
-
...(obj.TimeRangeFilter && { TimeRangeFilter: SENSITIVE_STRING }),
|
|
437
|
-
...(obj.AreaOfInterest && { AreaOfInterest: AreaOfInterestFilterSensitiveLog(obj.AreaOfInterest) }),
|
|
438
|
-
...(obj.PropertyFilters && { PropertyFilters: obj.PropertyFilters }),
|
|
439
|
-
});
|
|
440
|
-
export const SearchRasterDataCollectionInputFilterSensitiveLog = (obj) => ({
|
|
441
|
-
...obj,
|
|
442
|
-
...(obj.RasterDataCollectionQuery && {
|
|
443
|
-
RasterDataCollectionQuery: RasterDataCollectionQueryWithBandFilterInputFilterSensitiveLog(obj.RasterDataCollectionQuery),
|
|
444
|
-
}),
|
|
445
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
446
|
-
});
|
|
447
|
-
export const SearchRasterDataCollectionOutputFilterSensitiveLog = (obj) => ({
|
|
448
|
-
...obj,
|
|
449
|
-
...(obj.NextToken && { NextToken: SENSITIVE_STRING }),
|
|
450
|
-
...(obj.Items && { Items: obj.Items.map((item) => ItemSourceFilterSensitiveLog(item)) }),
|
|
451
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -23,6 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
24
|
},
|
|
24
25
|
],
|
|
25
26
|
logger: config?.logger ?? new NoOpLogger(),
|
|
27
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.sagemakergeospatial" }),
|
|
26
28
|
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
27
29
|
serviceId: config?.serviceId ?? "SageMaker Geospatial",
|
|
28
30
|
urlParser: config?.urlParser ?? parseUrl,
|