@aws-sdk/client-location 3.272.0 → 3.278.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist-cjs/Location.js +75 -0
  2. package/dist-cjs/commands/CreateKeyCommand.js +46 -0
  3. package/dist-cjs/commands/DeleteKeyCommand.js +46 -0
  4. package/dist-cjs/commands/DescribeKeyCommand.js +46 -0
  5. package/dist-cjs/commands/ListKeysCommand.js +46 -0
  6. package/dist-cjs/commands/UpdateKeyCommand.js +46 -0
  7. package/dist-cjs/commands/index.js +5 -0
  8. package/dist-cjs/endpoint/ruleset.js +3 -3
  9. package/dist-cjs/models/models_0.js +80 -22
  10. package/dist-cjs/pagination/ListKeysPaginator.js +36 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +544 -3
  13. package/dist-es/Location.js +75 -0
  14. package/dist-es/commands/CreateKeyCommand.js +42 -0
  15. package/dist-es/commands/DeleteKeyCommand.js +42 -0
  16. package/dist-es/commands/DescribeKeyCommand.js +42 -0
  17. package/dist-es/commands/ListKeysCommand.js +42 -0
  18. package/dist-es/commands/UpdateKeyCommand.js +42 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/endpoint/ruleset.js +3 -3
  21. package/dist-es/models/models_0.js +60 -15
  22. package/dist-es/pagination/ListKeysPaginator.js +32 -0
  23. package/dist-es/pagination/index.js +1 -0
  24. package/dist-es/protocols/Aws_restJson1.js +531 -0
  25. package/dist-types/Location.d.ts +82 -24
  26. package/dist-types/LocationClient.d.ts +7 -2
  27. package/dist-types/commands/CreateKeyCommand.d.ts +44 -0
  28. package/dist-types/commands/CreateMapCommand.d.ts +2 -2
  29. package/dist-types/commands/CreatePlaceIndexCommand.d.ts +2 -2
  30. package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +2 -2
  31. package/dist-types/commands/CreateTrackerCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteKeyCommand.d.ts +38 -0
  34. package/dist-types/commands/DeleteMapCommand.d.ts +1 -1
  35. package/dist-types/commands/DeletePlaceIndexCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteTrackerCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeKeyCommand.d.ts +42 -0
  39. package/dist-types/commands/GetPlaceCommand.d.ts +2 -2
  40. package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListKeysCommand.d.ts +42 -0
  42. package/dist-types/commands/ListMapsCommand.d.ts +1 -1
  43. package/dist-types/commands/ListPlaceIndexesCommand.d.ts +1 -1
  44. package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListTrackersCommand.d.ts +1 -1
  46. package/dist-types/commands/TagResourceCommand.d.ts +5 -5
  47. package/dist-types/commands/UpdateKeyCommand.d.ts +42 -0
  48. package/dist-types/commands/index.d.ts +5 -0
  49. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  50. package/dist-types/models/models_0.d.ts +548 -67
  51. package/dist-types/pagination/ListKeysPaginator.d.ts +4 -0
  52. package/dist-types/pagination/index.d.ts +1 -0
  53. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  54. package/dist-types/ts3.4/Location.d.ts +85 -0
  55. package/dist-types/ts3.4/LocationClient.d.ts +30 -0
  56. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +34 -0
  57. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +34 -0
  58. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +34 -0
  59. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +34 -0
  60. package/dist-types/ts3.4/commands/UpdateKeyCommand.d.ts +34 -0
  61. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  62. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  63. package/dist-types/ts3.4/models/models_0.d.ts +131 -15
  64. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +11 -0
  65. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  66. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  67. package/package.json +4 -4
@@ -9,16 +9,19 @@ import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommand
9
9
  import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "./commands/CalculateRouteCommand";
10
10
  import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
11
11
  import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "./commands/CreateGeofenceCollectionCommand";
12
+ import { CreateKeyCommandInput, CreateKeyCommandOutput } from "./commands/CreateKeyCommand";
12
13
  import { CreateMapCommandInput, CreateMapCommandOutput } from "./commands/CreateMapCommand";
13
14
  import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "./commands/CreatePlaceIndexCommand";
14
15
  import { CreateRouteCalculatorCommandInput, CreateRouteCalculatorCommandOutput } from "./commands/CreateRouteCalculatorCommand";
15
16
  import { CreateTrackerCommandInput, CreateTrackerCommandOutput } from "./commands/CreateTrackerCommand";
16
17
  import { DeleteGeofenceCollectionCommandInput, DeleteGeofenceCollectionCommandOutput } from "./commands/DeleteGeofenceCollectionCommand";
18
+ import { DeleteKeyCommandInput, DeleteKeyCommandOutput } from "./commands/DeleteKeyCommand";
17
19
  import { DeleteMapCommandInput, DeleteMapCommandOutput } from "./commands/DeleteMapCommand";
18
20
  import { DeletePlaceIndexCommandInput, DeletePlaceIndexCommandOutput } from "./commands/DeletePlaceIndexCommand";
19
21
  import { DeleteRouteCalculatorCommandInput, DeleteRouteCalculatorCommandOutput } from "./commands/DeleteRouteCalculatorCommand";
