@aws-sdk/client-geo-maps 3.1137.0 → 3.1139.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 +3 -3
- package/dist-es/schemas/schemas_0.js +2 -2
- package/dist-types/GeoMaps.d.ts +17 -11
- package/dist-types/ts3.4/GeoMaps.d.ts +20 -11
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1138.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -344,10 +344,10 @@ const _w = "width";
|
|
|
344
344
|
const _xagpb = "x-amz-geo-pricing-bucket";
|
|
345
345
|
const _z = "zoom";
|
|
346
346
|
const n0 = "com.amazonaws.geomaps";
|
|
347
|
-
const _s_registry = TypeRegistry
|
|
347
|
+
const _s_registry = new TypeRegistry(_s);
|
|
348
348
|
var GeoMapsServiceException$ = [-3, _s, "GeoMapsServiceException", 0, [], []];
|
|
349
349
|
_s_registry.registerError(GeoMapsServiceException$, GeoMapsServiceException);
|
|
350
|
-
const n0_registry = TypeRegistry
|
|
350
|
+
const n0_registry = new TypeRegistry(n0);
|
|
351
351
|
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
352
352
|
{ [_e]: _c, [_hE]: 403 },
|
|
353
353
|
[_M],
|
|
@@ -119,10 +119,10 @@ const n0 = "com.amazonaws.geomaps";
|
|
|
119
119
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
120
120
|
import { AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
121
121
|
import { GeoMapsServiceException } from "../models/GeoMapsServiceException";
|
|
122
|
-
const _s_registry = TypeRegistry
|
|
122
|
+
const _s_registry = new TypeRegistry(_s);
|
|
123
123
|
export var GeoMapsServiceException$ = [-3, _s, "GeoMapsServiceException", 0, [], []];
|
|
124
124
|
_s_registry.registerError(GeoMapsServiceException$, GeoMapsServiceException);
|
|
125
|
-
const n0_registry = TypeRegistry
|
|
125
|
+
const n0_registry = new TypeRegistry(n0);
|
|
126
126
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
127
127
|
{ [_e]: _c, [_hE]: 403 },
|
|
128
128
|
[_M],
|
package/dist-types/GeoMaps.d.ts
CHANGED
|
@@ -1,41 +1,47 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type GetGlyphsCommandInput, type GetGlyphsCommandOutput } from "./commands/GetGlyphsCommand";
|
|
3
3
|
import { type GetSpritesCommandInput, type GetSpritesCommandOutput } from "./commands/GetSpritesCommand";
|
|
4
4
|
import { type GetStaticMapCommandInput, type GetStaticMapCommandOutput } from "./commands/GetStaticMapCommand";
|
|
5
5
|
import { type GetStyleDescriptorCommandInput, type GetStyleDescriptorCommandOutput } from "./commands/GetStyleDescriptorCommand";
|
|
6
6
|
import { type GetTileCommandInput, type GetTileCommandOutput } from "./commands/GetTileCommand";
|
|
7
7
|
import { GeoMapsClient } from "./GeoMapsClient";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface GeoMapsRequestOptions extends __HttpHandlerOptions {
|
|
12
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
13
|
+
}
|
|
8
14
|
export interface GeoMaps {
|
|
9
15
|
/**
|
|
10
16
|
* @see {@link GetGlyphsCommand}
|
|
11
17
|
*/
|
|
12
|
-
getGlyphs(args: GetGlyphsCommandInput, options?:
|
|
18
|
+
getGlyphs(args: GetGlyphsCommandInput, options?: GeoMapsRequestOptions): Promise<GetGlyphsCommandOutput>;
|
|
13
19
|
getGlyphs(args: GetGlyphsCommandInput, cb: (err: any, data?: GetGlyphsCommandOutput) => void): void;
|
|
14
|
-
getGlyphs(args: GetGlyphsCommandInput, options:
|
|
20
|
+
getGlyphs(args: GetGlyphsCommandInput, options: GeoMapsRequestOptions, cb: (err: any, data?: GetGlyphsCommandOutput) => void): void;
|
|
15
21
|
/**
|
|
16
22
|
* @see {@link GetSpritesCommand}
|
|
17
23
|
*/
|
|
18
|
-
getSprites(args: GetSpritesCommandInput, options?:
|
|
24
|
+
getSprites(args: GetSpritesCommandInput, options?: GeoMapsRequestOptions): Promise<GetSpritesCommandOutput>;
|
|
19
25
|
getSprites(args: GetSpritesCommandInput, cb: (err: any, data?: GetSpritesCommandOutput) => void): void;
|
|
20
|
-
getSprites(args: GetSpritesCommandInput, options:
|
|
26
|
+
getSprites(args: GetSpritesCommandInput, options: GeoMapsRequestOptions, cb: (err: any, data?: GetSpritesCommandOutput) => void): void;
|
|
21
27
|
/**
|
|
22
28
|
* @see {@link GetStaticMapCommand}
|
|
23
29
|
*/
|
|
24
|
-
getStaticMap(args: GetStaticMapCommandInput, options?:
|
|
30
|
+
getStaticMap(args: GetStaticMapCommandInput, options?: GeoMapsRequestOptions): Promise<GetStaticMapCommandOutput>;
|
|
25
31
|
getStaticMap(args: GetStaticMapCommandInput, cb: (err: any, data?: GetStaticMapCommandOutput) => void): void;
|
|
26
|
-
getStaticMap(args: GetStaticMapCommandInput, options:
|
|
32
|
+
getStaticMap(args: GetStaticMapCommandInput, options: GeoMapsRequestOptions, cb: (err: any, data?: GetStaticMapCommandOutput) => void): void;
|
|
27
33
|
/**
|
|
28
34
|
* @see {@link GetStyleDescriptorCommand}
|
|
29
35
|
*/
|
|
30
|
-
getStyleDescriptor(args: GetStyleDescriptorCommandInput, options?:
|
|
36
|
+
getStyleDescriptor(args: GetStyleDescriptorCommandInput, options?: GeoMapsRequestOptions): Promise<GetStyleDescriptorCommandOutput>;
|
|
31
37
|
getStyleDescriptor(args: GetStyleDescriptorCommandInput, cb: (err: any, data?: GetStyleDescriptorCommandOutput) => void): void;
|
|
32
|
-
getStyleDescriptor(args: GetStyleDescriptorCommandInput, options:
|
|
38
|
+
getStyleDescriptor(args: GetStyleDescriptorCommandInput, options: GeoMapsRequestOptions, cb: (err: any, data?: GetStyleDescriptorCommandOutput) => void): void;
|
|
33
39
|
/**
|
|
34
40
|
* @see {@link GetTileCommand}
|
|
35
41
|
*/
|
|
36
|
-
getTile(args: GetTileCommandInput, options?:
|
|
42
|
+
getTile(args: GetTileCommandInput, options?: GeoMapsRequestOptions): Promise<GetTileCommandOutput>;
|
|
37
43
|
getTile(args: GetTileCommandInput, cb: (err: any, data?: GetTileCommandOutput) => void): void;
|
|
38
|
-
getTile(args: GetTileCommandInput, options:
|
|
44
|
+
getTile(args: GetTileCommandInput, options: GeoMapsRequestOptions, cb: (err: any, data?: GetTileCommandOutput) => void): void;
|
|
39
45
|
}
|
|
40
46
|
/**
|
|
41
47
|
* <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. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetTile.html">GetTile</a>.</p> </li> <li> <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStyleDescriptor.html">GetStyleDescriptor</a>.</p> </li> <li> <p>Generation of static map images for scenarios where interactive maps aren't suitable. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStaticMap.html">GetStaticMap</a>. Use cases include:</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>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import { GetGlyphsCommandInput, GetGlyphsCommandOutput } from "./commands/GetGlyphsCommand";
|
|
3
6
|
import { GetSpritesCommandInput, GetSpritesCommandOutput } from "./commands/GetSpritesCommand";
|
|
4
7
|
import {
|
|
@@ -11,10 +14,13 @@ import {
|
|
|
11
14
|
} from "./commands/GetStyleDescriptorCommand";
|
|
12
15
|
import { GetTileCommandInput, GetTileCommandOutput } from "./commands/GetTileCommand";
|
|
13
16
|
import { GeoMapsClient } from "./GeoMapsClient";
|
|
17
|
+
export interface GeoMapsRequestOptions extends __HttpHandlerOptions {
|
|
18
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
19
|
+
}
|
|
14
20
|
export interface GeoMaps {
|
|
15
21
|
getGlyphs(
|
|
16
22
|
args: GetGlyphsCommandInput,
|
|
17
|
-
options?:
|
|
23
|
+
options?: GeoMapsRequestOptions,
|
|
18
24
|
): Promise<GetGlyphsCommandOutput>;
|
|
19
25
|
getGlyphs(
|
|
20
26
|
args: GetGlyphsCommandInput,
|
|
@@ -22,12 +28,12 @@ export interface GeoMaps {
|
|
|
22
28
|
): void;
|
|
23
29
|
getGlyphs(
|
|
24
30
|
args: GetGlyphsCommandInput,
|
|
25
|
-
options:
|
|
31
|
+
options: GeoMapsRequestOptions,
|
|
26
32
|
cb: (err: any, data?: GetGlyphsCommandOutput) => void,
|
|
27
33
|
): void;
|
|
28
34
|
getSprites(
|
|
29
35
|
args: GetSpritesCommandInput,
|
|
30
|
-
options?:
|
|
36
|
+
options?: GeoMapsRequestOptions,
|
|
31
37
|
): Promise<GetSpritesCommandOutput>;
|
|
32
38
|
getSprites(
|
|
33
39
|
args: GetSpritesCommandInput,
|
|
@@ -35,12 +41,12 @@ export interface GeoMaps {
|
|
|
35
41
|
): void;
|
|
36
42
|
getSprites(
|
|
37
43
|
args: GetSpritesCommandInput,
|
|
38
|
-
options:
|
|
44
|
+
options: GeoMapsRequestOptions,
|
|
39
45
|
cb: (err: any, data?: GetSpritesCommandOutput) => void,
|
|
40
46
|
): void;
|
|
41
47
|
getStaticMap(
|
|
42
48
|
args: GetStaticMapCommandInput,
|
|
43
|
-
options?:
|
|
49
|
+
options?: GeoMapsRequestOptions,
|
|
44
50
|
): Promise<GetStaticMapCommandOutput>;
|
|
45
51
|
getStaticMap(
|
|
46
52
|
args: GetStaticMapCommandInput,
|
|
@@ -48,12 +54,12 @@ export interface GeoMaps {
|
|
|
48
54
|
): void;
|
|
49
55
|
getStaticMap(
|
|
50
56
|
args: GetStaticMapCommandInput,
|
|
51
|
-
options:
|
|
57
|
+
options: GeoMapsRequestOptions,
|
|
52
58
|
cb: (err: any, data?: GetStaticMapCommandOutput) => void,
|
|
53
59
|
): void;
|
|
54
60
|
getStyleDescriptor(
|
|
55
61
|
args: GetStyleDescriptorCommandInput,
|
|
56
|
-
options?:
|
|
62
|
+
options?: GeoMapsRequestOptions,
|
|
57
63
|
): Promise<GetStyleDescriptorCommandOutput>;
|
|
58
64
|
getStyleDescriptor(
|
|
59
65
|
args: GetStyleDescriptorCommandInput,
|
|
@@ -61,14 +67,17 @@ export interface GeoMaps {
|
|
|
61
67
|
): void;
|
|
62
68
|
getStyleDescriptor(
|
|
63
69
|
args: GetStyleDescriptorCommandInput,
|
|
64
|
-
options:
|
|
70
|
+
options: GeoMapsRequestOptions,
|
|
65
71
|
cb: (err: any, data?: GetStyleDescriptorCommandOutput) => void,
|
|
66
72
|
): void;
|
|
67
|
-
getTile(
|
|
73
|
+
getTile(
|
|
74
|
+
args: GetTileCommandInput,
|
|
75
|
+
options?: GeoMapsRequestOptions,
|
|
76
|
+
): Promise<GetTileCommandOutput>;
|
|
68
77
|
getTile(args: GetTileCommandInput, cb: (err: any, data?: GetTileCommandOutput) => void): void;
|
|
69
78
|
getTile(
|
|
70
79
|
args: GetTileCommandInput,
|
|
71
|
-
options:
|
|
80
|
+
options: GeoMapsRequestOptions,
|
|
72
81
|
cb: (err: any, data?: GetTileCommandOutput) => void,
|
|
73
82
|
): void;
|
|
74
83
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-geo-maps",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Geo Maps Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-geo-maps",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.974.
|
|
52
|
-
"@smithy/core": "^3.
|
|
53
|
-
"@smithy/fetch-http-handler": "^5.
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
55
|
-
"@smithy/types": "^4.
|
|
49
|
+
"@aws-sdk/core": "^3.978.1",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
51
|
+
"@aws-sdk/types": "^3.974.6",
|
|
52
|
+
"@smithy/core": "^3.35.0",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
55
|
+
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|