@aws-sdk/client-geo-maps 3.987.0 → 3.988.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 CHANGED
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
19
+ var errors = require('./models/errors');
20
+ var GeoMapsServiceException = require('./models/GeoMapsServiceException');
18
21
 
19
22
  const resolveClientEndpointParameters = (options) => {
20
23
  return Object.assign(options, {
@@ -110,321 +113,6 @@ class GeoMapsClient extends smithyClient.Client {
110
113
  }
111
114
  }
112
115
 
113
- class GeoMapsServiceException extends smithyClient.ServiceException {
114
- constructor(options) {
115
- super(options);
116
- Object.setPrototypeOf(this, GeoMapsServiceException.prototype);
117
- }
118
- }
119
-
120
- class AccessDeniedException extends GeoMapsServiceException {
121
- name = "AccessDeniedException";
122
- $fault = "client";
123
- Message;
124
- constructor(opts) {
125
- super({
126
- name: "AccessDeniedException",
127
- $fault: "client",
128
- ...opts,
129
- });
130
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
- this.Message = opts.Message;
132
- }
133
- }
134
- class InternalServerException extends GeoMapsServiceException {
135
- name = "InternalServerException";
136
- $fault = "server";
137
- $retryable = {};
138
- Message;
139
- constructor(opts) {
140
- super({
141
- name: "InternalServerException",
142
- $fault: "server",
143
- ...opts,
144
- });
145
- Object.setPrototypeOf(this, InternalServerException.prototype);
146
- this.Message = opts.Message;
147
- }
148
- }
149
- class ThrottlingException extends GeoMapsServiceException {
150
- name = "ThrottlingException";
151
- $fault = "client";
152
- $retryable = {};
153
- Message;
154
- constructor(opts) {
155
- super({
156
- name: "ThrottlingException",
157
- $fault: "client",
158
- ...opts,
159
- });
160
- Object.setPrototypeOf(this, ThrottlingException.prototype);
161
- this.Message = opts.Message;
162
- }
163
- }
164
- class ValidationException extends GeoMapsServiceException {
165
- name = "ValidationException";
166
- $fault = "client";
167
- Message;
168
- Reason;
169
- FieldList;
170
- constructor(opts) {
171
- super({
172
- name: "ValidationException",
173
- $fault: "client",
174
- ...opts,
175
- });
176
- Object.setPrototypeOf(this, ValidationException.prototype);
177
- this.Message = opts.Message;
178
- this.Reason = opts.Reason;
179
- this.FieldList = opts.FieldList;
180
- }
181
- }
182
- class ResourceNotFoundException extends GeoMapsServiceException {
183
- name = "ResourceNotFoundException";
184
- $fault = "client";
185
- Message;
186
- constructor(opts) {
187
- super({
188
- name: "ResourceNotFoundException",
189
- $fault: "client",
190
- ...opts,
191
- });
192
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
193
- this.Message = opts.Message;
194
- }
195
- }
196
-
197
- const _ADE = "AccessDeniedException";
198
- const _AF = "AdditionalFeatures";
199
- const _AK = "ApiKey";
200
- const _B = "Blob";
201
- const _BB = "BoundingBox";
202
- const _BP = "BoundedPositions";
203
- const _Bu = "Buildings";
204
- const _C = "Center";
205
- const _CC = "CountryCode";
206
- const _CC_ = "Cache-Control";
207
- const _CCa = "CacheControl";
208
- const _CD = "ContourDensity";
209
- const _CL = "CropLabels";
210
- const _CO = "CompactOverlay";
211
- const _CS = "ColorScheme";
212
- const _CT = "ContentType";
213
- const _CT_ = "Content-Type";
214
- const _DM = "DistanceMeters";
215
- const _ET = "ETag";
216
- const _FL = "FieldList";
217
- const _FN = "FileName";
218
- const _FS = "FontStack";
219
- const _FUR = "FontUnicodeRange";
220
- const _GG = "GetGlyphs";
221
- const _GGR = "GetGlyphsRequest";
222
- const _GGRe = "GetGlyphsResponse";
223
- const _GJO = "GeoJsonOverlay";
224
- const _GS = "GetSprites";
225
- const _GSD = "GetStyleDescriptor";
226
- const _GSDR = "GetStyleDescriptorRequest";
227
- const _GSDRe = "GetStyleDescriptorResponse";
228
- const _GSM = "GetStaticMap";
229
- const _GSMR = "GetStaticMapRequest";
230
- const _GSMRe = "GetStaticMapResponse";
231
- const _GSR = "GetSpritesRequest";
232
- const _GSRe = "GetSpritesResponse";
233
- const _GT = "GetTile";
234
- const _GTR = "GetTileRequest";
235
- const _GTRe = "GetTileResponse";
236
- const _H = "Height";
237
- const _ISE = "InternalServerException";
238
- const _K = "Key";
239
- const _L = "Language";
240
- const _LS = "LabelSize";
241
- const _M = "Message";
242
- const _N = "Name";
243
- const _P = "Padding";
244
- const _PB = "PricingBucket";
245
- const _PLS = "PositionListString";
246
- const _POI = "PointsOfInterests";
247
- const _PS = "PositionString";
248
- const _PV = "PoliticalView";
249
- const _R = "Radius";
250
- const _RNFE = "ResourceNotFoundException";
251
- const _Re = "Reason";
252
- const _S = "Style";
253
- const _SBU = "ScaleBarUnit";
254
- const _SF = "SensitiveFloat";
255
- const _SI = "SensitiveInteger";
256
- const _SS = "SensitiveString";
257
- const _T = "Terrain";
258
- const _TE = "ThrottlingException";
259
- const _TM = "TravelModes";
260
- const _Ti = "Tileset";
261
- const _Tr = "Traffic";
262
- const _V = "Variant";
263
- const _VE = "ValidationException";
264
- const _VEF = "ValidationExceptionField";
265
- const _VEFL = "ValidationExceptionFieldList";
266
- const _W = "Width";
267
- const _X = "X";
268
- const _Y = "Y";
269
- const _Z = "Zoom";
270
- const _Z_ = "Z";
271
- const _af = "additional-features";
272
- const _b = "buildings";
273
- const _bb = "bounding-box";
274
- const _bp = "bounded-positions";
275
- const _c = "client";
276
- const _cd = "contour-density";
277
- const _ce = "center";
278
- const _cl = "crop-labels";
279
- const _co = "compact-overlay";
280
- const _cs = "color-scheme";
281
- const _e = "error";
282
- const _fL = "fieldList";
283
- const _go = "geojson-overlay";
284
- const _h = "height";
285
- const _hE = "httpError";
286
- const _hH = "httpHeader";
287
- const _hQ = "httpQuery";
288
- const _ht = "http";
289
- const _jN = "jsonName";
290
- const _k = "key";
291
- const _l = "lang";
292
- const _ls = "label-size";
293
- const _m = "message";
294
- const _n = "name";
295
- const _p = "padding";
296
- const _po = "pois";
297
- const _pv = "political-view";
298
- const _r = "radius";
299
- const _re = "reason";
300
- const _s = "style";
301
- const _se = "server";
302
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.geomaps";
303
- const _su = "scale-unit";
304
- const _t = "terrain";
305
- const _tm = "travel-modes";
306
- const _tr = "traffic";
307
- const _w = "width";
308
- const _xagpb = "x-amz-geo-pricing-bucket";
309
- const _z = "zoom";
310
- const n0 = "com.amazonaws.geomaps";
311
- var ApiKey = [0, n0, _AK, 8, 0];
312
- var CompactOverlay = [0, n0, _CO, 8, 0];
313
- var CountryCode = [0, n0, _CC, 8, 0];
314
- var DistanceMeters = [0, n0, _DM, 8, 1];
315
- var GeoJsonOverlay = [0, n0, _GJO, 8, 0];
316
- var PositionListString = [0, n0, _PLS, 8, 0];
317
- var PositionString = [0, n0, _PS, 8, 0];
318
- var SensitiveFloat = [0, n0, _SF, 8, 1];
319
- var SensitiveInteger = [0, n0, _SI, 8, 1];
320
- var SensitiveString = [0, n0, _SS, 8, 0];
321
- var AccessDeniedException$ = [-3, n0, _ADE,
322
- { [_e]: _c, [_hE]: 403 },
323
- [_M],
324
- [[0, { [_jN]: _m }]], 1
325
- ];
326
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
327
- var GetGlyphsRequest$ = [3, n0, _GGR,
328
- 0,
329
- [_FS, _FUR],
330
- [[0, 1], [0, 1]], 2
331
- ];
332
- var GetGlyphsResponse$ = [3, n0, _GGRe,
333
- 0,
334
- [_B, _CT, _CCa, _ET],
335
- [[21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]]
336
- ];
337
- var GetSpritesRequest$ = [3, n0, _GSR,
338
- 0,
339
- [_FN, _S, _CS, _V],
340
- [[0, 1], [0, 1], [0, 1], [0, 1]], 4
341
- ];
342
- var GetSpritesResponse$ = [3, n0, _GSRe,
343
- 0,
344
- [_B, _CT, _CCa, _ET],
345
- [[21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]]
346
- ];
347
- var GetStaticMapRequest$ = [3, n0, _GSMR,
348
- 0,
349
- [_H, _FN, _W, _BB, _BP, _C, _CS, _CO, _CL, _GJO, _K, _LS, _L, _P, _PV, _POI, _R, _SBU, _S, _Z],
350
- [[() => SensitiveInteger, { [_hQ]: _h }], [0, 1], [() => SensitiveInteger, { [_hQ]: _w }], [() => PositionListString, { [_hQ]: _bb }], [() => PositionListString, { [_hQ]: _bp }], [() => PositionString, { [_hQ]: _ce }], [0, { [_hQ]: _cs }], [() => CompactOverlay, { [_hQ]: _co }], [2, { [_hQ]: _cl }], [() => GeoJsonOverlay, { [_hQ]: _go }], [() => ApiKey, { [_hQ]: _k }], [0, { [_hQ]: _ls }], [0, { [_hQ]: _l }], [() => SensitiveInteger, { [_hQ]: _p }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _po }], [() => DistanceMeters, { [_hQ]: _r }], [0, { [_hQ]: _su }], [0, { [_hQ]: _s }], [() => SensitiveFloat, { [_hQ]: _z }]], 3
351
- ];
352
- var GetStaticMapResponse$ = [3, n0, _GSMRe,
353
- 0,
354
- [_PB, _B, _CT, _CCa, _ET],
355
- [[0, { [_hH]: _xagpb }], [21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]], 1
356
- ];
357
- var GetStyleDescriptorRequest$ = [3, n0, _GSDR,
358
- 0,
359
- [_S, _CS, _PV, _T, _CD, _Tr, _TM, _Bu, _K],
360
- [[0, 1], [0, { [_hQ]: _cs }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _t }], [0, { [_hQ]: _cd }], [0, { [_hQ]: _tr }], [64 | 0, { [_hQ]: _tm }], [0, { [_hQ]: _b }], [() => ApiKey, { [_hQ]: _k }]], 1
361
- ];
362
- var GetStyleDescriptorResponse$ = [3, n0, _GSDRe,
363
- 0,
364
- [_B, _CT, _CCa, _ET],
365
- [[21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]]
366
- ];
367
- var GetTileRequest$ = [3, n0, _GTR,
368
- 0,
369
- [_Ti, _Z_, _X, _Y, _AF, _K],
370
- [[0, 1], [() => SensitiveString, 1], [() => SensitiveString, 1], [() => SensitiveString, 1], [64 | 0, { [_hQ]: _af }], [() => ApiKey, { [_hQ]: _k }]], 4
371
- ];
372
- var GetTileResponse$ = [3, n0, _GTRe,
373
- 0,
374
- [_PB, _B, _CT, _CCa, _ET],
375
- [[0, { [_hH]: _xagpb }], [21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]], 1
376
- ];
377
- var InternalServerException$ = [-3, n0, _ISE,
378
- { [_e]: _se, [_hE]: 500 },
379
- [_M],
380
- [[0, { [_jN]: _m }]], 1
381
- ];
382
- schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
383
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
384
- { [_e]: _c, [_hE]: 404 },
385
- [_M],
386
- [[0, { [_jN]: _m }]], 1
387
- ];
388
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
389
- var ThrottlingException$ = [-3, n0, _TE,
390
- { [_e]: _c, [_hE]: 429 },
391
- [_M],
392
- [[0, { [_jN]: _m }]], 1
393
- ];
394
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
395
- var ValidationException$ = [-3, n0, _VE,
396
- { [_e]: _c, [_hE]: 400 },
397
- [_M, _Re, _FL],
398
- [[0, { [_jN]: _m }], [0, { [_jN]: _re }], [() => ValidationExceptionFieldList, { [_jN]: _fL }]], 3
399
- ];
400
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
401
- var ValidationExceptionField$ = [3, n0, _VEF,
402
- 0,
403
- [_N, _M],
404
- [[0, { [_jN]: _n }], [0, { [_jN]: _m }]], 2
405
- ];
406
- var GeoMapsServiceException$ = [-3, _sm, "GeoMapsServiceException", 0, [], []];
407
- schema.TypeRegistry.for(_sm).registerError(GeoMapsServiceException$, GeoMapsServiceException);
408
- var ValidationExceptionFieldList = [1, n0, _VEFL,
409
- 0, [() => ValidationExceptionField$,
410
- 0]
411
- ];
412
- var GetGlyphs$ = [9, n0, _GG,
413
- { [_ht]: ["GET", "/glyphs/{FontStack}/{FontUnicodeRange}", 200] }, () => GetGlyphsRequest$, () => GetGlyphsResponse$
414
- ];
415
- var GetSprites$ = [9, n0, _GS,
416
- { [_ht]: ["GET", "/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", 200] }, () => GetSpritesRequest$, () => GetSpritesResponse$
417
- ];
418
- var GetStaticMap$ = [9, n0, _GSM,
419
- { [_ht]: ["GET", "/static/{FileName}", 200] }, () => GetStaticMapRequest$, () => GetStaticMapResponse$
420
- ];
421
- var GetStyleDescriptor$ = [9, n0, _GSD,
422
- { [_ht]: ["GET", "/styles/{Style}/descriptor", 200] }, () => GetStyleDescriptorRequest$, () => GetStyleDescriptorResponse$
423
- ];
424
- var GetTile$ = [9, n0, _GT,
425
- { [_ht]: ["GET", "/tiles/{Tileset}/{Z}/{X}/{Y}", 200] }, () => GetTileRequest$, () => GetTileResponse$
426
- ];
427
-
428
116
  class GetGlyphsCommand extends smithyClient.Command
