import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTEventsDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTEventsDataClient"; import type { BatchAcknowledgeAlarmRequest, BatchAcknowledgeAlarmResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchAcknowledgeAlarmCommand}. */ export interface BatchAcknowledgeAlarmCommandInput extends BatchAcknowledgeAlarmRequest { } /** * @public * * The output of {@link BatchAcknowledgeAlarmCommand}. */ export interface BatchAcknowledgeAlarmCommandOutput extends BatchAcknowledgeAlarmResponse, __MetadataBearer { } declare const BatchAcknowledgeAlarmCommand_base: { new (input: BatchAcknowledgeAlarmCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchAcknowledgeAlarmCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED state * after you acknowledge them.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTEventsDataClient, BatchAcknowledgeAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import * // const { IoTEventsDataClient, BatchAcknowledgeAlarmCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import * // import type { IoTEventsDataClientConfig } from "@aws-sdk/client-iot-events-data"; * const config = {}; // type is IoTEventsDataClientConfig * const client = new IoTEventsDataClient(config); * const input = { // BatchAcknowledgeAlarmRequest * acknowledgeActionRequests: [ // AcknowledgeAlarmActionRequests // required * { // AcknowledgeAlarmActionRequest * requestId: "STRING_VALUE", // required * alarmModelName: "STRING_VALUE", // required * keyValue: "STRING_VALUE", * note: "STRING_VALUE", * }, * ], * }; * const command = new BatchAcknowledgeAlarmCommand(input); * const response = await client.send(command); * // { // BatchAcknowledgeAlarmResponse * // errorEntries: [ // BatchAlarmActionErrorEntries * // { // BatchAlarmActionErrorEntry * // requestId: "STRING_VALUE", * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchAcknowledgeAlarmCommandInput - {@link BatchAcknowledgeAlarmCommandInput} * @returns {@link BatchAcknowledgeAlarmCommandOutput} * @see {@link BatchAcknowledgeAlarmCommandInput} for command's `input` shape. * @see {@link BatchAcknowledgeAlarmCommandOutput} for command's `response` shape. * @see {@link IoTEventsDataClientResolvedConfig | config} for IoTEventsDataClient's `config` shape. * * @throws {@link InternalFailureException} (server fault) *

An internal failure occurred.

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

The request was invalid.

* * @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 IoTEventsDataServiceException} *

Base exception class for all service exceptions from IoTEventsData service.

* * * @public */ export declare class BatchAcknowledgeAlarmCommand extends BatchAcknowledgeAlarmCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchAcknowledgeAlarmRequest; output: BatchAcknowledgeAlarmResponse; }; sdk: { input: BatchAcknowledgeAlarmCommandInput; output: BatchAcknowledgeAlarmCommandOutput; }; }; }