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

Creates a tracker resource in your Amazon Web Services account, which lets you retrieve current and * historical location of devices.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LocationClient, CreateTrackerCommand } from "@aws-sdk/client-location"; // ES Modules import * // const { LocationClient, CreateTrackerCommand } = require("@aws-sdk/client-location"); // CommonJS import * const client = new LocationClient(config); * const input = { // CreateTrackerRequest * TrackerName: "STRING_VALUE", // required * PricingPlan: "STRING_VALUE", * KmsKeyId: "STRING_VALUE", * PricingPlanDataSource: "STRING_VALUE", * Description: "STRING_VALUE", * Tags: { // TagMap * "": "STRING_VALUE", * }, * PositionFiltering: "STRING_VALUE", * EventBridgeEnabled: true || false, * KmsKeyEnableGeospatialQueries: true || false, * }; * const command = new CreateTrackerCommand(input); * const response = await client.send(command); * // { // CreateTrackerResponse * // TrackerName: "STRING_VALUE", // required * // TrackerArn: "STRING_VALUE", // required * // CreateTime: new Date("TIMESTAMP"), // required * // }; * * ``` * * @param CreateTrackerCommandInput - {@link CreateTrackerCommandInput} * @returns {@link CreateTrackerCommandOutput} * @see {@link CreateTrackerCommandInput} for command's `input` shape. * @see {@link CreateTrackerCommandOutput} 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 ConflictException} (client fault) *

The request was unsuccessful because of a conflict.

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

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

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

The operation was denied because the request would exceed the maximum quota * set for Amazon Location Service.

* * @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 CreateTrackerCommand extends CreateTrackerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateTrackerRequest; output: CreateTrackerResponse; }; sdk: { input: CreateTrackerCommandInput; output: CreateTrackerCommandOutput; }; }; }