@aws-sdk/client-location 3.427.0 → 3.429.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.
|
@@ -21,7 +21,7 @@ const se_AssociateTrackerConsumerCommand = async (input, context) => {
|
|
|
21
21
|
}));
|
|
22
22
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
23
23
|
if (context.disableHostPrefix !== true) {
|
|
24
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
24
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
25
25
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
26
26
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
27
27
|
}
|
|
@@ -318,7 +318,7 @@ const se_CreateGeofenceCollectionCommand = async (input, context) => {
|
|
|
318
318
|
}));
|
|
319
319
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
320
320
|
if (context.disableHostPrefix !== true) {
|
|
321
|
-
resolvedHostname = "geofencing." + resolvedHostname;
|
|
321
|
+
resolvedHostname = "cp.geofencing." + resolvedHostname;
|
|
322
322
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
323
323
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
324
324
|
}
|
|
@@ -351,7 +351,7 @@ const se_CreateKeyCommand = async (input, context) => {
|
|
|
351
351
|
}));
|
|
352
352
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
353
353
|
if (context.disableHostPrefix !== true) {
|
|
354
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
354
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
355
355
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
356
356
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
357
357
|
}
|
|
@@ -383,7 +383,7 @@ const se_CreateMapCommand = async (input, context) => {
|
|
|
383
383
|
}));
|
|
384
384
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
385
385
|
if (context.disableHostPrefix !== true) {
|
|
386
|
-
resolvedHostname = "maps." + resolvedHostname;
|
|
386
|
+
resolvedHostname = "cp.maps." + resolvedHostname;
|
|
387
387
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
388
388
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
389
389
|
}
|
|
@@ -416,7 +416,7 @@ const se_CreatePlaceIndexCommand = async (input, context) => {
|
|
|
416
416
|
}));
|
|
417
417
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
418
418
|
if (context.disableHostPrefix !== true) {
|
|
419
|
-
resolvedHostname = "places." + resolvedHostname;
|
|
419
|
+
resolvedHostname = "cp.places." + resolvedHostname;
|
|
420
420
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
421
421
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
422
422
|
}
|
|
@@ -448,7 +448,7 @@ const se_CreateRouteCalculatorCommand = async (input, context) => {
|
|
|
448
448
|
}));
|
|
449
449
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
450
450
|
if (context.disableHostPrefix !== true) {
|
|
451
|
-
resolvedHostname = "routes." + resolvedHostname;
|
|
451
|
+
resolvedHostname = "cp.routes." + resolvedHostname;
|
|
452
452
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
453
453
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
454
454
|
}
|
|
@@ -484,7 +484,7 @@ const se_CreateTrackerCommand = async (input, context) => {
|
|
|
484
484
|
}));
|
|
485
485
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
486
486
|
if (context.disableHostPrefix !== true) {
|
|
487
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
487
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
488
488
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
489
489
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
490
490
|
}
|
|
@@ -509,7 +509,7 @@ const se_DeleteGeofenceCollectionCommand = async (input, context) => {
|
|
|
509
509
|
let body;
|
|
510
510
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
511
511
|
if (context.disableHostPrefix !== true) {
|
|
512
|
-
resolvedHostname = "geofencing." + resolvedHostname;
|
|
512
|
+
resolvedHostname = "cp.geofencing." + resolvedHostname;
|
|
513
513
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
514
514
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
515
515
|
}
|
|
@@ -533,7 +533,7 @@ const se_DeleteKeyCommand = async (input, context) => {
|
|
|
533
533
|
let body;
|
|
534
534
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
535
535
|
if (context.disableHostPrefix !== true) {
|
|
536
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
536
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
537
537
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
538
538
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
539
539
|
}
|
|
@@ -557,7 +557,7 @@ const se_DeleteMapCommand = async (input, context) => {
|
|
|
557
557
|
let body;
|
|
558
558
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
559
559
|
if (context.disableHostPrefix !== true) {
|
|
560
|
-
resolvedHostname = "maps." + resolvedHostname;
|
|
560
|
+
resolvedHostname = "cp.maps." + resolvedHostname;
|
|
561
561
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
562
562
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
563
563
|
}
|
|
@@ -581,7 +581,7 @@ const se_DeletePlaceIndexCommand = async (input, context) => {
|
|
|
581
581
|
let body;
|
|
582
582
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
583
583
|
if (context.disableHostPrefix !== true) {
|
|
584
|
-
resolvedHostname = "places." + resolvedHostname;
|
|
584
|
+
resolvedHostname = "cp.places." + resolvedHostname;
|
|
585
585
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
586
586
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
587
587
|
}
|
|
@@ -605,7 +605,7 @@ const se_DeleteRouteCalculatorCommand = async (input, context) => {
|
|
|
605
605
|
let body;
|
|
606
606
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
607
607
|
if (context.disableHostPrefix !== true) {
|
|
608
|
-
resolvedHostname = "routes." + resolvedHostname;
|
|
608
|
+
resolvedHostname = "cp.routes." + resolvedHostname;
|
|
609
609
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
610
610
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
611
611
|
}
|
|
@@ -629,7 +629,7 @@ const se_DeleteTrackerCommand = async (input, context) => {
|
|
|
629
629
|
let body;
|
|
630
630
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
631
631
|
if (context.disableHostPrefix !== true) {
|
|
632
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
632
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
633
633
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
634
634
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
635
635
|
}
|
|
@@ -654,7 +654,7 @@ const se_DescribeGeofenceCollectionCommand = async (input, context) => {
|
|
|
654
654
|
let body;
|
|
655
655
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
656
656
|
if (context.disableHostPrefix !== true) {
|
|
657
|
-
resolvedHostname = "geofencing." + resolvedHostname;
|
|
657
|
+
resolvedHostname = "cp.geofencing." + resolvedHostname;
|
|
658
658
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
659
659
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
660
660
|
}
|
|
@@ -678,7 +678,7 @@ const se_DescribeKeyCommand = async (input, context) => {
|
|
|
678
678
|
let body;
|
|
679
679
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
680
680
|
if (context.disableHostPrefix !== true) {
|
|
681
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
681
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
682
682
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
683
683
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
684
684
|
}
|
|
@@ -702,7 +702,7 @@ const se_DescribeMapCommand = async (input, context) => {
|
|
|
702
702
|
let body;
|
|
703
703
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
704
704
|
if (context.disableHostPrefix !== true) {
|
|
705
|
-
resolvedHostname = "maps." + resolvedHostname;
|
|
705
|
+
resolvedHostname = "cp.maps." + resolvedHostname;
|
|
706
706
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
707
707
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
708
708
|
}
|
|
@@ -726,7 +726,7 @@ const se_DescribePlaceIndexCommand = async (input, context) => {
|
|
|
726
726
|
let body;
|
|
727
727
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
728
728
|
if (context.disableHostPrefix !== true) {
|
|
729
|
-
resolvedHostname = "places." + resolvedHostname;
|
|
729
|
+
resolvedHostname = "cp.places." + resolvedHostname;
|
|
730
730
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
731
731
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
732
732
|
}
|
|
@@ -750,7 +750,7 @@ const se_DescribeRouteCalculatorCommand = async (input, context) => {
|
|
|
750
750
|
let body;
|
|
751
751
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
752
752
|
if (context.disableHostPrefix !== true) {
|
|
753
|
-
resolvedHostname = "routes." + resolvedHostname;
|
|
753
|
+
resolvedHostname = "cp.routes." + resolvedHostname;
|
|
754
754
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
755
755
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
756
756
|
}
|
|
@@ -774,7 +774,7 @@ const se_DescribeTrackerCommand = async (input, context) => {
|
|
|
774
774
|
let body;
|
|
775
775
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
776
776
|
if (context.disableHostPrefix !== true) {
|
|
777
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
777
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
778
778
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
779
779
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
780
780
|
}
|
|
@@ -800,7 +800,7 @@ const se_DisassociateTrackerConsumerCommand = async (input, context) => {
|
|
|
800
800
|
let body;
|
|
801
801
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
802
802
|
if (context.disableHostPrefix !== true) {
|
|
803
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
803
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
804
804
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
805
805
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
806
806
|
}
|
|
@@ -1098,7 +1098,7 @@ const se_ListGeofenceCollectionsCommand = async (input, context) => {
|
|
|
1098
1098
|
}));
|
|
1099
1099
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1100
1100
|
if (context.disableHostPrefix !== true) {
|
|
1101
|
-
resolvedHostname = "geofencing." + resolvedHostname;
|
|
1101
|
+
resolvedHostname = "cp.geofencing." + resolvedHostname;
|
|
1102
1102
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1103
1103
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1104
1104
|
}
|
|
@@ -1159,7 +1159,7 @@ const se_ListKeysCommand = async (input, context) => {
|
|
|
1159
1159
|
}));
|
|
1160
1160
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1161
1161
|
if (context.disableHostPrefix !== true) {
|
|
1162
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
1162
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
1163
1163
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1164
1164
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1165
1165
|
}
|
|
@@ -1188,7 +1188,7 @@ const se_ListMapsCommand = async (input, context) => {
|
|
|
1188
1188
|
}));
|
|
1189
1189
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1190
1190
|
if (context.disableHostPrefix !== true) {
|
|
1191
|
-
resolvedHostname = "maps." + resolvedHostname;
|
|
1191
|
+
resolvedHostname = "cp.maps." + resolvedHostname;
|
|
1192
1192
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1193
1193
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1194
1194
|
}
|
|
@@ -1217,7 +1217,7 @@ const se_ListPlaceIndexesCommand = async (input, context) => {
|
|
|
1217
1217
|
}));
|
|
1218
1218
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1219
1219
|
if (context.disableHostPrefix !== true) {
|
|
1220
|
-
resolvedHostname = "places." + resolvedHostname;
|
|
1220
|
+
resolvedHostname = "cp.places." + resolvedHostname;
|
|
1221
1221
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1222
1222
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1223
1223
|
}
|
|
@@ -1246,7 +1246,7 @@ const se_ListRouteCalculatorsCommand = async (input, context) => {
|
|
|
1246
1246
|
}));
|
|
1247
1247
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1248
1248
|
if (context.disableHostPrefix !== true) {
|
|
1249
|
-
resolvedHostname = "routes." + resolvedHostname;
|
|
1249
|
+
resolvedHostname = "cp.routes." + resolvedHostname;
|
|
1250
1250
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1251
1251
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1252
1252
|
}
|
|
@@ -1270,7 +1270,7 @@ const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
1270
1270
|
let body;
|
|
1271
1271
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1272
1272
|
if (context.disableHostPrefix !== true) {
|
|
1273
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
1273
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
1274
1274
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1275
1275
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1276
1276
|
}
|
|
@@ -1301,7 +1301,7 @@ const se_ListTrackerConsumersCommand = async (input, context) => {
|
|
|
1301
1301
|
}));
|
|
1302
1302
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1303
1303
|
if (context.disableHostPrefix !== true) {
|
|
1304
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
1304
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
1305
1305
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1306
1306
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1307
1307
|
}
|
|
@@ -1330,7 +1330,7 @@ const se_ListTrackersCommand = async (input, context) => {
|
|
|
1330
1330
|
}));
|
|
1331
1331
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1332
1332
|
if (context.disableHostPrefix !== true) {
|
|
1333
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
1333
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
1334
1334
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1335
1335
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1336
1336
|
}
|
|
@@ -1507,7 +1507,7 @@ const se_TagResourceCommand = async (input, context) => {
|
|
|
1507
1507
|
}));
|
|
1508
1508
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1509
1509
|
if (context.disableHostPrefix !== true) {
|
|
1510
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
1510
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
1511
1511
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1512
1512
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1513
1513
|
}
|
|
@@ -1537,7 +1537,7 @@ const se_UntagResourceCommand = async (input, context) => {
|
|
|
1537
1537
|
let body;
|
|
1538
1538
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1539
1539
|
if (context.disableHostPrefix !== true) {
|
|
1540
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
1540
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
1541
1541
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1542
1542
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1543
1543
|
}
|
|
@@ -1570,7 +1570,7 @@ const se_UpdateGeofenceCollectionCommand = async (input, context) => {
|
|
|
1570
1570
|
}));
|
|
1571
1571
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1572
1572
|
if (context.disableHostPrefix !== true) {
|
|
1573
|
-
resolvedHostname = "geofencing." + resolvedHostname;
|
|
1573
|
+
resolvedHostname = "cp.geofencing." + resolvedHostname;
|
|
1574
1574
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1575
1575
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1576
1576
|
}
|
|
@@ -1603,7 +1603,7 @@ const se_UpdateKeyCommand = async (input, context) => {
|
|
|
1603
1603
|
}));
|
|
1604
1604
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1605
1605
|
if (context.disableHostPrefix !== true) {
|
|
1606
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
1606
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
1607
1607
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1608
1608
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1609
1609
|
}
|
|
@@ -1634,7 +1634,7 @@ const se_UpdateMapCommand = async (input, context) => {
|
|
|
1634
1634
|
}));
|
|
1635
1635
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1636
1636
|
if (context.disableHostPrefix !== true) {
|
|
1637
|
-
resolvedHostname = "maps." + resolvedHostname;
|
|
1637
|
+
resolvedHostname = "cp.maps." + resolvedHostname;
|
|
1638
1638
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1639
1639
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1640
1640
|
}
|
|
@@ -1665,7 +1665,7 @@ const se_UpdatePlaceIndexCommand = async (input, context) => {
|
|
|
1665
1665
|
}));
|
|
1666
1666
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1667
1667
|
if (context.disableHostPrefix !== true) {
|
|
1668
|
-
resolvedHostname = "places." + resolvedHostname;
|
|
1668
|
+
resolvedHostname = "cp.places." + resolvedHostname;
|
|
1669
1669
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1670
1670
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1671
1671
|
}
|
|
@@ -1695,7 +1695,7 @@ const se_UpdateRouteCalculatorCommand = async (input, context) => {
|
|
|
1695
1695
|
}));
|
|
1696
1696
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1697
1697
|
if (context.disableHostPrefix !== true) {
|
|
1698
|
-
resolvedHostname = "routes." + resolvedHostname;
|
|
1698
|
+
resolvedHostname = "cp.routes." + resolvedHostname;
|
|
1699
1699
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1700
1700
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1701
1701
|
}
|
|
@@ -1729,7 +1729,7 @@ const se_UpdateTrackerCommand = async (input, context) => {
|
|
|
1729
1729
|
}));
|
|
1730
1730
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1731
1731
|
if (context.disableHostPrefix !== true) {
|
|
1732
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
1732
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
1733
1733
|
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1734
1734
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1735
1735
|
}
|
|
@@ -16,7 +16,7 @@ export const se_AssociateTrackerConsumerCommand = async (input, context) => {
|
|
|
16
16
|
}));
|
|
17
17
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
18
18
|
if (context.disableHostPrefix !== true) {
|
|
19
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
19
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
20
20
|
if (!__isValidHostname(resolvedHostname)) {
|
|
21
21
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
22
22
|
}
|
|
@@ -304,7 +304,7 @@ export const se_CreateGeofenceCollectionCommand = async (input, context) => {
|
|
|
304
304
|
}));
|
|
305
305
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
306
306
|
if (context.disableHostPrefix !== true) {
|
|
307
|
-
resolvedHostname = "geofencing." + resolvedHostname;
|
|
307
|
+
resolvedHostname = "cp.geofencing." + resolvedHostname;
|
|
308
308
|
if (!__isValidHostname(resolvedHostname)) {
|
|
309
309
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
310
310
|
}
|
|
@@ -336,7 +336,7 @@ export const se_CreateKeyCommand = async (input, context) => {
|
|
|
336
336
|
}));
|
|
337
337
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
338
338
|
if (context.disableHostPrefix !== true) {
|
|
339
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
339
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
340
340
|
if (!__isValidHostname(resolvedHostname)) {
|
|
341
341
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
342
342
|
}
|
|
@@ -367,7 +367,7 @@ export const se_CreateMapCommand = async (input, context) => {
|
|
|
367
367
|
}));
|
|
368
368
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
369
369
|
if (context.disableHostPrefix !== true) {
|
|
370
|
-
resolvedHostname = "maps." + resolvedHostname;
|
|
370
|
+
resolvedHostname = "cp.maps." + resolvedHostname;
|
|
371
371
|
if (!__isValidHostname(resolvedHostname)) {
|
|
372
372
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
373
373
|
}
|
|
@@ -399,7 +399,7 @@ export const se_CreatePlaceIndexCommand = async (input, context) => {
|
|
|
399
399
|
}));
|
|
400
400
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
401
401
|
if (context.disableHostPrefix !== true) {
|
|
402
|
-
resolvedHostname = "places." + resolvedHostname;
|
|
402
|
+
resolvedHostname = "cp.places." + resolvedHostname;
|
|
403
403
|
if (!__isValidHostname(resolvedHostname)) {
|
|
404
404
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
405
405
|
}
|
|
@@ -430,7 +430,7 @@ export const se_CreateRouteCalculatorCommand = async (input, context) => {
|
|
|
430
430
|
}));
|
|
431
431
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
432
432
|
if (context.disableHostPrefix !== true) {
|
|
433
|
-
resolvedHostname = "routes." + resolvedHostname;
|
|
433
|
+
resolvedHostname = "cp.routes." + resolvedHostname;
|
|
434
434
|
if (!__isValidHostname(resolvedHostname)) {
|
|
435
435
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
436
436
|
}
|
|
@@ -465,7 +465,7 @@ export const se_CreateTrackerCommand = async (input, context) => {
|
|
|
465
465
|
}));
|
|
466
466
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
467
467
|
if (context.disableHostPrefix !== true) {
|
|
468
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
468
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
469
469
|
if (!__isValidHostname(resolvedHostname)) {
|
|
470
470
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
471
471
|
}
|
|
@@ -489,7 +489,7 @@ export const se_DeleteGeofenceCollectionCommand = async (input, context) => {
|
|
|
489
489
|
let body;
|
|
490
490
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
491
491
|
if (context.disableHostPrefix !== true) {
|
|
492
|
-
resolvedHostname = "geofencing." + resolvedHostname;
|
|
492
|
+
resolvedHostname = "cp.geofencing." + resolvedHostname;
|
|
493
493
|
if (!__isValidHostname(resolvedHostname)) {
|
|
494
494
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
495
495
|
}
|
|
@@ -512,7 +512,7 @@ export const se_DeleteKeyCommand = async (input, context) => {
|
|
|
512
512
|
let body;
|
|
513
513
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
514
514
|
if (context.disableHostPrefix !== true) {
|
|
515
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
515
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
516
516
|
if (!__isValidHostname(resolvedHostname)) {
|
|
517
517
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
518
518
|
}
|
|
@@ -535,7 +535,7 @@ export const se_DeleteMapCommand = async (input, context) => {
|
|
|
535
535
|
let body;
|
|
536
536
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
537
537
|
if (context.disableHostPrefix !== true) {
|
|
538
|
-
resolvedHostname = "maps." + resolvedHostname;
|
|
538
|
+
resolvedHostname = "cp.maps." + resolvedHostname;
|
|
539
539
|
if (!__isValidHostname(resolvedHostname)) {
|
|
540
540
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
541
541
|
}
|
|
@@ -558,7 +558,7 @@ export const se_DeletePlaceIndexCommand = async (input, context) => {
|
|
|
558
558
|
let body;
|
|
559
559
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
560
560
|
if (context.disableHostPrefix !== true) {
|
|
561
|
-
resolvedHostname = "places." + resolvedHostname;
|
|
561
|
+
resolvedHostname = "cp.places." + resolvedHostname;
|
|
562
562
|
if (!__isValidHostname(resolvedHostname)) {
|
|
563
563
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
564
564
|
}
|
|
@@ -581,7 +581,7 @@ export const se_DeleteRouteCalculatorCommand = async (input, context) => {
|
|
|
581
581
|
let body;
|
|
582
582
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
583
583
|
if (context.disableHostPrefix !== true) {
|
|
584
|
-
resolvedHostname = "routes." + resolvedHostname;
|
|
584
|
+
resolvedHostname = "cp.routes." + resolvedHostname;
|
|
585
585
|
if (!__isValidHostname(resolvedHostname)) {
|
|
586
586
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
587
587
|
}
|
|
@@ -604,7 +604,7 @@ export const se_DeleteTrackerCommand = async (input, context) => {
|
|
|
604
604
|
let body;
|
|
605
605
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
606
606
|
if (context.disableHostPrefix !== true) {
|
|
607
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
607
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
608
608
|
if (!__isValidHostname(resolvedHostname)) {
|
|
609
609
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
610
610
|
}
|
|
@@ -628,7 +628,7 @@ export const se_DescribeGeofenceCollectionCommand = async (input, context) => {
|
|
|
628
628
|
let body;
|
|
629
629
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
630
630
|
if (context.disableHostPrefix !== true) {
|
|
631
|
-
resolvedHostname = "geofencing." + resolvedHostname;
|
|
631
|
+
resolvedHostname = "cp.geofencing." + resolvedHostname;
|
|
632
632
|
if (!__isValidHostname(resolvedHostname)) {
|
|
633
633
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
634
634
|
}
|
|
@@ -651,7 +651,7 @@ export const se_DescribeKeyCommand = async (input, context) => {
|
|
|
651
651
|
let body;
|
|
652
652
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
653
653
|
if (context.disableHostPrefix !== true) {
|
|
654
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
654
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
655
655
|
if (!__isValidHostname(resolvedHostname)) {
|
|
656
656
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
657
657
|
}
|
|
@@ -674,7 +674,7 @@ export const se_DescribeMapCommand = async (input, context) => {
|
|
|
674
674
|
let body;
|
|
675
675
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
676
676
|
if (context.disableHostPrefix !== true) {
|
|
677
|
-
resolvedHostname = "maps." + resolvedHostname;
|
|
677
|
+
resolvedHostname = "cp.maps." + resolvedHostname;
|
|
678
678
|
if (!__isValidHostname(resolvedHostname)) {
|
|
679
679
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
680
680
|
}
|
|
@@ -697,7 +697,7 @@ export const se_DescribePlaceIndexCommand = async (input, context) => {
|
|
|
697
697
|
let body;
|
|
698
698
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
699
699
|
if (context.disableHostPrefix !== true) {
|
|
700
|
-
resolvedHostname = "places." + resolvedHostname;
|
|
700
|
+
resolvedHostname = "cp.places." + resolvedHostname;
|
|
701
701
|
if (!__isValidHostname(resolvedHostname)) {
|
|
702
702
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
703
703
|
}
|
|
@@ -720,7 +720,7 @@ export const se_DescribeRouteCalculatorCommand = async (input, context) => {
|
|
|
720
720
|
let body;
|
|
721
721
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
722
722
|
if (context.disableHostPrefix !== true) {
|
|
723
|
-
resolvedHostname = "routes." + resolvedHostname;
|
|
723
|
+
resolvedHostname = "cp.routes." + resolvedHostname;
|
|
724
724
|
if (!__isValidHostname(resolvedHostname)) {
|
|
725
725
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
726
726
|
}
|
|
@@ -743,7 +743,7 @@ export const se_DescribeTrackerCommand = async (input, context) => {
|
|
|
743
743
|
let body;
|
|
744
744
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
745
745
|
if (context.disableHostPrefix !== true) {
|
|
746
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
746
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
747
747
|
if (!__isValidHostname(resolvedHostname)) {
|
|
748
748
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
749
749
|
}
|
|
@@ -768,7 +768,7 @@ export const se_DisassociateTrackerConsumerCommand = async (input, context) => {
|
|
|
768
768
|
let body;
|
|
769
769
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
770
770
|
if (context.disableHostPrefix !== true) {
|
|
771
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
771
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
772
772
|
if (!__isValidHostname(resolvedHostname)) {
|
|
773
773
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
774
774
|
}
|
|
@@ -1056,7 +1056,7 @@ export const se_ListGeofenceCollectionsCommand = async (input, context) => {
|
|
|
1056
1056
|
}));
|
|
1057
1057
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1058
1058
|
if (context.disableHostPrefix !== true) {
|
|
1059
|
-
resolvedHostname = "geofencing." + resolvedHostname;
|
|
1059
|
+
resolvedHostname = "cp.geofencing." + resolvedHostname;
|
|
1060
1060
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1061
1061
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1062
1062
|
}
|
|
@@ -1115,7 +1115,7 @@ export const se_ListKeysCommand = async (input, context) => {
|
|
|
1115
1115
|
}));
|
|
1116
1116
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1117
1117
|
if (context.disableHostPrefix !== true) {
|
|
1118
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
1118
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
1119
1119
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1120
1120
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1121
1121
|
}
|
|
@@ -1143,7 +1143,7 @@ export const se_ListMapsCommand = async (input, context) => {
|
|
|
1143
1143
|
}));
|
|
1144
1144
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1145
1145
|
if (context.disableHostPrefix !== true) {
|
|
1146
|
-
resolvedHostname = "maps." + resolvedHostname;
|
|
1146
|
+
resolvedHostname = "cp.maps." + resolvedHostname;
|
|
1147
1147
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1148
1148
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1149
1149
|
}
|
|
@@ -1171,7 +1171,7 @@ export const se_ListPlaceIndexesCommand = async (input, context) => {
|
|
|
1171
1171
|
}));
|
|
1172
1172
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1173
1173
|
if (context.disableHostPrefix !== true) {
|
|
1174
|
-
resolvedHostname = "places." + resolvedHostname;
|
|
1174
|
+
resolvedHostname = "cp.places." + resolvedHostname;
|
|
1175
1175
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1176
1176
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1177
1177
|
}
|
|
@@ -1199,7 +1199,7 @@ export const se_ListRouteCalculatorsCommand = async (input, context) => {
|
|
|
1199
1199
|
}));
|
|
1200
1200
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1201
1201
|
if (context.disableHostPrefix !== true) {
|
|
1202
|
-
resolvedHostname = "routes." + resolvedHostname;
|
|
1202
|
+
resolvedHostname = "cp.routes." + resolvedHostname;
|
|
1203
1203
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1204
1204
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1205
1205
|
}
|
|
@@ -1222,7 +1222,7 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
1222
1222
|
let body;
|
|
1223
1223
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1224
1224
|
if (context.disableHostPrefix !== true) {
|
|
1225
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
1225
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
1226
1226
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1227
1227
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1228
1228
|
}
|
|
@@ -1252,7 +1252,7 @@ export const se_ListTrackerConsumersCommand = async (input, context) => {
|
|
|
1252
1252
|
}));
|
|
1253
1253
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1254
1254
|
if (context.disableHostPrefix !== true) {
|
|
1255
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
1255
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
1256
1256
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1257
1257
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1258
1258
|
}
|
|
@@ -1280,7 +1280,7 @@ export const se_ListTrackersCommand = async (input, context) => {
|
|
|
1280
1280
|
}));
|
|
1281
1281
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1282
1282
|
if (context.disableHostPrefix !== true) {
|
|
1283
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
1283
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
1284
1284
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1285
1285
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1286
1286
|
}
|
|
@@ -1452,7 +1452,7 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
1452
1452
|
}));
|
|
1453
1453
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1454
1454
|
if (context.disableHostPrefix !== true) {
|
|
1455
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
1455
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
1456
1456
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1457
1457
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1458
1458
|
}
|
|
@@ -1481,7 +1481,7 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
1481
1481
|
let body;
|
|
1482
1482
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1483
1483
|
if (context.disableHostPrefix !== true) {
|
|
1484
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
1484
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
1485
1485
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1486
1486
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1487
1487
|
}
|
|
@@ -1513,7 +1513,7 @@ export const se_UpdateGeofenceCollectionCommand = async (input, context) => {
|
|
|
1513
1513
|
}));
|
|
1514
1514
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1515
1515
|
if (context.disableHostPrefix !== true) {
|
|
1516
|
-
resolvedHostname = "geofencing." + resolvedHostname;
|
|
1516
|
+
resolvedHostname = "cp.geofencing." + resolvedHostname;
|
|
1517
1517
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1518
1518
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1519
1519
|
}
|
|
@@ -1545,7 +1545,7 @@ export const se_UpdateKeyCommand = async (input, context) => {
|
|
|
1545
1545
|
}));
|
|
1546
1546
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1547
1547
|
if (context.disableHostPrefix !== true) {
|
|
1548
|
-
resolvedHostname = "metadata." + resolvedHostname;
|
|
1548
|
+
resolvedHostname = "cp.metadata." + resolvedHostname;
|
|
1549
1549
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1550
1550
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1551
1551
|
}
|
|
@@ -1575,7 +1575,7 @@ export const se_UpdateMapCommand = async (input, context) => {
|
|
|
1575
1575
|
}));
|
|
1576
1576
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1577
1577
|
if (context.disableHostPrefix !== true) {
|
|
1578
|
-
resolvedHostname = "maps." + resolvedHostname;
|
|
1578
|
+
resolvedHostname = "cp.maps." + resolvedHostname;
|
|
1579
1579
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1580
1580
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1581
1581
|
}
|
|
@@ -1605,7 +1605,7 @@ export const se_UpdatePlaceIndexCommand = async (input, context) => {
|
|
|
1605
1605
|
}));
|
|
1606
1606
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1607
1607
|
if (context.disableHostPrefix !== true) {
|
|
1608
|
-
resolvedHostname = "places." + resolvedHostname;
|
|
1608
|
+
resolvedHostname = "cp.places." + resolvedHostname;
|
|
1609
1609
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1610
1610
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1611
1611
|
}
|
|
@@ -1634,7 +1634,7 @@ export const se_UpdateRouteCalculatorCommand = async (input, context) => {
|
|
|
1634
1634
|
}));
|
|
1635
1635
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1636
1636
|
if (context.disableHostPrefix !== true) {
|
|
1637
|
-
resolvedHostname = "routes." + resolvedHostname;
|
|
1637
|
+
resolvedHostname = "cp.routes." + resolvedHostname;
|
|
1638
1638
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1639
1639
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1640
1640
|
}
|
|
@@ -1667,7 +1667,7 @@ export const se_UpdateTrackerCommand = async (input, context) => {
|
|
|
1667
1667
|
}));
|
|
1668
1668
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1669
1669
|
if (context.disableHostPrefix !== true) {
|
|
1670
|
-
resolvedHostname = "tracking." + resolvedHostname;
|
|
1670
|
+
resolvedHostname = "cp.tracking." + resolvedHostname;
|
|
1671
1671
|
if (!__isValidHostname(resolvedHostname)) {
|
|
1672
1672
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1673
1673
|
}
|
|
@@ -27,7 +27,7 @@ export interface ApiKeyFilter {
|
|
|
27
27
|
* @public
|
|
28
28
|
* <p>Filter on <code>Active</code> or <code>Expired</code> API keys.</p>
|
|
29
29
|
*/
|
|
30
|
-
KeyStatus?: Status
|
|
30
|
+
KeyStatus?: Status;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* @public
|
|
@@ -366,7 +366,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
366
366
|
* @public
|
|
367
367
|
* <p>A message with the reason for the validation exception error.</p>
|
|
368
368
|
*/
|
|
369
|
-
Reason: ValidationExceptionReason |
|
|
369
|
+
Reason: ValidationExceptionReason | undefined;
|
|
370
370
|
/**
|
|
371
371
|
* @public
|
|
372
372
|
* <p>The field where the invalid entry was detected.</p>
|
|
@@ -696,7 +696,7 @@ export interface BatchItemError {
|
|
|
696
696
|
* @public
|
|
697
697
|
* <p>The error code associated with the batch request error.</p>
|
|
698
698
|
*/
|
|
699
|
-
Code?: BatchItemErrorCode
|
|
699
|
+
Code?: BatchItemErrorCode;
|
|
700
700
|
/**
|
|
701
701
|
* @public
|
|
702
702
|
* <p>A message with the reason for the batch request error.</p>
|
|
@@ -1265,7 +1265,7 @@ export interface TruckDimensions {
|
|
|
1265
1265
|
* <p>Default Value: <code>Meters</code>
|
|
1266
1266
|
* </p>
|
|
1267
1267
|
*/
|
|
1268
|
-
Unit?: DimensionUnit
|
|
1268
|
+
Unit?: DimensionUnit;
|
|
1269
1269
|
}
|
|
1270
1270
|
/**
|
|
1271
1271
|
* @public
|
|
@@ -1294,7 +1294,7 @@ export interface TruckWeight {
|
|
|
1294
1294
|
* <p>Default Value: <code>Kilograms</code>
|
|
1295
1295
|
* </p>
|
|
1296
1296
|
*/
|
|
1297
|
-
Unit?: VehicleWeightUnit
|
|
1297
|
+
Unit?: VehicleWeightUnit;
|
|
1298
1298
|
}
|
|
1299
1299
|
/**
|
|
1300
1300
|
* @public
|
|
@@ -1439,7 +1439,7 @@ export interface CalculateRouteRequest {
|
|
|
1439
1439
|
* <p>Default Value: <code>Car</code>
|
|
1440
1440
|
* </p>
|
|
1441
1441
|
*/
|
|
1442
|
-
TravelMode?: TravelMode
|
|
1442
|
+
TravelMode?: TravelMode;
|
|
1443
1443
|
/**
|
|
1444
1444
|
* @public
|
|
1445
1445
|
* <p>Specifies the desired time of departure. Uses the given time to calculate the route.
|
|
@@ -1476,7 +1476,7 @@ export interface CalculateRouteRequest {
|
|
|
1476
1476
|
* <p>Default Value: <code>Kilometers</code>
|
|
1477
1477
|
* </p>
|
|
1478
1478
|
*/
|
|
1479
|
-
DistanceUnit?: DistanceUnit
|
|
1479
|
+
DistanceUnit?: DistanceUnit;
|
|
1480
1480
|
/**
|
|
1481
1481
|
* @public
|
|
1482
1482
|
* <p>Set to include the geometry details in the result for each path between a pair of
|
|
@@ -1732,7 +1732,7 @@ export interface CalculateRouteSummary {
|
|
|
1732
1732
|
* @public
|
|
1733
1733
|
* <p>The unit of measurement for route distances.</p>
|
|
1734
1734
|
*/
|
|
1735
|
-
DistanceUnit: DistanceUnit |
|
|
1735
|
+
DistanceUnit: DistanceUnit | undefined;
|
|
1736
1736
|
}
|
|
1737
1737
|
/**
|
|
1738
1738
|
* @public
|
|
@@ -1860,7 +1860,7 @@ export interface CalculateRouteMatrixRequest {
|
|
|
1860
1860
|
* <p>Default Value: <code>Car</code>
|
|
1861
1861
|
* </p>
|
|
1862
1862
|
*/
|
|
1863
|
-
TravelMode?: TravelMode
|
|
1863
|
+
TravelMode?: TravelMode;
|
|
1864
1864
|
/**
|
|
1865
1865
|
* @public
|
|
1866
1866
|
* <p>Specifies the desired time of departure. Uses the given time to calculate the route
|
|
@@ -1899,7 +1899,7 @@ export interface CalculateRouteMatrixRequest {
|
|
|
1899
1899
|
* <p>Default Value: <code>Kilometers</code>
|
|
1900
1900
|
* </p>
|
|
1901
1901
|
*/
|
|
1902
|
-
DistanceUnit?: DistanceUnit
|
|
1902
|
+
DistanceUnit?: DistanceUnit;
|
|
1903
1903
|
/**
|
|
1904
1904
|
* @public
|
|
1905
1905
|
* <p>Specifies route preferences when traveling by <code>Car</code>, such as avoiding
|
|
@@ -1981,7 +1981,7 @@ export interface RouteMatrixEntryError {
|
|
|
1981
1981
|
* @public
|
|
1982
1982
|
* <p>The type of error which occurred for the route calculation.</p>
|
|
1983
1983
|
*/
|
|
1984
|
-
Code: RouteMatrixErrorCode |
|
|
1984
|
+
Code: RouteMatrixErrorCode | undefined;
|
|
1985
1985
|
/**
|
|
1986
1986
|
* @public
|
|
1987
1987
|
* <p>A message about the error that occurred for the route calculation.</p>
|
|
@@ -2058,7 +2058,7 @@ export interface CalculateRouteMatrixSummary {
|
|
|
2058
2058
|
* @public
|
|
2059
2059
|
* <p>The unit of measurement for route distances.</p>
|
|
2060
2060
|
*/
|
|
2061
|
-
DistanceUnit: DistanceUnit |
|
|
2061
|
+
DistanceUnit: DistanceUnit | undefined;
|
|
2062
2062
|
}
|
|
2063
2063
|
/**
|
|
2064
2064
|
* @public
|
|
@@ -2129,7 +2129,7 @@ export interface CreateGeofenceCollectionRequest {
|
|
|
2129
2129
|
* <p>No longer used. If included, the only allowed value is
|
|
2130
2130
|
* <code>RequestBasedUsage</code>.</p>
|
|
2131
2131
|
*/
|
|
2132
|
-
PricingPlan?: PricingPlan
|
|
2132
|
+
PricingPlan?: PricingPlan;
|
|
2133
2133
|
/**
|
|
2134
2134
|
* @public
|
|
2135
2135
|
* @deprecated
|
|
@@ -2410,7 +2410,7 @@ export interface CreateMapRequest {
|
|
|
2410
2410
|
* <p>No longer used. If included, the only allowed value is
|
|
2411
2411
|
* <code>RequestBasedUsage</code>.</p>
|
|
2412
2412
|
*/
|
|
2413
|
-
PricingPlan?: PricingPlan
|
|
2413
|
+
PricingPlan?: PricingPlan;
|
|
2414
2414
|
/**
|
|
2415
2415
|
* @public
|
|
2416
2416
|
* <p>An optional description for the map resource.</p>
|
|
@@ -2520,7 +2520,7 @@ export interface DataSourceConfiguration {
|
|
|
2520
2520
|
* <p>Default value: <code>SingleUse</code>
|
|
2521
2521
|
* </p>
|
|
2522
2522
|
*/
|
|
2523
|
-
IntendedUse?: IntendedUse
|
|
2523
|
+
IntendedUse?: IntendedUse;
|
|
2524
2524
|
}
|
|
2525
2525
|
/**
|
|
2526
2526
|
* @public
|
|
@@ -2585,7 +2585,7 @@ export interface CreatePlaceIndexRequest {
|
|
|
2585
2585
|
* <p>No longer used. If included, the only allowed value is
|
|
2586
2586
|
* <code>RequestBasedUsage</code>.</p>
|
|
2587
2587
|
*/
|
|
2588
|
-
PricingPlan?: PricingPlan
|
|
2588
|
+
PricingPlan?: PricingPlan;
|
|
2589
2589
|
/**
|
|
2590
2590
|
* @public
|
|
2591
2591
|
* <p>The optional description for the place index resource.</p>
|
|
@@ -2717,7 +2717,7 @@ export interface CreateRouteCalculatorRequest {
|
|
|
2717
2717
|
* <p>No longer used. If included, the only allowed value is
|
|
2718
2718
|
* <code>RequestBasedUsage</code>.</p>
|
|
2719
2719
|
*/
|
|
2720
|
-
PricingPlan?: PricingPlan
|
|
2720
|
+
PricingPlan?: PricingPlan;
|
|
2721
2721
|
/**
|
|
2722
2722
|
* @public
|
|
2723
2723
|
* <p>The optional description for the route calculator resource.</p>
|
|
@@ -2832,7 +2832,7 @@ export interface CreateTrackerRequest {
|
|
|
2832
2832
|
* <p>No longer used. If included, the only allowed value is
|
|
2833
2833
|
* <code>RequestBasedUsage</code>.</p>
|
|
2834
2834
|
*/
|
|
2835
|
-
PricingPlan?: PricingPlan
|
|
2835
|
+
PricingPlan?: PricingPlan;
|
|
2836
2836
|
/**
|
|
2837
2837
|
* @public
|
|
2838
2838
|
* <p>A key identifier for an
|
|
@@ -2916,7 +2916,7 @@ export interface CreateTrackerRequest {
|
|
|
2916
2916
|
* </ul>
|
|
2917
2917
|
* <p>This field is optional. If not specified, the default value is <code>TimeBased</code>.</p>
|
|
2918
2918
|
*/
|
|
2919
|
-
PositionFiltering?: PositionFiltering
|
|
2919
|
+
PositionFiltering?: PositionFiltering;
|
|
2920
2920
|
/**
|
|
2921
2921
|
* @public
|
|
2922
2922
|
* <p>Whether to enable position <code>UPDATE</code> events from this tracker to be sent to
|
|
@@ -3089,7 +3089,7 @@ export interface DescribeGeofenceCollectionResponse {
|
|
|
3089
3089
|
*
|
|
3090
3090
|
* <p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>
|
|
3091
3091
|
*/
|
|
3092
|
-
PricingPlan?: PricingPlan
|
|
3092
|
+
PricingPlan?: PricingPlan;
|
|
3093
3093
|
/**
|
|
3094
3094
|
* @public
|
|
3095
3095
|
* @deprecated
|
|
@@ -3167,7 +3167,7 @@ export interface DescribeMapResponse {
|
|
|
3167
3167
|
*
|
|
3168
3168
|
* <p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>
|
|
3169
3169
|
*/
|
|
3170
|
-
PricingPlan?: PricingPlan
|
|
3170
|
+
PricingPlan?: PricingPlan;
|
|
3171
3171
|
/**
|
|
3172
3172
|
* @public
|
|
3173
3173
|
* <p>Specifies the data provider for the associated map tiles.</p>
|
|
@@ -3239,7 +3239,7 @@ export interface DescribePlaceIndexResponse {
|
|
|
3239
3239
|
*
|
|
3240
3240
|
* <p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>
|
|
3241
3241
|
*/
|
|
3242
|
-
PricingPlan?: PricingPlan
|
|
3242
|
+
PricingPlan?: PricingPlan;
|
|
3243
3243
|
/**
|
|
3244
3244
|
* @public
|
|
3245
3245
|
* <p>The optional description for the place index resource.</p>
|
|
@@ -3329,7 +3329,7 @@ export interface DescribeRouteCalculatorResponse {
|
|
|
3329
3329
|
*
|
|
3330
3330
|
* <p>Always returns <code>RequestBasedUsage</code>.</p>
|
|
3331
3331
|
*/
|
|
3332
|
-
PricingPlan?: PricingPlan
|
|
3332
|
+
PricingPlan?: PricingPlan;
|
|
3333
3333
|
/**
|
|
3334
3334
|
* @public
|
|
3335
3335
|
* <p>The optional description of the route calculator resource.</p>
|
|
@@ -3432,7 +3432,7 @@ export interface DescribeTrackerResponse {
|
|
|
3432
3432
|
*
|
|
3433
3433
|
* <p>Always returns <code>RequestBasedUsage</code>.</p>
|
|
3434
3434
|
*/
|
|
3435
|
-
PricingPlan?: PricingPlan
|
|
3435
|
+
PricingPlan?: PricingPlan;
|
|
3436
3436
|
/**
|
|
3437
3437
|
* @public
|
|
3438
3438
|
* @deprecated
|
|
@@ -3467,7 +3467,7 @@ export interface DescribeTrackerResponse {
|
|
|
3467
3467
|
* @public
|
|
3468
3468
|
* <p>The position filtering method of the tracker resource.</p>
|
|
3469
3469
|
*/
|
|
3470
|
-
PositionFiltering?: PositionFiltering
|
|
3470
|
+
PositionFiltering?: PositionFiltering;
|
|
3471
3471
|
/**
|
|
3472
3472
|
* @public
|
|
3473
3473
|
* <p>Whether <code>UPDATE</code> events from this tracker in EventBridge are
|
|
@@ -3754,7 +3754,7 @@ export interface ListGeofenceCollectionsResponseEntry {
|
|
|
3754
3754
|
*
|
|
3755
3755
|
* <p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>
|
|
3756
3756
|
*/
|
|
3757
|
-
PricingPlan?: PricingPlan
|
|
3757
|
+
PricingPlan?: PricingPlan;
|
|
3758
3758
|
/**
|
|
3759
3759
|
* @public
|
|
3760
3760
|
* @deprecated
|
|
@@ -3977,7 +3977,7 @@ export interface UpdateGeofenceCollectionRequest {
|
|
|
3977
3977
|
* <p>No longer used. If included, the only allowed value is
|
|
3978
3978
|
* <code>RequestBasedUsage</code>.</p>
|
|
3979
3979
|
*/
|
|
3980
|
-
PricingPlan?: PricingPlan
|
|
3980
|
+
PricingPlan?: PricingPlan;
|
|
3981
3981
|
/**
|
|
3982
3982
|
* @public
|
|
3983
3983
|
* @deprecated
|
|
@@ -4778,7 +4778,7 @@ export interface ListMapsResponseEntry {
|
|
|
4778
4778
|
*
|
|
4779
4779
|
* <p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>
|
|
4780
4780
|
*/
|
|
4781
|
-
PricingPlan?: PricingPlan
|
|
4781
|
+
PricingPlan?: PricingPlan;
|
|
4782
4782
|
/**
|
|
4783
4783
|
* @public
|
|
4784
4784
|
* <p>The timestamp for when the map resource was created in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a>
|
|
@@ -4871,7 +4871,7 @@ export interface ListPlaceIndexesResponseEntry {
|
|
|
4871
4871
|
*
|
|
4872
4872
|
* <p>No longer used. Always returns <code>RequestBasedUsage</code>.</p>
|
|
4873
4873
|
*/
|
|
4874
|
-
PricingPlan?: PricingPlan
|
|
4874
|
+
PricingPlan?: PricingPlan;
|
|
4875
4875
|
/**
|
|
4876
4876
|
* @public
|
|
4877
4877
|
* <p>The timestamp for when the place index resource was created in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a>
|
|
@@ -4966,7 +4966,7 @@ export interface ListRouteCalculatorsResponseEntry {
|
|
|
4966
4966
|
*
|
|
4967
4967
|
* <p>Always returns <code>RequestBasedUsage</code>.</p>
|
|
4968
4968
|
*/
|
|
4969
|
-
PricingPlan?: PricingPlan
|
|
4969
|
+
PricingPlan?: PricingPlan;
|
|
4970
4970
|
/**
|
|
4971
4971
|
* @public
|
|
4972
4972
|
* <p>The timestamp when the route calculator resource was created in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a>
|
|
@@ -5090,7 +5090,7 @@ export interface ListTrackersResponseEntry {
|
|
|
5090
5090
|
*
|
|
5091
5091
|
* <p>Always returns <code>RequestBasedUsage</code>.</p>
|
|
5092
5092
|
*/
|
|
5093
|
-
PricingPlan?: PricingPlan
|
|
5093
|
+
PricingPlan?: PricingPlan;
|
|
5094
5094
|
/**
|
|
5095
5095
|
* @public
|
|
5096
5096
|
* @deprecated
|
|
@@ -5163,7 +5163,7 @@ export interface UpdateMapRequest {
|
|
|
5163
5163
|
* <p>No longer used. If included, the only allowed value is
|
|
5164
5164
|
* <code>RequestBasedUsage</code>.</p>
|
|
5165
5165
|
*/
|
|
5166
|
-
PricingPlan?: PricingPlan
|
|
5166
|
+
PricingPlan?: PricingPlan;
|
|
5167
5167
|
/**
|
|
5168
5168
|
* @public
|
|
5169
5169
|
* <p>Updates the description for the map resource.</p>
|
|
@@ -5840,7 +5840,7 @@ export interface UpdatePlaceIndexRequest {
|
|
|
5840
5840
|
* <p>No longer used. If included, the only allowed value is
|
|
5841
5841
|
* <code>RequestBasedUsage</code>.</p>
|
|
5842
5842
|
*/
|
|
5843
|
-
PricingPlan?: PricingPlan
|
|
5843
|
+
PricingPlan?: PricingPlan;
|
|
5844
5844
|
/**
|
|
5845
5845
|
* @public
|
|
5846
5846
|
* <p>Updates the description for the place index resource.</p>
|
|
@@ -5897,7 +5897,7 @@ export interface UpdateRouteCalculatorRequest {
|
|
|
5897
5897
|
* <p>No longer used. If included, the only allowed value is
|
|
5898
5898
|
* <code>RequestBasedUsage</code>.</p>
|
|
5899
5899
|
*/
|
|
5900
|
-
PricingPlan?: PricingPlan
|
|
5900
|
+
PricingPlan?: PricingPlan;
|
|
5901
5901
|
/**
|
|
5902
5902
|
* @public
|
|
5903
5903
|
* <p>Updates the description for the route calculator resource.</p>
|
|
@@ -5949,7 +5949,7 @@ export interface UpdateTrackerRequest {
|
|
|
5949
5949
|
* <p>No longer used. If included, the only allowed value is
|
|
5950
5950
|
* <code>RequestBasedUsage</code>.</p>
|
|
5951
5951
|
*/
|
|
5952
|
-
PricingPlan?: PricingPlan
|
|
5952
|
+
PricingPlan?: PricingPlan;
|
|
5953
5953
|
/**
|
|
5954
5954
|
* @public
|
|
5955
5955
|
* @deprecated
|
|
@@ -5995,7 +5995,7 @@ export interface UpdateTrackerRequest {
|
|
|
5995
5995
|
* </li>
|
|
5996
5996
|
* </ul>
|
|
5997
5997
|
*/
|
|
5998
|
-
PositionFiltering?: PositionFiltering
|
|
5998
|
+
PositionFiltering?: PositionFiltering;
|
|
5999
5999
|
/**
|
|
6000
6000
|
* @public
|
|
6001
6001
|
* <p>Whether to enable position <code>UPDATE</code> events from this tracker to be sent to
|
|
@@ -10,7 +10,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
10
10
|
}
|
|
11
11
|
export type Status = "Active" | "Expired";
|
|
12
12
|
export interface ApiKeyFilter {
|
|
13
|
-
KeyStatus?: Status
|
|
13
|
+
KeyStatus?: Status;
|
|
14
14
|
}
|
|
15
15
|
export declare class ConflictException extends __BaseException {
|
|
16
16
|
readonly name: "ConflictException";
|
|
@@ -77,7 +77,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
77
77
|
readonly name: "ValidationException";
|
|
78
78
|
readonly $fault: "client";
|
|
79
79
|
Message: string | undefined;
|
|
80
|
-
Reason: ValidationExceptionReason |
|
|
80
|
+
Reason: ValidationExceptionReason | undefined;
|
|
81
81
|
FieldList: ValidationExceptionField[] | undefined;
|
|
82
82
|
constructor(
|
|
83
83
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
@@ -156,7 +156,7 @@ export type BatchItemErrorCode =
|
|
|
156
156
|
| "ThrottlingError"
|
|
157
157
|
| "ValidationError";
|
|
158
158
|
export interface BatchItemError {
|
|
159
|
-
Code?: BatchItemErrorCode
|
|
159
|
+
Code?: BatchItemErrorCode;
|
|
160
160
|
Message?: string;
|
|
161
161
|
}
|
|
162
162
|
export interface BatchDeleteDevicePositionHistoryError {
|
|
@@ -272,12 +272,12 @@ export interface TruckDimensions {
|
|
|
272
272
|
Length?: number;
|
|
273
273
|
Height?: number;
|
|
274
274
|
Width?: number;
|
|
275
|
-
Unit?: DimensionUnit
|
|
275
|
+
Unit?: DimensionUnit;
|
|
276
276
|
}
|
|
277
277
|
export type VehicleWeightUnit = "Kilograms" | "Pounds";
|
|
278
278
|
export interface TruckWeight {
|
|
279
279
|
Total?: number;
|
|
280
|
-
Unit?: VehicleWeightUnit
|
|
280
|
+
Unit?: VehicleWeightUnit;
|
|
281
281
|
}
|
|
282
282
|
export interface CalculateRouteTruckModeOptions {
|
|
283
283
|
AvoidFerries?: boolean;
|
|
@@ -290,10 +290,10 @@ export interface CalculateRouteRequest {
|
|
|
290
290
|
DeparturePosition: number[] | undefined;
|
|
291
291
|
DestinationPosition: number[] | undefined;
|
|
292
292
|
WaypointPositions?: number[][];
|
|
293
|
-
TravelMode?: TravelMode
|
|
293
|
+
TravelMode?: TravelMode;
|
|
294
294
|
DepartureTime?: Date;
|
|
295
295
|
DepartNow?: boolean;
|
|
296
|
-
DistanceUnit?: DistanceUnit
|
|
296
|
+
DistanceUnit?: DistanceUnit;
|
|
297
297
|
IncludeLegGeometry?: boolean;
|
|
298
298
|
CarModeOptions?: CalculateRouteCarModeOptions;
|
|
299
299
|
TruckModeOptions?: CalculateRouteTruckModeOptions;
|
|
@@ -322,7 +322,7 @@ export interface CalculateRouteSummary {
|
|
|
322
322
|
DataSource: string | undefined;
|
|
323
323
|
Distance: number | undefined;
|
|
324
324
|
DurationSeconds: number | undefined;
|
|
325
|
-
DistanceUnit: DistanceUnit |
|
|
325
|
+
DistanceUnit: DistanceUnit | undefined;
|
|
326
326
|
}
|
|
327
327
|
export interface CalculateRouteResponse {
|
|
328
328
|
Legs: Leg[] | undefined;
|
|
@@ -332,10 +332,10 @@ export interface CalculateRouteMatrixRequest {
|
|
|
332
332
|
CalculatorName: string | undefined;
|
|
333
333
|
DeparturePositions: number[][] | undefined;
|
|
334
334
|
DestinationPositions: number[][] | undefined;
|
|
335
|
-
TravelMode?: TravelMode
|
|
335
|
+
TravelMode?: TravelMode;
|
|
336
336
|
DepartureTime?: Date;
|
|
337
337
|
DepartNow?: boolean;
|
|
338
|
-
DistanceUnit?: DistanceUnit
|
|
338
|
+
DistanceUnit?: DistanceUnit;
|
|
339
339
|
CarModeOptions?: CalculateRouteCarModeOptions;
|
|
340
340
|
TruckModeOptions?: CalculateRouteTruckModeOptions;
|
|
341
341
|
Key?: string;
|
|
@@ -348,7 +348,7 @@ export type RouteMatrixErrorCode =
|
|
|
348
348
|
| "RouteNotFound"
|
|
349
349
|
| "RouteTooLong";
|
|
350
350
|
export interface RouteMatrixEntryError {
|
|
351
|
-
Code: RouteMatrixErrorCode |
|
|
351
|
+
Code: RouteMatrixErrorCode | undefined;
|
|
352
352
|
Message?: string;
|
|
353
353
|
}
|
|
354
354
|
export interface RouteMatrixEntry {
|
|
@@ -360,7 +360,7 @@ export interface CalculateRouteMatrixSummary {
|
|
|
360
360
|
DataSource: string | undefined;
|
|
361
361
|
RouteCount: number | undefined;
|
|
362
362
|
ErrorCount: number | undefined;
|
|
363
|
-
DistanceUnit: DistanceUnit |
|
|
363
|
+
DistanceUnit: DistanceUnit | undefined;
|
|
364
364
|
}
|
|
365
365
|
export interface CalculateRouteMatrixResponse {
|
|
366
366
|
RouteMatrix: RouteMatrixEntry[][] | undefined;
|
|
@@ -374,7 +374,7 @@ export type PricingPlan =
|
|
|
374
374
|
| "RequestBasedUsage";
|
|
375
375
|
export interface CreateGeofenceCollectionRequest {
|
|
376
376
|
CollectionName: string | undefined;
|
|
377
|
-
PricingPlan?: PricingPlan
|
|
377
|
+
PricingPlan?: PricingPlan;
|
|
378
378
|
PricingPlanDataSource?: string;
|
|
379
379
|
Description?: string;
|
|
380
380
|
Tags?: Record<string, string>;
|
|
@@ -392,7 +392,7 @@ export interface MapConfiguration {
|
|
|
392
392
|
export interface CreateMapRequest {
|
|
393
393
|
MapName: string | undefined;
|
|
394
394
|
Configuration: MapConfiguration | undefined;
|
|
395
|
-
PricingPlan?: PricingPlan
|
|
395
|
+
PricingPlan?: PricingPlan;
|
|
396
396
|
Description?: string;
|
|
397
397
|
Tags?: Record<string, string>;
|
|
398
398
|
}
|
|
@@ -403,12 +403,12 @@ export interface CreateMapResponse {
|
|
|
403
403
|
}
|
|
404
404
|
export type IntendedUse = "SingleUse" | "Storage";
|
|
405
405
|
export interface DataSourceConfiguration {
|
|
406
|
-
IntendedUse?: IntendedUse
|
|
406
|
+
IntendedUse?: IntendedUse;
|
|
407
407
|
}
|
|
408
408
|
export interface CreatePlaceIndexRequest {
|
|
409
409
|
IndexName: string | undefined;
|
|
410
410
|
DataSource: string | undefined;
|
|
411
|
-
PricingPlan?: PricingPlan
|
|
411
|
+
PricingPlan?: PricingPlan;
|
|
412
412
|
Description?: string;
|
|
413
413
|
DataSourceConfiguration?: DataSourceConfiguration;
|
|
414
414
|
Tags?: Record<string, string>;
|
|
@@ -421,7 +421,7 @@ export interface CreatePlaceIndexResponse {
|
|
|
421
421
|
export interface CreateRouteCalculatorRequest {
|
|
422
422
|
CalculatorName: string | undefined;
|
|
423
423
|
DataSource: string | undefined;
|
|
424
|
-
PricingPlan?: PricingPlan
|
|
424
|
+
PricingPlan?: PricingPlan;
|
|
425
425
|
Description?: string;
|
|
426
426
|
Tags?: Record<string, string>;
|
|
427
427
|
}
|
|
@@ -433,12 +433,12 @@ export interface CreateRouteCalculatorResponse {
|
|
|
433
433
|
export type PositionFiltering = "AccuracyBased" | "DistanceBased" | "TimeBased";
|
|
434
434
|
export interface CreateTrackerRequest {
|
|
435
435
|
TrackerName: string | undefined;
|
|
436
|
-
PricingPlan?: PricingPlan
|
|
436
|
+
PricingPlan?: PricingPlan;
|
|
437
437
|
KmsKeyId?: string;
|
|
438
438
|
PricingPlanDataSource?: string;
|
|
439
439
|
Description?: string;
|
|
440
440
|
Tags?: Record<string, string>;
|
|
441
|
-
PositionFiltering?: PositionFiltering
|
|
441
|
+
PositionFiltering?: PositionFiltering;
|
|
442
442
|
EventBridgeEnabled?: boolean;
|
|
443
443
|
KmsKeyEnableGeospatialQueries?: boolean;
|
|
444
444
|
}
|
|
@@ -474,7 +474,7 @@ export interface DescribeGeofenceCollectionResponse {
|
|
|
474
474
|
CollectionName: string | undefined;
|
|
475
475
|
CollectionArn: string | undefined;
|
|
476
476
|
Description: string | undefined;
|
|
477
|
-
PricingPlan?: PricingPlan
|
|
477
|
+
PricingPlan?: PricingPlan;
|
|
478
478
|
PricingPlanDataSource?: string;
|
|
479
479
|
KmsKeyId?: string;
|
|
480
480
|
Tags?: Record<string, string>;
|
|
@@ -488,7 +488,7 @@ export interface DescribeMapRequest {
|
|
|
488
488
|
export interface DescribeMapResponse {
|
|
489
489
|
MapName: string | undefined;
|
|
490
490
|
MapArn: string | undefined;
|
|
491
|
-
PricingPlan?: PricingPlan
|
|
491
|
+
PricingPlan?: PricingPlan;
|
|
492
492
|
DataSource: string | undefined;
|
|
493
493
|
Configuration: MapConfiguration | undefined;
|
|
494
494
|
Description: string | undefined;
|
|
@@ -502,7 +502,7 @@ export interface DescribePlaceIndexRequest {
|
|
|
502
502
|
export interface DescribePlaceIndexResponse {
|
|
503
503
|
IndexName: string | undefined;
|
|
504
504
|
IndexArn: string | undefined;
|
|
505
|
-
PricingPlan?: PricingPlan
|
|
505
|
+
PricingPlan?: PricingPlan;
|
|
506
506
|
Description: string | undefined;
|
|
507
507
|
CreateTime: Date | undefined;
|
|
508
508
|
UpdateTime: Date | undefined;
|
|
@@ -516,7 +516,7 @@ export interface DescribeRouteCalculatorRequest {
|
|
|
516
516
|
export interface DescribeRouteCalculatorResponse {
|
|
517
517
|
CalculatorName: string | undefined;
|
|
518
518
|
CalculatorArn: string | undefined;
|
|
519
|
-
PricingPlan?: PricingPlan
|
|
519
|
+
PricingPlan?: PricingPlan;
|
|
520
520
|
Description: string | undefined;
|
|
521
521
|
CreateTime: Date | undefined;
|
|
522
522
|
UpdateTime: Date | undefined;
|
|
@@ -530,13 +530,13 @@ export interface DescribeTrackerResponse {
|
|
|
530
530
|
TrackerName: string | undefined;
|
|
531
531
|
TrackerArn: string | undefined;
|
|
532
532
|
Description: string | undefined;
|
|
533
|
-
PricingPlan?: PricingPlan
|
|
533
|
+
PricingPlan?: PricingPlan;
|
|
534
534
|
PricingPlanDataSource?: string;
|
|
535
535
|
Tags?: Record<string, string>;
|
|
536
536
|
CreateTime: Date | undefined;
|
|
537
537
|
UpdateTime: Date | undefined;
|
|
538
538
|
KmsKeyId?: string;
|
|
539
|
-
PositionFiltering?: PositionFiltering
|
|
539
|
+
PositionFiltering?: PositionFiltering;
|
|
540
540
|
EventBridgeEnabled?: boolean;
|
|
541
541
|
KmsKeyEnableGeospatialQueries?: boolean;
|
|
542
542
|
}
|
|
@@ -580,7 +580,7 @@ export interface ListGeofenceCollectionsRequest {
|
|
|
580
580
|
export interface ListGeofenceCollectionsResponseEntry {
|
|
581
581
|
CollectionName: string | undefined;
|
|
582
582
|
Description: string | undefined;
|
|
583
|
-
PricingPlan?: PricingPlan
|
|
583
|
+
PricingPlan?: PricingPlan;
|
|
584
584
|
PricingPlanDataSource?: string;
|
|
585
585
|
CreateTime: Date | undefined;
|
|
586
586
|
UpdateTime: Date | undefined;
|
|
@@ -619,7 +619,7 @@ export interface PutGeofenceResponse {
|
|
|
619
619
|
}
|
|
620
620
|
export interface UpdateGeofenceCollectionRequest {
|
|
621
621
|
CollectionName: string | undefined;
|
|
622
|
-
PricingPlan?: PricingPlan
|
|
622
|
+
PricingPlan?: PricingPlan;
|
|
623
623
|
PricingPlanDataSource?: string;
|
|
624
624
|
Description?: string;
|
|
625
625
|
}
|
|
@@ -756,7 +756,7 @@ export interface ListMapsResponseEntry {
|
|
|
756
756
|
MapName: string | undefined;
|
|
757
757
|
Description: string | undefined;
|
|
758
758
|
DataSource: string | undefined;
|
|
759
|
-
PricingPlan?: PricingPlan
|
|
759
|
+
PricingPlan?: PricingPlan;
|
|
760
760
|
CreateTime: Date | undefined;
|
|
761
761
|
UpdateTime: Date | undefined;
|
|
762
762
|
}
|
|
@@ -772,7 +772,7 @@ export interface ListPlaceIndexesResponseEntry {
|
|
|
772
772
|
IndexName: string | undefined;
|
|
773
773
|
Description: string | undefined;
|
|
774
774
|
DataSource: string | undefined;
|
|
775
|
-
PricingPlan?: PricingPlan
|
|
775
|
+
PricingPlan?: PricingPlan;
|
|
776
776
|
CreateTime: Date | undefined;
|
|
777
777
|
UpdateTime: Date | undefined;
|
|
778
778
|
}
|
|
@@ -788,7 +788,7 @@ export interface ListRouteCalculatorsResponseEntry {
|
|
|
788
788
|
CalculatorName: string | undefined;
|
|
789
789
|
Description: string | undefined;
|
|
790
790
|
DataSource: string | undefined;
|
|
791
|
-
PricingPlan?: PricingPlan
|
|
791
|
+
PricingPlan?: PricingPlan;
|
|
792
792
|
CreateTime: Date | undefined;
|
|
793
793
|
UpdateTime: Date | undefined;
|
|
794
794
|
}
|
|
@@ -812,7 +812,7 @@ export interface ListTrackersRequest {
|
|
|
812
812
|
export interface ListTrackersResponseEntry {
|
|
813
813
|
TrackerName: string | undefined;
|
|
814
814
|
Description: string | undefined;
|
|
815
|
-
PricingPlan?: PricingPlan
|
|
815
|
+
PricingPlan?: PricingPlan;
|
|
816
816
|
PricingPlanDataSource?: string;
|
|
817
817
|
CreateTime: Date | undefined;
|
|
818
818
|
UpdateTime: Date | undefined;
|
|
@@ -826,7 +826,7 @@ export interface MapConfigurationUpdate {
|
|
|
826
826
|
}
|
|
827
827
|
export interface UpdateMapRequest {
|
|
828
828
|
MapName: string | undefined;
|
|
829
|
-
PricingPlan?: PricingPlan
|
|
829
|
+
PricingPlan?: PricingPlan;
|
|
830
830
|
Description?: string;
|
|
831
831
|
ConfigurationUpdate?: MapConfigurationUpdate;
|
|
832
832
|
}
|
|
@@ -922,7 +922,7 @@ export interface SearchPlaceIndexForTextResponse {
|
|
|
922
922
|
}
|
|
923
923
|
export interface UpdatePlaceIndexRequest {
|
|
924
924
|
IndexName: string | undefined;
|
|
925
|
-
PricingPlan?: PricingPlan
|
|
925
|
+
PricingPlan?: PricingPlan;
|
|
926
926
|
Description?: string;
|
|
927
927
|
DataSourceConfiguration?: DataSourceConfiguration;
|
|
928
928
|
}
|
|
@@ -933,7 +933,7 @@ export interface UpdatePlaceIndexResponse {
|
|
|
933
933
|
}
|
|
934
934
|
export interface UpdateRouteCalculatorRequest {
|
|
935
935
|
CalculatorName: string | undefined;
|
|
936
|
-
PricingPlan?: PricingPlan
|
|
936
|
+
PricingPlan?: PricingPlan;
|
|
937
937
|
Description?: string;
|
|
938
938
|
}
|
|
939
939
|
export interface UpdateRouteCalculatorResponse {
|
|
@@ -943,10 +943,10 @@ export interface UpdateRouteCalculatorResponse {
|
|
|
943
943
|
}
|
|
944
944
|
export interface UpdateTrackerRequest {
|
|
945
945
|
TrackerName: string | undefined;
|
|
946
|
-
PricingPlan?: PricingPlan
|
|
946
|
+
PricingPlan?: PricingPlan;
|
|
947
947
|
PricingPlanDataSource?: string;
|
|
948
948
|
Description?: string;
|
|
949
|
-
PositionFiltering?: PositionFiltering
|
|
949
|
+
PositionFiltering?: PositionFiltering;
|
|
950
950
|
EventBridgeEnabled?: boolean;
|
|
951
951
|
KmsKeyEnableGeospatialQueries?: boolean;
|
|
952
952
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-location",
|
|
3
3
|
"description": "AWS SDK for JavaScript Location Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.429.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,40 +21,40 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.429.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.429.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.428.0",
|
|
32
|
+
"@aws-sdk/types": "3.428.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.14",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
|
+
"@smithy/hash-node": "^2.0.11",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.1",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.16",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.11",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.1",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.7",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.7",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.11",
|
|
49
|
+
"@smithy/types": "^2.3.5",
|
|
50
|
+
"@smithy/url-parser": "^2.0.11",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
57
|
-
"@smithy/util-stream": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.19",
|
|
56
|
+
"@smithy/util-retry": "^2.0.4",
|
|
57
|
+
"@smithy/util-stream": "^2.0.16",
|
|
58
58
|
"@smithy/util-utf8": "^2.0.0",
|
|
59
59
|
"tslib": "^2.5.0"
|
|
60
60
|
},
|