autoscaling_describe_scaling_activities: Describes one or more scaling activities for the specified...

Description Usage Arguments Value Request syntax Examples

View source: R/autoscaling_operations.R

Description

Describes one or more scaling activities for the specified Auto Scaling group.

Usage

1
2
autoscaling_describe_scaling_activities(ActivityIds,
  AutoScalingGroupName, MaxRecords, NextToken)

Arguments

ActivityIds

The activity IDs of the desired scaling activities. You can specify up to 50 IDs. If you omit this parameter, all activities for the past six weeks are described. If unknown activities are requested, they are ignored with no error. If you specify an Auto Scaling group, the results are limited to that group.

AutoScalingGroupName

The name of the Auto Scaling group.

MaxRecords

The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.

NextToken

The token for the next set of items to return. (You received this token from a previous call.)

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
list(
  Activities = list(
    list(
      ActivityId = "string",
      AutoScalingGroupName = "string",
      Description = "string",
      Cause = "string",
      StartTime = as.POSIXct(
        "2015-01-01"
      ),
      EndTime = as.POSIXct(
        "2015-01-01"
      ),
      StatusCode = "PendingSpotBidPlacement"|"WaitingForSpotInstanceRequestId"|"WaitingForSpotInstanceId"|"WaitingForInstanceId"|"PreInService"|"InProgress"|"WaitingForELBConnectionDraining"|"MidLifecycleAction"|"WaitingForInstanceWarmup"|"Successful"|"Failed"|"Cancelled",
      StatusMessage = "string",
      Progress = 123,
      Details = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

1
2
3
4
5
6
7
8
svc$describe_scaling_activities(
  ActivityIds = list(
    "string"
  ),
  AutoScalingGroupName = "string",
  MaxRecords = 123,
  NextToken = "string"
)

Examples

1
2
3
4
5
6
7
8
## Not run: 
# This example describes the scaling activities for the specified Auto
# Scaling group.
svc$describe_scaling_activities(
  AutoScalingGroupName = "my-auto-scaling-group"
)

## End(Not run)

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