aws-sdk-emr 1.66.0 → 1.67.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: af80d55d274db442aafc223b3c8dbaf645c3895c31beda4862f5b232699382db
4
- data.tar.gz: 25b6a1c6bbe7c1cde168facaafc1cea53343aac7fd4b33eec72536fc537090a4
3
+ metadata.gz: 527e4bd9d121c4c39c78a9be66157163db50ce75a26754eecf6210c196ac4de8
4
+ data.tar.gz: 67225ee91759f8ed7f1c33d7e3368a73fa81a2a7ee3137e7c2205288f417dbf0
5
5
  SHA512:
6
- metadata.gz: ef4ace0c5ace7a33d56559d2e3064293997202f65f8a01d9967625c4d8df607beb809bb3e9663c7d7743ae9cf97ec3b01dc53a4df2cb388ab40ceb5bf2ee963a
7
- data.tar.gz: 3263c649563f7f4713f598574d5c5e6bf4d29b6a6ffb93193e667b44d196d777a7c380c6e89e1faeae557d27680c229c6a6f98ab7b7970748dc830d2176e8de3
6
+ metadata.gz: 2ecd51a847e82f8c2854d873deb9f923d1c98b39d57b5ce2a3cf28536a199372c4e16e655e9c07fc5f5c1c306996dc2951402a328c4070dd796c016c06a088f7
7
+ data.tar.gz: c687331c51b2c2160096816aea94ccd248843a477263fa66cd24f2e874bd10c2118d6ab362396f2be584fbdf218f61bd1db59e8af0af433bba9c3ffb5f5fbddb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.67.0 (2023-03-30)
5
+ ------------------
6
+
7
+ * Feature - Updated DescribeCluster and ListClusters API responses to include ErrorDetail that specifies error code, programmatically accessible error data,and an error message. ErrorDetail provides the underlying reason for cluster failure and recommends actions to simplify troubleshooting of EMR clusters.
8
+
4
9
  1.66.0 (2023-02-16)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.66.0
1
+ 1.67.0
@@ -1117,6 +1117,12 @@ module Aws::EMR
1117
1117
  # resp.cluster.status.timeline.creation_date_time #=> Time
1118
1118
  # resp.cluster.status.timeline.ready_date_time #=> Time
1119
1119
  # resp.cluster.status.timeline.end_date_time #=> Time
1120
+ # resp.cluster.status.error_details #=> Array
1121
+ # resp.cluster.status.error_details[0].error_code #=> String
1122
+ # resp.cluster.status.error_details[0].error_data #=> Array
1123
+ # resp.cluster.status.error_details[0].error_data[0] #=> Hash
1124
+ # resp.cluster.status.error_details[0].error_data[0]["String"] #=> String
1125
+ # resp.cluster.status.error_details[0].error_message #=> String
1120
1126
  # resp.cluster.ec2_instance_attributes.ec2_key_name #=> String
1121
1127
  # resp.cluster.ec2_instance_attributes.ec2_subnet_id #=> String
1122
1128
  # resp.cluster.ec2_instance_attributes.requested_ec2_subnet_ids #=> Array
@@ -1840,6 +1846,12 @@ module Aws::EMR
1840
1846
  # resp.clusters[0].status.timeline.creation_date_time #=> Time
1841
1847
  # resp.clusters[0].status.timeline.ready_date_time #=> Time
1842
1848
  # resp.clusters[0].status.timeline.end_date_time #=> Time
1849
+ # resp.clusters[0].status.error_details #=> Array
1850
+ # resp.clusters[0].status.error_details[0].error_code #=> String
1851
+ # resp.clusters[0].status.error_details[0].error_data #=> Array
1852
+ # resp.clusters[0].status.error_details[0].error_data[0] #=> Hash
1853
+ # resp.clusters[0].status.error_details[0].error_data[0]["String"] #=> String
1854
+ # resp.clusters[0].status.error_details[0].error_message #=> String
1843
1855
  # resp.clusters[0].normalized_instance_hours #=> Integer
1844
1856
  # resp.clusters[0].cluster_arn #=> String
1845
1857
  # resp.clusters[0].outpost_arn #=> String
@@ -3870,7 +3882,7 @@ module Aws::EMR
3870
3882
  params: params,
3871
3883
  config: config)
3872
3884
  context[:gem_name] = 'aws-sdk-emr'
3873
- context[:gem_version] = '1.66.0'
3885
+ context[:gem_version] = '1.67.0'
3874
3886
  Seahorse::Client::Request.new(handlers, context)
3875
3887
  end
3876
3888
 
@@ -101,6 +101,9 @@ module Aws::EMR
101
101
  EbsVolumeList = Shapes::ListShape.new(name: 'EbsVolumeList')
102
102
  Ec2InstanceAttributes = Shapes::StructureShape.new(name: 'Ec2InstanceAttributes')
