@aws-sdk/client-sagemaker-geospatial 3.987.0 → 3.989.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.
@@ -7,6 +7,7 @@ import { sdkStreamMixin } from "@smithy/util-stream";
7
7
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
8
8
  import { defaultSageMakerGeospatialHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
9
9
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
10
+ import { errorTypeRegistries } from "./schemas/schemas_0";
10
11
  export const getRuntimeConfig = (config) => {
11
12
  return {
12
13
  apiVersion: "2020-05-27",
@@ -27,6 +28,7 @@ export const getRuntimeConfig = (config) => {
27
28
  protocol: config?.protocol ?? AwsRestJsonProtocol,
28
29
  protocolSettings: config?.protocolSettings ?? {
29
30
  defaultNamespace: "com.amazonaws.sagemakergeospatial",
31
+ errorTypeRegistries,
30
32
  version: "2020-05-27",
31
33
  serviceTarget: "SageMakerGeospatial",
32
34
  },
@@ -246,9 +246,9 @@ const _h = "http";
246
246
  const _hE = "httpError";
247
247
  const _hQ = "httpQuery";
248
248
  const _mT = "mediaType";
249
- const _s = "streaming";
249
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakergeospatial";
250
250
  const _se = "server";
251
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakergeospatial";
251
+ const _st = "streaming";
252
252
  const _tK = "tagKeys";
253
253
  const _x = "x";
254
254
  const _y = "y";
@@ -257,14 +257,58 @@ const n0 = "com.amazonaws.sagemakergeospatial";
257
257
  import { TypeRegistry } from "@smithy/core/schema";
258
258
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
259
259
  import { SageMakerGeospatialServiceException } from "../models/SageMakerGeospatialServiceException";
260
- var BinaryFile = [0, n0, _BF, { [_mT]: _ab, [_s]: 1 }, 42];
261
- var NextToken = [0, n0, _NT, 8, 0];
260
+ const _s_registry = TypeRegistry.for(_s);
261
+ export var SageMakerGeospatialServiceException$ = [-3, _s, "SageMakerGeospatialServiceException", 0, [], []];
262
+ _s_registry.registerError(SageMakerGeospatialServiceException$, SageMakerGeospatialServiceException);
263
+ const n0_registry = TypeRegistry.for(n0);
262
264
  export var AccessDeniedException$ = [-3, n0, _ADE,
263
265
  { [_e]: _c, [_hE]: 403 },
264
266
  [_M],
265
267
  [0], 1
266
268
  ];
267
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
269
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
270
+ export var ConflictException$ = [-3, n0, _CE,
271
+ { [_e]: _c, [_hE]: 409 },
272
+ [_M, _RI],
273
+ [0, 0], 1
274
+ ];
275
+ n0_registry.registerError(ConflictException$, ConflictException);
276
+ export var InternalServerException$ = [-3, n0, _ISE,
277
+ { [_e]: _se, [_hE]: 500 },
278
+ [_M, _RI],
279
+ [0, 0], 1
280
+ ];
281
+ n0_registry.registerError(InternalServerException$, InternalServerException);
282
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
283
+ { [_e]: _c, [_hE]: 404 },
284
+ [_M, _RI],
285
+ [0, 0], 1
286
+ ];
287
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
288
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
289
+ { [_e]: _c, [_hE]: 402 },
290
+ [_M, _RI],
291
+ [0, 0], 1
292
+ ];
293
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
294
+ export var ThrottlingException$ = [-3, n0, _TE,
295
+ { [_e]: _c, [_hE]: 429 },
296
+ [_M, _RI],
297
+ [0, 0], 1
298
+ ];
299
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
300
+ export var ValidationException$ = [-3, n0, _VE,
301
+ { [_e]: _c, [_hE]: 400 },
302
+ [_M, _RI],
303
+ [0, 0], 1
304
+ ];
305
+ n0_registry.registerError(ValidationException$, ValidationException);
306
+ export const errorTypeRegistries = [
307
+ _s_registry,
308
+ n0_registry,
309
+ ];
310
+ var BinaryFile = [0, n0, _BF, { [_mT]: _ab, [_st]: 1 }, 42];
311
+ var NextToken = [0, n0, _NT, 8, 0];
268
312
  export var AssetValue$ = [3, n0, _AV,
269
313
  0,
270
314
  [_H],
@@ -285,12 +329,6 @@ export var CloudRemovalConfigInput$ = [3, n0, _CRCI,
285
329
  [_AN, _IV, _TB],
286
330
  [0, 0, 64 | 0]
287
331
  ];
288
- export var ConflictException$ = [-3, n0, _CE,
289
- { [_e]: _c, [_hE]: 409 },
290
- [_M, _RI],
291
- [0, 0], 1
292
- ];
293
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
294
332
  export var CustomIndicesInput$ = [3, n0, _CII,
295
333
  0,
296
334
  [_O],
@@ -431,12 +469,6 @@ export var InputConfigOutput$ = [3, n0, _ICO,
431
469
  [_PEOJA, _RDCQ],
432
470
  [0, [() => RasterDataCollectionQueryOutput$, 0]]
433
471
  ];
434
- export var InternalServerException$ = [-3, n0, _ISE,
435
- { [_e]: _se, [_hE]: 500 },
436
- [_M, _RI],
437
- [0, 0], 1
438
- ];
439
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
440
472
  export var ItemSource$ = [3, n0, _IS,
441
473
  0,
442
474
  [_I, _G, _DT, _As, _P],
@@ -587,12 +619,6 @@ export var ResamplingConfigInput$ = [3, n0, _RCI,
587
619
  [_OR, _AN, _TB],
588
620
  [() => OutputResolutionResamplingInput$, 0, 64 | 0], 1
589
621
  ];
590
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
591
- { [_e]: _c, [_hE]: 404 },
592
- [_M, _RI],
593
- [0, 0], 1
594
- ];
595
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
596
622
  export var ReverseGeocodingConfig$ = [3, n0, _RGC,
597
623
  0,
598
624
  [_YAN, _XAN],
@@ -608,12 +634,6 @@ export var SearchRasterDataCollectionOutput$ = [3, n0, _SRDCO,
608
634
  [_ARC, _NT, _It],
609
635
  [1, [() => NextToken, 0], [() => ItemSourceList, 0]], 1
610
636
  ];
611
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
612
- { [_e]: _c, [_hE]: 402 },
613
- [_M, _RI],
614
- [0, 0], 1
615
- ];
616
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
617
637
  export var StackConfigInput$ = [3, n0, _SCI,
618
638
  0,
619
639
  [_OR, _TB],
@@ -674,12 +694,6 @@ export var TemporalStatisticsConfigInput$ = [3, n0, _TSCI,
674
694
  [_St, _GB, _TB],
675
695
  [64 | 0, 0, 64 | 0], 1
676
696
  ];
677
- export var ThrottlingException$ = [-3, n0, _TE,
678
- { [_e]: _c, [_hE]: 429 },
679
- [_M, _RI],
680
- [0, 0], 1
681
- ];
682
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
683
697
  export var TimeRangeFilterInput$ = [3, n0, _TRFI,
684
698
  8,
685
699
  [_ST, _ET],
@@ -705,12 +719,6 @@ export var UserDefined$ = [3, n0, _UD,
705
719
  [_V, _U],
706
720
  [1, 0], 2
707
721
  ];
708
- export var ValidationException$ = [-3, n0, _VE,
709
- { [_e]: _c, [_hE]: 400 },
710
- [_M, _RI],
711
- [0, 0], 1
712
- ];
713
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
714
722
  export var VectorEnrichmentJobErrorDetails$ = [3, n0, _VEJED,
715
723
  0,
716
724
  [_ETr, _EM],
@@ -751,8 +759,6 @@ export var ZonalStatisticsConfigInput$ = [3, n0, _ZSCI,
751
759
  [_ZSP, _St, _TB, _ZSPKKI],
752
760
  [0, 64 | 0, 64 | 0, 0], 2
753
761
  ];
754
- export var SageMakerGeospatialServiceException$ = [-3, _sm, "SageMakerGeospatialServiceException", 0, [], []];
755
- TypeRegistry.for(_sm).registerError(SageMakerGeospatialServiceException$, SageMakerGeospatialServiceException);
756
762
  var DataCollectionsList = [1, n0, _DCL,
757
763
  0, () => RasterDataCollectionMetadata$
758
764
  ];
@@ -1,10 +1,23 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema, StaticUnionSchema } from "@smithy/types";
3
+ export declare var SageMakerGeospatialServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var ConflictException$: StaticErrorSchema;
6
+ export declare var InternalServerException$: StaticErrorSchema;
7
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
8
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
9
+ export declare var ThrottlingException$: StaticErrorSchema;
10
+ export declare var ValidationException$: StaticErrorSchema;
11
+ /**
12
+ * TypeRegistry instances containing modeled errors.
13
+ * @internal
14
+ *
15
+ */
16
+ export declare const errorTypeRegistries: TypeRegistry[];
3
17
  export declare var AssetValue$: StaticStructureSchema;
4
18
  export declare var BandMathConfigInput$: StaticStructureSchema;
5
19
  export declare var CloudMaskingConfigInput$: StaticStructureSchema;
6
20
  export declare var CloudRemovalConfigInput$: StaticStructureSchema;
7
- export declare var ConflictException$: StaticErrorSchema;
8
21
  export declare var CustomIndicesInput$: StaticStructureSchema;
9
22
  export declare var DeleteEarthObservationJobInput$: StaticStructureSchema;
10
23
  export declare var DeleteEarthObservationJobOutput$: StaticStructureSchema;
@@ -33,7 +46,6 @@ export declare var GetVectorEnrichmentJobInput$: StaticStructureSchema;
33
46
  export declare var GetVectorEnrichmentJobOutput$: StaticStructureSchema;
34
47
  export declare var InputConfigInput$: StaticStructureSchema;
35
48
  export declare var InputConfigOutput$: StaticStructureSchema;
36
- export declare var InternalServerException$: StaticErrorSchema;
37
49
  export declare var ItemSource$: StaticStructureSchema;
38
50
  export declare var LandCoverSegmentationConfigInput$: StaticStructureSchema;
39
51
  export declare var LandsatCloudCoverLandInput$: StaticStructureSchema;
@@ -64,11 +76,9 @@ export declare var RasterDataCollectionQueryInput$: StaticStructureSchema;
64
76
  export declare var RasterDataCollectionQueryOutput$: StaticStructureSchema;
65
77
  export declare var RasterDataCollectionQueryWithBandFilterInput$: StaticStructureSchema;
66
78
  export declare var ResamplingConfigInput$: StaticStructureSchema;
67
- export declare var ResourceNotFoundException$: StaticErrorSchema;
68
79
  export declare var ReverseGeocodingConfig$: StaticStructureSchema;
69
80
  export declare var SearchRasterDataCollectionInput$: StaticStructureSchema;
70
81
  export declare var SearchRasterDataCollectionOutput$: StaticStructureSchema;
71
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
72
82
  export declare var StackConfigInput$: StaticStructureSchema;
73
83
  export declare var StartEarthObservationJobInput$: StaticStructureSchema;
74
84
  export declare var StartEarthObservationJobOutput$: StaticStructureSchema;
@@ -81,13 +91,11 @@ export declare var StopVectorEnrichmentJobOutput$: StaticStructureSchema;
81
91
  export declare var TagResourceRequest$: StaticStructureSchema;
82
92
  export declare var TagResourceResponse$: StaticStructureSchema;
83
93
  export declare var TemporalStatisticsConfigInput$: StaticStructureSchema;
84
- export declare var ThrottlingException$: StaticErrorSchema;
85
94
  export declare var TimeRangeFilterInput$: StaticStructureSchema;
86
95
  export declare var TimeRangeFilterOutput$: StaticStructureSchema;
87
96
  export declare var UntagResourceRequest$: StaticStructureSchema;
88
97
  export declare var UntagResourceResponse$: StaticStructureSchema;
89
98
  export declare var UserDefined$: StaticStructureSchema;
90
- export declare var ValidationException$: StaticErrorSchema;
91
99
  export declare var VectorEnrichmentJobErrorDetails$: StaticStructureSchema;
92
100
  export declare var VectorEnrichmentJobExportErrorDetails$: StaticStructureSchema;
93
101
  export declare var VectorEnrichmentJobInputConfig$: StaticStructureSchema;
@@ -96,7 +104,6 @@ export declare var ViewOffNadirInput$: StaticStructureSchema;
96
104
  export declare var ViewSunAzimuthInput$: StaticStructureSchema;
97
105
  export declare var ViewSunElevationInput$: StaticStructureSchema;
98
106
  export declare var ZonalStatisticsConfigInput$: StaticStructureSchema;
99
- export declare var SageMakerGeospatialServiceException$: StaticErrorSchema;
100
107
  export declare var AreaOfInterest$: StaticUnionSchema;
101
108
  export declare var AreaOfInterestGeometry$: StaticUnionSchema;
102
109
  export declare var JobConfigInput$: StaticUnionSchema;
@@ -1,15 +1,23 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  StaticUnionSchema,
6
7
  } from "@smithy/types";
8
+ export declare var SageMakerGeospatialServiceException$: StaticErrorSchema;
7
9
  export declare var AccessDeniedException$: StaticErrorSchema;
10
+ export declare var ConflictException$: StaticErrorSchema;
11
+ export declare var InternalServerException$: StaticErrorSchema;
12
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
13
+ export declare var ServiceQuotaExceededException$: StaticErrorSchema;
14
+ export declare var ThrottlingException$: StaticErrorSchema;
15
+ export declare var ValidationException$: StaticErrorSchema;
16
+ export declare const errorTypeRegistries: TypeRegistry[];
8
17
  export declare var AssetValue$: StaticStructureSchema;
9
18
  export declare var BandMathConfigInput$: StaticStructureSchema;
10
19
  export declare var CloudMaskingConfigInput$: StaticStructureSchema;
11
20
  export declare var CloudRemovalConfigInput$: StaticStructureSchema;
12
- export declare var ConflictException$: StaticErrorSchema;
13
21
  export declare var CustomIndicesInput$: StaticStructureSchema;
14
22
  export declare var DeleteEarthObservationJobInput$: StaticStructureSchema;
15
23
  export declare var DeleteEarthObservationJobOutput$: StaticStructureSchema;
@@ -38,7 +46,6 @@ export declare var GetVectorEnrichmentJobInput$: StaticStructureSchema;
38
46
  export declare var GetVectorEnrichmentJobOutput$: StaticStructureSchema;
39
47
  export declare var InputConfigInput$: StaticStructureSchema;
40
48
  export declare var InputConfigOutput$: StaticStructureSchema;
41
- export declare var InternalServerException$: StaticErrorSchema;
42
49
  export declare var ItemSource$: StaticStructureSchema;
43
50
  export declare var LandCoverSegmentationConfigInput$: StaticStructureSchema;
44
51
  export declare var LandsatCloudCoverLandInput$: StaticStructureSchema;
@@ -69,11 +76,9 @@ export declare var RasterDataCollectionQueryInput$: StaticStructureSchema;
69
76
  export declare var RasterDataCollectionQueryOutput$: StaticStructureSchema;
70
77
  export declare var RasterDataCollectionQueryWithBandFilterInput$: StaticStructureSchema;
71
78
  export declare var ResamplingConfigInput$: StaticStructureSchema;
72
- export declare var ResourceNotFoundException$: StaticErrorSchema;
73
79
  export declare var ReverseGeocodingConfig$: StaticStructureSchema;
74
80
  export declare var SearchRasterDataCollectionInput$: StaticStructureSchema;
75
81
  export declare var SearchRasterDataCollectionOutput$: StaticStructureSchema;
76
- export declare var ServiceQuotaExceededException$: StaticErrorSchema;
77
82
  export declare var StackConfigInput$: StaticStructureSchema;
78
83
  export declare var StartEarthObservationJobInput$: StaticStructureSchema;
79
84
  export declare var StartEarthObservationJobOutput$: StaticStructureSchema;
@@ -86,13 +91,11 @@ export declare var StopVectorEnrichmentJobOutput$: StaticStructureSchema;
86
91
  export declare var TagResourceRequest$: StaticStructureSchema;
87
92
  export declare var TagResourceResponse$: StaticStructureSchema;
88
93
  export declare var TemporalStatisticsConfigInput$: StaticStructureSchema;
89
- export declare var ThrottlingException$: StaticErrorSchema;
90
94
  export declare var TimeRangeFilterInput$: StaticStructureSchema;
91
95
  export declare var TimeRangeFilterOutput$: StaticStructureSchema;
92
96
  export declare var UntagResourceRequest$: StaticStructureSchema;
93
97
  export declare var UntagResourceResponse$: StaticStructureSchema;
94
98
  export declare var UserDefined$: StaticStructureSchema;
95
- export declare var ValidationException$: StaticErrorSchema;
96
99
  export declare var VectorEnrichmentJobErrorDetails$: StaticStructureSchema;
97
100
  export declare var VectorEnrichmentJobExportErrorDetails$: StaticStructureSchema;
98
101
  export declare var VectorEnrichmentJobInputConfig$: StaticStructureSchema;
@@ -101,7 +104,6 @@ export declare var ViewOffNadirInput$: StaticStructureSchema;
101
104
  export declare var ViewSunAzimuthInput$: StaticStructureSchema;
102
105
  export declare var ViewSunElevationInput$: StaticStructureSchema;
103
106
  export declare var ZonalStatisticsConfigInput$: StaticStructureSchema;
104
- export declare var SageMakerGeospatialServiceException$: StaticErrorSchema;
105
107
  export declare var AreaOfInterest$: StaticUnionSchema;
106
108
  export declare var AreaOfInterestGeometry$: StaticUnionSchema;
107
109
  export declare var JobConfigInput$: StaticUnionSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-geospatial",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Geospatial Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker-geospatial",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",
59
- "@smithy/util-stream": "^4.5.11",
59
+ "@smithy/util-stream": "^4.5.12",
60
60
  "@smithy/util-utf8": "^4.2.0",
61
61
  "tslib": "^2.6.2"
62
62
  },