import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient"; import type { RegisterThingRequest, RegisterThingResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link RegisterThingCommand}. */ export interface RegisterThingCommandInput extends RegisterThingRequest { } /** * @public * * The output of {@link RegisterThingCommand}. */ export interface RegisterThingCommandOutput extends RegisterThingResponse, __MetadataBearer { } declare const RegisterThingCommand_base: { new (input: RegisterThingCommandInput): import("@smithy/core/client").CommandImpl; new (input: RegisterThingCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Provisions a thing in the device registry. RegisterThing calls other IoT control * plane APIs. These calls might exceed your account level * IoT Throttling Limits and cause throttle errors. Please contact Amazon Web Services Customer Support to raise * your throttling limits if necessary.

*

Requires permission to access the RegisterThing action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, RegisterThingCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, RegisterThingCommand } = require("@aws-sdk/client-iot"); // CommonJS import * // import type { IoTClientConfig } from "@aws-sdk/client-iot"; * const config = {}; // type is IoTClientConfig * const client = new IoTClient(config); * const input = { // RegisterThingRequest * templateBody: "STRING_VALUE", // required * parameters: { // Parameters * "": "STRING_VALUE", * }, * }; * const command = new RegisterThingCommand(input); * const response = await client.send(command); * // { // RegisterThingResponse * // certificatePem: "STRING_VALUE", * // resourceArns: { // ResourceArns * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param RegisterThingCommandInput - {@link RegisterThingCommandInput} * @returns {@link RegisterThingCommandOutput} * @see {@link RegisterThingCommandInput} for command's `input` shape. * @see {@link RegisterThingCommandOutput} for command's `response` shape. * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape. * * @throws {@link ConflictingResourceUpdateException} (client fault) *

A conflicting resource update exception. This exception is thrown when two pending * updates cause a conflict.

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

An unexpected error has occurred.

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

The request is not valid.

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

The resource registration failed.

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

The service is temporarily unavailable.

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

The rate exceeds the limit.

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

You are not authorized to perform this operation.

* * @throws {@link IoTServiceException} *

Base exception class for all service exceptions from IoT service.

* * * @public */ export declare class RegisterThingCommand extends RegisterThingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RegisterThingRequest; output: RegisterThingResponse; }; sdk: { input: RegisterThingCommandInput; output: RegisterThingCommandOutput; }; }; }