@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,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 { GetStaticMapRequest, GetStaticMapResponse } from "../models/models_0";
|
|
10
|
+
export { __MetadataBearer };
|
|
11
|
+
export { $Command };
|
|
12
|
+
export interface GetStaticMapCommandInput extends GetStaticMapRequest {}
|
|
13
|
+
export type GetStaticMapCommandOutputType = Pick<
|
|
14
|
+
GetStaticMapResponse,
|
|
15
|
+
Exclude<keyof GetStaticMapResponse, "Blob">
|
|
16
|
+
> & {
|
|
17
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
18
|
+
};
|
|
19
|
+
export interface GetStaticMapCommandOutput
|
|
20
|
+
extends GetStaticMapCommandOutputType,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
declare const GetStaticMapCommand_base: {
|
|
23
|
+
new (
|
|
24
|
+
input: GetStaticMapCommandInput
|
|
25
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
26
|
+
GetStaticMapCommandInput,
|
|
27
|
+
GetStaticMapCommandOutput,
|
|
28
|
+
GeoMapsClientResolvedConfig,
|
|
29
|
+
ServiceInputTypes,
|
|
30
|
+
ServiceOutputTypes
|
|
31
|
+
>;
|
|
32
|
+
new (
|
|
33
|
+
__0_0: GetStaticMapCommandInput
|
|
34
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
35
|
+
GetStaticMapCommandInput,
|
|
36
|
+
GetStaticMapCommandOutput,
|
|
37
|
+
GeoMapsClientResolvedConfig,
|
|
38
|
+
ServiceInputTypes,
|
|
39
|
+
ServiceOutputTypes
|
|
40
|
+
>;
|
|
41
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
42
|
+
};
|
|
43
|
+
export declare class GetStaticMapCommand extends GetStaticMapCommand_base {
|
|
44
|
+
protected static __types: {
|
|
45
|
+
api: {
|
|
46
|
+
input: GetStaticMapRequest;
|
|
47
|
+
output: GetStaticMapResponse;
|
|
48
|
+
};
|
|
49
|
+
sdk: {
|
|
50
|
+
input: GetStaticMapCommandInput;
|
|
51
|
+
output: GetStaticMapCommandOutput;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 {
|
|
10
|
+
GetStyleDescriptorRequest,
|
|
11
|
+
GetStyleDescriptorResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
export { __MetadataBearer };
|
|
14
|
+
export { $Command };
|
|
15
|
+
export interface GetStyleDescriptorCommandInput
|
|
16
|
+
extends GetStyleDescriptorRequest {}
|
|
17
|
+
export type GetStyleDescriptorCommandOutputType = Pick<
|
|
18
|
+
GetStyleDescriptorResponse,
|
|
19
|
+
Exclude<keyof GetStyleDescriptorResponse, "Blob">
|
|
20
|
+
> & {
|
|
21
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
22
|
+
};
|
|
23
|
+
export interface GetStyleDescriptorCommandOutput
|
|
24
|
+
extends GetStyleDescriptorCommandOutputType,
|
|
25
|
+
__MetadataBearer {}
|
|
26
|
+
declare const GetStyleDescriptorCommand_base: {
|
|
27
|
+
new (
|
|
28
|
+
input: GetStyleDescriptorCommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
GetStyleDescriptorCommandInput,
|
|
31
|
+
GetStyleDescriptorCommandOutput,
|
|
32
|
+
GeoMapsClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
36
|
+
new (
|
|
37
|
+
__0_0: GetStyleDescriptorCommandInput
|
|
38
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
39
|
+
GetStyleDescriptorCommandInput,
|
|
40
|
+
GetStyleDescriptorCommandOutput,
|
|
41
|
+
GeoMapsClientResolvedConfig,
|
|
42
|
+
ServiceInputTypes,
|
|
43
|
+
ServiceOutputTypes
|
|
44
|
+
>;
|
|
45
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
46
|
+
};
|
|
47
|
+
export declare class GetStyleDescriptorCommand extends GetStyleDescriptorCommand_base {
|
|
48
|
+
protected static __types: {
|
|
49
|
+
api: {
|
|
50
|
+
input: GetStyleDescriptorRequest;
|
|
51
|
+
output: GetStyleDescriptorResponse;
|
|
52
|
+
};
|
|
53
|
+
sdk: {
|
|
54
|
+
input: GetStyleDescriptorCommandInput;
|
|
55
|
+
output: GetStyleDescriptorCommandOutput;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { GetTileRequest, GetTileResponse } from "../models/models_0";
|
|
10
|
+
export { __MetadataBearer };
|
|
11
|
+
export { $Command };
|
|
12
|
+
export interface GetTileCommandInput extends GetTileRequest {}
|
|
13
|
+
export type GetTileCommandOutputType = Pick<
|
|
14
|
+
GetTileResponse,
|
|
15
|
+
Exclude<keyof GetTileResponse, "Blob">
|
|
16
|
+
> & {
|
|
17
|
+
Blob?: Uint8ArrayBlobAdapter;
|
|
18
|
+
};
|
|
19
|
+
export interface GetTileCommandOutput
|
|
20
|
+
extends GetTileCommandOutputType,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
declare const GetTileCommand_base: {
|
|
23
|
+
new (input: GetTileCommandInput): import("@smithy/smithy-client").CommandImpl<
|
|
24
|
+
GetTileCommandInput,
|
|
25
|
+
GetTileCommandOutput,
|
|
26
|
+
GeoMapsClientResolvedConfig,
|
|
27
|
+
ServiceInputTypes,
|
|
28
|
+
ServiceOutputTypes
|
|
29
|
+
>;
|
|
30
|
+
new (__0_0: GetTileCommandInput): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetTileCommandInput,
|
|
32
|
+
GetTileCommandOutput,
|
|
33
|
+
GeoMapsClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class GetTileCommand extends GetTileCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: GetTileRequest;
|
|
43
|
+
output: GetTileResponse;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: GetTileCommandInput;
|
|
47
|
+
output: GetTileCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
10
|
+
endpoint?:
|
|
11
|
+
| string
|
|
12
|
+
| Provider<string>
|
|
13
|
+
| Endpoint
|
|
14
|
+
| Provider<Endpoint>
|
|
15
|
+
| EndpointV2
|
|
16
|
+
| Provider<EndpointV2>;
|
|
17
|
+
region?: string | Provider<string>;
|
|
18
|
+
}
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
23
|
+
options: T & ClientInputEndpointParameters
|
|
24
|
+
) => T &
|
|
25
|
+
ClientInputEndpointParameters & {
|
|
26
|
+
defaultSigningName: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
+
UseDualStack?: boolean;
|
|
48
|
+
UseFIPS?: boolean;
|
|
49
|
+
Endpoint?: string;
|
|
50
|
+
Region?: string;
|
|
51
|
+
}
|
|
@@ -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
|
+
export interface GeoMapsExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./GeoMapsClient";
|
|
2
|
+
export * from "./GeoMaps";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { GeoMapsExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./models";
|
|
8
|
+
export { GeoMapsServiceException } from "./models/GeoMapsServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class GeoMapsServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { GeoMapsServiceException as __BaseException } from "./GeoMapsServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
Message: string | undefined;
|
|
7
|
+
constructor(
|
|
8
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
+
);
|
|
10
|
+
}
|
|
11
|
+
export declare const ColorScheme: {
|
|
12
|
+
readonly DARK: "Dark";
|
|
13
|
+
readonly LIGHT: "Light";
|
|
14
|
+
};
|
|
15
|
+
export type ColorScheme = (typeof ColorScheme)[keyof typeof ColorScheme];
|
|
16
|
+
export interface GetGlyphsRequest {
|
|
17
|
+
FontStack: string | undefined;
|
|
18
|
+
FontUnicodeRange: string | undefined;
|
|
19
|
+
}
|
|
20
|
+
export interface GetGlyphsResponse {
|
|
21
|
+
Blob?: Uint8Array;
|
|
22
|
+
ContentType?: string;
|
|
23
|
+
CacheControl?: string;
|
|
24
|
+
ETag?: string;
|
|
25
|
+
}
|
|
26
|
+
export declare const MapStyle: {
|
|
27
|
+
readonly HYBRID: "Hybrid";
|
|
28
|
+
readonly MONOCHROME: "Monochrome";
|
|
29
|
+
readonly SATELLITE: "Satellite";
|
|
30
|
+
readonly STANDARD: "Standard";
|
|
31
|
+
};
|
|
32
|
+
export type MapStyle = (typeof MapStyle)[keyof typeof MapStyle];
|
|
33
|
+
export declare const Variant: {
|
|
34
|
+
readonly DEFAULT: "Default";
|
|
35
|
+
};
|
|
36
|
+
export type Variant = (typeof Variant)[keyof typeof Variant];
|
|
37
|
+
export interface GetSpritesRequest {
|
|
38
|
+
FileName: string | undefined;
|
|
39
|
+
Style: MapStyle | undefined;
|
|
40
|
+
ColorScheme: ColorScheme | undefined;
|
|
41
|
+
Variant: Variant | undefined;
|
|
42
|
+
}
|
|
43
|
+
export interface GetSpritesResponse {
|
|
44
|
+
Blob?: Uint8Array;
|
|
45
|
+
ContentType?: string;
|
|
46
|
+
CacheControl?: string;
|
|
47
|
+
ETag?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const ScaleBarUnit: {
|
|
50
|
+
readonly KILOMETERS: "Kilometers";
|
|
51
|
+
readonly KILOMETERS_MILES: "KilometersMiles";
|
|
52
|
+
readonly MILES: "Miles";
|
|
53
|
+
readonly MILES_KILOMETERS: "MilesKilometers";
|
|
54
|
+
};
|
|
55
|
+
export type ScaleBarUnit = (typeof ScaleBarUnit)[keyof typeof ScaleBarUnit];
|
|
56
|
+
export declare const StaticMapStyle: {
|
|
57
|
+
readonly SATELLITE: "Satellite";
|
|
58
|
+
};
|
|
59
|
+
export type StaticMapStyle =
|
|
60
|
+
(typeof StaticMapStyle)[keyof typeof StaticMapStyle];
|
|
61
|
+
export interface GetStaticMapRequest {
|
|
62
|
+
BoundingBox?: string;
|
|
63
|
+
BoundedPositions?: string;
|
|
64
|
+
Center?: string;
|
|
65
|
+
CompactOverlay?: string;
|
|
66
|
+
GeoJsonOverlay?: string;
|
|
67
|
+
Height: number | undefined;
|
|
68
|
+
Key?: string;
|
|
69
|
+
Padding?: number;
|
|
70
|
+
Radius?: number;
|
|
71
|
+
FileName: string | undefined;
|
|
72
|
+
ScaleBarUnit?: ScaleBarUnit;
|
|
73
|
+
Style?: StaticMapStyle;
|
|
74
|
+
Width: number | undefined;
|
|
75
|
+
Zoom?: number;
|
|
76
|
+
}
|
|
77
|
+
export interface GetStaticMapResponse {
|
|
78
|
+
Blob?: Uint8Array;
|
|
79
|
+
ContentType?: string;
|
|
80
|
+
CacheControl?: string;
|
|
81
|
+
ETag?: string;
|
|
82
|
+
PricingBucket: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export declare class InternalServerException extends __BaseException {
|
|
85
|
+
readonly name: "InternalServerException";
|
|
86
|
+
readonly $fault: "server";
|
|
87
|
+
$retryable: {};
|
|
88
|
+
Message: string | undefined;
|
|
89
|
+
constructor(
|
|
90
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
export declare class ThrottlingException extends __BaseException {
|
|
94
|
+
readonly name: "ThrottlingException";
|
|
95
|
+
readonly $fault: "client";
|
|
96
|
+
$retryable: {};
|
|
97
|
+
Message: string | undefined;
|
|
98
|
+
constructor(
|
|
99
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
export interface ValidationExceptionField {
|
|
103
|
+
Name: string | undefined;
|
|
104
|
+
Message: string | undefined;
|
|
105
|
+
}
|
|
106
|
+
export declare const ValidationExceptionReason: {
|
|
107
|
+
readonly CANNOT_PARSE: "CannotParse";
|
|
108
|
+
readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
|
|
109
|
+
readonly MISSING: "Missing";
|
|
110
|
+
readonly OTHER: "Other";
|
|
111
|
+
readonly UNKNOWN_FIELD: "UnknownField";
|
|
112
|
+
readonly UNKNOWN_OPERATION: "UnknownOperation";
|
|
113
|
+
};
|
|
114
|
+
export type ValidationExceptionReason =
|
|
115
|
+
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
116
|
+
export declare class ValidationException extends __BaseException {
|
|
117
|
+
readonly name: "ValidationException";
|
|
118
|
+
readonly $fault: "client";
|
|
119
|
+
Message: string | undefined;
|
|
120
|
+
Reason: ValidationExceptionReason | undefined;
|
|
121
|
+
FieldList: ValidationExceptionField[] | undefined;
|
|
122
|
+
constructor(
|
|
123
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
export interface GetStyleDescriptorRequest {
|
|
127
|
+
Style: MapStyle | undefined;
|
|
128
|
+
ColorScheme?: ColorScheme;
|
|
129
|
+
PoliticalView?: string;
|
|
130
|
+
Key?: string;
|
|
131
|
+
}
|
|
132
|
+
export interface GetStyleDescriptorResponse {
|
|
133
|
+
Blob?: Uint8Array;
|
|
134
|
+
ContentType?: string;
|
|
135
|
+
CacheControl?: string;
|
|
136
|
+
ETag?: string;
|
|
137
|
+
}
|
|
138
|
+
export interface GetTileRequest {
|
|
139
|
+
Tileset: string | undefined;
|
|
140
|
+
Z: string | undefined;
|
|
141
|
+
X: string | undefined;
|
|
142
|
+
Y: string | undefined;
|
|
143
|
+
Key?: string;
|
|
144
|
+
}
|
|
145
|
+
export interface GetTileResponse {
|
|
146
|
+
Blob?: Uint8Array;
|
|
147
|
+
ContentType?: string;
|
|
148
|
+
CacheControl?: string;
|
|
149
|
+
ETag?: string;
|
|
150
|
+
PricingBucket: string | undefined;
|
|
151
|
+
}
|
|
152
|
+
export declare const GetStaticMapRequestFilterSensitiveLog: (
|
|
153
|
+
obj: GetStaticMapRequest
|
|
154
|
+
) => any;
|
|
155
|
+
export declare const GetStyleDescriptorRequestFilterSensitiveLog: (
|
|
156
|
+
obj: GetStyleDescriptorRequest
|
|
157
|
+
) => any;
|
|
158
|
+
export declare const GetTileRequestFilterSensitiveLog: (
|
|
159
|
+
obj: GetTileRequest
|
|
160
|
+
) => any;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
GetGlyphsCommandInput,
|
|
8
|
+
GetGlyphsCommandOutput,
|
|
9
|
+
} from "../commands/GetGlyphsCommand";
|
|
10
|
+
import {
|
|
11
|
+
GetSpritesCommandInput,
|
|
12
|
+
GetSpritesCommandOutput,
|
|
13
|
+
} from "../commands/GetSpritesCommand";
|
|
14
|
+
import {
|
|
15
|
+
GetStaticMapCommandInput,
|
|
16
|
+
GetStaticMapCommandOutput,
|
|
17
|
+
} from "../commands/GetStaticMapCommand";
|
|
18
|
+
import {
|
|
19
|
+
GetStyleDescriptorCommandInput,
|
|
20
|
+
GetStyleDescriptorCommandOutput,
|
|
21
|
+
} from "../commands/GetStyleDescriptorCommand";
|
|
22
|
+
import {
|
|
23
|
+
GetTileCommandInput,
|
|
24
|
+
GetTileCommandOutput,
|
|
25
|
+
} from "../commands/GetTileCommand";
|
|
26
|
+
export declare const se_GetGlyphsCommand: (
|
|
27
|
+
input: GetGlyphsCommandInput,
|
|
28
|
+
context: __SerdeContext
|
|
29
|
+
) => Promise<__HttpRequest>;
|
|
30
|
+
export declare const se_GetSpritesCommand: (
|
|
31
|
+
input: GetSpritesCommandInput,
|
|
32
|
+
context: __SerdeContext
|
|
33
|
+
) => Promise<__HttpRequest>;
|
|
34
|
+
export declare const se_GetStaticMapCommand: (
|
|
35
|
+
input: GetStaticMapCommandInput,
|
|
36
|
+
context: __SerdeContext
|
|
37
|
+
) => Promise<__HttpRequest>;
|
|
38
|
+
export declare const se_GetStyleDescriptorCommand: (
|
|
39
|
+
input: GetStyleDescriptorCommandInput,
|
|
40
|
+
context: __SerdeContext
|
|
41
|
+
) => Promise<__HttpRequest>;
|
|
42
|
+
export declare const se_GetTileCommand: (
|
|
43
|
+
input: GetTileCommandInput,
|
|
44
|
+
context: __SerdeContext
|
|
45
|
+
) => Promise<__HttpRequest>;
|
|
46
|
+
export declare const de_GetGlyphsCommand: (
|
|
47
|
+
output: __HttpResponse,
|
|
48
|
+
context: __SerdeContext
|
|
49
|
+
) => Promise<GetGlyphsCommandOutput>;
|
|
50
|
+
export declare const de_GetSpritesCommand: (
|
|
51
|
+
output: __HttpResponse,
|
|
52
|
+
context: __SerdeContext
|
|
53
|
+
) => Promise<GetSpritesCommandOutput>;
|
|
54
|
+
export declare const de_GetStaticMapCommand: (
|
|
55
|
+
output: __HttpResponse,
|
|
56
|
+
context: __SerdeContext
|
|
57
|
+
) => Promise<GetStaticMapCommandOutput>;
|
|
58
|
+
export declare const de_GetStyleDescriptorCommand: (
|
|
59
|
+
output: __HttpResponse,
|
|
60
|
+
context: __SerdeContext
|
|
61
|
+
) => Promise<GetStyleDescriptorCommandOutput>;
|
|
62
|
+
export declare const de_GetTileCommand: (
|
|
63
|
+
output: __HttpResponse,
|
|
64
|
+
context: __SerdeContext
|
|
65
|
+
) => Promise<GetTileCommandOutput>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { GeoMapsClientConfig } from "./GeoMapsClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider: (
|
|
10
|
+
input: any
|
|
11
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
12
|
+
defaultUserAgentProvider: (
|
|
13
|
+
config?:
|
|
14
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
15
|
+
| undefined
|
|
16
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
21
|
+
| RequestHandler;
|
|
22
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
24
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
25
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
26
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
27
|
+
apiVersion: string;
|
|
28
|
+
cacheMiddleware?: boolean | undefined;
|
|
29
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
30
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
31
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
32
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
34
|
+
disableHostPrefix: boolean;
|
|
35
|
+
serviceId: string;
|
|
36
|
+
logger: import("@smithy/types").Logger;
|
|
37
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
38
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
39
|
+
userAgentAppId?:
|
|
40
|
+
| string
|
|
41
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
42
|
+
| undefined;
|
|
43
|
+
retryStrategy?:
|
|
44
|
+
| import("@smithy/types").RetryStrategy
|
|
45
|
+
| import("@smithy/types").RetryStrategyV2
|
|
46
|
+
| undefined;
|
|
47
|
+
endpoint?:
|
|
48
|
+
| ((
|
|
49
|
+
| string
|
|
50
|
+
| import("@smithy/types").Endpoint
|
|
51
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
52
|
+
| import("@smithy/types").EndpointV2
|
|
53
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
54
|
+
) &
|
|
55
|
+
(
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Provider<string>
|
|
58
|
+
| import("@smithy/types").Endpoint
|
|
59
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
60
|
+
| import("@smithy/types").EndpointV2
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
62
|
+
))
|
|
63
|
+
| undefined;
|
|
64
|
+
endpointProvider: (
|
|
65
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
66
|
+
context?: {
|
|
67
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
68
|
+
}
|
|
69
|
+
) => import("@smithy/types").EndpointV2;
|
|
70
|
+
tls?: boolean | undefined;
|
|
71
|
+
serviceConfiguredEndpoint?: undefined;
|
|
72
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
73
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GeoMapsHttpAuthSchemeProvider;
|
|
74
|
+
credentials?:
|
|
75
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
76
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
77
|
+
| undefined;
|
|
78
|
+
signer?:
|
|
79
|
+
| import("@smithy/types").RequestSigner
|
|
80
|
+
| ((
|
|
81
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
82
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
83
|
+
| undefined;
|
|
84
|
+
signingEscapePath?: boolean | undefined;
|
|
85
|
+
systemClockOffset?: number | undefined;
|
|
86
|
+
signingRegion?: string | undefined;
|
|
87
|
+
signerConstructor?:
|
|
88
|
+
| (new (
|
|
89
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
90
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
) => import("@smithy/types").RequestSigner)
|
|
92
|
+
| undefined;
|
|
93
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { GeoMapsClientConfig } from "./GeoMapsClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: GeoMapsClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
6
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider: (
|
|
10
|
+
init?:
|
|
11
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
12
|
+
| undefined
|
|
13
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
14
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
15
|
+
>;
|
|
16
|
+
defaultUserAgentProvider: (
|
|
17
|
+
config?:
|
|
18
|
+
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
19
|
+
| undefined
|
|
20
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
21
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
22
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
23
|
+
requestHandler:
|
|
24
|
+
| RequestHandler
|
|
25
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
26
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
28
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
29
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
30
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
31
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
32
|
+
apiVersion: string;
|
|
33
|
+
cacheMiddleware?: boolean | undefined;
|
|
34
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
35
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
36
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
37
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
39
|
+
disableHostPrefix: boolean;
|
|
40
|
+
serviceId: string;
|
|
41
|
+
logger: import("@smithy/types").Logger;
|
|
42
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
44
|
+
retryStrategy?:
|
|
45
|
+
| import("@smithy/types").RetryStrategy
|
|
46
|
+
| import("@smithy/types").RetryStrategyV2
|
|
47
|
+
| undefined;
|
|
48
|
+
endpoint?:
|
|
49
|
+
| ((
|
|
50
|
+
| string
|
|
51
|
+
| import("@smithy/types").Endpoint
|
|
52
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
53
|
+
| import("@smithy/types").EndpointV2
|
|
54
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
55
|
+
) &
|
|
56
|
+
(
|
|
57
|
+
| string
|
|
58
|
+
| import("@smithy/types").Provider<string>
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
))
|
|
64
|
+
| undefined;
|
|
65
|
+
endpointProvider: (
|
|
66
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
67
|
+
context?: {
|
|
68
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
69
|
+
}
|
|
70
|
+
) => import("@smithy/types").EndpointV2;
|
|
71
|
+
tls?: boolean | undefined;
|
|
72
|
+
serviceConfiguredEndpoint?: undefined;
|
|
73
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
74
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").GeoMapsHttpAuthSchemeProvider;
|
|
75
|
+
credentials?:
|
|
76
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
77
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
78
|
+
| undefined;
|
|
79
|
+
signer?:
|
|
80
|
+
| import("@smithy/types").RequestSigner
|
|
81
|
+
| ((
|
|
82
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
83
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
84
|
+
| undefined;
|
|
85
|
+
signingEscapePath?: boolean | undefined;
|
|
86
|
+
systemClockOffset?: number | undefined;
|
|
87
|
+
signingRegion?: string | undefined;
|
|
88
|
+
signerConstructor?:
|
|
89
|
+
| (new (
|
|
90
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
92
|
+
) => import("@smithy/types").RequestSigner)
|
|
93
|
+
| undefined;
|
|
94
|
+
};
|