429
117
  .classBuilder()
430
118
  .ep(commonParams)
@@ -433,7 +121,7 @@ class GetGlyphsCommand extends smithyClient.Command
433
121
  })
434
122
  .s("MapsService", "GetGlyphs", {})
435
123
  .n("GeoMapsClient", "GetGlyphsCommand")
436
- .sc(GetGlyphs$)
124
+ .sc(schemas_0.GetGlyphs$)
437
125
  .build() {
438
126
  }
439
127
 
@@ -445,7 +133,7 @@ class GetSpritesCommand extends smithyClient.Command
445
133
  })
446
134
  .s("MapsService", "GetSprites", {})
447
135
  .n("GeoMapsClient", "GetSpritesCommand")
448
- .sc(GetSprites$)
136
+ .sc(schemas_0.GetSprites$)
449
137
  .build() {
450
138
  }
451
139
 
@@ -457,7 +145,7 @@ class GetStaticMapCommand extends smithyClient.Command
457
145
  })
458
146
  .s("MapsService", "GetStaticMap", {})
459
147
  .n("GeoMapsClient", "GetStaticMapCommand")
460
- .sc(GetStaticMap$)
148
+ .sc(schemas_0.GetStaticMap$)
461
149
  .build() {
462
150
  }
463
151
 
