import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient"; import type { GetPositionRequest, GetPositionResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetPositionCommand}. */ export interface GetPositionCommandInput extends GetPositionRequest { } /** * @public * * The output of {@link GetPositionCommand}. */ export interface GetPositionCommandOutput extends GetPositionResponse, __MetadataBearer { } declare const GetPositionCommand_base: { new (input: GetPositionCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetPositionCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Get the position information for a given resource.

* *

This action is no longer supported. Calls to retrieve the position information * should use the GetResourcePosition API operation instead.

*
* * @deprecated This operation is no longer supported. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTWirelessClient, GetPositionCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import * // const { IoTWirelessClient, GetPositionCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import * // import type { IoTWirelessClientConfig } from "@aws-sdk/client-iot-wireless"; * const config = {}; // type is IoTWirelessClientConfig * const client = new IoTWirelessClient(config); * const input = { // GetPositionRequest * ResourceIdentifier: "STRING_VALUE", // required * ResourceType: "WirelessDevice" || "WirelessGateway", // required * }; * const command = new GetPositionCommand(input); * const response = await client.send(command); * // { // GetPositionResponse * // Position: [ // PositionCoordinate * // Number("float"), * // ], * // Accuracy: { // Accuracy * // HorizontalAccuracy: Number("float"), * // VerticalAccuracy: Number("float"), * // }, * // SolverType: "GNSS", * // SolverProvider: "Semtech", * // SolverVersion: "STRING_VALUE", * // Timestamp: "STRING_VALUE", * // }; * * ``` * * @param GetPositionCommandInput - {@link GetPositionCommandInput} * @returns {@link GetPositionCommandOutput} * @see {@link GetPositionCommandInput} for command's `input` shape. * @see {@link GetPositionCommandOutput} for command's `response` shape. * @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User does not have permission to perform this action.

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

An unexpected error occurred while processing a request.

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

Resource does not exist.

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

The request was denied because it exceeded the allowed API request rate.

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

The input did not meet the specified constraints.

* * @throws {@link IoTWirelessServiceException} *

Base exception class for all service exceptions from IoTWireless service.

* * * @public */ export declare class GetPositionCommand extends GetPositionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetPositionRequest; output: GetPositionResponse; }; sdk: { input: GetPositionCommandInput; output: GetPositionCommandOutput; }; }; }