import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient"; import { VerifyDevicePositionRequest, VerifyDevicePositionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link VerifyDevicePositionCommand}. */ export interface VerifyDevicePositionCommandInput extends VerifyDevicePositionRequest { } /** * @public * * The output of {@link VerifyDevicePositionCommand}. */ export interface VerifyDevicePositionCommandOutput extends VerifyDevicePositionResponse, __MetadataBearer { } declare const VerifyDevicePositionCommand_base: { new (input: VerifyDevicePositionCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: VerifyDevicePositionCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LocationClient, VerifyDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import * // const { LocationClient, VerifyDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import * const client = new LocationClient(config); * const input = { // VerifyDevicePositionRequest * TrackerName: "STRING_VALUE", // required * DeviceState: { // DeviceState * DeviceId: "STRING_VALUE", // required * SampleTime: new Date("TIMESTAMP"), // required * Position: [ // Position // required * Number("double"), * ], * Accuracy: { // PositionalAccuracy * Horizontal: Number("double"), // required * }, * Ipv4Address: "STRING_VALUE", * WiFiAccessPoints: [ // WiFiAccessPointList * { // WiFiAccessPoint * MacAddress: "STRING_VALUE", // required * Rss: Number("int"), // required * }, * ], * CellSignals: { // CellSignals * LteCellDetails: [ // LteCellDetailsList // required * { // LteCellDetails * CellId: Number("int"), // required * Mcc: Number("int"), // required * Mnc: Number("int"), // required * LocalId: { // LteLocalId * Earfcn: Number("int"), // required * Pci: Number("int"), // required * }, * NetworkMeasurements: [ // LteNetworkMeasurementsList * { // LteNetworkMeasurements * Earfcn: Number("int"), // required * CellId: Number("int"), // required * Pci: Number("int"), // required * Rsrp: Number("int"), * Rsrq: Number("float"), * }, * ], * TimingAdvance: Number("int"), * NrCapable: true || false, * Rsrp: Number("int"), * Rsrq: Number("float"), * Tac: Number("int"), * }, * ], * }, * }, * DistanceUnit: "STRING_VALUE", * }; * const command = new VerifyDevicePositionCommand(input); * const response = await client.send(command); * // { // VerifyDevicePositionResponse * // InferredState: { // InferredState * // Position: [ // Position * // Number("double"), * // ], * // Accuracy: { // PositionalAccuracy * // Horizontal: Number("double"), // required * // }, * // DeviationDistance: Number("double"), * // ProxyDetected: true || false, // required * // }, * // DeviceId: "STRING_VALUE", // required * // SampleTime: new Date("TIMESTAMP"), // required * // ReceivedTime: new Date("TIMESTAMP"), // required * // DistanceUnit: "STRING_VALUE", // required * // }; * * ``` * * @param VerifyDevicePositionCommandInput - {@link VerifyDevicePositionCommandInput} * @returns {@link VerifyDevicePositionCommandOutput} * @see {@link VerifyDevicePositionCommandInput} for command's `input` shape. * @see {@link VerifyDevicePositionCommandOutput} for command's `response` shape. * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The request was denied because of insufficient access or permissions. Check with an * administrator to verify your permissions.

* * @throws {@link InternalServerException} (server fault) *

The request has failed to process because of an unknown server error, exception, or failure.

* * @throws {@link ResourceNotFoundException} (client fault) *

The resource that you've entered was not found in your AWS account.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied because of request throttling.

* * @throws {@link ValidationException} (client fault) *

The input failed to meet the constraints specified by the AWS service.

* * @throws {@link LocationServiceException} *

Base exception class for all service exceptions from Location service.

* * * @public */ export declare class VerifyDevicePositionCommand extends VerifyDevicePositionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: VerifyDevicePositionRequest; output: VerifyDevicePositionResponse; }; sdk: { input: VerifyDevicePositionCommandInput; output: VerifyDevicePositionCommandOutput; }; }; }