Overview
List all scaling actions for the user that have not yet been executed. You can view the history of actions that have already been executed by calling getAutoScalingActivityLogList.
You can also view the list separately by page. You can specify the size of each page (number of items) and the page number.
Request
Request parameters
Parameter name | Required | Type | Restrictions | Description |
---|---|---|---|---|
autoScalingGroupName | No | String | Min: 1 Max: 255 |
Enter the name of the auto scaling group you want to query. |
scheduledActionNameList | No | List | Min: 1 Max: 255 |
List of scaling action schedule names to be received as a result |
startTime | No | Date | yyyy-MM-dd'T'HH:mm:ssZ | - Time that is less than or equal to the start time of the schedule datetime If scheduledActionNameList is specified, the current field can be ignored. format : yyyy-MM-dd'T'HH:mm:ssZ e.g., 2018-07-25T17:50:00+0900 |
endTime | No | Date | yyyy-MM-dd'T'HH:mm:ssZ | - Time that is less than or equal to the start time of the schedule datetime If scheduledActionNameList is specified, the current field can be ignored. format : yyyy-MM-dd'T'HH:mm:ssZ e.g., 2018-07-25T17:50:00+0900 |
pageNo | No | Integer | Min: 0 Max: 2147483647 |
Enter the page information of pagination when querying the list. If you enter the default value 0, all lists will be queried. |
pageSize | No | Integer | Min: 0 Max: 2147483647 |
Enter the number of information per page in pagination when querying the list. If you enter the default value 0, all lists will be queried. |
sortedBy | No | String | - | scheduledActionName (schedule action name)createDate (creation date and time)default : scheduledActionName (schedule action name) |
sortingOrder | No | String | - | ascending descending default : ascending |
responseFormatType | No | String | - Format type of the response result Options: xml | json Default: xml |
Response
Response body
Examples
Request example
{AUTOSCALILNG_API_URL}/getScheduledActionList
?autoScalingGroupName=asg-1
&startTime=2018-03-01T20%3A00%3A00%2B0900
Response example
<getScheduledActionListResponse>
<requestId>4cea4b3c-1c15-4598-8188-37a413c74b2c</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<scheduledUpdateGroupActionList>
<scheduledUpdateGroupAction>
<autoScalingGroupName>asg-1</autoScalingGroupName>
<scheduledActionName>sa-0228-4</scheduledActionName>
<minSize>0</minSize>
<startTime>2014-03-10T00:00:00+0900</startTime>
<endTime>2014-03-10T00:00:00+0900</endTime>
<recurrenceInKST>0 0 10 * *</recurrenceInKST>
</scheduledUpdateGroupAction>
<scheduledUpdateGroupAction>
<autoScalingGroupName>asg-1</autoScalingGroupName>
<scheduledActionName>sa-0228-5</scheduledActionName>
<minSize>0</minSize>
<startTime>2018-03-10T05:00:00+0900</startTime>
<endTime>2018-03-10T05:00:00+0900</endTime>
<recurrenceInKST>0 5 10 * *</recurrenceInKST>
</scheduledUpdateGroupAction>
</scheduledUpdateGroupActionList>
</getScheduledActionListResponse>