@aws-sdk/client-sagemaker-geospatial 3.928.0 → 3.929.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 (43) hide show
  1. package/dist-cjs/index.js +1141 -1545
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SageMakerGeospatialClient.js +2 -0
  4. package/dist-es/commands/DeleteEarthObservationJobCommand.js +3 -9
  5. package/dist-es/commands/DeleteVectorEnrichmentJobCommand.js +3 -9
  6. package/dist-es/commands/ExportEarthObservationJobCommand.js +3 -9
  7. package/dist-es/commands/ExportVectorEnrichmentJobCommand.js +3 -9
  8. package/dist-es/commands/GetEarthObservationJobCommand.js +3 -10
  9. package/dist-es/commands/GetRasterDataCollectionCommand.js +3 -9
  10. package/dist-es/commands/GetTileCommand.js +3 -10
  11. package/dist-es/commands/GetVectorEnrichmentJobCommand.js +3 -9
  12. package/dist-es/commands/ListEarthObservationJobsCommand.js +3 -10
  13. package/dist-es/commands/ListRasterDataCollectionsCommand.js +3 -10
  14. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  15. package/dist-es/commands/ListVectorEnrichmentJobsCommand.js +3 -10
  16. package/dist-es/commands/SearchRasterDataCollectionCommand.js +3 -10
  17. package/dist-es/commands/StartEarthObservationJobCommand.js +3 -10
  18. package/dist-es/commands/StartVectorEnrichmentJobCommand.js +3 -9
  19. package/dist-es/commands/StopEarthObservationJobCommand.js +3 -9
  20. package/dist-es/commands/StopVectorEnrichmentJobCommand.js +3 -9
  21. package/dist-es/commands/TagResourceCommand.js +3 -9
  22. package/dist-es/commands/UntagResourceCommand.js +3 -9
  23. package/dist-es/models/models_0.js +0 -121
  24. package/dist-es/runtimeConfig.shared.js +2 -0
  25. package/dist-es/schemas/schemas_0.js +1098 -0
  26. package/dist-types/SageMakerGeospatialClient.d.ts +10 -1
  27. package/dist-types/models/models_0.d.ts +0 -100
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  29. package/dist-types/runtimeConfig.d.ts +1 -0
  30. package/dist-types/runtimeConfig.native.d.ts +1 -0
  31. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  32. package/dist-types/schemas/schemas_0.d.ts +145 -0
  33. package/dist-types/ts3.4/SageMakerGeospatialClient.d.ts +4 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +0 -71
  35. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  36. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +152 -0
  40. package/package.json +2 -3
  41. package/dist-es/protocols/Aws_restJson1.js +0 -1259
  42. package/dist-types/protocols/Aws_restJson1.d.ts +0 -173
  43. 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";
@@ -329,123 +328,3 @@ export const VectorEnrichmentJobType = {
329
328
  MAP_MATCHING: "MAP_MATCHING",
330
329
  REVERSE_GEOCODING: "REVERSE_GEOCODING",
331
330
  };
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,