@aws-sdk/client-location 3.590.0 → 3.592.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 (148) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +269 -61
  3. package/dist-es/Location.js +4 -0
  4. package/dist-es/commands/ForecastGeofenceEventsCommand.js +25 -0
  5. package/dist-es/commands/VerifyDevicePositionCommand.js +25 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +35 -0
  8. package/dist-es/pagination/ForecastGeofenceEventsPaginator.js +4 -0
  9. package/dist-es/pagination/index.js +1 -0
  10. package/dist-es/protocols/Aws_restJson1.js +173 -0
  11. package/dist-types/Location.d.ts +14 -0
  12. package/dist-types/LocationClient.d.ts +4 -2
  13. package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +2 -1
  14. package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +2 -1
  15. package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +2 -1
  16. package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +2 -1
  17. package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +2 -1
  18. package/dist-types/commands/BatchPutGeofenceCommand.d.ts +3 -1
  19. package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +2 -1
  20. package/dist-types/commands/CalculateRouteCommand.d.ts +2 -1
  21. package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +2 -1
  22. package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +2 -1
  23. package/dist-types/commands/CreateKeyCommand.d.ts +2 -1
  24. package/dist-types/commands/CreateMapCommand.d.ts +2 -1
  25. package/dist-types/commands/CreatePlaceIndexCommand.d.ts +2 -1
  26. package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +2 -1
  27. package/dist-types/commands/CreateTrackerCommand.d.ts +2 -1
  28. package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +2 -1
  29. package/dist-types/commands/DeleteKeyCommand.d.ts +2 -1
  30. package/dist-types/commands/DeleteMapCommand.d.ts +2 -1
  31. package/dist-types/commands/DeletePlaceIndexCommand.d.ts +2 -1
  32. package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +2 -1
  33. package/dist-types/commands/DeleteTrackerCommand.d.ts +2 -1
  34. package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +2 -1
  35. package/dist-types/commands/DescribeKeyCommand.d.ts +2 -1
  36. package/dist-types/commands/DescribeMapCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribePlaceIndexCommand.d.ts +2 -1
  38. package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +2 -1
  39. package/dist-types/commands/DescribeTrackerCommand.d.ts +2 -1
  40. package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +2 -1
  41. package/dist-types/commands/ForecastGeofenceEventsCommand.d.ts +110 -0
  42. package/dist-types/commands/GetDevicePositionCommand.d.ts +2 -1
  43. package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +2 -1
  44. package/dist-types/commands/GetGeofenceCommand.d.ts +6 -1
  45. package/dist-types/commands/GetMapGlyphsCommand.d.ts +2 -1
  46. package/dist-types/commands/GetMapSpritesCommand.d.ts +2 -1
  47. package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +2 -1
  48. package/dist-types/commands/GetMapTileCommand.d.ts +2 -1
  49. package/dist-types/commands/GetPlaceCommand.d.ts +2 -1
  50. package/dist-types/commands/ListDevicePositionsCommand.d.ts +2 -1
  51. package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +2 -1
  52. package/dist-types/commands/ListGeofencesCommand.d.ts +3 -1
  53. package/dist-types/commands/ListKeysCommand.d.ts +2 -1
  54. package/dist-types/commands/ListMapsCommand.d.ts +2 -1
  55. package/dist-types/commands/ListPlaceIndexesCommand.d.ts +2 -1
  56. package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +2 -1
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  58. package/dist-types/commands/ListTrackerConsumersCommand.d.ts +2 -1
  59. package/dist-types/commands/ListTrackersCommand.d.ts +2 -1
  60. package/dist-types/commands/PutGeofenceCommand.d.ts +3 -1
  61. package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -1
  62. package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +2 -1
  63. package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +2 -1
  64. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  65. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  66. package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +2 -1
  67. package/dist-types/commands/UpdateKeyCommand.d.ts +2 -1
  68. package/dist-types/commands/UpdateMapCommand.d.ts +2 -1
  69. package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +2 -1
  70. package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +2 -1
  71. package/dist-types/commands/UpdateTrackerCommand.d.ts +2 -1
  72. package/dist-types/commands/VerifyDevicePositionCommand.d.ts +134 -0
  73. package/dist-types/commands/index.d.ts +2 -0
  74. package/dist-types/index.d.ts +2 -2
  75. package/dist-types/models/LocationServiceException.d.ts +2 -1
  76. package/dist-types/models/models_0.d.ts +494 -112
  77. package/dist-types/pagination/ForecastGeofenceEventsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/index.d.ts +1 -0
  79. package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
  80. package/dist-types/ts3.4/Location.d.ts +34 -0
  81. package/dist-types/ts3.4/LocationClient.d.ts +14 -2
  82. package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +2 -1
  83. package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +2 -1
  84. package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +2 -1
  85. package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +2 -1
  86. package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +2 -1
  87. package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +2 -1
  88. package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +2 -1
  89. package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +2 -1
  90. package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +2 -1
  91. package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +2 -1
  92. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +2 -1
  93. package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +2 -1
  94. package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +2 -1
  95. package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +2 -1
  96. package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +2 -1
  97. package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +2 -1
  98. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +2 -1
  99. package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +2 -1
  100. package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +2 -1
  101. package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +2 -1
  102. package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +2 -1
  103. package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +2 -1
  104. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +2 -1
  105. package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +2 -1
  106. package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +2 -1
  107. package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +2 -1
  108. package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +2 -1
  109. package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +2 -1
  110. package/dist-types/ts3.4/commands/ForecastGeofenceEventsCommand.d.ts +40 -0
  111. package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +2 -1
  112. package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +2 -1
  113. package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +2 -1
  114. package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +2 -1
  115. package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +2 -1
  116. package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +2 -1
  117. package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +2 -1
  118. package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +2 -1
  119. package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +2 -1
  120. package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +2 -1
  121. package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +2 -1
  122. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +2 -1
  123. package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +2 -1
  124. package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +2 -1
  125. package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +2 -1
  126. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -1
  127. package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +2 -1
  128. package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +2 -1
  129. package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +2 -1
  130. package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -1
  131. package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +2 -1
  132. package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +2 -1
  133. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -1
  134. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
  135. package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +2 -1
  136. package/dist-types/ts3.4/commands/UpdateKeyCommand.d.ts +2 -1
  137. package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +2 -1
  138. package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +2 -1
  139. package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +2 -1
  140. package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +2 -1
  141. package/dist-types/ts3.4/commands/VerifyDevicePositionCommand.d.ts +40 -0
  142. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  143. package/dist-types/ts3.4/models/LocationServiceException.d.ts +2 -1
  144. package/dist-types/ts3.4/models/models_0.d.ts +110 -0
  145. package/dist-types/ts3.4/pagination/ForecastGeofenceEventsPaginator.d.ts +11 -0
  146. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  147. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
  148. package/package.json +6 -6