@@ -469,7 +157,7 @@ class GetStyleDescriptorCommand extends smithyClient.Command
469
157
  })
470
158
  .s("MapsService", "GetStyleDescriptor", {})
471
159
  .n("GeoMapsClient", "GetStyleDescriptorCommand")
472
- .sc(GetStyleDescriptor$)
160
+ .sc(schemas_0.GetStyleDescriptor$)
473
161
  .build() {
474
162
  }
475
163
 
@@ -481,7 +169,7 @@ class GetTileCommand extends smithyClient.Command
481
169
  })
482
170
  .s("MapsService", "GetTile", {})
483
171
  .n("GeoMapsClient", "GetTileCommand")
484
- .sc(GetTile$)
172
+ .sc(schemas_0.GetTile$)
485
173
  .build() {
486
174
  }
487
175
 
@@ -567,52 +255,40 @@ Object.defineProperty(exports, "__Client", {
567
255
  enumerable: true,
568
256
  get: function () { return smithyClient.Client; }
569
257
  });
570
- exports.AccessDeniedException = AccessDeniedException;
571
- exports.AccessDeniedException$ = AccessDeniedException$;
258
+ Object.defineProperty(exports, "GeoMapsServiceException", {
259
+ enumerable: true,
260
+ get: function () { return GeoMapsServiceException.GeoMapsServiceException; }
261
+ });
572
262
  exports.Buildings = Buildings;
573
263
  exports.ColorScheme = ColorScheme;
574
264
  exports.ContourDensity = ContourDensity;
575
265
  exports.GeoMaps = GeoMaps;
576
266
  exports.GeoMapsClient = GeoMapsClient;
577
- exports.GeoMapsServiceException = GeoMapsServiceException;
578
- exports.GeoMapsServiceException$ = GeoMapsServiceException$;
579
- exports.GetGlyphs$ = GetGlyphs$;
580
267
  exports.GetGlyphsCommand = GetGlyphsCommand;
581
- exports.GetGlyphsRequest$ = GetGlyphsRequest$;
582
- exports.GetGlyphsResponse$ = GetGlyphsResponse$;
583
- exports.GetSprites$ = GetSprites$;
584
268
  exports.GetSpritesCommand = GetSpritesCommand;
585
- exports.GetSpritesRequest$ = GetSpritesRequest$;
586
- exports.GetSpritesResponse$ = GetSpritesResponse$;
587
- exports.GetStaticMap$ = GetStaticMap$;
588
269
  exports.GetStaticMapCommand = GetStaticMapCommand;
589
- exports.GetStaticMapRequest$ = GetStaticMapRequest$;
590
- exports.GetStaticMapResponse$ = GetStaticMapResponse$;
591
- exports.GetStyleDescriptor$ = GetStyleDescriptor$;
592
270
  exports.GetStyleDescriptorCommand = GetStyleDescriptorCommand;
593
- exports.GetStyleDescriptorRequest$ = GetStyleDescriptorRequest$;
594
- exports.GetStyleDescriptorResponse$ = GetStyleDescriptorResponse$;
595
- exports.GetTile$ = GetTile$;
596
271
  exports.GetTileCommand = GetTileCommand;
597
- exports.GetTileRequest$ = GetTileRequest$;
598
- exports.GetTileResponse$ = GetTileResponse$;
599
- exports.InternalServerException = InternalServerException;
600
- exports.InternalServerException$ = InternalServerException$;
601
272
  exports.LabelSize = LabelSize;
602
273
  exports.MapFeatureMode = MapFeatureMode;
603
274
  exports.MapStyle = MapStyle;
604
- exports.ResourceNotFoundException = ResourceNotFoundException;
605
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
606
275
  exports.ScaleBarUnit = ScaleBarUnit;
607
276
  exports.StaticMapStyle = StaticMapStyle;
608
277
  exports.Terrain = Terrain;
609
- exports.ThrottlingException = ThrottlingException;
610
- exports.ThrottlingException$ = ThrottlingException$;
611
278
  exports.TileAdditionalFeature = TileAdditionalFeature;
612
279
  exports.Traffic = Traffic;
613
280
  exports.TravelMode = TravelMode;
614
- exports.ValidationException = ValidationException;
615
- exports.ValidationException$ = ValidationException$;
616
- exports.ValidationExceptionField$ = ValidationExceptionField$;
617
281
  exports.ValidationExceptionReason = ValidationExceptionReason;
618
282
  exports.Variant = Variant;
