@aws-sdk/client-geo-maps 3.928.0 → 3.930.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 +659 -367
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/GeoMapsClient.js +2 -0
- package/dist-es/commands/GetGlyphsCommand.js +3 -9
- package/dist-es/commands/GetSpritesCommand.js +3 -9
- package/dist-es/commands/GetStaticMapCommand.js +3 -10
- package/dist-es/commands/GetStyleDescriptorCommand.js +3 -10
- package/dist-es/commands/GetTileCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -28
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +685 -0
- package/dist-types/GeoMapsClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +36 -0
- package/dist-types/ts3.4/GeoMapsClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +42 -0
- package/package.json +34 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -339
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -47
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -65
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
18
|
|
|
20
19
|
const resolveClientEndpointParameters = (options) => {
|
|
21
20
|
return Object.assign(options, {
|
|
@@ -91,6 +90,7 @@ class GeoMapsClient extends smithyClient.Client {
|
|
|
91
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
94
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -110,14 +110,14 @@ class GeoMapsClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class GeoMapsServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let GeoMapsServiceException$1 = 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
|
-
class AccessDeniedException extends GeoMapsServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends GeoMapsServiceException$1 {
|
|
121
121
|
name = "AccessDeniedException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
Message;
|
|
@@ -130,7 +130,7 @@ class AccessDeniedException extends GeoMapsServiceException {
|
|
|
130
130
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
131
|
this.Message = opts.Message;
|
|
132
132
|
}
|
|
133
|
-
}
|
|
133
|
+
};
|
|
134
134
|
const ColorScheme = {
|
|
135
135
|
DARK: "Dark",
|
|
136
136
|
LIGHT: "Light",
|
|
@@ -165,7 +165,7 @@ const StaticMapStyle = {
|
|
|
165
165
|
SATELLITE: "Satellite",
|
|
166
166
|
STANDARD: "Standard",
|
|
167
167
|
};
|
|
168
|
-
class InternalServerException extends GeoMapsServiceException {
|
|
168
|
+
let InternalServerException$1 = class InternalServerException extends GeoMapsServiceException$1 {
|
|
169
169
|
name = "InternalServerException";
|
|
170
170
|
$fault = "server";
|
|
171
171
|
$retryable = {};
|
|
@@ -179,8 +179,8 @@ class InternalServerException extends GeoMapsServiceException {
|
|
|
179
179
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
180
180
|
this.Message = opts.Message;
|
|
181
181
|
}
|
|
182
|
-
}
|
|
183
|
-
class ThrottlingException extends GeoMapsServiceException {
|
|
182
|
+
};
|
|
183
|
+
let ThrottlingException$1 = class ThrottlingException extends GeoMapsServiceException$1 {
|
|
184
184
|
name = "ThrottlingException";
|
|
185
185
|
$fault = "client";
|
|
186
186
|
$retryable = {};
|
|
@@ -194,7 +194,7 @@ class ThrottlingException extends GeoMapsServiceException {
|
|
|
194
194
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
195
195
|
this.Message = opts.Message;
|
|
196
196
|
}
|
|
197
|
-
}
|
|
197
|
+
};
|
|
198
198
|
const ValidationExceptionReason = {
|
|
199
199
|
CANNOT_PARSE: "CannotParse",
|
|
200
200
|
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
@@ -203,7 +203,7 @@ const ValidationExceptionReason = {
|
|
|
203
203
|
UNKNOWN_FIELD: "UnknownField",
|
|
204
204
|
UNKNOWN_OPERATION: "UnknownOperation",
|
|
205
205
|
};
|
|
206
|
-
class ValidationException extends GeoMapsServiceException {
|
|
206
|
+
let ValidationException$1 = class ValidationException extends GeoMapsServiceException$1 {
|
|
207
207
|
name = "ValidationException";
|
|
208
208
|
$fault = "client";
|
|
209
209
|
Message;
|
|
@@ -220,7 +220,7 @@ class ValidationException extends GeoMapsServiceException {
|
|
|
220
220
|
this.Reason = opts.Reason;
|
|
221
221
|
this.FieldList = opts.FieldList;
|
|
222
222
|
}
|
|
223
|
-
}
|
|
223
|
+
};
|
|
224
224
|
const Terrain = {
|
|
225
225
|
HILLSHADE: "Hillshade",
|
|
226
226
|
};
|
|
@@ -237,7 +237,7 @@ const TileAdditionalFeature = {
|
|
|
237
237
|
LOGISTICS: "Logistics",
|
|
238
238
|
TRANSIT: "Transit",
|
|
239
239
|
};
|
|
240
|
-
class ResourceNotFoundException extends GeoMapsServiceException {
|
|
240
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends GeoMapsServiceException$1 {
|
|
241
241
|
name = "ResourceNotFoundException";
|
|
242
242
|
$fault = "client";
|
|
243
243
|
Message;
|
|
@@ -250,361 +250,112 @@ class ResourceNotFoundException extends GeoMapsServiceException {
|
|
|
250
250
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
251
251
|
this.Message = opts.Message;
|
|
252
252
|
}
|
|
253
|
-
}
|
|
254
|
-
const GetStaticMapRequestFilterSensitiveLog = (obj) => ({
|
|
255
|
-
...obj,
|
|
256
|
-
...(obj.BoundingBox && { BoundingBox: smithyClient.SENSITIVE_STRING }),
|
|
257
|
-
...(obj.BoundedPositions && { BoundedPositions: smithyClient.SENSITIVE_STRING }),
|
|
258
|
-
...(obj.Center && { Center: smithyClient.SENSITIVE_STRING }),
|
|
259
|
-
...(obj.CompactOverlay && { CompactOverlay: smithyClient.SENSITIVE_STRING }),
|
|
260
|
-
...(obj.GeoJsonOverlay && { GeoJsonOverlay: smithyClient.SENSITIVE_STRING }),
|
|
261
|
-
...(obj.Height && { Height: smithyClient.SENSITIVE_STRING }),
|
|
262
|
-
...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
|
|
263
|
-
...(obj.Padding && { Padding: smithyClient.SENSITIVE_STRING }),
|
|
264
|
-
...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
|
|
265
|
-
...(obj.Radius && { Radius: smithyClient.SENSITIVE_STRING }),
|
|
266
|
-
...(obj.Width && { Width: smithyClient.SENSITIVE_STRING }),
|
|
267
|
-
...(obj.Zoom && { Zoom: smithyClient.SENSITIVE_STRING }),
|
|
268
|
-
});
|
|
269
|
-
const GetStyleDescriptorRequestFilterSensitiveLog = (obj) => ({
|
|
270
|
-
...obj,
|
|
271
|
-
...(obj.PoliticalView && { PoliticalView: smithyClient.SENSITIVE_STRING }),
|
|
272
|
-
...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
|
|
273
|
-
});
|
|
274
|
-
const GetTileRequestFilterSensitiveLog = (obj) => ({
|
|
275
|
-
...obj,
|
|
276
|
-
...(obj.Z && { Z: smithyClient.SENSITIVE_STRING }),
|
|
277
|
-
...(obj.X && { X: smithyClient.SENSITIVE_STRING }),
|
|
278
|
-
...(obj.Y && { Y: smithyClient.SENSITIVE_STRING }),
|
|
279
|
-
...(obj.Key && { Key: smithyClient.SENSITIVE_STRING }),
|
|
280
|
-
});
|
|
281
|
-
|
|
282
|
-
const se_GetGlyphsCommand = async (input, context) => {
|
|
283
|
-
const b = core.requestBuilder(input, context);
|
|
284
|
-
const headers = {};
|
|
285
|
-
b.bp("/glyphs/{FontStack}/{FontUnicodeRange}");
|
|
286
|
-
b.p("FontStack", () => input.FontStack, "{FontStack}", false);
|
|
287
|
-
b.p("FontUnicodeRange", () => input.FontUnicodeRange, "{FontUnicodeRange}", false);
|
|
288
|
-
let body;
|
|
289
|
-
b.m("GET").h(headers).b(body);
|
|
290
|
-
return b.build();
|
|
291
|
-
};
|
|
292
|
-
const se_GetSpritesCommand = async (input, context) => {
|
|
293
|
-
const b = core.requestBuilder(input, context);
|
|
294
|
-
const headers = {};
|
|
295
|
-
b.bp("/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}");
|
|
296
|
-
b.p("FileName", () => input.FileName, "{FileName}", false);
|
|
297
|
-
b.p("Style", () => input.Style, "{Style}", false);
|
|
298
|
-
b.p("ColorScheme", () => input.ColorScheme, "{ColorScheme}", false);
|
|
299
|
-
b.p("Variant", () => input.Variant, "{Variant}", false);
|
|
300
|
-
let body;
|
|
301
|
-
b.m("GET").h(headers).b(body);
|
|
302
|
-
return b.build();
|
|
303
|
-
};
|
|
304
|
-
const se_GetStaticMapCommand = async (input, context) => {
|
|
305
|
-
const b = core.requestBuilder(input, context);
|
|
306
|
-
const headers = {};
|
|
307
|
-
b.bp("/static/{FileName}");
|
|
308
|
-
b.p("FileName", () => input.FileName, "{FileName}", false);
|
|
309
|
-
const query = smithyClient.map({
|
|
310
|
-
[_bb]: [, input[_BB]],
|
|
311
|
-
[_bp]: [, input[_BP]],
|
|
312
|
-
[_c]: [, input[_C]],
|
|
313
|
-
[_cs]: [, input[_CS]],
|
|
314
|
-
[_co]: [, input[_CO]],
|
|
315
|
-
[_cl]: [() => input.CropLabels !== void 0, () => input[_CL].toString()],
|
|
316
|
-
[_go]: [, input[_GJO]],
|
|
317
|
-
[_h]: [smithyClient.expectNonNull(input.Height, `Height`) != null, () => input[_H].toString()],
|
|
318
|
-
[_k]: [, input[_K]],
|
|
319
|
-
[_ls]: [, input[_LS]],
|
|
320
|
-
[_l]: [, input[_L]],
|
|
321
|
-
[_p]: [() => input.Padding !== void 0, () => input[_P].toString()],
|
|
322
|
-
[_pv]: [, input[_PV]],
|
|
323
|
-
[_po]: [, input[_POI]],
|
|
324
|
-
[_r]: [() => input.Radius !== void 0, () => input[_R].toString()],
|
|
325
|
-
[_su]: [, input[_SBU]],
|
|
326
|
-
[_s]: [, input[_S]],
|
|
327
|
-
[_w]: [smithyClient.expectNonNull(input.Width, `Width`) != null, () => input[_W].toString()],
|
|
328
|
-
[_z]: [() => input.Zoom !== void 0, () => (input[_Z] % 1 == 0 ? input[_Z] + ".0" : input[_Z].toString())],
|
|
329
|
-
});
|
|
330
|
-
let body;
|
|
331
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
332
|
-
return b.build();
|
|
333
|
-
};
|
|
334
|
-
const se_GetStyleDescriptorCommand = async (input, context) => {
|
|
335
|
-
const b = core.requestBuilder(input, context);
|
|
336
|
-
const headers = {};
|
|
337
|
-
b.bp("/styles/{Style}/descriptor");
|
|
338
|
-
b.p("Style", () => input.Style, "{Style}", false);
|
|
339
|
-
const query = smithyClient.map({
|
|
340
|
-
[_cs]: [, input[_CS]],
|
|
341
|
-
[_pv]: [, input[_PV]],
|
|
342
|
-
[_t]: [, input[_T]],
|
|
343
|
-
[_cd]: [, input[_CD]],
|
|
344
|
-
[_tr]: [, input[_Tr]],
|
|
345
|
-
[_tm]: [() => input.TravelModes !== void 0, () => input[_TM] || []],
|
|
346
|
-
[_k]: [, input[_K]],
|
|
347
|
-
});
|
|
348
|
-
let body;
|
|
349
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
350
|
-
return b.build();
|
|
351
|
-
};
|
|
352
|
-
const se_GetTileCommand = async (input, context) => {
|
|
353
|
-
const b = core.requestBuilder(input, context);
|
|
354
|
-
const headers = {};
|
|
355
|
-
b.bp("/tiles/{Tileset}/{Z}/{X}/{Y}");
|
|
356
|
-
b.p("Tileset", () => input.Tileset, "{Tileset}", false);
|
|
357
|
-
b.p("Z", () => input.Z, "{Z}", false);
|
|
358
|
-
b.p("X", () => input.X, "{X}", false);
|
|
359
|
-
b.p("Y", () => input.Y, "{Y}", false);
|
|
360
|
-
const query = smithyClient.map({
|
|
361
|
-
[_af]: [() => input.AdditionalFeatures !== void 0, () => input[_AF] || []],
|
|
362
|
-
[_k]: [, input[_K]],
|
|
363
|
-
});
|
|
364
|
-
let body;
|
|
365
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
366
|
-
return b.build();
|
|
367
|
-
};
|
|
368
|
-
const de_GetGlyphsCommand = async (output, context) => {
|
|
369
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
370
|
-
return de_CommandError(output, context);
|
|
371
|
-
}
|
|
372
|
-
const contents = smithyClient.map({
|
|
373
|
-
$metadata: deserializeMetadata(output),
|
|
374
|
-
[_CT]: [, output.headers[_ct]],
|
|
375
|
-
[_CC]: [, output.headers[_cc]],
|
|
376
|
-
[_ET]: [, output.headers[_e]],
|
|
377
|
-
});
|
|
378
|
-
const data = await smithyClient.collectBody(output.body, context);
|
|
379
|
-
contents.Blob = data;
|
|
380
|
-
return contents;
|
|
381
|
-
};
|
|
382
|
-
const de_GetSpritesCommand = async (output, context) => {
|
|
383
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
384
|
-
return de_CommandError(output, context);
|
|
385
|
-
}
|
|
386
|
-
const contents = smithyClient.map({
|
|
387
|
-
$metadata: deserializeMetadata(output),
|
|
388
|
-
[_CT]: [, output.headers[_ct]],
|
|
389
|
-
[_CC]: [, output.headers[_cc]],
|
|
390
|
-
[_ET]: [, output.headers[_e]],
|
|
391
|
-
});
|
|
392
|
-
const data = await smithyClient.collectBody(output.body, context);
|
|
393
|
-
contents.Blob = data;
|
|
394
|
-
return contents;
|
|
395
|
-
};
|
|
396
|
-
const de_GetStaticMapCommand = async (output, context) => {
|
|
397
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
398
|
-
return de_CommandError(output, context);
|
|
399
|
-
}
|
|
400
|
-
const contents = smithyClient.map({
|
|
401
|
-
$metadata: deserializeMetadata(output),
|
|
402
|
-
[_CT]: [, output.headers[_ct]],
|
|
403
|
-
[_CC]: [, output.headers[_cc]],
|
|
404
|
-
[_ET]: [, output.headers[_e]],
|
|
405
|
-
[_PB]: [, output.headers[_xagpb]],
|
|
406
|
-
});
|
|
407
|
-
const data = await smithyClient.collectBody(output.body, context);
|
|
408
|
-
contents.Blob = data;
|
|
409
|
-
return contents;
|
|
410
253
|
};
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
return de_CommandError(output, context);
|
|
414
|
-
}
|
|
415
|
-
const contents = smithyClient.map({
|
|
416
|
-
$metadata: deserializeMetadata(output),
|
|
417
|
-
[_CT]: [, output.headers[_ct]],
|
|
418
|
-
[_CC]: [, output.headers[_cc]],
|
|
419
|
-
[_ET]: [, output.headers[_e]],
|
|
420
|
-
});
|
|
421
|
-
const data = await smithyClient.collectBody(output.body, context);
|
|
422
|
-
contents.Blob = data;
|
|
423
|
-
return contents;
|
|
424
|
-
};
|
|
425
|
-
const de_GetTileCommand = async (output, context) => {
|
|
426
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
427
|
-
return de_CommandError(output, context);
|
|
428
|
-
}
|
|
429
|
-
const contents = smithyClient.map({
|
|
430
|
-
$metadata: deserializeMetadata(output),
|
|
431
|
-
[_CT]: [, output.headers[_ct]],
|
|
432
|
-
[_CC]: [, output.headers[_cc]],
|
|
433
|
-
[_ET]: [, output.headers[_e]],
|
|
434
|
-
[_PB]: [, output.headers[_xagpb]],
|
|
435
|
-
});
|
|
436
|
-
const data = await smithyClient.collectBody(output.body, context);
|
|
437
|
-
contents.Blob = data;
|
|
438
|
-
return contents;
|
|
439
|
-
};
|
|
440
|
-
const de_CommandError = async (output, context) => {
|
|
441
|
-
const parsedOutput = {
|
|
442
|
-
...output,
|
|
443
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
444
|
-
};
|
|
445
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
446
|
-
switch (errorCode) {
|
|
447
|
-
case "AccessDeniedException":
|
|
448
|
-
case "com.amazonaws.geomaps#AccessDeniedException":
|
|
449
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
450
|
-
case "InternalServerException":
|
|
451
|
-
case "com.amazonaws.geomaps#InternalServerException":
|
|
452
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
453
|
-
case "ThrottlingException":
|
|
454
|
-
case "com.amazonaws.geomaps#ThrottlingException":
|
|
455
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
456
|
-
case "ValidationException":
|
|
457
|
-
case "com.amazonaws.geomaps#ValidationException":
|
|
458
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
459
|
-
case "ResourceNotFoundException":
|
|
460
|
-
case "com.amazonaws.geomaps#ResourceNotFoundException":
|
|
461
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
462
|
-
default:
|
|
463
|
-
const parsedBody = parsedOutput.body;
|
|
464
|
-
return throwDefaultError({
|
|
465
|
-
output,
|
|
466
|
-
parsedBody,
|
|
467
|
-
errorCode,
|
|
468
|
-
});
|
|
469
|
-
}
|
|
470
|
-
};
|
|
471
|
-
const throwDefaultError = smithyClient.withBaseException(GeoMapsServiceException);
|
|
472
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
473
|
-
const contents = smithyClient.map({});
|
|
474
|
-
const data = parsedOutput.body;
|
|
475
|
-
const doc = smithyClient.take(data, {
|
|
476
|
-
Message: [, smithyClient.expectString, `message`],
|
|
477
|
-
});
|
|
478
|
-
Object.assign(contents, doc);
|
|
479
|
-
const exception = new AccessDeniedException({
|
|
480
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
481
|
-
...contents,
|
|
482
|
-
});
|
|
483
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
484
|
-
};
|
|
485
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
486
|
-
const contents = smithyClient.map({});
|
|
487
|
-
const data = parsedOutput.body;
|
|
488
|
-
const doc = smithyClient.take(data, {
|
|
489
|
-
Message: [, smithyClient.expectString, `message`],
|
|
490
|
-
});
|
|
491
|
-
Object.assign(contents, doc);
|
|
492
|
-
const exception = new InternalServerException({
|
|
493
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
494
|
-
...contents,
|
|
495
|
-
});
|
|
496
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
497
|
-
};
|
|
498
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
499
|
-
const contents = smithyClient.map({});
|
|
500
|
-
const data = parsedOutput.body;
|
|
501
|
-
const doc = smithyClient.take(data, {
|
|
502
|
-
Message: [, smithyClient.expectString, `message`],
|
|
503
|
-
});
|
|
504
|
-
Object.assign(contents, doc);
|
|
505
|
-
const exception = new ResourceNotFoundException({
|
|
506
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
507
|
-
...contents,
|
|
508
|
-
});
|
|
509
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
510
|
-
};
|
|
511
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
512
|
-
const contents = smithyClient.map({});
|
|
513
|
-
const data = parsedOutput.body;
|
|
514
|
-
const doc = smithyClient.take(data, {
|
|
515
|
-
Message: [, smithyClient.expectString, `message`],
|
|
516
|
-
});
|
|
517
|
-
Object.assign(contents, doc);
|
|
518
|
-
const exception = new ThrottlingException({
|
|
519
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
520
|
-
...contents,
|
|
521
|
-
});
|
|
522
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
523
|
-
};
|
|
524
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
525
|
-
const contents = smithyClient.map({});
|
|
526
|
-
const data = parsedOutput.body;
|
|
527
|
-
const doc = smithyClient.take(data, {
|
|
528
|
-
FieldList: [, (_) => de_ValidationExceptionFieldList(_), `fieldList`],
|
|
529
|
-
Message: [, smithyClient.expectString, `message`],
|
|
530
|
-
Reason: [, smithyClient.expectString, `reason`],
|
|
531
|
-
});
|
|
532
|
-
Object.assign(contents, doc);
|
|
533
|
-
const exception = new ValidationException({
|
|
534
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
535
|
-
...contents,
|
|
536
|
-
});
|
|
537
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
538
|
-
};
|
|
539
|
-
const de_ValidationExceptionField = (output, context) => {
|
|
540
|
-
return smithyClient.take(output, {
|
|
541
|
-
Message: [, smithyClient.expectString, `message`],
|
|
542
|
-
Name: [, smithyClient.expectString, `name`],
|
|
543
|
-
});
|
|
544
|
-
};
|
|
545
|
-
const de_ValidationExceptionFieldList = (output, context) => {
|
|
546
|
-
const retVal = (output || [])
|
|
547
|
-
.filter((e) => e != null)
|
|
548
|
-
.map((entry) => {
|
|
549
|
-
return de_ValidationExceptionField(entry);
|
|
550
|
-
});
|
|
551
|
-
return retVal;
|
|
552
|
-
};
|
|
553
|
-
const deserializeMetadata = (output) => ({
|
|
554
|
-
httpStatusCode: output.statusCode,
|
|
555
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
556
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
557
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
558
|
-
});
|
|
254
|
+
|
|
255
|
+
const _ADE = "AccessDeniedException";
|
|
559
256
|
const _AF = "AdditionalFeatures";
|
|
257
|
+
const _AK = "ApiKey";
|
|
258
|
+
const _B = "Blob";
|
|
560
259
|
const _BB = "BoundingBox";
|
|
561
260
|
const _BP = "BoundedPositions";
|
|
562
261
|
const _C = "Center";
|
|
563
|
-
const _CC = "
|
|
262
|
+
const _CC = "CountryCode";
|
|
263
|
+
const _CC_ = "Cache-Control";
|
|
264
|
+
const _CCa = "CacheControl";
|
|
564
265
|
const _CD = "ContourDensity";
|
|
565
266
|
const _CL = "CropLabels";
|
|
566
267
|
const _CO = "CompactOverlay";
|
|
567
268
|
const _CS = "ColorScheme";
|
|
568
269
|
const _CT = "ContentType";
|
|
270
|
+
const _CT_ = "Content-Type";
|
|
271
|
+
const _DM = "DistanceMeters";
|
|
569
272
|
const _ET = "ETag";
|
|
273
|
+
const _FL = "FieldList";
|
|
274
|
+
const _FN = "FileName";
|
|
275
|
+
const _FS = "FontStack";
|
|
276
|
+
const _FUR = "FontUnicodeRange";
|
|
277
|
+
const _GG = "GetGlyphs";
|
|
278
|
+
const _GGR = "GetGlyphsRequest";
|
|
279
|
+
const _GGRe = "GetGlyphsResponse";
|
|
570
280
|
const _GJO = "GeoJsonOverlay";
|
|
281
|
+
const _GS = "GetSprites";
|
|
282
|
+
const _GSD = "GetStyleDescriptor";
|
|
283
|
+
const _GSDR = "GetStyleDescriptorRequest";
|
|
284
|
+
const _GSDRe = "GetStyleDescriptorResponse";
|
|
285
|
+
const _GSM = "GetStaticMap";
|
|
286
|
+
const _GSMR = "GetStaticMapRequest";
|
|
287
|
+
const _GSMRe = "GetStaticMapResponse";
|
|
288
|
+
const _GSR = "GetSpritesRequest";
|
|
289
|
+
const _GSRe = "GetSpritesResponse";
|
|
290
|
+
const _GT = "GetTile";
|
|
291
|
+
const _GTR = "GetTileRequest";
|
|
292
|
+
const _GTRe = "GetTileResponse";
|
|
571
293
|
const _H = "Height";
|
|
294
|
+
const _ISE = "InternalServerException";
|
|
572
295
|
const _K = "Key";
|
|
573
296
|
const _L = "Language";
|
|
574
297
|
const _LS = "LabelSize";
|
|
298
|
+
const _M = "Message";
|
|
299
|
+
const _N = "Name";
|
|
575
300
|
const _P = "Padding";
|
|
576
301
|
const _PB = "PricingBucket";
|
|
302
|
+
const _PLS = "PositionListString";
|
|
577
303
|
const _POI = "PointsOfInterests";
|
|
304
|
+
const _PS = "PositionString";
|
|
578
305
|
const _PV = "PoliticalView";
|
|
579
306
|
const _R = "Radius";
|
|
307
|
+
const _RNFE = "ResourceNotFoundException";
|
|
308
|
+
const _Re = "Reason";
|
|
580
309
|
const _S = "Style";
|
|
581
310
|
const _SBU = "ScaleBarUnit";
|
|
311
|
+
const _SF = "SensitiveFloat";
|
|
312
|
+
const _SI = "SensitiveInteger";
|
|
313
|
+
const _SS = "SensitiveString";
|
|
582
314
|
const _T = "Terrain";
|
|
315
|
+
const _TE = "ThrottlingException";
|
|
583
316
|
const _TM = "TravelModes";
|
|
317
|
+
const _Ti = "Tileset";
|
|
584
318
|
const _Tr = "Traffic";
|
|
319
|
+
const _V = "Variant";
|
|
320
|
+
const _VE = "ValidationException";
|
|
321
|
+
const _VEF = "ValidationExceptionField";
|
|
322
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
585
323
|
const _W = "Width";
|
|
324
|
+
const _X = "X";
|
|
325
|
+
const _Y = "Y";
|
|
586
326
|
const _Z = "Zoom";
|
|
327
|
+
const _Z_ = "Z";
|
|
587
328
|
const _af = "additional-features";
|
|
588
329
|
const _bb = "bounding-box";
|
|
589
330
|
const _bp = "bounded-positions";
|
|
590
|
-
const _c = "
|
|
591
|
-
const _cc = "cache-control";
|
|
331
|
+
const _c = "client";
|
|
592
332
|
const _cd = "contour-density";
|
|
333
|
+
const _ce = "center";
|
|
593
334
|
const _cl = "crop-labels";
|
|
594
335
|
const _co = "compact-overlay";
|
|
595
336
|
const _cs = "color-scheme";
|
|
596
|
-
const
|
|
597
|
-
const
|
|
337
|
+
const _e = "error";
|
|
338
|
+
const _fL = "fieldList";
|
|
598
339
|
const _go = "geojson-overlay";
|
|
599
340
|
const _h = "height";
|
|
341
|
+
const _hE = "httpError";
|
|
342
|
+
const _hH = "httpHeader";
|
|
343
|
+
const _hQ = "httpQuery";
|
|
344
|
+
const _ht = "http";
|
|
345
|
+
const _jN = "jsonName";
|
|
600
346
|
const _k = "key";
|
|
601
347
|
const _l = "lang";
|
|
602
348
|
const _ls = "label-size";
|
|
349
|
+
const _m = "message";
|
|
350
|
+
const _n = "name";
|
|
603
351
|
const _p = "padding";
|
|
604
352
|
const _po = "pois";
|
|
605
353
|
const _pv = "political-view";
|
|
606
354
|
const _r = "radius";
|
|
355
|
+
const _re = "reason";
|
|
607
356
|
const _s = "style";
|
|
357
|
+
const _se = "server";
|
|
358
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.geomaps";
|
|
608
359
|
const _su = "scale-unit";
|
|
609
360
|
const _t = "terrain";
|
|
610
361
|
const _tm = "travel-modes";
|
|
@@ -612,21 +363,585 @@ const _tr = "traffic";
|
|
|
612
363
|
const _w = "width";
|
|
613
364
|
const _xagpb = "x-amz-geo-pricing-bucket";
|
|
614
365
|
const _z = "zoom";
|
|
366
|
+
const n0 = "com.amazonaws.geomaps";
|
|
367
|
+
var ApiKey = [0, n0, _AK, 8, 0];
|
|
368
|
+
var CompactOverlay = [0, n0, _CO, 8, 0];
|
|
369
|
+
var CountryCode = [0, n0, _CC, 8, 0];
|
|
370
|
+
var DistanceMeters = [0, n0, _DM, 8, 1];
|
|
371
|
+
var GeoJsonOverlay = [0, n0, _GJO, 8, 0];
|
|
372
|
+
var PositionListString = [0, n0, _PLS, 8, 0];
|
|
373
|
+
var PositionString = [0, n0, _PS, 8, 0];
|
|
374
|
+
var SensitiveFloat = [0, n0, _SF, 8, 1];
|
|
375
|
+
var SensitiveInteger = [0, n0, _SI, 8, 1];
|
|
376
|
+
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
377
|
+
var AccessDeniedException = [
|
|
378
|
+
-3,
|
|
379
|
+
n0,
|
|
380
|
+
_ADE,
|
|
381
|
+
{
|
|
382
|
+
[_e]: _c,
|
|
383
|
+
[_hE]: 403,
|
|
384
|
+
},
|
|
385
|
+
[_M],
|
|
386
|
+
[
|
|
387
|
+
[
|
|
388
|
+
0,
|
|
389
|
+
{
|
|
390
|
+
[_jN]: _m,
|
|
391
|
+
},
|
|
392
|
+
],
|
|
393
|
+
],
|
|
394
|
+
];
|
|
395
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
396
|
+
var GetGlyphsRequest = [
|
|
397
|
+
3,
|
|
398
|
+
n0,
|
|
399
|
+
_GGR,
|
|
400
|
+
0,
|
|
401
|
+
[_FS, _FUR],
|
|
402
|
+
[
|
|
403
|
+
[0, 1],
|
|
404
|
+
[0, 1],
|
|
405
|
+
],
|
|
406
|
+
];
|
|
407
|
+
var GetGlyphsResponse = [
|
|
408
|
+
3,
|
|
409
|
+
n0,
|
|
410
|
+
_GGRe,
|
|
411
|
+
0,
|
|
412
|
+
[_B, _CT, _CCa, _ET],
|
|
413
|
+
[
|
|
414
|
+
[21, 16],
|
|
415
|
+
[
|
|
416
|
+
0,
|
|
417
|
+
{
|
|
418
|
+
[_hH]: _CT_,
|
|
419
|
+
},
|
|
420
|
+
],
|
|
421
|
+
[
|
|
422
|
+
0,
|
|
423
|
+
{
|
|
424
|
+
[_hH]: _CC_,
|
|
425
|
+
},
|
|
426
|
+
],
|
|
427
|
+
[
|
|
428
|
+
0,
|
|
429
|
+
{
|
|
430
|
+
[_hH]: _ET,
|
|
431
|
+
},
|
|
432
|
+
],
|
|
433
|
+
],
|
|
434
|
+
];
|
|
435
|
+
var GetSpritesRequest = [
|
|
436
|
+
3,
|
|
437
|
+
n0,
|
|
438
|
+
_GSR,
|
|
439
|
+
0,
|
|
440
|
+
[_FN, _S, _CS, _V],
|
|
441
|
+
[
|
|
442
|
+
[0, 1],
|
|
443
|
+
[0, 1],
|
|
444
|
+
[0, 1],
|
|
445
|
+
[0, 1],
|
|
446
|
+
],
|
|
447
|
+
];
|
|
448
|
+
var GetSpritesResponse = [
|
|
449
|
+
3,
|
|
450
|
+
n0,
|
|
451
|
+
_GSRe,
|
|
452
|
+
0,
|
|
453
|
+
[_B, _CT, _CCa, _ET],
|
|
454
|
+
[
|
|
455
|
+
[21, 16],
|
|
456
|
+
[
|
|
457
|
+
0,
|
|
458
|
+
{
|
|
459
|
+
[_hH]: _CT_,
|
|
460
|
+
},
|
|
461
|
+
],
|
|
462
|
+
[
|
|
463
|
+
0,
|
|
464
|
+
{
|
|
465
|
+
[_hH]: _CC_,
|
|
466
|
+
},
|
|
467
|
+
],
|
|
468
|
+
[
|
|
469
|
+
0,
|
|
470
|
+
{
|
|
471
|
+
[_hH]: _ET,
|
|
472
|
+
},
|
|
473
|
+
],
|
|
474
|
+
],
|
|
475
|
+
];
|
|
476
|
+
var GetStaticMapRequest = [
|
|
477
|
+
3,
|
|
478
|
+
n0,
|
|
479
|
+
_GSMR,
|
|
480
|
+
0,
|
|
481
|
+
[_BB, _BP, _C, _CS, _CO, _CL, _GJO, _H, _K, _LS, _L, _P, _PV, _POI, _R, _FN, _SBU, _S, _W, _Z],
|
|
482
|
+
[
|
|
483
|
+
[
|
|
484
|
+
() => PositionListString,
|
|
485
|
+
{
|
|
486
|
+
[_hQ]: _bb,
|
|
487
|
+
},
|
|
488
|
+
],
|
|
489
|
+
[
|
|
490
|
+
() => PositionListString,
|
|
491
|
+
{
|
|
492
|
+
[_hQ]: _bp,
|
|
493
|
+
},
|
|
494
|
+
],
|
|
495
|
+
[
|
|
496
|
+
() => PositionString,
|
|
497
|
+
{
|
|
498
|
+
[_hQ]: _ce,
|
|
499
|
+
},
|
|
500
|
+
],
|
|
501
|
+
[
|
|
502
|
+
0,
|
|
503
|
+
{
|
|
504
|
+
[_hQ]: _cs,
|
|
505
|
+
},
|
|
506
|
+
],
|
|
507
|
+
[
|
|
508
|
+
() => CompactOverlay,
|
|
509
|
+
{
|
|
510
|
+
[_hQ]: _co,
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
[
|
|
514
|
+
2,
|
|
515
|
+
{
|
|
516
|
+
[_hQ]: _cl,
|
|
517
|
+
},
|
|
518
|
+
],
|
|
519
|
+
[
|
|
520
|
+
() => GeoJsonOverlay,
|
|
521
|
+
{
|
|
522
|
+
[_hQ]: _go,
|
|
523
|
+
},
|
|
524
|
+
],
|
|
525
|
+
[
|
|
526
|
+
() => SensitiveInteger,
|
|
527
|
+
{
|
|
528
|
+
[_hQ]: _h,
|
|
529
|
+
},
|
|
530
|
+
],
|
|
531
|
+
[
|
|
532
|
+
() => ApiKey,
|
|
533
|
+
{
|
|
534
|
+
[_hQ]: _k,
|
|
535
|
+
},
|
|
536
|
+
],
|
|
537
|
+
[
|
|
538
|
+
0,
|
|
539
|
+
{
|
|
540
|
+
[_hQ]: _ls,
|
|
541
|
+
},
|
|
542
|
+
],
|
|
543
|
+
[
|
|
544
|
+
0,
|
|
545
|
+
{
|
|
546
|
+
[_hQ]: _l,
|
|
547
|
+
},
|
|
548
|
+
],
|
|
549
|
+
[
|
|
550
|
+
() => SensitiveInteger,
|
|
551
|
+
{
|
|
552
|
+
[_hQ]: _p,
|
|
553
|
+
},
|
|
554
|
+
],
|
|
555
|
+
[
|
|
556
|
+
() => CountryCode,
|
|
557
|
+
{
|
|
558
|
+
[_hQ]: _pv,
|
|
559
|
+
},
|
|
560
|
+
],
|
|
561
|
+
[
|
|
562
|
+
0,
|
|
563
|
+
{
|
|
564
|
+
[_hQ]: _po,
|
|
565
|
+
},
|
|
566
|
+
],
|
|
567
|
+
[
|
|
568
|
+
() => DistanceMeters,
|
|
569
|
+
{
|
|
570
|
+
[_hQ]: _r,
|
|
571
|
+
},
|
|
572
|
+
],
|
|
573
|
+
[0, 1],
|
|
574
|
+
[
|
|
575
|
+
0,
|
|
576
|
+
{
|
|
577
|
+
[_hQ]: _su,
|
|
578
|
+
},
|
|
579
|
+
],
|
|
580
|
+
[
|
|
581
|
+
0,
|
|
582
|
+
{
|
|
583
|
+
[_hQ]: _s,
|
|
584
|
+
},
|
|
585
|
+
],
|
|
586
|
+
[
|
|
587
|
+
() => SensitiveInteger,
|
|
588
|
+
{
|
|
589
|
+
[_hQ]: _w,
|
|
590
|
+
},
|
|
591
|
+
],
|
|
592
|
+
[
|
|
593
|
+
() => SensitiveFloat,
|
|
594
|
+
{
|
|
595
|
+
[_hQ]: _z,
|
|
596
|
+
},
|
|
597
|
+
],
|
|
598
|
+
],
|
|
599
|
+
];
|
|
600
|
+
var GetStaticMapResponse = [
|
|
601
|
+
3,
|
|
602
|
+
n0,
|
|
603
|
+
_GSMRe,
|
|
604
|
+
0,
|
|
605
|
+
[_B, _CT, _CCa, _ET, _PB],
|
|
606
|
+
[
|
|
607
|
+
[21, 16],
|
|
608
|
+
[
|
|
609
|
+
0,
|
|
610
|
+
{
|
|
611
|
+
[_hH]: _CT_,
|
|
612
|
+
},
|
|
613
|
+
],
|
|
614
|
+
[
|
|
615
|
+
0,
|
|
616
|
+
{
|
|
617
|
+
[_hH]: _CC_,
|
|
618
|
+
},
|
|
619
|
+
],
|
|
620
|
+
[
|
|
621
|
+
0,
|
|
622
|
+
{
|
|
623
|
+
[_hH]: _ET,
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
[
|
|
627
|
+
0,
|
|
628
|
+
{
|
|
629
|
+
[_hH]: _xagpb,
|
|
630
|
+
},
|
|
631
|
+
],
|
|
632
|
+
],
|
|
633
|
+
];
|
|
634
|
+
var GetStyleDescriptorRequest = [
|
|
635
|
+
3,
|
|
636
|
+
n0,
|
|
637
|
+
_GSDR,
|
|
638
|
+
0,
|
|
639
|
+
[_S, _CS, _PV, _T, _CD, _Tr, _TM, _K],
|
|
640
|
+
[
|
|
641
|
+
[0, 1],
|
|
642
|
+
[
|
|
643
|
+
0,
|
|
644
|
+
{
|
|
645
|
+
[_hQ]: _cs,
|
|
646
|
+
},
|
|
647
|
+
],
|
|
648
|
+
[
|
|
649
|
+
() => CountryCode,
|
|
650
|
+
{
|
|
651
|
+
[_hQ]: _pv,
|
|
652
|
+
},
|
|
653
|
+
],
|
|
654
|
+
[
|
|
655
|
+
0,
|
|
656
|
+
{
|
|
657
|
+
[_hQ]: _t,
|
|
658
|
+
},
|
|
659
|
+
],
|
|
660
|
+
[
|
|
661
|
+
0,
|
|
662
|
+
{
|
|
663
|
+
[_hQ]: _cd,
|
|
664
|
+
},
|
|
665
|
+
],
|
|
666
|
+
[
|
|
667
|
+
0,
|
|
668
|
+
{
|
|
669
|
+
[_hQ]: _tr,
|
|
670
|
+
},
|
|
671
|
+
],
|
|
672
|
+
[
|
|
673
|
+
64 | 0,
|
|
674
|
+
{
|
|
675
|
+
[_hQ]: _tm,
|
|
676
|
+
},
|
|
677
|
+
],
|
|
678
|
+
[
|
|
679
|
+
() => ApiKey,
|
|
680
|
+
{
|
|
681
|
+
[_hQ]: _k,
|
|
682
|
+
},
|
|
683
|
+
],
|
|
684
|
+
],
|
|
685
|
+
];
|
|
686
|
+
var GetStyleDescriptorResponse = [
|
|
687
|
+
3,
|
|
688
|
+
n0,
|
|
689
|
+
_GSDRe,
|
|
690
|
+
0,
|
|
691
|
+
[_B, _CT, _CCa, _ET],
|
|
692
|
+
[
|
|
693
|
+
[21, 16],
|
|
694
|
+
[
|
|
695
|
+
0,
|
|
696
|
+
{
|
|
697
|
+
[_hH]: _CT_,
|
|
698
|
+
},
|
|
699
|
+
],
|
|
700
|
+
[
|
|
701
|
+
0,
|
|
702
|
+
{
|
|
703
|
+
[_hH]: _CC_,
|
|
704
|
+
},
|
|
705
|
+
],
|
|
706
|
+
[
|
|
707
|
+
0,
|
|
708
|
+
{
|
|
709
|
+
[_hH]: _ET,
|
|
710
|
+
},
|
|
711
|
+
],
|
|
712
|
+
],
|
|
713
|
+
];
|
|
714
|
+
var GetTileRequest = [
|
|
715
|
+
3,
|
|
716
|
+
n0,
|
|
717
|
+
_GTR,
|
|
718
|
+
0,
|
|
719
|
+
[_AF, _Ti, _Z_, _X, _Y, _K],
|
|
720
|
+
[
|
|
721
|
+
[
|
|
722
|
+
64 | 0,
|
|
723
|
+
{
|
|
724
|
+
[_hQ]: _af,
|
|
725
|
+
},
|
|
726
|
+
],
|
|
727
|
+
[0, 1],
|
|
728
|
+
[() => SensitiveString, 1],
|
|
729
|
+
[() => SensitiveString, 1],
|
|
730
|
+
[() => SensitiveString, 1],
|
|
731
|
+
[
|
|
732
|
+
() => ApiKey,
|
|
733
|
+
{
|
|
734
|
+
[_hQ]: _k,
|
|
735
|
+
},
|
|
736
|
+
],
|
|
737
|
+
],
|
|
738
|
+
];
|
|
739
|
+
var GetTileResponse = [
|
|
740
|
+
3,
|
|
741
|
+
n0,
|
|
742
|
+
_GTRe,
|
|
743
|
+
0,
|
|
744
|
+
[_B, _CT, _CCa, _ET, _PB],
|
|
745
|
+
[
|
|
746
|
+
[21, 16],
|
|
747
|
+
[
|
|
748
|
+
0,
|
|
749
|
+
{
|
|
750
|
+
[_hH]: _CT_,
|
|
751
|
+
},
|
|
752
|
+
],
|
|
753
|
+
[
|
|
754
|
+
0,
|
|
755
|
+
{
|
|
756
|
+
[_hH]: _CC_,
|
|
757
|
+
},
|
|
758
|
+
],
|
|
759
|
+
[
|
|
760
|
+
0,
|
|
761
|
+
{
|
|
762
|
+
[_hH]: _ET,
|
|
763
|
+
},
|
|
764
|
+
],
|
|
765
|
+
[
|
|
766
|
+
0,
|
|
767
|
+
{
|
|
768
|
+
[_hH]: _xagpb,
|
|
769
|
+
},
|
|
770
|
+
],
|
|
771
|
+
],
|
|
772
|
+
];
|
|
773
|
+
var InternalServerException = [
|
|
774
|
+
-3,
|
|
775
|
+
n0,
|
|
776
|
+
_ISE,
|
|
777
|
+
{
|
|
778
|
+
[_e]: _se,
|
|
779
|
+
[_hE]: 500,
|
|
780
|
+
},
|
|
781
|
+
[_M],
|
|
782
|
+
[
|
|
783
|
+
[
|
|
784
|
+
0,
|
|
785
|
+
{
|
|
786
|
+
[_jN]: _m,
|
|
787
|
+
},
|
|
788
|
+
],
|
|
789
|
+
],
|
|
790
|
+
];
|
|
791
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
792
|
+
var ResourceNotFoundException = [
|
|
793
|
+
-3,
|
|
794
|
+
n0,
|
|
795
|
+
_RNFE,
|
|
796
|
+
{
|
|
797
|
+
[_e]: _c,
|
|
798
|
+
[_hE]: 404,
|
|
799
|
+
},
|
|
800
|
+
[_M],
|
|
801
|
+
[
|
|
802
|
+
[
|
|
803
|
+
0,
|
|
804
|
+
{
|
|
805
|
+
[_jN]: _m,
|
|
806
|
+
},
|
|
807
|
+
],
|
|
808
|
+
],
|
|
809
|
+
];
|
|
810
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
811
|
+
var ThrottlingException = [
|
|
812
|
+
-3,
|
|
813
|
+
n0,
|
|
814
|
+
_TE,
|
|
815
|
+
{
|
|
816
|
+
[_e]: _c,
|
|
817
|
+
[_hE]: 429,
|
|
818
|
+
},
|
|
819
|
+
[_M],
|
|
820
|
+
[
|
|
821
|
+
[
|
|
822
|
+
0,
|
|
823
|
+
{
|
|
824
|
+
[_jN]: _m,
|
|
825
|
+
},
|
|
826
|
+
],
|
|
827
|
+
],
|
|
828
|
+
];
|
|
829
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
830
|
+
var ValidationException = [
|
|
831
|
+
-3,
|
|
832
|
+
n0,
|
|
833
|
+
_VE,
|
|
834
|
+
{
|
|
835
|
+
[_e]: _c,
|
|
836
|
+
[_hE]: 400,
|
|
837
|
+
},
|
|
838
|
+
[_M, _Re, _FL],
|
|
839
|
+
[
|
|
840
|
+
[
|
|
841
|
+
0,
|
|
842
|
+
{
|
|
843
|
+
[_jN]: _m,
|
|
844
|
+
},
|
|
845
|
+
],
|
|
846
|
+
[
|
|
847
|
+
0,
|
|
848
|
+
{
|
|
849
|
+
[_jN]: _re,
|
|
850
|
+
},
|
|
851
|
+
],
|
|
852
|
+
[
|
|
853
|
+
() => ValidationExceptionFieldList,
|
|
854
|
+
{
|
|
855
|
+
[_jN]: _fL,
|
|
856
|
+
},
|
|
857
|
+
],
|
|
858
|
+
],
|
|
859
|
+
];
|
|
860
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
861
|
+
var ValidationExceptionField = [
|
|
862
|
+
3,
|
|
863
|
+
n0,
|
|
864
|
+
_VEF,
|
|
865
|
+
0,
|
|
866
|
+
[_N, _M],
|
|
867
|
+
[
|
|
868
|
+
[
|
|
869
|
+
0,
|
|
870
|
+
{
|
|
871
|
+
[_jN]: _n,
|
|
872
|
+
},
|
|
873
|
+
],
|
|
874
|
+
[
|
|
875
|
+
0,
|
|
876
|
+
{
|
|
877
|
+
[_jN]: _m,
|
|
878
|
+
},
|
|
879
|
+
],
|
|
880
|
+
],
|
|
881
|
+
];
|
|
882
|
+
var GeoMapsServiceException = [-3, _sm, "GeoMapsServiceException", 0, [], []];
|
|
883
|
+
schema.TypeRegistry.for(_sm).registerError(GeoMapsServiceException, GeoMapsServiceException$1);
|
|
884
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, [() => ValidationExceptionField, 0]];
|
|
885
|
+
var GetGlyphs = [
|
|
886
|
+
9,
|
|
887
|
+
n0,
|
|
888
|
+
_GG,
|
|
889
|
+
{
|
|
890
|
+
[_ht]: ["GET", "/glyphs/{FontStack}/{FontUnicodeRange}", 200],
|
|
891
|
+
},
|
|
892
|
+
() => GetGlyphsRequest,
|
|
893
|
+
() => GetGlyphsResponse,
|
|
894
|
+
];
|
|
895
|
+
var GetSprites = [
|
|
896
|
+
9,
|
|
897
|
+
n0,
|
|
898
|
+
_GS,
|
|
899
|
+
{
|
|
900
|
+
[_ht]: ["GET", "/styles/{Style}/{ColorScheme}/{Variant}/sprites/{FileName}", 200],
|
|
901
|
+
},
|
|
902
|
+
() => GetSpritesRequest,
|
|
903
|
+
() => GetSpritesResponse,
|
|
904
|
+
];
|
|
905
|
+
var GetStaticMap = [
|
|
906
|
+
9,
|
|
907
|
+
n0,
|
|
908
|
+
_GSM,
|
|
909
|
+
{
|
|
910
|
+
[_ht]: ["GET", "/static/{FileName}", 200],
|
|
911
|
+
},
|
|
912
|
+
() => GetStaticMapRequest,
|
|
913
|
+
() => GetStaticMapResponse,
|
|
914
|
+
];
|
|
915
|
+
var GetStyleDescriptor = [
|
|
916
|
+
9,
|
|
917
|
+
n0,
|
|
918
|
+
_GSD,
|
|
919
|
+
{
|
|
920
|
+
[_ht]: ["GET", "/styles/{Style}/descriptor", 200],
|
|
921
|
+
},
|
|
922
|
+
() => GetStyleDescriptorRequest,
|
|
923
|
+
() => GetStyleDescriptorResponse,
|
|
924
|
+
];
|
|
925
|
+
var GetTile = [
|
|
926
|
+
9,
|
|
927
|
+
n0,
|
|
928
|
+
_GT,
|
|
929
|
+
{
|
|
930
|
+
[_ht]: ["GET", "/tiles/{Tileset}/{Z}/{X}/{Y}", 200],
|
|
931
|
+
},
|
|
932
|
+
() => GetTileRequest,
|
|
933
|
+
() => GetTileResponse,
|
|
934
|
+
];
|
|
615
935
|
|
|
616
936
|
class GetGlyphsCommand extends smithyClient.Command
|
|
617
937
|
.classBuilder()
|
|
618
938
|
.ep(commonParams)
|
|
619
939
|
.m(function (Command, cs, config, o) {
|
|
620
|
-
return [
|
|
621
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
622
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
623
|
-
];
|
|
940
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
624
941
|
})
|
|
625
942
|
.s("MapsService", "GetGlyphs", {})
|
|
626
943
|
.n("GeoMapsClient", "GetGlyphsCommand")
|
|
627
|
-
.
|
|
628
|
-
.ser(se_GetGlyphsCommand)
|
|
629
|
-
.de(de_GetGlyphsCommand)
|
|
944
|
+
.sc(GetGlyphs)
|
|
630
945
|
.build() {
|
|
631
946
|
}
|
|
632
947
|
|
|
@@ -634,16 +949,11 @@ class GetSpritesCommand extends smithyClient.Command
|
|
|
634
949
|
.classBuilder()
|
|
635
950
|
.ep(commonParams)
|
|
636
951
|
.m(function (Command, cs, config, o) {
|
|
637
|
-
return [
|
|
638
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
639
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
640
|
-
];
|
|
952
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
641
953
|
})
|
|
642
954
|
.s("MapsService", "GetSprites", {})
|
|
643
955
|
.n("GeoMapsClient", "GetSpritesCommand")
|
|
644
|
-
.
|
|
645
|
-
.ser(se_GetSpritesCommand)
|
|
646
|
-
.de(de_GetSpritesCommand)
|
|
956
|
+
.sc(GetSprites)
|
|
647
957
|
.build() {
|
|
648
958
|
}
|
|
649
959
|
|
|
@@ -651,16 +961,11 @@ class GetStaticMapCommand extends smithyClient.Command
|
|
|
651
961
|
.classBuilder()
|
|
652
962
|
.ep(commonParams)
|
|
653
963
|
.m(function (Command, cs, config, o) {
|
|
654
|
-
return [
|
|
655
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
656
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
657
|
-
];
|
|
964
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
658
965
|
})
|
|
659
966
|
.s("MapsService", "GetStaticMap", {})
|
|
660
967
|
.n("GeoMapsClient", "GetStaticMapCommand")
|
|
661
|
-
.
|
|
662
|
-
.ser(se_GetStaticMapCommand)
|
|
663
|
-
.de(de_GetStaticMapCommand)
|
|
968
|
+
.sc(GetStaticMap)
|
|
664
969
|
.build() {
|
|
665
970
|
}
|
|
666
971
|
|
|
@@ -668,16 +973,11 @@ class GetStyleDescriptorCommand extends smithyClient.Command
|
|
|
668
973
|
.classBuilder()
|
|
669
974
|
.ep(commonParams)
|
|
670
975
|
.m(function (Command, cs, config, o) {
|
|
671
|
-
return [
|
|
672
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
673
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
674
|
-
];
|
|
976
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
675
977
|
})
|
|
676
978
|
.s("MapsService", "GetStyleDescriptor", {})
|
|
677
979
|
.n("GeoMapsClient", "GetStyleDescriptorCommand")
|
|
678
|
-
.
|
|
679
|
-
.ser(se_GetStyleDescriptorCommand)
|
|
680
|
-
.de(de_GetStyleDescriptorCommand)
|
|
980
|
+
.sc(GetStyleDescriptor)
|
|
681
981
|
.build() {
|
|
682
982
|
}
|
|
683
983
|
|
|
@@ -685,16 +985,11 @@ class GetTileCommand extends smithyClient.Command
|
|
|
685
985
|
.classBuilder()
|
|
686
986
|
.ep(commonParams)
|
|
687
987
|
.m(function (Command, cs, config, o) {
|
|
688
|
-
return [
|
|
689
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
690
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
691
|
-
];
|
|
988
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
692
989
|
})
|
|
693
990
|
.s("MapsService", "GetTile", {})
|
|
694
991
|
.n("GeoMapsClient", "GetTileCommand")
|
|
695
|
-
.
|
|
696
|
-
.ser(se_GetTileCommand)
|
|
697
|
-
.de(de_GetTileCommand)
|
|
992
|
+
.sc(GetTile)
|
|
698
993
|
.build() {
|
|
699
994
|
}
|
|
700
995
|
|
|
@@ -717,32 +1012,29 @@ Object.defineProperty(exports, "__Client", {
|
|
|
717
1012
|
enumerable: true,
|
|
718
1013
|
get: function () { return smithyClient.Client; }
|
|
719
1014
|
});
|
|
720
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1015
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
721
1016
|
exports.ColorScheme = ColorScheme;
|
|
722
1017
|
exports.ContourDensity = ContourDensity;
|
|
723
1018
|
exports.GeoMaps = GeoMaps;
|
|
724
1019
|
exports.GeoMapsClient = GeoMapsClient;
|
|
725
|
-
exports.GeoMapsServiceException = GeoMapsServiceException;
|
|
1020
|
+
exports.GeoMapsServiceException = GeoMapsServiceException$1;
|
|
726
1021
|
exports.GetGlyphsCommand = GetGlyphsCommand;
|
|
727
1022
|
exports.GetSpritesCommand = GetSpritesCommand;
|
|
728
1023
|
exports.GetStaticMapCommand = GetStaticMapCommand;
|
|
729
|
-
exports.GetStaticMapRequestFilterSensitiveLog = GetStaticMapRequestFilterSensitiveLog;
|
|
730
1024
|
exports.GetStyleDescriptorCommand = GetStyleDescriptorCommand;
|
|
731
|
-
exports.GetStyleDescriptorRequestFilterSensitiveLog = GetStyleDescriptorRequestFilterSensitiveLog;
|
|
732
1025
|
exports.GetTileCommand = GetTileCommand;
|
|
733
|
-
exports.
|
|
734
|
-
exports.InternalServerException = InternalServerException;
|
|
1026
|
+
exports.InternalServerException = InternalServerException$1;
|
|
735
1027
|
exports.LabelSize = LabelSize;
|
|
736
1028
|
exports.MapFeatureMode = MapFeatureMode;
|
|
737
1029
|
exports.MapStyle = MapStyle;
|
|
738
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1030
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
739
1031
|
exports.ScaleBarUnit = ScaleBarUnit;
|
|
740
1032
|
exports.StaticMapStyle = StaticMapStyle;
|
|
741
1033
|
exports.Terrain = Terrain;
|
|
742
|
-
exports.ThrottlingException = ThrottlingException;
|
|
1034
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
743
1035
|
exports.TileAdditionalFeature = TileAdditionalFeature;
|
|
744
1036
|
exports.Traffic = Traffic;
|
|
745
1037
|
exports.TravelMode = TravelMode;
|
|
746
|
-
exports.ValidationException = ValidationException;
|
|
1038
|
+
exports.ValidationException = ValidationException$1;
|
|
747
1039
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
748
1040
|
exports.Variant = Variant;
|