Describes one or more scaling activities for the specified Auto Scaling group.
autoscaling_describe_scaling_activities(ActivityIds,
AutoScalingGroupName, MaxRecords, NextToken)
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.
The name of the Auto Scaling group.
The maximum number of items to return with this call. The default value
is 100
and the maximum value is 100
.
The token for the next set of items to return. (You received this token from a previous call.)
svc$describe_scaling_activities( ActivityIds = list( "string" ), AutoScalingGroupName = "string", MaxRecords = 123, NextToken = "string" )
# NOT RUN {
# This example describes the scaling activities for the specified Auto
# Scaling group.
# }
# NOT RUN {
svc$describe_scaling_activities(
AutoScalingGroupName = "my-auto-scaling-group"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab