aws-sdk-emr 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29c230648d4beaedcfe0dc2194b50c2de504547f3b898d34afb9d110de5880d3
4
- data.tar.gz: 4b1e025932579a7b5c44645e8c4679043f3f9f717064819ec1f5aa2eb8aaaf09
3
+ metadata.gz: b1ab93db3d5d2ff0d62fa04b510ced47cb7bcace75f90fdc71f34cae1524c210
4
+ data.tar.gz: 95bf9f859ea996140e78fe0813de08a862b312cf5c65025dd018b0304f1ad78b
5
5
  SHA512:
6
- metadata.gz: 99ac1ee4933e5b100accb396e3c22f7972c00e4e685ad79e6178254a944e483466642451641c4ad11e2cfd0e3facbdd26df25de71fd941911ed07b93307d8a84
7
- data.tar.gz: f29f81f25703790f22c13ffb8398876a5e3ce4c0fe5baff82d74ce908a7e1215e2775ab3cacd0986be4b27619bf56556c937fd7751f5ab614b736ee0c68c9539
6
+ metadata.gz: c77ee51431d5642bc13cb3f8ca9f972f209910f5a76495a12e3dc56d1d4b9d661764857d038cc34fe2d536d7bbe174d668c74df371d3cb74de0e3ac9616053be
7
+ data.tar.gz: 8aa00d9e43226e511346809bb0c4c23a60d2458a4634de5f23cffbde3b93514d56e77ec6699bce9a970f3787bf9ed51b7098a27b7b34aa65f47bdbac24f6b7b2
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -46,6 +48,6 @@ require_relative 'aws-sdk-emr/customizations'
46
48
  # @service
47
49
  module Aws::EMR
48
50
 
49
- GEM_VERSION = '1.26.0'
51
+ GEM_VERSION = '1.31.0'
50
52
 
51
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::EMR
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
74
78
 
@@ -105,7 +109,7 @@ module Aws::EMR
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -161,7 +165,7 @@ module Aws::EMR
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::EMR
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -783,6 +787,7 @@ module Aws::EMR
783
787
  # resp.cluster.ec2_instance_attributes.additional_slave_security_groups[0] #=> String
784
788
  # resp.cluster.instance_collection_type #=> String, one of "INSTANCE_FLEET", "INSTANCE_GROUP"
785
789
  # resp.cluster.log_uri #=> String
790
+ # resp.cluster.log_encryption_kms_key_id #=> String
786
791
  # resp.cluster.requested_ami_version #=> String
787
792
  # resp.cluster.running_ami_version #=> String
788
793
  # resp.cluster.release_label #=> String
@@ -890,6 +895,7 @@ module Aws::EMR
890
895
  # resp.job_flows[0].job_flow_id #=> String
891
896
  # resp.job_flows[0].name #=> String
892
897
  # resp.job_flows[0].log_uri #=> String
898
+ # resp.job_flows[0].log_encryption_kms_key_id #=> String
893
899
  # resp.job_flows[0].ami_version #=> String
894
900
  # resp.job_flows[0].execution_status_detail.state #=> String, one of "STARTING", "BOOTSTRAPPING", "RUNNING", "WAITING", "SHUTTING_DOWN", "TERMINATED", "COMPLETED", "FAILED"
895
901
  # resp.job_flows[0].execution_status_detail.creation_date_time #=> Time
@@ -1104,6 +1110,7 @@ module Aws::EMR
1104
1110
  # resp.managed_scaling_policy.compute_limits.minimum_capacity_units #=> Integer
1105
1111
  # resp.managed_scaling_policy.compute_limits.maximum_capacity_units #=> Integer
1106
1112
  # resp.managed_scaling_policy.compute_limits.maximum_on_demand_capacity_units #=> Integer
1113
+ # resp.managed_scaling_policy.compute_limits.maximum_core_capacity_units #=> Integer
1107
1114
  #
1108
1115
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/GetManagedScalingPolicy AWS API Documentation
1109
1116
  #
@@ -1889,6 +1896,7 @@ module Aws::EMR
1889
1896
  # minimum_capacity_units: 1, # required
1890
1897
  # maximum_capacity_units: 1, # required
1891
1898
  # maximum_on_demand_capacity_units: 1,
1899
+ # maximum_core_capacity_units: 1,
1892
1900
  # },
