aws-sdk-emr 1.61.0 → 1.62.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: 831dc86f3be02234167dfc478b6ae8cac9124f50c28fb1b26554edf3ec20cedc
4
- data.tar.gz: 46b024b03d2b4aedb523c859aed5ba888844776fa8924ec13e196dc79fb57e24
3
+ metadata.gz: 4245e32c0b2ca5861d24917d4f1da2dcc6850bcc0a300239305dad34dcc4a915
4
+ data.tar.gz: 024c44e94b82313c1c46a21a84726169a1777bc642941585a295338f853fce98
5
5
  SHA512:
6
- metadata.gz: c543307e6a33a904ec052f7057f9cb21de353ee59eac0c4cea720d4286f89843323913f28a6bcff9d9ab0ccd4302004c33ca7e4a8f50f72ec653ee3b90db79b1
7
- data.tar.gz: d1d6cf085ddb93c17a77b5260161b4f598e477cdf96f0b1a6539fec57929e9e1e1a6d9d052e4d15b53ec631d15bcd8344fbe1dd0f4d9668691c2d596d180b47a
6
+ metadata.gz: 07b683666ec8cb1a7a930b45f68d7a1d5adbd5d34fb61b9651815265902a106a7ef5f0f32845863603b0ef97400e3bed856484d90d8eab8ba1572317d8094739
7
+ data.tar.gz: 6a54b7d3032ba850643da1078882da4ef77f6ebb40b96680d4949f13c77f2f405d233b482118a50d8688584655446f6b696b2f92eba6560dbff7246015060cdb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.62.0 (2022-06-30)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for the ExecutionRoleArn parameter in the AddJobFlowSteps and DescribeStep APIs. Customers can use ExecutionRoleArn to specify the IAM role used for each job they submit using the AddJobFlowSteps API.
8
+
4
9
  1.61.0 (2022-06-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
1
+ 1.62.0
@@ -608,6 +608,16 @@ module Aws::EMR
608
608
  # @option params [required, Array<Types::StepConfig>] :steps
609
609
  # A list of StepConfig to be executed by the job flow.
610
610
  #
611
+ # @option params [String] :execution_role_arn
612
+ # The Amazon Resource Name (ARN) of the runtime role for a step on the
613
+ # cluster. The runtime role can be a cross-account IAM role. The runtime
614
+ # role ARN is a combination of account ID, role name, and role type
615
+ # using the following format:
616
+ # `arn:partition:service:region:account:resource`.
617
+ #
618
+ # For example, `arn:aws:iam::1234567890:role/ReadOnly` is a correctly
619
+ # formatted runtime role ARN.
620
+ #
611
621
  # @return [Types::AddJobFlowStepsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
612
622
  #
613
623
  # * {Types::AddJobFlowStepsOutput#step_ids #step_ids} => Array&lt;String&gt;
@@ -633,6 +643,7 @@ module Aws::EMR
633
643
  # },
634
644
  # },
635
645
  # ],
646
+ # execution_role_arn: "ArnType",
636
647
  # })
637
648
  #
638
649
  # @example Response structure
@@ -1456,6 +1467,7 @@ module Aws::EMR
1456
1467
  # resp.step.status.timeline.creation_date_time #=> Time
1457
1468
  # resp.step.status.timeline.start_date_time #=> Time
1458
1469
  # resp.step.status.timeline.end_date_time #=> Time
1470
+ # resp.step.execution_role_arn #=> String
1459
1471
  #
1460
1472
  #
1461
1473
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -3783,7 +3795,7 @@ module Aws::EMR
3783
3795
  params: params,
3784
3796
  config: config)
3785
3797
  context[:gem_name] = 'aws-sdk-emr'
3786
- context[:gem_version] = '1.61.0'
3798
+ context[:gem_version] = '1.62.0'
3787
3799
  Seahorse::Client::Request.new(handlers, context)
3788
3800
  end
3789
3801
 
@@ -339,6 +339,7 @@ module Aws::EMR
339
339
 
340
340
  AddJobFlowStepsInput.add_member(:job_flow_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "JobFlowId"))
341
341
  AddJobFlowStepsInput.add_member(:steps, Shapes::ShapeRef.new(shape: StepConfigList, required: true, location_name: "Steps"))
342
+ AddJobFlowStepsInput.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "ExecutionRoleArn"))
342
343
  AddJobFlowStepsInput.struct_class = Types::AddJobFlowStepsInput
343
344
 
344
345
  AddJobFlowStepsOutput.add_member(:step_ids, Shapes::ShapeRef.new(shape: StepIdsList, location_name: "StepIds"))
@@ -1334,6 +1335,7 @@ module Aws::EMR
1334
1335
  Step.add_member(:config, Shapes::ShapeRef.new(shape: HadoopStepConfig, location_name: "Config"))
1335
1336
  Step.add_member(:action_on_failure, Shapes::ShapeRef.new(shape: ActionOnFailure, location_name: "ActionOnFailure"))
1336
1337
  Step.add_member(:status, Shapes::ShapeRef.new(shape: StepStatus, location_name: "Status"))
1338
+ Step.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: OptionalArnType, location_name: "ExecutionRoleArn"))
1337
1339
  Step.struct_class = Types::Step
1338
1340
 
1339
1341
  StepConfig.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "Name"))
@@ -260,6 +260,7 @@ module Aws::EMR
260
260
  # },
261
261
  # },
262
262
  # ],
263
+ # execution_role_arn: "ArnType",
263
264
  # }
264
265
  #
265
266
  # @!attribute [rw] job_flow_id
@@ -271,11 +272,23 @@ module Aws::EMR
271
272
  # A list of StepConfig to be executed by the job flow.
272
273
  # @return [Array<Types::StepConfig>]
273
274
  #
275
+ # @!attribute [rw] execution_role_arn
276
+ # The Amazon Resource Name (ARN) of the runtime role for a step on the
277
+ # cluster. The runtime role can be a cross-account IAM role. The
278
+ # runtime role ARN is a combination of account ID, role name, and role
279
+ # type using the following format:
280
+ # `arn:partition:service:region:account:resource`.
281
+ #
282
+ # For example, `arn:aws:iam::1234567890:role/ReadOnly` is a correctly
283
+ # formatted runtime role ARN.
284
+ # @return [String]
285
+ #
274
286
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/AddJobFlowStepsInput AWS API Documentation
275
287
  #
276
288
  class AddJobFlowStepsInput < Struct.new(
277
289
  :job_flow_id,
278
- :steps)
290
+ :steps,
291
+ :execution_role_arn)
279
292
  SENSITIVE = []
280
293
  include Aws::Structure
281
294
  end
@@ -7470,6 +7483,17 @@ module Aws::EMR
7470
7483
  # The current execution status details of the cluster step.
7471
7484
  # @return [Types::StepStatus]
7472
7485
  #
7486
+ # @!attribute [rw] execution_role_arn
7487
+ # The Amazon Resource Name (ARN) of the runtime role for a step on the
7488
+ # cluster. The runtime role can be a cross-account IAM role. The
7489
+ # runtime role ARN is a combination of account ID, role name, and role
7490
+ # type using the following format:
7491
+ # `arn:partition:service:region:account:resource`.
7492
+ #
7493
+ # For example, `arn:aws:iam::1234567890:role/ReadOnly` is a correctly
7494
+ # formatted runtime role ARN.
7495
+ # @return [String]
7496
+ #
7473
7497
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Step AWS API Documentation
7474
7498
  #
7475
7499
  class Step < Struct.new(
@@ -7477,7 +7501,8 @@ module Aws::EMR
7477
7501
  :name,
7478
7502
  :config,
7479
7503
  :action_on_failure,
7480
- :status)
7504
+ :status,
7505
+ :execution_role_arn)
7481
7506
  SENSITIVE = []
7482
7507
  include Aws::Structure
7483
7508
  end
data/lib/aws-sdk-emr.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-emr/customizations'
49
49
  # @!group service
50
50
  module Aws::EMR
51
51
 
52
- GEM_VERSION = '1.61.0'
52
+ GEM_VERSION = '1.62.0'
53
53
 
54
54
  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.61.0
4
+ version: 1.62.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: 2022-06-29 00:00:00.000000000 Z
11
+ date: 2022-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core