Skip to content

Commit a44e2c7

Browse files
feat: update AWS API models
1 parent 26a58fd commit a44e2c7

File tree

7 files changed

+1211
-74
lines changed

7 files changed

+1211
-74
lines changed

codegen/sdk/aws-models/amp.json

Lines changed: 188 additions & 30 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/auto-scaling.json

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2309,6 +2309,15 @@
23092309
"target": "com.amazonaws.autoscaling#XmlStringMaxLen255"
23102310
}
23112311
},
2312+
"com.amazonaws.autoscaling#BakeTime": {
2313+
"type": "integer",
2314+
"traits": {
2315+
"smithy.api#range": {
2316+
"min": 0,
2317+
"max": 172800
2318+
}
2319+
}
2320+
},
23122321
"com.amazonaws.autoscaling#BareMetal": {
23132322
"type": "enum",
23142323
"members": {
@@ -6448,7 +6457,7 @@
64486457
"Status": {
64496458
"target": "com.amazonaws.autoscaling#InstanceRefreshStatus",
64506459
"traits": {
6451-
"smithy.api#documentation": "<p>The current status for the instance refresh operation:</p>\n <ul>\n <li>\n <p>\n <code>Pending</code> - The request was created, but the instance refresh has\n not started.</p>\n </li>\n <li>\n <p>\n <code>InProgress</code> - An instance refresh is in progress.</p>\n </li>\n <li>\n <p>\n <code>Successful</code> - An instance refresh completed successfully.</p>\n </li>\n <li>\n <p>\n <code>Failed</code> - An instance refresh failed to complete. You can\n troubleshoot using the status reason and the scaling activities. </p>\n </li>\n <li>\n <p>\n <code>Cancelling</code> - An ongoing instance refresh is being\n cancelled.</p>\n </li>\n <li>\n <p>\n <code>Cancelled</code> - The instance refresh is cancelled. </p>\n </li>\n <li>\n <p>\n <code>RollbackInProgress</code> - An instance refresh is being rolled\n back.</p>\n </li>\n <li>\n <p>\n <code>RollbackFailed</code> - The rollback failed to complete. You can\n troubleshoot using the status reason and the scaling activities.</p>\n </li>\n <li>\n <p>\n <code>RollbackSuccessful</code> - The rollback completed successfully.</p>\n </li>\n </ul>"
6460+
"smithy.api#documentation": "<p>The current status for the instance refresh operation:</p>\n <ul>\n <li>\n <p>\n <code>Pending</code> - The request was created, but the instance refresh has\n not started.</p>\n </li>\n <li>\n <p>\n <code>InProgress</code> - An instance refresh is in progress.</p>\n </li>\n <li>\n <p>\n <code>Successful</code> - An instance refresh completed successfully.</p>\n </li>\n <li>\n <p>\n <code>Failed</code> - An instance refresh failed to complete. You can\n troubleshoot using the status reason and the scaling activities. </p>\n </li>\n <li>\n <p>\n <code>Cancelling</code> - An ongoing instance refresh is being\n cancelled.</p>\n </li>\n <li>\n <p>\n <code>Cancelled</code> - The instance refresh is cancelled. </p>\n </li>\n <li>\n <p>\n <code>RollbackInProgress</code> - An instance refresh is being rolled\n back.</p>\n </li>\n <li>\n <p>\n <code>RollbackFailed</code> - The rollback failed to complete. You can\n troubleshoot using the status reason and the scaling activities.</p>\n </li>\n <li>\n <p>\n <code>RollbackSuccessful</code> - The rollback completed successfully.</p>\n </li>\n <li>\n <p>\n <code>Baking</code> - Waiting the specified bake time after an instance refresh has finished updating instances.</p>\n </li>\n </ul>"
64526461
}
64536462
},
64546463
"StatusReason": {
@@ -6629,6 +6638,12 @@
66296638
"traits": {
66306639
"smithy.api#enumValue": "RollbackSuccessful"
66316640
}
6641+
},
6642+
"Baking": {
6643+
"target": "smithy.api#Unit",
6644+
"traits": {
6645+
"smithy.api#enumValue": "Baking"
6646+
}
66326647
}
66336648
}
66346649
},
@@ -9315,6 +9330,12 @@
93159330
"traits": {
93169331
"smithy.api#documentation": "<p>Specifies the maximum percentage of the group that can be in service and healthy, or\n pending, to support your workload when replacing instances. The value is expressed as a\n percentage of the desired capacity of the Auto Scaling group. Value range is 100 to 200.</p>\n <p>If you specify <code>MaxHealthyPercentage</code>, you must also specify\n <code>MinHealthyPercentage</code>, and the difference between them cannot be greater\n than 100. A larger range increases the number of instances that can be replaced at the\n same time.</p>\n <p>If you do not specify this property, the default is 100 percent, or the percentage set\n in the instance maintenance policy for the Auto Scaling group, if defined.</p>"
93179332
}
9333+
},
9334+
"BakeTime": {
9335+
"target": "com.amazonaws.autoscaling#BakeTime",
9336+
"traits": {
9337+
"smithy.api#documentation": "<p>\n The amount of time, in seconds, to wait at the end of an instance refresh before the instance refresh is considered complete.\n </p>"
9338+
}
93189339
}
93199340
},
93209341
"traits": {
@@ -10278,7 +10299,7 @@
1027810299
"Preferences": {
1027910300
"target": "com.amazonaws.autoscaling#RefreshPreferences",
1028010301
"traits": {
10281-
"smithy.api#documentation": "<p>Sets your preferences for the instance refresh so that it performs as expected when\n you start it. Includes the instance warmup time, the minimum and maximum healthy\n percentages, and the behaviors that you want Amazon EC2 Auto Scaling to use if instances that are in\n <code>Standby</code> state or protected from scale in are found. You can also choose\n to enable additional features, such as the following:</p>\n <ul>\n <li>\n <p>Auto rollback</p>\n </li>\n <li>\n <p>Checkpoints</p>\n </li>\n <li>\n <p>CloudWatch alarms</p>\n </li>\n <li>\n <p>Skip matching</p>\n </li>\n </ul>"
10302+
"smithy.api#documentation": "<p>Sets your preferences for the instance refresh so that it performs as expected when\n you start it. Includes the instance warmup time, the minimum and maximum healthy\n percentages, and the behaviors that you want Amazon EC2 Auto Scaling to use if instances that are in\n <code>Standby</code> state or protected from scale in are found. You can also choose\n to enable additional features, such as the following:</p>\n <ul>\n <li>\n <p>Auto rollback</p>\n </li>\n <li>\n <p>Checkpoints</p>\n </li>\n <li>\n <p>CloudWatch alarms</p>\n </li>\n <li>\n <p>Skip matching</p>\n </li>\n <li>\n <p>Bake time</p>\n </li>\n </ul>"
1028210303
}
1028310304
}
1028410305
}

0 commit comments

Comments
 (0)