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

A batch request to retrieve all device positions.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LocationClient, ListDevicePositionsCommand } from "@aws-sdk/client-location"; // ES Modules import * // const { LocationClient, ListDevicePositionsCommand } = require("@aws-sdk/client-location"); // CommonJS import * const client = new LocationClient(config); * const input = { // ListDevicePositionsRequest * TrackerName: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * FilterGeometry: { // TrackingFilterGeometry * Polygon: [ // LinearRings * [ // LinearRing * [ // Position * Number("double"), * ], * ], * ], * }, * }; * const command = new ListDevicePositionsCommand(input); * const response = await client.send(command); * // { // ListDevicePositionsResponse * // Entries: [ // ListDevicePositionsResponseEntryList // required * // { // ListDevicePositionsResponseEntry * // DeviceId: "STRING_VALUE", // required * // SampleTime: new Date("TIMESTAMP"), // required * // Position: [ // Position // required * // Number("double"), * // ], * // Accuracy: { // PositionalAccuracy * // Horizontal: Number("double"), // required * // }, * // PositionProperties: { // PositionPropertyMap * // "": "STRING_VALUE", * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListDevicePositionsCommandInput - {@link ListDevicePositionsCommandInput} * @returns {@link ListDevicePositionsCommandOutput} * @see {@link ListDevicePositionsCommandInput} for command's `input` shape. * @see {@link ListDevicePositionsCommandOutput} 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 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 ListDevicePositionsCommand extends ListDevicePositionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListDevicePositionsRequest; output: ListDevicePositionsResponse; }; sdk: { input: ListDevicePositionsCommandInput; output: ListDevicePositionsCommandOutput; }; }; }