@aws-sdk/client-geo-maps 3.952.0 → 3.953.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
@@ -110,14 +110,14 @@ class GeoMapsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let GeoMapsServiceException$1 = class GeoMapsServiceException extends smithyClient.ServiceException {
113
+ class GeoMapsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, GeoMapsServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends GeoMapsServiceException$1 {
120
+ class AccessDeniedException extends GeoMapsServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,8 +130,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends GeoMapsService
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- };
134
- let InternalServerException$1 = class InternalServerException extends GeoMapsServiceException$1 {
133
+ }
134
+ class InternalServerException extends GeoMapsServiceException {
135
135
  name = "InternalServerException";
136
136
  $fault = "server";
137
137
  $retryable = {};
@@ -145,8 +145,8 @@ let InternalServerException$1 = class InternalServerException extends GeoMapsSer
145
145
  Object.setPrototypeOf(this, InternalServerException.prototype);
146
146
  this.Message = opts.Message;
147
147
  }
148
- };
149
- let ThrottlingException$1 = class ThrottlingException extends GeoMapsServiceException$1 {
148
+ }
149
+ class ThrottlingException extends GeoMapsServiceException {
150
150
  name = "ThrottlingException";
151
151
  $fault = "client";
152
152
  $retryable = {};
@@ -160,8 +160,8 @@ let ThrottlingException$1 = class ThrottlingException extends GeoMapsServiceExce
160
160
  Object.setPrototypeOf(this, ThrottlingException.prototype);
161
161
  this.Message = opts.Message;
162
162
  }
163
- };
164
- let ValidationException$1 = class ValidationException extends GeoMapsServiceException$1 {
163
+ }
164
+ class ValidationException extends GeoMapsServiceException {
165
165
  name = "ValidationException";
166
166
  $fault = "client";
167
167
  Message;
@@ -178,8 +178,8 @@ let ValidationException$1 = class ValidationException extends GeoMapsServiceExce
178
178
  this.Reason = opts.Reason;
179
179
  this.FieldList = opts.FieldList;
180
180
  }
181
- };
182
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends GeoMapsServiceException$1 {
181
+ }
182
+ class ResourceNotFoundException extends GeoMapsServiceException {
183
183
  name = "ResourceNotFoundException";
184
184
  $fault = "client";
185
185
  Message;
@@ -192,7 +192,7 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends GeoMap
192
192
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
193
193
  this.Message = opts.Message;
194
194
  }
195
- };
195
+ }
196
196
 
197
197
  const _ADE = "AccessDeniedException";
198
198
  const _AF = "AdditionalFeatures";
@@ -316,7 +316,7 @@ var PositionString = [0, n0, _PS, 8, 0];
316
316
  var SensitiveFloat = [0, n0, _SF, 8, 1];
317
317
  var SensitiveInteger = [0, n0, _SI, 8, 1];
318
318
  var SensitiveString = [0, n0, _SS, 8, 0];
