@aws-sdk/client-geo-maps 3.1075.0 → 3.1077.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 +541 -15
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -57
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/GeoMapsServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -77
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -258
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
const _ADE = "AccessDeniedException";
|
|
2
|
-
const _AF = "AdditionalFeatures";
|
|
3
|
-
const _AK = "ApiKey";
|
|
4
|
-
const _B = "Blob";
|
|
5
|
-
const _BB = "BoundingBox";
|
|
6
|
-
const _BP = "BoundedPositions";
|
|
7
|
-
const _Bu = "Buildings";
|
|
8
|
-
const _C = "Center";
|
|
9
|
-
const _CC = "CountryCode";
|
|
10
|
-
const _CC_ = "Cache-Control";
|
|
11
|
-
const _CCa = "CacheControl";
|
|
12
|
-
const _CD = "ContourDensity";
|
|
13
|
-
const _CL = "CropLabels";
|
|
14
|
-
const _CO = "CompactOverlay";
|
|
15
|
-
const _CS = "ColorScheme";
|
|
16
|
-
const _CT = "ContentType";
|
|
17
|
-
const _CT_ = "Content-Type";
|
|
18
|
-
const _DM = "DistanceMeters";
|
|
19
|
-
const _ET = "ETag";
|
|
20
|
-
const _FL = "FieldList";
|
|
21
|
-
const _FN = "FileName";
|
|
22
|
-
const _FS = "FontStack";
|
|
23
|
-
const _FUR = "FontUnicodeRange";
|
|
24
|
-
const _GG = "GetGlyphs";
|
|
25
|
-
const _GGR = "GetGlyphsRequest";
|
|
26
|
-
const _GGRe = "GetGlyphsResponse";
|
|
27
|
-
const _GJO = "GeoJsonOverlay";
|
|
28
|
-
const _GS = "GetSprites";
|
|
29
|
-
const _GSD = "GetStyleDescriptor";
|
|
30
|
-
const _GSDR = "GetStyleDescriptorRequest";
|
|
31
|
-
const _GSDRe = "GetStyleDescriptorResponse";
|
|
32
|
-
const _GSM = "GetStaticMap";
|
|
33
|
-
const _GSMR = "GetStaticMapRequest";
|
|
34
|
-
const _GSMRe = "GetStaticMapResponse";
|
|
35
|
-
const _GSR = "GetSpritesRequest";
|
|
36
|
-
const _GSRe = "GetSpritesResponse";
|
|
37
|
-
const _GT = "GetTile";
|
|
38
|
-
const _GTR = "GetTileRequest";
|
|
39
|
-
const _GTRe = "GetTileResponse";
|
|
40
|
-
const _H = "Height";
|
|
41
|
-
const _ISE = "InternalServerException";
|
|
42
|
-
const _K = "Key";
|
|
43
|
-
const _L = "Language";
|
|
44
|
-
const _LS = "LabelSize";
|
|
45
|
-
const _M = "Message";
|
|
46
|
-
const _N = "Name";
|
|
47
|
-
const _P = "Padding";
|
|
48
|
-
const _PB = "PricingBucket";
|
|
49
|
-
const _PLS = "PositionListString";
|
|
50
|
-
const _POI = "PointsOfInterests";
|
|
51
|
-
const _PS = "PositionString";
|
|
52
|
-
const _PV = "PoliticalView";
|
|
53
|
-
const _R = "Reason";
|
|
54
|
-
const _RNFE = "ResourceNotFoundException";
|
|
55
|
-
const _Ra = "Radius";
|
|
56
|
-
const _S = "Style";
|
|
57
|
-
const _SBU = "ScaleBarUnit";
|
|
58
|
-
const _SF = "SensitiveFloat";
|
|
59
|
-
const _SI = "SensitiveInteger";
|
|
60
|
-
const _SS = "SensitiveString";
|
|
61
|
-
const _T = "Terrain";
|
|
62
|
-
const _TE = "ThrottlingException";
|
|
63
|
-
const _TM = "TravelModes";
|
|
64
|
-
const _Ti = "Tileset";
|
|
65
|
-
const _Tr = "Traffic";
|
|
66
|
-
const _V = "Variant";
|
|
67
|
-
const _VE = "ValidationException";
|
|
68
|
-
const _VEF = "ValidationExceptionField";
|
|
69
|
-
const _VEFL = "ValidationExceptionFieldList";
|
|
70
|
-
const _W = "Width";
|
|
71
|
-
const _X = "X";
|
|
72
|
-
const _Y = "Y";
|
|
73
|
-
const _Z = "Zoom";
|
|
74
|
-
const _Z_ = "Z";
|
|
75
|
-
const _af = "additional-features";
|
|
76
|
-
const _b = "buildings";
|
|
77
|
-
const _bb = "bounding-box";
|
|
78
|
-
const _bp = "bounded-positions";
|
|
79
|
-
const _c = "client";
|
|
80
|
-
const _cd = "contour-density";
|
|
81
|
-
const _ce = "center";
|
|
82
|
-
const _cl = "crop-labels";
|
|
83
|
-
const _co = "compact-overlay";
|
|
84
|
-
const _cs = "color-scheme";
|
|
85
|
-
const _e = "error";
|
|
86
|
-
const _fL = "fieldList";
|
|
87
|
-
const _go = "geojson-overlay";
|
|
88
|
-
const _h = "height";
|
|
89
|
-
const _hE = "httpError";
|
|
90
|
-
const _hH = "httpHeader";
|
|
91
|
-
const _hQ = "httpQuery";
|
|
92
|
-
const _ht = "http";
|
|
93
|
-
const _jN = "jsonName";
|
|
94
|
-
const _k = "key";
|
|
95
|
-
const _l = "lang";
|
|
96
|
-
const _ls = "label-size";
|
|
97
|
-
const _m = "message";
|
|
98
|
-
const _n = "name";
|
|
99
|
-
const _p = "padding";
|
|
100
|
-
const _po = "pois";
|
|
101
|
-
const _pv = "political-view";
|
|
102
|
-
const _r = "reason";
|
|
103
|
-
const _ra = "radius";
|
|
104
|
-
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.geomaps";
|
|
105
|
-
const _se = "server";
|
|
106
|
-
const _st = "style";
|
|
107
|
-
const _su = "scale-unit";
|
|
108
|
-
const _t = "terrain";
|
|
109
|
-
const _tm = "travel-modes";
|
|
110
|
-
const _tr = "traffic";
|
|
111
|
-
const _w = "width";
|
|
112
|
-
const _xagpb = "x-amz-geo-pricing-bucket";
|
|
113
|
-
const _z = "zoom";
|
|
114
|
-
const n0 = "com.amazonaws.geomaps";
|
|
115
|
-
const { TypeRegistry } = require("@smithy/core/schema");
|
|
116
|
-
const { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException } = require("../models/errors");
|
|
117
|
-
const { GeoMapsServiceException } = require("../models/GeoMapsServiceException");
|
|
118
|
-
const _s_registry = TypeRegistry.for(_s);
|
|
119
|
-
const GeoMapsServiceException$ = [-3, _s, "GeoMapsServiceException", 0, [], []];
|
|
120
|
-
exports.GeoMapsServiceException$ = GeoMapsServiceException$;
|
|
121
|
-
_s_registry.registerError(GeoMapsServiceException$, GeoMapsServiceException);
|
|
122
|
-
const n0_registry = TypeRegistry.for(n0);
|
|
123
|
-
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
124
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
125
|
-
[_M],
|
|
126
|
-
[[0, { [_jN]: _m }]], 1
|
|
127
|
-
];
|
|
128
|
-
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
129
|
-
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
130
|
-
const InternalServerException$ = [-3, n0, _ISE,
|
|
131
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
132
|
-
[_M],
|
|
133
|
-
[[0, { [_jN]: _m }]], 1
|
|
134
|
-
];
|
|
135
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
136
|
-
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
137
|
-
const ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
138
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
139
|
-
[_M],
|
|
140
|
-
[[0, { [_jN]: _m }]], 1
|
|
141
|
-
];
|
|
142
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
143
|
-
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
144
|
-
const ThrottlingException$ = [-3, n0, _TE,
|
|
145
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
146
|
-
[_M],
|
|
147
|
-
[[0, { [_jN]: _m }]], 1
|
|
148
|
-
];
|
|
149
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
150
|
-
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
151
|
-
const ValidationException$ = [-3, n0, _VE,
|
|
152
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
153
|
-
[_M, _R, _FL],
|
|
154
|
-
[[0, { [_jN]: _m }], [0, { [_jN]: _r }], [() => ValidationExceptionFieldList, { [_jN]: _fL }]], 3
|
|
155
|
-
];
|
|
156
|
-
exports.ValidationException$ = ValidationException$;
|
|
157
|
-
n0_registry.registerError(ValidationException$, ValidationException);
|
|
158
|
-
exports.errorTypeRegistries = [
|
|
159
|
-
_s_registry,
|
|
160
|
-
n0_registry,
|
|
161
|
-
];
|
|
162
|
-
var ApiKey = [0, n0, _AK, 8, 0];
|
|
163
|
-
var CompactOverlay = [0, n0, _CO, 8, 0];
|
|
164
|
-
var CountryCode = [0, n0, _CC, 8, 0];
|
|
165
|
-
var DistanceMeters = [0, n0, _DM, 8, 1];
|
|
166
|
-
var GeoJsonOverlay = [0, n0, _GJO, 8, 0];
|
|
167
|
-
var PositionListString = [0, n0, _PLS, 8, 0];
|
|
168
|
-
var PositionString = [0, n0, _PS, 8, 0];
|
|
169
|
-
var SensitiveFloat = [0, n0, _SF, 8, 1];
|
|
170
|
-
var SensitiveInteger = [0, n0, _SI, 8, 1];
|
|
171
|
-
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
172
|
-
const GetGlyphsRequest$ = [3, n0, _GGR,
|
|
173
|
-
0,
|
|
174
|
-
[_FS, _FUR],
|
|
175
|
-
[[0, 1], [0, 1]], 2
|
|
176
|
-
];
|
|
177
|
-
exports.GetGlyphsRequest$ = GetGlyphsRequest$;
|
|
178
|
-
const GetGlyphsResponse$ = [3, n0, _GGRe,
|
|
179
|
-
0,
|
|
180
|
-
[_B, _CT, _CCa, _ET],
|
|
181
|
-
[[21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]]
|
|
182
|
-
];
|
|
183
|
-
exports.GetGlyphsResponse$ = GetGlyphsResponse$;
|
|
184
|
-
const GetSpritesRequest$ = [3, n0, _GSR,
|
|
185
|
-
0,
|
|
186
|
-
[_FN, _S, _CS, _V],
|
|
187
|
-
[[0, 1], [0, 1], [0, 1], [0, 1]], 4
|
|
188
|
-
];
|
|
189
|
-
exports.GetSpritesRequest$ = GetSpritesRequest$;
|
|
190
|
-
const GetSpritesResponse$ = [3, n0, _GSRe,
|
|
191
|
-
0,
|
|
192
|
-
[_B, _CT, _CCa, _ET],
|
|
193
|
-
[[21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]]
|
|
194
|
-
];
|
|
195
|
-
exports.GetSpritesResponse$ = GetSpritesResponse$;
|
|
196
|
-
const GetStaticMapRequest$ = [3, n0, _GSMR,
|
|
197
|
-
0,
|
|
198
|
-
[_H, _FN, _W, _BB, _BP, _C, _CS, _CO, _CL, _GJO, _K, _LS, _L, _P, _PV, _POI, _Ra, _SBU, _S, _Z],
|
|
199
|
-
[[() => 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
|
|
200
|
-
];
|
|
201
|
-
exports.GetStaticMapRequest$ = GetStaticMapRequest$;
|
|
202
|
-
const GetStaticMapResponse$ = [3, n0, _GSMRe,
|
|
203
|
-
0,
|
|
204
|
-
[_PB, _B, _CT, _CCa, _ET],
|
|
205
|
-
[[0, { [_hH]: _xagpb }], [21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]], 1
|
|
206
|
-
];
|
|
207
|
-
exports.GetStaticMapResponse$ = GetStaticMapResponse$;
|
|
208
|
-
const GetStyleDescriptorRequest$ = [3, n0, _GSDR,
|
|
209
|
-
0,
|
|
210
|
-
[_S, _CS, _PV, _T, _CD, _Tr, _TM, _Bu, _K],
|
|
211
|
-
[[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
|
|
212
|
-
];
|
|
213
|
-
exports.GetStyleDescriptorRequest$ = GetStyleDescriptorRequest$;
|
|
214
|
-
const GetStyleDescriptorResponse$ = [3, n0, _GSDRe,
|
|
215
|
-
0,
|
|
216
|
-
[_B, _CT, _CCa, _ET],
|
|
217
|
-
[[21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]]
|
|
218
|
-
];
|
|
219
|
-
exports.GetStyleDescriptorResponse$ = GetStyleDescriptorResponse$;
|
|
220
|
-
const GetTileRequest$ = [3, n0, _GTR,
|
|
221
|
-
0,
|
|
222
|
-
[_Ti, _Z_, _X, _Y, _AF, _K],
|
|
223
|
-
[[0, 1], [() => SensitiveString, 1], [() => SensitiveString, 1], [() => SensitiveString, 1], [64 | 0, { [_hQ]: _af }], [() => ApiKey, { [_hQ]: _k }]], 4
|
|
224
|
-
];
|
|
225
|
-
exports.GetTileRequest$ = GetTileRequest$;
|
|
226
|
-
const GetTileResponse$ = [3, n0, _GTRe,
|
|
227
|
-
0,
|
|
228
|
-
[_PB, _B, _CT, _CCa, _ET],
|
|
229
|
-
[[0, { [_hH]: _xagpb }], [21, 16], [0, { [_hH]: _CT_ }], [0, { [_hH]: _CC_ }], [0, { [_hH]: _ET }]], 1
|
|
230
|
-
];
|
|
231
|
-
exports.GetTileResponse$ = GetTileResponse$;
|
|
232
|
-
const ValidationExceptionField$ = [3, n0, _VEF,
|
|
233
|
-
0,
|
|
234
|
-
[_N, _M],
|
|
235
|
-
[[0, { [_jN]: _n }], [0, { [_jN]: _m }]], 2
|
|
236
|
-
];
|
|
237
|
-
exports.ValidationExceptionField$ = ValidationExceptionField$;
|
|
238
|
-
var TileAdditionalFeatureList = 64 | 0;
|
|
239
|
-
var TravelModeList = 64 | 0;
|
|
240
|
-
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
241
|
-
0, [() => ValidationExceptionField$,
|
|
242
|
-
0]
|
|
243
|
-
];
|
|
244
|
-
exports.GetGlyphs$ = [9, n0, _GG,
|
|
245
|
-
{ [_ht]: ["GET", "/glyphs/{FontStack}/{FontUnicodeRange}", 200] }, () => GetGlyphsRequest$, () => GetGlyphsResponse$
|
|
246
|
-
];
|
|
247
|
-
exports.GetSprites$ = [9, n0, _GS,
|
|
248
|
-
{ [_ht]: ["GET", "/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", 200] }, () => GetSpritesRequest$, () => GetSpritesResponse$
|
|
249
|
-
];
|
|
250
|
-
exports.GetStaticMap$ = [9, n0, _GSM,
|
|
251
|
-
{ [_ht]: ["GET", "/static/{FileName}", 200] }, () => GetStaticMapRequest$, () => GetStaticMapResponse$
|
|
252
|
-
];
|
|
253
|
-
exports.GetStyleDescriptor$ = [9, n0, _GSD,
|
|
254
|
-
{ [_ht]: ["GET", "/styles/{Style}/descriptor", 200] }, () => GetStyleDescriptorRequest$, () => GetStyleDescriptorResponse$
|
|
255
|
-
];
|
|
256
|
-
exports.GetTile$ = [9, n0, _GT,
|
|
257
|
-
{ [_ht]: ["GET", "/tiles/{Tileset}/{Z}/{X}/{Y}", 200] }, () => GetTileRequest$, () => GetTileResponse$
|
|
258
|
-
];
|