20
22
  import { DeleteTrackerCommandInput, DeleteTrackerCommandOutput } from "./commands/DeleteTrackerCommand";
21
23
  import { DescribeGeofenceCollectionCommandInput, DescribeGeofenceCollectionCommandOutput } from "./commands/DescribeGeofenceCollectionCommand";
24
+ import { DescribeKeyCommandInput, DescribeKeyCommandOutput } from "./commands/DescribeKeyCommand";
22
25
  import { DescribeMapCommandInput, DescribeMapCommandOutput } from "./commands/DescribeMapCommand";
23
26
  import { DescribePlaceIndexCommandInput, DescribePlaceIndexCommandOutput } from "./commands/DescribePlaceIndexCommand";
24
27
  import { DescribeRouteCalculatorCommandInput, DescribeRouteCalculatorCommandOutput } from "./commands/DescribeRouteCalculatorCommand";
@@ -35,6 +38,7 @@ import { GetPlaceCommandInput, GetPlaceCommandOutput } from "./commands/GetPlace
35
38
  import { ListDevicePositionsCommandInput, ListDevicePositionsCommandOutput } from "./commands/ListDevicePositionsCommand";
36
39
  import { ListGeofenceCollectionsCommandInput, ListGeofenceCollectionsCommandOutput } from "./commands/ListGeofenceCollectionsCommand";
37
40
  import { ListGeofencesCommandInput, ListGeofencesCommandOutput } from "./commands/ListGeofencesCommand";
41
+ import { ListKeysCommandInput, ListKeysCommandOutput } from "./commands/ListKeysCommand";
38
42
  import { ListMapsCommandInput, ListMapsCommandOutput } from "./commands/ListMapsCommand";
39
43
  import { ListPlaceIndexesCommandInput, ListPlaceIndexesCommandOutput } from "./commands/ListPlaceIndexesCommand";
40
44
  import { ListRouteCalculatorsCommandInput, ListRouteCalculatorsCommandOutput } from "./commands/ListRouteCalculatorsCommand";
@@ -48,6 +52,7 @@ import { SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutp
48
52
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
49
53
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
50
54
  import { UpdateGeofenceCollectionCommandInput, UpdateGeofenceCollectionCommandOutput } from "./commands/UpdateGeofenceCollectionCommand";
55
+ import { UpdateKeyCommandInput, UpdateKeyCommandOutput } from "./commands/UpdateKeyCommand";
51
56
  import { UpdateMapCommandInput, UpdateMapCommandOutput } from "./commands/UpdateMapCommand";
52
57
  import { UpdatePlaceIndexCommandInput, UpdatePlaceIndexCommandOutput } from "./commands/UpdatePlaceIndexCommand";
53
58
  import { UpdateRouteCalculatorCommandInput, UpdateRouteCalculatorCommandOutput } from "./commands/UpdateRouteCalculatorCommand";
@@ -248,12 +253,25 @@ export declare class Location extends LocationClient {
248
253
  createGeofenceCollection(args: CreateGeofenceCollectionCommandInput, cb: (err: any, data?: CreateGeofenceCollectionCommandOutput) => void): void;
249
254
  createGeofenceCollection(args: CreateGeofenceCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateGeofenceCollectionCommandOutput) => void): void;
250
255
  /**
251
- * <p>Creates a map resource in your AWS account, which provides map tiles of different
256
+ * <p>Creates an API key resource in your Amazon Web Services account, which lets you grant
257
+ * <code>geo:GetMap*</code> actions for Amazon Location Map resources to the API key
258
+ * bearer.</p>
259
+ * <important>
260
+ * <p>The API keys feature is in preview. We may add, change, or remove
261
+ * features before announcing general availability. For more information, see
262
+ * <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">Using API keys</a>.</p>
263
+ * </important>
264
+ */
265
+ createKey(args: CreateKeyCommandInput, options?: __HttpHandlerOptions): Promise<CreateKeyCommandOutput>;
266
+ createKey(args: CreateKeyCommandInput, cb: (err: any, data?: CreateKeyCommandOutput) => void): void;
267
+ createKey(args: CreateKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKeyCommandOutput) => void): void;
268
+ /**
269
+ * <p>Creates a map resource in your Amazon Web Services account, which provides map tiles of different
252
270
  * styles sourced from global location data providers.</p>
253
271
  * <note>
254
272
  * <p>If your application is tracking or routing assets you use in your business, such
255
273
  * as delivery vehicles or employees, you must not use Esri as your geolocation
256
- * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
274
+ * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">Amazon Web Services
257
275
  * service terms</a> for more details.</p>
258
276
  * </note>
259
277
  */
@@ -261,7 +279,7 @@ export declare class Location extends LocationClient {
261
279
  createMap(args: CreateMapCommandInput, cb: (err: any, data?: CreateMapCommandOutput) => void): void;
262
280
  createMap(args: CreateMapCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMapCommandOutput) => void): void;
