@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.
Files changed (99) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +273 -0
  3. package/dist-cjs/GeoMaps.js +21 -0
  4. package/dist-cjs/GeoMapsClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/GetGlyphsCommand.js +26 -0
  8. package/dist-cjs/commands/GetSpritesCommand.js +26 -0
  9. package/dist-cjs/commands/GetStaticMapCommand.js +27 -0
  10. package/dist-cjs/commands/GetStyleDescriptorCommand.js +27 -0
  11. package/dist-cjs/commands/GetTileCommand.js +27 -0
  12. package/dist-cjs/commands/index.js +8 -0
  13. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  14. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  15. package/dist-cjs/endpoint/ruleset.js +7 -0
  16. package/dist-cjs/extensionConfiguration.js +2 -0
  17. package/dist-cjs/index.js +10 -0
  18. package/dist-cjs/models/GeoMapsServiceException.js +12 -0
  19. package/dist-cjs/models/index.js +4 -0
  20. package/dist-cjs/models/models_0.js +110 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +307 -0
  22. package/dist-cjs/runtimeConfig.browser.js +39 -0
  23. package/dist-cjs/runtimeConfig.js +50 -0
  24. package/dist-cjs/runtimeConfig.native.js +15 -0
  25. package/dist-cjs/runtimeConfig.shared.js +34 -0
  26. package/dist-cjs/runtimeExtensions.js +25 -0
  27. package/dist-es/GeoMaps.js +17 -0
  28. package/dist-es/GeoMapsClient.js +46 -0
  29. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  30. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  31. package/dist-es/commands/GetGlyphsCommand.js +22 -0
  32. package/dist-es/commands/GetSpritesCommand.js +22 -0
  33. package/dist-es/commands/GetStaticMapCommand.js +23 -0
  34. package/dist-es/commands/GetStyleDescriptorCommand.js +23 -0
  35. package/dist-es/commands/GetTileCommand.js +23 -0
  36. package/dist-es/commands/index.js +5 -0
  37. package/dist-es/endpoint/EndpointParameters.js +14 -0
  38. package/dist-es/endpoint/endpointResolver.js +14 -0
  39. package/dist-es/endpoint/ruleset.js +4 -0
  40. package/dist-es/extensionConfiguration.js +1 -0
  41. package/dist-es/index.js +5 -0
  42. package/dist-es/models/GeoMapsServiceException.js +8 -0
  43. package/dist-es/models/index.js +1 -0
  44. package/dist-es/models/models_0.js +100 -0
  45. package/dist-es/protocols/Aws_restJson1.js +294 -0
  46. package/dist-es/runtimeConfig.browser.js +34 -0
  47. package/dist-es/runtimeConfig.js +45 -0
  48. package/dist-es/runtimeConfig.native.js +11 -0
  49. package/dist-es/runtimeConfig.shared.js +30 -0
  50. package/dist-es/runtimeExtensions.js +21 -0
  51. package/dist-types/GeoMaps.d.ts +73 -0
  52. package/dist-types/GeoMapsClient.d.ts +202 -0
  53. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  54. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  55. package/dist-types/commands/GetGlyphsCommand.d.ts +82 -0
  56. package/dist-types/commands/GetSpritesCommand.d.ts +84 -0
  57. package/dist-types/commands/GetStaticMapCommand.d.ts +107 -0
  58. package/dist-types/commands/GetStyleDescriptorCommand.d.ts +84 -0
  59. package/dist-types/commands/GetTileCommand.d.ts +98 -0
  60. package/dist-types/commands/index.d.ts +5 -0
  61. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  62. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  63. package/dist-types/endpoint/ruleset.d.ts +2 -0
  64. package/dist-types/extensionConfiguration.d.ts +9 -0
  65. package/dist-types/index.d.ts +41 -0
  66. package/dist-types/models/GeoMapsServiceException.d.ts +14 -0
  67. package/dist-types/models/index.d.ts +1 -0
  68. package/dist-types/models/models_0.d.ts +892 -0
  69. package/dist-types/protocols/Aws_restJson1.d.ts +47 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  71. package/dist-types/runtimeConfig.d.ts +48 -0
  72. package/dist-types/runtimeConfig.native.d.ts +47 -0
  73. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  74. package/dist-types/runtimeExtensions.d.ts +17 -0
  75. package/dist-types/ts3.4/GeoMaps.d.ts +90 -0
  76. package/dist-types/ts3.4/GeoMapsClient.d.ts +148 -0
  77. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  78. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  79. package/dist-types/ts3.4/commands/GetGlyphsCommand.d.ts +54 -0
  80. package/dist-types/ts3.4/commands/GetSpritesCommand.d.ts +54 -0
  81. package/dist-types/ts3.4/commands/GetStaticMapCommand.d.ts +54 -0
  82. package/dist-types/ts3.4/commands/GetStyleDescriptorCommand.d.ts +58 -0
  83. package/dist-types/ts3.4/commands/GetTileCommand.d.ts +50 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  85. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  86. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  87. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  88. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  89. package/dist-types/ts3.4/index.d.ts +8 -0
  90. package/dist-types/ts3.4/models/GeoMapsServiceException.d.ts +9 -0
  91. package/dist-types/ts3.4/models/index.d.ts +1 -0
  92. package/dist-types/ts3.4/models/models_0.d.ts +160 -0
  93. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +65 -0
  94. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  95. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  96. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  97. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  98. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  99. package/package.json +102 -0
@@ -0,0 +1,202 @@
1
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { GetGlyphsCommandInput, GetGlyphsCommandOutput } from "./commands/GetGlyphsCommand";
11
+ import { GetSpritesCommandInput, GetSpritesCommandOutput } from "./commands/GetSpritesCommand";
12
+ import { GetStaticMapCommandInput, GetStaticMapCommandOutput } from "./commands/GetStaticMapCommand";
13
+ import { GetStyleDescriptorCommandInput, GetStyleDescriptorCommandOutput } from "./commands/GetStyleDescriptorCommand";
14
+ import { GetTileCommandInput, GetTileCommandOutput } from "./commands/GetTileCommand";
15
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
16
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
17
+ export { __Client };
18
+ /**
19
+ * @public
20
+ */
21
+ export type ServiceInputTypes = GetGlyphsCommandInput | GetSpritesCommandInput | GetStaticMapCommandInput | GetStyleDescriptorCommandInput | GetTileCommandInput;
22
+ /**
23
+ * @public
24
+ */
25
+ export type ServiceOutputTypes = GetGlyphsCommandOutput | GetSpritesCommandOutput | GetStaticMapCommandOutput | GetStyleDescriptorCommandOutput | GetTileCommandOutput;
26
+ /**
27
+ * @public
28
+ */
29
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
30
+ /**
31
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
32
+ */
33
+ requestHandler?: __HttpHandlerUserInput;
34
+ /**
35
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
36
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
37
+ * @internal
38
+ */
39
+ sha256?: __ChecksumConstructor | __HashConstructor;
40
+ /**
41
+ * The function that will be used to convert strings into HTTP endpoints.
42
+ * @internal
43
+ */
44
+ urlParser?: __UrlParser;
45
+ /**
46
+ * A function that can calculate the length of a request body.
47
+ * @internal
48
+ */
49
+ bodyLengthChecker?: __BodyLengthCalculator;
50
+ /**
51
+ * A function that converts a stream into an array of bytes.
52
+ * @internal
53
+ */
54
+ streamCollector?: __StreamCollector;
55
+ /**
56
+ * The function that will be used to convert a base64-encoded string to a byte array.
57
+ * @internal
58
+ */
59
+ base64Decoder?: __Decoder;
60
+ /**
61
+ * The function that will be used to convert binary data to a base64-encoded string.
62
+ * @internal
63
+ */
64
+ base64Encoder?: __Encoder;
65
+ /**
66
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
67
+ * @internal
68
+ */
69
+ utf8Decoder?: __Decoder;
70
+ /**
71
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
72
+ * @internal
73
+ */
74
+ utf8Encoder?: __Encoder;
75
+ /**
76
+ * The runtime environment.
77
+ * @internal
78
+ */
79
+ runtime?: string;
80
+ /**
81
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
82
+ * trait of an operation.
83
+ */
84
+ disableHostPrefix?: boolean;
85
+ /**
86
+ * Unique service identifier.
87
+ * @internal
88
+ */
89
+ serviceId?: string;
90
+ /**
91
+ * Enables IPv6/IPv4 dualstack endpoint.
92
+ */
93
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
94
+ /**
95
+ * Enables FIPS compatible endpoints.
96
+ */
97
+ useFipsEndpoint?: boolean | __Provider<boolean>;
98
+ /**
99
+ * The AWS region to which this client will send requests
100
+ */
101
+ region?: string | __Provider<string>;
102
+ /**
103
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
104
+ * @internal
105
+ */
106
+ defaultUserAgentProvider?: Provider<__UserAgent>;
107
+ /**
108
+ * Default credentials provider; Not available in browser runtime.
109
+ * @deprecated
110
+ * @internal
111
+ */
112
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
113
+ /**
114
+ * Value for how many times a request will be made at most in case of retry.
115
+ */
116
+ maxAttempts?: number | __Provider<number>;
117
+ /**
118
+ * Specifies which retry algorithm to use.
119
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
120
+ *
121
+ */
122
+ retryMode?: string | __Provider<string>;
123
+ /**
124
+ * Optional logger for logging debug/info/warn/error.
125
+ */
126
+ logger?: __Logger;
127
+ /**
128
+ * Optional extensions
129
+ */
130
+ extensions?: RuntimeExtension[];
131
+ /**
132
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
133
+ */
134
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
135
+ }
136
+ /**
137
+ * @public
138
+ */
139
+ export type GeoMapsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
140
+ /**
141
+ * @public
142
+ *
143
+ * The configuration interface of GeoMapsClient class constructor that set the region, credentials and other options.
144
+ */
145
+ export interface GeoMapsClientConfig extends GeoMapsClientConfigType {
146
+ }
147
+ /**
148
+ * @public
149
+ */
150
+ export type GeoMapsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
151
+ /**
152
+ * @public
153
+ *
154
+ * The resolved configuration interface of GeoMapsClient class. This is resolved and normalized from the {@link GeoMapsClientConfig | constructor configuration interface}.
155
+ */
156
+ export interface GeoMapsClientResolvedConfig extends GeoMapsClientResolvedConfigType {
157
+ }
158
+ /**
159
+ * <p>
160
+ * Integrate high-quality base map data into your applications using
161
+ * <a href="https://maplibre.org">MapLibre</a>. Capabilities include:
162
+ * </p>
163
+ * <ul>
164
+ * <li>
165
+ * <p>Access to comprehensive base map data, allowing you to tailor the map display to your specific needs.</p>
166
+ * </li>
167
+ * <li>
168
+ * <p>Multiple pre-designed map styles suited for various application types, such as navigation, logistics, or data visualization.</p>
169
+ * </li>
170
+ * <li>
171
+ * <p>Generation of static map images for scenarios where interactive maps aren't suitable, such as:</p>
172
+ * <ul>
173
+ * <li>
174
+ * <p>Embedding in emails or documents</p>
175
+ * </li>
176
+ * <li>
177
+ * <p>Displaying in low-bandwidth environments</p>
178
+ * </li>
179
+ * <li>
180
+ * <p>Creating printable maps</p>
181
+ * </li>
182
+ * <li>
183
+ * <p>Enhancing application performance by reducing client-side rendering</p>
184
+ * </li>
185
+ * </ul>
186
+ * </li>
187
+ * </ul>
188
+ * @public
189
+ */
190
+ export declare class GeoMapsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, GeoMapsClientResolvedConfig> {
191
+ /**
192
+ * The resolved configuration of GeoMapsClient class. This is resolved and normalized from the {@link GeoMapsClientConfig | constructor configuration interface}.
193
+ */
194
+ readonly config: GeoMapsClientResolvedConfig;
195
+ constructor(...[configuration]: __CheckOptionalClientConfig<GeoMapsClientConfig>);
196
+ /**
197
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
198
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
199
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
200
+ */
201
+ destroy(): void;
202
+ }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { GeoMapsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: GeoMapsHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): GeoMapsHttpAuthSchemeProvider;
11
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
12
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: GeoMapsHttpAuthSchemeProvider;
20
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,61 @@
1
+ import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
3
+ import { GeoMapsClientResolvedConfig } from "../GeoMapsClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface GeoMapsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface GeoMapsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<GeoMapsClientResolvedConfig, HandlerExecutionContext, GeoMapsHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultGeoMapsHttpAuthSchemeParametersProvider: (config: GeoMapsClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<GeoMapsHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface GeoMapsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<GeoMapsHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultGeoMapsHttpAuthSchemeProvider: GeoMapsHttpAuthSchemeProvider;
28
+ /**
29
+ * @internal
30
+ */
31
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
32
+ /**
33
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
34
+ * @internal
35
+ */
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ /**
38
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
39
+ * @internal
40
+ */
41
+ httpAuthSchemeProvider?: GeoMapsHttpAuthSchemeProvider;
42
+ }
43
+ /**
44
+ * @internal
45
+ */
46
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
47
+ /**
48
+ * Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
49
+ * @internal
50
+ */
51
+ readonly httpAuthSchemes: HttpAuthScheme[];
52
+ /**
53
+ * Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
54
+ * @internal
55
+ */
56
+ readonly httpAuthSchemeProvider: GeoMapsHttpAuthSchemeProvider;
57
+ }
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,82 @@
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 { GetGlyphsRequest, GetGlyphsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link GetGlyphsCommand}.
15
+ */
16
+ export interface GetGlyphsCommandInput extends GetGlyphsRequest {
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export type GetGlyphsCommandOutputType = Omit<GetGlyphsResponse, "Blob"> & {
22
+ Blob?: Uint8ArrayBlobAdapter;
23
+ };
24
+ /**
25
+ * @public
26
+ *
27
+ * The output of {@link GetGlyphsCommand}.
28
+ */
29
+ export interface GetGlyphsCommandOutput extends GetGlyphsCommandOutputType, __MetadataBearer {
30
+ }
31
+ declare const GetGlyphsCommand_base: {
32
+ new (input: GetGlyphsCommandInput): import("@smithy/smithy-client").CommandImpl<GetGlyphsCommandInput, GetGlyphsCommandOutput, GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
+ new (__0_0: GetGlyphsCommandInput): import("@smithy/smithy-client").CommandImpl<GetGlyphsCommandInput, GetGlyphsCommandOutput, GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ /**
37
+ * <p>Returns the map's glyphs.</p>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { GeoMapsClient, GetGlyphsCommand } from "@aws-sdk/client-geo-maps"; // ES Modules import
42
+ * // const { GeoMapsClient, GetGlyphsCommand } = require("@aws-sdk/client-geo-maps"); // CommonJS import
43
+ * const client = new GeoMapsClient(config);
44
+ * const input = { // GetGlyphsRequest
45
+ * FontStack: "STRING_VALUE", // required
46
+ * FontUnicodeRange: "STRING_VALUE", // required
47
+ * };
48
+ * const command = new GetGlyphsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // GetGlyphsResponse
51
+ * // Blob: new Uint8Array(),
52
+ * // ContentType: "STRING_VALUE",
53
+ * // CacheControl: "STRING_VALUE",
54
+ * // ETag: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetGlyphsCommandInput - {@link GetGlyphsCommandInput}
60
+ * @returns {@link GetGlyphsCommandOutput}
61
+ * @see {@link GetGlyphsCommandInput} for command's `input` shape.
62
+ * @see {@link GetGlyphsCommandOutput} for command's `response` shape.
63
+ * @see {@link GeoMapsClientResolvedConfig | config} for GeoMapsClient's `config` shape.
64
+ *
65
+ * @throws {@link GeoMapsServiceException}
66
+ * <p>Base exception class for all service exceptions from GeoMaps service.</p>
67
+ *
68
+ * @public
69
+ */
70
+ export declare class GetGlyphsCommand extends GetGlyphsCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: GetGlyphsRequest;
75
+ output: GetGlyphsResponse;
76
+ };
77
+ sdk: {
78
+ input: GetGlyphsCommandInput;
79
+ output: GetGlyphsCommandOutput;
80
+ };
81
+ };
82
+ }
@@ -0,0 +1,84 @@
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 { GetSpritesRequest, GetSpritesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link GetSpritesCommand}.
15
+ */
16
+ export interface GetSpritesCommandInput extends GetSpritesRequest {
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export type GetSpritesCommandOutputType = Omit<GetSpritesResponse, "Blob"> & {
22
+ Blob?: Uint8ArrayBlobAdapter;
23
+ };
24
+ /**
25
+ * @public
26
+ *
27
+ * The output of {@link GetSpritesCommand}.
28
+ */
29
+ export interface GetSpritesCommandOutput extends GetSpritesCommandOutputType, __MetadataBearer {
30
+ }
31
+ declare const GetSpritesCommand_base: {
32
+ new (input: GetSpritesCommandInput): import("@smithy/smithy-client").CommandImpl<GetSpritesCommandInput, GetSpritesCommandOutput, GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
+ new (__0_0: GetSpritesCommandInput): import("@smithy/smithy-client").CommandImpl<GetSpritesCommandInput, GetSpritesCommandOutput, GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ /**
37
+ * <p>Returns the map's sprites.</p>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { GeoMapsClient, GetSpritesCommand } from "@aws-sdk/client-geo-maps"; // ES Modules import
42
+ * // const { GeoMapsClient, GetSpritesCommand } = require("@aws-sdk/client-geo-maps"); // CommonJS import
43
+ * const client = new GeoMapsClient(config);
44
+ * const input = { // GetSpritesRequest
45
+ * FileName: "STRING_VALUE", // required
46
+ * Style: "STRING_VALUE", // required
47
+ * ColorScheme: "STRING_VALUE", // required
48
+ * Variant: "STRING_VALUE", // required
49
+ * };
50
+ * const command = new GetSpritesCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // GetSpritesResponse
53
+ * // Blob: new Uint8Array(),
54
+ * // ContentType: "STRING_VALUE",
55
+ * // CacheControl: "STRING_VALUE",
56
+ * // ETag: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param GetSpritesCommandInput - {@link GetSpritesCommandInput}
62
+ * @returns {@link GetSpritesCommandOutput}
63
+ * @see {@link GetSpritesCommandInput} for command's `input` shape.
64
+ * @see {@link GetSpritesCommandOutput} for command's `response` shape.
65
+ * @see {@link GeoMapsClientResolvedConfig | config} for GeoMapsClient's `config` shape.
66
+ *
67
+ * @throws {@link GeoMapsServiceException}
68
+ * <p>Base exception class for all service exceptions from GeoMaps service.</p>
69
+ *
70
+ * @public
71
+ */
72
+ export declare class GetSpritesCommand extends GetSpritesCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: GetSpritesRequest;
77
+ output: GetSpritesResponse;
78
+ };
79
+ sdk: {
80
+ input: GetSpritesCommandInput;
81
+ output: GetSpritesCommandOutput;
82
+ };
83
+ };
84
+ }
@@ -0,0 +1,107 @@
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 { GetStaticMapRequest, GetStaticMapResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link GetStaticMapCommand}.
15
+ */
16
+ export interface GetStaticMapCommandInput extends GetStaticMapRequest {
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export type GetStaticMapCommandOutputType = Omit<GetStaticMapResponse, "Blob"> & {
22
+ Blob?: Uint8ArrayBlobAdapter;
23
+ };
24
+ /**
25
+ * @public
26
+ *
27
+ * The output of {@link GetStaticMapCommand}.
28
+ */
29
+ export interface GetStaticMapCommandOutput extends GetStaticMapCommandOutputType, __MetadataBearer {
30
+ }
31
+ declare const GetStaticMapCommand_base: {
32
+ new (input: GetStaticMapCommandInput): import("@smithy/smithy-client").CommandImpl<GetStaticMapCommandInput, GetStaticMapCommandOutput, GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
+ new (__0_0: GetStaticMapCommandInput): import("@smithy/smithy-client").CommandImpl<GetStaticMapCommandInput, GetStaticMapCommandOutput, GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ /**
37
+ * <p>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>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { GeoMapsClient, GetStaticMapCommand } from "@aws-sdk/client-geo-maps"; // ES Modules import
42
+ * // const { GeoMapsClient, GetStaticMapCommand } = require("@aws-sdk/client-geo-maps"); // CommonJS import
43
+ * const client = new GeoMapsClient(config);
44
+ * const input = { // GetStaticMapRequest
45
+ * BoundingBox: "STRING_VALUE",
46
+ * BoundedPositions: "STRING_VALUE",
47
+ * Center: "STRING_VALUE",
48
+ * CompactOverlay: "STRING_VALUE",
49
+ * GeoJsonOverlay: "STRING_VALUE",
50
+ * Height: Number("int"), // required
51
+ * Key: "STRING_VALUE",
52
+ * Padding: Number("int"),
53
+ * Radius: Number("long"),
54
+ * FileName: "STRING_VALUE", // required
55
+ * ScaleBarUnit: "STRING_VALUE",
56
+ * Style: "STRING_VALUE",
57
+ * Width: Number("int"), // required
58
+ * Zoom: Number("float"),
59
+ * };
60
+ * const command = new GetStaticMapCommand(input);
61
+ * const response = await client.send(command);
62
+ * // { // GetStaticMapResponse
63
+ * // Blob: new Uint8Array(),
64
+ * // ContentType: "STRING_VALUE",
65
+ * // CacheControl: "STRING_VALUE",
66
+ * // ETag: "STRING_VALUE",
67
+ * // PricingBucket: "STRING_VALUE", // required
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param GetStaticMapCommandInput - {@link GetStaticMapCommandInput}
73
+ * @returns {@link GetStaticMapCommandOutput}
74
+ * @see {@link GetStaticMapCommandInput} for command's `input` shape.
75
+ * @see {@link GetStaticMapCommandOutput} for command's `response` shape.
76
+ * @see {@link GeoMapsClientResolvedConfig | config} for GeoMapsClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.</p>
80
+ *
81
+ * @throws {@link InternalServerException} (server fault)
82
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
83
+ *
84
+ * @throws {@link ThrottlingException} (client fault)
85
+ * <p>The request was denied due to request throttling.</p>
86
+ *
87
+ * @throws {@link ValidationException} (client fault)
88
+ * <p>The input fails to satisfy the constraints specified by an AWS service.</p>
89
+ *
90
+ * @throws {@link GeoMapsServiceException}
91
+ * <p>Base exception class for all service exceptions from GeoMaps service.</p>
92
+ *
93
+ * @public
94
+ */
95
+ export declare class GetStaticMapCommand extends GetStaticMapCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: GetStaticMapRequest;
100
+ output: GetStaticMapResponse;
101
+ };
102
+ sdk: {
103
+ input: GetStaticMapCommandInput;
104
+ output: GetStaticMapCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -0,0 +1,84 @@
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 { GetStyleDescriptorRequest, GetStyleDescriptorResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export type { __MetadataBearer };
10
+ export { $Command };
11
+ /**
12
+ * @public
13
+ *
14
+ * The input for {@link GetStyleDescriptorCommand}.
15
+ */
16
+ export interface GetStyleDescriptorCommandInput extends GetStyleDescriptorRequest {
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export type GetStyleDescriptorCommandOutputType = Omit<GetStyleDescriptorResponse, "Blob"> & {
22
+ Blob?: Uint8ArrayBlobAdapter;
23
+ };
24
+ /**
25
+ * @public
26
+ *
27
+ * The output of {@link GetStyleDescriptorCommand}.
28
+ */
29
+ export interface GetStyleDescriptorCommandOutput extends GetStyleDescriptorCommandOutputType, __MetadataBearer {
30
+ }
31
+ declare const GetStyleDescriptorCommand_base: {
32
+ new (input: GetStyleDescriptorCommandInput): import("@smithy/smithy-client").CommandImpl<GetStyleDescriptorCommandInput, GetStyleDescriptorCommandOutput, GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
33
+ new (__0_0: GetStyleDescriptorCommandInput): import("@smithy/smithy-client").CommandImpl<GetStyleDescriptorCommandInput, GetStyleDescriptorCommandOutput, GeoMapsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ /**
37
+ * <p>Returns information about the style.</p>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { GeoMapsClient, GetStyleDescriptorCommand } from "@aws-sdk/client-geo-maps"; // ES Modules import
42
+ * // const { GeoMapsClient, GetStyleDescriptorCommand } = require("@aws-sdk/client-geo-maps"); // CommonJS import
43
+ * const client = new GeoMapsClient(config);
44
+ * const input = { // GetStyleDescriptorRequest
45
+ * Style: "STRING_VALUE", // required
46
+ * ColorScheme: "STRING_VALUE",
47
+ * PoliticalView: "STRING_VALUE",
48
+ * Key: "STRING_VALUE",
49
+ * };
50
+ * const command = new GetStyleDescriptorCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // GetStyleDescriptorResponse
53
+ * // Blob: new Uint8Array(),
54
+ * // ContentType: "STRING_VALUE",
55
+ * // CacheControl: "STRING_VALUE",
56
+ * // ETag: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param GetStyleDescriptorCommandInput - {@link GetStyleDescriptorCommandInput}
62
+ * @returns {@link GetStyleDescriptorCommandOutput}
63
+ * @see {@link GetStyleDescriptorCommandInput} for command's `input` shape.
64
+ * @see {@link GetStyleDescriptorCommandOutput} for command's `response` shape.
65
+ * @see {@link GeoMapsClientResolvedConfig | config} for GeoMapsClient's `config` shape.
66
+ *
67
+ * @throws {@link GeoMapsServiceException}
68
+ * <p>Base exception class for all service exceptions from GeoMaps service.</p>
69
+ *
70
+ * @public
71
+ */
72
+ export declare class GetStyleDescriptorCommand extends GetStyleDescriptorCommand_base {
73
+ /** @internal type navigation helper, not in runtime. */
74
+ protected static __types: {
75
+ api: {
76
+ input: GetStyleDescriptorRequest;
77
+ output: GetStyleDescriptorResponse;
78
+ };
79
+ sdk: {
80
+ input: GetStyleDescriptorCommandInput;
81
+ output: GetStyleDescriptorCommandOutput;
82
+ };
83
+ };
84
+ }