@aws-sdk/client-location 3.47.0 → 3.49.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.
@@ -8,6 +8,7 @@ import { BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput
8
8
  import { BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput } from "../commands/BatchPutGeofenceCommand";
9
9
  import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput } from "../commands/BatchUpdateDevicePositionCommand";
10
10
  import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "../commands/CalculateRouteCommand";
11
+ import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "../commands/CalculateRouteMatrixCommand";
11
12
  import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "../commands/CreateGeofenceCollectionCommand";
12
13
  import { CreateMapCommandInput, CreateMapCommandOutput } from "../commands/CreateMapCommand";
13
14
  import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "../commands/CreatePlaceIndexCommand";
@@ -59,6 +60,7 @@ export declare const serializeAws_restJson1BatchGetDevicePositionCommand: (input
59
60
  export declare const serializeAws_restJson1BatchPutGeofenceCommand: (input: BatchPutGeofenceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
61
  export declare const serializeAws_restJson1BatchUpdateDevicePositionCommand: (input: BatchUpdateDevicePositionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
62
  export declare const serializeAws_restJson1CalculateRouteCommand: (input: CalculateRouteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ export declare const serializeAws_restJson1CalculateRouteMatrixCommand: (input: CalculateRouteMatrixCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
64
  export declare const serializeAws_restJson1CreateGeofenceCollectionCommand: (input: CreateGeofenceCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
65
  export declare const serializeAws_restJson1CreateMapCommand: (input: CreateMapCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
66
  export declare const serializeAws_restJson1CreatePlaceIndexCommand: (input: CreatePlaceIndexCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -110,6 +112,7 @@ export declare const deserializeAws_restJson1BatchGetDevicePositionCommand: (out
110
112
  export declare const deserializeAws_restJson1BatchPutGeofenceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchPutGeofenceCommandOutput>;
111
113
  export declare const deserializeAws_restJson1BatchUpdateDevicePositionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchUpdateDevicePositionCommandOutput>;
112
114
  export declare const deserializeAws_restJson1CalculateRouteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CalculateRouteCommandOutput>;
115
+ export declare const deserializeAws_restJson1CalculateRouteMatrixCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CalculateRouteMatrixCommandOutput>;
113
116
  export declare const deserializeAws_restJson1CreateGeofenceCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGeofenceCollectionCommandOutput>;
114
117
  export declare const deserializeAws_restJson1CreateMapCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateMapCommandOutput>;
115
118
  export declare const deserializeAws_restJson1CreatePlaceIndexCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePlaceIndexCommandOutput>;
@@ -7,6 +7,7 @@ import { BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput
7
7
  import { BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput } from "./commands/BatchPutGeofenceCommand";
8
8
  import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput } from "./commands/BatchUpdateDevicePositionCommand";
9
9
  import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "./commands/CalculateRouteCommand";
10
+ import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
10
11
  import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "./commands/CreateGeofenceCollectionCommand";
11
12
  import { CreateMapCommandInput, CreateMapCommandOutput } from "./commands/CreateMapCommand";
12
13
  import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "./commands/CreatePlaceIndexCommand";
@@ -86,6 +87,10 @@ export declare class Location extends LocationClient {
86
87
  calculateRoute(args: CalculateRouteCommandInput, cb: (err: any, data?: CalculateRouteCommandOutput) => void): void;
87
88
  calculateRoute(args: CalculateRouteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CalculateRouteCommandOutput) => void): void;
88
89
 
90
+ calculateRouteMatrix(args: CalculateRouteMatrixCommandInput, options?: __HttpHandlerOptions): Promise<CalculateRouteMatrixCommandOutput>;
91
+ calculateRouteMatrix(args: CalculateRouteMatrixCommandInput, cb: (err: any, data?: CalculateRouteMatrixCommandOutput) => void): void;
92
+ calculateRouteMatrix(args: CalculateRouteMatrixCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CalculateRouteMatrixCommandOutput) => void): void;
93
+
89
94
  createGeofenceCollection(args: CreateGeofenceCollectionCommandInput, options?: __HttpHandlerOptions): Promise<CreateGeofenceCollectionCommandOutput>;
90
95
  createGeofenceCollection(args: CreateGeofenceCollectionCommandInput, cb: (err: any, data?: CreateGeofenceCollectionCommandOutput) => void): void;
91
96
  createGeofenceCollection(args: CreateGeofenceCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGeofenceCollectionCommandOutput) => void): void;
@@ -14,6 +14,7 @@ import { BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput
14
14
  import { BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput } from "./commands/BatchPutGeofenceCommand";
15
15
  import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput } from "./commands/BatchUpdateDevicePositionCommand";
16
16
  import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "./commands/CalculateRouteCommand";
17
+ import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
17
18
  import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "./commands/CreateGeofenceCollectionCommand";
18
19
  import { CreateMapCommandInput, CreateMapCommandOutput } from "./commands/CreateMapCommand";
19
20
  import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "./commands/CreatePlaceIndexCommand";
@@ -57,8 +58,8 @@ import { UpdateMapCommandInput, UpdateMapCommandOutput } from "./commands/Update
57
58
  import { UpdatePlaceIndexCommandInput, UpdatePlaceIndexCommandOutput } from "./commands/UpdatePlaceIndexCommand";
58
59
  import { UpdateRouteCalculatorCommandInput, UpdateRouteCalculatorCommandOutput } from "./commands/UpdateRouteCalculatorCommand";
59
60
  import { UpdateTrackerCommandInput, UpdateTrackerCommandOutput } from "./commands/UpdateTrackerCommand";
60
- export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CreateGeofenceCollectionCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
61
- export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CreateGeofenceCollectionCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
61
+ export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CalculateRouteMatrixCommandInput | CreateGeofenceCollectionCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
62
+ export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CalculateRouteMatrixCommandOutput | CreateGeofenceCollectionCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
62
63
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
63
64
 
64
65
  requestHandler?: __HttpHandler;
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
4
+ import { CalculateRouteMatrixRequest, CalculateRouteMatrixResponse } from "../models/models_0";
5
+ export interface CalculateRouteMatrixCommandInput extends CalculateRouteMatrixRequest {
6
+ }
7
+ export interface CalculateRouteMatrixCommandOutput extends CalculateRouteMatrixResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CalculateRouteMatrixCommand extends $Command<CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput, LocationClientResolvedConfig> {
11
+ readonly input: CalculateRouteMatrixCommandInput;
12
+ constructor(input: CalculateRouteMatrixCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -6,6 +6,7 @@ export * from "./BatchGetDevicePositionCommand";
6
6
  export * from "./BatchPutGeofenceCommand";
7
7
  export * from "./BatchUpdateDevicePositionCommand";
8
8
  export * from "./CalculateRouteCommand";
9
+ export * from "./CalculateRouteMatrixCommand";
9
10
  export * from "./CreateGeofenceCollectionCommand";
10
11
  export * from "./CreateMapCommand";
11
12
  export * from "./CreatePlaceIndexCommand";
@@ -509,6 +509,85 @@ export declare namespace CalculateRouteResponse {
509
509
 
510
510
  const filterSensitiveLog: (obj: CalculateRouteResponse) => any;
511
511
  }
512
+ export interface CalculateRouteMatrixRequest {
513
+
514
+ CalculatorName: string | undefined;
515
+
516
+ DeparturePositions: number[][] | undefined;
517
+
518
+ DestinationPositions: number[][] | undefined;
519
+
520
+ TravelMode?: TravelMode | string;
521
+
522
+ DepartureTime?: Date;
523
+
524
+ DepartNow?: boolean;
525
+
526
+ DistanceUnit?: DistanceUnit | string;
527
+
528
+ CarModeOptions?: CalculateRouteCarModeOptions;
529
+
530
+ TruckModeOptions?: CalculateRouteTruckModeOptions;
531
+ }
532
+ export declare namespace CalculateRouteMatrixRequest {
533
+
534
+ const filterSensitiveLog: (obj: CalculateRouteMatrixRequest) => any;
535
+ }
536
+ export declare type RouteMatrixErrorCode = "DeparturePositionNotFound" | "DestinationPositionNotFound" | "OtherValidationError" | "PositionsNotFound" | "RouteNotFound" | "RouteTooLong";
537
+
538
+ export interface RouteMatrixEntryError {
539
+
540
+ Code: RouteMatrixErrorCode | string | undefined;
541
+
542
+ Message?: string;
543
+ }
544
+ export declare namespace RouteMatrixEntryError {
545
+
546
+ const filterSensitiveLog: (obj: RouteMatrixEntryError) => any;
547
+ }
548
+
549
+ export interface RouteMatrixEntry {
550
+
551
+ Distance?: number;
552
+
553
+ DurationSeconds?: number;
554
+
555
+ Error?: RouteMatrixEntryError;
556
+ }
557
+ export declare namespace RouteMatrixEntry {
558
+
559
+ const filterSensitiveLog: (obj: RouteMatrixEntry) => any;
560
+ }
561
+
562
+ export interface CalculateRouteMatrixSummary {
563
+
564
+ DataSource: string | undefined;
565
+
566
+ RouteCount: number | undefined;
567
+
568
+ ErrorCount: number | undefined;
569
+
570
+ DistanceUnit: DistanceUnit | string | undefined;
571
+ }
572
+ export declare namespace CalculateRouteMatrixSummary {
573
+
574
+ const filterSensitiveLog: (obj: CalculateRouteMatrixSummary) => any;
575
+ }
576
+
577
+ export interface CalculateRouteMatrixResponse {
578
+
579
+ RouteMatrix: RouteMatrixEntry[][] | undefined;
580
+
581
+ SnappedDeparturePositions?: number[][];
582
+
583
+ SnappedDestinationPositions?: number[][];
584
+
585
+ Summary: CalculateRouteMatrixSummary | undefined;
586
+ }
587
+ export declare namespace CalculateRouteMatrixResponse {
588
+
589
+ const filterSensitiveLog: (obj: CalculateRouteMatrixResponse) => any;
590
+ }
512
591
  export declare type PricingPlan = "MobileAssetManagement" | "MobileAssetTracking" | "RequestBasedUsage";
513
592
  export interface CreateGeofenceCollectionRequest {
514
593
 
@@ -774,7 +853,7 @@ export interface DescribeGeofenceCollectionResponse {
774
853
 
775
854
  Description: string | undefined;
776
855
 
777
- PricingPlan: PricingPlan | string | undefined;
856
+ PricingPlan?: PricingPlan | string;
778
857
 
779
858
  PricingPlanDataSource?: string;
780
859
 
@@ -806,7 +885,7 @@ export interface DescribeMapResponse {
806
885
 
807
886
  MapArn: string | undefined;
808
887
 
809
- PricingPlan: PricingPlan | string | undefined;
888
+ PricingPlan?: PricingPlan | string;
810
889
 
811
890
  DataSource: string | undefined;
812
891
 
@@ -840,7 +919,7 @@ export interface DescribePlaceIndexResponse {
840
919
 
841
920
  IndexArn: string | undefined;
842
921
 
843
- PricingPlan: PricingPlan | string | undefined;
922
+ PricingPlan?: PricingPlan | string;
844
923
 
845
924
  Description: string | undefined;
846
925
 
@@ -874,7 +953,7 @@ export interface DescribeRouteCalculatorResponse {
874
953
 
875
954
  CalculatorArn: string | undefined;
876
955
 
877
- PricingPlan: PricingPlan | string | undefined;
956
+ PricingPlan?: PricingPlan | string;
878
957
 
879
958
  Description: string | undefined;
880
959
 
@@ -908,7 +987,7 @@ export interface DescribeTrackerResponse {
908
987
 
909
988
  Description: string | undefined;
910
989
 
911
- PricingPlan: PricingPlan | string | undefined;
990
+ PricingPlan?: PricingPlan | string;
912
991
 
913
992
  PricingPlanDataSource?: string;
914
993
 
@@ -1039,7 +1118,7 @@ export interface ListGeofenceCollectionsResponseEntry {
1039
1118
 
1040
1119
  Description: string | undefined;
1041
1120
 
1042
- PricingPlan: PricingPlan | string | undefined;
1121
+ PricingPlan?: PricingPlan | string;
1043
1122
 
1044
1123
  PricingPlanDataSource?: string;
1045
1124
 
@@ -1348,7 +1427,7 @@ export interface ListMapsResponseEntry {
1348
1427
 
1349
1428
  DataSource: string | undefined;
1350
1429
 
1351
- PricingPlan: PricingPlan | string | undefined;
1430
+ PricingPlan?: PricingPlan | string;
1352
1431
 
1353
1432
  CreateTime: Date | undefined;
1354
1433
 
@@ -1387,7 +1466,7 @@ export interface ListPlaceIndexesResponseEntry {
1387
1466
 
1388
1467
  DataSource: string | undefined;
1389
1468
 
1390
- PricingPlan: PricingPlan | string | undefined;
1469
+ PricingPlan?: PricingPlan | string;
1391
1470
 
1392
1471
  CreateTime: Date | undefined;
1393
1472
 
@@ -1426,7 +1505,7 @@ export interface ListRouteCalculatorsResponseEntry {
1426
1505
 
1427
1506
  DataSource: string | undefined;
1428
1507
 
1429
- PricingPlan: PricingPlan | string | undefined;
1508
+ PricingPlan?: PricingPlan | string;
1430
1509
 
1431
1510
  CreateTime: Date | undefined;
1432
1511
 
@@ -1485,7 +1564,7 @@ export interface ListTrackersResponseEntry {
1485
1564
 
1486
1565
  Description: string | undefined;
1487
1566
 
1488
- PricingPlan: PricingPlan | string | undefined;
1567
+ PricingPlan?: PricingPlan | string;
1489
1568
 
1490
1569
  PricingPlanDataSource?: string;
1491
1570
 
@@ -8,6 +8,7 @@ import { BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput
8
8
  import { BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput } from "../commands/BatchPutGeofenceCommand";
9
9
  import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput } from "../commands/BatchUpdateDevicePositionCommand";
10
10
  import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "../commands/CalculateRouteCommand";
11
+ import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "../commands/CalculateRouteMatrixCommand";
11
12
  import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "../commands/CreateGeofenceCollectionCommand";
12
13
  import { CreateMapCommandInput, CreateMapCommandOutput } from "../commands/CreateMapCommand";
13
14
  import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "../commands/CreatePlaceIndexCommand";
@@ -59,6 +60,7 @@ export declare const serializeAws_restJson1BatchGetDevicePositionCommand: (input
59
60
  export declare const serializeAws_restJson1BatchPutGeofenceCommand: (input: BatchPutGeofenceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
60
61
  export declare const serializeAws_restJson1BatchUpdateDevicePositionCommand: (input: BatchUpdateDevicePositionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
61
62
  export declare const serializeAws_restJson1CalculateRouteCommand: (input: CalculateRouteCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ export declare const serializeAws_restJson1CalculateRouteMatrixCommand: (input: CalculateRouteMatrixCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
64
  export declare const serializeAws_restJson1CreateGeofenceCollectionCommand: (input: CreateGeofenceCollectionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
65
  export declare const serializeAws_restJson1CreateMapCommand: (input: CreateMapCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
66
  export declare const serializeAws_restJson1CreatePlaceIndexCommand: (input: CreatePlaceIndexCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -110,6 +112,7 @@ export declare const deserializeAws_restJson1BatchGetDevicePositionCommand: (out
110
112
  export declare const deserializeAws_restJson1BatchPutGeofenceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchPutGeofenceCommandOutput>;
111
113
  export declare const deserializeAws_restJson1BatchUpdateDevicePositionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchUpdateDevicePositionCommandOutput>;
112
114
  export declare const deserializeAws_restJson1CalculateRouteCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CalculateRouteCommandOutput>;
115
+ export declare const deserializeAws_restJson1CalculateRouteMatrixCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CalculateRouteMatrixCommandOutput>;
113
116
  export declare const deserializeAws_restJson1CreateGeofenceCollectionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateGeofenceCollectionCommandOutput>;
114
117
  export declare const deserializeAws_restJson1CreateMapCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateMapCommandOutput>;
115
118
  export declare const deserializeAws_restJson1CreatePlaceIndexCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreatePlaceIndexCommandOutput>;
package/package.json CHANGED
@@ -1,9 +1,9 @@
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.47.0",
4
+ "version": "3.49.0",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
8
8
  "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
@@ -18,41 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.47.0",
22
- "@aws-sdk/config-resolver": "3.47.0",
23
- "@aws-sdk/credential-provider-node": "3.47.0",
24
- "@aws-sdk/fetch-http-handler": "3.47.0",
25
- "@aws-sdk/hash-node": "3.47.0",
26
- "@aws-sdk/invalid-dependency": "3.47.0",
27
- "@aws-sdk/middleware-content-length": "3.47.0",
28
- "@aws-sdk/middleware-host-header": "3.47.0",
29
- "@aws-sdk/middleware-logger": "3.47.0",
30
- "@aws-sdk/middleware-retry": "3.47.0",
31
- "@aws-sdk/middleware-serde": "3.47.0",
32
- "@aws-sdk/middleware-signing": "3.47.0",
33
- "@aws-sdk/middleware-stack": "3.47.0",
34
- "@aws-sdk/middleware-user-agent": "3.47.0",
35
- "@aws-sdk/node-config-provider": "3.47.0",
36
- "@aws-sdk/node-http-handler": "3.47.0",
37
- "@aws-sdk/protocol-http": "3.47.0",
38
- "@aws-sdk/smithy-client": "3.47.0",
39
- "@aws-sdk/types": "3.47.0",
40
- "@aws-sdk/url-parser": "3.47.0",
41
- "@aws-sdk/util-base64-browser": "3.47.0",
42
- "@aws-sdk/util-base64-node": "3.47.0",
43
- "@aws-sdk/util-body-length-browser": "3.47.0",
44
- "@aws-sdk/util-body-length-node": "3.47.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.47.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.47.0",
47
- "@aws-sdk/util-user-agent-browser": "3.47.0",
48
- "@aws-sdk/util-user-agent-node": "3.47.0",
49
- "@aws-sdk/util-utf8-browser": "3.47.0",
50
- "@aws-sdk/util-utf8-node": "3.47.0",
21
+ "@aws-sdk/client-sts": "3.49.0",
22
+ "@aws-sdk/config-resolver": "3.49.0",
23
+ "@aws-sdk/credential-provider-node": "3.49.0",
24
+ "@aws-sdk/fetch-http-handler": "3.49.0",
25
+ "@aws-sdk/hash-node": "3.49.0",
26
+ "@aws-sdk/invalid-dependency": "3.49.0",
27
+ "@aws-sdk/middleware-content-length": "3.49.0",
28
+ "@aws-sdk/middleware-host-header": "3.49.0",
29
+ "@aws-sdk/middleware-logger": "3.49.0",
30
+ "@aws-sdk/middleware-retry": "3.49.0",
31
+ "@aws-sdk/middleware-serde": "3.49.0",
32
+ "@aws-sdk/middleware-signing": "3.49.0",
33
+ "@aws-sdk/middleware-stack": "3.49.0",
34
+ "@aws-sdk/middleware-user-agent": "3.49.0",
35
+ "@aws-sdk/node-config-provider": "3.49.0",
36
+ "@aws-sdk/node-http-handler": "3.49.0",
37
+ "@aws-sdk/protocol-http": "3.49.0",
38
+ "@aws-sdk/smithy-client": "3.49.0",
39
+ "@aws-sdk/types": "3.49.0",
40
+ "@aws-sdk/url-parser": "3.49.0",
41
+ "@aws-sdk/util-base64-browser": "3.49.0",
42
+ "@aws-sdk/util-base64-node": "3.49.0",
43
+ "@aws-sdk/util-body-length-browser": "3.49.0",
44
+ "@aws-sdk/util-body-length-node": "3.49.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.49.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.49.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.49.0",
48
+ "@aws-sdk/util-user-agent-node": "3.49.0",
49
+ "@aws-sdk/util-utf8-browser": "3.49.0",
50
+ "@aws-sdk/util-utf8-node": "3.49.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.47.0",
55
- "@types/node": "^12.7.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.49.0",
55
+ "@tsconfig/recommended": "1.0.1",
56
+ "@types/node": "^12.7.5",
57
+ "concurrently": "7.0.0",
58
+ "downlevel-dts": "0.7.0",
59
+ "rimraf": "3.0.2",
60
+ "typedoc": "0.19.2",
61
+ "typescript": "~4.3.5"
56
62
  },
57
63
  "engines": {
58
64
  "node": ">=12.0.0"