263
281
  /**
264
- * <p>Creates a place index resource in your AWS account. Use a place index resource to
282
+ * <p>Creates a place index resource in your Amazon Web Services account. Use a place index resource to
265
283
  * geocode addresses and other text queries by using the
266
284
  * <code>SearchPlaceIndexForText</code> operation, and reverse geocode coordinates by
267
285
  * using the <code>SearchPlaceIndexForPosition</code> operation, and enable autosuggestions
@@ -269,7 +287,7 @@ export declare class Location extends LocationClient {
269
287
  * <note>
270
288
  * <p>If your application is tracking or routing assets you use in your business, such
271
289
  * as delivery vehicles or employees, you must not use Esri as your geolocation
272
- * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
290
+ * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">Amazon Web Services
273
291
  * service terms</a> for more details.</p>
274
292
  * </note>
275
293
  */
@@ -277,14 +295,14 @@ export declare class Location extends LocationClient {
277
295
  createPlaceIndex(args: CreatePlaceIndexCommandInput, cb: (err: any, data?: CreatePlaceIndexCommandOutput) => void): void;
278
296
  createPlaceIndex(args: CreatePlaceIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePlaceIndexCommandOutput) => void): void;
279
297
  /**
280
- * <p>Creates a route calculator resource in your AWS account.</p>
298
+ * <p>Creates a route calculator resource in your Amazon Web Services account.</p>
281
299
  * <p>You can send requests to a route calculator resource to estimate travel time,
282
300
  * distance, and get directions. A route calculator sources traffic and road network data
283
301
  * from your chosen data provider.</p>
284
302
  * <note>
285
303
  * <p>If your application is tracking or routing assets you use in your business, such
286
304
  * as delivery vehicles or employees, you must not use Esri as your geolocation
287
- * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
305
+ * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">Amazon Web Services
288
306
  * service terms</a> for more details.</p>
289
307
  * </note>
290
308
  */
@@ -292,14 +310,14 @@ export declare class Location extends LocationClient {
292
310
  createRouteCalculator(args: CreateRouteCalculatorCommandInput, cb: (err: any, data?: CreateRouteCalculatorCommandOutput) => void): void;
293
311
  createRouteCalculator(args: CreateRouteCalculatorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRouteCalculatorCommandOutput) => void): void;
294
312
  /**
295
- * <p>Creates a tracker resource in your AWS account, which lets you retrieve current and
313
+ * <p>Creates a tracker resource in your Amazon Web Services account, which lets you retrieve current and
296
314
  * historical location of devices.</p>
297
315
  */
298
316
  createTracker(args: CreateTrackerCommandInput, options?: __HttpHandlerOptions): Promise<CreateTrackerCommandOutput>;
299
317
  createTracker(args: CreateTrackerCommandInput, cb: (err: any, data?: CreateTrackerCommandOutput) => void): void;
300
318
  createTracker(args: CreateTrackerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTrackerCommandOutput) => void): void;
301
319
  /**
302
- * <p>Deletes a geofence collection from your AWS account.</p>
320
+ * <p>Deletes a geofence collection from your Amazon Web Services account.</p>
303
321
  * <note>
304
322
  * <p>This operation deletes the resource permanently. If the geofence collection is the
305
323
  * target of a tracker resource, the devices will no longer be monitored.</p>
@@ -309,7 +327,14 @@ export declare class Location extends LocationClient {
309
327
  deleteGeofenceCollection(args: DeleteGeofenceCollectionCommandInput, cb: (err: any, data?: DeleteGeofenceCollectionCommandOutput) => void): void;
310
328
  deleteGeofenceCollection(args: DeleteGeofenceCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteGeofenceCollectionCommandOutput) => void): void;
311
329
  /**
312
- * <p>Deletes a map resource from your AWS account.</p>
330
+ * <p>Deletes the specified API key. The API key must have been deactivated more than
331
+ * 90 days previously.</p>
332
+ */
333
+ deleteKey(args: DeleteKeyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteKeyCommandOutput>;
334
+ deleteKey(args: DeleteKeyCommandInput, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void;
335
+ deleteKey(args: DeleteKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKeyCommandOutput) => void): void;
336
+ /**
337
+ * <p>Deletes a map resource from your Amazon Web Services account.</p>
313
338
  * <note>
314
339
  * <p>This operation deletes the resource permanently. If the map is being used in an application,
315
340
  * the map may not render.</p>
@@ -319,7 +344,7 @@ export declare class Location extends LocationClient {
319
344
  deleteMap(args: DeleteMapCommandInput, cb: (err: any, data?: DeleteMapCommandOutput) => void): void;
320
345
  deleteMap(args: DeleteMapCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMapCommandOutput) => void): void;
321
346
  /**
322
- * <p>Deletes a place index resource from your AWS account.</p>
347
+ * <p>Deletes a place index resource from your Amazon Web Services account.</p>
323
348
  * <note>
324
349
  * <p>This operation deletes the resource permanently.</p>
325
350
  * </note>
@@ -328,7 +353,7 @@ export declare class Location extends LocationClient {
328
353
  deletePlaceIndex(args: DeletePlaceIndexCommandInput, cb: (err: any, data?: DeletePlaceIndexCommandOutput) => void): void;
329
354
  deletePlaceIndex(args: DeletePlaceIndexCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePlaceIndexCommandOutput) => void): void;
330
355
  /**
331
- * <p>Deletes a route calculator resource from your AWS account.</p>
356
+ * <p>Deletes a route calculator resource from your Amazon Web Services account.</p>
332
357
  * <note>
333
358
  * <p>This operation deletes the resource permanently.</p>
334
359
  * </note>
@@ -337,7 +362,7 @@ export declare class Location extends LocationClient {
337
362
  deleteRouteCalculator(args: DeleteRouteCalculatorCommandInput, cb: (err: any, data?: DeleteRouteCalculatorCommandOutput) => void): void;
338
363
  deleteRouteCalculator(args: DeleteRouteCalculatorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRouteCalculatorCommandOutput) => void): void;
339
364
  /**
340
- * <p>Deletes a tracker resource from your AWS account.</p>
365
+ * <p>Deletes a tracker resource from your Amazon Web Services account.</p>
341
366
  * <note>
342
367
  * <p>This operation deletes the resource permanently. If the tracker resource is in use, you may
343
368
  * encounter an error. Make sure that the target resource isn't a dependency for your
@@ -353,6 +378,17 @@ export declare class Location extends LocationClient {
353
378
  describeGeofenceCollection(args: DescribeGeofenceCollectionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeGeofenceCollectionCommandOutput>;
354
379
  describeGeofenceCollection(args: DescribeGeofenceCollectionCommandInput, cb: (err: any, data?: DescribeGeofenceCollectionCommandOutput) => void): void;
355
380
  describeGeofenceCollection(args: DescribeGeofenceCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeGeofenceCollectionCommandOutput) => void): void;
381
+ /**
382
+ * <p>Retrieves the API key resource details.</p>
383
+ * <important>
384
+ * <p>The API keys feature is in preview. We may add, change, or remove
385
+ * features before announcing general availability. For more information, see
386
+ * <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">Using API keys</a>.</p>
387
+ * </important>
388
+ */
389
+ describeKey(args: DescribeKeyCommandInput, options?: __HttpHandlerOptions): Promise<DescribeKeyCommandOutput>;
390
+ describeKey(args: DescribeKeyCommandInput, cb: (err: any, data?: DescribeKeyCommandOutput) => void): void;
391
+ describeKey(args: DescribeKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeKeyCommandOutput) => void): void;
356
392
  /**
357
393
  * <p>Retrieves the map resource details.</p>
358
394
  */
