import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTEventsClient"; import type { UpdateInputRequest, UpdateInputResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateInputCommand}. */ export interface UpdateInputCommandInput extends UpdateInputRequest { } /** * @public * * The output of {@link UpdateInputCommand}. */ export interface UpdateInputCommandOutput extends UpdateInputResponse, __MetadataBearer { } declare const UpdateInputCommand_base: { new (input: UpdateInputCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateInputCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Updates an input.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTEventsClient, UpdateInputCommand } from "@aws-sdk/client-iot-events"; // ES Modules import * // const { IoTEventsClient, UpdateInputCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import * // import type { IoTEventsClientConfig } from "@aws-sdk/client-iot-events"; * const config = {}; // type is IoTEventsClientConfig * const client = new IoTEventsClient(config); * const input = { // UpdateInputRequest * inputName: "STRING_VALUE", // required * inputDescription: "STRING_VALUE", * inputDefinition: { // InputDefinition * attributes: [ // Attributes // required * { // Attribute * jsonPath: "STRING_VALUE", // required * }, * ], * }, * }; * const command = new UpdateInputCommand(input); * const response = await client.send(command); * // { // UpdateInputResponse * // inputConfiguration: { // InputConfiguration * // inputName: "STRING_VALUE", // required * // inputDescription: "STRING_VALUE", * // inputArn: "STRING_VALUE", // required * // creationTime: new Date("TIMESTAMP"), // required * // lastUpdateTime: new Date("TIMESTAMP"), // required * // status: "CREATING" || "UPDATING" || "ACTIVE" || "DELETING", // required * // }, * // }; * * ``` * * @param UpdateInputCommandInput - {@link UpdateInputCommandInput} * @returns {@link UpdateInputCommandOutput} * @see {@link UpdateInputCommandInput} for command's `input` shape. * @see {@link UpdateInputCommandOutput} for command's `response` shape. * @see {@link IoTEventsClientResolvedConfig | config} for IoTEventsClient's `config` shape. * * @throws {@link InternalFailureException} (server fault) *

An internal failure occurred.

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

The request was invalid.

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

The resource is in use.

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

The resource was not found.

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

The service is currently unavailable.

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

The request could not be completed due to throttling.

* * @throws {@link IoTEventsServiceException} *

Base exception class for all service exceptions from IoTEvents service.

* * * @public */ export declare class UpdateInputCommand extends UpdateInputCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateInputRequest; output: UpdateInputResponse; }; sdk: { input: UpdateInputCommandInput; output: UpdateInputCommandOutput; }; }; }