aws-sdk-autoscalingplans 1.26.0 → 1.31.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 +168 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-autoscalingplans.rb +3 -2
- data/lib/aws-sdk-autoscalingplans/client.rb +52 -34
- data/lib/aws-sdk-autoscalingplans/client_api.rb +1 -1
- data/lib/aws-sdk-autoscalingplans/errors.rb +1 -1
- data/lib/aws-sdk-autoscalingplans/resource.rb +1 -1
- data/lib/aws-sdk-autoscalingplans/types.rb +146 -89
- metadata +8 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3bfb22fc9e767805a99f9f2dc9e6287bddc480776a2a2654e6c31b5e99f9530
|
4
|
+
data.tar.gz: e084ece2f8eb527a60f3ad0ddf4693b98783ada23e9ec268b642dab225f9ca6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 832d82a15ebb07278964c6a5246541331eafe0a12c564761f2c0bfff89e78f38b66e9f25a0fdbf9b07a38542528b4a791b2131ce82b1f14d1a72033aaa216d3d
|
7
|
+
data.tar.gz: 2d97bf0985454e698931c6818a6b9d5a7f81383643a2ec5fb5a64bd5dc20a20284d03fe2b48dd19f8b4fdb4578aba5e8f4dd7c70fdb579eb8c4c4b11b97b8067
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,168 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.31.0 (2021-03-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.30.0 (2021-02-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.29.0 (2021-01-06)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for AWS Auto Scaling
|
18
|
+
|
19
|
+
1.28.0 (2020-09-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
24
|
+
1.27.0 (2020-09-15)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.26.0 (2020-08-25)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
33
|
+
|
34
|
+
1.25.0 (2020-06-23)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.24.1 (2020-06-11)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
43
|
+
|
44
|
+
1.24.0 (2020-06-10)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Issue - This version has been yanked. (#2327).
|
48
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
49
|
+
|
50
|
+
1.23.0 (2020-05-28)
|
51
|
+
------------------
|
52
|
+
|
53
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
54
|
+
|
55
|
+
1.22.0 (2020-05-07)
|
56
|
+
------------------
|
57
|
+
|
58
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
59
|
+
|
60
|
+
1.21.0 (2020-03-09)
|
61
|
+
------------------
|
62
|
+
|
63
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
64
|
+
|
65
|
+
1.20.0 (2019-11-22)
|
66
|
+
------------------
|
67
|
+
|
68
|
+
* Feature - Update default endpoint for AWS Auto Scaling.
|
69
|
+
|
70
|
+
1.19.0 (2019-10-23)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.18.0 (2019-07-25)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.17.0 (2019-07-01)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
84
|
+
|
85
|
+
1.16.0 (2019-06-17)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.15.0 (2019-05-21)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - API update.
|
94
|
+
|
95
|
+
1.14.0 (2019-05-15)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - API update.
|
99
|
+
|
100
|
+
1.13.0 (2019-05-14)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - API update.
|
104
|
+
|
105
|
+
1.12.0 (2019-03-21)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - API update.
|
109
|
+
|
110
|
+
1.11.0 (2019-03-18)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - API update.
|
114
|
+
|
115
|
+
1.10.0 (2019-03-14)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - API update.
|
119
|
+
|
120
|
+
1.9.0 (2019-03-01)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - API update.
|
124
|
+
|
125
|
+
1.8.0 (2018-11-20)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - API update.
|
129
|
+
|
130
|
+
1.7.0 (2018-10-24)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - API update.
|
134
|
+
|
135
|
+
1.6.0 (2018-10-23)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - API update.
|
139
|
+
|
140
|
+
1.5.0 (2018-09-06)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
|
144
|
+
|
145
|
+
1.4.0 (2018-09-05)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.3.0 (2018-06-26)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.2.0 (2018-04-23)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.1.0 (2018-01-17)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.0.0 (2018-01-17)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - Initial release of `aws-sdk-autoscalingplans`.
|
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.31.0
|
@@ -3,10 +3,11 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-autoscalingplans/customizations'
|
|
47
48
|
# @!group service
|
48
49
|
module Aws::AutoScalingPlans
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.31.0'
|
51
52
|
|
52
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -347,9 +347,23 @@ module Aws::AutoScalingPlans
|
|
347
347
|
# A CloudFormation stack or set of tags. You can create one scaling plan
|
348
348
|
# per application source.
|
349
349
|
#
|
350
|
+
# For more information, see [ApplicationSource][1] in the *AWS Auto
|
351
|
+
# Scaling API Reference*.
|
352
|
+
#
|
353
|
+
#
|
354
|
+
#
|
355
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html
|
356
|
+
#
|
350
357
|
# @option params [required, Array<Types::ScalingInstruction>] :scaling_instructions
|
351
358
|
# The scaling instructions.
|
352
359
|
#
|
360
|
+
# For more information, see [ScalingInstruction][1] in the *AWS Auto
|
361
|
+
# Scaling API Reference*.
|
362
|
+
#
|
363
|
+
#
|
364
|
+
#
|
365
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html
|
366
|
+
#
|
353
367
|
# @return [Types::CreateScalingPlanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
354
368
|
#
|
355
369
|
# * {Types::CreateScalingPlanResponse#scaling_plan_version #scaling_plan_version} => Integer
|
@@ -450,7 +464,8 @@ module Aws::AutoScalingPlans
|
|
450
464
|
# The name of the scaling plan.
|
451
465
|
#
|
452
466
|
# @option params [required, Integer] :scaling_plan_version
|
453
|
-
# The version number of the scaling plan.
|
467
|
+
# The version number of the scaling plan. Currently, the only valid
|
468
|
+
# value is `1`.
|
454
469
|
#
|
455
470
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
456
471
|
#
|
@@ -476,7 +491,8 @@ module Aws::AutoScalingPlans
|
|
476
491
|
# The name of the scaling plan.
|
477
492
|
#
|
478
493
|
# @option params [required, Integer] :scaling_plan_version
|
479
|
-
# The version number of the scaling plan.
|
494
|
+
# The version number of the scaling plan. Currently, the only valid
|
495
|
+
# value is `1`.
|
480
496
|
#
|
481
497
|
# @option params [Integer] :max_results
|
482
498
|
# The maximum number of scalable resources to return. The value must be
|
@@ -544,8 +560,13 @@ module Aws::AutoScalingPlans
|
|
544
560
|
# sources, you cannot specify scaling plan names.
|
545
561
|
#
|
546
562
|
# @option params [Integer] :scaling_plan_version
|
547
|
-
# The version number of the scaling plan.
|
548
|
-
#
|
563
|
+
# The version number of the scaling plan. Currently, the only valid
|
564
|
+
# value is `1`.
|
565
|
+
#
|
566
|
+
# <note markdown="1"> If you specify a scaling plan version, you must also specify a scaling
|
567
|
+
# plan name.
|
568
|
+
#
|
569
|
+
# </note>
|
549
570
|
#
|
550
571
|
# @option params [Array<Types::ApplicationSource>] :application_sources
|
551
572
|
# The sources for the applications (up to 10). If you specify scaling
|
@@ -655,39 +676,21 @@ module Aws::AutoScalingPlans
|
|
655
676
|
# The name of the scaling plan.
|
656
677
|
#
|
657
678
|
# @option params [required, Integer] :scaling_plan_version
|
658
|
-
# The version number of the scaling plan.
|
679
|
+
# The version number of the scaling plan. Currently, the only valid
|
680
|
+
# value is `1`.
|
659
681
|
#
|
660
682
|
# @option params [required, String] :service_namespace
|
661
|
-
# The namespace of the AWS service.
|
683
|
+
# The namespace of the AWS service. The only valid value is
|
684
|
+
# `autoscaling`.
|
662
685
|
#
|
663
686
|
# @option params [required, String] :resource_id
|
664
|
-
# The ID of the resource. This string consists of
|
665
|
-
#
|
666
|
-
#
|
667
|
-
# * Auto Scaling group - The resource type is `autoScalingGroup` and the
|
668
|
-
# unique identifier is the name of the Auto Scaling group. Example:
|
669
|
-
# `autoScalingGroup/my-asg`.
|
670
|
-
#
|
671
|
-
# * ECS service - The resource type is `service` and the unique
|
672
|
-
# identifier is the cluster name and service name. Example:
|
673
|
-
# `service/default/sample-webapp`.
|
674
|
-
#
|
675
|
-
# * Spot Fleet request - The resource type is `spot-fleet-request` and
|
676
|
-
# the unique identifier is the Spot Fleet request ID. Example:
|
677
|
-
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
678
|
-
#
|
679
|
-
# * DynamoDB table - The resource type is `table` and the unique
|
680
|
-
# identifier is the resource ID. Example: `table/my-table`.
|
681
|
-
#
|
682
|
-
# * DynamoDB global secondary index - The resource type is `index` and
|
683
|
-
# the unique identifier is the resource ID. Example:
|
684
|
-
# `table/my-table/index/my-table-index`.
|
685
|
-
#
|
686
|
-
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
687
|
-
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
687
|
+
# The ID of the resource. This string consists of a prefix
|
688
|
+
# (`autoScalingGroup`) followed by the name of a specified Auto Scaling
|
689
|
+
# group (`my-asg`). Example: `autoScalingGroup/my-asg`.
|
688
690
|
#
|
689
691
|
# @option params [required, String] :scalable_dimension
|
690
|
-
# The scalable dimension for the resource.
|
692
|
+
# The scalable dimension for the resource. The only valid value is
|
693
|
+
# `autoscaling:autoScalingGroup:DesiredCapacity`.
|
691
694
|
#
|
692
695
|
# @option params [required, String] :forecast_data_type
|
693
696
|
# The type of forecast data to get.
|
@@ -762,14 +765,29 @@ module Aws::AutoScalingPlans
|
|
762
765
|
# The name of the scaling plan.
|
763
766
|
#
|
764
767
|
# @option params [required, Integer] :scaling_plan_version
|
765
|
-
# The version number of the scaling plan.
|
768
|
+
# The version number of the scaling plan. The only valid value is `1`.
|
769
|
+
# Currently, you cannot have multiple scaling plan versions.
|
766
770
|
#
|
767
771
|
# @option params [Types::ApplicationSource] :application_source
|
768
772
|
# A CloudFormation stack or set of tags.
|
769
773
|
#
|
774
|
+
# For more information, see [ApplicationSource][1] in the *AWS Auto
|
775
|
+
# Scaling API Reference*.
|
776
|
+
#
|
777
|
+
#
|
778
|
+
#
|
779
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html
|
780
|
+
#
|
770
781
|
# @option params [Array<Types::ScalingInstruction>] :scaling_instructions
|
771
782
|
# The scaling instructions.
|
772
783
|
#
|
784
|
+
# For more information, see [ScalingInstruction][1] in the *AWS Auto
|
785
|
+
# Scaling API Reference*.
|
786
|
+
#
|
787
|
+
#
|
788
|
+
#
|
789
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html
|
790
|
+
#
|
773
791
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
774
792
|
#
|
775
793
|
# @example Request syntax with placeholder values
|
@@ -866,7 +884,7 @@ module Aws::AutoScalingPlans
|
|
866
884
|
params: params,
|
867
885
|
config: config)
|
868
886
|
context[:gem_name] = 'aws-sdk-autoscalingplans'
|
869
|
-
context[:gem_version] = '1.
|
887
|
+
context[:gem_version] = '1.31.0'
|
870
888
|
Seahorse::Client::Request.new(handlers, context)
|
871
889
|
end
|
872
890
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -136,10 +136,24 @@ module Aws::AutoScalingPlans
|
|
136
136
|
# @!attribute [rw] application_source
|
137
137
|
# A CloudFormation stack or set of tags. You can create one scaling
|
138
138
|
# plan per application source.
|
139
|
+
#
|
140
|
+
# For more information, see [ApplicationSource][1] in the *AWS Auto
|
141
|
+
# Scaling API Reference*.
|
142
|
+
#
|
143
|
+
#
|
144
|
+
#
|
145
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html
|
139
146
|
# @return [Types::ApplicationSource]
|
140
147
|
#
|
141
148
|
# @!attribute [rw] scaling_instructions
|
142
149
|
# The scaling instructions.
|
150
|
+
#
|
151
|
+
# For more information, see [ScalingInstruction][1] in the *AWS Auto
|
152
|
+
# Scaling API Reference*.
|
153
|
+
#
|
154
|
+
#
|
155
|
+
#
|
156
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html
|
143
157
|
# @return [Array<Types::ScalingInstruction>]
|
144
158
|
#
|
145
159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/CreateScalingPlanRequest AWS API Documentation
|
@@ -153,9 +167,8 @@ module Aws::AutoScalingPlans
|
|
153
167
|
end
|
154
168
|
|
155
169
|
# @!attribute [rw] scaling_plan_version
|
156
|
-
# The version number of the scaling plan. This value is always 1
|
157
|
-
#
|
158
|
-
# Currently, you cannot specify multiple scaling plan versions.
|
170
|
+
# The version number of the scaling plan. This value is always `1`.
|
171
|
+
# Currently, you cannot have multiple scaling plan versions.
|
159
172
|
# @return [Integer]
|
160
173
|
#
|
161
174
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/CreateScalingPlanResponse AWS API Documentation
|
@@ -172,8 +185,6 @@ module Aws::AutoScalingPlans
|
|
172
185
|
# For predictive scaling to work with a customized load metric
|
173
186
|
# specification, AWS Auto Scaling needs access to the `Sum` and
|
174
187
|
# `Average` statistics that CloudWatch computes from metric data.
|
175
|
-
# Statistics are calculations used to aggregate data over specified time
|
176
|
-
# periods.
|
177
188
|
#
|
178
189
|
# When you choose a load metric, make sure that the required `Sum` and
|
179
190
|
# `Average` statistics for your metric are available in CloudWatch and
|
@@ -186,13 +197,25 @@ module Aws::AutoScalingPlans
|
|
186
197
|
# then the `Average` statistic for the specified metric must represent
|
187
198
|
# the average request count processed by each instance of the group.
|
188
199
|
#
|
200
|
+
# If you publish your own metrics, you can aggregate the data points at
|
201
|
+
# a given interval and then publish the aggregated data points to
|
202
|
+
# CloudWatch. Before AWS Auto Scaling generates the forecast, it sums up
|
203
|
+
# all the metric data points that occurred within each hour to match the
|
204
|
+
# granularity period that is used in the forecast (60 minutes).
|
205
|
+
#
|
189
206
|
# For information about terminology, available metrics, or how to
|
190
207
|
# publish new metrics, see [Amazon CloudWatch Concepts][1] in the
|
191
208
|
# *Amazon CloudWatch User Guide*.
|
192
209
|
#
|
210
|
+
# After creating your scaling plan, you can use the AWS Auto Scaling
|
211
|
+
# console to visualize forecasts for the specified metric. For more
|
212
|
+
# information, see [View Scaling Information for a Resource][2] in the
|
213
|
+
# *AWS Auto Scaling User Guide*.
|
214
|
+
#
|
193
215
|
#
|
194
216
|
#
|
195
217
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
|
218
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/plans/userguide/gs-create-scaling-plan.html#gs-view-resource
|
196
219
|
#
|
197
220
|
# @note When making an API call, you may pass CustomizedLoadMetricSpecification
|
198
221
|
# data as a hash:
|
@@ -227,8 +250,7 @@ module Aws::AutoScalingPlans
|
|
227
250
|
# @return [Array<Types::MetricDimension>]
|
228
251
|
#
|
229
252
|
# @!attribute [rw] statistic
|
230
|
-
# The statistic of the metric.
|
231
|
-
# `Sum`.
|
253
|
+
# The statistic of the metric. The only valid value is `Sum`.
|
232
254
|
# @return [String]
|
233
255
|
#
|
234
256
|
# @!attribute [rw] unit
|
@@ -263,8 +285,9 @@ module Aws::AutoScalingPlans
|
|
263
285
|
# the number of capacity units. That is, the value of the metric
|
264
286
|
# should decrease when capacity increases.
|
265
287
|
#
|
266
|
-
# For
|
267
|
-
# Concepts][2]
|
288
|
+
# For information about terminology, available metrics, or how to
|
289
|
+
# publish new metrics, see [Amazon CloudWatch Concepts][2] in the
|
290
|
+
# *Amazon CloudWatch User Guide*.
|
268
291
|
#
|
269
292
|
#
|
270
293
|
#
|
@@ -356,7 +379,8 @@ module Aws::AutoScalingPlans
|
|
356
379
|
# @return [String]
|
357
380
|
#
|
358
381
|
# @!attribute [rw] scaling_plan_version
|
359
|
-
# The version number of the scaling plan.
|
382
|
+
# The version number of the scaling plan. Currently, the only valid
|
383
|
+
# value is `1`.
|
360
384
|
# @return [Integer]
|
361
385
|
#
|
362
386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/DeleteScalingPlanRequest AWS API Documentation
|
@@ -387,7 +411,8 @@ module Aws::AutoScalingPlans
|
|
387
411
|
# @return [String]
|
388
412
|
#
|
389
413
|
# @!attribute [rw] scaling_plan_version
|
390
|
-
# The version number of the scaling plan.
|
414
|
+
# The version number of the scaling plan. Currently, the only valid
|
415
|
+
# value is `1`.
|
391
416
|
# @return [Integer]
|
392
417
|
#
|
393
418
|
# @!attribute [rw] max_results
|
@@ -455,8 +480,13 @@ module Aws::AutoScalingPlans
|
|
455
480
|
# @return [Array<String>]
|
456
481
|
#
|
457
482
|
# @!attribute [rw] scaling_plan_version
|
458
|
-
# The version number of the scaling plan.
|
459
|
-
#
|
483
|
+
# The version number of the scaling plan. Currently, the only valid
|
484
|
+
# value is `1`.
|
485
|
+
#
|
486
|
+
# <note markdown="1"> If you specify a scaling plan version, you must also specify a
|
487
|
+
# scaling plan name.
|
488
|
+
#
|
489
|
+
# </note>
|
460
490
|
# @return [Integer]
|
461
491
|
#
|
462
492
|
# @!attribute [rw] application_sources
|
@@ -522,42 +552,24 @@ module Aws::AutoScalingPlans
|
|
522
552
|
# @return [String]
|
523
553
|
#
|
524
554
|
# @!attribute [rw] scaling_plan_version
|
525
|
-
# The version number of the scaling plan.
|
555
|
+
# The version number of the scaling plan. Currently, the only valid
|
556
|
+
# value is `1`.
|
526
557
|
# @return [Integer]
|
527
558
|
#
|
528
559
|
# @!attribute [rw] service_namespace
|
529
|
-
# The namespace of the AWS service.
|
560
|
+
# The namespace of the AWS service. The only valid value is
|
561
|
+
# `autoscaling`.
|
530
562
|
# @return [String]
|
531
563
|
#
|
532
564
|
# @!attribute [rw] resource_id
|
533
|
-
# The ID of the resource. This string consists of
|
534
|
-
#
|
535
|
-
#
|
536
|
-
# * Auto Scaling group - The resource type is `autoScalingGroup` and
|
537
|
-
# the unique identifier is the name of the Auto Scaling group.
|
538
|
-
# Example: `autoScalingGroup/my-asg`.
|
539
|
-
#
|
540
|
-
# * ECS service - The resource type is `service` and the unique
|
541
|
-
# identifier is the cluster name and service name. Example:
|
542
|
-
# `service/default/sample-webapp`.
|
543
|
-
#
|
544
|
-
# * Spot Fleet request - The resource type is `spot-fleet-request` and
|
545
|
-
# the unique identifier is the Spot Fleet request ID. Example:
|
546
|
-
# `spot-fleet-request/sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE`.
|
547
|
-
#
|
548
|
-
# * DynamoDB table - The resource type is `table` and the unique
|
549
|
-
# identifier is the resource ID. Example: `table/my-table`.
|
550
|
-
#
|
551
|
-
# * DynamoDB global secondary index - The resource type is `index` and
|
552
|
-
# the unique identifier is the resource ID. Example:
|
553
|
-
# `table/my-table/index/my-table-index`.
|
554
|
-
#
|
555
|
-
# * Aurora DB cluster - The resource type is `cluster` and the unique
|
556
|
-
# identifier is the cluster name. Example: `cluster:my-db-cluster`.
|
565
|
+
# The ID of the resource. This string consists of a prefix
|
566
|
+
# (`autoScalingGroup`) followed by the name of a specified Auto
|
567
|
+
# Scaling group (`my-asg`). Example: `autoScalingGroup/my-asg`.
|
557
568
|
# @return [String]
|
558
569
|
#
|
559
570
|
# @!attribute [rw] scalable_dimension
|
560
|
-
# The scalable dimension for the resource.
|
571
|
+
# The scalable dimension for the resource. The only valid value is
|
572
|
+
# `autoscaling:autoScalingGroup:DesiredCapacity`.
|
561
573
|
# @return [String]
|
562
574
|
#
|
563
575
|
# @!attribute [rw] forecast_data_type
|
@@ -705,6 +717,15 @@ module Aws::AutoScalingPlans
|
|
705
717
|
# Represents a predefined metric that can be used for predictive
|
706
718
|
# scaling.
|
707
719
|
#
|
720
|
+
# After creating your scaling plan, you can use the AWS Auto Scaling
|
721
|
+
# console to visualize forecasts for the specified metric. For more
|
722
|
+
# information, see [View Scaling Information for a Resource][1] in the
|
723
|
+
# *AWS Auto Scaling User Guide*.
|
724
|
+
#
|
725
|
+
#
|
726
|
+
#
|
727
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/userguide/gs-create-scaling-plan.html#gs-view-resource
|
728
|
+
#
|
708
729
|
# @note When making an API call, you may pass PredefinedLoadMetricSpecification
|
709
730
|
# data as a hash:
|
710
731
|
#
|
@@ -720,18 +741,32 @@ module Aws::AutoScalingPlans
|
|
720
741
|
# @!attribute [rw] resource_label
|
721
742
|
# Identifies the resource associated with the metric type. You can't
|
722
743
|
# specify a resource label unless the metric type is
|
723
|
-
# `
|
744
|
+
# `ALBTargetGroupRequestCount` and there is a target group for an
|
724
745
|
# Application Load Balancer attached to the Auto Scaling group.
|
725
746
|
#
|
726
|
-
#
|
747
|
+
# You create the resource label by appending the final portion of the
|
748
|
+
# load balancer ARN and the final portion of the target group ARN into
|
749
|
+
# a single value, separated by a forward slash (/). The format is
|
727
750
|
# app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>,
|
728
751
|
# where:
|
729
752
|
#
|
730
753
|
# * app/<load-balancer-name>/<load-balancer-id> is the
|
731
|
-
# final portion of the load balancer ARN
|
754
|
+
# final portion of the load balancer ARN
|
732
755
|
#
|
733
756
|
# * targetgroup/<target-group-name>/<target-group-id> is
|
734
757
|
# the final portion of the target group ARN.
|
758
|
+
#
|
759
|
+
# This is an example:
|
760
|
+
# app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.
|
761
|
+
#
|
762
|
+
# To find the ARN for an Application Load Balancer, use the
|
763
|
+
# [DescribeLoadBalancers][1] API operation. To find the ARN for the
|
764
|
+
# target group, use the [DescribeTargetGroups][2] API operation.
|
765
|
+
#
|
766
|
+
#
|
767
|
+
#
|
768
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html
|
769
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html
|
735
770
|
# @return [String]
|
736
771
|
#
|
737
772
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/PredefinedLoadMetricSpecification AWS API Documentation
|
@@ -766,15 +801,29 @@ module Aws::AutoScalingPlans
|
|
766
801
|
# Application Load Balancer attached to the Auto Scaling group, Spot
|
767
802
|
# Fleet request, or ECS service.
|
768
803
|
#
|
769
|
-
#
|
804
|
+
# You create the resource label by appending the final portion of the
|
805
|
+
# load balancer ARN and the final portion of the target group ARN into
|
806
|
+
# a single value, separated by a forward slash (/). The format is
|
770
807
|
# app/<load-balancer-name>/<load-balancer-id>/targetgroup/<target-group-name>/<target-group-id>,
|
771
808
|
# where:
|
772
809
|
#
|
773
810
|
# * app/<load-balancer-name>/<load-balancer-id> is the
|
774
|
-
# final portion of the load balancer ARN
|
811
|
+
# final portion of the load balancer ARN
|
775
812
|
#
|
776
813
|
# * targetgroup/<target-group-name>/<target-group-id> is
|
777
814
|
# the final portion of the target group ARN.
|
815
|
+
#
|
816
|
+
# This is an example:
|
817
|
+
# app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.
|
818
|
+
#
|
819
|
+
# To find the ARN for an Application Load Balancer, use the
|
820
|
+
# [DescribeLoadBalancers][1] API operation. To find the ARN for the
|
821
|
+
# target group, use the [DescribeTargetGroups][2] API operation.
|
822
|
+
#
|
823
|
+
#
|
824
|
+
#
|
825
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html
|
826
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html
|
778
827
|
# @return [String]
|
779
828
|
#
|
780
829
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/PredefinedScalingMetricSpecification AWS API Documentation
|
@@ -786,12 +835,8 @@ module Aws::AutoScalingPlans
|
|
786
835
|
include Aws::Structure
|
787
836
|
end
|
788
837
|
|
789
|
-
# Describes a scaling instruction for a scalable resource
|
790
|
-
#
|
791
|
-
# The scaling instruction is used in combination with a scaling plan,
|
792
|
-
# which is a set of instructions for configuring dynamic scaling and
|
793
|
-
# predictive scaling for the scalable resources in your application.
|
794
|
-
# Each scaling instruction applies to one resource.
|
838
|
+
# Describes a scaling instruction for a scalable resource in a scaling
|
839
|
+
# plan. Each scaling instruction applies to one resource.
|
795
840
|
#
|
796
841
|
# AWS Auto Scaling creates target tracking scaling policies based on the
|
797
842
|
# scaling instructions. Target tracking scaling policies adjust the
|
@@ -810,13 +855,13 @@ module Aws::AutoScalingPlans
|
|
810
855
|
#
|
811
856
|
# We recommend waiting a minimum of 24 hours after creating an Auto
|
812
857
|
# Scaling group to configure predictive scaling. At minimum, there must
|
813
|
-
# be 24 hours of historical data to generate a forecast.
|
858
|
+
# be 24 hours of historical data to generate a forecast. For more
|
859
|
+
# information, see [Best Practices for AWS Auto Scaling][1] in the *AWS
|
860
|
+
# Auto Scaling User Guide*.
|
814
861
|
#
|
815
|
-
# For more information, see [Getting Started with AWS Auto Scaling][1].
|
816
862
|
#
|
817
863
|
#
|
818
|
-
#
|
819
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/plans/userguide/auto-scaling-getting-started.html
|
864
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/userguide/gs-best-practices.html
|
820
865
|
#
|
821
866
|
# @note When making an API call, you may pass ScalingInstruction
|
822
867
|
# data as a hash:
|
@@ -947,17 +992,9 @@ module Aws::AutoScalingPlans
|
|
947
992
|
# @return [Integer]
|
948
993
|
#
|
949
994
|
# @!attribute [rw] target_tracking_configurations
|
950
|
-
# The
|
951
|
-
#
|
952
|
-
#
|
953
|
-
# with dynamic scaling.
|
954
|
-
#
|
955
|
-
# With predictive scaling and dynamic scaling, the resource scales
|
956
|
-
# based on the target tracking configuration that provides the largest
|
957
|
-
# capacity for both scale in and scale out.
|
958
|
-
#
|
959
|
-
# Condition: The scaling metric must be unique across target tracking
|
960
|
-
# configurations.
|
995
|
+
# The target tracking configurations (up to 10). Each of these
|
996
|
+
# structures must specify a unique scaling metric and a target value
|
997
|
+
# for the metric.
|
961
998
|
# @return [Array<Types::TargetTrackingConfiguration>]
|
962
999
|
#
|
963
1000
|
# @!attribute [rw] predefined_load_metric_specification
|
@@ -1092,7 +1129,8 @@ module Aws::AutoScalingPlans
|
|
1092
1129
|
# @return [Integer]
|
1093
1130
|
#
|
1094
1131
|
# @!attribute [rw] application_source
|
1095
|
-
#
|
1132
|
+
# A CloudFormation stack or a set of tags. You can create one scaling
|
1133
|
+
# plan per application source.
|
1096
1134
|
# @return [Types::ApplicationSource]
|
1097
1135
|
#
|
1098
1136
|
# @!attribute [rw] scaling_instructions
|
@@ -1349,8 +1387,9 @@ module Aws::AutoScalingPlans
|
|
1349
1387
|
# @return [Types::CustomizedScalingMetricSpecification]
|
1350
1388
|
#
|
1351
1389
|
# @!attribute [rw] target_value
|
1352
|
-
# The target value for the metric.
|
1353
|
-
#
|
1390
|
+
# The target value for the metric. Although this property accepts
|
1391
|
+
# numbers of type Double, it won't accept values that are either too
|
1392
|
+
# small or too large. Values must be in the range of -2^360 to 2^360.
|
1354
1393
|
# @return [Float]
|
1355
1394
|
#
|
1356
1395
|
# @!attribute [rw] disable_scale_in
|
@@ -1365,27 +1404,30 @@ module Aws::AutoScalingPlans
|
|
1365
1404
|
# @return [Boolean]
|
1366
1405
|
#
|
1367
1406
|
# @!attribute [rw] scale_out_cooldown
|
1368
|
-
# The amount of time, in seconds,
|
1369
|
-
#
|
1370
|
-
#
|
1371
|
-
#
|
1372
|
-
#
|
1373
|
-
#
|
1374
|
-
#
|
1375
|
-
#
|
1407
|
+
# The amount of time, in seconds, to wait for a previous scale-out
|
1408
|
+
# activity to take effect. This property is not used if the scalable
|
1409
|
+
# resource is an Auto Scaling group.
|
1410
|
+
#
|
1411
|
+
# With the *scale-out cooldown period*, the intention is to
|
1412
|
+
# continuously (but not excessively) scale out. After Auto Scaling
|
1413
|
+
# successfully scales out using a target tracking scaling policy, it
|
1414
|
+
# starts to calculate the cooldown time. The scaling policy won't
|
1415
|
+
# increase the desired capacity again unless either a larger scale out
|
1416
|
+
# is triggered or the cooldown period ends.
|
1376
1417
|
# @return [Integer]
|
1377
1418
|
#
|
1378
1419
|
# @!attribute [rw] scale_in_cooldown
|
1379
|
-
# The amount of time, in seconds, after a scale
|
1380
|
-
# before another scale
|
1381
|
-
# if the scalable resource is an Auto Scaling group.
|
1382
|
-
#
|
1383
|
-
#
|
1384
|
-
#
|
1385
|
-
#
|
1386
|
-
# triggers a scale-out
|
1387
|
-
# scale-in,
|
1388
|
-
# immediately.
|
1420
|
+
# The amount of time, in seconds, after a scale-in activity completes
|
1421
|
+
# before another scale-in activity can start. This property is not
|
1422
|
+
# used if the scalable resource is an Auto Scaling group.
|
1423
|
+
#
|
1424
|
+
# With the *scale-in cooldown period*, the intention is to scale in
|
1425
|
+
# conservatively to protect your application’s availability, so
|
1426
|
+
# scale-in activities are blocked until the cooldown period has
|
1427
|
+
# expired. However, if another alarm triggers a scale-out activity
|
1428
|
+
# during the scale-in cooldown period, Auto Scaling scales out the
|
1429
|
+
# target immediately. In this case, the scale-in cooldown period stops
|
1430
|
+
# and doesn't complete.
|
1389
1431
|
# @return [Integer]
|
1390
1432
|
#
|
1391
1433
|
# @!attribute [rw] estimated_instance_warmup
|
@@ -1486,15 +1528,30 @@ module Aws::AutoScalingPlans
|
|
1486
1528
|
# @return [String]
|
1487
1529
|
#
|
1488
1530
|
# @!attribute [rw] scaling_plan_version
|
1489
|
-
# The version number of the scaling plan.
|
1531
|
+
# The version number of the scaling plan. The only valid value is `1`.
|
1532
|
+
# Currently, you cannot have multiple scaling plan versions.
|
1490
1533
|
# @return [Integer]
|
1491
1534
|
#
|
1492
1535
|
# @!attribute [rw] application_source
|
1493
1536
|
# A CloudFormation stack or set of tags.
|
1537
|
+
#
|
1538
|
+
# For more information, see [ApplicationSource][1] in the *AWS Auto
|
1539
|
+
# Scaling API Reference*.
|
1540
|
+
#
|
1541
|
+
#
|
1542
|
+
#
|
1543
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ApplicationSource.html
|
1494
1544
|
# @return [Types::ApplicationSource]
|
1495
1545
|
#
|
1496
1546
|
# @!attribute [rw] scaling_instructions
|
1497
1547
|
# The scaling instructions.
|
1548
|
+
#
|
1549
|
+
# For more information, see [ScalingInstruction][1] in the *AWS Auto
|
1550
|
+
# Scaling API Reference*.
|
1551
|
+
#
|
1552
|
+
#
|
1553
|
+
#
|
1554
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/plans/APIReference/API_ScalingInstruction.html
|
1498
1555
|
# @return [Array<Types::ScalingInstruction>]
|
1499
1556
|
#
|
1500
1557
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans-2018-01-06/UpdateScalingPlanRequest AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-autoscalingplans
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.31.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:
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.112.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for AWS Auto Scaling Plans. This gem is part of
|
48
48
|
the AWS SDK 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-autoscalingplans.rb
|
56
59
|
- lib/aws-sdk-autoscalingplans/client.rb
|
57
60
|
- lib/aws-sdk-autoscalingplans/client_api.rb
|