aws-sdk-emrcontainers 1.3.0 → 1.7.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: 99ebaeb44f8c7f63c03e39a30e319eef43cd023361fb3a6ff7f3b483f4f9a447
4
- data.tar.gz: 2e63b5ddb7defef3bb7f25c4a4e11bcef84f6bb6e4885e721582441a1fd14955
3
+ metadata.gz: 1bf38e9c0f88e330d9c76dbc687344243e6e7ca26a12c10132285ba5b9281edc
4
+ data.tar.gz: bd803f1fdb7659fb24e8ede5b46a9dabb2332354dbfe076442852578c965e4b9
5
5
  SHA512:
6
- metadata.gz: 2d2a531632b6053ab8e77c283104269fb355bbb26a4f7f85fc6fa9f851ca22e49fa27a8670e6fb612fd538c1ffb033cef100b6db49905a2965fbf5702b7904d2
7
- data.tar.gz: ea55ff0104519dd7de7f0bab32ce975ac63887b9223670184a12333d17ff37e87516883cedf77e203e97f03e3851cdc5644dedc5d00b6181ee3329f9b17c653c
6
+ metadata.gz: 3e1276f8956250237fa58421fd5e38f4fd51d5a3ec8c1f423fa00f2c975c213d81fde8cd63e9f4ed6dda7d5162d14c0ded60e49c3d0039f1514084dac74b39d4
7
+ data.tar.gz: a8e3dea04477d1c5e869f2cffda31cae9e001205b419fa42a210474e9e2fed4d43a351982e28f7ca997411868109a262556a4766e671dfce7efd918f3475cbdb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.7.0 (2021-09-01)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.6.0 (2021-07-30)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.5.0 (2021-07-28)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.4.0 (2021-07-19)
20
+ ------------------
21
+
22
+ * Feature - Updated DescribeManagedEndpoint and ListManagedEndpoints to return failureReason and stateDetails in API response.
23
+
4
24
  1.3.0 (2021-03-10)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.7.0
@@ -493,10 +493,10 @@ module Aws::EMRContainers
493
493
  # name: "ResourceNameString", # required
494
494
  # container_provider: { # required
495
495
  # type: "EKS", # required, accepts EKS
496
- # id: "String256", # required
496
+ # id: "ClusterId", # required
497
497
  # info: {
498
498
  # eks_info: {
499
- # namespace: "String256",
499
+ # namespace: "KubernetesNamespace",
500
500
  # },
501
501
  # },
502
502
  # },
@@ -697,6 +697,8 @@ module Aws::EMRContainers
697
697
  # resp.endpoint.security_group #=> String
698
698
  # resp.endpoint.subnet_ids #=> Array
699
699
  # resp.endpoint.subnet_ids[0] #=> String
700
+ # resp.endpoint.state_details #=> String
701
+ # resp.endpoint.failure_reason #=> String, one of "INTERNAL_ERROR", "USER_ERROR", "VALIDATION_ERROR", "CLUSTER_UNAVAILABLE"
700
702
  # resp.endpoint.tags #=> Hash
701
703
  # resp.endpoint.tags["String128"] #=> String
702
704
  #
@@ -908,6 +910,8 @@ module Aws::EMRContainers
908
910
  # resp.endpoints[0].security_group #=> String
909
911
  # resp.endpoints[0].subnet_ids #=> Array
910
912
  # resp.endpoints[0].subnet_ids[0] #=> String
913
+ # resp.endpoints[0].state_details #=> String
914
+ # resp.endpoints[0].failure_reason #=> String, one of "INTERNAL_ERROR", "USER_ERROR", "VALIDATION_ERROR", "CLUSTER_UNAVAILABLE"
911
915
  # resp.endpoints[0].tags #=> Hash
912
916
  # resp.endpoints[0].tags["String128"] #=> String
913
917
  # resp.next_token #=> String
@@ -1196,7 +1200,7 @@ module Aws::EMRContainers
1196
1200
  params: params,
1197
1201
  config: config)
1198
1202
  context[:gem_name] = 'aws-sdk-emrcontainers'
1199
- context[:gem_version] = '1.3.0'
1203
+ context[:gem_version] = '1.7.0'
1200
1204
  Seahorse::Client::Request.new(handlers, context)
1201
1205
  end
1202
1206
 
