@aws-sdk/client-location 3.478.0 → 3.481.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/commands/AssociateTrackerConsumerCommand.js +18 -41
- package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js +18 -41
- package/dist-cjs/commands/BatchDeleteGeofenceCommand.js +18 -41
- package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js +18 -41
- package/dist-cjs/commands/BatchGetDevicePositionCommand.js +18 -41
- package/dist-cjs/commands/BatchPutGeofenceCommand.js +18 -41
- package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js +18 -41
- package/dist-cjs/commands/CalculateRouteCommand.js +18 -41
- package/dist-cjs/commands/CalculateRouteMatrixCommand.js +18 -41
- package/dist-cjs/commands/CreateGeofenceCollectionCommand.js +18 -41
- package/dist-cjs/commands/CreateKeyCommand.js +18 -41
- package/dist-cjs/commands/CreateMapCommand.js +18 -41
- package/dist-cjs/commands/CreatePlaceIndexCommand.js +18 -41
- package/dist-cjs/commands/CreateRouteCalculatorCommand.js +18 -41
- package/dist-cjs/commands/CreateTrackerCommand.js +18 -41
- package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js +18 -41
- package/dist-cjs/commands/DeleteKeyCommand.js +18 -41
- package/dist-cjs/commands/DeleteMapCommand.js +18 -41
- package/dist-cjs/commands/DeletePlaceIndexCommand.js +18 -41
- package/dist-cjs/commands/DeleteRouteCalculatorCommand.js +18 -41
- package/dist-cjs/commands/DeleteTrackerCommand.js +18 -41
- package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js +18 -41
- package/dist-cjs/commands/DescribeKeyCommand.js +18 -41
- package/dist-cjs/commands/DescribeMapCommand.js +18 -41
- package/dist-cjs/commands/DescribePlaceIndexCommand.js +18 -41
- package/dist-cjs/commands/DescribeRouteCalculatorCommand.js +18 -41
- package/dist-cjs/commands/DescribeTrackerCommand.js +18 -41
- package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js +18 -41
- package/dist-cjs/commands/GetDevicePositionCommand.js +18 -41
- package/dist-cjs/commands/GetDevicePositionHistoryCommand.js +18 -41
- package/dist-cjs/commands/GetGeofenceCommand.js +18 -41
- package/dist-cjs/commands/GetMapGlyphsCommand.js +18 -41
- package/dist-cjs/commands/GetMapSpritesCommand.js +18 -41
- package/dist-cjs/commands/GetMapStyleDescriptorCommand.js +18 -41
- package/dist-cjs/commands/GetMapTileCommand.js +18 -41
- package/dist-cjs/commands/GetPlaceCommand.js +18 -41
- package/dist-cjs/commands/ListDevicePositionsCommand.js +18 -41
- package/dist-cjs/commands/ListGeofenceCollectionsCommand.js +18 -41
- package/dist-cjs/commands/ListGeofencesCommand.js +18 -41
- package/dist-cjs/commands/ListKeysCommand.js +18 -41
- package/dist-cjs/commands/ListMapsCommand.js +18 -41
- package/dist-cjs/commands/ListPlaceIndexesCommand.js +18 -41
- package/dist-cjs/commands/ListRouteCalculatorsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTrackerConsumersCommand.js +18 -41
- package/dist-cjs/commands/ListTrackersCommand.js +18 -41
- package/dist-cjs/commands/PutGeofenceCommand.js +18 -41
- package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js +18 -41
- package/dist-cjs/commands/SearchPlaceIndexForSuggestionsCommand.js +18 -41
- package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js +18 -41
- package/dist-cjs/commands/UpdateKeyCommand.js +18 -41
- package/dist-cjs/commands/UpdateMapCommand.js +18 -41
- package/dist-cjs/commands/UpdatePlaceIndexCommand.js +18 -41
- package/dist-cjs/commands/UpdateRouteCalculatorCommand.js +18 -41
- package/dist-cjs/commands/UpdateTrackerCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/AssociateTrackerConsumerCommand.js +18 -41
- package/dist-es/commands/BatchDeleteDevicePositionHistoryCommand.js +18 -41
- package/dist-es/commands/BatchDeleteGeofenceCommand.js +18 -41
- package/dist-es/commands/BatchEvaluateGeofencesCommand.js +18 -41
- package/dist-es/commands/BatchGetDevicePositionCommand.js +18 -41
- package/dist-es/commands/BatchPutGeofenceCommand.js +18 -41
- package/dist-es/commands/BatchUpdateDevicePositionCommand.js +18 -41
- package/dist-es/commands/CalculateRouteCommand.js +18 -41
- package/dist-es/commands/CalculateRouteMatrixCommand.js +18 -41
- package/dist-es/commands/CreateGeofenceCollectionCommand.js +18 -41
- package/dist-es/commands/CreateKeyCommand.js +18 -41
- package/dist-es/commands/CreateMapCommand.js +18 -41
- package/dist-es/commands/CreatePlaceIndexCommand.js +18 -41
- package/dist-es/commands/CreateRouteCalculatorCommand.js +18 -41
- package/dist-es/commands/CreateTrackerCommand.js +18 -41
- package/dist-es/commands/DeleteGeofenceCollectionCommand.js +18 -41
- package/dist-es/commands/DeleteKeyCommand.js +18 -41
- package/dist-es/commands/DeleteMapCommand.js +18 -41
- package/dist-es/commands/DeletePlaceIndexCommand.js +18 -41
- package/dist-es/commands/DeleteRouteCalculatorCommand.js +18 -41
- package/dist-es/commands/DeleteTrackerCommand.js +18 -41
- package/dist-es/commands/DescribeGeofenceCollectionCommand.js +18 -41
- package/dist-es/commands/DescribeKeyCommand.js +18 -41
- package/dist-es/commands/DescribeMapCommand.js +18 -41
- package/dist-es/commands/DescribePlaceIndexCommand.js +18 -41
- package/dist-es/commands/DescribeRouteCalculatorCommand.js +18 -41
- package/dist-es/commands/DescribeTrackerCommand.js +18 -41
- package/dist-es/commands/DisassociateTrackerConsumerCommand.js +18 -41
- package/dist-es/commands/GetDevicePositionCommand.js +18 -41
- package/dist-es/commands/GetDevicePositionHistoryCommand.js +18 -41
- package/dist-es/commands/GetGeofenceCommand.js +18 -41
- package/dist-es/commands/GetMapGlyphsCommand.js +18 -41
- package/dist-es/commands/GetMapSpritesCommand.js +18 -41
- package/dist-es/commands/GetMapStyleDescriptorCommand.js +18 -41
- package/dist-es/commands/GetMapTileCommand.js +18 -41
- package/dist-es/commands/GetPlaceCommand.js +18 -41
- package/dist-es/commands/ListDevicePositionsCommand.js +18 -41
- package/dist-es/commands/ListGeofenceCollectionsCommand.js +18 -41
- package/dist-es/commands/ListGeofencesCommand.js +18 -41
- package/dist-es/commands/ListKeysCommand.js +18 -41
- package/dist-es/commands/ListMapsCommand.js +18 -41
- package/dist-es/commands/ListPlaceIndexesCommand.js +18 -41
- package/dist-es/commands/ListRouteCalculatorsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTrackerConsumersCommand.js +18 -41
- package/dist-es/commands/ListTrackersCommand.js +18 -41
- package/dist-es/commands/PutGeofenceCommand.js +18 -41
- package/dist-es/commands/SearchPlaceIndexForPositionCommand.js +18 -41
- package/dist-es/commands/SearchPlaceIndexForSuggestionsCommand.js +18 -41
- package/dist-es/commands/SearchPlaceIndexForTextCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateGeofenceCollectionCommand.js +18 -41
- package/dist-es/commands/UpdateKeyCommand.js +18 -41
- package/dist-es/commands/UpdateMapCommand.js +18 -41
- package/dist-es/commands/UpdatePlaceIndexCommand.js +18 -41
- package/dist-es/commands/UpdateRouteCalculatorCommand.js +18 -41
- package/dist-es/commands/UpdateTrackerCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +6 -21
- package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +6 -21
- package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +6 -21
- package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +6 -21
- package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +6 -21
- package/dist-types/commands/BatchPutGeofenceCommand.d.ts +6 -21
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +6 -21
- package/dist-types/commands/CalculateRouteCommand.d.ts +6 -21
- package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +6 -21
- package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +6 -21
- package/dist-types/commands/CreateKeyCommand.d.ts +6 -21
- package/dist-types/commands/CreateMapCommand.d.ts +6 -21
- package/dist-types/commands/CreatePlaceIndexCommand.d.ts +6 -21
- package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +6 -21
- package/dist-types/commands/CreateTrackerCommand.d.ts +6 -21
- package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteKeyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMapCommand.d.ts +6 -21
- package/dist-types/commands/DeletePlaceIndexCommand.d.ts +6 -21
- package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTrackerCommand.d.ts +6 -21
- package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeKeyCommand.d.ts +6 -21
- package/dist-types/commands/DescribeMapCommand.d.ts +6 -21
- package/dist-types/commands/DescribePlaceIndexCommand.d.ts +6 -21
- package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTrackerCommand.d.ts +6 -21
- package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +6 -21
- package/dist-types/commands/GetDevicePositionCommand.d.ts +6 -21
- package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +6 -21
- package/dist-types/commands/GetGeofenceCommand.d.ts +6 -21
- package/dist-types/commands/GetMapGlyphsCommand.d.ts +6 -21
- package/dist-types/commands/GetMapSpritesCommand.d.ts +6 -21
- package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +6 -21
- package/dist-types/commands/GetMapTileCommand.d.ts +6 -21
- package/dist-types/commands/GetPlaceCommand.d.ts +6 -21
- package/dist-types/commands/ListDevicePositionsCommand.d.ts +6 -21
- package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +6 -21
- package/dist-types/commands/ListGeofencesCommand.d.ts +6 -21
- package/dist-types/commands/ListKeysCommand.d.ts +6 -21
- package/dist-types/commands/ListMapsCommand.d.ts +6 -21
- package/dist-types/commands/ListPlaceIndexesCommand.d.ts +6 -21
- package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTrackerConsumersCommand.d.ts +6 -21
- package/dist-types/commands/ListTrackersCommand.d.ts +6 -21
- package/dist-types/commands/PutGeofenceCommand.d.ts +6 -21
- package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +6 -21
- package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +6 -21
- package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateKeyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMapCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTrackerCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateKeyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class AssociateTrackerConsumerCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "LocationClient";
|
|
29
|
-
const commandName = "AssociateTrackerConsumerCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "LocationService",
|
|
38
|
-
operation: "AssociateTrackerConsumer",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_AssociateTrackerConsumerCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_AssociateTrackerConsumerCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class AssociateTrackerConsumerCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("LocationService", "AssociateTrackerConsumer", {})
|
|
22
|
+
.n("LocationClient", "AssociateTrackerConsumerCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_AssociateTrackerConsumerCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_AssociateTrackerConsumerCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.AssociateTrackerConsumerCommand = AssociateTrackerConsumerCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class BatchDeleteDevicePositionHistoryCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "LocationClient";
|
|
29
|
-
const commandName = "BatchDeleteDevicePositionHistoryCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "LocationService",
|
|
38
|
-
operation: "BatchDeleteDevicePositionHistory",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_BatchDeleteDevicePositionHistoryCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_BatchDeleteDevicePositionHistoryCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class BatchDeleteDevicePositionHistoryCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("LocationService", "BatchDeleteDevicePositionHistory", {})
|
|
22
|
+
.n("LocationClient", "BatchDeleteDevicePositionHistoryCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_BatchDeleteDevicePositionHistoryCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_BatchDeleteDevicePositionHistoryCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.BatchDeleteDevicePositionHistoryCommand = BatchDeleteDevicePositionHistoryCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class BatchDeleteGeofenceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "LocationClient";
|
|
29
|
-
const commandName = "BatchDeleteGeofenceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "LocationService",
|
|
38
|
-
operation: "BatchDeleteGeofence",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_BatchDeleteGeofenceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_BatchDeleteGeofenceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class BatchDeleteGeofenceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("LocationService", "BatchDeleteGeofence", {})
|
|
22
|
+
.n("LocationClient", "BatchDeleteGeofenceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_BatchDeleteGeofenceCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_BatchDeleteGeofenceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.BatchDeleteGeofenceCommand = BatchDeleteGeofenceCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class BatchEvaluateGeofencesCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "LocationClient";
|
|
30
|
-
const commandName = "BatchEvaluateGeofencesCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.BatchEvaluateGeofencesRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "LocationService",
|
|
39
|
-
operation: "BatchEvaluateGeofences",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_BatchEvaluateGeofencesCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_BatchEvaluateGeofencesCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class BatchEvaluateGeofencesCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("LocationService", "BatchEvaluateGeofences", {})
|
|
23
|
+
.n("LocationClient", "BatchEvaluateGeofencesCommand")
|
|
24
|
+
.f(models_0_1.BatchEvaluateGeofencesRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_BatchEvaluateGeofencesCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_BatchEvaluateGeofencesCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.BatchEvaluateGeofencesCommand = BatchEvaluateGeofencesCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class BatchGetDevicePositionCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "LocationClient";
|
|
30
|
-
const commandName = "BatchGetDevicePositionCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: (_) => _,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.BatchGetDevicePositionResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "LocationService",
|
|
39
|
-
operation: "BatchGetDevicePosition",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_BatchGetDevicePositionCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_BatchGetDevicePositionCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class BatchGetDevicePositionCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("LocationService", "BatchGetDevicePosition", {})
|
|
23
|
+
.n("LocationClient", "BatchGetDevicePositionCommand")
|
|
24
|
+
.f(void 0, models_0_1.BatchGetDevicePositionResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_BatchGetDevicePositionCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_BatchGetDevicePositionCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.BatchGetDevicePositionCommand = BatchGetDevicePositionCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class BatchPutGeofenceCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "LocationClient";
|
|
30
|
-
const commandName = "BatchPutGeofenceCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.BatchPutGeofenceRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "LocationService",
|
|
39
|
-
operation: "BatchPutGeofence",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_BatchPutGeofenceCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_BatchPutGeofenceCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class BatchPutGeofenceCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("LocationService", "BatchPutGeofence", {})
|
|
23
|
+
.n("LocationClient", "BatchPutGeofenceCommand")
|
|
24
|
+
.f(models_0_1.BatchPutGeofenceRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_BatchPutGeofenceCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_BatchPutGeofenceCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.BatchPutGeofenceCommand = BatchPutGeofenceCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class BatchUpdateDevicePositionCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "LocationClient";
|
|
30
|
-
const commandName = "BatchUpdateDevicePositionCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.BatchUpdateDevicePositionRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: (_) => _,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "LocationService",
|
|
39
|
-
operation: "BatchUpdateDevicePosition",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_BatchUpdateDevicePositionCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_BatchUpdateDevicePositionCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class BatchUpdateDevicePositionCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("LocationService", "BatchUpdateDevicePosition", {})
|
|
23
|
+
.n("LocationClient", "BatchUpdateDevicePositionCommand")
|
|
24
|
+
.f(models_0_1.BatchUpdateDevicePositionRequestFilterSensitiveLog, void 0)
|
|
25
|
+
.ser(Aws_restJson1_1.se_BatchUpdateDevicePositionCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_BatchUpdateDevicePositionCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.BatchUpdateDevicePositionCommand = BatchUpdateDevicePositionCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class CalculateRouteCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "LocationClient";
|
|
30
|
-
const commandName = "CalculateRouteCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.CalculateRouteRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.CalculateRouteResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "LocationService",
|
|
39
|
-
operation: "CalculateRoute",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_CalculateRouteCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_CalculateRouteCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class CalculateRouteCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("LocationService", "CalculateRoute", {})
|
|
23
|
+
.n("LocationClient", "CalculateRouteCommand")
|
|
24
|
+
.f(models_0_1.CalculateRouteRequestFilterSensitiveLog, models_0_1.CalculateRouteResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_CalculateRouteCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_CalculateRouteCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.CalculateRouteCommand = CalculateRouteCommand;
|
|
@@ -5,48 +5,25 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
11
|
-
class CalculateRouteMatrixCommand extends smithy_client_1.Command
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
const { logger } = configuration;
|
|
29
|
-
const clientName = "LocationClient";
|
|
30
|
-
const commandName = "CalculateRouteMatrixCommand";
|
|
31
|
-
const handlerExecutionContext = {
|
|
32
|
-
logger,
|
|
33
|
-
clientName,
|
|
34
|
-
commandName,
|
|
35
|
-
inputFilterSensitiveLog: models_0_1.CalculateRouteMatrixRequestFilterSensitiveLog,
|
|
36
|
-
outputFilterSensitiveLog: models_0_1.CalculateRouteMatrixResponseFilterSensitiveLog,
|
|
37
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
38
|
-
service: "LocationService",
|
|
39
|
-
operation: "CalculateRouteMatrix",
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
const { requestHandler } = configuration;
|
|
43
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
44
|
-
}
|
|
45
|
-
serialize(input, context) {
|
|
46
|
-
return (0, Aws_restJson1_1.se_CalculateRouteMatrixCommand)(input, context);
|
|
47
|
-
}
|
|
48
|
-
deserialize(output, context) {
|
|
49
|
-
return (0, Aws_restJson1_1.de_CalculateRouteMatrixCommand)(output, context);
|
|
50
|
-
}
|
|
11
|
+
class CalculateRouteMatrixCommand extends smithy_client_1.Command
|
|
12
|
+
.classBuilder()
|
|
13
|
+
.ep({
|
|
14
|
+
...EndpointParameters_1.commonParams,
|
|
15
|
+
})
|
|
16
|
+
.m(function (Command, cs, config, o) {
|
|
17
|
+
return [
|
|
18
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
19
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
20
|
+
];
|
|
21
|
+
})
|
|
22
|
+
.s("LocationService", "CalculateRouteMatrix", {})
|
|
23
|
+
.n("LocationClient", "CalculateRouteMatrixCommand")
|
|
24
|
+
.f(models_0_1.CalculateRouteMatrixRequestFilterSensitiveLog, models_0_1.CalculateRouteMatrixResponseFilterSensitiveLog)
|
|
25
|
+
.ser(Aws_restJson1_1.se_CalculateRouteMatrixCommand)
|
|
26
|
+
.de(Aws_restJson1_1.de_CalculateRouteMatrixCommand)
|
|
27
|
+
.build() {
|
|
51
28
|
}
|
|
52
29
|
exports.CalculateRouteMatrixCommand = CalculateRouteMatrixCommand;
|