aws-sdk-emr 1.37.0 → 1.38.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/lib/aws-sdk-emr.rb +1 -1
- data/lib/aws-sdk-emr/client.rb +12 -1
- data/lib/aws-sdk-emr/client_api.rb +11 -0
- data/lib/aws-sdk-emr/types.rb +39 -2
- 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: bbe9b21c98196adbb027fe6c58a2ece361044de4401630fc82b9f6f9a96fb9c6
|
4
|
+
data.tar.gz: fe1ba628967a74b7e64d707706b29c3eebe8e6d8e1eceb7e633883a3a0808c5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 035e3ea1d983593f596cba271a27b0d4ab4bfaf4cc3537cbcccc34c6f4d0e824d54997d1cfb0e66efe5722fcf748abcaae318ceef38ef1af0609957f859ec552
|
7
|
+
data.tar.gz: 66b0de0ed70e5bc7e348991af3db7e115eec63af70bbcf29a6974a47f0498e9cc9519d02ccb9a0cc4a88bc11bdfbae592c767db45a05bc7b3cc62548279a0e5d
|
data/lib/aws-sdk-emr.rb
CHANGED
data/lib/aws-sdk-emr/client.rb
CHANGED
@@ -845,6 +845,9 @@ module Aws::EMR
|
|
845
845
|
# resp.cluster.cluster_arn #=> String
|
846
846
|
# resp.cluster.outpost_arn #=> String
|
847
847
|
# resp.cluster.step_concurrency_level #=> Integer
|
848
|
+
# resp.cluster.placement_groups #=> Array
|
849
|
+
# resp.cluster.placement_groups[0].instance_role #=> String, one of "MASTER", "CORE", "TASK"
|
850
|
+
# resp.cluster.placement_groups[0].placement_strategy #=> String, one of "SPREAD", "PARTITION", "CLUSTER", "NONE"
|
848
851
|
#
|
849
852
|
#
|
850
853
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -2399,6 +2402,8 @@ module Aws::EMR
|
|
2399
2402
|
# @option params [Types::ManagedScalingPolicy] :managed_scaling_policy
|
2400
2403
|
# The specified managed scaling policy for an Amazon EMR cluster.
|
2401
2404
|
#
|
2405
|
+
# @option params [Array<Types::PlacementGroupConfig>] :placement_group_configs
|
2406
|
+
#
|
2402
2407
|
# @return [Types::RunJobFlowOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2403
2408
|
#
|
2404
2409
|
# * {Types::RunJobFlowOutput#job_flow_id #job_flow_id} => String
|
@@ -2642,6 +2647,12 @@ module Aws::EMR
|
|
2642
2647
|
# maximum_core_capacity_units: 1,
|
2643
2648
|
# },
|
2644
2649
|
# },
|
2650
|
+
# placement_group_configs: [
|
2651
|
+
# {
|
2652
|
+
# instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
|
2653
|
+
# placement_strategy: "SPREAD", # accepts SPREAD, PARTITION, CLUSTER, NONE
|
2654
|
+
# },
|
2655
|
+
# ],
|
2645
2656
|
# })
|
2646
2657
|
#
|
2647
2658
|
# @example Response structure
|
@@ -2897,7 +2908,7 @@ module Aws::EMR
|
|
2897
2908
|
params: params,
|
2898
2909
|
config: config)
|
2899
2910
|
context[:gem_name] = 'aws-sdk-emr'
|
2900
|
-
context[:gem_version] = '1.
|
2911
|
+
context[:gem_version] = '1.38.0'
|
2901
2912
|
Seahorse::Client::Request.new(handlers, context)
|
2902
2913
|
end
|
2903
2914
|
|
@@ -195,6 +195,9 @@ module Aws::EMR
|
|
195
195
|
OnDemandProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'OnDemandProvisioningAllocationStrategy')
|
196
196
|
OnDemandProvisioningSpecification = Shapes::StructureShape.new(name: 'OnDemandProvisioningSpecification')
|
197
197
|
OptionalArnType = Shapes::StringShape.new(name: 'OptionalArnType')
|
198
|
+
PlacementGroupConfig = Shapes::StructureShape.new(name: 'PlacementGroupConfig')
|
199
|
+
PlacementGroupConfigList = Shapes::ListShape.new(name: 'PlacementGroupConfigList')
|
200
|
+
PlacementGroupStrategy = Shapes::StringShape.new(name: 'PlacementGroupStrategy')
|
198
201
|
PlacementType = Shapes::StructureShape.new(name: 'PlacementType')
|
199
202
|
Port = Shapes::IntegerShape.new(name: 'Port')
|
200
203
|
PortRange = Shapes::StructureShape.new(name: 'PortRange')
|
@@ -400,6 +403,7 @@ module Aws::EMR
|
|
400
403
|
Cluster.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "ClusterArn"))
|
401
404
|
Cluster.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: OptionalArnType, location_name: "OutpostArn"))
|
402
405
|
Cluster.add_member(:step_concurrency_level, Shapes::ShapeRef.new(shape: Integer, location_name: "StepConcurrencyLevel"))
|
406
|
+
Cluster.add_member(:placement_groups, Shapes::ShapeRef.new(shape: PlacementGroupConfigList, location_name: "PlacementGroups"))
|
403
407
|
Cluster.struct_class = Types::Cluster
|
404
408
|
|
405
409
|
ClusterStateChangeReason.add_member(:code, Shapes::ShapeRef.new(shape: ClusterStateChangeReasonCode, location_name: "Code"))
|
@@ -969,6 +973,12 @@ module Aws::EMR
|
|
969
973
|
OnDemandProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandProvisioningAllocationStrategy, required: true, location_name: "AllocationStrategy"))
|
970
974
|
OnDemandProvisioningSpecification.struct_class = Types::OnDemandProvisioningSpecification
|
971
975
|
|
976
|
+
PlacementGroupConfig.add_member(:instance_role, Shapes::ShapeRef.new(shape: InstanceRoleType, required: true, location_name: "InstanceRole"))
|
977
|
+
PlacementGroupConfig.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementGroupStrategy, location_name: "PlacementStrategy"))
|
978
|
+
PlacementGroupConfig.struct_class = Types::PlacementGroupConfig
|
979
|
+
|
980
|
+
PlacementGroupConfigList.member = Shapes::ShapeRef.new(shape: PlacementGroupConfig)
|
981
|
+
|
972
982
|
PlacementType.add_member(:availability_zone, Shapes::ShapeRef.new(shape: XmlString, location_name: "AvailabilityZone"))
|
973
983
|
PlacementType.add_member(:availability_zones, Shapes::ShapeRef.new(shape: XmlStringMaxLen256List, location_name: "AvailabilityZones"))
|
974
984
|
PlacementType.struct_class = Types::PlacementType
|
@@ -1044,6 +1054,7 @@ module Aws::EMR
|
|
1044
1054
|
RunJobFlowInput.add_member(:kerberos_attributes, Shapes::ShapeRef.new(shape: KerberosAttributes, location_name: "KerberosAttributes"))
|
1045
1055
|
RunJobFlowInput.add_member(:step_concurrency_level, Shapes::ShapeRef.new(shape: Integer, location_name: "StepConcurrencyLevel"))
|
1046
1056
|
RunJobFlowInput.add_member(:managed_scaling_policy, Shapes::ShapeRef.new(shape: ManagedScalingPolicy, location_name: "ManagedScalingPolicy"))
|
1057
|
+
RunJobFlowInput.add_member(:placement_group_configs, Shapes::ShapeRef.new(shape: PlacementGroupConfigList, location_name: "PlacementGroupConfigs"))
|
1047
1058
|
RunJobFlowInput.struct_class = Types::RunJobFlowInput
|
1048
1059
|
|
1049
1060
|
RunJobFlowOutput.add_member(:job_flow_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "JobFlowId"))
|
data/lib/aws-sdk-emr/types.rb
CHANGED
@@ -1000,6 +1000,9 @@ module Aws::EMR
|
|
1000
1000
|
# Specifies the number of steps that can be executed concurrently.
|
1001
1001
|
# @return [Integer]
|
1002
1002
|
#
|
1003
|
+
# @!attribute [rw] placement_groups
|
1004
|
+
# @return [Array<Types::PlacementGroupConfig>]
|
1005
|
+
#
|
1003
1006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Cluster AWS API Documentation
|
1004
1007
|
#
|
1005
1008
|
class Cluster < Struct.new(
|
@@ -1031,7 +1034,8 @@ module Aws::EMR
|
|
1031
1034
|
:kerberos_attributes,
|
1032
1035
|
:cluster_arn,
|
1033
1036
|
:outpost_arn,
|
1034
|
-
:step_concurrency_level
|
1037
|
+
:step_concurrency_level,
|
1038
|
+
:placement_groups)
|
1035
1039
|
SENSITIVE = []
|
1036
1040
|
include Aws::Structure
|
1037
1041
|
end
|
@@ -4810,6 +4814,29 @@ module Aws::EMR
|
|
4810
4814
|
include Aws::Structure
|
4811
4815
|
end
|
4812
4816
|
|
4817
|
+
# @note When making an API call, you may pass PlacementGroupConfig
|
4818
|
+
# data as a hash:
|
4819
|
+
#
|
4820
|
+
# {
|
4821
|
+
# instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
|
4822
|
+
# placement_strategy: "SPREAD", # accepts SPREAD, PARTITION, CLUSTER, NONE
|
4823
|
+
# }
|
4824
|
+
#
|
4825
|
+
# @!attribute [rw] instance_role
|
4826
|
+
# @return [String]
|
4827
|
+
#
|
4828
|
+
# @!attribute [rw] placement_strategy
|
4829
|
+
# @return [String]
|
4830
|
+
#
|
4831
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PlacementGroupConfig AWS API Documentation
|
4832
|
+
#
|
4833
|
+
class PlacementGroupConfig < Struct.new(
|
4834
|
+
:instance_role,
|
4835
|
+
:placement_strategy)
|
4836
|
+
SENSITIVE = []
|
4837
|
+
include Aws::Structure
|
4838
|
+
end
|
4839
|
+
|
4813
4840
|
# The Amazon EC2 Availability Zone configuration of the cluster (job
|
4814
4841
|
# flow).
|
4815
4842
|
#
|
@@ -5394,6 +5421,12 @@ module Aws::EMR
|
|
5394
5421
|
# maximum_core_capacity_units: 1,
|
5395
5422
|
# },
|
5396
5423
|
# },
|
5424
|
+
# placement_group_configs: [
|
5425
|
+
# {
|
5426
|
+
# instance_role: "MASTER", # required, accepts MASTER, CORE, TASK
|
5427
|
+
# placement_strategy: "SPREAD", # accepts SPREAD, PARTITION, CLUSTER, NONE
|
5428
|
+
# },
|
5429
|
+
# ],
|
5397
5430
|
# }
|
5398
5431
|
#
|
5399
5432
|
# @!attribute [rw] name
|
@@ -5632,6 +5665,9 @@ module Aws::EMR
|
|
5632
5665
|
# The specified managed scaling policy for an Amazon EMR cluster.
|
5633
5666
|
# @return [Types::ManagedScalingPolicy]
|
5634
5667
|
#
|
5668
|
+
# @!attribute [rw] placement_group_configs
|
5669
|
+
# @return [Array<Types::PlacementGroupConfig>]
|
5670
|
+
#
|
5635
5671
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowInput AWS API Documentation
|
5636
5672
|
#
|
5637
5673
|
class RunJobFlowInput < Struct.new(
|
@@ -5660,7 +5696,8 @@ module Aws::EMR
|
|
5660
5696
|
:repo_upgrade_on_boot,
|
5661
5697
|
:kerberos_attributes,
|
5662
5698
|
:step_concurrency_level,
|
5663
|
-
:managed_scaling_policy
|
5699
|
+
:managed_scaling_policy,
|
5700
|
+
:placement_group_configs)
|
5664
5701
|
SENSITIVE = []
|
5665
5702
|
include Aws::Structure
|
5666
5703
|
end
|
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.38.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-09-
|
11
|
+
date: 2020-09-30 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|