autoscaling_batch_put_scheduled_update_group_action: Creates or updates one or more scheduled scaling actions for...

Description Usage Arguments Value Request syntax

View source: R/autoscaling_operations.R

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.

Usage

1
2
autoscaling_batch_put_scheduled_update_group_action(
  AutoScalingGroupName, ScheduledUpdateGroupActions)

Arguments

AutoScalingGroupName

[required] The name of the Auto Scaling group.

ScheduledUpdateGroupActions

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

Value

A list with the following syntax:

1
2
3
4
5
6
7
8
9
list(
  FailedScheduledUpdateGroupActions = list(
    list(
      ScheduledActionName = "string",
      ErrorCode = "string",
      ErrorMessage = "string"
    )
  )
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
svc$batch_put_scheduled_update_group_action(
  AutoScalingGroupName = "string",
  ScheduledUpdateGroupActions = list(
    list(
      ScheduledActionName = "string",
      StartTime = as.POSIXct(
        "2015-01-01"
      ),
      EndTime = as.POSIXct(
        "2015-01-01"
      ),
      Recurrence = "string",
      MinSize = 123,
      MaxSize = 123,
      DesiredCapacity = 123
    )
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.