@@ -18,10 +18,11 @@ module Aws::EMRContainers
18
18
  CancelJobRunResponse = Shapes::StructureShape.new(name: 'CancelJobRunResponse')
19
19
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
20
20
  CloudWatchMonitoringConfiguration = Shapes::StructureShape.new(name: 'CloudWatchMonitoringConfiguration')
21
+ ClusterId = Shapes::StringShape.new(name: 'ClusterId')
21
22
  Configuration = Shapes::StructureShape.new(name: 'Configuration')
22
23
  ConfigurationList = Shapes::ListShape.new(name: 'ConfigurationList')
23
24
  ConfigurationOverrides = Shapes::StructureShape.new(name: 'ConfigurationOverrides')
24
- ContainerInfo = Shapes::StructureShape.new(name: 'ContainerInfo')
25
+ ContainerInfo = Shapes::UnionShape.new(name: 'ContainerInfo')
25
26
  ContainerProvider = Shapes::StructureShape.new(name: 'ContainerProvider')
26
27
  ContainerProviderType = Shapes::StringShape.new(name: 'ContainerProviderType')
27
28
  CreateManagedEndpointRequest = Shapes::StructureShape.new(name: 'CreateManagedEndpointRequest')
@@ -60,6 +61,7 @@ module Aws::EMRContainers
60
61
  JobRunState = Shapes::StringShape.new(name: 'JobRunState')
61
62
  JobRunStates = Shapes::ListShape.new(name: 'JobRunStates')
62
63
  JobRuns = Shapes::ListShape.new(name: 'JobRuns')
64
+ KubernetesNamespace = Shapes::StringShape.new(name: 'KubernetesNamespace')
63
65
  ListJobRunsRequest = Shapes::StructureShape.new(name: 'ListJobRunsRequest')
64
66
  ListJobRunsResponse = Shapes::StructureShape.new(name: 'ListJobRunsResponse')
65
67
  ListManagedEndpointsRequest = Shapes::StructureShape.new(name: 'ListManagedEndpointsRequest')
@@ -127,10 +129,13 @@ module Aws::EMRContainers
127
129
  ConfigurationOverrides.struct_class = Types::ConfigurationOverrides
128
130
 
129
131
  ContainerInfo.add_member(:eks_info, Shapes::ShapeRef.new(shape: EksInfo, location_name: "eksInfo"))
132
+ ContainerInfo.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
133
+ ContainerInfo.add_member_subclass(:eks_info, Types::ContainerInfo::EksInfo)
134
+ ContainerInfo.add_member_subclass(:unknown, Types::ContainerInfo::Unknown)
130
135
  ContainerInfo.struct_class = Types::ContainerInfo
131
136
 
132
137
  ContainerProvider.add_member(:type, Shapes::ShapeRef.new(shape: ContainerProviderType, required: true, location_name: "type"))
133
- ContainerProvider.add_member(:id, Shapes::ShapeRef.new(shape: String256, required: true, location_name: "id"))
138
+ ContainerProvider.add_member(:id, Shapes::ShapeRef.new(shape: ClusterId, required: true, location_name: "id"))
134
139
  ContainerProvider.add_member(:info, Shapes::ShapeRef.new(shape: ContainerInfo, location_name: "info"))
135
140
  ContainerProvider.struct_class = Types::ContainerProvider
136
141
 
@@ -196,7 +201,7 @@ module Aws::EMRContainers
196
201
  DescribeVirtualClusterResponse.add_member(:virtual_cluster, Shapes::ShapeRef.new(shape: VirtualCluster, location_name: "virtualCluster"))
197
202
  DescribeVirtualClusterResponse.struct_class = Types::DescribeVirtualClusterResponse
198
203
 
199
- EksInfo.add_member(:namespace, Shapes::ShapeRef.new(shape: String256, location_name: "namespace"))
204
+ EksInfo.add_member(:namespace, Shapes::ShapeRef.new(shape: KubernetesNamespace, location_name: "namespace"))
200
205
  EksInfo.struct_class = Types::EksInfo
201
206
 
202
207
  Endpoint.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
@@ -213,6 +218,8 @@ module Aws::EMRContainers
213
218
  Endpoint.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, location_name: "createdAt"))
214
219
  Endpoint.add_member(:security_group, Shapes::ShapeRef.new(shape: String256, location_name: "securityGroup"))
215
220
  Endpoint.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "subnetIds"))
221
+ Endpoint.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, location_name: "stateDetails"))
222
+ Endpoint.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
216
223
  Endpoint.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
217
224
  Endpoint.struct_class = Types::Endpoint
218
225
 
@@ -183,14 +183,9 @@ module Aws::EMRContainers
183
183
  # The information about the container used for a job run or a managed
184
184
  # endpoint.
185
185
  #
186
- # @note When making an API call, you may pass ContainerInfo
187
- # data as a hash:
186
+ # @note ContainerInfo is a union - when making an API calls you must set exactly one of the members.
188
187
  #
189
- # {
190
- # eks_info: {
191
- # namespace: "String256",
192
- # },
193
- # }
188
+ # @note ContainerInfo is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ContainerInfo corresponding to the set member.
194
189
  #
195
190
  # @!attribute [rw] eks_info
196
191
  # The information about the EKS cluster.
@@ -199,9 +194,14 @@ module Aws::EMRContainers
199
194
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ContainerInfo AWS API Documentation
200
195
  #
201
196
  class ContainerInfo < Struct.new(
202
- :eks_info)
197
+ :eks_info,
198
+ :unknown)
203
199
  SENSITIVE = []
204
200
  include Aws::Structure
201
+ include Aws::Structure::Union
202
+
203
+ class EksInfo < ContainerInfo; end
204
+ class Unknown < ContainerInfo; end
205
205
  end
206
206
 
207
207
  # The information about the container provider.
@@ -211,10 +211,10 @@ module Aws::EMRContainers
211
211
  #
212
212
  # {
213
213
  # type: "EKS", # required, accepts EKS
214
- # id: "String256", # required
214
+ # id: "ClusterId", # required
215
215
  # info: {
216
216
  # eks_info: {
217
- # namespace: "String256",
217
+ # namespace: "KubernetesNamespace",
218
218
  # },
219
219
  # },
220
220
  # }
@@ -372,10 +372,10 @@ module Aws::EMRContainers
372
372
  # name: "ResourceNameString", # required
373
373
  # container_provider: { # required
374
374
  # type: "EKS", # required, accepts EKS
375
- # id: "String256", # required
375
+ # id: "ClusterId", # required
376
376
  # info: {
377
377
  # eks_info: {
378
- # namespace: "String256",
378
+ # namespace: "KubernetesNamespace",
379
379
  # },
380
380
  # },
381
381
  # },
@@ -623,7 +623,7 @@ module Aws::EMRContainers
623
623
  # data as a hash:
624
624
  #
625
625
  # {
626
- # namespace: "String256",
626
+ # namespace: "KubernetesNamespace",
627
627
  # }
628
628
  #
629
629
  # @!attribute [rw] namespace
@@ -698,6 +698,14 @@ module Aws::EMRContainers
698
698
  # The subnet IDs of the endpoint.
699
699
  # @return [Array<String>]
700
700
  #
701
+ # @!attribute [rw] state_details
702
+ # Additional details of the endpoint state.
703
+ # @return [String]
704
+ #
705
+ # @!attribute [rw] failure_reason
706
+ # The reasons why the endpoint has failed.
707
+ # @return [String]
708
+ #
701
709
  # @!attribute [rw] tags
702
710
  # The tags of the endpoint.
703
711
  # @return [Hash<String,String>]
@@ -719,6 +727,8 @@ module Aws::EMRContainers
719
727
  :created_at,
720
728
  :security_group,
721
729
  :subnet_ids,
730
+ :state_details,
731
+ :failure_reason,
722
732
  :tags)
723
733
  SENSITIVE = []
724
734
  include Aws::Structure
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-emrcontainers/customizations'
48
48
  # @!group service
49
49
  module Aws::EMRContainers
50
50
 
51
- GEM_VERSION = '1.3.0'
51
+ GEM_VERSION = '1.7.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-emrcontainers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.7.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: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-09-01 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.112.0
22
+ version: 3.120.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.112.0
32
+ version: 3.120.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-emrcontainers
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-emrcontainers/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-emrcontainers
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-emrcontainers/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths:
@@ -76,15 +76,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '2.3'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubyforge_project:
87
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
88
87
  signing_key:
89
88
  specification_version: 4
90
89
  summary: AWS SDK for Ruby - Amazon EMR Containers