@aws-sdk/client-location 3.276.0 → 3.278.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/Location.js +75 -0
- package/dist-cjs/commands/CreateKeyCommand.js +46 -0
- package/dist-cjs/commands/DeleteKeyCommand.js +46 -0
- package/dist-cjs/commands/DescribeKeyCommand.js +46 -0
- package/dist-cjs/commands/ListKeysCommand.js +46 -0
- package/dist-cjs/commands/UpdateKeyCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +80 -22
- package/dist-cjs/pagination/ListKeysPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +544 -3
- package/dist-es/Location.js +75 -0
- package/dist-es/commands/CreateKeyCommand.js +42 -0
- package/dist-es/commands/DeleteKeyCommand.js +42 -0
- package/dist-es/commands/DescribeKeyCommand.js +42 -0
- package/dist-es/commands/ListKeysCommand.js +42 -0
- package/dist-es/commands/UpdateKeyCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +60 -15
- package/dist-es/pagination/ListKeysPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +531 -0
- package/dist-types/Location.d.ts +82 -24
- package/dist-types/LocationClient.d.ts +7 -2
- package/dist-types/commands/CreateKeyCommand.d.ts +44 -0
- package/dist-types/commands/CreateMapCommand.d.ts +2 -2
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +2 -2
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +2 -2
- package/dist-types/commands/CreateTrackerCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKeyCommand.d.ts +38 -0
- package/dist-types/commands/DeleteMapCommand.d.ts +1 -1
- package/dist-types/commands/DeletePlaceIndexCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrackerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeKeyCommand.d.ts +42 -0
- package/dist-types/commands/GetPlaceCommand.d.ts +2 -2
- package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +1 -1
- package/dist-types/commands/ListKeysCommand.d.ts +42 -0
- package/dist-types/commands/ListMapsCommand.d.ts +1 -1
- package/dist-types/commands/ListPlaceIndexesCommand.d.ts +1 -1
- package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrackersCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +5 -5
- package/dist-types/commands/UpdateKeyCommand.d.ts +42 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +548 -67
- package/dist-types/pagination/ListKeysPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/Location.d.ts +85 -0
- package/dist-types/ts3.4/LocationClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateKeyCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +131 -15
- package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +4 -4
package/dist-cjs/Location.js
CHANGED
|
@@ -11,16 +11,19 @@ const BatchUpdateDevicePositionCommand_1 = require("./commands/BatchUpdateDevice
|
|
|
11
11
|
const CalculateRouteCommand_1 = require("./commands/CalculateRouteCommand");
|
|
12
12
|
const CalculateRouteMatrixCommand_1 = require("./commands/CalculateRouteMatrixCommand");
|
|
13
13
|
const CreateGeofenceCollectionCommand_1 = require("./commands/CreateGeofenceCollectionCommand");
|
|
14
|
+
const CreateKeyCommand_1 = require("./commands/CreateKeyCommand");
|
|
14
15
|
const CreateMapCommand_1 = require("./commands/CreateMapCommand");
|
|
15
16
|
const CreatePlaceIndexCommand_1 = require("./commands/CreatePlaceIndexCommand");
|
|
16
17
|
const CreateRouteCalculatorCommand_1 = require("./commands/CreateRouteCalculatorCommand");
|
|
17
18
|
const CreateTrackerCommand_1 = require("./commands/CreateTrackerCommand");
|
|
18
19
|
const DeleteGeofenceCollectionCommand_1 = require("./commands/DeleteGeofenceCollectionCommand");
|
|
20
|
+
const DeleteKeyCommand_1 = require("./commands/DeleteKeyCommand");
|
|
19
21
|
const DeleteMapCommand_1 = require("./commands/DeleteMapCommand");
|
|
20
22
|
const DeletePlaceIndexCommand_1 = require("./commands/DeletePlaceIndexCommand");
|
|
21
23
|
const DeleteRouteCalculatorCommand_1 = require("./commands/DeleteRouteCalculatorCommand");
|
|
22
24
|
const DeleteTrackerCommand_1 = require("./commands/DeleteTrackerCommand");
|
|
23
25
|
const DescribeGeofenceCollectionCommand_1 = require("./commands/DescribeGeofenceCollectionCommand");
|
|
26
|
+
const DescribeKeyCommand_1 = require("./commands/DescribeKeyCommand");
|
|
24
27
|
const DescribeMapCommand_1 = require("./commands/DescribeMapCommand");
|
|
25
28
|
const DescribePlaceIndexCommand_1 = require("./commands/DescribePlaceIndexCommand");
|
|
26
29
|
const DescribeRouteCalculatorCommand_1 = require("./commands/DescribeRouteCalculatorCommand");
|
|
@@ -37,6 +40,7 @@ const GetPlaceCommand_1 = require("./commands/GetPlaceCommand");
|
|
|
37
40
|
const ListDevicePositionsCommand_1 = require("./commands/ListDevicePositionsCommand");
|
|
38
41
|
const ListGeofenceCollectionsCommand_1 = require("./commands/ListGeofenceCollectionsCommand");
|
|
39
42
|
const ListGeofencesCommand_1 = require("./commands/ListGeofencesCommand");
|
|
43
|
+
const ListKeysCommand_1 = require("./commands/ListKeysCommand");
|
|
40
44
|
const ListMapsCommand_1 = require("./commands/ListMapsCommand");
|
|
41
45
|
const ListPlaceIndexesCommand_1 = require("./commands/ListPlaceIndexesCommand");
|
|
42
46
|
const ListRouteCalculatorsCommand_1 = require("./commands/ListRouteCalculatorsCommand");
|
|
@@ -50,6 +54,7 @@ const SearchPlaceIndexForTextCommand_1 = require("./commands/SearchPlaceIndexFor
|
|
|
50
54
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
51
55
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
52
56
|
const UpdateGeofenceCollectionCommand_1 = require("./commands/UpdateGeofenceCollectionCommand");
|
|
57
|
+
const UpdateKeyCommand_1 = require("./commands/UpdateKeyCommand");
|
|
53
58
|
const UpdateMapCommand_1 = require("./commands/UpdateMapCommand");
|
|
54
59
|
const UpdatePlaceIndexCommand_1 = require("./commands/UpdatePlaceIndexCommand");
|
|
55
60
|
const UpdateRouteCalculatorCommand_1 = require("./commands/UpdateRouteCalculatorCommand");
|
|
@@ -196,6 +201,20 @@ class Location extends LocationClient_1.LocationClient {
|
|
|
196
201
|
return this.send(command, optionsOrCb);
|
|
197
202
|
}
|
|
198
203
|
}
|
|
204
|
+
createKey(args, optionsOrCb, cb) {
|
|
205
|
+
const command = new CreateKeyCommand_1.CreateKeyCommand(args);
|
|
206
|
+
if (typeof optionsOrCb === "function") {
|
|
207
|
+
this.send(command, optionsOrCb);
|
|
208
|
+
}
|
|
209
|
+
else if (typeof cb === "function") {
|
|
210
|
+
if (typeof optionsOrCb !== "object")
|
|
211
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
212
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
return this.send(command, optionsOrCb);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
199
218
|
createMap(args, optionsOrCb, cb) {
|
|
200
219
|
const command = new CreateMapCommand_1.CreateMapCommand(args);
|
|
201
220
|
if (typeof optionsOrCb === "function") {
|
|
@@ -266,6 +285,20 @@ class Location extends LocationClient_1.LocationClient {
|
|
|
266
285
|
return this.send(command, optionsOrCb);
|
|
267
286
|
}
|
|
268
287
|
}
|
|
288
|
+
deleteKey(args, optionsOrCb, cb) {
|
|
289
|
+
const command = new DeleteKeyCommand_1.DeleteKeyCommand(args);
|
|
290
|
+
if (typeof optionsOrCb === "function") {
|
|
291
|
+
this.send(command, optionsOrCb);
|
|
292
|
+
}
|
|
293
|
+
else if (typeof cb === "function") {
|
|
294
|
+
if (typeof optionsOrCb !== "object")
|
|
295
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
296
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
return this.send(command, optionsOrCb);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
269
302
|
deleteMap(args, optionsOrCb, cb) {
|
|
270
303
|
const command = new DeleteMapCommand_1.DeleteMapCommand(args);
|
|
271
304
|
if (typeof optionsOrCb === "function") {
|
|
@@ -336,6 +369,20 @@ class Location extends LocationClient_1.LocationClient {
|
|
|
336
369
|
return this.send(command, optionsOrCb);
|
|
337
370
|
}
|
|
338
371
|
}
|
|
372
|
+
describeKey(args, optionsOrCb, cb) {
|
|
373
|
+
const command = new DescribeKeyCommand_1.DescribeKeyCommand(args);
|
|
374
|
+
if (typeof optionsOrCb === "function") {
|
|
375
|
+
this.send(command, optionsOrCb);
|
|
376
|
+
}
|
|
377
|
+
else if (typeof cb === "function") {
|
|
378
|
+
if (typeof optionsOrCb !== "object")
|
|
379
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
380
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
381
|
+
}
|
|
382
|
+
else {
|
|
383
|
+
return this.send(command, optionsOrCb);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
339
386
|
describeMap(args, optionsOrCb, cb) {
|
|
340
387
|
const command = new DescribeMapCommand_1.DescribeMapCommand(args);
|
|
341
388
|
if (typeof optionsOrCb === "function") {
|
|
@@ -560,6 +607,20 @@ class Location extends LocationClient_1.LocationClient {
|
|
|
560
607
|
return this.send(command, optionsOrCb);
|
|
561
608
|
}
|
|
562
609
|
}
|
|
610
|
+
listKeys(args, optionsOrCb, cb) {
|
|
611
|
+
const command = new ListKeysCommand_1.ListKeysCommand(args);
|
|
612
|
+
if (typeof optionsOrCb === "function") {
|
|
613
|
+
this.send(command, optionsOrCb);
|
|
614
|
+
}
|
|
615
|
+
else if (typeof cb === "function") {
|
|
616
|
+
if (typeof optionsOrCb !== "object")
|
|
617
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
618
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
619
|
+
}
|
|
620
|
+
else {
|
|
621
|
+
return this.send(command, optionsOrCb);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
563
624
|
listMaps(args, optionsOrCb, cb) {
|
|
564
625
|
const command = new ListMapsCommand_1.ListMapsCommand(args);
|
|
565
626
|
if (typeof optionsOrCb === "function") {
|
|
@@ -742,6 +803,20 @@ class Location extends LocationClient_1.LocationClient {
|
|
|
742
803
|
return this.send(command, optionsOrCb);
|
|
743
804
|
}
|
|
744
805
|
}
|
|
806
|
+
updateKey(args, optionsOrCb, cb) {
|
|
807
|
+
const command = new UpdateKeyCommand_1.UpdateKeyCommand(args);
|
|
808
|
+
if (typeof optionsOrCb === "function") {
|
|
809
|
+
this.send(command, optionsOrCb);
|
|
810
|
+
}
|
|
811
|
+
else if (typeof cb === "function") {
|
|
812
|
+
if (typeof optionsOrCb !== "object")
|
|
813
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
814
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
815
|
+
}
|
|
816
|
+
else {
|
|
817
|
+
return this.send(command, optionsOrCb);
|
|
818
|
+
}
|
|
819
|
+
}
|
|
745
820
|
updateMap(args, optionsOrCb, cb) {
|
|
746
821
|
const command = new UpdateMapCommand_1.UpdateMapCommand(args);
|
|
747
822
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateKeyCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class CreateKeyCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateKeyCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "LocationClient";
|
|
28
|
+
const commandName = "CreateKeyCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.CreateKeyRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.CreateKeyResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1CreateKeyCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1CreateKeyCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateKeyCommand = CreateKeyCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteKeyCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DeleteKeyCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteKeyCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "LocationClient";
|
|
28
|
+
const commandName = "DeleteKeyCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DeleteKeyRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.DeleteKeyResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeleteKeyCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteKeyCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteKeyCommand = DeleteKeyCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeKeyCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class DescribeKeyCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeKeyCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "LocationClient";
|
|
28
|
+
const commandName = "DescribeKeyCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DescribeKeyRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.DescribeKeyResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DescribeKeyCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DescribeKeyCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DescribeKeyCommand = DescribeKeyCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListKeysCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListKeysCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListKeysCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "LocationClient";
|
|
28
|
+
const commandName = "ListKeysCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.ListKeysRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.ListKeysResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListKeysCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListKeysCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListKeysCommand = ListKeysCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateKeyCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UpdateKeyCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateKeyCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "LocationClient";
|
|
28
|
+
const commandName = "UpdateKeyCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.UpdateKeyRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.UpdateKeyResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateKeyCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateKeyCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateKeyCommand = UpdateKeyCommand;
|
|
@@ -11,16 +11,19 @@ tslib_1.__exportStar(require("./BatchUpdateDevicePositionCommand"), exports);
|
|
|
11
11
|
tslib_1.__exportStar(require("./CalculateRouteCommand"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./CalculateRouteMatrixCommand"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./CreateGeofenceCollectionCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./CreateKeyCommand"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./CreateMapCommand"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./CreatePlaceIndexCommand"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./CreateRouteCalculatorCommand"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./CreateTrackerCommand"), exports);
|
|
18
19
|
tslib_1.__exportStar(require("./DeleteGeofenceCollectionCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DeleteKeyCommand"), exports);
|
|
19
21
|
tslib_1.__exportStar(require("./DeleteMapCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./DeletePlaceIndexCommand"), exports);
|
|
21
23
|
tslib_1.__exportStar(require("./DeleteRouteCalculatorCommand"), exports);
|
|
22
24
|
tslib_1.__exportStar(require("./DeleteTrackerCommand"), exports);
|
|
23
25
|
tslib_1.__exportStar(require("./DescribeGeofenceCollectionCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./DescribeKeyCommand"), exports);
|
|
24
27
|
tslib_1.__exportStar(require("./DescribeMapCommand"), exports);
|
|
25
28
|
tslib_1.__exportStar(require("./DescribePlaceIndexCommand"), exports);
|
|
26
29
|
tslib_1.__exportStar(require("./DescribeRouteCalculatorCommand"), exports);
|
|
@@ -37,6 +40,7 @@ tslib_1.__exportStar(require("./GetPlaceCommand"), exports);
|
|
|
37
40
|
tslib_1.__exportStar(require("./ListDevicePositionsCommand"), exports);
|
|
38
41
|
tslib_1.__exportStar(require("./ListGeofenceCollectionsCommand"), exports);
|
|
39
42
|
tslib_1.__exportStar(require("./ListGeofencesCommand"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./ListKeysCommand"), exports);
|
|
40
44
|
tslib_1.__exportStar(require("./ListMapsCommand"), exports);
|
|
41
45
|
tslib_1.__exportStar(require("./ListPlaceIndexesCommand"), exports);
|
|
42
46
|
tslib_1.__exportStar(require("./ListRouteCalculatorsCommand"), exports);
|
|
@@ -50,6 +54,7 @@ tslib_1.__exportStar(require("./SearchPlaceIndexForTextCommand"), exports);
|
|
|
50
54
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
51
55
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
52
56
|
tslib_1.__exportStar(require("./UpdateGeofenceCollectionCommand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./UpdateKeyCommand"), exports);
|
|
53
58
|
tslib_1.__exportStar(require("./UpdateMapCommand"), exports);
|
|
54
59
|
tslib_1.__exportStar(require("./UpdatePlaceIndexCommand"), exports);
|
|
55
60
|
tslib_1.__exportStar(require("./UpdateRouteCalculatorCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const q = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://geo-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://geo.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://geo.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.UpdateTrackerResponseFilterSensitiveLog = exports.UpdateTrackerRequestFilterSensitiveLog = exports.UpdateRouteCalculatorResponseFilterSensitiveLog = exports.UpdateRouteCalculatorRequestFilterSensitiveLog = exports.UpdatePlaceIndexResponseFilterSensitiveLog = exports.UpdatePlaceIndexRequestFilterSensitiveLog = exports.SearchPlaceIndexForTextResponseFilterSensitiveLog = void 0;
|
|
3
|
+
exports.CalculateRouteCarModeOptionsFilterSensitiveLog = exports.BatchUpdateDevicePositionResponseFilterSensitiveLog = exports.BatchUpdateDevicePositionErrorFilterSensitiveLog = exports.BatchUpdateDevicePositionRequestFilterSensitiveLog = exports.BatchPutGeofenceResponseFilterSensitiveLog = exports.BatchPutGeofenceSuccessFilterSensitiveLog = exports.BatchPutGeofenceErrorFilterSensitiveLog = exports.BatchPutGeofenceRequestFilterSensitiveLog = exports.BatchPutGeofenceRequestEntryFilterSensitiveLog = exports.GeofenceGeometryFilterSensitiveLog = exports.CircleFilterSensitiveLog = exports.BatchGetDevicePositionResponseFilterSensitiveLog = exports.BatchGetDevicePositionErrorFilterSensitiveLog = exports.DevicePositionFilterSensitiveLog = exports.BatchGetDevicePositionRequestFilterSensitiveLog = exports.BatchEvaluateGeofencesResponseFilterSensitiveLog = exports.BatchEvaluateGeofencesErrorFilterSensitiveLog = exports.BatchEvaluateGeofencesRequestFilterSensitiveLog = exports.DevicePositionUpdateFilterSensitiveLog = exports.PositionalAccuracyFilterSensitiveLog = exports.BatchDeleteGeofenceResponseFilterSensitiveLog = exports.BatchDeleteGeofenceErrorFilterSensitiveLog = exports.BatchDeleteGeofenceRequestFilterSensitiveLog = exports.BatchDeleteDevicePositionHistoryResponseFilterSensitiveLog = exports.BatchDeleteDevicePositionHistoryErrorFilterSensitiveLog = exports.BatchItemErrorFilterSensitiveLog = exports.BatchDeleteDevicePositionHistoryRequestFilterSensitiveLog = exports.AssociateTrackerConsumerResponseFilterSensitiveLog = exports.AssociateTrackerConsumerRequestFilterSensitiveLog = exports.UpdateKeyResponseFilterSensitiveLog = exports.UpdateKeyRequestFilterSensitiveLog = exports.ListKeysResponseFilterSensitiveLog = exports.ListKeysResponseEntryFilterSensitiveLog = exports.ListKeysRequestFilterSensitiveLog = exports.DescribeKeyResponseFilterSensitiveLog = exports.DescribeKeyRequestFilterSensitiveLog = exports.DeleteKeyResponseFilterSensitiveLog = exports.DeleteKeyRequestFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.CreateKeyResponseFilterSensitiveLog = exports.CreateKeyRequestFilterSensitiveLog = exports.ApiKeyRestrictionsFilterSensitiveLog = exports.ApiKeyFilterFilterSensitiveLog = exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.DisassociateTrackerConsumerResponseFilterSensitiveLog = exports.DisassociateTrackerConsumerRequestFilterSensitiveLog = exports.DescribeTrackerResponseFilterSensitiveLog = exports.DescribeTrackerRequestFilterSensitiveLog = exports.DescribeRouteCalculatorResponseFilterSensitiveLog = exports.DescribeRouteCalculatorRequestFilterSensitiveLog = exports.DescribePlaceIndexResponseFilterSensitiveLog = exports.DescribePlaceIndexRequestFilterSensitiveLog = exports.DescribeMapResponseFilterSensitiveLog = exports.DescribeMapRequestFilterSensitiveLog = exports.DescribeGeofenceCollectionResponseFilterSensitiveLog = exports.DescribeGeofenceCollectionRequestFilterSensitiveLog = exports.DeleteTrackerResponseFilterSensitiveLog = exports.DeleteTrackerRequestFilterSensitiveLog = exports.DeleteRouteCalculatorResponseFilterSensitiveLog = exports.DeleteRouteCalculatorRequestFilterSensitiveLog = exports.DeletePlaceIndexResponseFilterSensitiveLog = exports.DeletePlaceIndexRequestFilterSensitiveLog = exports.DeleteMapResponseFilterSensitiveLog = exports.DeleteMapRequestFilterSensitiveLog = exports.DeleteGeofenceCollectionResponseFilterSensitiveLog = exports.DeleteGeofenceCollectionRequestFilterSensitiveLog = exports.CreateTrackerResponseFilterSensitiveLog = exports.CreateTrackerRequestFilterSensitiveLog = exports.CreateRouteCalculatorResponseFilterSensitiveLog = exports.CreateRouteCalculatorRequestFilterSensitiveLog = exports.CreatePlaceIndexResponseFilterSensitiveLog = exports.CreatePlaceIndexRequestFilterSensitiveLog = exports.DataSourceConfigurationFilterSensitiveLog = exports.CreateMapResponseFilterSensitiveLog = exports.CreateMapRequestFilterSensitiveLog = exports.MapConfigurationFilterSensitiveLog = exports.CreateGeofenceCollectionResponseFilterSensitiveLog = exports.CreateGeofenceCollectionRequestFilterSensitiveLog = exports.CalculateRouteMatrixResponseFilterSensitiveLog = exports.CalculateRouteMatrixSummaryFilterSensitiveLog = exports.RouteMatrixEntryFilterSensitiveLog = exports.RouteMatrixEntryErrorFilterSensitiveLog = exports.CalculateRouteMatrixRequestFilterSensitiveLog = exports.CalculateRouteResponseFilterSensitiveLog = exports.CalculateRouteSummaryFilterSensitiveLog = exports.LegFilterSensitiveLog = exports.StepFilterSensitiveLog = exports.LegGeometryFilterSensitiveLog = exports.CalculateRouteRequestFilterSensitiveLog = exports.CalculateRouteTruckModeOptionsFilterSensitiveLog = exports.TruckWeightFilterSensitiveLog = exports.TruckDimensionsFilterSensitiveLog = void 0;
|
|
5
|
+
exports.ListTrackersResponseFilterSensitiveLog = exports.ListTrackersResponseEntryFilterSensitiveLog = exports.ListTrackersRequestFilterSensitiveLog = exports.ListTrackerConsumersResponseFilterSensitiveLog = exports.ListTrackerConsumersRequestFilterSensitiveLog = exports.ListRouteCalculatorsResponseFilterSensitiveLog = exports.ListRouteCalculatorsResponseEntryFilterSensitiveLog = exports.ListRouteCalculatorsRequestFilterSensitiveLog = exports.ListPlaceIndexesResponseFilterSensitiveLog = exports.ListPlaceIndexesResponseEntryFilterSensitiveLog = exports.ListPlaceIndexesRequestFilterSensitiveLog = exports.ListMapsResponseFilterSensitiveLog = exports.ListMapsResponseEntryFilterSensitiveLog = exports.ListMapsRequestFilterSensitiveLog = exports.ListDevicePositionsResponseFilterSensitiveLog = exports.ListDevicePositionsResponseEntryFilterSensitiveLog = exports.ListDevicePositionsRequestFilterSensitiveLog = exports.GetPlaceResponseFilterSensitiveLog = exports.PlaceFilterSensitiveLog = exports.TimeZoneFilterSensitiveLog = exports.PlaceGeometryFilterSensitiveLog = exports.GetPlaceRequestFilterSensitiveLog = exports.GetMapTileResponseFilterSensitiveLog = exports.GetMapTileRequestFilterSensitiveLog = exports.GetMapStyleDescriptorResponseFilterSensitiveLog = exports.GetMapStyleDescriptorRequestFilterSensitiveLog = exports.GetMapSpritesResponseFilterSensitiveLog = exports.GetMapSpritesRequestFilterSensitiveLog = exports.GetMapGlyphsResponseFilterSensitiveLog = exports.GetMapGlyphsRequestFilterSensitiveLog = exports.GetDevicePositionHistoryResponseFilterSensitiveLog = exports.GetDevicePositionHistoryRequestFilterSensitiveLog = exports.GetDevicePositionResponseFilterSensitiveLog = exports.GetDevicePositionRequestFilterSensitiveLog = exports.UpdateGeofenceCollectionResponseFilterSensitiveLog = exports.UpdateGeofenceCollectionRequestFilterSensitiveLog = exports.PutGeofenceResponseFilterSensitiveLog = exports.PutGeofenceRequestFilterSensitiveLog = exports.ListGeofencesResponseFilterSensitiveLog = exports.ListGeofenceResponseEntryFilterSensitiveLog = exports.ListGeofencesRequestFilterSensitiveLog = exports.ListGeofenceCollectionsResponseFilterSensitiveLog = exports.ListGeofenceCollectionsResponseEntryFilterSensitiveLog = exports.ListGeofenceCollectionsRequestFilterSensitiveLog = exports.GetGeofenceResponseFilterSensitiveLog = exports.GetGeofenceRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = void 0;
|
|
6
|
+
exports.UpdateTrackerResponseFilterSensitiveLog = exports.UpdateTrackerRequestFilterSensitiveLog = exports.UpdateRouteCalculatorResponseFilterSensitiveLog = exports.UpdateRouteCalculatorRequestFilterSensitiveLog = exports.UpdatePlaceIndexResponseFilterSensitiveLog = exports.UpdatePlaceIndexRequestFilterSensitiveLog = exports.SearchPlaceIndexForTextResponseFilterSensitiveLog = exports.SearchPlaceIndexForTextSummaryFilterSensitiveLog = exports.SearchForTextResultFilterSensitiveLog = exports.SearchPlaceIndexForTextRequestFilterSensitiveLog = exports.SearchPlaceIndexForSuggestionsResponseFilterSensitiveLog = exports.SearchPlaceIndexForSuggestionsSummaryFilterSensitiveLog = exports.SearchForSuggestionsResultFilterSensitiveLog = exports.SearchPlaceIndexForSuggestionsRequestFilterSensitiveLog = exports.SearchPlaceIndexForPositionResponseFilterSensitiveLog = exports.SearchPlaceIndexForPositionSummaryFilterSensitiveLog = exports.SearchForPositionResultFilterSensitiveLog = exports.SearchPlaceIndexForPositionRequestFilterSensitiveLog = exports.UpdateMapResponseFilterSensitiveLog = exports.UpdateMapRequestFilterSensitiveLog = void 0;
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const LocationServiceException_1 = require("./LocationServiceException");
|
|
9
9
|
class AccessDeniedException extends LocationServiceException_1.LocationServiceException {
|
|
@@ -49,20 +49,6 @@ class InternalServerException extends LocationServiceException_1.LocationService
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
exports.InternalServerException = InternalServerException;
|
|
52
|
-
class ResourceNotFoundException extends LocationServiceException_1.LocationServiceException {
|
|
53
|
-
constructor(opts) {
|
|
54
|
-
super({
|
|
55
|
-
name: "ResourceNotFoundException",
|
|
56
|
-
$fault: "client",
|
|
57
|
-
...opts,
|
|
58
|
-
});
|
|
59
|
-
this.name = "ResourceNotFoundException";
|
|
60
|
-
this.$fault = "client";
|
|
61
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
62
|
-
this.Message = opts.Message;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
66
52
|
class ServiceQuotaExceededException extends LocationServiceException_1.LocationServiceException {
|
|
67
53
|
constructor(opts) {
|
|
68
54
|
super({
|
|
@@ -108,18 +94,86 @@ class ValidationException extends LocationServiceException_1.LocationServiceExce
|
|
|
108
94
|
}
|
|
109
95
|
}
|
|
110
96
|
exports.ValidationException = ValidationException;
|
|
111
|
-
|
|
97
|
+
class ResourceNotFoundException extends LocationServiceException_1.LocationServiceException {
|
|
98
|
+
constructor(opts) {
|
|
99
|
+
super({
|
|
100
|
+
name: "ResourceNotFoundException",
|
|
101
|
+
$fault: "client",
|
|
102
|
+
...opts,
|
|
103
|
+
});
|
|
104
|
+
this.name = "ResourceNotFoundException";
|
|
105
|
+
this.$fault = "client";
|
|
106
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
107
|
+
this.Message = opts.Message;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
111
|
+
const ApiKeyFilterFilterSensitiveLog = (obj) => ({
|
|
112
112
|
...obj,
|
|
113
113
|
});
|
|
114
|
-
exports.
|
|
115
|
-
const
|
|
114
|
+
exports.ApiKeyFilterFilterSensitiveLog = ApiKeyFilterFilterSensitiveLog;
|
|
115
|
+
const ApiKeyRestrictionsFilterSensitiveLog = (obj) => ({
|
|
116
116
|
...obj,
|
|
117
117
|
});
|
|
118
|
-
exports.
|
|
118
|
+
exports.ApiKeyRestrictionsFilterSensitiveLog = ApiKeyRestrictionsFilterSensitiveLog;
|
|
119
|
+
const CreateKeyRequestFilterSensitiveLog = (obj) => ({
|
|
120
|
+
...obj,
|
|
121
|
+
});
|
|
122
|
+
exports.CreateKeyRequestFilterSensitiveLog = CreateKeyRequestFilterSensitiveLog;
|
|
123
|
+
const CreateKeyResponseFilterSensitiveLog = (obj) => ({
|
|
124
|
+
...obj,
|
|
125
|
+
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
126
|
+
});
|
|
127
|
+
exports.CreateKeyResponseFilterSensitiveLog = CreateKeyResponseFilterSensitiveLog;
|
|
119
128
|
const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
120
129
|
...obj,
|
|
121
130
|
});
|
|
122
131
|
exports.ValidationExceptionFieldFilterSensitiveLog = ValidationExceptionFieldFilterSensitiveLog;
|
|
132
|
+
const DeleteKeyRequestFilterSensitiveLog = (obj) => ({
|
|
133
|
+
...obj,
|
|
134
|
+
});
|
|
135
|
+
exports.DeleteKeyRequestFilterSensitiveLog = DeleteKeyRequestFilterSensitiveLog;
|
|
136
|
+
const DeleteKeyResponseFilterSensitiveLog = (obj) => ({
|
|
137
|
+
...obj,
|
|
138
|
+
});
|
|
139
|
+
exports.DeleteKeyResponseFilterSensitiveLog = DeleteKeyResponseFilterSensitiveLog;
|
|
140
|
+
const DescribeKeyRequestFilterSensitiveLog = (obj) => ({
|
|
141
|
+
...obj,
|
|
142
|
+
});
|
|
143
|
+
exports.DescribeKeyRequestFilterSensitiveLog = DescribeKeyRequestFilterSensitiveLog;
|
|
144
|
+
const DescribeKeyResponseFilterSensitiveLog = (obj) => ({
|
|
145
|
+
...obj,
|
|
146
|
+
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
147
|
+
});
|
|
148
|
+
exports.DescribeKeyResponseFilterSensitiveLog = DescribeKeyResponseFilterSensitiveLog;
|
|
149
|
+
const ListKeysRequestFilterSensitiveLog = (obj) => ({
|
|
150
|
+
...obj,
|
|
151
|
+
});
|
|
152
|
+
exports.ListKeysRequestFilterSensitiveLog = ListKeysRequestFilterSensitiveLog;
|
|
153
|
+
const ListKeysResponseEntryFilterSensitiveLog = (obj) => ({
|
|
154
|
+
...obj,
|
|
155
|
+
});
|
|
156
|
+
exports.ListKeysResponseEntryFilterSensitiveLog = ListKeysResponseEntryFilterSensitiveLog;
|
|
157
|
+
const ListKeysResponseFilterSensitiveLog = (obj) => ({
|
|
158
|
+
...obj,
|
|
159
|
+
});
|
|
160
|
+
exports.ListKeysResponseFilterSensitiveLog = ListKeysResponseFilterSensitiveLog;
|
|
161
|
+
const UpdateKeyRequestFilterSensitiveLog = (obj) => ({
|
|
162
|
+
...obj,
|
|
163
|
+
});
|
|
164
|
+
exports.UpdateKeyRequestFilterSensitiveLog = UpdateKeyRequestFilterSensitiveLog;
|
|
165
|
+
const UpdateKeyResponseFilterSensitiveLog = (obj) => ({
|
|
166
|
+
...obj,
|
|
167
|
+
});
|
|
168
|
+
exports.UpdateKeyResponseFilterSensitiveLog = UpdateKeyResponseFilterSensitiveLog;
|
|
169
|
+
const AssociateTrackerConsumerRequestFilterSensitiveLog = (obj) => ({
|
|
170
|
+
...obj,
|
|
171
|
+
});
|
|
172
|
+
exports.AssociateTrackerConsumerRequestFilterSensitiveLog = AssociateTrackerConsumerRequestFilterSensitiveLog;
|
|
173
|
+
const AssociateTrackerConsumerResponseFilterSensitiveLog = (obj) => ({
|
|
174
|
+
...obj,
|
|
175
|
+
});
|
|
176
|
+
exports.AssociateTrackerConsumerResponseFilterSensitiveLog = AssociateTrackerConsumerResponseFilterSensitiveLog;
|
|
123
177
|
const BatchDeleteDevicePositionHistoryRequestFilterSensitiveLog = (obj) => ({
|
|
124
178
|
...obj,
|
|
125
179
|
});
|
|
@@ -552,6 +606,7 @@ const GetDevicePositionHistoryResponseFilterSensitiveLog = (obj) => ({
|
|
|
552
606
|
exports.GetDevicePositionHistoryResponseFilterSensitiveLog = GetDevicePositionHistoryResponseFilterSensitiveLog;
|
|
553
607
|
const GetMapGlyphsRequestFilterSensitiveLog = (obj) => ({
|
|
554
608
|
...obj,
|
|
609
|
+
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
555
610
|
});
|
|
556
611
|
exports.GetMapGlyphsRequestFilterSensitiveLog = GetMapGlyphsRequestFilterSensitiveLog;
|
|
557
612
|
const GetMapGlyphsResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -560,6 +615,7 @@ const GetMapGlyphsResponseFilterSensitiveLog = (obj) => ({
|
|
|
560
615
|
exports.GetMapGlyphsResponseFilterSensitiveLog = GetMapGlyphsResponseFilterSensitiveLog;
|
|
561
616
|
const GetMapSpritesRequestFilterSensitiveLog = (obj) => ({
|
|
562
617
|
...obj,
|
|
618
|
+
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
563
619
|
});
|
|
564
620
|
exports.GetMapSpritesRequestFilterSensitiveLog = GetMapSpritesRequestFilterSensitiveLog;
|
|
565
621
|
const GetMapSpritesResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -568,6 +624,7 @@ const GetMapSpritesResponseFilterSensitiveLog = (obj) => ({
|
|
|
568
624
|
exports.GetMapSpritesResponseFilterSensitiveLog = GetMapSpritesResponseFilterSensitiveLog;
|
|
569
625
|
const GetMapStyleDescriptorRequestFilterSensitiveLog = (obj) => ({
|
|
570
626
|
...obj,
|
|
627
|
+
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
571
628
|
});
|
|
572
629
|
exports.GetMapStyleDescriptorRequestFilterSensitiveLog = GetMapStyleDescriptorRequestFilterSensitiveLog;
|
|
573
630
|
const GetMapStyleDescriptorResponseFilterSensitiveLog = (obj) => ({
|
|
@@ -576,6 +633,7 @@ const GetMapStyleDescriptorResponseFilterSensitiveLog = (obj) => ({
|
|
|
576
633
|
exports.GetMapStyleDescriptorResponseFilterSensitiveLog = GetMapStyleDescriptorResponseFilterSensitiveLog;
|
|
577
634
|
const GetMapTileRequestFilterSensitiveLog = (obj) => ({
|
|
578
635
|
...obj,
|
|
636
|
+
...(obj.Key && { Key: smithy_client_1.SENSITIVE_STRING }),
|
|
579
637
|
});
|
|
580
638
|
exports.GetMapTileRequestFilterSensitiveLog = GetMapTileRequestFilterSensitiveLog;
|
|
581
639
|
const GetMapTileResponseFilterSensitiveLog = (obj) => ({
|