@aws-sdk/client-location 3.54.1 → 3.58.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/CHANGELOG.md +27 -0
- package/dist-cjs/LocationClient.js +13 -13
- package/dist-cjs/commands/AssociateTrackerConsumerCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteGeofenceCommand.js +3 -3
- package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js +3 -3
- package/dist-cjs/commands/BatchGetDevicePositionCommand.js +3 -3
- package/dist-cjs/commands/BatchPutGeofenceCommand.js +3 -3
- package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js +3 -3
- package/dist-cjs/commands/CalculateRouteCommand.js +3 -3
- package/dist-cjs/commands/CalculateRouteMatrixCommand.js +3 -3
- package/dist-cjs/commands/CreateGeofenceCollectionCommand.js +3 -3
- package/dist-cjs/commands/CreateMapCommand.js +3 -3
- package/dist-cjs/commands/CreatePlaceIndexCommand.js +3 -3
- package/dist-cjs/commands/CreateRouteCalculatorCommand.js +3 -3
- package/dist-cjs/commands/CreateTrackerCommand.js +3 -3
- package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js +3 -3
- package/dist-cjs/commands/DeleteMapCommand.js +3 -3
- package/dist-cjs/commands/DeletePlaceIndexCommand.js +3 -3
- package/dist-cjs/commands/DeleteRouteCalculatorCommand.js +3 -3
- package/dist-cjs/commands/DeleteTrackerCommand.js +3 -3
- package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js +3 -3
- package/dist-cjs/commands/DescribeMapCommand.js +3 -3
- package/dist-cjs/commands/DescribePlaceIndexCommand.js +3 -3
- package/dist-cjs/commands/DescribeRouteCalculatorCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrackerCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js +3 -3
- package/dist-cjs/commands/GetDevicePositionCommand.js +3 -3
- package/dist-cjs/commands/GetDevicePositionHistoryCommand.js +3 -3
- package/dist-cjs/commands/GetGeofenceCommand.js +3 -3
- package/dist-cjs/commands/GetMapGlyphsCommand.js +3 -3
- package/dist-cjs/commands/GetMapSpritesCommand.js +3 -3
- package/dist-cjs/commands/GetMapStyleDescriptorCommand.js +3 -3
- package/dist-cjs/commands/GetMapTileCommand.js +3 -3
- package/dist-cjs/commands/ListDevicePositionsCommand.js +3 -3
- package/dist-cjs/commands/ListGeofenceCollectionsCommand.js +3 -3
- package/dist-cjs/commands/ListGeofencesCommand.js +3 -3
- package/dist-cjs/commands/ListMapsCommand.js +3 -3
- package/dist-cjs/commands/ListPlaceIndexesCommand.js +3 -3
- package/dist-cjs/commands/ListRouteCalculatorsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTrackerConsumersCommand.js +3 -3
- package/dist-cjs/commands/ListTrackersCommand.js +3 -3
- package/dist-cjs/commands/PutGeofenceCommand.js +3 -3
- package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js +3 -3
- package/dist-cjs/commands/SearchPlaceIndexForSuggestionsCommand.js +3 -3
- package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js +3 -3
- package/dist-cjs/commands/UpdateMapCommand.js +3 -3
- package/dist-cjs/commands/UpdatePlaceIndexCommand.js +3 -3
- package/dist-cjs/commands/UpdateRouteCalculatorCommand.js +3 -3
- package/dist-cjs/commands/UpdateTrackerCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +412 -412
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Location.js +52 -52
- package/dist-es/pagination/GetDevicePositionHistoryPaginator.js +4 -4
- package/dist-es/pagination/ListDevicePositionsPaginator.js +4 -4
- package/dist-es/pagination/ListGeofenceCollectionsPaginator.js +4 -4
- package/dist-es/pagination/ListGeofencesPaginator.js +4 -4
- package/dist-es/pagination/ListMapsPaginator.js +4 -4
- package/dist-es/pagination/ListPlaceIndexesPaginator.js +4 -4
- package/dist-es/pagination/ListRouteCalculatorsPaginator.js +4 -4
- package/dist-es/pagination/ListTrackerConsumersPaginator.js +4 -4
- package/dist-es/pagination/ListTrackersPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +52 -52
- package/dist-types/models/models_0.d.ts +27 -13
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1AssociateTrackerConsumerCommand = function (inp
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
17
17
|
"/tracking/v0/trackers/{TrackerName}/consumers";
|
|
18
18
|
if (input.TrackerName !== undefined) {
|
|
19
19
|
labelValue = input.TrackerName;
|
|
@@ -57,7 +57,7 @@ export var serializeAws_restJson1BatchDeleteDevicePositionHistoryCommand = funct
|
|
|
57
57
|
headers = {
|
|
58
58
|
"content-type": "application/json",
|
|
59
59
|
};
|
|
60
|
-
resolvedPath = ""
|
|
60
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
61
61
|
"/tracking/v0/trackers/{TrackerName}/delete-positions";
|
|
62
62
|
if (input.TrackerName !== undefined) {
|
|
63
63
|
labelValue = input.TrackerName;
|
|
@@ -102,7 +102,7 @@ export var serializeAws_restJson1BatchDeleteGeofenceCommand = function (input, c
|
|
|
102
102
|
headers = {
|
|
103
103
|
"content-type": "application/json",
|
|
104
104
|
};
|
|
105
|
-
resolvedPath = ""
|
|
105
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
106
106
|
"/geofencing/v0/collections/{CollectionName}/delete-geofences";
|
|
107
107
|
if (input.CollectionName !== undefined) {
|
|
108
108
|
labelValue = input.CollectionName;
|
|
@@ -147,7 +147,7 @@ export var serializeAws_restJson1BatchEvaluateGeofencesCommand = function (input
|
|
|
147
147
|
headers = {
|
|
148
148
|
"content-type": "application/json",
|
|
149
149
|
};
|
|
150
|
-
resolvedPath = ""
|
|
150
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
151
151
|
"/geofencing/v0/collections/{CollectionName}/positions";
|
|
152
152
|
if (input.CollectionName !== undefined) {
|
|
153
153
|
labelValue = input.CollectionName;
|
|
@@ -194,7 +194,7 @@ export var serializeAws_restJson1BatchGetDevicePositionCommand = function (input
|
|
|
194
194
|
headers = {
|
|
195
195
|
"content-type": "application/json",
|
|
196
196
|
};
|
|
197
|
-
resolvedPath = ""
|
|
197
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
198
198
|
"/tracking/v0/trackers/{TrackerName}/get-positions";
|
|
199
199
|
if (input.TrackerName !== undefined) {
|
|
200
200
|
labelValue = input.TrackerName;
|
|
@@ -239,7 +239,7 @@ export var serializeAws_restJson1BatchPutGeofenceCommand = function (input, cont
|
|
|
239
239
|
headers = {
|
|
240
240
|
"content-type": "application/json",
|
|
241
241
|
};
|
|
242
|
-
resolvedPath = ""
|
|
242
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
243
243
|
"/geofencing/v0/collections/{CollectionName}/put-geofences";
|
|
244
244
|
if (input.CollectionName !== undefined) {
|
|
245
245
|
labelValue = input.CollectionName;
|
|
@@ -286,7 +286,7 @@ export var serializeAws_restJson1BatchUpdateDevicePositionCommand = function (in
|
|
|
286
286
|
headers = {
|
|
287
287
|
"content-type": "application/json",
|
|
288
288
|
};
|
|
289
|
-
resolvedPath = ""
|
|
289
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
290
290
|
"/tracking/v0/trackers/{TrackerName}/positions";
|
|
291
291
|
if (input.TrackerName !== undefined) {
|
|
292
292
|
labelValue = input.TrackerName;
|
|
@@ -331,7 +331,7 @@ export var serializeAws_restJson1CalculateRouteCommand = function (input, contex
|
|
|
331
331
|
headers = {
|
|
332
332
|
"content-type": "application/json",
|
|
333
333
|
};
|
|
334
|
-
resolvedPath = ""
|
|
334
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
335
335
|
"/routes/v0/calculators/{CalculatorName}/calculate/route";
|
|
336
336
|
if (input.CalculatorName !== undefined) {
|
|
337
337
|
labelValue = input.CalculatorName;
|
|
@@ -392,7 +392,7 @@ export var serializeAws_restJson1CalculateRouteMatrixCommand = function (input,
|
|
|
392
392
|
headers = {
|
|
393
393
|
"content-type": "application/json",
|
|
394
394
|
};
|
|
395
|
-
resolvedPath = ""
|
|
395
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
396
396
|
"/routes/v0/calculators/{CalculatorName}/calculate/route-matrix";
|
|
397
397
|
if (input.CalculatorName !== undefined) {
|
|
398
398
|
labelValue = input.CalculatorName;
|
|
@@ -449,7 +449,7 @@ export var serializeAws_restJson1CreateGeofenceCollectionCommand = function (inp
|
|
|
449
449
|
headers = {
|
|
450
450
|
"content-type": "application/json",
|
|
451
451
|
};
|
|
452
|
-
resolvedPath = ""
|
|
452
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/geofencing/v0/collections";
|
|
453
453
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CollectionName !== undefined &&
|
|
454
454
|
input.CollectionName !== null && { CollectionName: input.CollectionName })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.PricingPlan !== undefined && input.PricingPlan !== null && { PricingPlan: input.PricingPlan })), (input.PricingPlanDataSource !== undefined &&
|
|
455
455
|
input.PricingPlanDataSource !== null && { PricingPlanDataSource: input.PricingPlanDataSource })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
@@ -484,7 +484,7 @@ export var serializeAws_restJson1CreateMapCommand = function (input, context) {
|
|
|
484
484
|
headers = {
|
|
485
485
|
"content-type": "application/json",
|
|
486
486
|
};
|
|
487
|
-
resolvedPath = ""
|
|
487
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/maps/v0/maps";
|
|
488
488
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.Configuration !== undefined &&
|
|
489
489
|
input.Configuration !== null && {
|
|
490
490
|
Configuration: serializeAws_restJson1MapConfiguration(input.Configuration, context),
|
|
@@ -520,7 +520,7 @@ export var serializeAws_restJson1CreatePlaceIndexCommand = function (input, cont
|
|
|
520
520
|
headers = {
|
|
521
521
|
"content-type": "application/json",
|
|
522
522
|
};
|
|
523
|
-
resolvedPath = ""
|
|
523
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/places/v0/indexes";
|
|
524
524
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DataSource !== undefined && input.DataSource !== null && { DataSource: input.DataSource })), (input.DataSourceConfiguration !== undefined &&
|
|
525
525
|
input.DataSourceConfiguration !== null && {
|
|
526
526
|
DataSourceConfiguration: serializeAws_restJson1DataSourceConfiguration(input.DataSourceConfiguration, context),
|
|
@@ -556,7 +556,7 @@ export var serializeAws_restJson1CreateRouteCalculatorCommand = function (input,
|
|
|
556
556
|
headers = {
|
|
557
557
|
"content-type": "application/json",
|
|
558
558
|
};
|
|
559
|
-
resolvedPath = ""
|
|
559
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/routes/v0/calculators";
|
|
560
560
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.CalculatorName !== undefined &&
|
|
561
561
|
input.CalculatorName !== null && { CalculatorName: input.CalculatorName })), (input.DataSource !== undefined && input.DataSource !== null && { DataSource: input.DataSource })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.PricingPlan !== undefined && input.PricingPlan !== null && { PricingPlan: input.PricingPlan })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })));
|
|
562
562
|
return [4, context.endpoint()];
|
|
@@ -590,7 +590,7 @@ export var serializeAws_restJson1CreateTrackerCommand = function (input, context
|
|
|
590
590
|
headers = {
|
|
591
591
|
"content-type": "application/json",
|
|
592
592
|
};
|
|
593
|
-
resolvedPath = ""
|
|
593
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tracking/v0/trackers";
|
|
594
594
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.PositionFiltering !== undefined &&
|
|
595
595
|
input.PositionFiltering !== null && { PositionFiltering: input.PositionFiltering })), (input.PricingPlan !== undefined && input.PricingPlan !== null && { PricingPlan: input.PricingPlan })), (input.PricingPlanDataSource !== undefined &&
|
|
596
596
|
input.PricingPlanDataSource !== null && { PricingPlanDataSource: input.PricingPlanDataSource })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.TrackerName !== undefined && input.TrackerName !== null && { TrackerName: input.TrackerName })));
|
|
@@ -623,7 +623,7 @@ export var serializeAws_restJson1DeleteGeofenceCollectionCommand = function (inp
|
|
|
623
623
|
case 1:
|
|
624
624
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
625
625
|
headers = {};
|
|
626
|
-
resolvedPath = ""
|
|
626
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
627
627
|
"/geofencing/v0/collections/{CollectionName}";
|
|
628
628
|
if (input.CollectionName !== undefined) {
|
|
629
629
|
labelValue = input.CollectionName;
|
|
@@ -664,7 +664,7 @@ export var serializeAws_restJson1DeleteMapCommand = function (input, context) {
|
|
|
664
664
|
case 1:
|
|
665
665
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
666
666
|
headers = {};
|
|
667
|
-
resolvedPath = ""
|
|
667
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/maps/v0/maps/{MapName}";
|
|
668
668
|
if (input.MapName !== undefined) {
|
|
669
669
|
labelValue = input.MapName;
|
|
670
670
|
if (labelValue.length <= 0) {
|
|
@@ -704,7 +704,7 @@ export var serializeAws_restJson1DeletePlaceIndexCommand = function (input, cont
|
|
|
704
704
|
case 1:
|
|
705
705
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
706
706
|
headers = {};
|
|
707
|
-
resolvedPath = ""
|
|
707
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/places/v0/indexes/{IndexName}";
|
|
708
708
|
if (input.IndexName !== undefined) {
|
|
709
709
|
labelValue = input.IndexName;
|
|
710
710
|
if (labelValue.length <= 0) {
|
|
@@ -744,7 +744,7 @@ export var serializeAws_restJson1DeleteRouteCalculatorCommand = function (input,
|
|
|
744
744
|
case 1:
|
|
745
745
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
746
746
|
headers = {};
|
|
747
|
-
resolvedPath = ""
|
|
747
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/routes/v0/calculators/{CalculatorName}";
|
|
748
748
|
if (input.CalculatorName !== undefined) {
|
|
749
749
|
labelValue = input.CalculatorName;
|
|
750
750
|
if (labelValue.length <= 0) {
|
|
@@ -784,7 +784,7 @@ export var serializeAws_restJson1DeleteTrackerCommand = function (input, context
|
|
|
784
784
|
case 1:
|
|
785
785
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
786
786
|
headers = {};
|
|
787
|
-
resolvedPath = ""
|
|
787
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tracking/v0/trackers/{TrackerName}";
|
|
788
788
|
if (input.TrackerName !== undefined) {
|
|
789
789
|
labelValue = input.TrackerName;
|
|
790
790
|
if (labelValue.length <= 0) {
|
|
@@ -824,7 +824,7 @@ export var serializeAws_restJson1DescribeGeofenceCollectionCommand = function (i
|
|
|
824
824
|
case 1:
|
|
825
825
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
826
826
|
headers = {};
|
|
827
|
-
resolvedPath = ""
|
|
827
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
828
828
|
"/geofencing/v0/collections/{CollectionName}";
|
|
829
829
|
if (input.CollectionName !== undefined) {
|
|
830
830
|
labelValue = input.CollectionName;
|
|
@@ -865,7 +865,7 @@ export var serializeAws_restJson1DescribeMapCommand = function (input, context)
|
|
|
865
865
|
case 1:
|
|
866
866
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
867
867
|
headers = {};
|
|
868
|
-
resolvedPath = ""
|
|
868
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/maps/v0/maps/{MapName}";
|
|
869
869
|
if (input.MapName !== undefined) {
|
|
870
870
|
labelValue = input.MapName;
|
|
871
871
|
if (labelValue.length <= 0) {
|
|
@@ -905,7 +905,7 @@ export var serializeAws_restJson1DescribePlaceIndexCommand = function (input, co
|
|
|
905
905
|
case 1:
|
|
906
906
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
907
907
|
headers = {};
|
|
908
|
-
resolvedPath = ""
|
|
908
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/places/v0/indexes/{IndexName}";
|
|
909
909
|
if (input.IndexName !== undefined) {
|
|
910
910
|
labelValue = input.IndexName;
|
|
911
911
|
if (labelValue.length <= 0) {
|
|
@@ -945,7 +945,7 @@ export var serializeAws_restJson1DescribeRouteCalculatorCommand = function (inpu
|
|
|
945
945
|
case 1:
|
|
946
946
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
947
947
|
headers = {};
|
|
948
|
-
resolvedPath = ""
|
|
948
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/routes/v0/calculators/{CalculatorName}";
|
|
949
949
|
if (input.CalculatorName !== undefined) {
|
|
950
950
|
labelValue = input.CalculatorName;
|
|
951
951
|
if (labelValue.length <= 0) {
|
|
@@ -985,7 +985,7 @@ export var serializeAws_restJson1DescribeTrackerCommand = function (input, conte
|
|
|
985
985
|
case 1:
|
|
986
986
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
987
987
|
headers = {};
|
|
988
|
-
resolvedPath = ""
|
|
988
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tracking/v0/trackers/{TrackerName}";
|
|
989
989
|
if (input.TrackerName !== undefined) {
|
|
990
990
|
labelValue = input.TrackerName;
|
|
991
991
|
if (labelValue.length <= 0) {
|
|
@@ -1025,7 +1025,7 @@ export var serializeAws_restJson1DisassociateTrackerConsumerCommand = function (
|
|
|
1025
1025
|
case 1:
|
|
1026
1026
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1027
1027
|
headers = {};
|
|
1028
|
-
resolvedPath = ""
|
|
1028
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1029
1029
|
"/tracking/v0/trackers/{TrackerName}/consumers/{ConsumerArn}";
|
|
1030
1030
|
if (input.TrackerName !== undefined) {
|
|
1031
1031
|
labelValue = input.TrackerName;
|
|
@@ -1076,7 +1076,7 @@ export var serializeAws_restJson1GetDevicePositionCommand = function (input, con
|
|
|
1076
1076
|
case 1:
|
|
1077
1077
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1078
1078
|
headers = {};
|
|
1079
|
-
resolvedPath = ""
|
|
1079
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1080
1080
|
"/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/positions/latest";
|
|
1081
1081
|
if (input.TrackerName !== undefined) {
|
|
1082
1082
|
labelValue = input.TrackerName;
|
|
@@ -1129,7 +1129,7 @@ export var serializeAws_restJson1GetDevicePositionHistoryCommand = function (inp
|
|
|
1129
1129
|
headers = {
|
|
1130
1130
|
"content-type": "application/json",
|
|
1131
1131
|
};
|
|
1132
|
-
resolvedPath = ""
|
|
1132
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1133
1133
|
"/tracking/v0/trackers/{TrackerName}/devices/{DeviceId}/list-positions";
|
|
1134
1134
|
if (input.TrackerName !== undefined) {
|
|
1135
1135
|
labelValue = input.TrackerName;
|
|
@@ -1187,7 +1187,7 @@ export var serializeAws_restJson1GetGeofenceCommand = function (input, context)
|
|
|
1187
1187
|
case 1:
|
|
1188
1188
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1189
1189
|
headers = {};
|
|
1190
|
-
resolvedPath = ""
|
|
1190
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1191
1191
|
"/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}";
|
|
1192
1192
|
if (input.CollectionName !== undefined) {
|
|
1193
1193
|
labelValue = input.CollectionName;
|
|
@@ -1238,7 +1238,7 @@ export var serializeAws_restJson1GetMapGlyphsCommand = function (input, context)
|
|
|
1238
1238
|
case 1:
|
|
1239
1239
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1240
1240
|
headers = {};
|
|
1241
|
-
resolvedPath = ""
|
|
1241
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1242
1242
|
"/maps/v0/maps/{MapName}/glyphs/{FontStack}/{FontUnicodeRange}";
|
|
1243
1243
|
if (input.MapName !== undefined) {
|
|
1244
1244
|
labelValue = input.MapName;
|
|
@@ -1299,7 +1299,7 @@ export var serializeAws_restJson1GetMapSpritesCommand = function (input, context
|
|
|
1299
1299
|
case 1:
|
|
1300
1300
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1301
1301
|
headers = {};
|
|
1302
|
-
resolvedPath = ""
|
|
1302
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1303
1303
|
"/maps/v0/maps/{MapName}/sprites/{FileName}";
|
|
1304
1304
|
if (input.MapName !== undefined) {
|
|
1305
1305
|
labelValue = input.MapName;
|
|
@@ -1350,7 +1350,7 @@ export var serializeAws_restJson1GetMapStyleDescriptorCommand = function (input,
|
|
|
1350
1350
|
case 1:
|
|
1351
1351
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1352
1352
|
headers = {};
|
|
1353
|
-
resolvedPath = ""
|
|
1353
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/maps/v0/maps/{MapName}/style-descriptor";
|
|
1354
1354
|
if (input.MapName !== undefined) {
|
|
1355
1355
|
labelValue = input.MapName;
|
|
1356
1356
|
if (labelValue.length <= 0) {
|
|
@@ -1390,7 +1390,7 @@ export var serializeAws_restJson1GetMapTileCommand = function (input, context) {
|
|
|
1390
1390
|
case 1:
|
|
1391
1391
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1392
1392
|
headers = {};
|
|
1393
|
-
resolvedPath = ""
|
|
1393
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/maps/v0/maps/{MapName}/tiles/{Z}/{X}/{Y}";
|
|
1394
1394
|
if (input.MapName !== undefined) {
|
|
1395
1395
|
labelValue = input.MapName;
|
|
1396
1396
|
if (labelValue.length <= 0) {
|
|
@@ -1462,7 +1462,7 @@ export var serializeAws_restJson1ListDevicePositionsCommand = function (input, c
|
|
|
1462
1462
|
headers = {
|
|
1463
1463
|
"content-type": "application/json",
|
|
1464
1464
|
};
|
|
1465
|
-
resolvedPath = ""
|
|
1465
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1466
1466
|
"/tracking/v0/trackers/{TrackerName}/list-positions";
|
|
1467
1467
|
if (input.TrackerName !== undefined) {
|
|
1468
1468
|
labelValue = input.TrackerName;
|
|
@@ -1506,7 +1506,7 @@ export var serializeAws_restJson1ListGeofenceCollectionsCommand = function (inpu
|
|
|
1506
1506
|
headers = {
|
|
1507
1507
|
"content-type": "application/json",
|
|
1508
1508
|
};
|
|
1509
|
-
resolvedPath = ""
|
|
1509
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/geofencing/v0/list-collections";
|
|
1510
1510
|
body = JSON.stringify(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
1511
1511
|
return [4, context.endpoint()];
|
|
1512
1512
|
case 2:
|
|
@@ -1539,7 +1539,7 @@ export var serializeAws_restJson1ListGeofencesCommand = function (input, context
|
|
|
1539
1539
|
headers = {
|
|
1540
1540
|
"content-type": "application/json",
|
|
1541
1541
|
};
|
|
1542
|
-
resolvedPath = ""
|
|
1542
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1543
1543
|
"/geofencing/v0/collections/{CollectionName}/list-geofences";
|
|
1544
1544
|
if (input.CollectionName !== undefined) {
|
|
1545
1545
|
labelValue = input.CollectionName;
|
|
@@ -1583,7 +1583,7 @@ export var serializeAws_restJson1ListMapsCommand = function (input, context) { r
|
|
|
1583
1583
|
headers = {
|
|
1584
1584
|
"content-type": "application/json",
|
|
1585
1585
|
};
|
|
1586
|
-
resolvedPath = ""
|
|
1586
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/maps/v0/list-maps";
|
|
1587
1587
|
body = JSON.stringify(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
1588
1588
|
return [4, context.endpoint()];
|
|
1589
1589
|
case 2:
|
|
@@ -1616,7 +1616,7 @@ export var serializeAws_restJson1ListPlaceIndexesCommand = function (input, cont
|
|
|
1616
1616
|
headers = {
|
|
1617
1617
|
"content-type": "application/json",
|
|
1618
1618
|
};
|
|
1619
|
-
resolvedPath = ""
|
|
1619
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/places/v0/list-indexes";
|
|
1620
1620
|
body = JSON.stringify(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
1621
1621
|
return [4, context.endpoint()];
|
|
1622
1622
|
case 2:
|
|
@@ -1649,7 +1649,7 @@ export var serializeAws_restJson1ListRouteCalculatorsCommand = function (input,
|
|
|
1649
1649
|
headers = {
|
|
1650
1650
|
"content-type": "application/json",
|
|
1651
1651
|
};
|
|
1652
|
-
resolvedPath = ""
|
|
1652
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/routes/v0/list-calculators";
|
|
1653
1653
|
body = JSON.stringify(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
1654
1654
|
return [4, context.endpoint()];
|
|
1655
1655
|
case 2:
|
|
@@ -1680,7 +1680,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
1680
1680
|
case 1:
|
|
1681
1681
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1682
1682
|
headers = {};
|
|
1683
|
-
resolvedPath = ""
|
|
1683
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
1684
1684
|
if (input.ResourceArn !== undefined) {
|
|
1685
1685
|
labelValue = input.ResourceArn;
|
|
1686
1686
|
if (labelValue.length <= 0) {
|
|
@@ -1722,7 +1722,7 @@ export var serializeAws_restJson1ListTrackerConsumersCommand = function (input,
|
|
|
1722
1722
|
headers = {
|
|
1723
1723
|
"content-type": "application/json",
|
|
1724
1724
|
};
|
|
1725
|
-
resolvedPath = ""
|
|
1725
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1726
1726
|
"/tracking/v0/trackers/{TrackerName}/list-consumers";
|
|
1727
1727
|
if (input.TrackerName !== undefined) {
|
|
1728
1728
|
labelValue = input.TrackerName;
|
|
@@ -1766,7 +1766,7 @@ export var serializeAws_restJson1ListTrackersCommand = function (input, context)
|
|
|
1766
1766
|
headers = {
|
|
1767
1767
|
"content-type": "application/json",
|
|
1768
1768
|
};
|
|
1769
|
-
resolvedPath = ""
|
|
1769
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tracking/v0/list-trackers";
|
|
1770
1770
|
body = JSON.stringify(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })));
|
|
1771
1771
|
return [4, context.endpoint()];
|
|
1772
1772
|
case 2:
|
|
@@ -1799,7 +1799,7 @@ export var serializeAws_restJson1PutGeofenceCommand = function (input, context)
|
|
|
1799
1799
|
headers = {
|
|
1800
1800
|
"content-type": "application/json",
|
|
1801
1801
|
};
|
|
1802
|
-
resolvedPath = ""
|
|
1802
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1803
1803
|
"/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}";
|
|
1804
1804
|
if (input.CollectionName !== undefined) {
|
|
1805
1805
|
labelValue = input.CollectionName;
|
|
@@ -1854,7 +1854,7 @@ export var serializeAws_restJson1SearchPlaceIndexForPositionCommand = function (
|
|
|
1854
1854
|
headers = {
|
|
1855
1855
|
"content-type": "application/json",
|
|
1856
1856
|
};
|
|
1857
|
-
resolvedPath = ""
|
|
1857
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1858
1858
|
"/places/v0/indexes/{IndexName}/search/position";
|
|
1859
1859
|
if (input.IndexName !== undefined) {
|
|
1860
1860
|
labelValue = input.IndexName;
|
|
@@ -1899,7 +1899,7 @@ export var serializeAws_restJson1SearchPlaceIndexForSuggestionsCommand = functio
|
|
|
1899
1899
|
headers = {
|
|
1900
1900
|
"content-type": "application/json",
|
|
1901
1901
|
};
|
|
1902
|
-
resolvedPath = ""
|
|
1902
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1903
1903
|
"/places/v0/indexes/{IndexName}/search/suggestions";
|
|
1904
1904
|
if (input.IndexName !== undefined) {
|
|
1905
1905
|
labelValue = input.IndexName;
|
|
@@ -1948,7 +1948,7 @@ export var serializeAws_restJson1SearchPlaceIndexForTextCommand = function (inpu
|
|
|
1948
1948
|
headers = {
|
|
1949
1949
|
"content-type": "application/json",
|
|
1950
1950
|
};
|
|
1951
|
-
resolvedPath = ""
|
|
1951
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1952
1952
|
"/places/v0/indexes/{IndexName}/search/text";
|
|
1953
1953
|
if (input.IndexName !== undefined) {
|
|
1954
1954
|
labelValue = input.IndexName;
|
|
@@ -1997,7 +1997,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1997
1997
|
headers = {
|
|
1998
1998
|
"content-type": "application/json",
|
|
1999
1999
|
};
|
|
2000
|
-
resolvedPath = ""
|
|
2000
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
2001
2001
|
if (input.ResourceArn !== undefined) {
|
|
2002
2002
|
labelValue = input.ResourceArn;
|
|
2003
2003
|
if (labelValue.length <= 0) {
|
|
@@ -2038,7 +2038,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
2038
2038
|
case 1:
|
|
2039
2039
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2040
2040
|
headers = {};
|
|
2041
|
-
resolvedPath = ""
|
|
2041
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
2042
2042
|
if (input.ResourceArn !== undefined) {
|
|
2043
2043
|
labelValue = input.ResourceArn;
|
|
2044
2044
|
if (labelValue.length <= 0) {
|
|
@@ -2082,7 +2082,7 @@ export var serializeAws_restJson1UpdateGeofenceCollectionCommand = function (inp
|
|
|
2082
2082
|
headers = {
|
|
2083
2083
|
"content-type": "application/json",
|
|
2084
2084
|
};
|
|
2085
|
-
resolvedPath = ""
|
|
2085
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
2086
2086
|
"/geofencing/v0/collections/{CollectionName}";
|
|
2087
2087
|
if (input.CollectionName !== undefined) {
|
|
2088
2088
|
labelValue = input.CollectionName;
|
|
@@ -2127,7 +2127,7 @@ export var serializeAws_restJson1UpdateMapCommand = function (input, context) {
|
|
|
2127
2127
|
headers = {
|
|
2128
2128
|
"content-type": "application/json",
|
|
2129
2129
|
};
|
|
2130
|
-
resolvedPath = ""
|
|
2130
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/maps/v0/maps/{MapName}";
|
|
2131
2131
|
if (input.MapName !== undefined) {
|
|
2132
2132
|
labelValue = input.MapName;
|
|
2133
2133
|
if (labelValue.length <= 0) {
|
|
@@ -2170,7 +2170,7 @@ export var serializeAws_restJson1UpdatePlaceIndexCommand = function (input, cont
|
|
|
2170
2170
|
headers = {
|
|
2171
2171
|
"content-type": "application/json",
|
|
2172
2172
|
};
|
|
2173
|
-
resolvedPath = ""
|
|
2173
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/places/v0/indexes/{IndexName}";
|
|
2174
2174
|
if (input.IndexName !== undefined) {
|
|
2175
2175
|
labelValue = input.IndexName;
|
|
2176
2176
|
if (labelValue.length <= 0) {
|
|
@@ -2216,7 +2216,7 @@ export var serializeAws_restJson1UpdateRouteCalculatorCommand = function (input,
|
|
|
2216
2216
|
headers = {
|
|
2217
2217
|
"content-type": "application/json",
|
|
2218
2218
|
};
|
|
2219
|
-
resolvedPath = ""
|
|
2219
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/routes/v0/calculators/{CalculatorName}";
|
|
2220
2220
|
if (input.CalculatorName !== undefined) {
|
|
2221
2221
|
labelValue = input.CalculatorName;
|
|
2222
2222
|
if (labelValue.length <= 0) {
|
|
@@ -2259,7 +2259,7 @@ export var serializeAws_restJson1UpdateTrackerCommand = function (input, context
|
|
|
2259
2259
|
headers = {
|
|
2260
2260
|
"content-type": "application/json",
|
|
2261
2261
|
};
|
|
2262
|
-
resolvedPath = ""
|
|
2262
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tracking/v0/trackers/{TrackerName}";
|
|
2263
2263
|
if (input.TrackerName !== undefined) {
|
|
2264
2264
|
labelValue = input.TrackerName;
|
|
2265
2265
|
if (labelValue.length <= 0) {
|
|
@@ -305,8 +305,8 @@ export interface DevicePositionUpdate {
|
|
|
305
305
|
*/
|
|
306
306
|
SampleTime: Date | undefined;
|
|
307
307
|
/**
|
|
308
|
-
* <p>The latest device position defined in <a href="https://earth-info.nga.mil/
|
|
309
|
-
*
|
|
308
|
+
* <p>The latest device position defined in <a href="https://earth-info.nga.mil/index.php?dir=wgs84&action=wgs84">WGS 84</a> format:
|
|
309
|
+
* <code>[X or longitude, Y or latitude]</code>.</p>
|
|
310
310
|
*/
|
|
311
311
|
Position: number[] | undefined;
|
|
312
312
|
/**
|
|
@@ -788,7 +788,7 @@ export interface CalculateRouteTruckModeOptions {
|
|
|
788
788
|
*/
|
|
789
789
|
AvoidFerries?: boolean;
|
|
790
790
|
/**
|
|
791
|
-
* <p>Avoids
|
|
791
|
+
* <p>Avoids tolls when calculating routes.</p>
|
|
792
792
|
* <p>Default Value: <code>false</code>
|
|
793
793
|
* </p>
|
|
794
794
|
* <p>Valid Values: <code>false</code> | <code>true</code>
|
|
@@ -1412,8 +1412,8 @@ export declare namespace RouteMatrixEntryError {
|
|
|
1412
1412
|
const filterSensitiveLog: (obj: RouteMatrixEntryError) => any;
|
|
1413
1413
|
}
|
|
1414
1414
|
/**
|
|
1415
|
-
* <p>The result for one <code>
|
|
1416
|
-
* <code>
|
|
1415
|
+
* <p>The result for the calculated route of one <code>DeparturePosition</code>
|
|
1416
|
+
* <code>DestinationPosition</code> pair.</p>
|
|
1417
1417
|
*/
|
|
1418
1418
|
export interface RouteMatrixEntry {
|
|
1419
1419
|
/**
|
|
@@ -1676,12 +1676,19 @@ export interface MapConfiguration {
|
|
|
1676
1676
|
* <p>
|
|
1677
1677
|
* <code>VectorHereBerlin</code> – The HERE Berlin map style is a high contrast
|
|
1678
1678
|
* detailed base map of the world that blends 3D and 2D rendering.</p>
|
|
1679
|
-
*
|
|
1680
|
-
*
|
|
1681
|
-
*
|
|
1682
|
-
*
|
|
1683
|
-
*
|
|
1684
|
-
*
|
|
1679
|
+
* </li>
|
|
1680
|
+
* <li>
|
|
1681
|
+
* <p>
|
|
1682
|
+
* <code>VectorHereExplore</code> – A default HERE map style containing a
|
|
1683
|
+
* neutral, global map and its features including roads, buildings, landmarks,
|
|
1684
|
+
* and water features. It also now includes a fully designed map of Japan.</p>
|
|
1685
|
+
* </li>
|
|
1686
|
+
* <li>
|
|
1687
|
+
* <p>
|
|
1688
|
+
* <code>VectorHereExploreTruck</code> – A global map containing truck
|
|
1689
|
+
* restrictions and attributes (e.g. width / height / HAZMAT) symbolized with
|
|
1690
|
+
* highlighted segments and icons on top of HERE Explore to support use cases
|
|
1691
|
+
* within transport and logistics.</p>
|
|
1685
1692
|
* </li>
|
|
1686
1693
|
* </ul>
|
|
1687
1694
|
*/
|
|
@@ -3410,8 +3417,15 @@ export interface GetMapGlyphsRequest {
|
|
|
3410
3417
|
* <p>Valid font stacks for <a href="https://docs.aws.amazon.com/location/latest/developerguide/HERE.html">HERE Technologies</a> styles: </p>
|
|
3411
3418
|
* <ul>
|
|
3412
3419
|
* <li>
|
|
3413
|
-
* <p>VectorHereBerlin – <code>Fira
|
|
3414
|
-
*
|
|
3420
|
+
* <p>VectorHereBerlin – <code>Fira
|
|
3421
|
+
* GO Regular</code> | <code>Fira GO Bold</code>
|
|
3422
|
+
* </p>
|
|
3423
|
+
* </li>
|
|
3424
|
+
* <li>
|
|
3425
|
+
* <p>VectorHereExplore, VectorHereExploreTruck – <code>Firo GO Italic</code> |
|
|
3426
|
+
* <code>Fira GO Map</code> | <code>Fira GO Map Bold</code> | <code>Noto Sans CJK
|
|
3427
|
+
* JP Bold</code> | <code>Noto Sans CJK JP Light</code> | <code>Noto Sans CJK
|
|
3428
|
+
* JP Regular</code>
|
|
3415
3429
|
* </p>
|
|
3416
3430
|
* </li>
|
|
3417
3431
|
* </ul>
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: LocationClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|