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

Lists the latest device positions for requested devices.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LocationClient, BatchGetDevicePositionCommand } from "@aws-sdk/client-location"; // ES Modules import * // const { LocationClient, BatchGetDevicePositionCommand } = require("@aws-sdk/client-location"); // CommonJS import * const client = new LocationClient(config); * const input = { // BatchGetDevicePositionRequest * TrackerName: "STRING_VALUE", // required * DeviceIds: [ // IdList // required * "STRING_VALUE", * ], * }; * const command = new BatchGetDevicePositionCommand(input); * const response = await client.send(command); * // { // BatchGetDevicePositionResponse * // Errors: [ // BatchGetDevicePositionErrorList // required * // { // BatchGetDevicePositionError * // DeviceId: "STRING_VALUE", // required * // Error: { // BatchItemError * // Code: "STRING_VALUE", * // Message: "STRING_VALUE", * // }, * // }, * // ], * // DevicePositions: [ // DevicePositionList // required * // { // DevicePosition * // DeviceId: "STRING_VALUE", * // SampleTime: new Date("TIMESTAMP"), // required * // ReceivedTime: new Date("TIMESTAMP"), // required * // Position: [ // Position // required * // Number("double"), * // ], * // Accuracy: { // PositionalAccuracy * // Horizontal: Number("double"), // required * // }, * // PositionProperties: { // PositionPropertyMap * // "": "STRING_VALUE", * // }, * // }, * // ], * // }; * * ``` * * @param BatchGetDevicePositionCommandInput - {@link BatchGetDevicePositionCommandInput} * @returns {@link BatchGetDevicePositionCommandOutput} * @see {@link BatchGetDevicePositionCommandInput} for command's `input` shape. * @see {@link BatchGetDevicePositionCommandOutput} 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 BatchGetDevicePositionCommand extends BatchGetDevicePositionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchGetDevicePositionRequest; output: BatchGetDevicePositionResponse; }; sdk: { input: BatchGetDevicePositionCommandInput; output: BatchGetDevicePositionCommandOutput; }; }; }