103
103
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
104
+ ErrorData = Shapes::ListShape.new(name: 'ErrorData')
105
+ ErrorDetail = Shapes::StructureShape.new(name: 'ErrorDetail')
106
+ ErrorDetailList = Shapes::ListShape.new(name: 'ErrorDetailList')
104
107
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
105
108
  ExecutionEngineConfig = Shapes::StructureShape.new(name: 'ExecutionEngineConfig')
106
109
  ExecutionEngineType = Shapes::StringShape.new(name: 'ExecutionEngineType')
@@ -473,6 +476,7 @@ module Aws::EMR
473
476
  ClusterStatus.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "State"))
474
477
  ClusterStatus.add_member(:state_change_reason, Shapes::ShapeRef.new(shape: ClusterStateChangeReason, location_name: "StateChangeReason"))
475
478
  ClusterStatus.add_member(:timeline, Shapes::ShapeRef.new(shape: ClusterTimeline, location_name: "Timeline"))
479
+ ClusterStatus.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetailList, location_name: "ErrorDetails"))
476
480
  ClusterStatus.struct_class = Types::ClusterStatus
477
481
 
478
482
  ClusterSummary.add_member(:id, Shapes::ShapeRef.new(shape: ClusterId, location_name: "Id"))
@@ -657,6 +661,15 @@ module Aws::EMR
657
661
  Ec2InstanceAttributes.add_member(:additional_slave_security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "AdditionalSlaveSecurityGroups"))
658
662
  Ec2InstanceAttributes.struct_class = Types::Ec2InstanceAttributes
659
663
 
664
+ ErrorData.member = Shapes::ShapeRef.new(shape: StringMap)
665
+
666
+ ErrorDetail.add_member(:error_code, Shapes::ShapeRef.new(shape: String, location_name: "ErrorCode"))
667
+ ErrorDetail.add_member(:error_data, Shapes::ShapeRef.new(shape: ErrorData, location_name: "ErrorData"))
668
+ ErrorDetail.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
669
+ ErrorDetail.struct_class = Types::ErrorDetail
670
+
671
+ ErrorDetailList.member = Shapes::ShapeRef.new(shape: ErrorDetail)
672
+
660
673
  ExecutionEngineConfig.add_member(:id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "Id"))
661
674
  ExecutionEngineConfig.add_member(:type, Shapes::ShapeRef.new(shape: ExecutionEngineType, location_name: "Type"))
662
675
  ExecutionEngineConfig.add_member(:master_instance_security_group_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "MasterInstanceSecurityGroupId"))
@@ -847,12 +847,19 @@ module Aws::EMR
847
847
  # of the cluster.
848
848
  # @return [Types::ClusterTimeline]
849
849
  #
850
+ # @!attribute [rw] error_details
851
+ # A list of tuples that provide information about the errors that
852
+ # caused a cluster termination. This structure may have up to 10
853
+ # different `ErrorDetail` tuples.
854
+ # @return [Array<Types::ErrorDetail>]
855
+ #
850
856
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ClusterStatus AWS API Documentation
851
857
  #
852
858
  class ClusterStatus < Struct.new(
853
859
  :state,
854
860
  :state_change_reason,
855
- :timeline)
861
+ :timeline,
862
+ :error_details)
856
863
  SENSITIVE = []
857
864
  include Aws::Structure
858
865
  end
@@ -1780,6 +1787,32 @@ module Aws::EMR
1780
1787
  include Aws::Structure
1781
1788
  end
1782
1789
 
1790
+ # A tuple that provides information about an error that caused a cluster
1791
+ # to terminate.
1792
+ #
1793
+ # @!attribute [rw] error_code
1794
+ # The name or code that's associated with the error.
1795
+ # @return [String]
1796
+ #
1797
+ # @!attribute [rw] error_data
1798
+ # A list of key value pairs that provide contextual information to
1799
+ # explain why the error may have occured.
1800
+ # @return [Array<Hash<String,String>>]
1801
+ #
1802
+ # @!attribute [rw] error_message
1803
+ # A message describing the error that occured.
1804
+ # @return [String]
1805
+ #
1806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ErrorDetail AWS API Documentation
1807
+ #
1808
+ class ErrorDetail < Struct.new(
1809
+ :error_code,
1810
+ :error_data,
1811
+ :error_message)
1812
+ SENSITIVE = []
1813
+ include Aws::Structure
1814
+ end
1815
+
1783
1816
  # Specifies the execution engine (cluster) to run the notebook and
1784
1817
  # perform the notebook execution, for example, an EMR cluster.
1785
1818
  #
data/lib/aws-sdk-emr.rb CHANGED
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-emr/customizations'
53
53
  # @!group service
54
54
  module Aws::EMR
55
55
 
56
- GEM_VERSION = '1.66.0'
56
+ GEM_VERSION = '1.67.0'
57
57
 
58
58
  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.66.0
4
+ version: 1.67.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: 2023-02-16 00:00:00.000000000 Z
11
+ date: 2023-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core