v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14130373603.9 KB

Gets information about the scaling activities in the account and Region.

When scaling events occur, you see a record of the scaling activity in the scaling activities. For more information, see Verifying a scaling activity for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

If the scaling event succeeds, the value of the StatusCode element in the response is Successful. If an attempt to launch instances failed, the StatusCode value is Failed or Cancelled and the StatusMessage element in the response indicates the cause of the failure. For help interpreting the StatusMessage, see Troubleshooting Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

get/#Action=DescribeScalingActivities

Query parameters

ActivityIdsXmlString[]
<p>The activity IDs of the desired scaling activities. If you omit this property, 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.</p> <p>Array Members: Maximum number of 50 IDs.</p>
AutoScalingGroupNamestring

The name of the Auto Scaling group.

IncludeDeletedGroupsboolean

Indicates whether to include scaling activity from deleted Auto Scaling groups.

MaxRecordsinteger

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

NextTokenstring

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

Action'DescribeScalingActivities' required
Version'2011-01-01' required

Response

Success