aws-sdk-emr 1.54.0 → 1.58.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emr/client.rb +42 -8
- data/lib/aws-sdk-emr/types.rb +25 -17
- data/lib/aws-sdk-emr.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d6c42ee53d2945fac150edb8852a7d4a7bba85c26698468b16522cc84d27fb5
|
4
|
+
data.tar.gz: 29401cb319c1db9ecde88030fba5bcd5b3b7458c299d2dcd3c095d1b76cb6015
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 863d41cdd8e8e9cf109c2093dfbef0ef861fd40de94e9472a5f5df8949cf12d4912f0be172d097f3b71bb61cefb7dc0dc733e621106d754110781165a3cb6866
|
7
|
+
data.tar.gz: ace7153e8edfc032730dbcd0e0a0a5ba6751fcccfb038875c378875ea28557b46b1a1c5e486254d6dede509ab60447cb552adda1db8b9d431fc5b2249ae384c3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.58.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.57.0 (2022-02-02)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon EMR.
|
13
|
+
|
14
|
+
1.56.0 (2021-12-21)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.55.0 (2021-11-30)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.54.0 (2021-11-04)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.58.0
|
data/lib/aws-sdk-emr/client.rb
CHANGED
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::EMR
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::EMR
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::EMR
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -305,7 +315,7 @@ module Aws::EMR
|
|
305
315
|
# seconds to wait when opening a HTTP session before raising a
|
306
316
|
# `Timeout::Error`.
|
307
317
|
#
|
308
|
-
# @option options [
|
318
|
+
# @option options [Float] :http_read_timeout (60) The default
|
309
319
|
# number of seconds to wait for response data. This value can
|
310
320
|
# safely be set per-request on the session.
|
311
321
|
#
|
@@ -321,6 +331,9 @@ module Aws::EMR
|
|
321
331
|
# disables this behaviour. This value can safely be set per
|
322
332
|
# request on the session.
|
323
333
|
#
|
334
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
335
|
+
# in seconds.
|
336
|
+
#
|
324
337
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
325
338
|
# HTTP debug output will be sent to the `:logger`.
|
326
339
|
#
|
@@ -575,6 +588,11 @@ module Aws::EMR
|
|
575
588
|
# You can only add steps to a cluster that is in one of the following
|
576
589
|
# states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING.
|
577
590
|
#
|
591
|
+
# <note markdown="1"> The string values passed into `HadoopJarStep` object cannot exceed a
|
592
|
+
# total of 10240 characters.
|
593
|
+
#
|
594
|
+
# </note>
|
595
|
+
#
|
578
596
|
#
|
579
597
|
#
|
580
598
|
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/AddMoreThan256Steps.html
|
@@ -2595,15 +2613,22 @@ module Aws::EMR
|
|
2595
2613
|
req.send_request(options)
|
2596
2614
|
end
|
2597
2615
|
|
2616
|
+
# <note markdown="1"> Auto-termination is supported in Amazon EMR versions 5.30.0 and 6.1.0
|
2617
|
+
# and later. For more information, see [Using an auto-termination
|
2618
|
+
# policy][1].
|
2619
|
+
#
|
2620
|
+
# </note>
|
2621
|
+
#
|
2598
2622
|
# Creates or updates an auto-termination policy for an Amazon EMR
|
2599
2623
|
# cluster. An auto-termination policy defines the amount of idle time in
|
2600
2624
|
# seconds after which a cluster automatically terminates. For
|
2601
2625
|
# alternative cluster termination options, see [Control cluster
|
2602
|
-
# termination][
|
2626
|
+
# termination][2].
|
2603
2627
|
#
|
2604
2628
|
#
|
2605
2629
|
#
|
2606
|
-
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-
|
2630
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-auto-termination-policy.html
|
2631
|
+
# [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
|
2607
2632
|
#
|
2608
2633
|
# @option params [required, String] :cluster_id
|
2609
2634
|
# Specifies the ID of the Amazon EMR cluster to which the
|
@@ -2979,7 +3004,7 @@ module Aws::EMR
|
|
2979
3004
|
# Applies to Amazon EMR releases 4.0 and later. A case-insensitive list
|
2980
3005
|
# of applications for Amazon EMR to install and configure when launching
|
2981
3006
|
# the cluster. For a list of applications available for each Amazon EMR
|
2982
|
-
# release version, see the [Amazon
|
3007
|
+
# release version, see the [Amazon EMRRelease Guide][1].
|
2983
3008
|
#
|
2984
3009
|
#
|
2985
3010
|
#
|
@@ -2990,6 +3015,9 @@ module Aws::EMR
|
|
2990
3015
|
# supplied for the EMR cluster you are creating.
|
2991
3016
|
#
|
2992
3017
|
# @option params [Boolean] :visible_to_all_users
|
3018
|
+
# The VisibleToAllUsers parameter is no longer supported. By default,
|
3019
|
+
# the value is set to `true`. Setting it to `false` now has no effect.
|
3020
|
+
#
|
2993
3021
|
# Set this value to `true` so that IAM principals in the Amazon Web
|
2994
3022
|
# Services account associated with the cluster can perform EMR actions
|
2995
3023
|
# on the cluster that their IAM policies allow. This value defaults to
|
@@ -3437,6 +3465,11 @@ module Aws::EMR
|
|
3437
3465
|
req.send_request(options)
|
3438
3466
|
end
|
3439
3467
|
|
3468
|
+
# The SetVisibleToAllUsers parameter is no longer supported. Your
|
3469
|
+
# cluster may be visible to all users in your account. To restrict
|
3470
|
+
# cluster access using an IAM policy, see [Identity and Access
|
3471
|
+
# Management for EMR][1].
|
3472
|
+
#
|
3440
3473
|
# Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When
|
3441
3474
|
# `true`, IAM principals in the Amazon Web Services account can perform
|
3442
3475
|
# EMR cluster actions that their IAM policies allow. When `false`, only
|
@@ -3448,11 +3481,12 @@ module Aws::EMR
|
|
3448
3481
|
# the RunJobFlowInput$VisibleToAllUsers parameter.
|
3449
3482
|
#
|
3450
3483
|
# For more information, see [Understanding the EMR Cluster
|
3451
|
-
# VisibleToAllUsers Setting][
|
3484
|
+
# VisibleToAllUsers Setting][2] in the *Amazon EMRManagement Guide*.
|
3452
3485
|
#
|
3453
3486
|
#
|
3454
3487
|
#
|
3455
|
-
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/
|
3488
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-access-iam.html
|
3489
|
+
# [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
|
3456
3490
|
#
|
3457
3491
|
# @option params [required, Array<String>] :job_flow_ids
|
3458
3492
|
# The unique identifier of the job flow (cluster).
|
@@ -3730,7 +3764,7 @@ module Aws::EMR
|
|
3730
3764
|
params: params,
|
3731
3765
|
config: config)
|
3732
3766
|
context[:gem_name] = 'aws-sdk-emr'
|
3733
|
-
context[:gem_version] = '1.
|
3767
|
+
context[:gem_version] = '1.58.0'
|
3734
3768
|
Seahorse::Client::Request.new(handlers, context)
|
3735
3769
|
end
|
3736
3770
|
|
data/lib/aws-sdk-emr/types.rb
CHANGED
@@ -936,16 +936,11 @@ module Aws::EMR
|
|
936
936
|
# The default value is `true` if a value is not provided when creating
|
937
937
|
# a cluster using the EMR API RunJobFlow command, the CLI
|
938
938
|
# [create-cluster][1] command, or the Amazon Web Services Management
|
939
|
-
# Console.
|
940
|
-
# cluster can use the SetVisibleToAllUsers action to change the value
|
941
|
-
# on a running cluster. For more information, see [Understanding the
|
942
|
-
# EMR Cluster VisibleToAllUsers Setting][2] in the *Amazon
|
943
|
-
# EMRManagement Guide*.
|
939
|
+
# Console.
|
944
940
|
#
|
945
941
|
#
|
946
942
|
#
|
947
943
|
# [1]: https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html
|
948
|
-
# [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
|
949
944
|
# @return [Boolean]
|
950
945
|
#
|
951
946
|
# @!attribute [rw] applications
|
@@ -3390,8 +3385,8 @@ module Aws::EMR
|
|
3390
3385
|
# @return [Integer]
|
3391
3386
|
#
|
3392
3387
|
# @!attribute [rw] state
|
3393
|
-
# State of instance group. The following values are
|
3394
|
-
# STARTING, TERMINATED, and FAILED.
|
3388
|
+
# State of instance group. The following values are no longer
|
3389
|
+
# supported: STARTING, TERMINATED, and FAILED.
|
3395
3390
|
# @return [String]
|
3396
3391
|
#
|
3397
3392
|
# @!attribute [rw] last_state_change_reason
|
@@ -3952,16 +3947,11 @@ module Aws::EMR
|
|
3952
3947
|
# The default value is `true` if a value is not provided when creating
|
3953
3948
|
# a cluster using the EMR API RunJobFlow command, the CLI
|
3954
3949
|
# [create-cluster][1] command, or the Amazon Web Services Management
|
3955
|
-
# Console.
|
3956
|
-
# the cluster can use the SetVisibleToAllUsers action to change the
|
3957
|
-
# value on a running cluster. For more information, see [Understanding
|
3958
|
-
# the EMR Cluster VisibleToAllUsers Setting][2] in the *Amazon
|
3959
|
-
# EMRManagement Guide*.
|
3950
|
+
# Console.
|
3960
3951
|
#
|
3961
3952
|
#
|
3962
3953
|
#
|
3963
3954
|
# [1]: https://docs.aws.amazon.com/cli/latest/reference/emr/create-cluster.html
|
3964
|
-
# [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
|
3965
3955
|
# @return [Boolean]
|
3966
3956
|
#
|
3967
3957
|
# @!attribute [rw] job_flow_role
|
@@ -6483,7 +6473,7 @@ module Aws::EMR
|
|
6483
6473
|
# Applies to Amazon EMR releases 4.0 and later. A case-insensitive
|
6484
6474
|
# list of applications for Amazon EMR to install and configure when
|
6485
6475
|
# launching the cluster. For a list of applications available for each
|
6486
|
-
# Amazon EMR release version, see the [Amazon
|
6476
|
+
# Amazon EMR release version, see the [Amazon EMRRelease Guide][1].
|
6487
6477
|
#
|
6488
6478
|
#
|
6489
6479
|
#
|
@@ -6496,6 +6486,9 @@ module Aws::EMR
|
|
6496
6486
|
# @return [Array<Types::Configuration>]
|
6497
6487
|
#
|
6498
6488
|
# @!attribute [rw] visible_to_all_users
|
6489
|
+
# The VisibleToAllUsers parameter is no longer supported. By default,
|
6490
|
+
# the value is set to `true`. Setting it to `false` now has no effect.
|
6491
|
+
#
|
6499
6492
|
# Set this value to `true` so that IAM principals in the Amazon Web
|
6500
6493
|
# Services account associated with the cluster can perform EMR actions
|
6501
6494
|
# on the cluster that their IAM policies allow. This value defaults to
|
@@ -7199,6 +7192,13 @@ module Aws::EMR
|
|
7199
7192
|
#
|
7200
7193
|
# </note>
|
7201
7194
|
#
|
7195
|
+
# <note markdown="1"> Spot Instances with a defined duration (also known as Spot blocks) are
|
7196
|
+
# no longer available to new customers from July 1, 2021. For customers
|
7197
|
+
# who have previously used the feature, we will continue to support Spot
|
7198
|
+
# Instances with a defined duration until December 31, 2022.
|
7199
|
+
#
|
7200
|
+
# </note>
|
7201
|
+
#
|
7202
7202
|
# @note When making an API call, you may pass SpotProvisioningSpecification
|
7203
7203
|
# data as a hash:
|
7204
7204
|
#
|
@@ -7237,6 +7237,14 @@ module Aws::EMR
|
|
7237
7237
|
# marks the Spot Instance for termination and provides a Spot Instance
|
7238
7238
|
# termination notice, which gives the instance a two-minute warning
|
7239
7239
|
# before it terminates.
|
7240
|
+
#
|
7241
|
+
# <note markdown="1"> Spot Instances with a defined duration (also known as Spot blocks)
|
7242
|
+
# are no longer available to new customers from July 1, 2021. For
|
7243
|
+
# customers who have previously used the feature, we will continue to
|
7244
|
+
# support Spot Instances with a defined duration until December 31,
|
7245
|
+
# 2022.
|
7246
|
+
#
|
7247
|
+
# </note>
|
7240
7248
|
# @return [Integer]
|
7241
7249
|
#
|
7242
7250
|
# @!attribute [rw] allocation_strategy
|
@@ -7860,7 +7868,7 @@ module Aws::EMR
|
|
7860
7868
|
#
|
7861
7869
|
# @!attribute [rw] key
|
7862
7870
|
# A user-defined key, which is the minimum required information for a
|
7863
|
-
# valid tag. For more information, see [Tag
|
7871
|
+
# valid tag. For more information, see [Tag][1].
|
7864
7872
|
#
|
7865
7873
|
#
|
7866
7874
|
#
|
@@ -8028,7 +8036,7 @@ module Aws::EMR
|
|
8028
8036
|
# }
|
8029
8037
|
#
|
8030
8038
|
# @!attribute [rw] volume_type
|
8031
|
-
# The volume type. Volume types supported are gp2, io1, standard.
|
8039
|
+
# The volume type. Volume types supported are gp2, io1, and standard.
|
8032
8040
|
# @return [String]
|
8033
8041
|
#
|
8034
8042
|
# @!attribute [rw] iops
|
data/lib/aws-sdk-emr.rb
CHANGED
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.58.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: 2022-02-03 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.126.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.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|