283
+ Object.keys(schemas_0).forEach(function (k) {
284
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
285
+ enumerable: true,
286
+ get: function () { return schemas_0[k]; }
287
+ });
288
+ });
289
+ Object.keys(errors).forEach(function (k) {
290
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
291
+ enumerable: true,
292
+ get: function () { return errors[k]; }
293
+ });
294
+ });
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GeoMapsServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class GeoMapsServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, GeoMapsServiceException.prototype);
10
+ }
11
+ }
12
+ exports.GeoMapsServiceException = GeoMapsServiceException;
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
+ const GeoMapsServiceException_1 = require("./GeoMapsServiceException");
5
+ class AccessDeniedException extends GeoMapsServiceException_1.GeoMapsServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class InternalServerException extends GeoMapsServiceException_1.GeoMapsServiceException {
21
+ name = "InternalServerException";
22
+ $fault = "server";
23
+ $retryable = {};
24
+ Message;
25
+ constructor(opts) {
26
+ super({
27
+ name: "InternalServerException",
28
+ $fault: "server",
29
+ ...opts,
30
+ });
31
+ Object.setPrototypeOf(this, InternalServerException.prototype);
32
+ this.Message = opts.Message;
33
+ }
34
+ }
35
+ exports.InternalServerException = InternalServerException;
36
+ class ThrottlingException extends GeoMapsServiceException_1.GeoMapsServiceException {
37
+ name = "ThrottlingException";
38
+ $fault = "client";
39
+ $retryable = {};
40
+ Message;
41
+ constructor(opts) {
42
+ super({
43
+ name: "ThrottlingException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
48
+ this.Message = opts.Message;
49
+ }
50
+ }
51
+ exports.ThrottlingException = ThrottlingException;
52
+ class ValidationException extends GeoMapsServiceException_1.GeoMapsServiceException {
53
+ name = "ValidationException";
54
+ $fault = "client";
55
+ Message;
56
+ Reason;
57
+ FieldList;
58
+ constructor(opts) {
59
+ super({
60
+ name: "ValidationException",
61
+ $fault: "client",
62
+ ...opts,
63
+ });
64
+ Object.setPrototypeOf(this, ValidationException.prototype);
65
+ this.Message = opts.Message;
66
+ this.Reason = opts.Reason;
67
+ this.FieldList = opts.FieldList;
68
+ }
69
+ }
70
+ exports.ValidationException = ValidationException;
71
+ class ResourceNotFoundException extends GeoMapsServiceException_1.GeoMapsServiceException {
72
+ name = "ResourceNotFoundException";
73
+ $fault = "client";
74
+ Message;
75
+ constructor(opts) {
76
+ super({
77
+ name: "ResourceNotFoundException",
78
+ $fault: "client",
79
+ ...opts,
80
+ });
81
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
82
+ this.Message = opts.Message;
83
+ }
84
+ }
85
+ exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2020-11-19",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.geomaps",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2020-11-19",
33
35
  serviceTarget: "MapsService",
34
36
  },
@@ -0,0 +1,244 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetTile$ = exports.GetStyleDescriptor$ = exports.GetStaticMap$ = exports.GetSprites$ = exports.GetGlyphs$ = exports.ValidationExceptionField$ = exports.GetTileResponse$ = exports.GetTileRequest$ = exports.GetStyleDescriptorResponse$ = exports.GetStyleDescriptorRequest$ = exports.GetStaticMapResponse$ = exports.GetStaticMapRequest$ = exports.GetSpritesResponse$ = exports.GetSpritesRequest$ = exports.GetGlyphsResponse$ = exports.GetGlyphsRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.GeoMapsServiceException$ = void 0;
4
+ const _ADE = "AccessDeniedException";
5
+ const _AF = "AdditionalFeatures";
6
+ const _AK = "ApiKey";
7
+ const _B = "Blob";
8
+ const _BB = "BoundingBox";
9
+ const _BP = "BoundedPositions";
10
+ const _Bu = "Buildings";
11
+ const _C = "Center";
12
+ const _CC = "CountryCode";
13
+ const _CC_ = "Cache-Control";
14
+ const _CCa = "CacheControl";
15
+ const _CD = "ContourDensity";
16
+ const _CL = "CropLabels";
17
+ const _CO = "CompactOverlay";
18
+ const _CS = "ColorScheme";
19
+ const _CT = "ContentType";
20
+ const _CT_ = "Content-Type";
21
+ const _DM = "DistanceMeters";
22
+ const _ET = "ETag";
23
+ const _FL = "FieldList";
24
+ const _FN = "FileName";
25
+ const _FS = "FontStack";
26
+ const _FUR = "FontUnicodeRange";
27
+ const _GG = "GetGlyphs";
28
+ const _GGR = "GetGlyphsRequest";
29
+ const _GGRe = "GetGlyphsResponse";
30
+ const _GJO = "GeoJsonOverlay";
31
+ const _GS = "GetSprites";
32
+ const _GSD = "GetStyleDescriptor";
33
+ const _GSDR = "GetStyleDescriptorRequest";
34
+ const _GSDRe = "GetStyleDescriptorResponse";
35
+ const _GSM = "GetStaticMap";
36
+ const _GSMR = "GetStaticMapRequest";
37
+ const _GSMRe = "GetStaticMapResponse";
38
+ const _GSR = "GetSpritesRequest";
39
+ const _GSRe = "GetSpritesResponse";
40
+ const _GT = "GetTile";
41
+ const _GTR = "GetTileRequest";
42
+ const _GTRe = "GetTileResponse";
43
+ const _H = "Height";
44
+ const _ISE = "InternalServerException";
45
+ const _K = "Key";
46
+ const _L = "Language";
47
+ const _LS = "LabelSize";
48
+ const _M = "Message";
49
+ const _N = "Name";
50
+ const _P = "Padding";
51
+ const _PB = "PricingBucket";
52
+ const _PLS = "PositionListString";
53
+ const _POI = "PointsOfInterests";
54
+ const _PS = "PositionString";
55
+ const _PV = "PoliticalView";
56
+ const _R = "Reason";
57
+ const _RNFE = "ResourceNotFoundException";
58
+ const _Ra = "Radius";
59
+ const _S = "Style";
60
+ const _SBU = "ScaleBarUnit";
61
+ const _SF = "SensitiveFloat";
62
+ const _SI = "SensitiveInteger";
63
+ const _SS = "SensitiveString";
64
+ const _T = "Terrain";
65
+ const _TE = "ThrottlingException";
66
+ const _TM = "TravelModes";
67
+ const _Ti = "Tileset";
68
+ const _Tr = "Traffic";
69
+ const _V = "Variant";
70
+ const _VE = "ValidationException";
71
+ const _VEF = "ValidationExceptionField";
72
+ const _VEFL = "ValidationExceptionFieldList";
73
+ const _W = "Width";
74
+ const _X = "X";
75
+ const _Y = "Y";
76
+ const _Z = "Zoom";
77
+ const _Z_ = "Z";
78
+ const _af = "additional-features";
79
+ const _b = "buildings";
80
+ const _bb = "bounding-box";
81
+ const _bp = "bounded-positions";
82
+ const _c = "client";
83
+ const _cd = "contour-density";
84
+ const _ce = "center";
85
+ const _cl = "crop-labels";
86
+ const _co = "compact-overlay";
87
+ const _cs = "color-scheme";
88
+ const _e = "error";
89
+ const _fL = "fieldList";
90
+ const _go = "geojson-overlay";
91
+ const _h = "height";
92
+ const _hE = "httpError";
93
+ const _hH = "httpHeader";
94
+ const _hQ = "httpQuery";
95
+ const _ht = "http";
96
+ const _jN = "jsonName";
97
+ const _k = "key";
98
+ const _l = "lang";
99
+ const _ls = "label-size";
100
+ const _m = "message";
101
+ const _n = "name";
102
+ const _p = "padding";
103
+ const _po = "pois";
104
+ const _pv = "political-view";
105
+ const _r = "reason";
106
+ const _ra = "radius";
107
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.geomaps";
108
+ const _se = "server";
109
+ const _st = "style";
110
+ const _su = "scale-unit";
111
+ const _t = "terrain";
112
+ const _tm = "travel-modes";
113
+ const _tr = "traffic";
114
+ const _w = "width";
115
+ const _xagpb = "x-amz-geo-pricing-bucket";
116
+ const _z = "zoom";
117
+ const n0 = "com.amazonaws.geomaps";
118
+ const schema_1 = require("@smithy/core/schema");
119
+ const errors_1 = require("../models/errors");
120
+ const GeoMapsServiceException_1 = require("../models/GeoMapsServiceException");
121
+ const _s_registry = schema_1.TypeRegistry.for(_s);
122
+ exports.GeoMapsServiceException$ = [-3, _s, "GeoMapsServiceException", 0, [], []];
123
+ _s_registry.registerError(exports.GeoMapsServiceException$, GeoMapsServiceException_1.GeoMapsServiceException);
124
+ const n0_registry = schema_1.TypeRegistry.for(n0);
125
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
126
+ { [_e]: _c, [_hE]: 403 },
127
+ [_M],
128
+ [[0, { [_jN]: _m }]], 1
129
+ ];
130
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
131
+ exports.InternalServerException$ = [-3, n0, _ISE,
132
+ { [_e]: _se, [_hE]: 500 },
133
+ [_M],
134
+ [[0, { [_jN]: _m }]], 1
135
+ ];
136
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
137
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
138
+ { [_e]: _c, [_hE]: 404 },
139
+ [_M],
140
+ [[0, { [_jN]: _m }]], 1
141
+ ];
142
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
143
+ exports.ThrottlingException$ = [-3, n0, _TE,
144
+ { [_e]: _c, [_hE]: 429 },
145
+ [_M],
146
+ [[0, { [_jN]: _m }]], 1
147
+ ];
148
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
149
+ exports.ValidationException$ = [-3, n0, _VE,
150
+ { [_e]: _c, [_hE]: 400 },
151
+ [_M, _R, _FL],
152
+ [[0, { [_jN]: _m }], [0, { [_jN]: _r }], [() => ValidationExceptionFieldList, { [_jN]: _fL }]], 3
153
+ ];
154
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
155
+ exports.errorTypeRegistries = [
156
+ _s_registry,
157
+ n0_registry,
158
+ ];
159
+ var ApiKey = [0, n0, _AK, 8, 0];
160
+ var CompactOverlay = [0, n0, _CO, 8, 0];
161
+ var CountryCode = [0, n0, _CC, 8, 0];
162
+ var DistanceMeters = [0, n0, _DM, 8, 1];
163
+ var GeoJsonOverlay = [0, n0, _GJO, 8, 0];
164
+ var PositionListString = [0, n0, _PLS, 8, 0];
165
+ var PositionString = [0, n0, _PS, 8, 0];
166
+ var SensitiveFloat = [0, n0, _SF, 8, 1];
167
+ var SensitiveInteger = [0, n0, _SI, 8, 1];
168
+ var SensitiveString = [0, n0, _SS, 8, 0];
169
+ exports.GetGlyphsRequest$ = [3, n0, _GGR,
170
+ 0,
171
+ [_FS, _FUR],
172
+ [[0, 1], [0, 1]], 2
173
+ ];
174
+ exports.GetGlyphsResponse$ = [3, n0, _GGRe,
175
+ 0,
176
+ [_B, _CT, _CCa, _ET],
177
+ [[21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]]
178
+ ];
179
+ exports.GetSpritesRequest$ = [3, n0, _GSR,
180
+ 0,
181
+ [_FN, _S, _CS, _V],
182
+ [[0, 1], [0, 1], [0, 1], [0, 1]], 4
183
+ ];
184
+ exports.GetSpritesResponse$ = [3, n0, _GSRe,
185
+ 0,
186
+ [_B, _CT, _CCa, _ET],
187
+ [[21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]]
188
+ ];
189
+ exports.GetStaticMapRequest$ = [3, n0, _GSMR,
190
+ 0,
191
+ [_H, _FN, _W, _BB, _BP, _C, _CS, _CO, _CL, _GJO, _K, _LS, _L, _P, _PV, _POI, _Ra, _SBU, _S, _Z],
192
+ [[() => SensitiveInteger, { [_hQ]: _h }], [0, 1], [() => SensitiveInteger, { [_hQ]: _w }], [() => PositionListString, { [_hQ]: _bb }], [() => PositionListString, { [_hQ]: _bp }], [() => PositionString, { [_hQ]: _ce }], [0, { [_hQ]: _cs }], [() => CompactOverlay, { [_hQ]: _co }], [2, { [_hQ]: _cl }], [() => GeoJsonOverlay, { [_hQ]: _go }], [() => ApiKey, { [_hQ]: _k }], [0, { [_hQ]: _ls }], [0, { [_hQ]: _l }], [() => SensitiveInteger, { [_hQ]: _p }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _po }], [() => DistanceMeters, { [_hQ]: _ra }], [0, { [_hQ]: _su }], [0, { [_hQ]: _st }], [() => SensitiveFloat, { [_hQ]: _z }]], 3
193
+ ];
194
+ exports.GetStaticMapResponse$ = [3, n0, _GSMRe,
195
+ 0,
196
+ [_PB, _B, _CT, _CCa, _ET],
197
+ [[0, { [_hH]: _xagpb }], [21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]], 1
198
+ ];
199
+ exports.GetStyleDescriptorRequest$ = [3, n0, _GSDR,
200
+ 0,
201
+ [_S, _CS, _PV, _T, _CD, _Tr, _TM, _Bu, _K],
202
+ [[0, 1], [0, { [_hQ]: _cs }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _t }], [0, { [_hQ]: _cd }], [0, { [_hQ]: _tr }], [64 | 0, { [_hQ]: _tm }], [0, { [_hQ]: _b }], [() => ApiKey, { [_hQ]: _k }]], 1
203
+ ];
204
+ exports.GetStyleDescriptorResponse$ = [3, n0, _GSDRe,
205
+ 0,
206
+ [_B, _CT, _CCa, _ET],
207
+ [[21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]]
208
+ ];
209
+ exports.GetTileRequest$ = [3, n0, _GTR,
210
+ 0,
211
+ [_Ti, _Z_, _X, _Y, _AF, _K],
212
+ [[0, 1], [() => SensitiveString, 1], [() => SensitiveString, 1], [() => SensitiveString, 1], [64 | 0, { [_hQ]: _af }], [() => ApiKey, { [_hQ]: _k }]], 4
213
+ ];
214
+ exports.GetTileResponse$ = [3, n0, _GTRe,
215
+ 0,
216
+ [_PB, _B, _CT, _CCa, _ET],
217
+ [[0, { [_hH]: _xagpb }], [21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]], 1
218
+ ];
219
+ exports.ValidationExceptionField$ = [3, n0, _VEF,
220
+ 0,
221
+ [_N, _M],
222
+ [[0, { [_jN]: _n }], [0, { [_jN]: _m }]], 2
223
+ ];
224
+ var TileAdditionalFeatureList = 64 | 0;
225
+ var TravelModeList = 64 | 0;
226
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
227
+ 0, [() => exports.ValidationExceptionField$,
228
+ 0]
229
+ ];
230
+ exports.GetGlyphs$ = [9, n0, _GG,
231
+ { [_ht]: ["GET", "/glyphs/{FontStack}/{FontUnicodeRange}", 200] }, () => exports.GetGlyphsRequest$, () => exports.GetGlyphsResponse$
232
+ ];
233
+ exports.GetSprites$ = [9, n0, _GS,
234
+ { [_ht]: ["GET", "/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", 200] }, () => exports.GetSpritesRequest$, () => exports.GetSpritesResponse$
235
+ ];
236
+ exports.GetStaticMap$ = [9, n0, _GSM,
237
+ { [_ht]: ["GET", "/static/{FileName}", 200] }, () => exports.GetStaticMapRequest$, () => exports.GetStaticMapResponse$
238
+ ];
239
+ exports.GetStyleDescriptor$ = [9, n0, _GSD,
240
+ { [_ht]: ["GET", "/styles/{Style}/descriptor", 200] }, () => exports.GetStyleDescriptorRequest$, () => exports.GetStyleDescriptorResponse$
241
+ ];
242
+ exports.GetTile$ = [9, n0, _GT,
243
+ { [_ht]: ["GET", "/tiles/{Tileset}/{Z}/{X}/{Y}", 200] }, () => exports.GetTileRequest$, () => exports.GetTileResponse$
244
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultGeoMapsHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2020-11-19",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.geomaps",
30
+ errorTypeRegistries,
29
31
  version: "2020-11-19",
30
32
  serviceTarget: "MapsService",
31
33
  },
