aws-sdk-emr 1.120.0 → 1.121.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: faaccb9fa6a7dedf3cbfc17ada2a401452971c73c79d63af0c63c67e13563915
4
- data.tar.gz: d33ffc7b9c3c59c99c015bdcbcbb66b644ae6b854525920007f5417de3f9ac99
3
+ metadata.gz: 728af65ff71caf92ffc719a5e5524298890de9b83fe6160ddc922e9abe244571
4
+ data.tar.gz: f78eb631d324d29c221a26f1088d67f887213e68b61e884ec6ff15f4e9028d26
5
5
  SHA512:
6
- metadata.gz: e3419993ea69d767b03fb021a428c835758b2eca79a50e2b42ebac497bef0512937a0a0385ee350d876b295ba7bb47657f5357c73c79c991922b746825a396e2
7
- data.tar.gz: 59a804e6b591c51298d067f6629ad38e777b42bab8a044ac3dd198a915050836d3947087a9a8acdf9e84a3beaaf593e7d3fe369678ea302e8c5bdf8bf9d52165
6
+ metadata.gz: af0e7c0c120717aae7354c439e676e30fd83728af4c110683b8c0478758620f94286cfe89391fa2cc5ee4c97b625967fc3c1d8068951bc854a6416ef757366ac
7
+ data.tar.gz: 340fea68423c98a2fea7c718a1200552fcd2504dfc649ab4a2808ed304b04f413352cf597872bc338de43849508f569d52e1b600a610a5c575dc459c256c6cca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.121.0 (2025-11-20)
5
+ ------------------
6
+
7
+ * Feature - Add support for configuring S3 destination for step logs on a per-step basis.
8
+
4
9
  1.120.0 (2025-11-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.120.0
1
+ 1.121.0
@@ -774,6 +774,12 @@ module Aws::EMR
774
774
  # main_class: "XmlString",
775
775
  # args: ["XmlString"],
776
776
  # },
777
+ # step_monitoring_configuration: {
778
+ # s3_monitoring_configuration: {
779
+ # log_uri: "XmlString",
780
+ # encryption_key_arn: "XmlString",
781
+ # },
782
+ # },
777
783
  # },
778
784
  # ],
779
785
  # execution_role_arn: "ArnType",
@@ -1500,6 +1506,8 @@ module Aws::EMR
1500
1506
  # resp.job_flows[0].steps[0].step_config.hadoop_jar_step.main_class #=> String
1501
1507
  # resp.job_flows[0].steps[0].step_config.hadoop_jar_step.args #=> Array
1502
1508
  # resp.job_flows[0].steps[0].step_config.hadoop_jar_step.args[0] #=> String
1509
+ # resp.job_flows[0].steps[0].step_config.step_monitoring_configuration.s3_monitoring_configuration.log_uri #=> String
1510
+ # resp.job_flows[0].steps[0].step_config.step_monitoring_configuration.s3_monitoring_configuration.encryption_key_arn #=> String
1503
1511
  # resp.job_flows[0].steps[0].execution_status_detail.state #=> String, one of "PENDING", "RUNNING", "CONTINUE", "COMPLETED", "CANCELLED", "FAILED", "INTERRUPTED"
1504
1512
  # resp.job_flows[0].steps[0].execution_status_detail.creation_date_time #=> Time
1505
1513
  # resp.job_flows[0].steps[0].execution_status_detail.start_date_time #=> Time
@@ -1738,6 +1746,8 @@ module Aws::EMR
1738
1746
  # resp.step.status.timeline.start_date_time #=> Time
1739
1747
  # resp.step.status.timeline.end_date_time #=> Time
1740
1748
  # resp.step.execution_role_arn #=> String
1749
+ # resp.step.log_uri #=> String
1750
+ # resp.step.encryption_key_arn #=> String
1741
1751
  #
1742
1752
  #
1743
1753
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -2740,6 +2750,8 @@ module Aws::EMR
2740
2750
  # resp.steps[0].status.timeline.creation_date_time #=> Time
2741
2751
  # resp.steps[0].status.timeline.start_date_time #=> Time
2742
2752
  # resp.steps[0].status.timeline.end_date_time #=> Time
2753
+ # resp.steps[0].log_uri #=> String
2754
+ # resp.steps[0].encryption_key_arn #=> String
2743
2755
  # resp.marker #=> String
2744
2756
  #
2745
2757
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListSteps AWS API Documentation
@@ -3938,6 +3950,12 @@ module Aws::EMR
3938
3950
  # main_class: "XmlString",
3939
3951
  # args: ["XmlString"],
3940
3952
  # },
3953
+ # step_monitoring_configuration: {
3954
+ # s3_monitoring_configuration: {
3955
+ # log_uri: "XmlString",
3956
+ # encryption_key_arn: "XmlString",
3957
+ # },
3958
+ # },
3941
3959
  # },
3942
3960
  # ],
3943
3961
  # bootstrap_actions: [
@@ -4535,7 +4553,7 @@ module Aws::EMR
4535
4553
  tracer: tracer
4536
4554
  )
4537
4555
  context[:gem_name] = 'aws-sdk-emr'
4538
- context[:gem_version] = '1.120.0'
4556
+ context[:gem_version] = '1.121.0'
4539
4557
  Seahorse::Client::Request.new(handlers, context)
4540
4558
  end
4541
4559
 
@@ -289,6 +289,7 @@ module Aws::EMR
289
289
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
290
290
  RunJobFlowInput = Shapes::StructureShape.new(name: 'RunJobFlowInput')
291
291
  RunJobFlowOutput = Shapes::StructureShape.new(name: 'RunJobFlowOutput')
292
+ S3MonitoringConfiguration = Shapes::StructureShape.new(name: 'S3MonitoringConfiguration')
292
293
  ScaleDownBehavior = Shapes::StringShape.new(name: 'ScaleDownBehavior')
293
294
  ScalingAction = Shapes::StructureShape.new(name: 'ScalingAction')
294
295
  ScalingConstraints = Shapes::StructureShape.new(name: 'ScalingConstraints')
@@ -328,6 +329,7 @@ module Aws::EMR
328
329
  StepExecutionStatusDetail = Shapes::StructureShape.new(name: 'StepExecutionStatusDetail')
329
330
  StepId = Shapes::StringShape.new(name: 'StepId')
330
331
  StepIdsList = Shapes::ListShape.new(name: 'StepIdsList')
332
+ StepMonitoringConfiguration = Shapes::StructureShape.new(name: 'StepMonitoringConfiguration')
331
333
  StepState = Shapes::StringShape.new(name: 'StepState')
332
334
  StepStateChangeReason = Shapes::StructureShape.new(name: 'StepStateChangeReason')
333
335
  StepStateChangeReasonCode = Shapes::StringShape.new(name: 'StepStateChangeReasonCode')
@@ -1447,6 +1449,10 @@ module Aws::EMR
1447
1449
  RunJobFlowOutput.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: ArnType, location_name: "ClusterArn"))
1448
1450
  RunJobFlowOutput.struct_class = Types::RunJobFlowOutput
1449
1451
 
1452
+ S3MonitoringConfiguration.add_member(:log_uri, Shapes::ShapeRef.new(shape: XmlString, location_name: "LogUri"))
1453
+ S3MonitoringConfiguration.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: XmlString, location_name: "EncryptionKeyArn"))
1454
+ S3MonitoringConfiguration.struct_class = Types::S3MonitoringConfiguration
1455
+
1450
1456
  ScalingAction.add_member(:market, Shapes::ShapeRef.new(shape: MarketType, location_name: "Market"))
1451
1457
  ScalingAction.add_member(:simple_scaling_policy_configuration, Shapes::ShapeRef.new(shape: SimpleScalingPolicyConfiguration, required: true, location_name: "SimpleScalingPolicyConfiguration"))
1452
1458
  ScalingAction.struct_class = Types::ScalingAction
@@ -1561,11 +1567,14 @@ module Aws::EMR
1561
1567
  Step.add_member(:action_on_failure, Shapes::ShapeRef.new(shape: ActionOnFailure, location_name: "ActionOnFailure"))
1562
1568
  Step.add_member(:status, Shapes::ShapeRef.new(shape: StepStatus, location_name: "Status"))
1563
1569
  Step.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: OptionalArnType, location_name: "ExecutionRoleArn"))
1570
+ Step.add_member(:log_uri, Shapes::ShapeRef.new(shape: String, location_name: "LogUri"))
1571
+ Step.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "EncryptionKeyArn"))
1564
1572
  Step.struct_class = Types::Step
1565
1573
 
1566
1574
  StepConfig.add_member(:name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "Name"))
1567
1575
  StepConfig.add_member(:action_on_failure, Shapes::ShapeRef.new(shape: ActionOnFailure, location_name: "ActionOnFailure"))
1568
1576
  StepConfig.add_member(:hadoop_jar_step, Shapes::ShapeRef.new(shape: HadoopJarStepConfig, required: true, location_name: "HadoopJarStep"))
1577
+ StepConfig.add_member(:step_monitoring_configuration, Shapes::ShapeRef.new(shape: StepMonitoringConfiguration, location_name: "StepMonitoringConfiguration"))
1569
1578
  StepConfig.struct_class = Types::StepConfig
1570
1579
 
1571
1580
  StepConfigList.member = Shapes::ShapeRef.new(shape: StepConfig)
@@ -1585,6 +1594,9 @@ module Aws::EMR
1585
1594
 
1586
1595
  StepIdsList.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen256)
1587
1596
 
1597
+ StepMonitoringConfiguration.add_member(:s3_monitoring_configuration, Shapes::ShapeRef.new(shape: S3MonitoringConfiguration, location_name: "S3MonitoringConfiguration"))
1598
+ StepMonitoringConfiguration.struct_class = Types::StepMonitoringConfiguration
1599
+
1588
1600
  StepStateChangeReason.add_member(:code, Shapes::ShapeRef.new(shape: StepStateChangeReasonCode, location_name: "Code"))
1589
1601
  StepStateChangeReason.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1590
1602
  StepStateChangeReason.struct_class = Types::StepStateChangeReason
@@ -1602,6 +1614,8 @@ module Aws::EMR
1602
1614
  StepSummary.add_member(:config, Shapes::ShapeRef.new(shape: HadoopStepConfig, location_name: "Config"))
1603
1615
  StepSummary.add_member(:action_on_failure, Shapes::ShapeRef.new(shape: ActionOnFailure, location_name: "ActionOnFailure"))
1604
1616
  StepSummary.add_member(:status, Shapes::ShapeRef.new(shape: StepStatus, location_name: "Status"))
1617
+ StepSummary.add_member(:log_uri, Shapes::ShapeRef.new(shape: String, location_name: "LogUri"))
1618
+ StepSummary.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: String, location_name: "EncryptionKeyArn"))
1605
1619
  StepSummary.struct_class = Types::StepSummary
1606
1620
 
1607
1621
  StepSummaryList.member = Shapes::ShapeRef.new(shape: StepSummary)
@@ -6029,6 +6029,31 @@ module Aws::EMR
6029
6029
  include Aws::Structure
6030
6030
  end
6031
6031
 
6032
+ # The Amazon S3 configuration for monitoring log publishing. You can
6033
+ # configure your step to send log information to Amazon S3. When it's
6034
+ # specified, it takes precedence over the cluster's logging
6035
+ # configuration. If you don't specify this configuration entirely, or
6036
+ # omit individual fields, EMR falls back to cluster-level logging
6037
+ # behavior.
6038
+ #
6039
+ # @!attribute [rw] log_uri
6040
+ # The Amazon S3 destination URI for log publishing.
6041
+ # @return [String]
6042
+ #
6043
+ # @!attribute [rw] encryption_key_arn
6044
+ # The KMS key ARN to encrypt the logs published to the given Amazon S3
6045
+ # destination.
6046
+ # @return [String]
6047
+ #
6048
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/S3MonitoringConfiguration AWS API Documentation
6049
+ #
6050
+ class S3MonitoringConfiguration < Struct.new(
6051
+ :log_uri,
6052
+ :encryption_key_arn)
6053
+ SENSITIVE = []
6054
+ include Aws::Structure
6055
+ end
6056
+
6032
6057
  # The type of adjustment the automatic scaling activity makes when
6033
6058
  # triggered, and the periodicity of the adjustment.
6034
6059
  #
@@ -6716,6 +6741,15 @@ module Aws::EMR
6716
6741
  # formatted runtime role ARN.
6717
6742
  # @return [String]
6718
6743
  #
6744
+ # @!attribute [rw] log_uri
6745
+ # The Amazon S3 destination URI for log publishing.
6746
+ # @return [String]
6747
+ #
6748
+ # @!attribute [rw] encryption_key_arn
6749
+ # The KMS key ARN to encrypt the logs published to the given Amazon S3
6750
+ # destination.
6751
+ # @return [String]
6752
+ #
6719
6753
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/Step AWS API Documentation
6720
6754
  #
6721
6755
  class Step < Struct.new(
@@ -6724,7 +6758,9 @@ module Aws::EMR
6724
6758
  :config,
6725
6759
  :action_on_failure,
6726
6760
  :status,
6727
- :execution_role_arn)
6761
+ :execution_role_arn,
6762
+ :log_uri,
6763
+ :encryption_key_arn)
6728
6764
  SENSITIVE = []
6729
6765
  include Aws::Structure
6730
6766
  end
@@ -6768,12 +6804,17 @@ module Aws::EMR
6768
6804
  # The JAR file used for the step.
6769
6805
  # @return [Types::HadoopJarStepConfig]
6770
6806
  #
6807
+ # @!attribute [rw] step_monitoring_configuration
6808
+ # Object that holds configuration properties for logging.
6809
+ # @return [Types::StepMonitoringConfiguration]
6810
+ #
6771
6811
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepConfig AWS API Documentation
6772
6812
  #
6773
6813
  class StepConfig < Struct.new(
6774
6814
  :name,
6775
6815
  :action_on_failure,
6776
- :hadoop_jar_step)
6816
+ :hadoop_jar_step,
6817
+ :step_monitoring_configuration)
6777
6818
  SENSITIVE = []
6778
6819
  include Aws::Structure
6779
6820
  end
@@ -6831,6 +6872,25 @@ module Aws::EMR
6831
6872
  include Aws::Structure
6832
6873
  end
6833
6874
 
6875
+ # Object that holds configuration properties for logging.
6876
+ #
6877
+ # @!attribute [rw] s3_monitoring_configuration
6878
+ # The Amazon S3 configuration for monitoring log publishing. You can
6879
+ # configure your step to send log information to Amazon S3. When it's
6880
+ # specified, it takes precedence over the cluster's logging
6881
+ # configuration. If you don't specify this configuration entirely, or
6882
+ # omit individual fields, EMR falls back to cluster-level logging
6883
+ # behavior.
6884
+ # @return [Types::S3MonitoringConfiguration]
6885
+ #
6886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepMonitoringConfiguration AWS API Documentation
6887
+ #
6888
+ class StepMonitoringConfiguration < Struct.new(
6889
+ :s3_monitoring_configuration)
6890
+ SENSITIVE = []
6891
+ include Aws::Structure
6892
+ end
6893
+
6834
6894
  # The details of the step state change reason.
6835
6895
  #
6836
6896
  # @!attribute [rw] code
@@ -6905,6 +6965,15 @@ module Aws::EMR
6905
6965
  # The current execution status details of the cluster step.
6906
6966
  # @return [Types::StepStatus]
6907
6967
  #
6968
+ # @!attribute [rw] log_uri
6969
+ # The Amazon S3 destination URI for log publishing.
6970
+ # @return [String]
6971
+ #
6972
+ # @!attribute [rw] encryption_key_arn
6973
+ # The KMS key ARN to encrypt the logs published to the given Amazon S3
6974
+ # destination.
6975
+ # @return [String]
6976
+ #
6908
6977
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StepSummary AWS API Documentation
6909
6978
  #
6910
6979
  class StepSummary < Struct.new(
@@ -6912,7 +6981,9 @@ module Aws::EMR
6912
6981
  :name,
6913
6982
  :config,
6914
6983
  :action_on_failure,
6915
- :status)
6984
+ :status,
6985
+ :log_uri,
6986
+ :encryption_key_arn)
6916
6987
  SENSITIVE = []
6917
6988
  include Aws::Structure
6918
6989
  end
data/lib/aws-sdk-emr.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::EMR
55
55
  autoload :EndpointProvider, 'aws-sdk-emr/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-emr/endpoints'
57
57
 
58
- GEM_VERSION = '1.120.0'
58
+ GEM_VERSION = '1.121.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -263,7 +263,13 @@ module Aws
263
263
  jar: ::String,
264
264
  main_class: ::String?,
265
265
  args: Array[::String]?
266
- }
266
+ },
267
+ step_monitoring_configuration: {
268
+ s3_monitoring_configuration: {
269
+ log_uri: ::String?,
270
+ encryption_key_arn: ::String?
271
+ }?
272
+ }?
267
273
  },
268
274
  ],
269
275
  ?execution_role_arn: ::String
@@ -1161,7 +1167,13 @@ module Aws
1161
1167
  jar: ::String,
1162
1168
  main_class: ::String?,
1163
1169
  args: Array[::String]?
1164
- }
1170
+ },
1171
+ step_monitoring_configuration: {
1172
+ s3_monitoring_configuration: {
1173
+ log_uri: ::String?,
1174
+ encryption_key_arn: ::String?
1175
+ }?
1176
+ }?
1165
1177
  },
1166
1178
  ],
1167
1179
  ?bootstrap_actions: Array[
data/sig/types.rbs CHANGED
@@ -1360,6 +1360,12 @@ module Aws::EMR
1360
1360
  SENSITIVE: []
1361
1361
  end
1362
1362
 
1363
+ class S3MonitoringConfiguration
1364
+ attr_accessor log_uri: ::String
1365
+ attr_accessor encryption_key_arn: ::String
1366
+ SENSITIVE: []
1367
+ end
1368
+
1363
1369
  class ScalingAction
1364
1370
  attr_accessor market: ("ON_DEMAND" | "SPOT")
1365
1371
  attr_accessor simple_scaling_policy_configuration: Types::SimpleScalingPolicyConfiguration
@@ -1503,6 +1509,8 @@ module Aws::EMR
1503
1509
  attr_accessor action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")
1504
1510
  attr_accessor status: Types::StepStatus
1505
1511
  attr_accessor execution_role_arn: ::String
1512
+ attr_accessor log_uri: ::String
1513
+ attr_accessor encryption_key_arn: ::String
1506
1514
  SENSITIVE: []
1507
1515
  end
1508
1516
 
@@ -1510,6 +1518,7 @@ module Aws::EMR
1510
1518
  attr_accessor name: ::String
1511
1519
  attr_accessor action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")
1512
1520
  attr_accessor hadoop_jar_step: Types::HadoopJarStepConfig
1521
+ attr_accessor step_monitoring_configuration: Types::StepMonitoringConfiguration
1513
1522
  SENSITIVE: []
1514
1523
  end
1515
1524
 
@@ -1528,6 +1537,11 @@ module Aws::EMR
1528
1537
  SENSITIVE: []
1529
1538
  end
1530
1539
 
1540
+ class StepMonitoringConfiguration
1541
+ attr_accessor s3_monitoring_configuration: Types::S3MonitoringConfiguration
1542
+ SENSITIVE: []
1543
+ end
1544
+
1531
1545
  class StepStateChangeReason
1532
1546
  attr_accessor code: ("NONE")
1533
1547
  attr_accessor message: ::String
@@ -1548,6 +1562,8 @@ module Aws::EMR
1548
1562
  attr_accessor config: Types::HadoopStepConfig
1549
1563
  attr_accessor action_on_failure: ("TERMINATE_JOB_FLOW" | "TERMINATE_CLUSTER" | "CANCEL_AND_WAIT" | "CONTINUE")
1550
1564
  attr_accessor status: Types::StepStatus
1565
+ attr_accessor log_uri: ::String
1566
+ attr_accessor encryption_key_arn: ::String
1551
1567
  SENSITIVE: []
1552
1568
  end
1553
1569
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-emr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.120.0
4
+ version: 1.121.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services