aws-sdk-autoscaling 1.55.0 → 1.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +360 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +1 -1
- data/lib/aws-sdk-autoscaling/client.rb +5 -5
- data/lib/aws-sdk-autoscaling/resource.rb +3 -3
- data/lib/aws-sdk-autoscaling/types.rb +26 -19
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46c85548580e329abe62b496bdeb6cb1bb54194c5581eb4a36cdf3a652c4bdbd
|
4
|
+
data.tar.gz: 745daf44fa1822d80483fa6d512ee2e40ac4df70c9a2b20d44bb3fc467802825
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bced754e8b8a66c74d63fe3bb8edd9f4aadb7993ae218599b21b0b3d1eda31c9449d378c113b5faf4a6db55313138eb1c65484d4a55e6de04aea63fcbad119df
|
7
|
+
data.tar.gz: ded6431f5f3d5cb22a42600ef6ee778be89bb2c16a54550983d36fd01e4f5384419cf76c94d0da9abae77ba67060bf741da3f902dae97f93f9ab980c9a69c067
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,360 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.56.0 (2021-03-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for autoscaling for capacity-optimized-prioritized SpotAllocationStrategy
|
8
|
+
|
9
|
+
1.55.0 (2021-02-23)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds a new optional IncludeDeletedGroups parameter to the DescribeScalingActivities API.
|
13
|
+
|
14
|
+
1.54.0 (2021-02-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.53.0 (2021-01-06)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This update increases the number of instance types that can be added to the overrides within an mixed instances group configuration.
|
23
|
+
|
24
|
+
1.52.0 (2020-12-11)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Documentation updates and corrections for Amazon EC2 Auto Scaling API Reference and SDKs.
|
28
|
+
|
29
|
+
1.51.0 (2020-11-23)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Documentation updates and corrections for Amazon EC2 Auto Scaling API Reference and SDKs.
|
33
|
+
|
34
|
+
1.50.0 (2020-11-19)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - You can now create Auto Scaling groups with multiple launch templates using a mixed instances policy, making it easy to deploy an AMI with an architecture that is different from the rest of the group.
|
38
|
+
|
39
|
+
1.49.0 (2020-11-10)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Documentation updates and corrections for Amazon EC2 Auto Scaling API Reference and SDKs.
|
43
|
+
|
44
|
+
1.48.0 (2020-11-04)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Capacity Rebalance helps you manage and maintain workload availability during Spot interruptions by proactively augmenting your Auto Scaling group with a new instance before interrupting an old one.
|
48
|
+
|
49
|
+
1.47.0 (2020-09-30)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.46.0 (2020-09-15)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.45.0 (2020-08-25)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
63
|
+
|
64
|
+
1.44.0 (2020-07-28)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - Now you can enable Instance Metadata Service Version 2 (IMDSv2) or disable the instance metadata endpoint with Launch Configurations.
|
68
|
+
|
69
|
+
1.43.0 (2020-07-02)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
73
|
+
|
74
|
+
1.42.0 (2020-06-29)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Feature - Documentation updates for Amazon EC2 Auto Scaling.
|
78
|
+
|
79
|
+
1.41.0 (2020-06-24)
|
80
|
+
------------------
|
81
|
+
|
82
|
+
* Feature - Documentation updates for Amazon EC2 Auto Scaling.
|
83
|
+
|
84
|
+
1.40.0 (2020-06-23)
|
85
|
+
------------------
|
86
|
+
|
87
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
88
|
+
|
89
|
+
1.39.0 (2020-06-16)
|
90
|
+
------------------
|
91
|
+
|
92
|
+
* Feature - Introducing instance refresh, a feature that helps you update all instances in an Auto Scaling group in a rolling fashion (for example, to apply a new AMI or instance type). You can control the pace of the refresh by defining the percentage of the group that must remain running/healthy during the replacement process and the time for new instances to warm up between replacements.
|
93
|
+
|
94
|
+
1.38.1 (2020-06-11)
|
95
|
+
------------------
|
96
|
+
|
97
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
98
|
+
|
99
|
+
1.38.0 (2020-06-10)
|
100
|
+
------------------
|
101
|
+
|
102
|
+
* Issue - This version has been yanked. (#2327).
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.37.0 (2020-05-28)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.36.0 (2020-05-22)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Documentation updates for Amazon EC2 Auto Scaling
|
114
|
+
|
115
|
+
1.35.0 (2020-05-07)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
119
|
+
|
120
|
+
1.34.0 (2020-04-20)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
124
|
+
|
125
|
+
1.33.0 (2020-03-09)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
129
|
+
|
130
|
+
1.32.0 (2020-02-19)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - Doc update for EC2 Auto Scaling: Add Enabled parameter for PutScalingPolicy
|
134
|
+
|
135
|
+
1.31.0 (2020-02-18)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - Amazon EC2 Auto Scaling now supports the ability to enable/disable target tracking, step scaling, and simple scaling policies.
|
139
|
+
|
140
|
+
1.30.0 (2019-11-19)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - Amazon EC2 Auto Scaling now supports Instance Weighting and Max Instance Lifetime. Instance Weighting allows specifying the capacity units for each instance type included in the MixedInstancesPolicy and how they would contribute to your application's performance. Max Instance Lifetime allows specifying the maximum length of time that an instance can be in service. If any instances are approaching this limit, Amazon EC2 Auto Scaling gradually replaces them.
|
144
|
+
|
145
|
+
1.29.0 (2019-10-23)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
149
|
+
|
150
|
+
1.28.0 (2019-08-12)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - Amazon EC2 Auto Scaling now supports a new Spot allocation strategy "capacity-optimized" that fulfills your request using Spot Instance pools that are optimally chosen based on the available Spot capacity.
|
154
|
+
|
155
|
+
1.27.0 (2019-07-25)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
159
|
+
|
160
|
+
1.26.0 (2019-07-17)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - Documentation updates for autoscaling
|
164
|
+
|
165
|
+
1.25.0 (2019-07-01)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
169
|
+
|
170
|
+
1.24.0 (2019-06-17)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
174
|
+
|
175
|
+
1.23.0 (2019-05-21)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* Feature - API update.
|
179
|
+
|
180
|
+
1.22.0 (2019-05-15)
|
181
|
+
------------------
|
182
|
+
|
183
|
+
* Feature - API update.
|
184
|
+
|
185
|
+
1.21.0 (2019-05-14)
|
186
|
+
------------------
|
187
|
+
|
188
|
+
* Feature - API update.
|
189
|
+
|
190
|
+
1.20.0 (2019-03-22)
|
191
|
+
------------------
|
192
|
+
|
193
|
+
* Feature - API update.
|
194
|
+
|
195
|
+
1.19.0 (2019-03-21)
|
196
|
+
------------------
|
197
|
+
|
198
|
+
* Feature - API update.
|
199
|
+
|
200
|
+
1.18.0 (2019-03-21)
|
201
|
+
------------------
|
202
|
+
|
203
|
+
* Feature - API update.
|
204
|
+
|
205
|
+
1.17.0 (2019-03-18)
|
206
|
+
------------------
|
207
|
+
|
208
|
+
* Feature - API update.
|
209
|
+
|
210
|
+
1.16.0 (2019-03-14)
|
211
|
+
------------------
|
212
|
+
|
213
|
+
* Feature - API update.
|
214
|
+
|
215
|
+
1.15.0 (2019-03-07)
|
216
|
+
------------------
|
217
|
+
|
218
|
+
* Feature - API update.
|
219
|
+
|
220
|
+
1.14.0 (2019-02-25)
|
221
|
+
------------------
|
222
|
+
|
223
|
+
* Feature - API update.
|
224
|
+
|
225
|
+
1.13.0 (2018-11-20)
|
226
|
+
------------------
|
227
|
+
|
228
|
+
* Feature - API update.
|
229
|
+
|
230
|
+
1.12.1 (2018-11-16)
|
231
|
+
------------------
|
232
|
+
|
233
|
+
* Issue - Update version dependency on `aws-sdk-core` to support endpoint discovery.
|
234
|
+
|
235
|
+
1.12.0 (2018-11-14)
|
236
|
+
------------------
|
237
|
+
|
238
|
+
* Feature - API update.
|
239
|
+
|
240
|
+
1.11.0 (2018-10-24)
|
241
|
+
------------------
|
242
|
+
|
243
|
+
* Feature - API update.
|
244
|
+
|
245
|
+
1.10.0 (2018-10-23)
|
246
|
+
------------------
|
247
|
+
|
248
|
+
* Feature - API update.
|
249
|
+
|
250
|
+
1.9.0 (2018-09-06)
|
251
|
+
------------------
|
252
|
+
|
253
|
+
* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
|
254
|
+
|
255
|
+
1.8.0 (2018-09-05)
|
256
|
+
------------------
|
257
|
+
|
258
|
+
* Feature - API update.
|
259
|
+
|
260
|
+
1.7.0 (2018-08-14)
|
261
|
+
------------------
|
262
|
+
|
263
|
+
* Feature - API update.
|
264
|
+
|
265
|
+
1.6.0 (2018-06-26)
|
266
|
+
------------------
|
267
|
+
|
268
|
+
* Feature - API update.
|
269
|
+
|
270
|
+
1.5.0 (2018-02-20)
|
271
|
+
------------------
|
272
|
+
|
273
|
+
* Feature - API update.
|
274
|
+
|
275
|
+
1.4.0 (2017-11-30)
|
276
|
+
------------------
|
277
|
+
|
278
|
+
* Feature - API update.
|
279
|
+
|
280
|
+
1.3.0 (2017-09-14)
|
281
|
+
------------------
|
282
|
+
|
283
|
+
* Feature - API update.
|
284
|
+
|
285
|
+
1.2.0 (2017-09-13)
|
286
|
+
------------------
|
287
|
+
|
288
|
+
* Feature - API update.
|
289
|
+
|
290
|
+
1.1.0 (2017-09-11)
|
291
|
+
------------------
|
292
|
+
|
293
|
+
* Feature - API update.
|
294
|
+
|
295
|
+
* Issue - Update `aws-sdk-autoscaling` gemspec metadata.
|
296
|
+
|
297
|
+
1.0.0 (2017-08-29)
|
298
|
+
------------------
|
299
|
+
|
300
|
+
1.0.0.rc12 (2017-08-15)
|
301
|
+
------------------
|
302
|
+
|
303
|
+
* Feature - API update.
|
304
|
+
|
305
|
+
1.0.0.rc11 (2017-08-01)
|
306
|
+
------------------
|
307
|
+
|
308
|
+
* Feature - API update.
|
309
|
+
|
310
|
+
1.0.0.rc10 (2017-07-25)
|
311
|
+
------------------
|
312
|
+
|
313
|
+
* Feature - API update.
|
314
|
+
|
315
|
+
1.0.0.rc9 (2017-07-12)
|
316
|
+
------------------
|
317
|
+
|
318
|
+
* Feature - API update.
|
319
|
+
|
320
|
+
1.0.0.rc8 (2017-07-06)
|
321
|
+
------------------
|
322
|
+
|
323
|
+
* Feature - API update.
|
324
|
+
|
325
|
+
1.0.0.rc7 (2017-06-29)
|
326
|
+
------------------
|
327
|
+
|
328
|
+
* Feature - API update.
|
329
|
+
|
330
|
+
1.0.0.rc6 (2017-06-26)
|
331
|
+
------------------
|
332
|
+
|
333
|
+
* Feature - API update.
|
334
|
+
|
335
|
+
1.0.0.rc5 (2017-05-23)
|
336
|
+
------------------
|
337
|
+
|
338
|
+
* Feature - API update.
|
339
|
+
|
340
|
+
1.0.0.rc4 (2017-05-09)
|
341
|
+
------------------
|
342
|
+
|
343
|
+
* Feature - API update.
|
344
|
+
|
345
|
+
1.0.0.rc3 (2017-05-09)
|
346
|
+
------------------
|
347
|
+
|
348
|
+
* Feature - API update.
|
349
|
+
|
350
|
+
* Issue - Fix resource model load path
|
351
|
+
|
352
|
+
1.0.0.rc2 (2017-04-21)
|
353
|
+
------------------
|
354
|
+
|
355
|
+
* Feature - API update.
|
356
|
+
|
357
|
+
1.0.0.rc1 (2016-12-05)
|
358
|
+
------------------
|
359
|
+
|
360
|
+
* Feature - Initial preview release of the `aws-sdk-autoscaling` gem.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.56.0
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -939,7 +939,7 @@ module Aws::AutoScaling
|
|
939
939
|
# `LaunchConfigurationName` or `MixedInstancesPolicy`.
|
940
940
|
# @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
|
941
941
|
# An embedded object that specifies a mixed instances policy. When you
|
942
|
-
# make changes to an existing policy, all optional
|
942
|
+
# make changes to an existing policy, all optional properties are left
|
943
943
|
# unchanged if not specified. For more information, see [Auto Scaling
|
944
944
|
# groups with multiple instance types and purchase options][1] in the
|
945
945
|
# *Amazon EC2 Auto Scaling User Guide*.
|
@@ -790,14 +790,14 @@ module Aws::AutoScaling
|
|
790
790
|
#
|
791
791
|
# @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
|
792
792
|
# An embedded object that specifies a mixed instances policy. The
|
793
|
-
# required
|
793
|
+
# required properties must be specified. If optional properties are
|
794
794
|
# unspecified, their default values are used.
|
795
795
|
#
|
796
|
-
# The policy includes
|
796
|
+
# The policy includes properties that not only define the distribution
|
797
797
|
# of On-Demand Instances and Spot Instances, the maximum price to pay
|
798
798
|
# for Spot Instances, and how the Auto Scaling group allocates instance
|
799
799
|
# types to fulfill On-Demand and Spot capacities, but also the
|
800
|
-
#
|
800
|
+
# properties that specify the instance configuration information—the
|
801
801
|
# launch template and instance types. The policy can also include a
|
802
802
|
# weight for each instance type and different launch templates for
|
803
803
|
# individual instance types. For more information, see [Auto Scaling
|
@@ -5148,7 +5148,7 @@ module Aws::AutoScaling
|
|
5148
5148
|
#
|
5149
5149
|
# @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
|
5150
5150
|
# An embedded object that specifies a mixed instances policy. When you
|
5151
|
-
# make changes to an existing policy, all optional
|
5151
|
+
# make changes to an existing policy, all optional properties are left
|
5152
5152
|
# unchanged if not specified. For more information, see [Auto Scaling
|
5153
5153
|
# groups with multiple instance types and purchase options][1] in the
|
5154
5154
|
# *Amazon EC2 Auto Scaling User Guide*.
|
@@ -5391,7 +5391,7 @@ module Aws::AutoScaling
|
|
5391
5391
|
params: params,
|
5392
5392
|
config: config)
|
5393
5393
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
5394
|
-
context[:gem_version] = '1.
|
5394
|
+
context[:gem_version] = '1.56.0'
|
5395
5395
|
Seahorse::Client::Request.new(handlers, context)
|
5396
5396
|
end
|
5397
5397
|
|
@@ -141,14 +141,14 @@ module Aws::AutoScaling
|
|
141
141
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
142
142
|
# @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
|
143
143
|
# An embedded object that specifies a mixed instances policy. The
|
144
|
-
# required
|
144
|
+
# required properties must be specified. If optional properties are
|
145
145
|
# unspecified, their default values are used.
|
146
146
|
#
|
147
|
-
# The policy includes
|
147
|
+
# The policy includes properties that not only define the distribution
|
148
148
|
# of On-Demand Instances and Spot Instances, the maximum price to pay
|
149
149
|
# for Spot Instances, and how the Auto Scaling group allocates instance
|
150
150
|
# types to fulfill On-Demand and Spot capacities, but also the
|
151
|
-
#
|
151
|
+
# properties that specify the instance configuration information—the
|
152
152
|
# launch template and instance types. The policy can also include a
|
153
153
|
# weight for each instance type and different launch templates for
|
154
154
|
# individual instance types. For more information, see [Auto Scaling
|
@@ -931,14 +931,14 @@ module Aws::AutoScaling
|
|
931
931
|
#
|
932
932
|
# @!attribute [rw] mixed_instances_policy
|
933
933
|
# An embedded object that specifies a mixed instances policy. The
|
934
|
-
# required
|
934
|
+
# required properties must be specified. If optional properties are
|
935
935
|
# unspecified, their default values are used.
|
936
936
|
#
|
937
|
-
# The policy includes
|
937
|
+
# The policy includes properties that not only define the distribution
|
938
938
|
# of On-Demand Instances and Spot Instances, the maximum price to pay
|
939
939
|
# for Spot Instances, and how the Auto Scaling group allocates
|
940
940
|
# instance types to fulfill On-Demand and Spot capacities, but also
|
941
|
-
# the
|
941
|
+
# the properties that specify the instance configuration
|
942
942
|
# information—the launch template and instance types. The policy can
|
943
943
|
# also include a weight for each instance type and different launch
|
944
944
|
# templates for individual instance types. For more information, see
|
@@ -3259,12 +3259,12 @@ module Aws::AutoScaling
|
|
3259
3259
|
# Indicates how to allocate instance types to fulfill On-Demand
|
3260
3260
|
# capacity. The only valid value is `prioritized`, which is also the
|
3261
3261
|
# default value. This strategy uses the order of instance types in the
|
3262
|
-
#
|
3263
|
-
# first instance type in the array is prioritized
|
3264
|
-
# last. If all your On-Demand capacity cannot be
|
3265
|
-
# highest priority instance, then the Auto
|
3266
|
-
# remaining capacity using the second
|
3267
|
-
# on.
|
3262
|
+
# `LaunchTemplateOverrides` to define the launch priority of each
|
3263
|
+
# instance type. The first instance type in the array is prioritized
|
3264
|
+
# higher than the last. If all your On-Demand capacity cannot be
|
3265
|
+
# fulfilled using your highest priority instance, then the Auto
|
3266
|
+
# Scaling groups launches the remaining capacity using the second
|
3267
|
+
# priority instance type, and so on.
|
3268
3268
|
# @return [String]
|
3269
3269
|
#
|
3270
3270
|
# @!attribute [rw] on_demand_base_capacity
|
@@ -3285,14 +3285,21 @@ module Aws::AutoScaling
|
|
3285
3285
|
# @return [Integer]
|
3286
3286
|
#
|
3287
3287
|
# @!attribute [rw] spot_allocation_strategy
|
3288
|
-
# Indicates how to allocate instances across Spot Instance pools.
|
3289
|
-
#
|
3290
|
-
#
|
3291
|
-
# optimally chosen based on the available Spot capacity. If the
|
3292
|
-
# allocation strategy is `lowest-price`, the Auto Scaling group
|
3288
|
+
# Indicates how to allocate instances across Spot Instance pools.
|
3289
|
+
#
|
3290
|
+
# If the allocation strategy is `lowest-price`, the Auto Scaling group
|
3293
3291
|
# launches instances using the Spot pools with the lowest price, and
|
3294
3292
|
# evenly allocates your instances across the number of Spot pools that
|
3295
3293
|
# you specify. Defaults to `lowest-price` if not specified.
|
3294
|
+
#
|
3295
|
+
# If the allocation strategy is `capacity-optimized` (recommended),
|
3296
|
+
# the Auto Scaling group launches instances using Spot pools that are
|
3297
|
+
# optimally chosen based on the available Spot capacity.
|
3298
|
+
# Alternatively, you can use `capacity-optimized-prioritized` and set
|
3299
|
+
# the order of instance types in the list of launch template overrides
|
3300
|
+
# from highest to lowest priority (from first to last in the list).
|
3301
|
+
# Amazon EC2 Auto Scaling honors the instance type priorities on a
|
3302
|
+
# best-effort basis but optimizes for capacity first.
|
3296
3303
|
# @return [String]
|
3297
3304
|
#
|
3298
3305
|
# @!attribute [rw] spot_instance_pools
|
@@ -3637,7 +3644,7 @@ module Aws::AutoScaling
|
|
3637
3644
|
|
3638
3645
|
# Describes a launch template and overrides.
|
3639
3646
|
#
|
3640
|
-
# You specify these
|
3647
|
+
# You specify these properties as part of a mixed instances policy.
|
3641
3648
|
#
|
3642
3649
|
# When you update the launch template or overrides, existing Amazon EC2
|
3643
3650
|
# instances continue to run. When scale out occurs, Amazon EC2 Auto
|
@@ -3672,7 +3679,7 @@ module Aws::AutoScaling
|
|
3672
3679
|
# @return [Types::LaunchTemplateSpecification]
|
3673
3680
|
#
|
3674
3681
|
# @!attribute [rw] overrides
|
3675
|
-
# Any
|
3682
|
+
# Any properties that you specify override the same properties in the
|
3676
3683
|
# launch template. If not provided, Amazon EC2 Auto Scaling uses the
|
3677
3684
|
# instance type specified in the launch template when it launches an
|
3678
3685
|
# instance.
|
@@ -4230,7 +4237,7 @@ module Aws::AutoScaling
|
|
4230
4237
|
#
|
4231
4238
|
# You can create a mixed instances policy for a new Auto Scaling group,
|
4232
4239
|
# or you can create it for an existing group by updating the group to
|
4233
|
-
# specify `MixedInstancesPolicy` as the top-level
|
4240
|
+
# specify `MixedInstancesPolicy` as the top-level property instead of a
|
4234
4241
|
# launch configuration or launch template.
|
4235
4242
|
#
|
4236
4243
|
#
|
@@ -4278,7 +4285,7 @@ module Aws::AutoScaling
|
|
4278
4285
|
#
|
4279
4286
|
# @!attribute [rw] instances_distribution
|
4280
4287
|
# Specifies the instances distribution. If not provided, the value for
|
4281
|
-
# each
|
4288
|
+
# each property in `InstancesDistribution` uses a default value.
|
4282
4289
|
# @return [Types::InstancesDistribution]
|
4283
4290
|
#
|
4284
4291
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MixedInstancesPolicy AWS API Documentation
|
@@ -5940,7 +5947,7 @@ module Aws::AutoScaling
|
|
5940
5947
|
#
|
5941
5948
|
# @!attribute [rw] mixed_instances_policy
|
5942
5949
|
# An embedded object that specifies a mixed instances policy. When you
|
5943
|
-
# make changes to an existing policy, all optional
|
5950
|
+
# make changes to an existing policy, all optional properties are left
|
5944
5951
|
# unchanged if not specified. For more information, see [Auto Scaling
|
5945
5952
|
# groups with multiple instance types and purchase options][1] in the
|
5946
5953
|
# *Amazon EC2 Auto Scaling User Guide*.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-autoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.56.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for Auto Scaling. This gem is part of the AWS SDK
|
48
48
|
for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-autoscaling.rb
|
56
59
|
- lib/aws-sdk-autoscaling/activity.rb
|
57
60
|
- lib/aws-sdk-autoscaling/auto_scaling_group.rb
|