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 { BatchSnoozeAlarmRequest, BatchSnoozeAlarmResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchSnoozeAlarmCommand}. */ export interface BatchSnoozeAlarmCommandInput extends BatchSnoozeAlarmRequest { } /** * @public * * The output of {@link BatchSnoozeAlarmCommand}. */ export interface BatchSnoozeAlarmCommandOutput extends BatchSnoozeAlarmResponse, __MetadataBearer { } declare const BatchSnoozeAlarmCommand_base: { new (input: BatchSnoozeAlarmCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchSnoozeAlarmCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Changes one or more alarms to the snooze mode. The alarms change to the * SNOOZE_DISABLED state after you set them to the snooze mode.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTEventsDataClient, BatchSnoozeAlarmCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import * // const { IoTEventsDataClient, BatchSnoozeAlarmCommand } = 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 = { // BatchSnoozeAlarmRequest * snoozeActionRequests: [ // SnoozeAlarmActionRequests // required * { // SnoozeAlarmActionRequest * requestId: "STRING_VALUE", // required * alarmModelName: "STRING_VALUE", // required * keyValue: "STRING_VALUE", * note: "STRING_VALUE", * snoozeDuration: Number("int"), // required * }, * ], * }; * const command = new BatchSnoozeAlarmCommand(input); * const response = await client.send(command); * // { // BatchSnoozeAlarmResponse * // errorEntries: [ // BatchAlarmActionErrorEntries * // { // BatchAlarmActionErrorEntry * // requestId: "STRING_VALUE", * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchSnoozeAlarmCommandInput - {@link BatchSnoozeAlarmCommandInput} * @returns {@link BatchSnoozeAlarmCommandOutput} * @see {@link BatchSnoozeAlarmCommandInput} for command's `input` shape. * @see {@link BatchSnoozeAlarmCommandOutput} 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 BatchSnoozeAlarmCommand extends BatchSnoozeAlarmCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchSnoozeAlarmRequest; output: BatchSnoozeAlarmResponse; }; sdk: { input: BatchSnoozeAlarmCommandInput; output: BatchSnoozeAlarmCommandOutput; }; }; }