1893
1901
  # },
1894
1902
  # })
@@ -2035,6 +2043,12 @@ module Aws::EMR
2035
2043
  # The location in Amazon S3 to write the log files of the job flow. If a
2036
2044
  # value is not provided, logs are not created.
2037
2045
  #
2046
+ # @option params [String] :log_encryption_kms_key_id
2047
+ # The AWS KMS customer master key (CMK) used for encrypting log files.
2048
+ # If a value is not provided, the logs will remain encrypted by AES-256.
2049
+ # This attribute is only available with EMR version 5.30.0 and later,
2050
+ # excluding EMR 6.0.0.
2051
+ #
2038
2052
  # @option params [String] :additional_info
2039
2053
  # A JSON string for selecting additional features.
2040
2054
  #
@@ -2241,6 +2255,7 @@ module Aws::EMR
2241
2255
  # resp = client.run_job_flow({
2242
2256
  # name: "XmlStringMaxLen256", # required
2243
2257
  # log_uri: "XmlString",
2258
+ # log_encryption_kms_key_id: "XmlString",
2244
2259
  # additional_info: "XmlString",
2245
2260
  # ami_version: "XmlStringMaxLen256",
2246
2261
  # release_label: "XmlStringMaxLen256",
@@ -2466,6 +2481,7 @@ module Aws::EMR
2466
2481
  # minimum_capacity_units: 1, # required
2467
2482
  # maximum_capacity_units: 1, # required
2468
2483
  # maximum_on_demand_capacity_units: 1,
2484
+ # maximum_core_capacity_units: 1,
2469
2485
  # },
2470
2486
  # },
2471
2487
  # })
@@ -2620,7 +2636,7 @@ module Aws::EMR
2620
2636
  params: params,
2621
2637
  config: config)
2622
2638
  context[:gem_name] = 'aws-sdk-emr'
2623
- context[:gem_version] = '1.26.0'
2639
+ context[:gem_version] = '1.31.0'
2624
2640
  Seahorse::Client::Request.new(handlers, context)
2625
2641
  end
2626
2642
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -359,6 +361,7 @@ module Aws::EMR
359
361
  Cluster.add_member(:ec2_instance_attributes, Shapes::ShapeRef.new(shape: Ec2InstanceAttributes, location_name: "Ec2InstanceAttributes"))
360
362
  Cluster.add_member(:instance_collection_type, Shapes::ShapeRef.new(shape: InstanceCollectionType, location_name: "InstanceCollectionType"))
361
363
  Cluster.add_member(:log_uri, Shapes::ShapeRef.new(shape: String, location_name: "LogUri"))
364
+ Cluster.add_member(:log_encryption_kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "LogEncryptionKmsKeyId"))
362
365
  Cluster.add_member(:requested_ami_version, Shapes::ShapeRef.new(shape: String, location_name: "RequestedAmiVersion"))
363
366
  Cluster.add_member(:running_ami_version, Shapes::ShapeRef.new(shape: String, location_name: "RunningAmiVersion"))
364
367
  Cluster.add_member(:release_label, Shapes::ShapeRef.new(shape: String, location_name: "ReleaseLabel"))
@@ -420,6 +423,7 @@ module Aws::EMR
420
423
  ComputeLimits.add_member(:minimum_capacity_units, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MinimumCapacityUnits"))
421
424
  ComputeLimits.add_member(:maximum_capacity_units, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "MaximumCapacityUnits"))
422
425
  ComputeLimits.add_member(:maximum_on_demand_capacity_units, Shapes::ShapeRef.new(shape: Integer, location_name: "MaximumOnDemandCapacityUnits"))
426
+ ComputeLimits.add_member(:maximum_core_capacity_units, Shapes::ShapeRef.new(shape: Integer, location_name: "MaximumCoreCapacityUnits"))
423
427
  ComputeLimits.struct_class = Types::ComputeLimits
424
428
 
425
429
  Configuration.add_member(:classification, Shapes::ShapeRef.new(shape: String, location_name: "Classification"))
@@ -735,6 +739,7 @@ module Aws::EMR
735
739
  JobFlowDetail.add_member(:job_flow_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "JobFlowId"))
736
740
  JobFlowDetail.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "Name"))
737
741
  JobFlowDetail.add_member(:log_uri, Shapes::ShapeRef.new(shape: XmlString, location_name: "LogUri"))
