@aws-sdk/client-geo-maps 3.893.0 → 3.895.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +859 -9
- package/package.json +7 -7
- package/dist-cjs/GeoMaps.js +0 -21
- package/dist-cjs/GeoMapsClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/GetGlyphsCommand.js +0 -26
- package/dist-cjs/commands/GetSpritesCommand.js +0 -26
- package/dist-cjs/commands/GetStaticMapCommand.js +0 -27
- package/dist-cjs/commands/GetStyleDescriptorCommand.js +0 -27
- package/dist-cjs/commands/GetTileCommand.js +0 -27
- package/dist-cjs/commands/index.js +0 -8
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/GeoMapsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -155
- package/dist-cjs/protocols/Aws_restJson1.js +0 -337
- package/dist-cjs/runtimeExtensions.js +0 -13
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-geo-maps",
|
|
3
3
|
"description": "AWS SDK for JavaScript Geo Maps Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.895.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-geo-maps",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.894.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.895.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.895.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.895.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.895.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
35
|
"@smithy/core": "^3.11.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
package/dist-cjs/GeoMaps.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GeoMaps = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const GetGlyphsCommand_1 = require("./commands/GetGlyphsCommand");
|
|
6
|
-
const GetSpritesCommand_1 = require("./commands/GetSpritesCommand");
|
|
7
|
-
const GetStaticMapCommand_1 = require("./commands/GetStaticMapCommand");
|
|
8
|
-
const GetStyleDescriptorCommand_1 = require("./commands/GetStyleDescriptorCommand");
|
|
9
|
-
const GetTileCommand_1 = require("./commands/GetTileCommand");
|
|
10
|
-
const GeoMapsClient_1 = require("./GeoMapsClient");
|
|
11
|
-
const commands = {
|
|
12
|
-
GetGlyphsCommand: GetGlyphsCommand_1.GetGlyphsCommand,
|
|
13
|
-
GetSpritesCommand: GetSpritesCommand_1.GetSpritesCommand,
|
|
14
|
-
GetStaticMapCommand: GetStaticMapCommand_1.GetStaticMapCommand,
|
|
15
|
-
GetStyleDescriptorCommand: GetStyleDescriptorCommand_1.GetStyleDescriptorCommand,
|
|
16
|
-
GetTileCommand: GetTileCommand_1.GetTileCommand,
|
|
17
|
-
};
|
|
18
|
-
class GeoMaps extends GeoMapsClient_1.GeoMapsClient {
|
|
19
|
-
}
|
|
20
|
-
exports.GeoMaps = GeoMaps;
|
|
21
|
-
(0, smithy_client_1.createAggregatedClient)(commands, GeoMaps);
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GeoMapsClient = exports.__Client = void 0;
|
|
4
|
-
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
5
|
-
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
6
|
-
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
7
|
-
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
8
|
-
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
|
-
const core_1 = require("@smithy/core");
|
|
10
|
-
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
11
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
12
|
-
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
13
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
|
-
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
15
|
-
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
16
|
-
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
17
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
18
|
-
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
19
|
-
class GeoMapsClient extends smithy_client_1.Client {
|
|
20
|
-
config;
|
|
21
|
-
constructor(...[configuration]) {
|
|
22
|
-
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
23
|
-
super(_config_0);
|
|
24
|
-
this.initConfig = _config_0;
|
|
25
|
-
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
26
|
-
const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
|
27
|
-
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
28
|
-
const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
|
|
29
|
-
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
30
|
-
const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
|
31
|
-
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
|
32
|
-
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
33
|
-
this.config = _config_8;
|
|
34
|
-
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
35
|
-
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
36
|
-
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
37
|
-
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
38
|
-
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
39
|
-
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
40
|
-
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
41
|
-
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultGeoMapsHttpAuthSchemeParametersProvider,
|
|
42
|
-
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
43
|
-
"aws.auth#sigv4": config.credentials,
|
|
44
|
-
}),
|
|
45
|
-
}));
|
|
46
|
-
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
47
|
-
}
|
|
48
|
-
destroy() {
|
|
49
|
-
super.destroy();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.GeoMapsClient = GeoMapsClient;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
|
|
4
|
-
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
5
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
6
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
7
|
-
let _credentials = runtimeConfig.credentials;
|
|
8
|
-
return {
|
|
9
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
10
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
11
|
-
if (index === -1) {
|
|
12
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
httpAuthSchemes() {
|
|
19
|
-
return _httpAuthSchemes;
|
|
20
|
-
},
|
|
21
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
22
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
23
|
-
},
|
|
24
|
-
httpAuthSchemeProvider() {
|
|
25
|
-
return _httpAuthSchemeProvider;
|
|
26
|
-
},
|
|
27
|
-
setCredentials(credentials) {
|
|
28
|
-
_credentials = credentials;
|
|
29
|
-
},
|
|
30
|
-
credentials() {
|
|
31
|
-
return _credentials;
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
36
|
-
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
37
|
-
return {
|
|
38
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
39
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
40
|
-
credentials: config.credentials(),
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetGlyphsCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class GetGlyphsCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("MapsService", "GetGlyphs", {})
|
|
20
|
-
.n("GeoMapsClient", "GetGlyphsCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_GetGlyphsCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_GetGlyphsCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.GetGlyphsCommand = GetGlyphsCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetSpritesCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class GetSpritesCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("MapsService", "GetSprites", {})
|
|
20
|
-
.n("GeoMapsClient", "GetSpritesCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_restJson1_1.se_GetSpritesCommand)
|
|
23
|
-
.de(Aws_restJson1_1.de_GetSpritesCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.GetSpritesCommand = GetSpritesCommand;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetStaticMapCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class GetStaticMapCommand extends smithy_client_1.Command
|
|
12
|
-
.classBuilder()
|
|
13
|
-
.ep(EndpointParameters_1.commonParams)
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("MapsService", "GetStaticMap", {})
|
|
21
|
-
.n("GeoMapsClient", "GetStaticMapCommand")
|
|
22
|
-
.f(models_0_1.GetStaticMapRequestFilterSensitiveLog, void 0)
|
|
23
|
-
.ser(Aws_restJson1_1.se_GetStaticMapCommand)
|
|
24
|
-
.de(Aws_restJson1_1.de_GetStaticMapCommand)
|
|
25
|
-
.build() {
|
|
26
|
-
}
|
|
27
|
-
exports.GetStaticMapCommand = GetStaticMapCommand;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetStyleDescriptorCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class GetStyleDescriptorCommand extends smithy_client_1.Command
|
|
12
|
-
.classBuilder()
|
|
13
|
-
.ep(EndpointParameters_1.commonParams)
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("MapsService", "GetStyleDescriptor", {})
|
|
21
|
-
.n("GeoMapsClient", "GetStyleDescriptorCommand")
|
|
22
|
-
.f(models_0_1.GetStyleDescriptorRequestFilterSensitiveLog, void 0)
|
|
23
|
-
.ser(Aws_restJson1_1.se_GetStyleDescriptorCommand)
|
|
24
|
-
.de(Aws_restJson1_1.de_GetStyleDescriptorCommand)
|
|
25
|
-
.build() {
|
|
26
|
-
}
|
|
27
|
-
exports.GetStyleDescriptorCommand = GetStyleDescriptorCommand;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetTileCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class GetTileCommand extends smithy_client_1.Command
|
|
12
|
-
.classBuilder()
|
|
13
|
-
.ep(EndpointParameters_1.commonParams)
|
|
14
|
-
.m(function (Command, cs, config, o) {
|
|
15
|
-
return [
|
|
16
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
17
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
18
|
-
];
|
|
19
|
-
})
|
|
20
|
-
.s("MapsService", "GetTile", {})
|
|
21
|
-
.n("GeoMapsClient", "GetTileCommand")
|
|
22
|
-
.f(models_0_1.GetTileRequestFilterSensitiveLog, void 0)
|
|
23
|
-
.ser(Aws_restJson1_1.se_GetTileCommand)
|
|
24
|
-
.de(Aws_restJson1_1.de_GetTileCommand)
|
|
25
|
-
.build() {
|
|
26
|
-
}
|
|
27
|
-
exports.GetTileCommand = GetTileCommand;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./GetGlyphsCommand"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./GetSpritesCommand"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./GetStaticMapCommand"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./GetStyleDescriptorCommand"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./GetTileCommand"), exports);
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
-
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
return Object.assign(options, {
|
|
6
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
7
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
8
|
-
defaultSigningName: "geo-maps",
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
12
|
-
exports.commonParams = {
|
|
13
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
-
Region: { type: "builtInParams", name: "region" },
|
|
16
|
-
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GeoMapsServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class GeoMapsServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, GeoMapsServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.GeoMapsServiceException = GeoMapsServiceException;
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetTileRequestFilterSensitiveLog = exports.GetStyleDescriptorRequestFilterSensitiveLog = exports.GetStaticMapRequestFilterSensitiveLog = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.InternalServerException = exports.StaticMapStyle = exports.ScaleBarUnit = exports.MapFeatureMode = exports.LabelSize = exports.Variant = exports.MapStyle = exports.ColorScheme = exports.AccessDeniedException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const GeoMapsServiceException_1 = require("./GeoMapsServiceException");
|
|
6
|
-
class AccessDeniedException extends GeoMapsServiceException_1.GeoMapsServiceException {
|
|
7
|
-
name = "AccessDeniedException";
|
|
8
|
-
$fault = "client";
|
|
9
|
-
Message;
|
|
10
|
-
constructor(opts) {
|
|
11
|
-
super({
|
|
12
|
-
name: "AccessDeniedException",
|
|
13
|
-
$fault: "client",
|
|
14
|
-
...opts,
|
|
15
|
-
});
|
|
16
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
-
this.Message = opts.Message;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
21
|
-
exports.ColorScheme = {
|
|
22
|
-
DARK: "Dark",
|
|
23
|
-
LIGHT: "Light",
|
|
24
|
-
};
|
|
25
|
-
exports.MapStyle = {
|
|
26
|
-
HYBRID: "Hybrid",
|
|
27
|
-
MONOCHROME: "Monochrome",
|
|
28
|
-
SATELLITE: "Satellite",
|
|
29
|
-
STANDARD: "Standard",
|
|
30
|
-
};
|
|
31
|
-
exports.Variant = {
|
|
32
|
-
DEFAULT: "Default",
|
|
33
|
-
};
|
|
34
|
-
exports.LabelSize = {
|
|
35
|
-
LARGE: "Large",
|
|
36
|
-
SMALL: "Small",
|
|
37
|
-
};
|
|
38
|
-
exports.MapFeatureMode = {
|
|
39
|
-
DISABLED: "Disabled",
|
|
40
|
-
ENABLED: "Enabled",
|
|
41
|
-
};
|
|
42
|
-
exports.ScaleBarUnit = {
|
|
43
|
-
KILOMETERS: "Kilometers",
|
|
44
|
-
KILOMETERS_MILES: "KilometersMiles",
|
|
45
|
-
MILES: "Miles",
|
|
46
|
-
MILES_KILOMETERS: "MilesKilometers",
|
|
47
|
-
};
|
|
48
|
-
exports.StaticMapStyle = {
|
|
49
|
-
SATELLITE: "Satellite",
|
|
50
|
-
STANDARD: "Standard",
|
|
51
|
-
};
|
|
52
|
-
class InternalServerException extends GeoMapsServiceException_1.GeoMapsServiceException {
|
|
53
|
-
name = "InternalServerException";
|
|
54
|
-
$fault = "server";
|
|
55
|
-
$retryable = {};
|
|
56
|
-
Message;
|
|
57
|
-
constructor(opts) {
|
|
58
|
-
super({
|
|
59
|
-
name: "InternalServerException",
|
|
60
|
-
$fault: "server",
|
|
61
|
-
...opts,
|
|
62
|
-
});
|
|
63
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
64
|
-
this.Message = opts.Message;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
exports.InternalServerException = InternalServerException;
|
|
68
|
-
class ThrottlingException extends GeoMapsServiceException_1.GeoMapsServiceException {
|
|
69
|
-
name = "ThrottlingException";
|
|
70
|
-
$fault = "client";
|
|
71
|
-
$retryable = {};
|
|
72
|
-
Message;
|
|
73
|
-
constructor(opts) {
|
|
74
|
-
super({
|
|
75
|
-
name: "ThrottlingException",
|
|
76
|
-
$fault: "client",
|
|
77
|
-
...opts,
|
|
78
|
-
});
|
|
79
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
80
|
-
this.Message = opts.Message;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
exports.ThrottlingException = ThrottlingException;
|
|
84
|
-
exports.ValidationExceptionReason = {
|
|
85
|
-
CANNOT_PARSE: "CannotParse",
|
|
86
|
-
FIELD_VALIDATION_FAILED: "FieldValidationFailed",
|
|
87
|
-
MISSING: "Missing",
|
|
88
|
-
OTHER: "Other",
|
|
89
|
-
UNKNOWN_FIELD: "UnknownField",
|
|
90
|
-
UNKNOWN_OPERATION: "UnknownOperation",
|
|
91
|
-
};
|
|
92
|
-
class ValidationException extends GeoMapsServiceException_1.GeoMapsServiceException {
|
|
93
|
-
name = "ValidationException";
|
|
94
|
-
$fault = "client";
|
|
95
|
-
Message;
|
|
96
|
-
Reason;
|
|
97
|
-
FieldList;
|
|
98
|
-
constructor(opts) {
|
|
99
|
-
super({
|
|
100
|
-
name: "ValidationException",
|
|
101
|
-
$fault: "client",
|
|
102
|
-
...opts,
|
|
103
|
-
});
|
|
104
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
105
|
-
this.Message = opts.Message;
|
|
106
|
-
this.Reason = opts.Reason;
|
|
107
|
-
this.FieldList = opts.FieldList;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
exports.ValidationException = ValidationException;
|
|
111
|
-
class ResourceNotFoundException extends GeoMapsServiceException_1.GeoMapsServiceException {
|
|
112
|
-
name = "ResourceNotFoundException";
|
|
113
|
-
$fault = "client";
|
|
114
|
-
Message;
|
|
115
|
-
constructor(opts) {
|
|
116
|
-
super({
|
|
117
|
-
name: "ResourceNotFoundException",
|
|
118
|
-
$fault: "client",
|
|
119
|
-
...opts,
|
|
120
|
-
});
|
|
121
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
122
|
-
this.Message = opts.Message;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
126
|
-
const GetStaticMapRequestFilterSensitiveLog = (obj) => ({
|
|
127
|
-
...obj,
|
|
128
|
-
...(obj.BoundingBox && { BoundingBox: smithy_client_1.SENSITIVE_STRING }),
|
|
129
|
-
...(obj.BoundedPositions && { BoundedPositions: smithy_client_1.SENSITIVE_STRING }),
|
|
130
|
-
...(obj.Center && { Center: smithy_client_1.SENSITIVE_STRING }),
|
|
131
|
-
...(obj.CompactOverlay && { CompactOverlay: smithy_client_1.SENSITIVE_STRING }),
|
|
132
|
-
...(obj.GeoJsonOverlay && { GeoJsonOverlay: smithy_client_1.SENSITIVE_STRING }),
|
|
133
|
-
...(obj.Height && { Height: smithy_client_1.SENSITIVE_STRING }),
|
|
134
|
-
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
135
|
-
...(obj.Padding && { Padding: smithy_client_1.SENSITIVE_STRING }),
|
|
136
|
-
...(obj.PoliticalView && { PoliticalView: smithy_client_1.SENSITIVE_STRING }),
|
|
137
|
-
...(obj.Radius && { Radius: smithy_client_1.SENSITIVE_STRING }),
|
|
138
|
-
...(obj.Width && { Width: smithy_client_1.SENSITIVE_STRING }),
|
|
139
|
-
...(obj.Zoom && { Zoom: smithy_client_1.SENSITIVE_STRING }),
|
|
140
|
-
});
|
|
141
|
-
exports.GetStaticMapRequestFilterSensitiveLog = GetStaticMapRequestFilterSensitiveLog;
|
|
142
|
-
const GetStyleDescriptorRequestFilterSensitiveLog = (obj) => ({
|
|
143
|
-
...obj,
|
|
144
|
-
...(obj.PoliticalView && { PoliticalView: smithy_client_1.SENSITIVE_STRING }),
|
|
145
|
-
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
146
|
-
});
|
|
147
|
-
exports.GetStyleDescriptorRequestFilterSensitiveLog = GetStyleDescriptorRequestFilterSensitiveLog;
|
|
148
|
-
const GetTileRequestFilterSensitiveLog = (obj) => ({
|
|
149
|
-
...obj,
|
|
150
|
-
...(obj.Z && { Z: smithy_client_1.SENSITIVE_STRING }),
|
|
151
|
-
...(obj.X && { X: smithy_client_1.SENSITIVE_STRING }),
|
|
152
|
-
...(obj.Y && { Y: smithy_client_1.SENSITIVE_STRING }),
|
|
153
|
-
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
154
|
-
});
|
|
155
|
-
exports.GetTileRequestFilterSensitiveLog = GetTileRequestFilterSensitiveLog;
|