@aws-sdk/client-geo-maps 3.683.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/LICENSE +201 -0
- package/README.md +273 -0
- package/dist-cjs/GeoMaps.js +21 -0
- package/dist-cjs/GeoMapsClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/GetGlyphsCommand.js +26 -0
- package/dist-cjs/commands/GetSpritesCommand.js +26 -0
- package/dist-cjs/commands/GetStaticMapCommand.js +27 -0
- package/dist-cjs/commands/GetStyleDescriptorCommand.js +27 -0
- package/dist-cjs/commands/GetTileCommand.js +27 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/GeoMapsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +110 -0
- package/dist-cjs/protocols/Aws_restJson1.js +307 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/GeoMaps.js +17 -0
- package/dist-es/GeoMapsClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/GetGlyphsCommand.js +22 -0
- package/dist-es/commands/GetSpritesCommand.js +22 -0
- package/dist-es/commands/GetStaticMapCommand.js +23 -0
- package/dist-es/commands/GetStyleDescriptorCommand.js +23 -0
- package/dist-es/commands/GetTileCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/GeoMapsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +100 -0
- package/dist-es/protocols/Aws_restJson1.js +294 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/GeoMaps.d.ts +73 -0
- package/dist-types/GeoMapsClient.d.ts +202 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/GetGlyphsCommand.d.ts +82 -0
- package/dist-types/commands/GetSpritesCommand.d.ts +84 -0
- package/dist-types/commands/GetStaticMapCommand.d.ts +107 -0
- package/dist-types/commands/GetStyleDescriptorCommand.d.ts +84 -0
- package/dist-types/commands/GetTileCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +41 -0
- package/dist-types/models/GeoMapsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +892 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +47 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/GeoMaps.d.ts +90 -0
- package/dist-types/ts3.4/GeoMapsClient.d.ts +148 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/GetGlyphsCommand.d.ts +54 -0
- package/dist-types/ts3.4/commands/GetSpritesCommand.d.ts +54 -0
- package/dist-types/ts3.4/commands/GetStaticMapCommand.d.ts +54 -0
- package/dist-types/ts3.4/commands/GetStyleDescriptorCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/GetTileCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +8 -0
- package/dist-types/ts3.4/models/GeoMapsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +160 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +65 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +102 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { Uint8ArrayBlobAdapter } from "@smithy/util-stream";
|
|
4
|
+
import { GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoMapsClient";
|
|
5
|
+
import { GetTileRequest, GetTileResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*
|
|
14
|
+
* The input for {@link GetTileCommand}.
|
|
15
|
+
*/
|
|
16
|
+
export interface GetTileCommandInput extends GetTileRequest {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type GetTileCommandOutputType = Omit<GetTileResponse, "Blob"> & {
|
|
22
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*
|
|
27
|
+
* The output of {@link GetTileCommand}.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetTileCommandOutput extends GetTileCommandOutputType, __MetadataBearer {
|
|
30
|
+
}
|
|
31
|
+
declare const GetTileCommand_base: {
|
|
32
|
+
new (input: GetTileCommandInput): import("@smithy/smithy-client").CommandImpl<GetTileCommandInput, GetTileCommandOutput, GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
33
|
+
new (__0_0: GetTileCommandInput): import("@smithy/smithy-client").CommandImpl<GetTileCommandInput, GetTileCommandOutput, GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* <p>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>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { GeoMapsClient, GetTileCommand } from "@aws-sdk/client-geo-maps"; // ES Modules import
|
|
42
|
+
* // const { GeoMapsClient, GetTileCommand } = require("@aws-sdk/client-geo-maps"); // CommonJS import
|
|
43
|
+
* const client = new GeoMapsClient(config);
|
|
44
|
+
* const input = { // GetTileRequest
|
|
45
|
+
* Tileset: "STRING_VALUE", // required
|
|
46
|
+
* Z: "STRING_VALUE", // required
|
|
47
|
+
* X: "STRING_VALUE", // required
|
|
48
|
+
* Y: "STRING_VALUE", // required
|
|
49
|
+
* Key: "STRING_VALUE",
|
|
50
|
+
* };
|
|
51
|
+
* const command = new GetTileCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // { // GetTileResponse
|
|
54
|
+
* // Blob: new Uint8Array(),
|
|
55
|
+
* // ContentType: "STRING_VALUE",
|
|
56
|
+
* // CacheControl: "STRING_VALUE",
|
|
57
|
+
* // ETag: "STRING_VALUE",
|
|
58
|
+
* // PricingBucket: "STRING_VALUE", // required
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param GetTileCommandInput - {@link GetTileCommandInput}
|
|
64
|
+
* @returns {@link GetTileCommandOutput}
|
|
65
|
+
* @see {@link GetTileCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link GetTileCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link GeoMapsClientResolvedConfig | config} for GeoMapsClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The request was denied due to request throttling.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link GeoMapsServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from GeoMaps service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class GetTileCommand extends GetTileCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: GetTileRequest;
|
|
91
|
+
output: GetTileResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: GetTileCommandInput;
|
|
95
|
+
output: GetTileCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
7
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
|
+
region?: string | Provider<string>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
36
|
+
UseDualStack?: boolean;
|
|
37
|
+
UseFIPS?: boolean;
|
|
38
|
+
Endpoint?: string;
|
|
39
|
+
Region?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface GeoMapsExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <p>
|
|
3
|
+
* Integrate high-quality base map data into your applications using
|
|
4
|
+
* <a href="https://maplibre.org">MapLibre</a>. Capabilities include:
|
|
5
|
+
* </p>
|
|
6
|
+
* <ul>
|
|
7
|
+
* <li>
|
|
8
|
+
* <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs.</p>
|
|
9
|
+
* </li>
|
|
10
|
+
* <li>
|
|
11
|
+
* <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization.</p>
|
|
12
|
+
* </li>
|
|
13
|
+
* <li>
|
|
14
|
+
* <p>Generation of static map images for scenarios where interactive maps aren't 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>
|
|
31
|
+
*
|
|
32
|
+
* @packageDocumentation
|
|
33
|
+
*/
|
|
34
|
+
export * from "./GeoMapsClient";
|
|
35
|
+
export * from "./GeoMaps";
|
|
36
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
37
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
38
|
+
export type { GeoMapsExtensionConfiguration } from "./extensionConfiguration";
|
|
39
|
+
export * from "./commands";
|
|
40
|
+
export * from "./models";
|
|
41
|
+
export { GeoMapsServiceException } from "./models/GeoMapsServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from GeoMaps service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class GeoMapsServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|