742
+ JobFlowDetail.add_member(:log_encryption_kms_key_id, Shapes::ShapeRef.new(shape: XmlString, location_name: "LogEncryptionKmsKeyId"))
738
743
  JobFlowDetail.add_member(:ami_version, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "AmiVersion"))
739
744
  JobFlowDetail.add_member(:execution_status_detail, Shapes::ShapeRef.new(shape: JobFlowExecutionStatusDetail, required: true, location_name: "ExecutionStatusDetail"))
740
745
  JobFlowDetail.add_member(:instances, Shapes::ShapeRef.new(shape: JobFlowInstancesDetail, required: true, location_name: "Instances"))
@@ -948,6 +953,7 @@ module Aws::EMR
948
953
 
949
954
  RunJobFlowInput.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "Name"))
950
955
  RunJobFlowInput.add_member(:log_uri, Shapes::ShapeRef.new(shape: XmlString, location_name: "LogUri"))
956
+ RunJobFlowInput.add_member(:log_encryption_kms_key_id, Shapes::ShapeRef.new(shape: XmlString, location_name: "LogEncryptionKmsKeyId"))
951
957
  RunJobFlowInput.add_member(:additional_info, Shapes::ShapeRef.new(shape: XmlString, location_name: "AdditionalInfo"))
952
958
  RunJobFlowInput.add_member(:ami_version, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "AmiVersion"))
953
959
  RunJobFlowInput.add_member(:release_label, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "ReleaseLabel"))
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -819,6 +821,12 @@ module Aws::EMR
819
821
  # stored.
820
822
  # @return [String]
821
823
  #
824
+ # @!attribute [rw] log_encryption_kms_key_id
825
+ # The AWS KMS customer master key (CMK) used for encrypting log files.
826
+ # This attribute is only available with EMR version 5.30.0 and later,
827
+ # excluding EMR 6.0.0.
828
+ # @return [String]
829
+ #
822
830
  # @!attribute [rw] requested_ami_version
823
831
  # The AMI version requested for this cluster.
824
832
  # @return [String]
@@ -977,6 +985,7 @@ module Aws::EMR
977
985
  :ec2_instance_attributes,
978
986
  :instance_collection_type,
979
987
  :log_uri,
988
+ :log_encryption_kms_key_id,
980
989
  :requested_ami_version,
981
990
  :running_ami_version,
982
991
  :release_label,
@@ -1148,6 +1157,7 @@ module Aws::EMR
1148
1157
  # minimum_capacity_units: 1, # required
1149
1158
  # maximum_capacity_units: 1, # required
1150
1159
  # maximum_on_demand_capacity_units: 1,
1160
+ # maximum_core_capacity_units: 1,
1151
1161
  # }
1152
1162
  #
1153
1163
  # @!attribute [rw] unit_type
@@ -1171,12 +1181,19 @@ module Aws::EMR
1171
1181
  # @return [Integer]
1172
1182
  #
1173
1183
  # @!attribute [rw] maximum_on_demand_capacity_units
1174
- # The upper boundary of on-demand EC2 units. It is measured through
1184
+ # The upper boundary of On-Demand EC2 units. It is measured through
1175
1185
  # VCPU cores or instances for instance groups and measured through
1176
- # units for instance fleets. The on-demand units are not allowed to
1177
- # scale beyond this boundary. The limit only applies to the core and
1178
- # task nodes. The master node cannot be scaled after initial
1179
- # configuration.
1186
+ # units for instance fleets. The On-Demand units are not allowed to
1187
+ # scale beyond this boundary. The parameter is used to split capacity
1188
+ # allocation between On-Demand and Spot instances.
1189
+ # @return [Integer]
1190
+ #
1191
+ # @!attribute [rw] maximum_core_capacity_units
1192
+ # The upper boundary of EC2 units for core node type in a cluster. It
1193
+ # is measured through VCPU cores or instances for instance groups and
1194
+ # measured through units for instance fleets. The core units are not
1195
+ # allowed to scale beyond this boundary. The parameter is used to
1196
+ # split capacity allocation between core and task nodes.
1180
1197
  # @return [Integer]
1181
1198
  #
1182
1199
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ComputeLimits AWS API Documentation
@@ -1185,7 +1202,8 @@ module Aws::EMR
1185
1202
  :unit_type,
1186
1203
  :minimum_capacity_units,
1187
1204
  :maximum_capacity_units,
1188
- :maximum_on_demand_capacity_units)
1205
+ :maximum_on_demand_capacity_units,
1206
+ :maximum_core_capacity_units)
1189
1207
  include Aws::Structure
1190
1208
  end
1191
1209
 
@@ -3140,6 +3158,12 @@ module Aws::EMR
3140
3158
  # The location in Amazon S3 where log files for the job are stored.
3141
3159
  # @return [String]
3142
3160
  #
3161
+ # @!attribute [rw] log_encryption_kms_key_id
3162
+ # The AWS KMS customer master key (CMK) used for encrypting log files.
3163
+ # This attribute is only available with EMR version 5.30.0 and later,
3164
+ # excluding EMR 6.0.0.
3165
+ # @return [String]
3166
+ #
3143
3167
  # @!attribute [rw] ami_version
3144
3168
  # Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR
3145
3169
  # releases 4.0 and later, `ReleaseLabel` is used. To specify a custom
@@ -3220,6 +3244,7 @@ module Aws::EMR
3220
3244
  :job_flow_id,
3221
3245
  :name,
3222
3246
  :log_uri,
3247
+ :log_encryption_kms_key_id,
3223
3248
  :ami_version,
3224
3249
  :execution_status_detail,
3225
3250
  :instances,
@@ -4105,6 +4130,7 @@ module Aws::EMR
4105
4130
  # minimum_capacity_units: 1, # required
4106
4131
  # maximum_capacity_units: 1, # required
4107
4132
  # maximum_on_demand_capacity_units: 1,
4133
+ # maximum_core_capacity_units: 1,
4108
4134
  # },
4109
4135
  # }
4110
4136
  #
@@ -4489,6 +4515,7 @@ module Aws::EMR
4489
4515
  # minimum_capacity_units: 1, # required
4490
4516
  # maximum_capacity_units: 1, # required
4491
4517
  # maximum_on_demand_capacity_units: 1,
4518
+ # maximum_core_capacity_units: 1,
4492
4519
  # },
4493
4520
  # },
4494
4521
  # }
@@ -4608,6 +4635,7 @@ module Aws::EMR
4608
4635
  # {
4609
4636
  # name: "XmlStringMaxLen256", # required
4610
4637
  # log_uri: "XmlString",
4638
+ # log_encryption_kms_key_id: "XmlString",
4611
4639
  # additional_info: "XmlString",
4612
4640
  # ami_version: "XmlStringMaxLen256",
4613
4641
  # release_label: "XmlStringMaxLen256",
@@ -4833,6 +4861,7 @@ module Aws::EMR
4833
4861
  # minimum_capacity_units: 1, # required
4834
4862
  # maximum_capacity_units: 1, # required
4835
4863
  # maximum_on_demand_capacity_units: 1,
4864
+ # maximum_core_capacity_units: 1,
4836
4865
  # },
4837
4866
  # },
4838
4867
  # }
@@ -4846,6 +4875,13 @@ module Aws::EMR
4846
4875
  # a value is not provided, logs are not created.
4847
4876
  # @return [String]
4848
4877
  #
4878
+ # @!attribute [rw] log_encryption_kms_key_id
4879
+ # The AWS KMS customer master key (CMK) used for encrypting log files.
4880
+ # If a value is not provided, the logs will remain encrypted by
4881
+ # AES-256. This attribute is only available with EMR version 5.30.0
4882
+ # and later, excluding EMR 6.0.0.
4883
+ # @return [String]
4884
+ #
4849
4885
  # @!attribute [rw] additional_info
4850
4886
  # A JSON string for selecting additional features.
4851
4887
  # @return [String]
@@ -5071,6 +5107,7 @@ module Aws::EMR
5071
5107
  class RunJobFlowInput < Struct.new(
5072
5108
  :name,
5073
5109
  :log_uri,
5110
+ :log_encryption_kms_key_id,
5074
5111
  :additional_info,
5075
5112
  :ami_version,
5076
5113
  :release_label,
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
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.26.0
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: 2020-04-21 00:00:00.000000000 Z
11
+ date: 2020-06-22 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.71.0
22
+ version: 3.99.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.71.0
32
+ version: 3.99.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement