aws-sdk-emr 1.42.0 → 1.43.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 +288 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-emr.rb +1 -1
- data/lib/aws-sdk-emr/client.rb +12 -2
- data/lib/aws-sdk-emr/client_api.rb +8 -0
- data/lib/aws-sdk-emr/types.rb +96 -16
- 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: d1eb646ebc3d06d296e29ae21123a4633fdff007ef2a173f54c96dc5afe4da93
|
4
|
+
data.tar.gz: 19c2487f152bfe70369f09c5f710028ece3094982dbad7dd6406331791c8079c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 597c0459e540aff8cbbe26beb0ee6af4b66db85cebb7eecff4fdec608d69b1b0f4efafd822014a8c276ec9f4bfc203b61fbe6588d3e8ef589c7df81d316cceff
|
7
|
+
data.tar.gz: 254023c27ee442518aee7f09c61c6fe23ccf8794fa8191925aecccc284b5a688bace2deee0f5e02dc57f9b60c162e9269eae3b91e1bde9fb6b0ea22b738c8066
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,288 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.43.0 (2021-03-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon EMR customers can now specify how EC2 On-Demand Capacity Reservations are used in their EMR clusters with instance fleets using allocation strategy.
|
8
|
+
|
9
|
+
1.42.0 (2021-02-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added UpdateStudio API that allows updating a few attributes of an EMR Studio.
|
13
|
+
|
14
|
+
1.41.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.40.0 (2020-11-23)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Add API support for EMR Studio, a new notebook-first IDE for data scientists and data engineers with single sign-on, Jupyter notebooks, automated infrastructure provisioning, and job diagnosis.
|
23
|
+
|
24
|
+
1.39.0 (2020-10-01)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Documentation updates for elasticmapreduce
|
28
|
+
|
29
|
+
1.38.0 (2020-09-30)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Amazon EMR customers can now use EC2 placement group to influence the placement of master nodes in a high-availability (HA) cluster across distinct underlying hardware to improve cluster availability.
|
33
|
+
|
34
|
+
1.37.0 (2020-09-15)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.36.0 (2020-08-28)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - Amazon EMR adds support for ICMP, port -1, in Block Public Access Exceptions and API access for EMR Notebooks execution. You can now non-interactively execute EMR Notebooks and pass input parameters.
|
43
|
+
|
44
|
+
1.35.0 (2020-08-25)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.34.0 (2020-07-02)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
53
|
+
|
54
|
+
1.33.0 (2020-06-24)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Amazon EMR customers can now set allocation strategies for On-Demand and Spot instances in their EMR clusters with instance fleets. These allocation strategies use real-time capacity insights to provision clusters faster and make the most efficient use of available spare capacity to allocate Spot instances to reduce interruptions.
|
58
|
+
|
59
|
+
1.32.0 (2020-06-23)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
63
|
+
|
64
|
+
1.31.0 (2020-06-22)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Feature - Adding support for MaximumCoreCapacityUnits parameter for EMR Managed Scaling. It allows users to control how many units/nodes are added to the CORE group/fleet. Remaining units/nodes are added to the TASK groups/fleet in the cluster.
|
68
|
+
|
69
|
+
1.30.1 (2020-06-11)
|
70
|
+
------------------
|
71
|
+
|
72
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
73
|
+
|
74
|
+
1.30.0 (2020-06-10)
|
75
|
+
------------------
|
76
|
+
|
77
|
+
* Issue - This version has been yanked. (#2327).
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.29.0 (2020-06-01)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - Amazon EMR now supports encrypting log files with AWS Key Management Service (KMS) customer managed keys.
|
84
|
+
|
85
|
+
1.28.0 (2020-05-28)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
89
|
+
|
90
|
+
1.27.0 (2020-05-07)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
94
|
+
|
95
|
+
1.26.0 (2020-04-21)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Amazon EMR adds support for configuring a managed scaling policy for an Amazon EMR cluster. This enables automatic resizing of a cluster to optimize for job execution speed and reduced cluster cost.
|
99
|
+
|
100
|
+
1.25.0 (2020-03-09)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
104
|
+
|
105
|
+
1.24.0 (2019-11-22)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Amazon EMR adds support for concurrent step execution and cancelling running steps. Amazon EMR has added a new Outpost ARN field in the ListCluster and DescribeCluster API responses that is populated for clusters launched in an AWS Outpost subnet.
|
109
|
+
|
110
|
+
1.23.0 (2019-11-15)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Access to the cluster ARN makes it easier for you to author resource-level permissions policies in AWS Identity and Access Management. To simplify the process of obtaining the cluster ARN, Amazon EMR has added a new field containing the cluster ARN to all API responses that include the cluster ID.
|
114
|
+
|
115
|
+
1.22.0 (2019-10-23)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
119
|
+
|
120
|
+
1.21.0 (2019-08-16)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Amazon EMR has introduced an account level configuration called Block Public Access that allows you to block clusters with ports open to traffic from public IP sources (i.e. 0.0.0.0/0 for IPv4 and ::/0 for IPv6) from launching. Individual ports or port ranges can be added as exceptions to allow public access.
|
124
|
+
|
125
|
+
1.20.0 (2019-07-25)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
129
|
+
|
130
|
+
1.19.0 (2019-07-01)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
134
|
+
|
135
|
+
1.18.0 (2019-06-17)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
139
|
+
|
140
|
+
1.17.0 (2019-05-21)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.16.0 (2019-05-15)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.15.0 (2019-05-14)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.14.0 (2019-04-01)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.13.0 (2019-03-22)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.12.0 (2019-03-21)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - API update.
|
169
|
+
|
170
|
+
1.11.0 (2019-03-18)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - API update.
|
174
|
+
|
175
|
+
1.10.0 (2019-03-14)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* Feature - API update.
|
179
|
+
|
180
|
+
1.9.0 (2019-01-11)
|
181
|
+
------------------
|
182
|
+
|
183
|
+
* Feature - API update.
|
184
|
+
|
185
|
+
1.8.0 (2018-11-20)
|
186
|
+
------------------
|
187
|
+
|
188
|
+
* Feature - API update.
|
189
|
+
|
190
|
+
1.7.0 (2018-10-24)
|
191
|
+
------------------
|
192
|
+
|
193
|
+
* Feature - API update.
|
194
|
+
|
195
|
+
1.6.0 (2018-10-23)
|
196
|
+
------------------
|
197
|
+
|
198
|
+
* Feature - API update.
|
199
|
+
|
200
|
+
1.5.0 (2018-09-06)
|
201
|
+
------------------
|
202
|
+
|
203
|
+
* Feature - Adds code paths and plugins for future SDK instrumentation and telemetry.
|
204
|
+
|
205
|
+
1.4.0 (2018-09-05)
|
206
|
+
------------------
|
207
|
+
|
208
|
+
* Feature - API update.
|
209
|
+
|
210
|
+
1.3.0 (2018-07-12)
|
211
|
+
------------------
|
212
|
+
|
213
|
+
* Feature - API update.
|
214
|
+
|
215
|
+
1.2.0 (2018-06-26)
|
216
|
+
------------------
|
217
|
+
|
218
|
+
* Feature - API update.
|
219
|
+
|
220
|
+
1.1.0 (2017-11-22)
|
221
|
+
------------------
|
222
|
+
|
223
|
+
* Feature - API update.
|
224
|
+
|
225
|
+
* Issue - Update `aws-sdk-emr` gemspec metadata.
|
226
|
+
|
227
|
+
1.0.0 (2017-08-29)
|
228
|
+
------------------
|
229
|
+
|
230
|
+
1.0.0.rc12 (2017-08-15)
|
231
|
+
------------------
|
232
|
+
|
233
|
+
* Feature - API update.
|
234
|
+
|
235
|
+
1.0.0.rc11 (2017-08-01)
|
236
|
+
------------------
|
237
|
+
|
238
|
+
* Feature - API update.
|
239
|
+
|
240
|
+
1.0.0.rc10 (2017-07-25)
|
241
|
+
------------------
|
242
|
+
|
243
|
+
* Feature - API update.
|
244
|
+
|
245
|
+
1.0.0.rc9 (2017-07-20)
|
246
|
+
------------------
|
247
|
+
|
248
|
+
* Feature - API update.
|
249
|
+
|
250
|
+
1.0.0.rc8 (2017-07-13)
|
251
|
+
------------------
|
252
|
+
|
253
|
+
* Feature - API update.
|
254
|
+
|
255
|
+
1.0.0.rc7 (2017-07-06)
|
256
|
+
------------------
|
257
|
+
|
258
|
+
* Feature - API update.
|
259
|
+
|
260
|
+
1.0.0.rc6 (2017-06-29)
|
261
|
+
------------------
|
262
|
+
|
263
|
+
* Feature - API update.
|
264
|
+
|
265
|
+
1.0.0.rc5 (2017-05-23)
|
266
|
+
------------------
|
267
|
+
|
268
|
+
* Feature - API update.
|
269
|
+
|
270
|
+
1.0.0.rc4 (2017-05-09)
|
271
|
+
------------------
|
272
|
+
|
273
|
+
* Feature - API update.
|
274
|
+
|
275
|
+
1.0.0.rc3 (2017-05-09)
|
276
|
+
------------------
|
277
|
+
|
278
|
+
* Feature - API update.
|
279
|
+
|
280
|
+
1.0.0.rc2 (2017-04-21)
|
281
|
+
------------------
|
282
|
+
|
283
|
+
* Feature - API update.
|
284
|
+
|
285
|
+
1.0.0.rc1 (2016-12-05)
|
286
|
+
------------------
|
287
|
+
|
288
|
+
* Feature - Initial preview release of the `aws-sdk-emr` 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.43.0
|
data/lib/aws-sdk-emr.rb
CHANGED
data/lib/aws-sdk-emr/client.rb
CHANGED
@@ -406,6 +406,10 @@ module Aws::EMR
|
|
406
406
|
# },
|
407
407
|
# on_demand_specification: {
|
408
408
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
409
|
+
# capacity_reservation_options: {
|
410
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
411
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
412
|
+
# },
|
409
413
|
# },
|
410
414
|
# },
|
411
415
|
# },
|
@@ -1691,6 +1695,8 @@ module Aws::EMR
|
|
1691
1695
|
# resp.instance_fleets[0].launch_specifications.spot_specification.block_duration_minutes #=> Integer
|
1692
1696
|
# resp.instance_fleets[0].launch_specifications.spot_specification.allocation_strategy #=> String, one of "capacity-optimized"
|
1693
1697
|
# resp.instance_fleets[0].launch_specifications.on_demand_specification.allocation_strategy #=> String, one of "lowest-price"
|
1698
|
+
# resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
|
1699
|
+
# resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
|
1694
1700
|
# resp.marker #=> String
|
1695
1701
|
#
|
1696
1702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets AWS API Documentation
|
@@ -2172,7 +2178,7 @@ module Aws::EMR
|
|
2172
2178
|
#
|
2173
2179
|
# @option params [Integer] :step_concurrency_level
|
2174
2180
|
# The number of steps that can be executed concurrently. You can specify
|
2175
|
-
# a maximum of 256 steps.
|
2181
|
+
# a minimum of 1 step and a maximum of 256 steps.
|
2176
2182
|
#
|
2177
2183
|
# @return [Types::ModifyClusterOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2178
2184
|
#
|
@@ -2966,6 +2972,10 @@ module Aws::EMR
|
|
2966
2972
|
# },
|
2967
2973
|
# on_demand_specification: {
|
2968
2974
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
2975
|
+
# capacity_reservation_options: {
|
2976
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
2977
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
2978
|
+
# },
|
2969
2979
|
# },
|
2970
2980
|
# },
|
2971
2981
|
# },
|
@@ -3433,7 +3443,7 @@ module Aws::EMR
|
|
3433
3443
|
params: params,
|
3434
3444
|
config: config)
|
3435
3445
|
context[:gem_name] = 'aws-sdk-emr'
|
3436
|
-
context[:gem_version] = '1.
|
3446
|
+
context[:gem_version] = '1.43.0'
|
3437
3447
|
Seahorse::Client::Request.new(handlers, context)
|
3438
3448
|
end
|
3439
3449
|
|
@@ -207,6 +207,9 @@ module Aws::EMR
|
|
207
207
|
NotebookExecutionStatus = Shapes::StringShape.new(name: 'NotebookExecutionStatus')
|
208
208
|
NotebookExecutionSummary = Shapes::StructureShape.new(name: 'NotebookExecutionSummary')
|
209
209
|
NotebookExecutionSummaryList = Shapes::ListShape.new(name: 'NotebookExecutionSummaryList')
|
210
|
+
OnDemandCapacityReservationOptions = Shapes::StructureShape.new(name: 'OnDemandCapacityReservationOptions')
|
211
|
+
OnDemandCapacityReservationPreference = Shapes::StringShape.new(name: 'OnDemandCapacityReservationPreference')
|
212
|
+
OnDemandCapacityReservationUsageStrategy = Shapes::StringShape.new(name: 'OnDemandCapacityReservationUsageStrategy')
|
210
213
|
OnDemandProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'OnDemandProvisioningAllocationStrategy')
|
211
214
|
OnDemandProvisioningSpecification = Shapes::StructureShape.new(name: 'OnDemandProvisioningSpecification')
|
212
215
|
OptionalArnType = Shapes::StringShape.new(name: 'OptionalArnType')
|
@@ -1058,7 +1061,12 @@ module Aws::EMR
|
|
1058
1061
|
|
1059
1062
|
NotebookExecutionSummaryList.member = Shapes::ShapeRef.new(shape: NotebookExecutionSummary)
|
1060
1063
|
|
1064
|
+
OnDemandCapacityReservationOptions.add_member(:usage_strategy, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationUsageStrategy, location_name: "UsageStrategy"))
|
1065
|
+
OnDemandCapacityReservationOptions.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationPreference, location_name: "CapacityReservationPreference"))
|
1066
|
+
OnDemandCapacityReservationOptions.struct_class = Types::OnDemandCapacityReservationOptions
|
1067
|
+
|
1061
1068
|
OnDemandProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandProvisioningAllocationStrategy, required: true, location_name: "AllocationStrategy"))
|
1069
|
+
OnDemandProvisioningSpecification.add_member(:capacity_reservation_options, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationOptions, location_name: "CapacityReservationOptions"))
|
1062
1070
|
OnDemandProvisioningSpecification.struct_class = Types::OnDemandProvisioningSpecification
|
1063
1071
|
|
1064
1072
|
PlacementGroupConfig.add_member(:instance_role, Shapes::ShapeRef.new(shape: InstanceRoleType, required: true, location_name: "InstanceRole"))
|
data/lib/aws-sdk-emr/types.rb
CHANGED
@@ -61,6 +61,10 @@ module Aws::EMR
|
|
61
61
|
# },
|
62
62
|
# on_demand_specification: {
|
63
63
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
64
|
+
# capacity_reservation_options: {
|
65
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
66
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
67
|
+
# },
|
64
68
|
# },
|
65
69
|
# },
|
66
70
|
# },
|
@@ -2623,6 +2627,10 @@ module Aws::EMR
|
|
2623
2627
|
# },
|
2624
2628
|
# on_demand_specification: {
|
2625
2629
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
2630
|
+
# capacity_reservation_options: {
|
2631
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
2632
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
2633
|
+
# },
|
2626
2634
|
# },
|
2627
2635
|
# },
|
2628
2636
|
# }
|
@@ -2769,6 +2777,10 @@ module Aws::EMR
|
|
2769
2777
|
# },
|
2770
2778
|
# on_demand_specification: {
|
2771
2779
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
2780
|
+
# capacity_reservation_options: {
|
2781
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
2782
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
2783
|
+
# },
|
2772
2784
|
# },
|
2773
2785
|
# }
|
2774
2786
|
#
|
@@ -2929,10 +2941,10 @@ module Aws::EMR
|
|
2929
2941
|
# @return [String]
|
2930
2942
|
#
|
2931
2943
|
# @!attribute [rw] bid_price
|
2932
|
-
#
|
2933
|
-
#
|
2934
|
-
# `
|
2935
|
-
#
|
2944
|
+
# If specified, indicates that the instance group uses Spot Instances.
|
2945
|
+
# This is the maximum price you are willing to pay for Spot Instances.
|
2946
|
+
# Specify `OnDemandPrice` to set the amount equal to the On-Demand
|
2947
|
+
# price, or specify an amount in USD.
|
2936
2948
|
# @return [String]
|
2937
2949
|
#
|
2938
2950
|
# @!attribute [rw] instance_type
|
@@ -3111,10 +3123,10 @@ module Aws::EMR
|
|
3111
3123
|
# @return [String]
|
3112
3124
|
#
|
3113
3125
|
# @!attribute [rw] bid_price
|
3114
|
-
#
|
3115
|
-
#
|
3116
|
-
# `
|
3117
|
-
#
|
3126
|
+
# If specified, indicates that the instance group uses Spot Instances.
|
3127
|
+
# This is the maximum price you are willing to pay for Spot Instances.
|
3128
|
+
# Specify `OnDemandPrice` to set the amount equal to the On-Demand
|
3129
|
+
# price, or specify an amount in USD.
|
3118
3130
|
# @return [String]
|
3119
3131
|
#
|
3120
3132
|
# @!attribute [rw] instance_type
|
@@ -3183,10 +3195,10 @@ module Aws::EMR
|
|
3183
3195
|
# @return [String]
|
3184
3196
|
#
|
3185
3197
|
# @!attribute [rw] bid_price
|
3186
|
-
#
|
3187
|
-
#
|
3188
|
-
# `
|
3189
|
-
#
|
3198
|
+
# If specified, indicates that the instance group uses Spot Instances.
|
3199
|
+
# This is the maximum price you are willing to pay for Spot Instances.
|
3200
|
+
# Specify `OnDemandPrice` to set the amount equal to the On-Demand
|
3201
|
+
# price, or specify an amount in USD.
|
3190
3202
|
# @return [String]
|
3191
3203
|
#
|
3192
3204
|
# @!attribute [rw] instance_type
|
@@ -3969,6 +3981,10 @@ module Aws::EMR
|
|
3969
3981
|
# },
|
3970
3982
|
# on_demand_specification: {
|
3971
3983
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
3984
|
+
# capacity_reservation_options: {
|
3985
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
3986
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
3987
|
+
# },
|
3972
3988
|
# },
|
3973
3989
|
# },
|
3974
3990
|
# },
|
@@ -4939,7 +4955,7 @@ module Aws::EMR
|
|
4939
4955
|
#
|
4940
4956
|
# @!attribute [rw] step_concurrency_level
|
4941
4957
|
# The number of steps that can be executed concurrently. You can
|
4942
|
-
# specify a maximum of 256 steps.
|
4958
|
+
# specify a minimum of 1 step and a maximum of 256 steps.
|
4943
4959
|
# @return [Integer]
|
4944
4960
|
#
|
4945
4961
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyClusterInput AWS API Documentation
|
@@ -5229,6 +5245,56 @@ module Aws::EMR
|
|
5229
5245
|
include Aws::Structure
|
5230
5246
|
end
|
5231
5247
|
|
5248
|
+
# Describes the strategy for using unused Capacity Reservations for
|
5249
|
+
# fulfilling On-Demand capacity.
|
5250
|
+
#
|
5251
|
+
# @note When making an API call, you may pass OnDemandCapacityReservationOptions
|
5252
|
+
# data as a hash:
|
5253
|
+
#
|
5254
|
+
# {
|
5255
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
5256
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
5257
|
+
# }
|
5258
|
+
#
|
5259
|
+
# @!attribute [rw] usage_strategy
|
5260
|
+
# Indicates whether to use unused Capacity Reservations for fulfilling
|
5261
|
+
# On-Demand capacity.
|
5262
|
+
#
|
5263
|
+
# If you specify `use-capacity-reservations-first`, the fleet uses
|
5264
|
+
# unused Capacity Reservations to fulfill On-Demand capacity up to the
|
5265
|
+
# target On-Demand capacity. If multiple instance pools have unused
|
5266
|
+
# Capacity Reservations, the On-Demand allocation strategy
|
5267
|
+
# (`lowest-price`) is applied. If the number of unused Capacity
|
5268
|
+
# Reservations is less than the On-Demand target capacity, the
|
5269
|
+
# remaining On-Demand target capacity is launched according to the
|
5270
|
+
# On-Demand allocation strategy (`lowest-price`).
|
5271
|
+
#
|
5272
|
+
# If you do not specify a value, the fleet fulfils the On-Demand
|
5273
|
+
# capacity according to the chosen On-Demand allocation strategy.
|
5274
|
+
# @return [String]
|
5275
|
+
#
|
5276
|
+
# @!attribute [rw] capacity_reservation_preference
|
5277
|
+
# Indicates the instance's Capacity Reservation preferences. Possible
|
5278
|
+
# preferences include:
|
5279
|
+
#
|
5280
|
+
# * `open` - The instance can run in any open Capacity Reservation
|
5281
|
+
# that has matching attributes (instance type, platform,
|
5282
|
+
# Availability Zone).
|
5283
|
+
#
|
5284
|
+
# * `none` - The instance avoids running in a Capacity Reservation
|
5285
|
+
# even if one is available. The instance runs as an On-Demand
|
5286
|
+
# Instance.
|
5287
|
+
# @return [String]
|
5288
|
+
#
|
5289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OnDemandCapacityReservationOptions AWS API Documentation
|
5290
|
+
#
|
5291
|
+
class OnDemandCapacityReservationOptions < Struct.new(
|
5292
|
+
:usage_strategy,
|
5293
|
+
:capacity_reservation_preference)
|
5294
|
+
SENSITIVE = []
|
5295
|
+
include Aws::Structure
|
5296
|
+
end
|
5297
|
+
|
5232
5298
|
# The launch specification for On-Demand Instances in the instance
|
5233
5299
|
# fleet, which determines the allocation strategy.
|
5234
5300
|
#
|
@@ -5244,18 +5310,28 @@ module Aws::EMR
|
|
5244
5310
|
#
|
5245
5311
|
# {
|
5246
5312
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
5313
|
+
# capacity_reservation_options: {
|
5314
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
5315
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
5316
|
+
# },
|
5247
5317
|
# }
|
5248
5318
|
#
|
5249
5319
|
# @!attribute [rw] allocation_strategy
|
5250
|
-
# Specifies the strategy to use in launching On-Demand
|
5251
|
-
# fleets. Currently, the only option is lowest-price (the default),
|
5320
|
+
# Specifies the strategy to use in launching On-Demand instance
|
5321
|
+
# fleets. Currently, the only option is `lowest-price` (the default),
|
5252
5322
|
# which launches the lowest price first.
|
5253
5323
|
# @return [String]
|
5254
5324
|
#
|
5325
|
+
# @!attribute [rw] capacity_reservation_options
|
5326
|
+
# The launch specification for On-Demand instances in the instance
|
5327
|
+
# fleet, which determines the allocation strategy.
|
5328
|
+
# @return [Types::OnDemandCapacityReservationOptions]
|
5329
|
+
#
|
5255
5330
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OnDemandProvisioningSpecification AWS API Documentation
|
5256
5331
|
#
|
5257
5332
|
class OnDemandProvisioningSpecification < Struct.new(
|
5258
|
-
:allocation_strategy
|
5333
|
+
:allocation_strategy,
|
5334
|
+
:capacity_reservation_options)
|
5259
5335
|
SENSITIVE = []
|
5260
5336
|
include Aws::Structure
|
5261
5337
|
end
|
@@ -5776,6 +5852,10 @@ module Aws::EMR
|
|
5776
5852
|
# },
|
5777
5853
|
# on_demand_specification: {
|
5778
5854
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
5855
|
+
# capacity_reservation_options: {
|
5856
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
5857
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
5858
|
+
# },
|
5779
5859
|
# },
|
5780
5860
|
# },
|
5781
5861
|
# },
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-emr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.43.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 Amazon Elastic MapReduce (Amazon EMR). This
|
48
48
|
gem is part of 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-emr.rb
|
56
59
|
- lib/aws-sdk-emr/client.rb
|
57
60
|
- lib/aws-sdk-emr/client_api.rb
|