@@ -50,9 +50,9 @@ const _PLS = "PositionListString";
50
50
  const _POI = "PointsOfInterests";
51
51
  const _PS = "PositionString";
52
52
  const _PV = "PoliticalView";
53
- const _R = "Radius";
53
+ const _R = "Reason";
54
54
  const _RNFE = "ResourceNotFoundException";
55
- const _Re = "Reason";
55
+ const _Ra = "Radius";
56
56
  const _S = "Style";
57
57
  const _SBU = "ScaleBarUnit";
58
58
  const _SF = "SensitiveFloat";
@@ -99,11 +99,11 @@ const _n = "name";
99
99
  const _p = "padding";
100
100
  const _po = "pois";
101
101
  const _pv = "political-view";
102
- const _r = "radius";
103
- const _re = "reason";
104
- const _s = "style";
102
+ const _r = "reason";
103
+ const _ra = "radius";
104
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.geomaps";
105
105
  const _se = "server";
106
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.geomaps";
106
+ const _st = "style";
107
107
  const _su = "scale-unit";
108
108
  const _t = "terrain";
109
109
  const _tm = "travel-modes";
@@ -115,6 +115,44 @@ const n0 = "com.amazonaws.geomaps";
115
115
  import { TypeRegistry } from "@smithy/core/schema";
116
116
  import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
117
117
  import { GeoMapsServiceException } from "../models/GeoMapsServiceException";
118
+ const _s_registry = TypeRegistry.for(_s);
119
+ export var GeoMapsServiceException$ = [-3, _s, "GeoMapsServiceException", 0, [], []];
120
+ _s_registry.registerError(GeoMapsServiceException$, GeoMapsServiceException);
121
+ const n0_registry = TypeRegistry.for(n0);
122
+ export var AccessDeniedException$ = [-3, n0, _ADE,
123
+ { [_e]: _c, [_hE]: 403 },
124
+ [_M],
125
+ [[0, { [_jN]: _m }]], 1
126
+ ];
127
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
128
+ export var InternalServerException$ = [-3, n0, _ISE,
129
+ { [_e]: _se, [_hE]: 500 },
130
+ [_M],
131
+ [[0, { [_jN]: _m }]], 1
132
+ ];
133
+ n0_registry.registerError(InternalServerException$, InternalServerException);
134
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
135
+ { [_e]: _c, [_hE]: 404 },
136
+ [_M],
137
+ [[0, { [_jN]: _m }]], 1
138
+ ];
139
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
140
+ export var ThrottlingException$ = [-3, n0, _TE,
141
+ { [_e]: _c, [_hE]: 429 },
142
+ [_M],
143
+ [[0, { [_jN]: _m }]], 1
144
+ ];
145
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
146
+ export var ValidationException$ = [-3, n0, _VE,
147
+ { [_e]: _c, [_hE]: 400 },
148
+ [_M, _R, _FL],
149
+ [[0, { [_jN]: _m }], [0, { [_jN]: _r }], [() => ValidationExceptionFieldList, { [_jN]: _fL }]], 3
150
+ ];
151
+ n0_registry.registerError(ValidationException$, ValidationException);
152
+ export const errorTypeRegistries = [
153
+ _s_registry,
154
+ n0_registry,
155
+ ];
118
156
  var ApiKey = [0, n0, _AK, 8, 0];
119
157
  var CompactOverlay = [0, n0, _CO, 8, 0];
120
158
  var CountryCode = [0, n0, _CC, 8, 0];
@@ -125,12 +163,6 @@ var PositionString = [0, n0, _PS, 8, 0];
125
163
  var SensitiveFloat = [0, n0, _SF, 8, 1];
126
164
  var SensitiveInteger = [0, n0, _SI, 8, 1];
127
165
  var SensitiveString = [0, n0, _SS, 8, 0];
128
- export var AccessDeniedException$ = [-3, n0, _ADE,
129
- { [_e]: _c, [_hE]: 403 },
130
- [_M],
131
- [[0, { [_jN]: _m }]], 1
132
- ];
133
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
134
166
  export var GetGlyphsRequest$ = [3, n0, _GGR,
135
167
  0,
136
168
  [_FS, _FUR],
@@ -153,8 +185,8 @@ export var GetSpritesResponse$ = [3, n0, _GSRe,
153
185
  ];
154
186
  export var GetStaticMapRequest$ = [3, n0, _GSMR,
155
187
  0,
156
- [_H, _FN, _W, _BB, _BP, _C, _CS, _CO, _CL, _GJO, _K, _LS, _L, _P, _PV, _POI, _R, _SBU, _S, _Z],
157
- [[() => SensitiveInteger, { [_hQ]: _h }], [0, 1], [() => SensitiveInteger, { [_hQ]: _w }], [() => PositionListString, { [_hQ]: _bb }], [() => PositionListString, { [_hQ]: _bp }], [() => PositionString, { [_hQ]: _ce }], [0, { [_hQ]: _cs }], [() => CompactOverlay, { [_hQ]: _co }], [2, { [_hQ]: _cl }], [() => GeoJsonOverlay, { [_hQ]: _go }], [() => ApiKey, { [_hQ]: _k }], [0, { [_hQ]: _ls }], [0, { [_hQ]: _l }], [() => SensitiveInteger, { [_hQ]: _p }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _po }], [() => DistanceMeters, { [_hQ]: _r }], [0, { [_hQ]: _su }], [0, { [_hQ]: _s }], [() => SensitiveFloat, { [_hQ]: _z }]], 3
188
+ [_H, _FN, _W, _BB, _BP, _C, _CS, _CO, _CL, _GJO, _K, _LS, _L, _P, _PV, _POI, _Ra, _SBU, _S, _Z],
189
+ [[() => SensitiveInteger, { [_hQ]: _h }], [0, 1], [() => SensitiveInteger, { [_hQ]: _w }], [() => PositionListString, { [_hQ]: _bb }], [() => PositionListString, { [_hQ]: _bp }], [() => PositionString, { [_hQ]: _ce }], [0, { [_hQ]: _cs }], [() => CompactOverlay, { [_hQ]: _co }], [2, { [_hQ]: _cl }], [() => GeoJsonOverlay, { [_hQ]: _go }], [() => ApiKey, { [_hQ]: _k }], [0, { [_hQ]: _ls }], [0, { [_hQ]: _l }], [() => SensitiveInteger, { [_hQ]: _p }], [() => CountryCode, { [_hQ]: _pv }], [0, { [_hQ]: _po }], [() => DistanceMeters, { [_hQ]: _ra }], [0, { [_hQ]: _su }], [0, { [_hQ]: _st }], [() => SensitiveFloat, { [_hQ]: _z }]], 3
158
190
  ];
159
191
  export var GetStaticMapResponse$ = [3, n0, _GSMRe,
160
192
  0,
@@ -181,37 +213,11 @@ export var GetTileResponse$ = [3, n0, _GTRe,
181
213
  [_PB, _B, _CT, _CCa, _ET],
182
214
  [[0, { [_hH]: _xagpb }], [21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]], 1
183
215
  ];
184
- export var InternalServerException$ = [-3, n0, _ISE,
185
- { [_e]: _se, [_hE]: 500 },
186
- [_M],
187
- [[0, { [_jN]: _m }]], 1
188
- ];
189
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
190
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
191
- { [_e]: _c, [_hE]: 404 },
192
- [_M],
193
- [[0, { [_jN]: _m }]], 1
194
- ];
195
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
196
- export var ThrottlingException$ = [-3, n0, _TE,
197
- { [_e]: _c, [_hE]: 429 },
198
- [_M],
199
- [[0, { [_jN]: _m }]], 1
200
- ];
201
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
202
- export var ValidationException$ = [-3, n0, _VE,
203
- { [_e]: _c, [_hE]: 400 },
204
- [_M, _Re, _FL],
205
- [[0, { [_jN]: _m }], [0, { [_jN]: _re }], [() => ValidationExceptionFieldList, { [_jN]: _fL }]], 3
206
- ];
207
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
208
216
  export var ValidationExceptionField$ = [3, n0, _VEF,
209
217
  0,
210
218
  [_N, _M],
211
219
  [[0, { [_jN]: _n }], [0, { [_jN]: _m }]], 2
212
220
  ];
213
- export var GeoMapsServiceException$ = [-3, _sm, "GeoMapsServiceException", 0, [], []];
214
- TypeRegistry.for(_sm).registerError(GeoMapsServiceException$, GeoMapsServiceException);
215
221
  var TileAdditionalFeatureList = 64 | 0;
216
222
  var TravelModeList = 64 | 0;
217
223
  var ValidationExceptionFieldList = [1, n0, _VEFL,
@@ -1,5 +1,17 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var GeoMapsServiceException$: StaticErrorSchema;
2
4
  export declare var AccessDeniedException$: StaticErrorSchema;
5
+ export declare var InternalServerException$: StaticErrorSchema;
6
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
7
+ export declare var ThrottlingException$: StaticErrorSchema;
8
+ export declare var ValidationException$: StaticErrorSchema;
9
+ /**
10
+ * TypeRegistry instances containing modeled errors.
11
+ * @internal
12
+ *
13
+ */
14
+ export declare const errorTypeRegistries: TypeRegistry[];
3
15
  export declare var GetGlyphsRequest$: StaticStructureSchema;
4
16
  export declare var GetGlyphsResponse$: StaticStructureSchema;
5
17
  export declare var GetSpritesRequest$: StaticStructureSchema;
@@ -10,12 +22,7 @@ export declare var GetStyleDescriptorRequest$: StaticStructureSchema;
10
22
  export declare var GetStyleDescriptorResponse$: StaticStructureSchema;
11
23
  export declare var GetTileRequest$: StaticStructureSchema;
12
24
  export declare var GetTileResponse$: StaticStructureSchema;
13
- export declare var InternalServerException$: StaticErrorSchema;
14
- export declare var ResourceNotFoundException$: StaticErrorSchema;
15
- export declare var ThrottlingException$: StaticErrorSchema;
16
- export declare var ValidationException$: StaticErrorSchema;
17
25
  export declare var ValidationExceptionField$: StaticStructureSchema;
18
- export declare var GeoMapsServiceException$: StaticErrorSchema;
19
26
  export declare var GetGlyphs$: StaticOperationSchema;
20
27
  export declare var GetSprites$: StaticOperationSchema;
21
28
  export declare var GetStaticMap$: StaticOperationSchema;
@@ -1,9 +1,16 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var GeoMapsServiceException$: StaticErrorSchema;
6
8
  export declare var AccessDeniedException$: StaticErrorSchema;
9
+ export declare var InternalServerException$: StaticErrorSchema;
10
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
11
+ export declare var ThrottlingException$: StaticErrorSchema;
12
+ export declare var ValidationException$: StaticErrorSchema;
13
+ export declare const errorTypeRegistries: TypeRegistry[];
7
14
  export declare var GetGlyphsRequest$: StaticStructureSchema;
8
15
  export declare var GetGlyphsResponse$: StaticStructureSchema;
9
16
  export declare var GetSpritesRequest$: StaticStructureSchema;
@@ -14,12 +21,7 @@ export declare var GetStyleDescriptorRequest$: StaticStructureSchema;
14
21
  export declare var GetStyleDescriptorResponse$: StaticStructureSchema;
15
22
  export declare var GetTileRequest$: StaticStructureSchema;
16
23
  export declare var GetTileResponse$: StaticStructureSchema;
17
- export declare var InternalServerException$: StaticErrorSchema;
18
- export declare var ResourceNotFoundException$: StaticErrorSchema;
19
- export declare var ThrottlingException$: StaticErrorSchema;
20
- export declare var ValidationException$: StaticErrorSchema;
21
24
  export declare var ValidationExceptionField$: StaticStructureSchema;
22
- export declare var GeoMapsServiceException$: StaticErrorSchema;
23
25
  export declare var GetGlyphs$: StaticOperationSchema;
24
26
  export declare var GetSprites$: StaticOperationSchema;
25
27
  export declare var GetStaticMap$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-geo-maps",
3
3
  "description": "AWS SDK for JavaScript Geo Maps Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.988.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-geo-maps",
@@ -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.8",
25
+ "@aws-sdk/credential-provider-node": "^3.972.7",
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.8",
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.988.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.6",
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
  },