@@ -0,0 +1,134 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
4
+ import { VerifyDevicePositionRequest, VerifyDevicePositionResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link VerifyDevicePositionCommand}.
14
+ */
15
+ export interface VerifyDevicePositionCommandInput extends VerifyDevicePositionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link VerifyDevicePositionCommand}.
21
+ */
22
+ export interface VerifyDevicePositionCommandOutput extends VerifyDevicePositionResponse, __MetadataBearer {
23
+ }
24
+ declare const VerifyDevicePositionCommand_base: {
25
+ new (input: VerifyDevicePositionCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyDevicePositionCommandInput, VerifyDevicePositionCommandOutput, LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: VerifyDevicePositionCommandInput): import("@smithy/smithy-client").CommandImpl<VerifyDevicePositionCommandInput, VerifyDevicePositionCommandOutput, LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Verifies the integrity of the device's position by determining if it was reported behind a proxy, and by comparing it to an inferred position estimated based on the device's state.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LocationClient, VerifyDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import
35
+ * // const { LocationClient, VerifyDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
36
+ * const client = new LocationClient(config);
37
+ * const input = { // VerifyDevicePositionRequest
38
+ * TrackerName: "STRING_VALUE", // required
39
+ * DeviceState: { // DeviceState
40
+ * DeviceId: "STRING_VALUE", // required
41
+ * SampleTime: new Date("TIMESTAMP"), // required
42
+ * Position: [ // Position // required
43
+ * Number("double"),
44
+ * ],
45
+ * Accuracy: { // PositionalAccuracy
46
+ * Horizontal: Number("double"), // required
47
+ * },
48
+ * Ipv4Address: "STRING_VALUE",
49
+ * WiFiAccessPoints: [ // WiFiAccessPointList
50
+ * { // WiFiAccessPoint
51
+ * MacAddress: "STRING_VALUE", // required
52
+ * Rss: Number("int"), // required
53
+ * },
54
+ * ],
55
+ * CellSignals: { // CellSignals
56
+ * LteCellDetails: [ // LteCellDetailsList // required
57
+ * { // LteCellDetails
58
+ * CellId: Number("int"), // required
59
+ * Mcc: Number("int"), // required
60
+ * Mnc: Number("int"), // required
61
+ * LocalId: { // LteLocalId
62
+ * Earfcn: Number("int"), // required
63
+ * Pci: Number("int"), // required
64
+ * },
65
+ * NetworkMeasurements: [ // LteNetworkMeasurementsList
66
+ * { // LteNetworkMeasurements
67
+ * Earfcn: Number("int"), // required
68
+ * CellId: Number("int"), // required
69
+ * Pci: Number("int"), // required
70
+ * Rsrp: Number("int"),
71
+ * Rsrq: Number("float"),
72
+ * },
73
+ * ],
74
+ * TimingAdvance: Number("int"),
75
+ * NrCapable: true || false,
76
+ * Rsrp: Number("int"),
77
+ * Rsrq: Number("float"),
78
+ * Tac: Number("int"),
79
+ * },
80
+ * ],
81
+ * },
82
+ * },
83
+ * DistanceUnit: "STRING_VALUE",
84
+ * };
85
+ * const command = new VerifyDevicePositionCommand(input);
86
+ * const response = await client.send(command);
87
+ * // { // VerifyDevicePositionResponse
88
+ * // InferredState: { // InferredState
89
+ * // Position: [ // Position
90
+ * // Number("double"),
91
+ * // ],
92
+ * // Accuracy: { // PositionalAccuracy
93
+ * // Horizontal: Number("double"), // required
94
+ * // },
95
+ * // DeviationDistance: Number("double"),
96
+ * // ProxyDetected: true || false, // required
97
+ * // },
98
+ * // DeviceId: "STRING_VALUE", // required
99
+ * // SampleTime: new Date("TIMESTAMP"), // required
100
+ * // ReceivedTime: new Date("TIMESTAMP"), // required
101
+ * // DistanceUnit: "STRING_VALUE", // required
102
+ * // };
103
+ *
104
+ * ```
105
+ *
106
+ * @param VerifyDevicePositionCommandInput - {@link VerifyDevicePositionCommandInput}
107
+ * @returns {@link VerifyDevicePositionCommandOutput}
108
+ * @see {@link VerifyDevicePositionCommandInput} for command's `input` shape.
109
+ * @see {@link VerifyDevicePositionCommandOutput} for command's `response` shape.
110
+ * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape.
111
+ *
112
+ * @throws {@link AccessDeniedException} (client fault)
113
+ * <p>The request was denied because of insufficient access or permissions. Check with an
114
+ * administrator to verify your permissions.</p>
115
+ *
116
+ * @throws {@link InternalServerException} (server fault)
117
+ * <p>The request has failed to process because of an unknown server error, exception, or failure.</p>
118
+ *
119
+ * @throws {@link ResourceNotFoundException} (client fault)
120
+ * <p>The resource that you've entered was not found in your AWS account.</p>
121
+ *
122
+ * @throws {@link ThrottlingException} (client fault)
123
+ * <p>The request was denied because of request throttling.</p>
124
+ *
125
+ * @throws {@link ValidationException} (client fault)
126
+ * <p>The input failed to meet the constraints specified by the AWS service. </p>
127
+ *
128
+ * @throws {@link LocationServiceException}
129
+ * <p>Base exception class for all service exceptions from Location service.</p>
130
+ *
131
+ * @public
132
+ */
133
+ export declare class VerifyDevicePositionCommand extends VerifyDevicePositionCommand_base {
134
+ }
@@ -26,6 +26,7 @@ export * from "./DescribePlaceIndexCommand";
26
26
  export * from "./DescribeRouteCalculatorCommand";
27
27
  export * from "./DescribeTrackerCommand";
28
28
  export * from "./DisassociateTrackerConsumerCommand";
29
+ export * from "./ForecastGeofenceEventsCommand";
29
30
  export * from "./GetDevicePositionCommand";
30
31
  export * from "./GetDevicePositionHistoryCommand";
31
32
  export * from "./GetGeofenceCommand";
@@ -56,3 +57,4 @@ export * from "./UpdateMapCommand";
56
57
  export * from "./UpdatePlaceIndexCommand";
57
58
  export * from "./UpdateRouteCalculatorCommand";
58
59
  export * from "./UpdateTrackerCommand";
60
+ export * from "./VerifyDevicePositionCommand";
@@ -6,8 +6,8 @@
6
6
  export * from "./LocationClient";
7
7
  export * from "./Location";
8
8
  export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
- export { RuntimeExtension } from "./runtimeExtensions";
10
- export { LocationExtensionConfiguration } from "./extensionConfiguration";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { LocationExtensionConfiguration } from "./extensionConfiguration";
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
13
  export * from "./models";
@@ -1,5 +1,6 @@
1
1
  import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
- export { __ServiceException, __ServiceExceptionOptions };
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
3
4
  /**
4
5
  * @public
5
6
  *