@@ -454,10 +490,10 @@ export declare class Location extends LocationClient {
454
490
  * search request and the call to <code>GetPlace</code>.</p>
455
491
  * <ul>
456
492
  * <li>
457
- * <p>Customer AWS account</p>
493
+ * <p>Customer Amazon Web Services account</p>
458
494
  * </li>
459
495
  * <li>
460
- * <p>AWS Region</p>
496
+ * <p>Amazon Web Services Region</p>
461
497
  * </li>
462
498
  * <li>
463
499
  * <p>Data provider specified in the place index resource</p>
@@ -475,7 +511,7 @@ export declare class Location extends LocationClient {
475
511
  listDevicePositions(args: ListDevicePositionsCommandInput, cb: (err: any, data?: ListDevicePositionsCommandOutput) => void): void;
476
512
  listDevicePositions(args: ListDevicePositionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDevicePositionsCommandOutput) => void): void;
477
513
  /**
478
- * <p>Lists geofence collections in your AWS account.</p>
514
+ * <p>Lists geofence collections in your Amazon Web Services account.</p>
479
515
  */
480
516
  listGeofenceCollections(args: ListGeofenceCollectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListGeofenceCollectionsCommandOutput>;
481
517
  listGeofenceCollections(args: ListGeofenceCollectionsCommandInput, cb: (err: any, data?: ListGeofenceCollectionsCommandOutput) => void): void;
@@ -487,19 +523,30 @@ export declare class Location extends LocationClient {
487
523
  listGeofences(args: ListGeofencesCommandInput, cb: (err: any, data?: ListGeofencesCommandOutput) => void): void;
488
524
  listGeofences(args: ListGeofencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGeofencesCommandOutput) => void): void;
489
525
  /**
490
- * <p>Lists map resources in your AWS account.</p>
526
+ * <p>Lists API key resources in your Amazon Web Services account.</p>
527
+ * <important>
528
+ * <p>The API keys feature is in preview. We may add, change, or remove
529
+ * features before announcing general availability. For more information, see
530
+ * <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">Using API keys</a>.</p>
531
+ * </important>
532
+ */
533
+ listKeys(args: ListKeysCommandInput, options?: __HttpHandlerOptions): Promise<ListKeysCommandOutput>;
534
+ listKeys(args: ListKeysCommandInput, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
535
+ listKeys(args: ListKeysCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListKeysCommandOutput) => void): void;
536
+ /**
537
+ * <p>Lists map resources in your Amazon Web Services account.</p>
491
538
  */
492
539
  listMaps(args: ListMapsCommandInput, options?: __HttpHandlerOptions): Promise<ListMapsCommandOutput>;
493
540
  listMaps(args: ListMapsCommandInput, cb: (err: any, data?: ListMapsCommandOutput) => void): void;
494
541
  listMaps(args: ListMapsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMapsCommandOutput) => void): void;
495
542
  /**
496
- * <p>Lists place index resources in your AWS account.</p>
543
+ * <p>Lists place index resources in your Amazon Web Services account.</p>
497
544
  */
498
545
  listPlaceIndexes(args: ListPlaceIndexesCommandInput, options?: __HttpHandlerOptions): Promise<ListPlaceIndexesCommandOutput>;
499
546
  listPlaceIndexes(args: ListPlaceIndexesCommandInput, cb: (err: any, data?: ListPlaceIndexesCommandOutput) => void): void;
500
547
  listPlaceIndexes(args: ListPlaceIndexesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPlaceIndexesCommandOutput) => void): void;
501
548
  /**
502
- * <p>Lists route calculator resources in your AWS account.</p>
549
+ * <p>Lists route calculator resources in your Amazon Web Services account.</p>
503
550
  */
504
551
  listRouteCalculators(args: ListRouteCalculatorsCommandInput, options?: __HttpHandlerOptions): Promise<ListRouteCalculatorsCommandOutput>;
505
552
  listRouteCalculators(args: ListRouteCalculatorsCommandInput, cb: (err: any, data?: ListRouteCalculatorsCommandOutput) => void): void;
@@ -517,7 +564,7 @@ export declare class Location extends LocationClient {
517
564
  listTrackerConsumers(args: ListTrackerConsumersCommandInput, cb: (err: any, data?: ListTrackerConsumersCommandOutput) => void): void;
518
565
  listTrackerConsumers(args: ListTrackerConsumersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrackerConsumersCommandOutput) => void): void;
519
566
  /**
520
- * <p>Lists tracker resources in your AWS account.</p>
567
+ * <p>Lists tracker resources in your Amazon Web Services account.</p>
521
568
  */
522
569
  listTrackers(args: ListTrackersCommandInput, options?: __HttpHandlerOptions): Promise<ListTrackersCommandOutput>;
523
570
  listTrackers(args: ListTrackersCommandInput, cb: (err: any, data?: ListTrackersCommandOutput) => void): void;
@@ -569,11 +616,11 @@ export declare class Location extends LocationClient {
569
616
  searchPlaceIndexForText(args: SearchPlaceIndexForTextCommandInput, cb: (err: any, data?: SearchPlaceIndexForTextCommandOutput) => void): void;
570
617
  searchPlaceIndexForText(args: SearchPlaceIndexForTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchPlaceIndexForTextCommandOutput) => void): void;
571
618
  /**
572
- * <p>Assigns one or more tags (key-value pairs) to the specified Amazon
573
- * Location Service resource.</p>
574
- * <p>Tags can help you organize and categorize your resources.
575
- * You can also use them to scope user permissions, by granting a user
576
- * permission to access or change only resources with certain tag values.</p>
619
+ * <p>Assigns one or more tags (key-value pairs) to the specified Amazon Location Service
620
+ * resource.</p>
621
+ * <p>Tags can help you organize and categorize your resources. You can also use them to
622
+ * scope user permissions, by granting a user permission to access or change only resources
623
+ * with certain tag values.</p>
577
624
  * <p>You can use the <code>TagResource</code> operation with an Amazon Location Service
578
625
  * resource that already has tags. If you specify a new tag key for the resource, this tag
579
626
  * is appended to the tags already associated with the resource. If you specify a tag key
@@ -596,6 +643,17 @@ export declare class Location extends LocationClient {
596
643
  updateGeofenceCollection(args: UpdateGeofenceCollectionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateGeofenceCollectionCommandOutput>;
597
644
  updateGeofenceCollection(args: UpdateGeofenceCollectionCommandInput, cb: (err: any, data?: UpdateGeofenceCollectionCommandOutput) => void): void;
598
645
  updateGeofenceCollection(args: UpdateGeofenceCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateGeofenceCollectionCommandOutput) => void): void;
646
+ /**
647
+ * <p>Updates the specified properties of a given API key resource.</p>
648
+ * <important>
649
+ * <p>The API keys feature is in preview. We may add, change, or remove
650
+ * features before announcing general availability. For more information, see
651
+ * <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">Using API keys</a>.</p>
652
+ * </important>
653
+ */
654
+ updateKey(args: UpdateKeyCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKeyCommandOutput>;
655
+ updateKey(args: UpdateKeyCommandInput, cb: (err: any, data?: UpdateKeyCommandOutput) => void): void;
656
+ updateKey(args: UpdateKeyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKeyCommandOutput) => void): void;
599
657
  /**
600
658
  * <p>Updates the specified properties of a given map resource.</p>
601
659
  */
@@ -17,16 +17,19 @@ import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommand
17
17
  import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "./commands/CalculateRouteCommand";
18
18
  import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
19
19
  import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "./commands/CreateGeofenceCollectionCommand";
20
+ import { CreateKeyCommandInput, CreateKeyCommandOutput } from "./commands/CreateKeyCommand";
20
21
  import { CreateMapCommandInput, CreateMapCommandOutput } from "./commands/CreateMapCommand";
21
22
  import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "./commands/CreatePlaceIndexCommand";
22
23
  import { CreateRouteCalculatorCommandInput, CreateRouteCalculatorCommandOutput } from "./commands/CreateRouteCalculatorCommand";
