@aws-sdk/client-geo-maps 3.876.0 → 3.879.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/README.md +1 -29
- package/dist-cjs/models/models_0.js +31 -1
- package/dist-cjs/protocols/Aws_restJson1.js +16 -0
- package/dist-es/models/models_0.js +29 -0
- package/dist-es/protocols/Aws_restJson1.js +17 -1
- package/dist-types/GeoMaps.d.ts +1 -29
- package/dist-types/GeoMapsClient.d.ts +1 -29
- package/dist-types/commands/GetGlyphsCommand.d.ts +1 -2
- package/dist-types/commands/GetSpritesCommand.d.ts +1 -2
- package/dist-types/commands/GetStaticMapCommand.d.ts +3 -8
- package/dist-types/commands/GetStyleDescriptorCommand.d.ts +1 -2
- package/dist-types/commands/GetTileCommand.d.ts +6 -8
- package/dist-types/index.d.ts +1 -29
- package/dist-types/models/models_0.d.ts +52 -866
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -6,35 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript GeoMaps Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p>
|
|
10
|
-
<ul>
|
|
11
|
-
<li>
|
|
12
|
-
<p>Access to comprehensive base map data, allowing you to tailor the map display to
|
|
13
|
-
your specific needs.</p>
|
|
14
|
-
</li>
|
|
15
|
-
<li>
|
|
16
|
-
<p>Multiple pre-designed map styles suited for various application types, such as
|
|
17
|
-
navigation, logistics, or data visualization.</p>
|
|
18
|
-
</li>
|
|
19
|
-
<li>
|
|
20
|
-
<p>Generation of static map images for scenarios where interactive maps aren't
|
|
21
|
-
suitable, such as:</p>
|
|
22
|
-
<ul>
|
|
23
|
-
<li>
|
|
24
|
-
<p>Embedding in emails or documents</p>
|
|
25
|
-
</li>
|
|
26
|
-
<li>
|
|
27
|
-
<p>Displaying in low-bandwidth environments</p>
|
|
28
|
-
</li>
|
|
29
|
-
<li>
|
|
30
|
-
<p>Creating printable maps</p>
|
|
31
|
-
</li>
|
|
32
|
-
<li>
|
|
33
|
-
<p>Enhancing application performance by reducing client-side rendering</p>
|
|
34
|
-
</li>
|
|
35
|
-
</ul>
|
|
36
|
-
</li>
|
|
37
|
-
</ul>
|
|
9
|
+
<p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs.</p> </li> <li> <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization.</p> </li> <li> <p>Generation of static map images for scenarios where interactive maps aren't suitable, such as:</p> <ul> <li> <p>Embedding in emails or documents</p> </li> <li> <p>Displaying in low-bandwidth environments</p> </li> <li> <p>Creating printable maps</p> </li> <li> <p>Enhancing application performance by reducing client-side rendering</p> </li> </ul> </li> </ul>
|
|
38
10
|
|
|
39
11
|
## Installing
|
|
40
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetTileRequestFilterSensitiveLog = exports.GetStyleDescriptorRequestFilterSensitiveLog = exports.GetStaticMapRequestFilterSensitiveLog = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.InternalServerException = exports.StaticMapStyle = exports.ScaleBarUnit = exports.MapFeatureMode = exports.LabelSize = exports.Variant = exports.MapStyle = exports.ColorScheme = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.GetTileRequestFilterSensitiveLog = exports.GetStyleDescriptorRequestFilterSensitiveLog = exports.GetStaticMapRequestFilterSensitiveLog = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.InternalServerException = exports.StaticMapStyle = exports.ScaleBarUnit = exports.MapFeatureMode = exports.LabelSize = exports.Variant = exports.MapStyle = exports.ColorScheme = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const GeoMapsServiceException_1 = require("./GeoMapsServiceException");
|
|
6
6
|
class AccessDeniedException extends GeoMapsServiceException_1.GeoMapsServiceException {
|
|
@@ -108,18 +108,48 @@ class ValidationException extends GeoMapsServiceException_1.GeoMapsServiceExcept
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
exports.ValidationException = ValidationException;
|
|
111
|
+
class ResourceNotFoundException extends GeoMapsServiceException_1.GeoMapsServiceException {
|
|
112
|
+
name = "ResourceNotFoundException";
|
|
113
|
+
$fault = "client";
|
|
114
|
+
Message;
|
|
115
|
+
constructor(opts) {
|
|
116
|
+
super({
|
|
117
|
+
name: "ResourceNotFoundException",
|
|
118
|
+
$fault: "client",
|
|
119
|
+
...opts,
|
|
120
|
+
});
|
|
121
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
122
|
+
this.Message = opts.Message;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
111
126
|
const GetStaticMapRequestFilterSensitiveLog = (obj) => ({
|
|
112
127
|
...obj,
|
|
128
|
+
...(obj.BoundingBox && { BoundingBox: smithy_client_1.SENSITIVE_STRING }),
|
|
129
|
+
...(obj.BoundedPositions && { BoundedPositions: smithy_client_1.SENSITIVE_STRING }),
|
|
130
|
+
...(obj.Center && { Center: smithy_client_1.SENSITIVE_STRING }),
|
|
131
|
+
...(obj.CompactOverlay && { CompactOverlay: smithy_client_1.SENSITIVE_STRING }),
|
|
132
|
+
...(obj.GeoJsonOverlay && { GeoJsonOverlay: smithy_client_1.SENSITIVE_STRING }),
|
|
133
|
+
...(obj.Height && { Height: smithy_client_1.SENSITIVE_STRING }),
|
|
113
134
|
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
135
|
+
...(obj.Padding && { Padding: smithy_client_1.SENSITIVE_STRING }),
|
|
136
|
+
...(obj.PoliticalView && { PoliticalView: smithy_client_1.SENSITIVE_STRING }),
|
|
137
|
+
...(obj.Radius && { Radius: smithy_client_1.SENSITIVE_STRING }),
|
|
138
|
+
...(obj.Width && { Width: smithy_client_1.SENSITIVE_STRING }),
|
|
139
|
+
...(obj.Zoom && { Zoom: smithy_client_1.SENSITIVE_STRING }),
|
|
114
140
|
});
|
|
115
141
|
exports.GetStaticMapRequestFilterSensitiveLog = GetStaticMapRequestFilterSensitiveLog;
|
|
116
142
|
const GetStyleDescriptorRequestFilterSensitiveLog = (obj) => ({
|
|
117
143
|
...obj,
|
|
144
|
+
...(obj.PoliticalView && { PoliticalView: smithy_client_1.SENSITIVE_STRING }),
|
|
118
145
|
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
119
146
|
});
|
|
120
147
|
exports.GetStyleDescriptorRequestFilterSensitiveLog = GetStyleDescriptorRequestFilterSensitiveLog;
|
|
121
148
|
const GetTileRequestFilterSensitiveLog = (obj) => ({
|
|
122
149
|
...obj,
|
|
150
|
+
...(obj.Z && { Z: smithy_client_1.SENSITIVE_STRING }),
|
|
151
|
+
...(obj.X && { X: smithy_client_1.SENSITIVE_STRING }),
|
|
152
|
+
...(obj.Y && { Y: smithy_client_1.SENSITIVE_STRING }),
|
|
123
153
|
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
124
154
|
});
|
|
125
155
|
exports.GetTileRequestFilterSensitiveLog = GetTileRequestFilterSensitiveLog;
|
|
@@ -188,6 +188,9 @@ const de_CommandError = async (output, context) => {
|
|
|
188
188
|
case "ValidationException":
|
|
189
189
|
case "com.amazonaws.geomaps#ValidationException":
|
|
190
190
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
191
|
+
case "ResourceNotFoundException":
|
|
192
|
+
case "com.amazonaws.geomaps#ResourceNotFoundException":
|
|
193
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
191
194
|
default:
|
|
192
195
|
const parsedBody = parsedOutput.body;
|
|
193
196
|
return throwDefaultError({
|
|
@@ -224,6 +227,19 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
224
227
|
});
|
|
225
228
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
226
229
|
};
|
|
230
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
231
|
+
const contents = (0, smithy_client_1.map)({});
|
|
232
|
+
const data = parsedOutput.body;
|
|
233
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
234
|
+
Message: [, smithy_client_1.expectString, `message`],
|
|
235
|
+
});
|
|
236
|
+
Object.assign(contents, doc);
|
|
237
|
+
const exception = new models_0_1.ResourceNotFoundException({
|
|
238
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
239
|
+
...contents,
|
|
240
|
+
});
|
|
241
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
242
|
+
};
|
|
227
243
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
228
244
|
const contents = (0, smithy_client_1.map)({});
|
|
229
245
|
const data = parsedOutput.body;
|
|
@@ -101,15 +101,44 @@ export class ValidationException extends __BaseException {
|
|
|
101
101
|
this.FieldList = opts.FieldList;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
105
|
+
name = "ResourceNotFoundException";
|
|
106
|
+
$fault = "client";
|
|
107
|
+
Message;
|
|
108
|
+
constructor(opts) {
|
|
109
|
+
super({
|
|
110
|
+
name: "ResourceNotFoundException",
|
|
111
|
+
$fault: "client",
|
|
112
|
+
...opts,
|
|
113
|
+
});
|
|
114
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
115
|
+
this.Message = opts.Message;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
104
118
|
export const GetStaticMapRequestFilterSensitiveLog = (obj) => ({
|
|
105
119
|
...obj,
|
|
120
|
+
...(obj.BoundingBox && { BoundingBox: SENSITIVE_STRING }),
|
|
121
|
+
...(obj.BoundedPositions && { BoundedPositions: SENSITIVE_STRING }),
|
|
122
|
+
...(obj.Center && { Center: SENSITIVE_STRING }),
|
|
123
|
+
...(obj.CompactOverlay && { CompactOverlay: SENSITIVE_STRING }),
|
|
124
|
+
...(obj.GeoJsonOverlay && { GeoJsonOverlay: SENSITIVE_STRING }),
|
|
125
|
+
...(obj.Height && { Height: SENSITIVE_STRING }),
|
|
106
126
|
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
127
|
+
...(obj.Padding && { Padding: SENSITIVE_STRING }),
|
|
128
|
+
...(obj.PoliticalView && { PoliticalView: SENSITIVE_STRING }),
|
|
129
|
+
...(obj.Radius && { Radius: SENSITIVE_STRING }),
|
|
130
|
+
...(obj.Width && { Width: SENSITIVE_STRING }),
|
|
131
|
+
...(obj.Zoom && { Zoom: SENSITIVE_STRING }),
|
|
107
132
|
});
|
|
108
133
|
export const GetStyleDescriptorRequestFilterSensitiveLog = (obj) => ({
|
|
109
134
|
...obj,
|
|
135
|
+
...(obj.PoliticalView && { PoliticalView: SENSITIVE_STRING }),
|
|
110
136
|
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
111
137
|
});
|
|
112
138
|
export const GetTileRequestFilterSensitiveLog = (obj) => ({
|
|
113
139
|
...obj,
|
|
140
|
+
...(obj.Z && { Z: SENSITIVE_STRING }),
|
|
141
|
+
...(obj.X && { X: SENSITIVE_STRING }),
|
|
142
|
+
...(obj.Y && { Y: SENSITIVE_STRING }),
|
|
114
143
|
...(obj.Key && { Key: SENSITIVE_STRING }),
|
|
115
144
|
});
|
|
@@ -2,7 +2,7 @@ import { loadRestJsonErrorCode, parseJsonErrorBody as parseErrorBody } from "@aw
|
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
3
|
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { GeoMapsServiceException as __BaseException } from "../models/GeoMapsServiceException";
|
|
5
|
-
import { AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
6
|
export const se_GetGlyphsCommand = async (input, context) => {
|
|
7
7
|
const b = rb(input, context);
|
|
8
8
|
const headers = {};
|
|
@@ -175,6 +175,9 @@ const de_CommandError = async (output, context) => {
|
|
|
175
175
|
case "ValidationException":
|
|
176
176
|
case "com.amazonaws.geomaps#ValidationException":
|
|
177
177
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
178
|
+
case "ResourceNotFoundException":
|
|
179
|
+
case "com.amazonaws.geomaps#ResourceNotFoundException":
|
|
180
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
178
181
|
default:
|
|
179
182
|
const parsedBody = parsedOutput.body;
|
|
180
183
|
return throwDefaultError({
|
|
@@ -211,6 +214,19 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
211
214
|
});
|
|
212
215
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
213
216
|
};
|
|
217
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
218
|
+
const contents = map({});
|
|
219
|
+
const data = parsedOutput.body;
|
|
220
|
+
const doc = take(data, {
|
|
221
|
+
Message: [, __expectString, `message`],
|
|
222
|
+
});
|
|
223
|
+
Object.assign(contents, doc);
|
|
224
|
+
const exception = new ResourceNotFoundException({
|
|
225
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
226
|
+
...contents,
|
|
227
|
+
});
|
|
228
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
229
|
+
};
|
|
214
230
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
215
231
|
const contents = map({});
|
|
216
232
|
const data = parsedOutput.body;
|
package/dist-types/GeoMaps.d.ts
CHANGED
|
@@ -38,35 +38,7 @@ export interface GeoMaps {
|
|
|
38
38
|
getTile(args: GetTileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTileCommandOutput) => void): void;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p>
|
|
42
|
-
* <ul>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>Access to comprehensive base map data, allowing you to tailor the map display to
|
|
45
|
-
* your specific needs.</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>Multiple pre-designed map styles suited for various application types, such as
|
|
49
|
-
* navigation, logistics, or data visualization.</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>Generation of static map images for scenarios where interactive maps aren't
|
|
53
|
-
* suitable, such as:</p>
|
|
54
|
-
* <ul>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>Embedding in emails or documents</p>
|
|
57
|
-
* </li>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>Displaying in low-bandwidth environments</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>Creating printable maps</p>
|
|
63
|
-
* </li>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>Enhancing application performance by reducing client-side rendering</p>
|
|
66
|
-
* </li>
|
|
67
|
-
* </ul>
|
|
68
|
-
* </li>
|
|
69
|
-
* </ul>
|
|
41
|
+
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs.</p> </li> <li> <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization.</p> </li> <li> <p>Generation of static map images for scenarios where interactive maps aren't suitable, such as:</p> <ul> <li> <p>Embedding in emails or documents</p> </li> <li> <p>Displaying in low-bandwidth environments</p> </li> <li> <p>Creating printable maps</p> </li> <li> <p>Enhancing application performance by reducing client-side rendering</p> </li> </ul> </li> </ul>
|
|
70
42
|
* @public
|
|
71
43
|
*/
|
|
72
44
|
export declare class GeoMaps extends GeoMapsClient implements GeoMaps {
|
|
@@ -174,35 +174,7 @@ export type GeoMapsClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
|
|
|
174
174
|
export interface GeoMapsClientResolvedConfig extends GeoMapsClientResolvedConfigType {
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
|
-
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p>
|
|
178
|
-
* <ul>
|
|
179
|
-
* <li>
|
|
180
|
-
* <p>Access to comprehensive base map data, allowing you to tailor the map display to
|
|
181
|
-
* your specific needs.</p>
|
|
182
|
-
* </li>
|
|
183
|
-
* <li>
|
|
184
|
-
* <p>Multiple pre-designed map styles suited for various application types, such as
|
|
185
|
-
* navigation, logistics, or data visualization.</p>
|
|
186
|
-
* </li>
|
|
187
|
-
* <li>
|
|
188
|
-
* <p>Generation of static map images for scenarios where interactive maps aren't
|
|
189
|
-
* suitable, such as:</p>
|
|
190
|
-
* <ul>
|
|
191
|
-
* <li>
|
|
192
|
-
* <p>Embedding in emails or documents</p>
|
|
193
|
-
* </li>
|
|
194
|
-
* <li>
|
|
195
|
-
* <p>Displaying in low-bandwidth environments</p>
|
|
196
|
-
* </li>
|
|
197
|
-
* <li>
|
|
198
|
-
* <p>Creating printable maps</p>
|
|
199
|
-
* </li>
|
|
200
|
-
* <li>
|
|
201
|
-
* <p>Enhancing application performance by reducing client-side rendering</p>
|
|
202
|
-
* </li>
|
|
203
|
-
* </ul>
|
|
204
|
-
* </li>
|
|
205
|
-
* </ul>
|
|
177
|
+
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs.</p> </li> <li> <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization.</p> </li> <li> <p>Generation of static map images for scenarios where interactive maps aren't suitable, such as:</p> <ul> <li> <p>Embedding in emails or documents</p> </li> <li> <p>Displaying in low-bandwidth environments</p> </li> <li> <p>Creating printable maps</p> </li> <li> <p>Enhancing application performance by reducing client-side rendering</p> </li> </ul> </li> </ul>
|
|
206
178
|
* @public
|
|
207
179
|
*/
|
|
208
180
|
export declare class GeoMapsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, GeoMapsClientResolvedConfig> {
|
|
@@ -34,8 +34,7 @@ declare const GetGlyphsCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p>
|
|
38
|
-
* <code>GetGlyphs</code> returns the map's glyphs.</p>
|
|
37
|
+
* <p> <code>GetGlyphs</code> returns the map's glyphs.</p>
|
|
39
38
|
* @example
|
|
40
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
40
|
* ```javascript
|
|
@@ -34,8 +34,7 @@ declare const GetSpritesCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p>
|
|
38
|
-
* <code>GetSprites</code> returns the map's sprites.</p>
|
|
37
|
+
* <p> <code>GetSprites</code> returns the map's sprites.</p>
|
|
39
38
|
* @example
|
|
40
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
40
|
* ```javascript
|
|
@@ -34,10 +34,7 @@ declare const GetStaticMapCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p>
|
|
38
|
-
* <code>GetStaticMap</code> provides high-quality static map images with customizable
|
|
39
|
-
* options. You can modify the map's appearance and overlay additional information. It's an
|
|
40
|
-
* 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>
|
|
41
38
|
* @example
|
|
42
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
40
|
* ```javascript
|
|
@@ -85,12 +82,10 @@ declare const GetStaticMapCommand_base: {
|
|
|
85
82
|
* @see {@link GeoMapsClientResolvedConfig | config} for GeoMapsClient's `config` shape.
|
|
86
83
|
*
|
|
87
84
|
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
-
* <p>The request was denied because of insufficient access or permissions. Check with an
|
|
89
|
-
* administrator to verify your permissions.</p>
|
|
85
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
90
86
|
*
|
|
91
87
|
* @throws {@link InternalServerException} (server fault)
|
|
92
|
-
* <p>The request processing has failed because of an unknown error, exception or
|
|
93
|
-
* failure.</p>
|
|
88
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
94
89
|
*
|
|
95
90
|
* @throws {@link ThrottlingException} (client fault)
|
|
96
91
|
* <p>The request was denied due to request throttling.</p>
|
|
@@ -34,8 +34,7 @@ declare const GetStyleDescriptorCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p>
|
|
38
|
-
* <code>GetStyleDescriptor</code> returns information about the style.</p>
|
|
37
|
+
* <p> <code>GetStyleDescriptor</code> returns information about the style.</p>
|
|
39
38
|
* @example
|
|
40
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
40
|
* ```javascript
|
|
@@ -34,10 +34,7 @@ declare const GetTileCommand_base: {
|
|
|
34
34
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
|
-
* <p>
|
|
38
|
-
* <code>GetTile</code> returns a tile. Map tiles are used by clients to render a map.
|
|
39
|
-
* they're addressed using a grid arrangement with an X coordinate, Y coordinate, and Z (zoom)
|
|
40
|
-
* 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>
|
|
41
38
|
* @example
|
|
42
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
43
40
|
* ```javascript
|
|
@@ -70,12 +67,13 @@ declare const GetTileCommand_base: {
|
|
|
70
67
|
* @see {@link GeoMapsClientResolvedConfig | config} for GeoMapsClient's `config` shape.
|
|
71
68
|
*
|
|
72
69
|
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
-
* <p>The request was denied because of insufficient access or permissions. Check with an
|
|
74
|
-
* administrator to verify your permissions.</p>
|
|
70
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
75
71
|
*
|
|
76
72
|
* @throws {@link InternalServerException} (server fault)
|
|
77
|
-
* <p>The request processing has failed because of an unknown error, exception or
|
|
78
|
-
*
|
|
73
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>Exception thrown when the associated resource could not be found.</p>
|
|
79
77
|
*
|
|
80
78
|
* @throws {@link ThrottlingException} (client fault)
|
|
81
79
|
* <p>The request was denied due to request throttling.</p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,33 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p>
|
|
3
|
-
* <ul>
|
|
4
|
-
* <li>
|
|
5
|
-
* <p>Access to comprehensive base map data, allowing you to tailor the map display to
|
|
6
|
-
* your specific needs.</p>
|
|
7
|
-
* </li>
|
|
8
|
-
* <li>
|
|
9
|
-
* <p>Multiple pre-designed map styles suited for various application types, such as
|
|
10
|
-
* navigation, logistics, or data visualization.</p>
|
|
11
|
-
* </li>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>Generation of static map images for scenarios where interactive maps aren't
|
|
14
|
-
* suitable, such as:</p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>Embedding in emails or documents</p>
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>Displaying in low-bandwidth environments</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Creating printable maps</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>Enhancing application performance by reducing client-side rendering</p>
|
|
27
|
-
* </li>
|
|
28
|
-
* </ul>
|
|
29
|
-
* </li>
|
|
30
|
-
* </ul>
|
|
2
|
+
* <p> Integrate high-quality base map data into your applications using <a href="https://maplibre.org">MapLibre</a>. Capabilities include: </p> <ul> <li> <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs.</p> </li> <li> <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization.</p> </li> <li> <p>Generation of static map images for scenarios where interactive maps aren't suitable, such as:</p> <ul> <li> <p>Embedding in emails or documents</p> </li> <li> <p>Displaying in low-bandwidth environments</p> </li> <li> <p>Creating printable maps</p> </li> <li> <p>Enhancing application performance by reducing client-side rendering</p> </li> </ul> </li> </ul>
|
|
31
3
|
*
|
|
32
4
|
* @packageDocumentation
|
|
33
5
|
*/
|