- Documentation
Auto Scaling
API Reference
ScalingActivities
DescribeScalingActivities - Queries scaling activities
ScalingActivities
DescribeScalingActivities - Queries scaling activities
DescribeScalingActivities - Queries scaling activities
Query scaling logs.
Debugging
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
Request parameters
Only the request parameters specific to this operation and some common parameters are listed below. For more information, refer to Common parameters. Action string required Sample value: DescribeScalingActivities
The action that you want to perform. Value: DescribeScalingActivities.
Version string required Sample value: 2020-01-01
The version of the API. Value: 2020-01-01.
ScalingGroupId string required Sample value: scg-yblhryq64wgh9zmp****
EndTime string Optional Sample value: 2021-09-06T07:40Z
The end date of the scaling log.
PageNumber integer Optional Sample value: 1
The page number of the list. The default value is 1.
PageSize integer Optional Sample value: 10
The number of entries on each page in a pagination query. Valid values: 1–50. Default value: 10.
ScalingActivityIds.N string[] Optional Sample value: sga-ybn0mwfy1yl8j1f6****
The list of scaling log IDs.
- Parameter - N: Specifies the serial number of the scaling log. Valid value: 1-20.
- Separate multiple scaling logs with ampersands (&).
StartTime string Optional Sample value: 2021-09-06T07:37Z
The start date of the scaling log.
StatusCode string Optional Sample value: Success
The execution result in the scaling log. Valid values:
- PartialSuccess: Partial success.
- Rejected: Denied execution.
Response parameters
Only the response parameters specific to this operation are listed below. For more information, refer to the response structure. PageNumber integer Sample value: 1
The current page number.
PageSize integer Sample value: 10
The number of entries per page.
ScalingActivities object[] Sample value: --
Information on scaling logs that meet the conditions.
ScalingActivityId string Sample value: sga-ybn0mwfy1yl8j1f6****
The ID of the scaling log.
CreatedAt string Sample value: 2022-05-11T03:15:26Z
The start time in the scaling log.
ExpectedRunTime string Sample value: 2022-05-11T03:15:24Z
The scheduled execution time in the scaling log.
ScalingGroupId string String example: scg-ybmssdnnhn5pkgyd****
The ID of the scaling group.
ResultMsg string Sample value: This is a scaling log.
Description of the scaling log.
MaxInstanceNumber integer Sample value: 100
The maximum number of instances in the scaling group.
MinInstanceNumber integer Sample value: 10
The minimum number of instances in the scaling group.
CurrentInstanceNumber integer Sample value: 20
The number of instances currently running in the scaling group.
ActualAdjustInstanceNumber integer Sample value: 3
The actual adjusted instance count in the scaling log.
Cooldown integer Sample value: 300
The cooldown time in the scaling log after execution completion.
StatusCode string Sample value: Init
The execution result in the scaling log. Valid values:
- PartialSuccess: Partial success.
- Rejected: Denied execution.
RelatedInstances object[]
Instance-related information in the scaling log.
Message string Sample value: Error.
Description or error information.
InstanceId string Sample value: i-ybmike5l70l8j1ha****
The instance ID.
OperateType string Sample value: Add
The instance-targeted adjustment type. Valid values:
- Add: Increases instances.
- Remove: Removes instances.
Status string Sample value: Success
The scaling status of the instance. Valid values:
- Error: An error occurred.
ActivityType string Sample value: SCALE_OUT
The scaling log type. Valid values:
- SYNC_INSTANCES: Instance state synchronization.
StoppedAt string Sample value: 2022-05-11T03:15:51Z
The stop time in the scaling log.
TaskCategory string Sample value: Manual
The operation type in the scaling log. Valid values:
- Manual: Manual execution.
- Scheduled: Scheduled execution.
- Recurrence: Periodic execution.
- HealthCheck: Health check.
TotalCount integer Sample value: 100
The total number of scaling logs that meet the conditions.
Sample request
Sample response
Error codes
The table below lists the business-related error codes of the operation. For more information, refer to Common error codes.
Last updated: 2026.06.26 10:55:29