aws-sdk-emr 1.53.0 → 1.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emr/client.rb +49 -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: 3fe6e5dc4a26fe27e315c725e3a293304c1fa5d9fa3c2559df6bdaa517e42a6e
|
4
|
+
data.tar.gz: 62b3a3fc6d791c7f78718365c933898faf053bc4ce312c5f7daba650dd5e066f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87268f67c32dd0a11e7ab9eb76c2020ecdf0e7d221ce3f326758cb3b45bfe790548bfe6b7ed003a04782c9905ff9b6263619431b347f9bd99fbe2265bba36a1f
|
7
|
+
data.tar.gz: dfca87a6dbfd7381af7f31a3f76da3a72eaf311cab3561247da187414e8717b8141fea1b085f48b2b067789af58b12c432084b65a255020ff69d6ffee3f87841
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.57.0 (2022-02-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Amazon EMR.
|
8
|
+
|
9
|
+
1.56.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.55.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.54.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.53.0 (2021-10-18)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.57.0
|
data/lib/aws-sdk-emr/client.rb
CHANGED
@@ -27,6 +27,7 @@ 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'
|
30
31
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
32
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
32
33
|
|
@@ -73,6 +74,7 @@ module Aws::EMR
|
|
73
74
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
75
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
76
|
add_plugin(Aws::Plugins::HttpChecksum)
|
77
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
76
78
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
79
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
78
80
|
|
@@ -119,7 +121,9 @@ module Aws::EMR
|
|
119
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
122
|
# are very aggressive. Construct and pass an instance of
|
121
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
123
127
|
#
|
124
128
|
# @option options [required, String] :region
|
125
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +177,10 @@ module Aws::EMR
|
|
173
177
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
178
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
179
|
#
|
180
|
+
# @option options [String] :defaults_mode ("legacy")
|
181
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
182
|
+
# accepted modes and the configuration defaults that are included.
|
183
|
+
#
|
176
184
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
185
|
# Set to true to disable SDK automatically adding host prefix
|
178
186
|
# to default service endpoint when available.
|
@@ -285,6 +293,15 @@ module Aws::EMR
|
|
285
293
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
286
294
|
# requests are made, and retries are disabled.
|
287
295
|
#
|
296
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
297
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
298
|
+
# will be used if available.
|
299
|
+
#
|
300
|
+
# @option options [Boolean] :use_fips_endpoint
|
301
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
302
|
+
# When a `fips` region is used, the region is normalized and this config
|
303
|
+
# is set to `true`.
|
304
|
+
#
|
288
305
|
# @option options [Boolean] :validate_params (true)
|
289
306
|
# When `true`, request parameters are validated before
|
290
307
|
# sending the request.
|
@@ -296,7 +313,7 @@ module Aws::EMR
|
|
296
313
|
# seconds to wait when opening a HTTP session before raising a
|
297
314
|
# `Timeout::Error`.
|
298
315
|
#
|
299
|
-
# @option options [
|
316
|
+
# @option options [Float] :http_read_timeout (60) The default
|
300
317
|
# number of seconds to wait for response data. This value can
|
301
318
|
# safely be set per-request on the session.
|
302
319
|
#
|
@@ -312,6 +329,9 @@ module Aws::EMR
|
|
312
329
|
# disables this behaviour. This value can safely be set per
|
313
330
|
# request on the session.
|
314
331
|
#
|
332
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
333
|
+
# in seconds.
|
334
|
+
#
|
315
335
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
316
336
|
# HTTP debug output will be sent to the `:logger`.
|
317
337
|
#
|
@@ -566,6 +586,11 @@ module Aws::EMR
|
|
566
586
|
# You can only add steps to a cluster that is in one of the following
|
567
587
|
# states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING.
|
568
588
|
#
|
589
|
+
# <note markdown="1"> The string values passed into `HadoopJarStep` object cannot exceed a
|
590
|
+
# total of 10240 characters.
|
591
|
+
#
|
592
|
+
# </note>
|
593
|
+
#
|
569
594
|
#
|
570
595
|
#
|
571
596
|
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/AddMoreThan256Steps.html
|
@@ -2586,15 +2611,22 @@ module Aws::EMR
|
|
2586
2611
|
req.send_request(options)
|
2587
2612
|
end
|
2588
2613
|
|
2614
|
+
# <note markdown="1"> Auto-termination is supported in Amazon EMR versions 5.30.0 and 6.1.0
|
2615
|
+
# and later. For more information, see [Using an auto-termination
|
2616
|
+
# policy][1].
|
2617
|
+
#
|
2618
|
+
# </note>
|
2619
|
+
#
|
2589
2620
|
# Creates or updates an auto-termination policy for an Amazon EMR
|
2590
2621
|
# cluster. An auto-termination policy defines the amount of idle time in
|
2591
2622
|
# seconds after which a cluster automatically terminates. For
|
2592
2623
|
# alternative cluster termination options, see [Control cluster
|
2593
|
-
# termination][
|
2624
|
+
# termination][2].
|
2594
2625
|
#
|
2595
2626
|
#
|
2596
2627
|
#
|
2597
|
-
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-
|
2628
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-auto-termination-policy.html
|
2629
|
+
# [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-termination.html
|
2598
2630
|
#
|
2599
2631
|
# @option params [required, String] :cluster_id
|
2600
2632
|
# Specifies the ID of the Amazon EMR cluster to which the
|
@@ -2970,7 +3002,7 @@ module Aws::EMR
|
|
2970
3002
|
# Applies to Amazon EMR releases 4.0 and later. A case-insensitive list
|
2971
3003
|
# of applications for Amazon EMR to install and configure when launching
|
2972
3004
|
# the cluster. For a list of applications available for each Amazon EMR
|
2973
|
-
# release version, see the [Amazon
|
3005
|
+
# release version, see the [Amazon EMRRelease Guide][1].
|
2974
3006
|
#
|
2975
3007
|
#
|
2976
3008
|
#
|
@@ -2981,6 +3013,9 @@ module Aws::EMR
|
|
2981
3013
|
# supplied for the EMR cluster you are creating.
|
2982
3014
|
#
|
2983
3015
|
# @option params [Boolean] :visible_to_all_users
|
3016
|
+
# The VisibleToAllUsers parameter is no longer supported. By default,
|
3017
|
+
# the value is set to `true`. Setting it to `false` now has no effect.
|
3018
|
+
#
|
2984
3019
|
# Set this value to `true` so that IAM principals in the Amazon Web
|
2985
3020
|
# Services account associated with the cluster can perform EMR actions
|
2986
3021
|
# on the cluster that their IAM policies allow. This value defaults to
|
@@ -3428,6 +3463,11 @@ module Aws::EMR
|
|
3428
3463
|
req.send_request(options)
|
3429
3464
|
end
|
3430
3465
|
|
3466
|
+
# The SetVisibleToAllUsers parameter is no longer supported. Your
|
3467
|
+
# cluster may be visible to all users in your account. To restrict
|
3468
|
+
# cluster access using an IAM policy, see [Identity and Access
|
3469
|
+
# Management for EMR][1].
|
3470
|
+
#
|
3431
3471
|
# Sets the Cluster$VisibleToAllUsers value for an EMR cluster. When
|
3432
3472
|
# `true`, IAM principals in the Amazon Web Services account can perform
|
3433
3473
|
# EMR cluster actions that their IAM policies allow. When `false`, only
|
@@ -3439,11 +3479,12 @@ module Aws::EMR
|
|
3439
3479
|
# the RunJobFlowInput$VisibleToAllUsers parameter.
|
3440
3480
|
#
|
3441
3481
|
# For more information, see [Understanding the EMR Cluster
|
3442
|
-
# VisibleToAllUsers Setting][
|
3482
|
+
# VisibleToAllUsers Setting][2] in the *Amazon EMRManagement Guide*.
|
3443
3483
|
#
|
3444
3484
|
#
|
3445
3485
|
#
|
3446
|
-
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/
|
3486
|
+
# [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-plan-access-iam.html
|
3487
|
+
# [2]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/security_iam_emr-with-iam.html#security_set_visible_to_all_users
|
3447
3488
|
#
|
3448
3489
|
# @option params [required, Array<String>] :job_flow_ids
|
3449
3490
|
# The unique identifier of the job flow (cluster).
|
@@ -3721,7 +3762,7 @@ module Aws::EMR
|
|
3721
3762
|
params: params,
|
3722
3763
|
config: config)
|
3723
3764
|
context[:gem_name] = 'aws-sdk-emr'
|
3724
|
-
context[:gem_version] = '1.
|
3765
|
+
context[:gem_version] = '1.57.0'
|
3725
3766
|
Seahorse::Client::Request.new(handlers, context)
|
3726
3767
|
end
|
3727
3768
|
|
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.57.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-02 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.125.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.125.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|