23
24
  import { CreateTrackerCommandInput, CreateTrackerCommandOutput } from "./commands/CreateTrackerCommand";
24
25
  import { DeleteGeofenceCollectionCommandInput, DeleteGeofenceCollectionCommandOutput } from "./commands/DeleteGeofenceCollectionCommand";
26
+ import { DeleteKeyCommandInput, DeleteKeyCommandOutput } from "./commands/DeleteKeyCommand";
25
27
  import { DeleteMapCommandInput, DeleteMapCommandOutput } from "./commands/DeleteMapCommand";
26
28
  import { DeletePlaceIndexCommandInput, DeletePlaceIndexCommandOutput } from "./commands/DeletePlaceIndexCommand";
27
29
  import { DeleteRouteCalculatorCommandInput, DeleteRouteCalculatorCommandOutput } from "./commands/DeleteRouteCalculatorCommand";
28
30
  import { DeleteTrackerCommandInput, DeleteTrackerCommandOutput } from "./commands/DeleteTrackerCommand";
29
31
  import { DescribeGeofenceCollectionCommandInput, DescribeGeofenceCollectionCommandOutput } from "./commands/DescribeGeofenceCollectionCommand";
32
+ import { DescribeKeyCommandInput, DescribeKeyCommandOutput } from "./commands/DescribeKeyCommand";
30
33
  import { DescribeMapCommandInput, DescribeMapCommandOutput } from "./commands/DescribeMapCommand";
31
34
  import { DescribePlaceIndexCommandInput, DescribePlaceIndexCommandOutput } from "./commands/DescribePlaceIndexCommand";
32
35
  import { DescribeRouteCalculatorCommandInput, DescribeRouteCalculatorCommandOutput } from "./commands/DescribeRouteCalculatorCommand";
@@ -43,6 +46,7 @@ import { GetPlaceCommandInput, GetPlaceCommandOutput } from "./commands/GetPlace
43
46
  import { ListDevicePositionsCommandInput, ListDevicePositionsCommandOutput } from "./commands/ListDevicePositionsCommand";
44
47
  import { ListGeofenceCollectionsCommandInput, ListGeofenceCollectionsCommandOutput } from "./commands/ListGeofenceCollectionsCommand";
45
48
  import { ListGeofencesCommandInput, ListGeofencesCommandOutput } from "./commands/ListGeofencesCommand";
49
+ import { ListKeysCommandInput, ListKeysCommandOutput } from "./commands/ListKeysCommand";
46
50
  import { ListMapsCommandInput, ListMapsCommandOutput } from "./commands/ListMapsCommand";
47
51
  import { ListPlaceIndexesCommandInput, ListPlaceIndexesCommandOutput } from "./commands/ListPlaceIndexesCommand";
48
52
  import { ListRouteCalculatorsCommandInput, ListRouteCalculatorsCommandOutput } from "./commands/ListRouteCalculatorsCommand";
