import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { BatchPutScheduledUpdateGroupActionAnswer, BatchPutScheduledUpdateGroupActionType } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link BatchPutScheduledUpdateGroupActionCommand}. */ export interface BatchPutScheduledUpdateGroupActionCommandInput extends BatchPutScheduledUpdateGroupActionType { } /** * @public * * The output of {@link BatchPutScheduledUpdateGroupActionCommand}. */ export interface BatchPutScheduledUpdateGroupActionCommandOutput extends BatchPutScheduledUpdateGroupActionAnswer, __MetadataBearer { } declare const BatchPutScheduledUpdateGroupActionCommand_base: { new (input: BatchPutScheduledUpdateGroupActionCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchPutScheduledUpdateGroupActionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates or updates one or more scheduled scaling actions for an Auto Scaling group.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AutoScalingClient, BatchPutScheduledUpdateGroupActionCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import * // const { AutoScalingClient, BatchPutScheduledUpdateGroupActionCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import * // import type { AutoScalingClientConfig } from "@aws-sdk/client-auto-scaling"; * const config = {}; // type is AutoScalingClientConfig * const client = new AutoScalingClient(config); * const input = { // BatchPutScheduledUpdateGroupActionType * AutoScalingGroupName: "STRING_VALUE", // required * ScheduledUpdateGroupActions: [ // ScheduledUpdateGroupActionRequests // required * { // ScheduledUpdateGroupActionRequest * ScheduledActionName: "STRING_VALUE", // required * StartTime: new Date("TIMESTAMP"), * EndTime: new Date("TIMESTAMP"), * Recurrence: "STRING_VALUE", * MinSize: Number("int"), * MaxSize: Number("int"), * DesiredCapacity: Number("int"), * TimeZone: "STRING_VALUE", * }, * ], * }; * const command = new BatchPutScheduledUpdateGroupActionCommand(input); * const response = await client.send(command); * // { // BatchPutScheduledUpdateGroupActionAnswer * // FailedScheduledUpdateGroupActions: [ // FailedScheduledUpdateGroupActionRequests * // { // FailedScheduledUpdateGroupActionRequest * // ScheduledActionName: "STRING_VALUE", // required * // ErrorCode: "STRING_VALUE", * // ErrorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchPutScheduledUpdateGroupActionCommandInput - {@link BatchPutScheduledUpdateGroupActionCommandInput} * @returns {@link BatchPutScheduledUpdateGroupActionCommandOutput} * @see {@link BatchPutScheduledUpdateGroupActionCommandInput} for command's `input` shape. * @see {@link BatchPutScheduledUpdateGroupActionCommandOutput} for command's `response` shape. * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape. * * @throws {@link AlreadyExistsFault} (client fault) *

You already have an Auto Scaling group or launch configuration with this name.

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

You have already reached a limit for your Amazon EC2 Auto Scaling * resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For * more information, see DescribeAccountLimits in the Amazon EC2 Auto Scaling API * Reference.

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

You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, * instance, or load balancer).

* * @throws {@link AutoScalingServiceException} *

Base exception class for all service exceptions from AutoScaling service.

* * * @public */ export declare class BatchPutScheduledUpdateGroupActionCommand extends BatchPutScheduledUpdateGroupActionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchPutScheduledUpdateGroupActionType; output: BatchPutScheduledUpdateGroupActionAnswer; }; sdk: { input: BatchPutScheduledUpdateGroupActionCommandInput; output: BatchPutScheduledUpdateGroupActionCommandOutput; }; }; }