@aws-sdk/client-geo-maps 3.910.0 → 3.913.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +29 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +12 -0
- package/dist-types/commands/GetGlyphsCommand.d.ts +1 -1
- package/dist-types/commands/GetSpritesCommand.d.ts +1 -1
- package/dist-types/commands/GetStaticMapCommand.d.ts +1 -1
- package/dist-types/commands/GetStyleDescriptorCommand.d.ts +7 -1
- package/dist-types/commands/GetTileCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +69 -4
- package/dist-types/ts3.4/models/models_0.d.ts +22 -0
- package/package.json +5 -5
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const y = "required", z = "fn", A = "argv", B = "ref", C = "url", D = "properties", E = "headers";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [y]: true, "default": false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [y]: true, "default": false, "type": "boolean" }, i = { [y]: false, "type": "string" }, j = { [B]: "Endpoint" }, k = { [z]: c, [A]: [{ [B]: "UseFIPS" }, true] }, l = { [z]: c, [A]: [{ [B]: "UseDualStack" }, true] }, m = {}, n = { [z]: "stringEquals", [A]: [{ [z]: "getAttr", [A]: [{ [B]: g }, "name"] }, "aws"] }, o = { [z]: c, [A]: [{ [B]: "UseFIPS" }, false] }, p = { [z]: c, [A]: [{ [B]: "UseDualStack" }, false] }, q = { [C]: "https://maps.geo.{Region}.{PartitionResult#dnsSuffix}/v2", [D]: {}, [E]: {} }, r = { [C]: "https://maps.geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}/v2", [D]: {}, [E]: {} }, s = { [C]: "https://maps.geo-fips.{Region}.{PartitionResult#dnsSuffix}/v2", [D]: {}, [E]: {} }, t = { [C]: "https://maps.geo.{Region}.{PartitionResult#dualStackDnsSuffix}/v2", [D]: {}, [E]: {} }, u = { [z]: "stringEquals", [A]: [{ [z]: "getAttr", [A]: [{ [B]: g }, "name"] }, "aws-us-gov"] }, v = { [z]: "getAttr", [A]: [{ [B]: g }, "supportsFIPS"] }, w = { [z]: c, [A]: [true, { [z]: "getAttr", [A]: [{ [B]: g }, "supportsDualStack"] }] }, x = [{ [B]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { UseDualStack: h, UseFIPS: h, Endpoint: i, Region: i }, rules: [{ conditions: [{ [z]: b, [A]: [j] }], rules: [{ conditions: [k], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [l], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { [C]: j, [D]: m, [E]: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [z]: b, [A]: x }], rules: [{ conditions: [{ [z]: "aws.partition", [A]: x, assign: g }], rules: [{ conditions: [n, o, p], endpoint: q, type: e }, { conditions: [n, k, l], endpoint: r, type: e }, { conditions: [n, k, p], endpoint: s, type: e }, { conditions: [n, o, l], endpoint: t, type: e }, { conditions: [u, o, p], endpoint: q, type: e }, { conditions: [u, k, l], endpoint: r, type: e }, { conditions: [u, k, p], endpoint: s, type: e }, { conditions: [u, o, l], endpoint: t, type: e }, { conditions: [k, l], rules: [{ conditions: [{ [z]: c, [A]: [a, v] }, w], rules: [{ endpoint: { [C]: "https://geo-maps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [D]: m, [E]: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [k, p], rules: [{ conditions: [{ [z]: c, [A]: [v, a] }], rules: [{ endpoint: { [C]: "https://geo-maps-fips.{Region}.{PartitionResult#dnsSuffix}", [D]: m, [E]: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [o, l], rules: [{ conditions: [w], rules: [{ endpoint: { [C]: "https://geo-maps.{Region}.{PartitionResult#dualStackDnsSuffix}", [D]: m, [E]: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { [C]: "https://geo-maps.{Region}.{PartitionResult#dnsSuffix}", [D]: m, [E]: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -135,6 +135,9 @@ const ColorScheme = {
|
|
|
135
135
|
DARK: "Dark",
|
|
136
136
|
LIGHT: "Light",
|
|
137
137
|
};
|
|
138
|
+
const ContourDensity = {
|
|
139
|
+
MEDIUM: "Medium",
|
|
140
|
+
};
|
|
138
141
|
const MapStyle = {
|
|
139
142
|
HYBRID: "Hybrid",
|
|
140
143
|
MONOCHROME: "Monochrome",
|
|
@@ -218,6 +221,16 @@ class ValidationException extends GeoMapsServiceException {
|
|
|
218
221
|
this.FieldList = opts.FieldList;
|
|
219
222
|
}
|
|
220
223
|
}
|
|
224
|
+
const Terrain = {
|
|
225
|
+
HILLSHADE: "Hillshade",
|
|
226
|
+
};
|
|
227
|
+
const Traffic = {
|
|
228
|
+
ALL: "All",
|
|
229
|
+
};
|
|
230
|
+
const TravelMode = {
|
|
231
|
+
TRANSIT: "Transit",
|
|
232
|
+
TRUCK: "Truck",
|
|
233
|
+
};
|
|
221
234
|
class ResourceNotFoundException extends GeoMapsServiceException {
|
|
222
235
|
name = "ResourceNotFoundException";
|
|
223
236
|
$fault = "client";
|
|
@@ -320,6 +333,10 @@ const se_GetStyleDescriptorCommand = async (input, context) => {
|
|
|
320
333
|
const query = smithyClient.map({
|
|
321
334
|
[_cs]: [, input[_CS]],
|
|
322
335
|
[_pv]: [, input[_PV]],
|
|
336
|
+
[_t]: [, input[_T]],
|
|
337
|
+
[_cd]: [, input[_CD]],
|
|
338
|
+
[_tr]: [, input[_Tr]],
|
|
339
|
+
[_tm]: [() => input.TravelModes !== void 0, () => input[_TM] || []],
|
|
323
340
|
[_k]: [, input[_K]],
|
|
324
341
|
});
|
|
325
342
|
let body;
|
|
@@ -536,6 +553,7 @@ const _BB = "BoundingBox";
|
|
|
536
553
|
const _BP = "BoundedPositions";
|
|
537
554
|
const _C = "Center";
|
|
538
555
|
const _CC = "CacheControl";
|
|
556
|
+
const _CD = "ContourDensity";
|
|
539
557
|
const _CL = "CropLabels";
|
|
540
558
|
const _CO = "CompactOverlay";
|
|
541
559
|
const _CS = "ColorScheme";
|
|
@@ -553,12 +571,16 @@ const _PV = "PoliticalView";
|
|
|
553
571
|
const _R = "Radius";
|
|
554
572
|
const _S = "Style";
|
|
555
573
|
const _SBU = "ScaleBarUnit";
|
|
574
|
+
const _T = "Terrain";
|
|
575
|
+
const _TM = "TravelModes";
|
|
576
|
+
const _Tr = "Traffic";
|
|
556
577
|
const _W = "Width";
|
|
557
578
|
const _Z = "Zoom";
|
|
558
579
|
const _bb = "bounding-box";
|
|
559
580
|
const _bp = "bounded-positions";
|
|
560
581
|
const _c = "center";
|
|
561
582
|
const _cc = "cache-control";
|
|
583
|
+
const _cd = "contour-density";
|
|
562
584
|
const _cl = "crop-labels";
|
|
563
585
|
const _co = "compact-overlay";
|
|
564
586
|
const _cs = "color-scheme";
|
|
@@ -575,6 +597,9 @@ const _pv = "political-view";
|
|
|
575
597
|
const _r = "radius";
|
|
576
598
|
const _s = "style";
|
|
577
599
|
const _su = "scale-unit";
|
|
600
|
+
const _t = "terrain";
|
|
601
|
+
const _tm = "travel-modes";
|
|
602
|
+
const _tr = "traffic";
|
|
578
603
|
const _w = "width";
|
|
579
604
|
const _xagpb = "x-amz-geo-pricing-bucket";
|
|
580
605
|
const _z = "zoom";
|
|
@@ -685,6 +710,7 @@ Object.defineProperty(exports, "__Client", {
|
|
|
685
710
|
});
|
|
686
711
|
exports.AccessDeniedException = AccessDeniedException;
|
|
687
712
|
exports.ColorScheme = ColorScheme;
|
|
713
|
+
exports.ContourDensity = ContourDensity;
|
|
688
714
|
exports.GeoMaps = GeoMaps;
|
|
689
715
|
exports.GeoMapsClient = GeoMapsClient;
|
|
690
716
|
exports.GeoMapsServiceException = GeoMapsServiceException;
|
|
@@ -703,7 +729,10 @@ exports.MapStyle = MapStyle;
|
|
|
703
729
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
704
730
|
exports.ScaleBarUnit = ScaleBarUnit;
|
|
705
731
|
exports.StaticMapStyle = StaticMapStyle;
|
|
732
|
+
exports.Terrain = Terrain;
|
|
706
733
|
exports.ThrottlingException = ThrottlingException;
|
|
734
|
+
exports.Traffic = Traffic;
|
|
735
|
+
exports.TravelMode = TravelMode;
|
|
707
736
|
exports.ValidationException = ValidationException;
|
|
708
737
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
709
738
|
exports.Variant = Variant;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const y = "required", z = "fn", A = "argv", B = "ref", C = "url", D = "properties", E = "headers";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [y]: true, "default": false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [y]: true, "default": false, "type": "boolean" }, i = { [y]: false, "type": "string" }, j = { [B]: "Endpoint" }, k = { [z]: c, [A]: [{ [B]: "UseFIPS" }, true] }, l = { [z]: c, [A]: [{ [B]: "UseDualStack" }, true] }, m = {}, n = { [z]: "stringEquals", [A]: [{ [z]: "getAttr", [A]: [{ [B]: g }, "name"] }, "aws"] }, o = { [z]: c, [A]: [{ [B]: "UseFIPS" }, false] }, p = { [z]: c, [A]: [{ [B]: "UseDualStack" }, false] }, q = { [C]: "https://maps.geo.{Region}.{PartitionResult#dnsSuffix}/v2", [D]: {}, [E]: {} }, r = { [C]: "https://maps.geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}/v2", [D]: {}, [E]: {} }, s = { [C]: "https://maps.geo-fips.{Region}.{PartitionResult#dnsSuffix}/v2", [D]: {}, [E]: {} }, t = { [C]: "https://maps.geo.{Region}.{PartitionResult#dualStackDnsSuffix}/v2", [D]: {}, [E]: {} }, u = { [z]: "stringEquals", [A]: [{ [z]: "getAttr", [A]: [{ [B]: g }, "name"] }, "aws-us-gov"] }, v = { [z]: "getAttr", [A]: [{ [B]: g }, "supportsFIPS"] }, w = { [z]: c, [A]: [true, { [z]: "getAttr", [A]: [{ [B]: g }, "supportsDualStack"] }] }, x = [{ [B]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { UseDualStack: h, UseFIPS: h, Endpoint: i, Region: i }, rules: [{ conditions: [{ [z]: b, [A]: [j] }], rules: [{ conditions: [k], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [l], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { [C]: j, [D]: m, [E]: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [z]: b, [A]: x }], rules: [{ conditions: [{ [z]: "aws.partition", [A]: x, assign: g }], rules: [{ conditions: [n, o, p], endpoint: q, type: e }, { conditions: [n, k, l], endpoint: r, type: e }, { conditions: [n, k, p], endpoint: s, type: e }, { conditions: [n, o, l], endpoint: t, type: e }, { conditions: [u, o, p], endpoint: q, type: e }, { conditions: [u, k, l], endpoint: r, type: e }, { conditions: [u, k, p], endpoint: s, type: e }, { conditions: [u, o, l], endpoint: t, type: e }, { conditions: [k, l], rules: [{ conditions: [{ [z]: c, [A]: [a, v] }, w], rules: [{ endpoint: { [C]: "https://geo-maps-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [D]: m, [E]: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [k, p], rules: [{ conditions: [{ [z]: c, [A]: [v, a] }], rules: [{ endpoint: { [C]: "https://geo-maps-fips.{Region}.{PartitionResult#dnsSuffix}", [D]: m, [E]: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [o, l], rules: [{ conditions: [w], rules: [{ endpoint: { [C]: "https://geo-maps.{Region}.{PartitionResult#dualStackDnsSuffix}", [D]: m, [E]: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { [C]: "https://geo-maps.{Region}.{PartitionResult#dnsSuffix}", [D]: m, [E]: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -18,6 +18,9 @@ export const ColorScheme = {
|
|
|
18
18
|
DARK: "Dark",
|
|
19
19
|
LIGHT: "Light",
|
|
20
20
|
};
|
|
21
|
+
export const ContourDensity = {
|
|
22
|
+
MEDIUM: "Medium",
|
|
23
|
+
};
|
|
21
24
|
export const MapStyle = {
|
|
22
25
|
HYBRID: "Hybrid",
|
|
23
26
|
MONOCHROME: "Monochrome",
|
|
@@ -101,6 +104,16 @@ export class ValidationException extends __BaseException {
|
|
|
101
104
|
this.FieldList = opts.FieldList;
|
|
102
105
|
}
|
|
103
106
|
}
|
|
107
|
+
export const Terrain = {
|
|
108
|
+
HILLSHADE: "Hillshade",
|
|
109
|
+
};
|
|
110
|
+
export const Traffic = {
|
|
111
|
+
ALL: "All",
|
|
112
|
+
};
|
|
113
|
+
export const TravelMode = {
|
|
114
|
+
TRANSIT: "Transit",
|
|
115
|
+
TRUCK: "Truck",
|
|
116
|
+
};
|
|
104
117
|
export class ResourceNotFoundException extends __BaseException {
|
|
105
118
|
name = "ResourceNotFoundException";
|
|
106
119
|
$fault = "client";
|
|
@@ -63,6 +63,10 @@ export const se_GetStyleDescriptorCommand = async (input, context) => {
|
|
|
63
63
|
const query = map({
|
|
64
64
|
[_cs]: [, input[_CS]],
|
|
65
65
|
[_pv]: [, input[_PV]],
|
|
66
|
+
[_t]: [, input[_T]],
|
|
67
|
+
[_cd]: [, input[_CD]],
|
|
68
|
+
[_tr]: [, input[_Tr]],
|
|
69
|
+
[_tm]: [() => input.TravelModes !== void 0, () => input[_TM] || []],
|
|
66
70
|
[_k]: [, input[_K]],
|
|
67
71
|
});
|
|
68
72
|
let body;
|
|
@@ -280,6 +284,7 @@ const _BB = "BoundingBox";
|
|
|
280
284
|
const _BP = "BoundedPositions";
|
|
281
285
|
const _C = "Center";
|
|
282
286
|
const _CC = "CacheControl";
|
|
287
|
+
const _CD = "ContourDensity";
|
|
283
288
|
const _CL = "CropLabels";
|
|
284
289
|
const _CO = "CompactOverlay";
|
|
285
290
|
const _CS = "ColorScheme";
|
|
@@ -297,12 +302,16 @@ const _PV = "PoliticalView";
|
|
|
297
302
|
const _R = "Radius";
|
|
298
303
|
const _S = "Style";
|
|
299
304
|
const _SBU = "ScaleBarUnit";
|
|
305
|
+
const _T = "Terrain";
|
|
306
|
+
const _TM = "TravelModes";
|
|
307
|
+
const _Tr = "Traffic";
|
|
300
308
|
const _W = "Width";
|
|
301
309
|
const _Z = "Zoom";
|
|
302
310
|
const _bb = "bounding-box";
|
|
303
311
|
const _bp = "bounded-positions";
|
|
304
312
|
const _c = "center";
|
|
305
313
|
const _cc = "cache-control";
|
|
314
|
+
const _cd = "contour-density";
|
|
306
315
|
const _cl = "crop-labels";
|
|
307
316
|
const _co = "compact-overlay";
|
|
308
317
|
const _cs = "color-scheme";
|
|
@@ -319,6 +328,9 @@ const _pv = "political-view";
|
|
|
319
328
|
const _r = "radius";
|
|
320
329
|
const _s = "style";
|
|
321
330
|
const _su = "scale-unit";
|
|
331
|
+
const _t = "terrain";
|
|
332
|
+
const _tm = "travel-modes";
|
|
333
|
+
const _tr = "traffic";
|
|
322
334
|
const _w = "width";
|
|
323
335
|
const _xagpb = "x-amz-geo-pricing-bucket";
|
|
324
336
|
const _z = "zoom";
|
|
@@ -34,7 +34,7 @@ declare const GetGlyphsCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p> <code>GetGlyphs</code> returns the map's glyphs.</p>
|
|
37
|
+
* <p> <code>GetGlyphs</code> returns the map's glyphs.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/styling-labels-with-glyphs.html">Style labels with glyphs</a> in the <i>Amazon Location Service Developer Guide</i>.</p>
|
|
38
38
|
* @example
|
|
39
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
40
|
* ```javascript
|
|
@@ -34,7 +34,7 @@ declare const GetSpritesCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p> <code>GetSprites</code> returns the map's sprites.</p>
|
|
37
|
+
* <p> <code>GetSprites</code> returns the map's sprites.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/styling-iconography-with-sprites.html">Style iconography with sprites</a> in the <i>Amazon Location Service Developer Guide</i>.</p>
|
|
38
38
|
* @example
|
|
39
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
40
|
* ```javascript
|
|
@@ -34,7 +34,7 @@ declare const GetStaticMapCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p> <code>GetStaticMap</code> provides high-quality static map images with customizable options. You can modify the map's appearance and overlay additional information. It's an ideal solution for applications requiring tailored static map snapshots.</p>
|
|
37
|
+
* <p> <code>GetStaticMap</code> provides high-quality static map images with customizable options. You can modify the map's appearance and overlay additional information. It's an ideal solution for applications requiring tailored static map snapshots.</p> <p>For more information, see the following topics in the <i>Amazon Location Service Developer Guide</i>:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/location/latest/developerguide/static-maps.html">Static maps</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/location/latest/developerguide/customizing-static-maps.html">Customize static maps</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/location/latest/developerguide/overlaying-static-map.html">Overlay on the static map</a> </p> </li> </ul>
|
|
38
38
|
* @example
|
|
39
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
40
|
* ```javascript
|
|
@@ -34,7 +34,7 @@ declare const GetStyleDescriptorCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p> <code>GetStyleDescriptor</code> returns information about the style.</p>
|
|
37
|
+
* <p> <code>GetStyleDescriptor</code> returns information about the style.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/styling-dynamic-maps.html">Style dynamic maps</a> in the <i>Amazon Location Service Developer Guide</i>.</p>
|
|
38
38
|
* @example
|
|
39
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
40
|
* ```javascript
|
|
@@ -47,6 +47,12 @@ declare const GetStyleDescriptorCommand_base: {
|
|
|
47
47
|
* Style: "STRING_VALUE", // required
|
|
48
48
|
* ColorScheme: "STRING_VALUE",
|
|
49
49
|
* PoliticalView: "STRING_VALUE",
|
|
50
|
+
* Terrain: "STRING_VALUE",
|
|
51
|
+
* ContourDensity: "STRING_VALUE",
|
|
52
|
+
* Traffic: "STRING_VALUE",
|
|
53
|
+
* TravelModes: [ // TravelModeList
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
50
56
|
* Key: "STRING_VALUE",
|
|
51
57
|
* };
|
|
52
58
|
* const command = new GetStyleDescriptorCommand(input);
|
|
@@ -34,7 +34,7 @@ declare const GetTileCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p> <code>GetTile</code> returns a tile. Map tiles are used by clients to render a map. they're addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.</p>
|
|
37
|
+
* <p> <code>GetTile</code> returns a tile. Map tiles are used by clients to render a map. they're addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom) level.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/location/latest/developerguide/tiles.html">Tiles</a> in the <i>Amazon Location Service Developer Guide</i>.</p>
|
|
38
38
|
* @example
|
|
39
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
40
40
|
* ```javascript
|
|
@@ -25,6 +25,17 @@ export declare const ColorScheme: {
|
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
27
|
export type ColorScheme = (typeof ColorScheme)[keyof typeof ColorScheme];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const ContourDensity: {
|
|
33
|
+
readonly MEDIUM: "Medium";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export type ContourDensity = (typeof ContourDensity)[keyof typeof ContourDensity];
|
|
28
39
|
/**
|
|
29
40
|
* @public
|
|
30
41
|
*/
|
|
@@ -35,7 +46,7 @@ export interface GetGlyphsRequest {
|
|
|
35
46
|
*/
|
|
36
47
|
FontStack: string | undefined;
|
|
37
48
|
/**
|
|
38
|
-
* <p>A Unicode range of characters to download glyphs for. This must be aligned to multiples of 256. </p> <p>Example: <code>0-255.
|
|
49
|
+
* <p>A Unicode range of characters to download glyphs for. This must be aligned to multiples of 256. </p> <p>Example: <code>0-255.pbf</code> </p>
|
|
39
50
|
* @public
|
|
40
51
|
*/
|
|
41
52
|
FontUnicodeRange: string | undefined;
|
|
@@ -195,17 +206,17 @@ export type StaticMapStyle = (typeof StaticMapStyle)[keyof typeof StaticMapStyle
|
|
|
195
206
|
*/
|
|
196
207
|
export interface GetStaticMapRequest {
|
|
197
208
|
/**
|
|
198
|
-
* <p>Takes in two pairs of coordinates
|
|
209
|
+
* <p>Takes in two pairs of coordinates in World Geodetic System (WGS 84) format: [longitude, latitude], denoting south-westerly and north-easterly edges of the image. The underlying area becomes the view of the image. </p> <p>Example: -123.17075,49.26959,-123.08125,49.31429</p>
|
|
199
210
|
* @public
|
|
200
211
|
*/
|
|
201
212
|
BoundingBox?: string | undefined;
|
|
202
213
|
/**
|
|
203
|
-
* <p>Takes in two or more pair of coordinates
|
|
214
|
+
* <p>Takes in two or more pair of coordinates in World Geodetic System (WGS 84) format: [longitude, latitude], with each coordinate separated by a comma. The API will generate an image to encompass all of the provided coordinates. </p> <note> <p>Cannot be used with <code>Zoom</code> and or <code>Radius</code> </p> </note> <p>Example: 97.170451,78.039098,99.045536,27.176178</p>
|
|
204
215
|
* @public
|
|
205
216
|
*/
|
|
206
217
|
BoundedPositions?: string | undefined;
|
|
207
218
|
/**
|
|
208
|
-
* <p>Takes in a pair of coordinates
|
|
219
|
+
* <p>Takes in a pair of coordinates in World Geodetic System (WGS 84) format: [longitude, latitude], which becomes the center point of the image. This parameter requires that either zoom or radius is set.</p> <note> <p>Cannot be used with <code>Zoom</code> and or <code>Radius</code> </p> </note> <p>Example: 49.295,-123.108</p>
|
|
209
220
|
* @public
|
|
210
221
|
*/
|
|
211
222
|
Center?: string | undefined;
|
|
@@ -430,6 +441,40 @@ export declare class ValidationException extends __BaseException {
|
|
|
430
441
|
*/
|
|
431
442
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
432
443
|
}
|
|
444
|
+
/**
|
|
445
|
+
* @public
|
|
446
|
+
* @enum
|
|
447
|
+
*/
|
|
448
|
+
export declare const Terrain: {
|
|
449
|
+
readonly HILLSHADE: "Hillshade";
|
|
450
|
+
};
|
|
451
|
+
/**
|
|
452
|
+
* @public
|
|
453
|
+
*/
|
|
454
|
+
export type Terrain = (typeof Terrain)[keyof typeof Terrain];
|
|
455
|
+
/**
|
|
456
|
+
* @public
|
|
457
|
+
* @enum
|
|
458
|
+
*/
|
|
459
|
+
export declare const Traffic: {
|
|
460
|
+
readonly ALL: "All";
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* @public
|
|
464
|
+
*/
|
|
465
|
+
export type Traffic = (typeof Traffic)[keyof typeof Traffic];
|
|
466
|
+
/**
|
|
467
|
+
* @public
|
|
468
|
+
* @enum
|
|
469
|
+
*/
|
|
470
|
+
export declare const TravelMode: {
|
|
471
|
+
readonly TRANSIT: "Transit";
|
|
472
|
+
readonly TRUCK: "Truck";
|
|
473
|
+
};
|
|
474
|
+
/**
|
|
475
|
+
* @public
|
|
476
|
+
*/
|
|
477
|
+
export type TravelMode = (typeof TravelMode)[keyof typeof TravelMode];
|
|
433
478
|
/**
|
|
434
479
|
* @public
|
|
435
480
|
*/
|
|
@@ -449,6 +494,26 @@ export interface GetStyleDescriptorRequest {
|
|
|
449
494
|
* @public
|
|
450
495
|
*/
|
|
451
496
|
PoliticalView?: string | undefined;
|
|
497
|
+
/**
|
|
498
|
+
* <p>Adjusts how physical terrain details are rendered on the map.</p> <p>The following terrain styles are currently supported:</p> <ul> <li> <p> <code>Hillshade</code>: Displays the physical terrain details through shading and highlighting of elevation change and geographic features.</p> </li> </ul> <p>This parameter is valid only for the <code>Standard</code> map style.</p>
|
|
499
|
+
* @public
|
|
500
|
+
*/
|
|
501
|
+
Terrain?: Terrain | undefined;
|
|
502
|
+
/**
|
|
503
|
+
* <p>Displays the shape and steepness of terrain features using elevation lines. The density value controls how densely the available contour line information is rendered on the map.</p> <p>This parameter is valid only for the <code>Standard</code> map style.</p>
|
|
504
|
+
* @public
|
|
505
|
+
*/
|
|
506
|
+
ContourDensity?: ContourDensity | undefined;
|
|
507
|
+
/**
|
|
508
|
+
* <p>Displays real-time traffic information overlay on map, such as incident events and flow events.</p> <p>This parameter is valid only for the <code>Standard</code> map style.</p>
|
|
509
|
+
* @public
|
|
510
|
+
*/
|
|
511
|
+
Traffic?: Traffic | undefined;
|
|
512
|
+
/**
|
|
513
|
+
* <p>Renders additional map information relevant to selected travel modes. Information for multiple travel modes can be displayed simultaneously, although this increases the overall information density rendered on the map.</p> <p>This parameter is valid only for the <code>Standard</code> map style.</p>
|
|
514
|
+
* @public
|
|
515
|
+
*/
|
|
516
|
+
TravelModes?: TravelMode[] | undefined;
|
|
452
517
|
/**
|
|
453
518
|
* <p>Optional: The API key to be used for authorization. Either an API key or valid SigV4 signature must be provided when making a request. </p>
|
|
454
519
|
* @public
|
|
@@ -13,6 +13,11 @@ export declare const ColorScheme: {
|
|
|
13
13
|
readonly LIGHT: "Light";
|
|
14
14
|
};
|
|
15
15
|
export type ColorScheme = (typeof ColorScheme)[keyof typeof ColorScheme];
|
|
16
|
+
export declare const ContourDensity: {
|
|
17
|
+
readonly MEDIUM: "Medium";
|
|
18
|
+
};
|
|
19
|
+
export type ContourDensity =
|
|
20
|
+
(typeof ContourDensity)[keyof typeof ContourDensity];
|
|
16
21
|
export interface GetGlyphsRequest {
|
|
17
22
|
FontStack: string | undefined;
|
|
18
23
|
FontUnicodeRange: string | undefined;
|
|
@@ -141,10 +146,27 @@ export declare class ValidationException extends __BaseException {
|
|
|
141
146
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
142
147
|
);
|
|
143
148
|
}
|
|
149
|
+
export declare const Terrain: {
|
|
150
|
+
readonly HILLSHADE: "Hillshade";
|
|
151
|
+
};
|
|
152
|
+
export type Terrain = (typeof Terrain)[keyof typeof Terrain];
|
|
153
|
+
export declare const Traffic: {
|
|
154
|
+
readonly ALL: "All";
|
|
155
|
+
};
|
|
156
|
+
export type Traffic = (typeof Traffic)[keyof typeof Traffic];
|
|
157
|
+
export declare const TravelMode: {
|
|
158
|
+
readonly TRANSIT: "Transit";
|
|
159
|
+
readonly TRUCK: "Truck";
|
|
160
|
+
};
|
|
161
|
+
export type TravelMode = (typeof TravelMode)[keyof typeof TravelMode];
|
|
144
162
|
export interface GetStyleDescriptorRequest {
|
|
145
163
|
Style: MapStyle | undefined;
|
|
146
164
|
ColorScheme?: ColorScheme | undefined;
|
|
147
165
|
PoliticalView?: string | undefined;
|
|
166
|
+
Terrain?: Terrain | undefined;
|
|
167
|
+
ContourDensity?: ContourDensity | undefined;
|
|
168
|
+
Traffic?: Traffic | undefined;
|
|
169
|
+
TravelModes?: TravelMode[] | undefined;
|
|
148
170
|
Key?: string | undefined;
|
|
149
171
|
}
|
|
150
172
|
export interface GetStyleDescriptorResponse {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-geo-maps",
|
|
3
3
|
"description": "AWS SDK for JavaScript Geo Maps Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.913.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-geo-maps",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.911.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.913.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.910.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.910.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.910.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.911.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.910.0",
|
|
30
30
|
"@aws-sdk/types": "3.910.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.910.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.910.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.911.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.3.2",
|
|
35
35
|
"@smithy/core": "^3.16.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.3",
|