319
- var AccessDeniedException = [
319
+ var AccessDeniedException$ = [
320
320
  -3,
321
321
  n0,
322
322
  _ADE,
@@ -324,8 +324,8 @@ var AccessDeniedException = [
324
324
  [_M],
325
325
  [[0, { [_jN]: _m }]],
326
326
  ];
327
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
328
- var GetGlyphsRequest = [
327
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
328
+ var GetGlyphsRequest$ = [
329
329
  3,
330
330
  n0,
331
331
  _GGR,
@@ -336,7 +336,7 @@ var GetGlyphsRequest = [
336
336
  [0, 1],
337
337
  ],
338
338
  ];
339
- var GetGlyphsResponse = [
339
+ var GetGlyphsResponse$ = [
340
340
  3,
341
341
  n0,
342
342
  _GGRe,
@@ -349,7 +349,7 @@ var GetGlyphsResponse = [
349
349
  [0, { [_hH]: _ET }],
350
350
  ],
351
351
  ];
352
- var GetSpritesRequest = [
352
+ var GetSpritesRequest$ = [
353
353
  3,
354
354
  n0,
355
355
  _GSR,
@@ -362,7 +362,7 @@ var GetSpritesRequest = [
362
362
  [0, 1],
363
363
  ],
364
364
  ];
365
- var GetSpritesResponse = [
365
+ var GetSpritesResponse$ = [
366
366
  3,
367
367
  n0,
368
368
  _GSRe,
@@ -375,7 +375,7 @@ var GetSpritesResponse = [
375
375
  [0, { [_hH]: _ET }],
376
376
  ],
377
377
  ];
378
- var GetStaticMapRequest = [
378
+ var GetStaticMapRequest$ = [
379
379
  3,
380
380
  n0,
381
381
  _GSMR,
@@ -404,7 +404,7 @@ var GetStaticMapRequest = [
404
404
  [() => SensitiveFloat, { [_hQ]: _z }],
405
405
  ],
406
406
  ];
407
- var GetStaticMapResponse = [
407
+ var GetStaticMapResponse$ = [
408
408
  3,
409
409
  n0,
410
410
  _GSMRe,
@@ -418,7 +418,7 @@ var GetStaticMapResponse = [
418
418
  [0, { [_hH]: _xagpb }],
419
419
  ],
420
420
  ];
421
- var GetStyleDescriptorRequest = [
421
+ var GetStyleDescriptorRequest$ = [
422
422
  3,
423
423
  n0,
424
424
  _GSDR,
@@ -435,7 +435,7 @@ var GetStyleDescriptorRequest = [
435
435
  [() => ApiKey, { [_hQ]: _k }],
436
436
  ],
437
437
  ];
438
- var GetStyleDescriptorResponse = [
438
+ var GetStyleDescriptorResponse$ = [
439
439
  3,
440
440
  n0,
441
441
  _GSDRe,
@@ -448,7 +448,7 @@ var GetStyleDescriptorResponse = [
448
448
  [0, { [_hH]: _ET }],
449
449
  ],
450
450
  ];
451
- var GetTileRequest = [
451
+ var GetTileRequest$ = [
452
452
  3,
453
453
  n0,
454
454
  _GTR,
@@ -463,7 +463,7 @@ var GetTileRequest = [
463
463
  [() => ApiKey, { [_hQ]: _k }],
464
464
  ],
465
465
  ];
466
- var GetTileResponse = [
466
+ var GetTileResponse$ = [
467
467
  3,
468
468
  n0,
469
469
  _GTRe,
@@ -477,7 +477,7 @@ var GetTileResponse = [
477
477
  [0, { [_hH]: _xagpb }],
478
478
  ],
479
479
  ];
480
- var InternalServerException = [
480
+ var InternalServerException$ = [
481
481
  -3,
482
482
  n0,
483
483
  _ISE,
@@ -485,8 +485,8 @@ var InternalServerException = [
485
485
  [_M],
486
486
  [[0, { [_jN]: _m }]],
487
487
  ];
488
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
489
- var ResourceNotFoundException = [
488
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
489
+ var ResourceNotFoundException$ = [
490
490
  -3,
491
491
  n0,
492
492
  _RNFE,
@@ -494,10 +494,17 @@ var ResourceNotFoundException = [
494
494
  [_M],
495
495
  [[0, { [_jN]: _m }]],
496
496
  ];
497
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
498
- var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [[0, { [_jN]: _m }]]];
499
- schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
500
- var ValidationException = [
497
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
498
+ var ThrottlingException$ = [
499
+ -3,
500
+ n0,
501
+ _TE,
502
+ { [_e]: _c, [_hE]: 429 },
503
+ [_M],
504
+ [[0, { [_jN]: _m }]],
505
+ ];
506
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
507
+ var ValidationException$ = [
501
508
  -3,
502
509
  n0,
503
510
  _VE,
@@ -509,8 +516,8 @@ var ValidationException = [
509
516
  [() => ValidationExceptionFieldList, { [_jN]: _fL }],
510
517
  ],
511
518
  ];
512
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
513
- var ValidationExceptionField = [
519
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
520
+ var ValidationExceptionField$ = [
514
521
  3,
515
522
  n0,
516
523
  _VEF,
@@ -521,48 +528,48 @@ var ValidationExceptionField = [
521
528
  [0, { [_jN]: _m }],
522
529
  ],
523
530
  ];
524
- var GeoMapsServiceException = [-3, _sm, "GeoMapsServiceException", 0, [], []];
525
- schema.TypeRegistry.for(_sm).registerError(GeoMapsServiceException, GeoMapsServiceException$1);
526
- var ValidationExceptionFieldList = [1, n0, _VEFL, 0, [() => ValidationExceptionField, 0]];
527
- var GetGlyphs = [
531
+ var GeoMapsServiceException$ = [-3, _sm, "GeoMapsServiceException", 0, [], []];
532
+ schema.TypeRegistry.for(_sm).registerError(GeoMapsServiceException$, GeoMapsServiceException);
533
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, [() => ValidationExceptionField$, 0]];
534
+ var GetGlyphs$ = [
528
535
  9,
529
536
  n0,
530
537
  _GG,
531
538
  { [_ht]: ["GET", "/glyphs/{FontStack}/{FontUnicodeRange}", 200] },
532
- () => GetGlyphsRequest,
533
- () => GetGlyphsResponse,
539
+ () => GetGlyphsRequest$,
540
+ () => GetGlyphsResponse$,
534
541
  ];
535
- var GetSprites = [
542
+ var GetSprites$ = [
536
543
  9,
537
544
  n0,
538
545
  _GS,
539
546
  { [_ht]: ["GET", "/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", 200] },
540
- () => GetSpritesRequest,
541
- () => GetSpritesResponse,
547
+ () => GetSpritesRequest$,
548
+ () => GetSpritesResponse$,
542
549
  ];
543
- var GetStaticMap = [
550
+ var GetStaticMap$ = [
544
551
  9,
545
552
  n0,
546
553
  _GSM,
547
554
  { [_ht]: ["GET", "/static/{FileName}", 200] },
548
- () => GetStaticMapRequest,
549
- () => GetStaticMapResponse,
555
+ () => GetStaticMapRequest$,
556
+ () => GetStaticMapResponse$,
550
557
  ];
551
- var GetStyleDescriptor = [
558
+ var GetStyleDescriptor$ = [
552
559
  9,
553
560
  n0,
554
561
  _GSD,
555
562
  { [_ht]: ["GET", "/styles/{Style}/descriptor", 200] },
556
- () => GetStyleDescriptorRequest,
557
- () => GetStyleDescriptorResponse,
563
+ () => GetStyleDescriptorRequest$,
564
+ () => GetStyleDescriptorResponse$,
558
565
  ];
559
- var GetTile = [
566
+ var GetTile$ = [
560
567
  9,
561
568
  n0,
562
569
  _GT,
563
570
  { [_ht]: ["GET", "/tiles/{Tileset}/{Z}/{X}/{Y}", 200] },
564
- () => GetTileRequest,
565
- () => GetTileResponse,
571
+ () => GetTileRequest$,
572
+ () => GetTileResponse$,
566
573
  ];
567
574
 
568
575
  class GetGlyphsCommand extends smithyClient.Command
@@ -573,7 +580,7 @@ class GetGlyphsCommand extends smithyClient.Command
573
580
  })
574
581
  .s("MapsService", "GetGlyphs", {})
575
582
  .n("GeoMapsClient", "GetGlyphsCommand")
576
- .sc(GetGlyphs)
583
+ .sc(GetGlyphs$)
577
584
  .build() {
578
585
  }
579
586
 
@@ -585,7 +592,7 @@ class GetSpritesCommand extends smithyClient.Command
585
592
  })
586
593
  .s("MapsService", "GetSprites", {})
587
594
  .n("GeoMapsClient", "GetSpritesCommand")
588
- .sc(GetSprites)
595
+ .sc(GetSprites$)
589
596
  .build() {
590
597
  }
591
598
 
@@ -597,7 +604,7 @@ class GetStaticMapCommand extends smithyClient.Command
597
604
  })
598
605
  .s("MapsService", "GetStaticMap", {})
599
606
  .n("GeoMapsClient", "GetStaticMapCommand")
600
- .sc(GetStaticMap)
607
+ .sc(GetStaticMap$)
601
608
  .build() {
602
609
  }
603
610
 
@@ -609,7 +616,7 @@ class GetStyleDescriptorCommand extends smithyClient.Command
609
616
  })
610
617
  .s("MapsService", "GetStyleDescriptor", {})
611
618
  .n("GeoMapsClient", "GetStyleDescriptorCommand")
612
- .sc(GetStyleDescriptor)
619
+ .sc(GetStyleDescriptor$)
613
620
  .build() {
614
621
  }
615
622
 
@@ -621,7 +628,7 @@ class GetTileCommand extends smithyClient.Command
621
628
  })
622
629
  .s("MapsService", "GetTile", {})
623
630
  .n("GeoMapsClient", "GetTileCommand")
624
- .sc(GetTile)
631
+ .sc(GetTile$)
625
632
  .build() {
626
633
  }
627
634
 
@@ -703,29 +710,51 @@ Object.defineProperty(exports, "__Client", {
703
710
  enumerable: true,
704
711
  get: function () { return smithyClient.Client; }
705
712
  });
706
- exports.AccessDeniedException = AccessDeniedException$1;
713
+ exports.AccessDeniedException = AccessDeniedException;
714
+ exports.AccessDeniedException$ = AccessDeniedException$;
707
715
  exports.ColorScheme = ColorScheme;
708
716
  exports.ContourDensity = ContourDensity;
709
717
  exports.GeoMaps = GeoMaps;
710
718
  exports.GeoMapsClient = GeoMapsClient;
711
- exports.GeoMapsServiceException = GeoMapsServiceException$1;
719
+ exports.GeoMapsServiceException = GeoMapsServiceException;
720
+ exports.GeoMapsServiceException$ = GeoMapsServiceException$;
721
+ exports.GetGlyphs$ = GetGlyphs$;
712
722
  exports.GetGlyphsCommand = GetGlyphsCommand;
723
+ exports.GetGlyphsRequest$ = GetGlyphsRequest$;
724
+ exports.GetGlyphsResponse$ = GetGlyphsResponse$;
725
+ exports.GetSprites$ = GetSprites$;
713
726
  exports.GetSpritesCommand = GetSpritesCommand;
727
+ exports.GetSpritesRequest$ = GetSpritesRequest$;
728
+ exports.GetSpritesResponse$ = GetSpritesResponse$;
729
+ exports.GetStaticMap$ = GetStaticMap$;
714
730
  exports.GetStaticMapCommand = GetStaticMapCommand;
731
+ exports.GetStaticMapRequest$ = GetStaticMapRequest$;
732
+ exports.GetStaticMapResponse$ = GetStaticMapResponse$;
733
+ exports.GetStyleDescriptor$ = GetStyleDescriptor$;
715
734
  exports.GetStyleDescriptorCommand = GetStyleDescriptorCommand;
735
+ exports.GetStyleDescriptorRequest$ = GetStyleDescriptorRequest$;
736
+ exports.GetStyleDescriptorResponse$ = GetStyleDescriptorResponse$;
737
+ exports.GetTile$ = GetTile$;
716
738
  exports.GetTileCommand = GetTileCommand;
717
- exports.InternalServerException = InternalServerException$1;
739
+ exports.GetTileRequest$ = GetTileRequest$;
740
+ exports.GetTileResponse$ = GetTileResponse$;
741
+ exports.InternalServerException = InternalServerException;
742
+ exports.InternalServerException$ = InternalServerException$;
718
743
  exports.LabelSize = LabelSize;
719
744
  exports.MapFeatureMode = MapFeatureMode;
720
745
  exports.MapStyle = MapStyle;
721
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
746
+ exports.ResourceNotFoundException = ResourceNotFoundException;
747
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
722
748
  exports.ScaleBarUnit = ScaleBarUnit;
723
749
  exports.StaticMapStyle = StaticMapStyle;
724
750
  exports.Terrain = Terrain;
725
- exports.ThrottlingException = ThrottlingException$1;
751
+ exports.ThrottlingException = ThrottlingException;
752
+ exports.ThrottlingException$ = ThrottlingException$;
726
753
  exports.TileAdditionalFeature = TileAdditionalFeature;
727
754
  exports.Traffic = Traffic;
728
755
  exports.TravelMode = TravelMode;
729
- exports.ValidationException = ValidationException$1;
756
+ exports.ValidationException = ValidationException;
757
+ exports.ValidationException$ = ValidationException$;
758
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
730
759
  exports.ValidationExceptionReason = ValidationExceptionReason;
731
760
  exports.Variant = Variant;
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.geomaps" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.geomaps",
32
+ version: "2020-11-19",
33
+ serviceTarget: "MapsService",
34
+ },
30
35
  serviceId: config?.serviceId ?? "Geo Maps",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetGlyphs } from "../schemas/schemas_0";
4
+ import { GetGlyphs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetGlyphsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetGlyphsCommand extends $Command
11
11
  })
12
12
  .s("MapsService", "GetGlyphs", {})
13
13
  .n("GeoMapsClient", "GetGlyphsCommand")
14
- .sc(GetGlyphs)
14
+ .sc(GetGlyphs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSprites } from "../schemas/schemas_0";
4
+ import { GetSprites$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSpritesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSpritesCommand extends $Command
11
11
  })
12
12
  .s("MapsService", "GetSprites", {})
13
13
  .n("GeoMapsClient", "GetSpritesCommand")
14
- .sc(GetSprites)
14
+ .sc(GetSprites$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetStaticMap } from "../schemas/schemas_0";
4
+ import { GetStaticMap$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetStaticMapCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetStaticMapCommand extends $Command
11
11
  })
12
12
  .s("MapsService", "GetStaticMap", {})
13
13
  .n("GeoMapsClient", "GetStaticMapCommand")
14
- .sc(GetStaticMap)
14
+ .sc(GetStaticMap$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetStyleDescriptor } from "../schemas/schemas_0";
4
+ import { GetStyleDescriptor$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetStyleDescriptorCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetStyleDescriptorCommand extends $Command
11
11
  })
12
12
  .s("MapsService", "GetStyleDescriptor", {})
13
13
  .n("GeoMapsClient", "GetStyleDescriptorCommand")
14
- .sc(GetStyleDescriptor)
14
+ .sc(GetStyleDescriptor$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetTile } from "../schemas/schemas_0";
4
+ import { GetTile$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetTileCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetTileCommand extends $Command
11
11
  })
12
12
  .s("MapsService", "GetTile", {})
13
13
  .n("GeoMapsClient", "GetTileCommand")
14
- .sc(GetTile)
14
+ .sc(GetTile$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./GeoMapsClient";
2
2
  export * from "./GeoMaps";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./models/enums";
5
6
  export * from "./models/errors";
6
7
  export { GeoMapsServiceException } from "./models/GeoMapsServiceException";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.geomaps" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.geomaps",
29
+ version: "2020-11-19",
30
+ serviceTarget: "MapsService",
31
+ },
27
32
  serviceId: config?.serviceId ?? "Geo Maps",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -111,19 +111,19 @@ const _xagpb = "x-amz-geo-pricing-bucket";
111
111
  const _z = "zoom";
112
112
  const n0 = "com.amazonaws.geomaps";
113
113
  import { TypeRegistry } from "@smithy/core/schema";
114
- import { AccessDeniedException as __AccessDeniedException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
115
- import { GeoMapsServiceException as __GeoMapsServiceException } from "../models/GeoMapsServiceException";
116
- export var ApiKey = [0, n0, _AK, 8, 0];
117
- export var CompactOverlay = [0, n0, _CO, 8, 0];
118
- export var CountryCode = [0, n0, _CC, 8, 0];
119
- export var DistanceMeters = [0, n0, _DM, 8, 1];
120
- export var GeoJsonOverlay = [0, n0, _GJO, 8, 0];
121
- export var PositionListString = [0, n0, _PLS, 8, 0];
122
- export var PositionString = [0, n0, _PS, 8, 0];
123
- export var SensitiveFloat = [0, n0, _SF, 8, 1];
124
- export var SensitiveInteger = [0, n0, _SI, 8, 1];
125
- export var SensitiveString = [0, n0, _SS, 8, 0];
126
- export var AccessDeniedException = [
114
+ import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
115
+ import { GeoMapsServiceException } from "../models/GeoMapsServiceException";
116
+ var ApiKey = [0, n0, _AK, 8, 0];
117
+ var CompactOverlay = [0, n0, _CO, 8, 0];
118
+ var CountryCode = [0, n0, _CC, 8, 0];
119
+ var DistanceMeters = [0, n0, _DM, 8, 1];
120
+ var GeoJsonOverlay = [0, n0, _GJO, 8, 0];
121
+ var PositionListString = [0, n0, _PLS, 8, 0];
122
+ var PositionString = [0, n0, _PS, 8, 0];
123
+ var SensitiveFloat = [0, n0, _SF, 8, 1];
124
+ var SensitiveInteger = [0, n0, _SI, 8, 1];
125
+ var SensitiveString = [0, n0, _SS, 8, 0];
126
+ export var AccessDeniedException$ = [
127
127
  -3,
128
128
  n0,
129
129
  _ADE,
@@ -131,8 +131,8 @@ export var AccessDeniedException = [
131
131
  [_M],
132
132
  [[0, { [_jN]: _m }]],
133
133
  ];
134
- TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
135
- export var GetGlyphsRequest = [
134
+ TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
135
+ export var GetGlyphsRequest$ = [
136
136
  3,
137
137
  n0,
138
138
  _GGR,
@@ -143,7 +143,7 @@ export var GetGlyphsRequest = [
143
143
  [0, 1],
144
144
  ],
145
145
  ];
146
- export var GetGlyphsResponse = [
146
+ export var GetGlyphsResponse$ = [
147
147
  3,
148
148
  n0,
149
149
  _GGRe,
@@ -156,7 +156,7 @@ export var GetGlyphsResponse = [
156
156
  [0, { [_hH]: _ET }],
157
157
  ],
158
158
  ];
159
- export var GetSpritesRequest = [
159
+ export var GetSpritesRequest$ = [
160
160
  3,
161
161
  n0,
162
162
  _GSR,
@@ -169,7 +169,7 @@ export var GetSpritesRequest = [
169
169
  [0, 1],
170
170
  ],
171
171
  ];
172
- export var GetSpritesResponse = [
172
+ export var GetSpritesResponse$ = [
173
173
  3,
174
174
  n0,
175
175
  _GSRe,
@@ -182,7 +182,7 @@ export var GetSpritesResponse = [
182
182
  [0, { [_hH]: _ET }],
183
183
  ],
184
184
  ];
185
- export var GetStaticMapRequest = [
185
+ export var GetStaticMapRequest$ = [
186
186
  3,
187
187
  n0,
188
188
  _GSMR,
@@ -211,7 +211,7 @@ export var GetStaticMapRequest = [
211
211
  [() => SensitiveFloat, { [_hQ]: _z }],
212
212
  ],
213
213
  ];
214
- export var GetStaticMapResponse = [
214
+ export var GetStaticMapResponse$ = [
215
215
  3,
216
216
  n0,
217
217
  _GSMRe,
@@ -225,7 +225,7 @@ export var GetStaticMapResponse = [
225
225
  [0, { [_hH]: _xagpb }],
226
226
  ],
227
227
  ];
228
- export var GetStyleDescriptorRequest = [
228
+ export var GetStyleDescriptorRequest$ = [
229
229
  3,
230
230
  n0,
231
231
  _GSDR,
@@ -242,7 +242,7 @@ export var GetStyleDescriptorRequest = [
242
242
  [() => ApiKey, { [_hQ]: _k }],
243
243
  ],
244
244
  ];
245
- export var GetStyleDescriptorResponse = [
245
+ export var GetStyleDescriptorResponse$ = [
246
246
  3,
247
247
  n0,
248
248
  _GSDRe,
@@ -255,7 +255,7 @@ export var GetStyleDescriptorResponse = [
255
255
  [0, { [_hH]: _ET }],
256
256
  ],
257
257
  ];
258
- export var GetTileRequest = [
258
+ export var GetTileRequest$ = [
259
259
  3,
260
260
  n0,
261
261
  _GTR,
@@ -270,7 +270,7 @@ export var GetTileRequest = [
270
270
  [() => ApiKey, { [_hQ]: _k }],
271
271
  ],
272
272
  ];
273
- export var GetTileResponse = [
273
+ export var GetTileResponse$ = [
274
274
  3,
275
275
  n0,
276
276
  _GTRe,
@@ -284,7 +284,7 @@ export var GetTileResponse = [
284
284
  [0, { [_hH]: _xagpb }],
285
285
  ],
286
286
  ];
287
- export var InternalServerException = [
287
+ export var InternalServerException$ = [
288
288
  -3,
289
289
  n0,
290
290
  _ISE,
@@ -292,8 +292,8 @@ export var InternalServerException = [
292
292
  [_M],
293
293
  [[0, { [_jN]: _m }]],
294
294
  ];
295
- TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
296
- export var ResourceNotFoundException = [
295
+ TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
296
+ export var ResourceNotFoundException$ = [
297
297
  -3,
298
298
  n0,
299
299
  _RNFE,
@@ -301,10 +301,17 @@ export var ResourceNotFoundException = [
301
301
  [_M],
302
302
  [[0, { [_jN]: _m }]],
303
303
  ];
304
- TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
305
- export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [[0, { [_jN]: _m }]]];
306
- TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
307
- export var ValidationException = [
304
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
305
+ export var ThrottlingException$ = [
306
+ -3,
307
+ n0,
308
+ _TE,
309
+ { [_e]: _c, [_hE]: 429 },
310
+ [_M],
311
+ [[0, { [_jN]: _m }]],
312
+ ];
313
+ TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
314
+ export var ValidationException$ = [
308
315
  -3,
309
316
  n0,
310
317
  _VE,
@@ -316,8 +323,8 @@ export var ValidationException = [
316
323
  [() => ValidationExceptionFieldList, { [_jN]: _fL }],
317
324
  ],
318
325
  ];
319
- TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
320
- export var ValidationExceptionField = [
326
+ TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
327
+ export var ValidationExceptionField$ = [
321
328
  3,
322
329
  n0,
323
330
  _VEF,
@@ -328,48 +335,48 @@ export var ValidationExceptionField = [
328
335
  [0, { [_jN]: _m }],
329
336
  ],
330
337
  ];
331
- export var GeoMapsServiceException = [-3, _sm, "GeoMapsServiceException", 0, [], []];
332
- TypeRegistry.for(_sm).registerError(GeoMapsServiceException, __GeoMapsServiceException);
333
- export var TileAdditionalFeatureList = 64 | 0;
334
- export var TravelModeList = 64 | 0;
335
- export var ValidationExceptionFieldList = [1, n0, _VEFL, 0, [() => ValidationExceptionField, 0]];
336
- export var GetGlyphs = [
338
+ export var GeoMapsServiceException$ = [-3, _sm, "GeoMapsServiceException", 0, [], []];
339
+ TypeRegistry.for(_sm).registerError(GeoMapsServiceException$, GeoMapsServiceException);
340
+ var TileAdditionalFeatureList = 64 | 0;
341
+ var TravelModeList = 64 | 0;
342
+ var ValidationExceptionFieldList = [1, n0, _VEFL, 0, [() => ValidationExceptionField$, 0]];
343
+ export var GetGlyphs$ = [
337
344
  9,
338
345
  n0,
339
346
  _GG,
340
347
  { [_ht]: ["GET", "/glyphs/{FontStack}/{FontUnicodeRange}", 200] },
341
- () => GetGlyphsRequest,
342
- () => GetGlyphsResponse,
348
+ () => GetGlyphsRequest$,
349
+ () => GetGlyphsResponse$,
343
350
  ];
344
- export var GetSprites = [
351
+ export var GetSprites$ = [
345
352
  9,
346
353
  n0,
347
354
  _GS,
348
355
  { [_ht]: ["GET", "/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", 200] },
349
- () => GetSpritesRequest,
350
- () => GetSpritesResponse,
356
+ () => GetSpritesRequest$,
357
+ () => GetSpritesResponse$,
351
358
  ];
352
- export var GetStaticMap = [
359
+ export var GetStaticMap$ = [
353
360
  9,
354
361
  n0,
355
362
  _GSM,
356
363
  { [_ht]: ["GET", "/static/{FileName}", 200] },
357
- () => GetStaticMapRequest,
358
- () => GetStaticMapResponse,
364
+ () => GetStaticMapRequest$,
365
+ () => GetStaticMapResponse$,
359
366
  ];
360
- export var GetStyleDescriptor = [
367
+ export var GetStyleDescriptor$ = [
361
368
  9,
362
369
  n0,
363
370
  _GSD,
364
371
  { [_ht]: ["GET", "/styles/{Style}/descriptor", 200] },
365
- () => GetStyleDescriptorRequest,
366
- () => GetStyleDescriptorResponse,
372
+ () => GetStyleDescriptorRequest$,
373
+ () => GetStyleDescriptorResponse$,
367
374
  ];
368
- export var GetTile = [
375
+ export var GetTile$ = [
369
376
  9,
370
377
  n0,
371
378
  _GT,
372
379
  { [_ht]: ["GET", "/tiles/{Tileset}/{Z}/{X}/{Y}", 200] },
373
- () => GetTileRequest,
374
- () => GetTileResponse,
380
+ () => GetTileRequest$,
381
+ () => GetTileResponse$,
375
382
  ];
@@ -5,7 +5,7 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { GetGlyphsCommandInput, GetGlyphsCommandOutput } from "./commands/GetGlyphsCommand";
11
11
  import { GetSpritesCommandInput, GetSpritesCommandOutput } from "./commands/GetSpritesCommand";
@@ -146,15 +146,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
146
146
  * Optional extensions
147
147
  */
148
148
  extensions?: RuntimeExtension[];
149
- /**
150
- * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
151
- * may be overridden. A default will always be set by the client.
152
- * Available options depend on the service's supported protocols and will not be validated by
153
- * the client.
154
- * @alpha
155
- *
156
- */
157
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
158
149
  /**
159
150
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
160
151
  */
@@ -9,6 +9,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
9
  export type { RuntimeExtension } from "./runtimeExtensions";
10
10
  export type { GeoMapsExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
+ export * from "./schemas/schemas_0";
12
13
  export * from "./models/enums";
13
14
  export * from "./models/errors";
14
15
  export type * from "./models/models_0";
@@ -17,8 +17,13 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
17
17
  streamCollector: import("@smithy/types").StreamCollector;
18
18
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
19
19
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
- apiVersion: string;
21
20
  cacheMiddleware?: boolean | undefined;
21
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ defaultNamespace?: string;
24
+ [setting: string]: unknown;
25
+ };
26
+ apiVersion: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  base64Decoder: import("@smithy/types").Decoder;
24
29
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -29,7 +34,6 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
29
34
  profile?: string;
30
35
  logger: import("@smithy/types").Logger;
31
36
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
33
37
  customUserAgent?: string | import("@smithy/types").UserAgent;
34
38
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
35
39
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -19,8 +19,13 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
21
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
- apiVersion: string;
23
22
  cacheMiddleware?: boolean | undefined;
23
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
24
+ protocolSettings: {
25
+ defaultNamespace?: string;
26
+ [setting: string]: unknown;
27
+ };
28
+ apiVersion: string;
24
29
  urlParser: import("@smithy/types").UrlParser;
25
30
  base64Decoder: import("@smithy/types").Decoder;
26
31
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -31,7 +36,6 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
31
36
  profile?: string;
32
37
  logger: import("@smithy/types").Logger;
33
38
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
35
39
  customUserAgent?: string | import("@smithy/types").UserAgent;
36
40
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
37
41
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -6,8 +6,13 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
8
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
- apiVersion: string;
10
9
  cacheMiddleware?: boolean;
10
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
11
+ protocolSettings: {
12
+ defaultNamespace?: string;
13
+ [setting: string]: unknown;
14
+ };
15
+ apiVersion: string;
11
16
  urlParser: import("@smithy/types").UrlParser;
12
17
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
18
  streamCollector: import("@smithy/types").StreamCollector;
@@ -27,7 +32,6 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
27
32
  retryMode: string | import("@smithy/types").Provider<string>;
28
33
  logger: import("@smithy/types").Logger;
29
34
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
31
35
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
32
36
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
37
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import type { GeoMapsClientConfig } from "./GeoMapsClient";
2
3
  /**
3
4
  * @internal
@@ -14,7 +15,11 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GeoMapsHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
18
+ protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof AwsRestJsonProtocol;
19
+ protocolSettings: {
20
+ [setting: string]: unknown;
21
+ defaultNamespace?: string;
22
+ };
18
23
  serviceId: string;
19
24
  urlParser: import("@smithy/types").UrlParser;
20
25
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,36 +1,23 @@
1
- import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
- export declare var ApiKey: StaticSimpleSchema;
3
- export declare var CompactOverlay: StaticSimpleSchema;
4
- export declare var CountryCode: StaticSimpleSchema;
5
- export declare var DistanceMeters: StaticSimpleSchema;
6
- export declare var GeoJsonOverlay: StaticSimpleSchema;
7
- export declare var PositionListString: StaticSimpleSchema;
8
- export declare var PositionString: StaticSimpleSchema;
9
- export declare var SensitiveFloat: StaticSimpleSchema;
10
- export declare var SensitiveInteger: StaticSimpleSchema;
11
- export declare var SensitiveString: StaticSimpleSchema;
12
- export declare var AccessDeniedException: StaticErrorSchema;
13
- export declare var GetGlyphsRequest: StaticStructureSchema;
14
- export declare var GetGlyphsResponse: StaticStructureSchema;
15
- export declare var GetSpritesRequest: StaticStructureSchema;
16
- export declare var GetSpritesResponse: StaticStructureSchema;
17
- export declare var GetStaticMapRequest: StaticStructureSchema;
18
- export declare var GetStaticMapResponse: StaticStructureSchema;
19
- export declare var GetStyleDescriptorRequest: StaticStructureSchema;
20
- export declare var GetStyleDescriptorResponse: StaticStructureSchema;
21
- export declare var GetTileRequest: StaticStructureSchema;
22
- export declare var GetTileResponse: StaticStructureSchema;
23
- export declare var InternalServerException: StaticErrorSchema;
24
- export declare var ResourceNotFoundException: StaticErrorSchema;
25
- export declare var ThrottlingException: StaticErrorSchema;
26
- export declare var ValidationException: StaticErrorSchema;
27
- export declare var ValidationExceptionField: StaticStructureSchema;
28
- export declare var GeoMapsServiceException: StaticErrorSchema;
29
- export declare var TileAdditionalFeatureList: number;
30
- export declare var TravelModeList: number;
31
- export declare var ValidationExceptionFieldList: StaticListSchema;
32
- export declare var GetGlyphs: StaticOperationSchema;
33
- export declare var GetSprites: StaticOperationSchema;
34
- export declare var GetStaticMap: StaticOperationSchema;
35
- export declare var GetStyleDescriptor: StaticOperationSchema;
36
- export declare var GetTile: StaticOperationSchema;
1
+ import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var AccessDeniedException$: StaticErrorSchema;
3
+ export declare var GetGlyphsRequest$: StaticStructureSchema;
4
+ export declare var GetGlyphsResponse$: StaticStructureSchema;
5
+ export declare var GetSpritesRequest$: StaticStructureSchema;
6
+ export declare var GetSpritesResponse$: StaticStructureSchema;
7
+ export declare var GetStaticMapRequest$: StaticStructureSchema;
8
+ export declare var GetStaticMapResponse$: StaticStructureSchema;
9
+ export declare var GetStyleDescriptorRequest$: StaticStructureSchema;
10
+ export declare var GetStyleDescriptorResponse$: StaticStructureSchema;
11
+ export declare var GetTileRequest$: StaticStructureSchema;
12
+ 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
+ export declare var ValidationExceptionField$: StaticStructureSchema;
18
+ export declare var GeoMapsServiceException$: StaticErrorSchema;
19
+ export declare var GetGlyphs$: StaticOperationSchema;
20
+ export declare var GetSprites$: StaticOperationSchema;
21
+ export declare var GetStaticMap$: StaticOperationSchema;
22
+ export declare var GetStyleDescriptor$: StaticOperationSchema;
23
+ export declare var GetTile$: StaticOperationSchema;
@@ -29,13 +29,10 @@ import {
29
29
  BodyLengthCalculator as __BodyLengthCalculator,
30
30
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
31
  ChecksumConstructor as __ChecksumConstructor,
32
- ClientProtocol,
33
32
  Decoder as __Decoder,
34
33
  Encoder as __Encoder,
35
34
  HashConstructor as __HashConstructor,
36
35
  HttpHandlerOptions as __HttpHandlerOptions,
37
- HttpRequest,
38
- HttpResponse,
39
36
  Logger as __Logger,
40
37
  Provider as __Provider,
41
38
  StreamCollector as __StreamCollector,
@@ -111,7 +108,6 @@ export interface ClientDefaults
111
108
  retryMode?: string | __Provider<string>;
112
109
  logger?: __Logger;
113
110
  extensions?: RuntimeExtension[];
114
- protocol?: ClientProtocol<HttpRequest, HttpResponse>;
115
111
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
116
112
  }
117
113
  export type GeoMapsClientConfigType = Partial<
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { GeoMapsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export * from "./schemas/schemas_0";
7
8
  export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
26
26
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
27
27
  useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
28
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
29
- apiVersion: string;
30
29
  cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
31
39
  urlParser: import("@smithy/types").UrlParser;
32
40
  base64Decoder: import("@smithy/types").Decoder;
33
41
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
38
46
  profile?: string;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol: import("@smithy/types").ClientProtocol<
42
- import("@smithy/types").HttpRequest,
43
- import("@smithy/types").HttpResponse
44
- >;
45
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
46
50
  userAgentAppId?:
47
51
  | string
@@ -26,8 +26,16 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
26
26
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
27
27
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
28
28
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
29
- apiVersion: string;
30
29
  cacheMiddleware?: boolean | undefined;
30
+ protocol:
31
+ | import("@smithy/types").ClientProtocol<any, any>
32
+ | import("@smithy/types").ClientProtocolCtor<any, any>
33
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
34
+ protocolSettings: {
35
+ defaultNamespace?: string;
36
+ [setting: string]: unknown;
37
+ };
38
+ apiVersion: string;
31
39
  urlParser: import("@smithy/types").UrlParser;
32
40
  base64Decoder: import("@smithy/types").Decoder;
33
41
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -38,10 +46,6 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
38
46
  profile?: string;
39
47
  logger: import("@smithy/types").Logger;
40
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
41
- protocol: import("@smithy/types").ClientProtocol<
42
- import("@smithy/types").HttpRequest,
43
- import("@smithy/types").HttpResponse
44
- >;
45
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
46
50
  retryStrategy?:
47
51
  | import("@smithy/types").RetryStrategy
@@ -8,8 +8,16 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
8
8
  | Record<string, unknown>
9
9
  | import("@smithy/protocol-http").HttpHandler<any>
10
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean;
12
+ protocol:
13
+ | import("@smithy/types").ClientProtocol<any, any>
14
+ | import("@smithy/types").ClientProtocolCtor<any, any>
15
+ | typeof import("@aws-sdk/core").AwsRestJsonProtocol;
16
+ protocolSettings: {
17
+ defaultNamespace?: string;
18
+ [setting: string]: unknown;
19
+ };
20
+ apiVersion: string;
13
21
  urlParser: import("@smithy/types").UrlParser;
14
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
23
  streamCollector: import("@smithy/types").StreamCollector;
@@ -37,10 +45,6 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
37
45
  retryMode: string | import("@smithy/types").Provider<string>;
38
46
  logger: import("@smithy/types").Logger;
39
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
40
- protocol: import("@smithy/types").ClientProtocol<
41
- import("@smithy/types").HttpRequest,
42
- import("@smithy/types").HttpResponse
43
- >;
44
48
  defaultsMode:
45
49
  | import("@smithy/smithy-client").DefaultsMode
46
50
  | import("@smithy/types").Provider<
@@ -1,3 +1,4 @@
1
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
1
2
  import { GeoMapsClientConfig } from "./GeoMapsClient";
2
3
  export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
3
4
  apiVersion: string;
@@ -14,10 +15,14 @@ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
14
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GeoMapsHttpAuthSchemeProvider;
15
16
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
17
  logger: import("@smithy/types").Logger;
17
- protocol: import("@smithy/types").ClientProtocol<
18
- import("@smithy/types").HttpRequest,
19
- import("@smithy/types").HttpResponse
20
- >;
18
+ protocol:
19
+ | import("@smithy/types").ClientProtocol<any, any>
20
+ | import("@smithy/types").ClientProtocolCtor<any, any>
21
+ | typeof AwsRestJsonProtocol;
22
+ protocolSettings: {
23
+ [setting: string]: unknown;
24
+ defaultNamespace?: string;
25
+ };
21
26
  serviceId: string;
22
27
  urlParser: import("@smithy/types").UrlParser;
23
28
  utf8Decoder: import("@smithy/types").Decoder;
@@ -1,42 +1,27 @@
1
1
  import {
2
2
  StaticErrorSchema,
3
- StaticListSchema,
4
3
  StaticOperationSchema,
5
- StaticSimpleSchema,
6
4
  StaticStructureSchema,
7
5
  } from "@smithy/types";
8
- export declare var ApiKey: StaticSimpleSchema;
9
- export declare var CompactOverlay: StaticSimpleSchema;
10
- export declare var CountryCode: StaticSimpleSchema;
11
- export declare var DistanceMeters: StaticSimpleSchema;
12
- export declare var GeoJsonOverlay: StaticSimpleSchema;
13
- export declare var PositionListString: StaticSimpleSchema;
14
- export declare var PositionString: StaticSimpleSchema;
15
- export declare var SensitiveFloat: StaticSimpleSchema;
16
- export declare var SensitiveInteger: StaticSimpleSchema;
17
- export declare var SensitiveString: StaticSimpleSchema;
18
- export declare var AccessDeniedException: StaticErrorSchema;
19
- export declare var GetGlyphsRequest: StaticStructureSchema;
20
- export declare var GetGlyphsResponse: StaticStructureSchema;
21
- export declare var GetSpritesRequest: StaticStructureSchema;
22
- export declare var GetSpritesResponse: StaticStructureSchema;
23
- export declare var GetStaticMapRequest: StaticStructureSchema;
24
- export declare var GetStaticMapResponse: StaticStructureSchema;
25
- export declare var GetStyleDescriptorRequest: StaticStructureSchema;
26
- export declare var GetStyleDescriptorResponse: StaticStructureSchema;
27
- export declare var GetTileRequest: StaticStructureSchema;
28
- export declare var GetTileResponse: StaticStructureSchema;
29
- export declare var InternalServerException: StaticErrorSchema;
30
- export declare var ResourceNotFoundException: StaticErrorSchema;
31
- export declare var ThrottlingException: StaticErrorSchema;
32
- export declare var ValidationException: StaticErrorSchema;
33
- export declare var ValidationExceptionField: StaticStructureSchema;
34
- export declare var GeoMapsServiceException: StaticErrorSchema;
35
- export declare var TileAdditionalFeatureList: number;
36
- export declare var TravelModeList: number;
37
- export declare var ValidationExceptionFieldList: StaticListSchema;
38
- export declare var GetGlyphs: StaticOperationSchema;
39
- export declare var GetSprites: StaticOperationSchema;
40
- export declare var GetStaticMap: StaticOperationSchema;
41
- export declare var GetStyleDescriptor: StaticOperationSchema;
42
- export declare var GetTile: StaticOperationSchema;
6
+ export declare var AccessDeniedException$: StaticErrorSchema;
7
+ export declare var GetGlyphsRequest$: StaticStructureSchema;
8
+ export declare var GetGlyphsResponse$: StaticStructureSchema;
9
+ export declare var GetSpritesRequest$: StaticStructureSchema;
10
+ export declare var GetSpritesResponse$: StaticStructureSchema;
11
+ export declare var GetStaticMapRequest$: StaticStructureSchema;
12
+ export declare var GetStaticMapResponse$: StaticStructureSchema;
13
+ export declare var GetStyleDescriptorRequest$: StaticStructureSchema;
14
+ export declare var GetStyleDescriptorResponse$: StaticStructureSchema;
15
+ export declare var GetTileRequest$: StaticStructureSchema;
16
+ 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
+ export declare var ValidationExceptionField$: StaticStructureSchema;
22
+ export declare var GeoMapsServiceException$: StaticErrorSchema;
23
+ export declare var GetGlyphs$: StaticOperationSchema;
24
+ export declare var GetSprites$: StaticOperationSchema;
25
+ export declare var GetStaticMap$: StaticOperationSchema;
26
+ export declare var GetStyleDescriptor$: StaticOperationSchema;
27
+ export declare var GetTile$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,9 +1,9 @@
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.952.0",
4
+ "version": "3.953.0",
5
5
  "scripts": {
6
- "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-geo-maps",
8
8
  "build:es": "tsc -p tsconfig.es.json",
9
9
  "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
@@ -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.947.0",
25
- "@aws-sdk/credential-provider-node": "3.952.0",
26
- "@aws-sdk/middleware-host-header": "3.936.0",
27
- "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
- "@aws-sdk/middleware-user-agent": "3.947.0",
30
- "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/types": "3.936.0",
32
- "@aws-sdk/util-endpoints": "3.936.0",
33
- "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.947.0",
35
- "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.7",
37
- "@smithy/fetch-http-handler": "^5.3.6",
38
- "@smithy/hash-node": "^4.2.5",
39
- "@smithy/invalid-dependency": "^4.2.5",
40
- "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.14",
42
- "@smithy/middleware-retry": "^4.4.14",
43
- "@smithy/middleware-serde": "^4.2.6",
44
- "@smithy/middleware-stack": "^4.2.5",
45
- "@smithy/node-config-provider": "^4.3.5",
46
- "@smithy/node-http-handler": "^4.4.5",
47
- "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.10",
49
- "@smithy/types": "^4.9.0",
50
- "@smithy/url-parser": "^4.2.5",
24
+ "@aws-sdk/core": "3.953.0",
25
+ "@aws-sdk/credential-provider-node": "3.953.0",
26
+ "@aws-sdk/middleware-host-header": "3.953.0",
27
+ "@aws-sdk/middleware-logger": "3.953.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.953.0",
29
+ "@aws-sdk/middleware-user-agent": "3.953.0",
30
+ "@aws-sdk/region-config-resolver": "3.953.0",
31
+ "@aws-sdk/types": "3.953.0",
32
+ "@aws-sdk/util-endpoints": "3.953.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.953.0",
34
+ "@aws-sdk/util-user-agent-node": "3.953.0",
35
+ "@smithy/config-resolver": "^4.4.4",
36
+ "@smithy/core": "^3.19.0",
37
+ "@smithy/fetch-http-handler": "^5.3.7",
38
+ "@smithy/hash-node": "^4.2.6",
39
+ "@smithy/invalid-dependency": "^4.2.6",
40
+ "@smithy/middleware-content-length": "^4.2.6",
41
+ "@smithy/middleware-endpoint": "^4.3.15",
42
+ "@smithy/middleware-retry": "^4.4.15",
43
+ "@smithy/middleware-serde": "^4.2.7",
44
+ "@smithy/middleware-stack": "^4.2.6",
45
+ "@smithy/node-config-provider": "^4.3.6",
46
+ "@smithy/node-http-handler": "^4.4.6",
47
+ "@smithy/protocol-http": "^5.3.6",
48
+ "@smithy/smithy-client": "^4.10.0",
49
+ "@smithy/types": "^4.10.0",
50
+ "@smithy/url-parser": "^4.2.6",
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.13",
55
- "@smithy/util-defaults-mode-node": "^4.2.16",
56
- "@smithy/util-endpoints": "^3.2.5",
57
- "@smithy/util-middleware": "^4.2.5",
58
- "@smithy/util-retry": "^4.2.5",
59
- "@smithy/util-stream": "^4.5.6",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.14",
55
+ "@smithy/util-defaults-mode-node": "^4.2.17",
56
+ "@smithy/util-endpoints": "^3.2.6",
57
+ "@smithy/util-middleware": "^4.2.6",
58
+ "@smithy/util-retry": "^4.2.6",
59
+ "@smithy/util-stream": "^4.5.7",
60
60
  "@smithy/util-utf8": "^4.2.0",
61
61
  "tslib": "^2.6.2"
62
62
  },