Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . autoscaling ]

batch-put-scheduled-update-group-action

Description

Creates or updates one or more scheduled scaling actions for an Auto Scaling group. If you leave a parameter unspecified when updating a scheduled scaling action, the corresponding value remains unchanged.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  batch-put-scheduled-update-group-action
--auto-scaling-group-name <value>
--scheduled-update-group-actions <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--auto-scaling-group-name (string)

The name of the Auto Scaling group.

--scheduled-update-group-actions (list)

One or more scheduled actions. The maximum number allowed is 50.

Shorthand Syntax:

ScheduledActionName=string,StartTime=timestamp,EndTime=timestamp,Recurrence=string,MinSize=integer,MaxSize=integer,DesiredCapacity=integer ...

JSON Syntax:

[
  {
    "ScheduledActionName": "string",
    "StartTime": timestamp,
    "EndTime": timestamp,
    "Recurrence": "string",
    "MinSize": integer,
    "MaxSize": integer,
    "DesiredCapacity": integer
  }
  ...
]

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

FailedScheduledUpdateGroupActions -> (list)

The names of the scheduled actions that could not be created or updated, including an error message.

(structure)

Describes a scheduled action that could not be created, updated, or deleted.

ScheduledActionName -> (string)

The name of the scheduled action.

ErrorCode -> (string)

The error code.

ErrorMessage -> (string)

The error message accompanying the error code.