@@ -56,13 +60,14 @@ import { SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutp
56
60
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
57
61
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
58
62
  import { UpdateGeofenceCollectionCommandInput, UpdateGeofenceCollectionCommandOutput } from "./commands/UpdateGeofenceCollectionCommand";
63
+ import { UpdateKeyCommandInput, UpdateKeyCommandOutput } from "./commands/UpdateKeyCommand";
59
64
  import { UpdateMapCommandInput, UpdateMapCommandOutput } from "./commands/UpdateMapCommand";
60
65
  import { UpdatePlaceIndexCommandInput, UpdatePlaceIndexCommandOutput } from "./commands/UpdatePlaceIndexCommand";
61
66
  import { UpdateRouteCalculatorCommandInput, UpdateRouteCalculatorCommandOutput } from "./commands/UpdateRouteCalculatorCommand";
62
67
  import { UpdateTrackerCommandInput, UpdateTrackerCommandOutput } from "./commands/UpdateTrackerCommand";
63
68
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
64
- 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 | GetPlaceCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
65
- 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 | GetPlaceCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
69
+ export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CalculateRouteMatrixCommandInput | CreateGeofenceCollectionCommandInput | CreateKeyCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteKeyCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeKeyCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | GetPlaceCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListKeysCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateKeyCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
70
+ export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CalculateRouteMatrixCommandOutput | CreateGeofenceCollectionCommandOutput | CreateKeyCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteKeyCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeKeyCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | GetPlaceCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListKeysCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateKeyCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
66
71
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
67
72
  /**
68
73
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -0,0 +1,44 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
5
+ import { CreateKeyRequest, CreateKeyResponse } from "../models/models_0";
6
+ export interface CreateKeyCommandInput extends CreateKeyRequest {
7
+ }
8
+ export interface CreateKeyCommandOutput extends CreateKeyResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Creates an API key resource in your Amazon Web Services account, which lets you grant
12
+ * <code>geo:GetMap*</code> actions for Amazon Location Map resources to the API key
13
+ * bearer.</p>
14
+ * <important>
15
+ * <p>The API keys feature is in preview. We may add, change, or remove
16
+ * features before announcing general availability. For more information, see
17
+ * <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">Using API keys</a>.</p>
18
+ * </important>
19
+ * @example
20
+ * Use a bare-bones client and the command you need to make an API call.
21
+ * ```javascript
22
+ * import { LocationClient, CreateKeyCommand } from "@aws-sdk/client-location"; // ES Modules import
23
+ * // const { LocationClient, CreateKeyCommand } = require("@aws-sdk/client-location"); // CommonJS import
24
+ * const client = new LocationClient(config);
25
+ * const command = new CreateKeyCommand(input);
26
+ * const response = await client.send(command);
27
+ * ```
28
+ *
29
+ * @see {@link CreateKeyCommandInput} for command's `input` shape.
30
+ * @see {@link CreateKeyCommandOutput} for command's `response` shape.
31
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
32
+ *
33
+ */
34
+ export declare class CreateKeyCommand extends $Command<CreateKeyCommandInput, CreateKeyCommandOutput, LocationClientResolvedConfig> {
35
+ readonly input: CreateKeyCommandInput;
36
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
37
+ constructor(input: CreateKeyCommandInput);
38
+ /**
39
+ * @internal
40
+ */
41
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKeyCommandInput, CreateKeyCommandOutput>;
42
+ private serialize;
43
+ private deserialize;
44
+ }
@@ -8,12 +8,12 @@ export interface CreateMapCommandInput extends CreateMapRequest {
8
8
  export interface CreateMapCommandOutput extends CreateMapResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a map resource in your AWS account, which provides map tiles of different
11
+ * <p>Creates a map resource in your Amazon Web Services account, which provides map tiles of different
12
12
  * styles sourced from global location data providers.</p>
13
13
  * <note>
14
14
  * <p>If your application is tracking or routing assets you use in your business, such
15
15
  * as delivery vehicles or employees, you must not use Esri as your geolocation
16
- * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
16
+ * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">Amazon Web Services
17
17
  * service terms</a> for more details.</p>
18
18
  * </note>
19
19
  * @example
@@ -8,7 +8,7 @@ export interface CreatePlaceIndexCommandInput extends CreatePlaceIndexRequest {
8
8
  export interface CreatePlaceIndexCommandOutput extends CreatePlaceIndexResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a place index resource in your AWS account. Use a place index resource to
11
+ * <p>Creates a place index resource in your Amazon Web Services account. Use a place index resource to
12
12
  * geocode addresses and other text queries by using the
13
13
  * <code>SearchPlaceIndexForText</code> operation, and reverse geocode coordinates by
14
14
  * using the <code>SearchPlaceIndexForPosition</code> operation, and enable autosuggestions
@@ -16,7 +16,7 @@ export interface CreatePlaceIndexCommandOutput extends CreatePlaceIndexResponse,
16
16
  * <note>
17
17
  * <p>If your application is tracking or routing assets you use in your business, such
18
18
  * as delivery vehicles or employees, you must not use Esri as your geolocation
19
- * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
19
+ * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">Amazon Web Services
20
20
  * service terms</a> for more details.</p>
21
21
  * </note>
22
22
  * @example
@@ -8,14 +8,14 @@ export interface CreateRouteCalculatorCommandInput extends CreateRouteCalculator
8
8
  export interface CreateRouteCalculatorCommandOutput extends CreateRouteCalculatorResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a route calculator resource in your AWS account.</p>
11
+ * <p>Creates a route calculator resource in your Amazon Web Services account.</p>
12
12
  * <p>You can send requests to a route calculator resource to estimate travel time,
13
13
  * distance, and get directions. A route calculator sources traffic and road network data
14
14
  * from your chosen data provider.</p>
15
15
  * <note>
16
16
  * <p>If your application is tracking or routing assets you use in your business, such
17
17
  * as delivery vehicles or employees, you must not use Esri as your geolocation
18
- * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">AWS
18
+ * provider. See section 82 of the <a href="http://aws.amazon.com/service-terms">Amazon Web Services
19
19
  * service terms</a> for more details.</p>
20
20
  * </note>
21
21
  * @example
@@ -8,7 +8,7 @@ export interface CreateTrackerCommandInput extends CreateTrackerRequest {
8
8
  export interface CreateTrackerCommandOutput extends CreateTrackerResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Creates a tracker resource in your AWS account, which lets you retrieve current and
11
+ * <p>Creates a tracker resource in your Amazon Web Services account, which lets you retrieve current and
12
12
  * historical location of devices.</p>
13
13
  * @example
14
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,7 +8,7 @@ export interface DeleteGeofenceCollectionCommandInput extends DeleteGeofenceColl
8
8
  export interface DeleteGeofenceCollectionCommandOutput extends DeleteGeofenceCollectionResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a geofence collection from your AWS account.</p>
11
+ * <p>Deletes a geofence collection from your Amazon Web Services account.</p>
12
12
  * <note>
13
13
  * <p>This operation deletes the resource permanently. If the geofence collection is the
14
14
  * target of a tracker resource, the devices will no longer be monitored.</p>
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
5
+ import { DeleteKeyRequest, DeleteKeyResponse } from "../models/models_0";
6
+ export interface DeleteKeyCommandInput extends DeleteKeyRequest {
7
+ }
8
+ export interface DeleteKeyCommandOutput extends DeleteKeyResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Deletes the specified API key. The API key must have been deactivated more than
12
+ * 90 days previously.</p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { LocationClient, DeleteKeyCommand } from "@aws-sdk/client-location"; // ES Modules import
17
+ * // const { LocationClient, DeleteKeyCommand } = require("@aws-sdk/client-location"); // CommonJS import
18
+ * const client = new LocationClient(config);
19
+ * const command = new DeleteKeyCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link DeleteKeyCommandInput} for command's `input` shape.
24
+ * @see {@link DeleteKeyCommandOutput} for command's `response` shape.
25
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class DeleteKeyCommand extends $Command<DeleteKeyCommandInput, DeleteKeyCommandOutput, LocationClientResolvedConfig> {
29
+ readonly input: DeleteKeyCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: DeleteKeyCommandInput);
32
+ /**
33
+ * @internal
34
+ */
35
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKeyCommandInput, DeleteKeyCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -8,7 +8,7 @@ export interface DeleteMapCommandInput extends DeleteMapRequest {
8
8
  export interface DeleteMapCommandOutput extends DeleteMapResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a map resource from your AWS account.</p>
11
+ * <p>Deletes a map resource from your Amazon Web Services account.</p>
12
12
  * <note>
13
13
  * <p>This operation deletes the resource permanently. If the map is being used in an application,
14
14
  * the map may not render.</p>
@@ -8,7 +8,7 @@ export interface DeletePlaceIndexCommandInput extends DeletePlaceIndexRequest {
8
8
  export interface DeletePlaceIndexCommandOutput extends DeletePlaceIndexResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a place index resource from your AWS account.</p>
11
+ * <p>Deletes a place index resource from your Amazon Web Services account.</p>
12
12
  * <note>
13
13
  * <p>This operation deletes the resource permanently.</p>
14
14
  * </note>
@@ -8,7 +8,7 @@ export interface DeleteRouteCalculatorCommandInput extends DeleteRouteCalculator
8
8
  export interface DeleteRouteCalculatorCommandOutput extends DeleteRouteCalculatorResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a route calculator resource from your AWS account.</p>
11
+ * <p>Deletes a route calculator resource from your Amazon Web Services account.</p>
12
12
  * <note>
13
13
  * <p>This operation deletes the resource permanently.</p>
14
14
  * </note>
@@ -8,7 +8,7 @@ export interface DeleteTrackerCommandInput extends DeleteTrackerRequest {
8
8
  export interface DeleteTrackerCommandOutput extends DeleteTrackerResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Deletes a tracker resource from your AWS account.</p>
11
+ * <p>Deletes a tracker resource from your Amazon Web Services account.</p>
12
12
  * <note>
13
13
  * <p>This operation deletes the resource permanently. If the tracker resource is in use, you may
14
14
  * encounter an error. Make sure that the target resource isn't a dependency for your
@@ -0,0 +1,42 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
5
+ import { DescribeKeyRequest, DescribeKeyResponse } from "../models/models_0";
6
+ export interface DescribeKeyCommandInput extends DescribeKeyRequest {
7
+ }
8
+ export interface DescribeKeyCommandOutput extends DescribeKeyResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Retrieves the API key resource details.</p>
12
+ * <important>
13
+ * <p>The API keys feature is in preview. We may add, change, or remove
14
+ * features before announcing general availability. For more information, see
15
+ * <a href="https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html">Using API keys</a>.</p>
16
+ * </important>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { LocationClient, DescribeKeyCommand } from "@aws-sdk/client-location"; // ES Modules import
21
+ * // const { LocationClient, DescribeKeyCommand } = require("@aws-sdk/client-location"); // CommonJS import
22
+ * const client = new LocationClient(config);
23
+ * const command = new DescribeKeyCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link DescribeKeyCommandInput} for command's `input` shape.
28
+ * @see {@link DescribeKeyCommandOutput} for command's `response` shape.
29
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class DescribeKeyCommand extends $Command<DescribeKeyCommandInput, DescribeKeyCommandOutput, LocationClientResolvedConfig> {
33
+ readonly input: DescribeKeyCommandInput;
34
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
35
+ constructor(input: DescribeKeyCommandInput);
36
+ /**
37
+ * @internal
38
+ */
39
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LocationClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeKeyCommandInput, DescribeKeyCommandOutput>;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -15,10 +15,10 @@ export interface GetPlaceCommandOutput extends GetPlaceResponse, __MetadataBeare
15
15
  * search request and the call to <code>GetPlace</code>.</p>
16
16
  * <ul>
17
17
  * <li>
18
- * <p>Customer AWS account</p>
18
+ * <p>Customer Amazon Web Services account</p>
19
19
  * </li>
20
20
  * <li>
21
- * <p>AWS Region</p>
21
+ * <p>Amazon Web Services Region</p>
22
22
  * </li>
23
23
  * <li>
24
24
  * <p>Data provider specified in the place index resource</p>
@@ -8,7 +8,7 @@ export interface ListGeofenceCollectionsCommandInput extends ListGeofenceCollect
8
8
  export interface ListGeofenceCollectionsCommandOutput extends ListGeofenceCollectionsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Lists geofence collections in your AWS account.</p>
11
+ * <p>Lists geofence collections in your Amazon Web Services account.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript