@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,47 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { GetGlyphsCommandInput, GetGlyphsCommandOutput } from "../commands/GetGlyphsCommand";
4
+ import { GetSpritesCommandInput, GetSpritesCommandOutput } from "../commands/GetSpritesCommand";
5
+ import { GetStaticMapCommandInput, GetStaticMapCommandOutput } from "../commands/GetStaticMapCommand";
6
+ import { GetStyleDescriptorCommandInput, GetStyleDescriptorCommandOutput } from "../commands/GetStyleDescriptorCommand";
7
+ import { GetTileCommandInput, GetTileCommandOutput } from "../commands/GetTileCommand";
8
+ /**
9
+ * serializeAws_restJson1GetGlyphsCommand
10
+ */
11
+ export declare const se_GetGlyphsCommand: (input: GetGlyphsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
+ /**
13
+ * serializeAws_restJson1GetSpritesCommand
14
+ */
15
+ export declare const se_GetSpritesCommand: (input: GetSpritesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
16
+ /**
17
+ * serializeAws_restJson1GetStaticMapCommand
18
+ */
19
+ export declare const se_GetStaticMapCommand: (input: GetStaticMapCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
+ /**
21
+ * serializeAws_restJson1GetStyleDescriptorCommand
22
+ */
23
+ export declare const se_GetStyleDescriptorCommand: (input: GetStyleDescriptorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
+ /**
25
+ * serializeAws_restJson1GetTileCommand
26
+ */
27
+ export declare const se_GetTileCommand: (input: GetTileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
+ /**
29
+ * deserializeAws_restJson1GetGlyphsCommand
30
+ */
31
+ export declare const de_GetGlyphsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetGlyphsCommandOutput>;
32
+ /**
33
+ * deserializeAws_restJson1GetSpritesCommand
34
+ */
35
+ export declare const de_GetSpritesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSpritesCommandOutput>;
36
+ /**
37
+ * deserializeAws_restJson1GetStaticMapCommand
38
+ */
39
+ export declare const de_GetStaticMapCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStaticMapCommandOutput>;
40
+ /**
41
+ * deserializeAws_restJson1GetStyleDescriptorCommand
42
+ */
43
+ export declare const de_GetStyleDescriptorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStyleDescriptorCommandOutput>;
44
+ /**
45
+ * deserializeAws_restJson1GetTileCommand
46
+ */
47
+ export declare const de_GetTileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTileCommandOutput>;
@@ -0,0 +1,48 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { GeoMapsClientConfig } from "./GeoMapsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
22
+ urlParser: import("@smithy/types").UrlParser;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
+ disableHostPrefix: boolean;
28
+ serviceId: string;
29
+ logger: import("@smithy/types").Logger;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GeoMapsHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,48 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { GeoMapsClientConfig } from "./GeoMapsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
21
+ apiVersion: string;
22
+ cacheMiddleware?: boolean | undefined;
23
+ urlParser: import("@smithy/types").UrlParser;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: string | Uint8Array) => string;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: (input: string | Uint8Array) => string;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ logger: import("@smithy/types").Logger;
31
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GeoMapsHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,47 @@
1
+ import { GeoMapsClientConfig } from "./GeoMapsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: string | Uint8Array) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: string | Uint8Array) => string;
18
+ disableHostPrefix: boolean;
19
+ serviceId: string;
20
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ maxAttempts: number | import("@smithy/types").Provider<number>;
26
+ retryMode: string | import("@smithy/types").Provider<string>;
27
+ logger: import("@smithy/types").Logger;
28
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
30
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
32
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
33
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
39
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
40
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GeoMapsHttpAuthSchemeProvider;
41
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
42
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
43
+ signingEscapePath?: boolean | undefined;
44
+ systemClockOffset?: number | undefined;
45
+ signingRegion?: string | undefined;
46
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
47
+ };
@@ -0,0 +1,21 @@
1
+ import { GeoMapsClientConfig } from "./GeoMapsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GeoMapsHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { GeoMapsExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: GeoMapsExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,90 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ GetGlyphsCommandInput,
4
+ GetGlyphsCommandOutput,
5
+ } from "./commands/GetGlyphsCommand";
6
+ import {
7
+ GetSpritesCommandInput,
8
+ GetSpritesCommandOutput,
9
+ } from "./commands/GetSpritesCommand";
10
+ import {
11
+ GetStaticMapCommandInput,
12
+ GetStaticMapCommandOutput,
13
+ } from "./commands/GetStaticMapCommand";
14
+ import {
15
+ GetStyleDescriptorCommandInput,
16
+ GetStyleDescriptorCommandOutput,
17
+ } from "./commands/GetStyleDescriptorCommand";
18
+ import {
19
+ GetTileCommandInput,
20
+ GetTileCommandOutput,
21
+ } from "./commands/GetTileCommand";
22
+ import { GeoMapsClient } from "./GeoMapsClient";
23
+ export interface GeoMaps {
24
+ getGlyphs(
25
+ args: GetGlyphsCommandInput,
26
+ options?: __HttpHandlerOptions
27
+ ): Promise<GetGlyphsCommandOutput>;
28
+ getGlyphs(
29
+ args: GetGlyphsCommandInput,
30
+ cb: (err: any, data?: GetGlyphsCommandOutput) => void
31
+ ): void;
32
+ getGlyphs(
33
+ args: GetGlyphsCommandInput,
34
+ options: __HttpHandlerOptions,
35
+ cb: (err: any, data?: GetGlyphsCommandOutput) => void
36
+ ): void;
37
+ getSprites(
38
+ args: GetSpritesCommandInput,
39
+ options?: __HttpHandlerOptions
40
+ ): Promise<GetSpritesCommandOutput>;
41
+ getSprites(
42
+ args: GetSpritesCommandInput,
43
+ cb: (err: any, data?: GetSpritesCommandOutput) => void
44
+ ): void;
45
+ getSprites(
46
+ args: GetSpritesCommandInput,
47
+ options: __HttpHandlerOptions,
48
+ cb: (err: any, data?: GetSpritesCommandOutput) => void
49
+ ): void;
50
+ getStaticMap(
51
+ args: GetStaticMapCommandInput,
52
+ options?: __HttpHandlerOptions
53
+ ): Promise<GetStaticMapCommandOutput>;
54
+ getStaticMap(
55
+ args: GetStaticMapCommandInput,
56
+ cb: (err: any, data?: GetStaticMapCommandOutput) => void
57
+ ): void;
58
+ getStaticMap(
59
+ args: GetStaticMapCommandInput,
60
+ options: __HttpHandlerOptions,
61
+ cb: (err: any, data?: GetStaticMapCommandOutput) => void
62
+ ): void;
63
+ getStyleDescriptor(
64
+ args: GetStyleDescriptorCommandInput,
65
+ options?: __HttpHandlerOptions
66
+ ): Promise<GetStyleDescriptorCommandOutput>;
67
+ getStyleDescriptor(
68
+ args: GetStyleDescriptorCommandInput,
69
+ cb: (err: any, data?: GetStyleDescriptorCommandOutput) => void
70
+ ): void;
71
+ getStyleDescriptor(
72
+ args: GetStyleDescriptorCommandInput,
73
+ options: __HttpHandlerOptions,
74
+ cb: (err: any, data?: GetStyleDescriptorCommandOutput) => void
75
+ ): void;
76
+ getTile(
77
+ args: GetTileCommandInput,
78
+ options?: __HttpHandlerOptions
79
+ ): Promise<GetTileCommandOutput>;
80
+ getTile(
81
+ args: GetTileCommandInput,
82
+ cb: (err: any, data?: GetTileCommandOutput) => void
83
+ ): void;
84
+ getTile(
85
+ args: GetTileCommandInput,
86
+ options: __HttpHandlerOptions,
87
+ cb: (err: any, data?: GetTileCommandOutput) => void
88
+ ): void;
89
+ }
90
+ export declare class GeoMaps extends GeoMapsClient implements GeoMaps {}
@@ -0,0 +1,148 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ GetGlyphsCommandInput,
50
+ GetGlyphsCommandOutput,
51
+ } from "./commands/GetGlyphsCommand";
52
+ import {
53
+ GetSpritesCommandInput,
54
+ GetSpritesCommandOutput,
55
+ } from "./commands/GetSpritesCommand";
56
+ import {
57
+ GetStaticMapCommandInput,
58
+ GetStaticMapCommandOutput,
59
+ } from "./commands/GetStaticMapCommand";
60
+ import {
61
+ GetStyleDescriptorCommandInput,
62
+ GetStyleDescriptorCommandOutput,
63
+ } from "./commands/GetStyleDescriptorCommand";
64
+ import {
65
+ GetTileCommandInput,
66
+ GetTileCommandOutput,
67
+ } from "./commands/GetTileCommand";
68
+ import {
69
+ ClientInputEndpointParameters,
70
+ ClientResolvedEndpointParameters,
71
+ EndpointParameters,
72
+ } from "./endpoint/EndpointParameters";
73
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
74
+ export { __Client };
75
+ export type ServiceInputTypes =
76
+ | GetGlyphsCommandInput
77
+ | GetSpritesCommandInput
78
+ | GetStaticMapCommandInput
79
+ | GetStyleDescriptorCommandInput
80
+ | GetTileCommandInput;
81
+ export type ServiceOutputTypes =
82
+ | GetGlyphsCommandOutput
83
+ | GetSpritesCommandOutput
84
+ | GetStaticMapCommandOutput
85
+ | GetStyleDescriptorCommandOutput
86
+ | GetTileCommandOutput;
87
+ export interface ClientDefaults
88
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
89
+ requestHandler?: __HttpHandlerUserInput;
90
+ sha256?: __ChecksumConstructor | __HashConstructor;
91
+ urlParser?: __UrlParser;
92
+ bodyLengthChecker?: __BodyLengthCalculator;
93
+ streamCollector?: __StreamCollector;
94
+ base64Decoder?: __Decoder;
95
+ base64Encoder?: __Encoder;
96
+ utf8Decoder?: __Decoder;
97
+ utf8Encoder?: __Encoder;
98
+ runtime?: string;
99
+ disableHostPrefix?: boolean;
100
+ serviceId?: string;
101
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
102
+ useFipsEndpoint?: boolean | __Provider<boolean>;
103
+ region?: string | __Provider<string>;
104
+ defaultUserAgentProvider?: Provider<__UserAgent>;
105
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
106
+ maxAttempts?: number | __Provider<number>;
107
+ retryMode?: string | __Provider<string>;
108
+ logger?: __Logger;
109
+ extensions?: RuntimeExtension[];
110
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
111
+ }
112
+ export type GeoMapsClientConfigType = Partial<
113
+ __SmithyConfiguration<__HttpHandlerOptions>
114
+ > &
115
+ ClientDefaults &
116
+ UserAgentInputConfig &
117
+ RetryInputConfig &
118
+ RegionInputConfig &
119
+ HostHeaderInputConfig &
120
+ EndpointInputConfig<EndpointParameters> &
121
+ HttpAuthSchemeInputConfig &
122
+ ClientInputEndpointParameters;
123
+ export interface GeoMapsClientConfig extends GeoMapsClientConfigType {}
124
+ export type GeoMapsClientResolvedConfigType =
125
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
126
+ Required<ClientDefaults> &
127
+ RuntimeExtensionsConfig &
128
+ UserAgentResolvedConfig &
129
+ RetryResolvedConfig &
130
+ RegionResolvedConfig &
131
+ HostHeaderResolvedConfig &
132
+ EndpointResolvedConfig<EndpointParameters> &
133
+ HttpAuthSchemeResolvedConfig &
134
+ ClientResolvedEndpointParameters;
135
+ export interface GeoMapsClientResolvedConfig
136
+ extends GeoMapsClientResolvedConfigType {}
137
+ export declare class GeoMapsClient extends __Client<
138
+ __HttpHandlerOptions,
139
+ ServiceInputTypes,
140
+ ServiceOutputTypes,
141
+ GeoMapsClientResolvedConfig
142
+ > {
143
+ readonly config: GeoMapsClientResolvedConfig;
144
+ constructor(
145
+ ...[configuration]: __CheckOptionalClientConfig<GeoMapsClientConfig>
146
+ );
147
+ destroy(): void;
148
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { GeoMapsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: GeoMapsHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): GeoMapsHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: GeoMapsHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,44 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { GeoMapsClientResolvedConfig } from "../GeoMapsClient";
14
+ export interface GeoMapsHttpAuthSchemeParameters
15
+ extends HttpAuthSchemeParameters {
16
+ region?: string;
17
+ }
18
+ export interface GeoMapsHttpAuthSchemeParametersProvider
19
+ extends HttpAuthSchemeParametersProvider<
20
+ GeoMapsClientResolvedConfig,
21
+ HandlerExecutionContext,
22
+ GeoMapsHttpAuthSchemeParameters,
23
+ object
24
+ > {}
25
+ export declare const defaultGeoMapsHttpAuthSchemeParametersProvider: (
26
+ config: GeoMapsClientResolvedConfig,
27
+ context: HandlerExecutionContext,
28
+ input: object
29
+ ) => Promise<GeoMapsHttpAuthSchemeParameters>;
30
+ export interface GeoMapsHttpAuthSchemeProvider
31
+ extends HttpAuthSchemeProvider<GeoMapsHttpAuthSchemeParameters> {}
32
+ export declare const defaultGeoMapsHttpAuthSchemeProvider: GeoMapsHttpAuthSchemeProvider;
33
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ httpAuthSchemeProvider?: GeoMapsHttpAuthSchemeProvider;
36
+ }
37
+ export interface HttpAuthSchemeResolvedConfig
38
+ extends AwsSdkSigV4AuthResolvedConfig {
39
+ readonly httpAuthSchemes: HttpAuthScheme[];
40
+ readonly httpAuthSchemeProvider: GeoMapsHttpAuthSchemeProvider;
41
+ }
42
+ export declare const resolveHttpAuthSchemeConfig: <T>(
43
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
44
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,54 @@
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 {
5
+ GeoMapsClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../GeoMapsClient";
9
+ import { GetGlyphsRequest, GetGlyphsResponse } from "../models/models_0";
10
+ export { __MetadataBearer };
11
+ export { $Command };
12
+ export interface GetGlyphsCommandInput extends GetGlyphsRequest {}
13
+ export type GetGlyphsCommandOutputType = Pick<
14
+ GetGlyphsResponse,
15
+ Exclude<keyof GetGlyphsResponse, "Blob">
16
+ > & {
17
+ Blob?: Uint8ArrayBlobAdapter;
18
+ };
19
+ export interface GetGlyphsCommandOutput
20
+ extends GetGlyphsCommandOutputType,
21
+ __MetadataBearer {}
22
+ declare const GetGlyphsCommand_base: {
23
+ new (
24
+ input: GetGlyphsCommandInput
25
+ ): import("@smithy/smithy-client").CommandImpl<
26
+ GetGlyphsCommandInput,
27
+ GetGlyphsCommandOutput,
28
+ GeoMapsClientResolvedConfig,
29
+ ServiceInputTypes,
30
+ ServiceOutputTypes
31
+ >;
32
+ new (
33
+ __0_0: GetGlyphsCommandInput
34
+ ): import("@smithy/smithy-client").CommandImpl<
35
+ GetGlyphsCommandInput,
36
+ GetGlyphsCommandOutput,
37
+ GeoMapsClientResolvedConfig,
38
+ ServiceInputTypes,
39
+ ServiceOutputTypes
40
+ >;
41
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
42
+ };
43
+ export declare class GetGlyphsCommand extends GetGlyphsCommand_base {
44
+ protected static __types: {
45
+ api: {
46
+ input: GetGlyphsRequest;
47
+ output: GetGlyphsResponse;
48
+ };
49
+ sdk: {
50
+ input: GetGlyphsCommandInput;
51
+ output: GetGlyphsCommandOutput;
52
+ };
53
+ };
54
+ }
@@ -0,0 +1,54 @@
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 {
5
+ GeoMapsClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../GeoMapsClient";
9
+ import { GetSpritesRequest, GetSpritesResponse } from "../models/models_0";
10
+ export { __MetadataBearer };
11
+ export { $Command };
12
+ export interface GetSpritesCommandInput extends GetSpritesRequest {}
13
+ export type GetSpritesCommandOutputType = Pick<
14
+ GetSpritesResponse,
15
+ Exclude<keyof GetSpritesResponse, "Blob">
16
+ > & {
17
+ Blob?: Uint8ArrayBlobAdapter;
18
+ };
19
+ export interface GetSpritesCommandOutput
20
+ extends GetSpritesCommandOutputType,
21
+ __MetadataBearer {}
22
+ declare const GetSpritesCommand_base: {
23
+ new (
24
+ input: GetSpritesCommandInput
25
+ ): import("@smithy/smithy-client").CommandImpl<
26
+ GetSpritesCommandInput,
27
+ GetSpritesCommandOutput,
28
+ GeoMapsClientResolvedConfig,
29
+ ServiceInputTypes,
30
+ ServiceOutputTypes
31
+ >;
32
+ new (
33
+ __0_0: GetSpritesCommandInput
34
+ ): import("@smithy/smithy-client").CommandImpl<
35
+ GetSpritesCommandInput,
36
+ GetSpritesCommandOutput,
37
+ GeoMapsClientResolvedConfig,
38
+ ServiceInputTypes,
39
+ ServiceOutputTypes
40
+ >;
41
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
42
+ };
43
+ export declare class GetSpritesCommand extends GetSpritesCommand_base {
44
+ protected static __types: {
45
+ api: {
46
+ input: GetSpritesRequest;
47
+ output: GetSpritesResponse;
48
+ };
49
+ sdk: {
50
+ input: GetSpritesCommandInput;
51
+ output: GetSpritesCommandOutput;
52
+ };
53
+ };
54
+ }