aws-sdk-emrcontainers 1.17.0 → 1.19.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: b0381a17836df6f0bf4a5aefe44178648f9f12d915d1a82b8299fd9640320b91
4
- data.tar.gz: 1a4f286964aeb06b3f7fce2f21131db52d8fd7559b500ee073c7c9ebf0509cf1
3
+ metadata.gz: e961f7ae43d0324e9507edb28729ce025b3d8ae4ba1ece5e1d179c507bd0e29a
4
+ data.tar.gz: 3f932da5f078c7a9d64c43080cdb40471bb584b1769ac5448c1b8f3df5dc9bb1
5
5
  SHA512:
6
- metadata.gz: 873ca18e3575a10264a1ca6ed3ca72203d1b1f0c858cb17e734992a734bb6f15905fce09e4196643362a600c65991c472cfb043fbbc82e2ffb60e48d741d4e18
7
- data.tar.gz: c500702a994b2a809613f9e09d5aeee7e4a7acc97a12dcae1e977db6a55ee27e1a3a4977c8e47656a195cffd532befa2e46a212b419ae42d2b28f87f5e3e97bd
6
+ metadata.gz: 582b02c8072bf8814d642eceea15c5e0948cf73eb3c7a76cbf549188e4954e42a878f78e68c69fb17cfe722be8daa4f63ee8e8be5b7ad94738605ed15c5b048d
7
+ data.tar.gz: 02f84d5db3e636d3df0490feb6b64ba0101fe59fd209e2aae774fc68ca4d054e3bbbdff6d4dd2fa5d35fc3fd654f92b3f394d7aa8bdf9f1b390945e804d088c5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2023-02-09)
5
+ ------------------
6
+
7
+ * Feature - EMR on EKS allows configuring retry policies for job runs through the StartJobRun API. Using retry policies, a job cause a driver pod to be restarted automatically if it fails or is deleted. The job's status can be seen in the DescribeJobRun and ListJobRun APIs and monitored using CloudWatch events.
8
+
9
+ 1.18.0 (2023-01-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
15
+
4
16
  1.17.0 (2022-11-04)
5
17
  ------------------
6
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.19.0
@@ -509,8 +509,8 @@ module Aws::EMRContainers
509
509
  end
510
510
 
511
511
  # Creates a managed endpoint. A managed endpoint is a gateway that
512
- # connects EMR Studio to Amazon EMR on EKS so that EMR Studio can
513
- # communicate with your virtual cluster.
512
+ # connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR
513
+ # Studio can communicate with your virtual cluster.
514
514
  #
515
515
  # @option params [required, String] :name
516
516
  # The name of the managed endpoint.
@@ -699,8 +699,8 @@ module Aws::EMRContainers
699
699
  end
700
700
 
701
701
  # Deletes a managed endpoint. A managed endpoint is a gateway that
702
- # connects EMR Studio to Amazon EMR on EKS so that EMR Studio can
703
- # communicate with your virtual cluster.
702
+ # connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR
703
+ # Studio can communicate with your virtual cluster.
704
704
  #
705
705
  # @option params [required, String] :id
706
706
  # The ID of the managed endpoint.
@@ -820,6 +820,8 @@ module Aws::EMRContainers
820
820
  # resp.job_run.failure_reason #=> String, one of "INTERNAL_ERROR", "USER_ERROR", "VALIDATION_ERROR", "CLUSTER_UNAVAILABLE"
821
821
  # resp.job_run.tags #=> Hash
822
822
  # resp.job_run.tags["String128"] #=> String
823
+ # resp.job_run.retry_policy_configuration.max_attempts #=> Integer
824
+ # resp.job_run.retry_policy_execution.current_attempt_count #=> Integer
823
825
  #
824
826
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeJobRun AWS API Documentation
825
827
  #
@@ -893,8 +895,9 @@ module Aws::EMRContainers
893
895
  end
894
896
 
895
897
  # Displays detailed information about a managed endpoint. A managed
896
- # endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so
897
- # that EMR Studio can communicate with your virtual cluster.
898
+ # endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on
899
+ # EKS so that Amazon EMR Studio can communicate with your virtual
900
+ # cluster.
898
901
  #
899
902
  # @option params [required, String] :id
900
903
  # This output displays ID of the managed endpoint.
@@ -1074,6 +1077,8 @@ module Aws::EMRContainers
1074
1077
  # resp.job_runs[0].failure_reason #=> String, one of "INTERNAL_ERROR", "USER_ERROR", "VALIDATION_ERROR", "CLUSTER_UNAVAILABLE"
1075
1078
  # resp.job_runs[0].tags #=> Hash
1076
1079
  # resp.job_runs[0].tags["String128"] #=> String
1080
+ # resp.job_runs[0].retry_policy_configuration.max_attempts #=> Integer
1081
+ # resp.job_runs[0].retry_policy_execution.current_attempt_count #=> Integer
1077
1082
  # resp.next_token #=> String
1078
1083
  #
1079
1084
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListJobRuns AWS API Documentation
@@ -1165,8 +1170,9 @@ module Aws::EMRContainers
1165
1170
  end
1166
1171
 
1167
1172
  # Lists managed endpoints based on a set of parameters. A managed
1168
- # endpoint is a gateway that connects EMR Studio to Amazon EMR on EKS so
1169
- # that EMR Studio can communicate with your virtual cluster.
1173
+ # endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on
1174
+ # EKS so that Amazon EMR Studio can communicate with your virtual
1175
+ # cluster.
1170
1176
  #
1171
1177
  # @option params [required, String] :virtual_cluster_id
1172
1178
  # The ID of the virtual cluster.
@@ -1292,8 +1298,8 @@ module Aws::EMRContainers
1292
1298
  # The container provider ID of the virtual cluster.
1293
1299
  #
1294
1300
  # @option params [String] :container_provider_type
1295
- # The container provider type of the virtual cluster. EKS is the only
1296
- # supported type as of now.
1301
+ # The container provider type of the virtual cluster. Amazon EKS is the
1302
+ # only supported type as of now.
1297
1303
  #
1298
1304
  # @option params [Time,DateTime,Date,Integer,String] :created_after
1299
1305
  # The date and time after which the virtual clusters are created.
@@ -1390,6 +1396,9 @@ module Aws::EMRContainers
1390
1396
  # @option params [Hash<String,String>] :job_template_parameters
1391
1397
  # The values of job template parameters to start a job run.
1392
1398
  #
1399
+ # @option params [Types::RetryPolicyConfiguration] :retry_policy_configuration
1400
+ # The retry policy configuration for the job run.
1401
+ #
1393
1402
  # @return [Types::StartJobRunResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1394
1403
  #
1395
1404
  # * {Types::StartJobRunResponse#id #id} => String
@@ -1446,6 +1455,9 @@ module Aws::EMRContainers
1446
1455
  # job_template_parameters: {
1447
1456
  # "TemplateParameterName" => "String1024",
1448
1457
  # },
1458
+ # retry_policy_configuration: {
1459
+ # max_attempts: 1, # required
1460
+ # },
1449
1461
  # })
1450
1462
  #
1451
1463
  # @example Response structure
@@ -1464,16 +1476,17 @@ module Aws::EMRContainers
1464
1476
  req.send_request(options)
1465
1477
  end
1466
1478
 
1467
- # Assigns tags to resources. A tag is a label that you assign to an AWS
1468
- # resource. Each tag consists of a key and an optional value, both of
1469
- # which you define. Tags enable you to categorize your AWS resources by
1470
- # attributes such as purpose, owner, or environment. When you have many
1471
- # resources of the same type, you can quickly identify a specific
1472
- # resource based on the tags you've assigned to it. For example, you
1473
- # can define a set of tags for your Amazon EMR on EKS clusters to help
1474
- # you track each cluster's owner and stack level. We recommend that you
1475
- # devise a consistent set of tag keys for each resource type. You can
1476
- # then search and filter the resources based on the tags that you add.
1479
+ # Assigns tags to resources. A tag is a label that you assign to an
1480
+ # Amazon Web Services resource. Each tag consists of a key and an
1481
+ # optional value, both of which you define. Tags enable you to
1482
+ # categorize your Amazon Web Services resources by attributes such as
1483
+ # purpose, owner, or environment. When you have many resources of the
1484
+ # same type, you can quickly identify a specific resource based on the
1485
+ # tags you've assigned to it. For example, you can define a set of tags
1486
+ # for your Amazon EMR on EKS clusters to help you track each cluster's
1487
+ # owner and stack level. We recommend that you devise a consistent set
1488
+ # of tag keys for each resource type. You can then search and filter the
1489
+ # resources based on the tags that you add.
1477
1490
  #
1478
1491
  # @option params [required, String] :resource_arn
1479
1492
  # The ARN of resources.
@@ -1540,7 +1553,7 @@ module Aws::EMRContainers
1540
1553
  params: params,
1541
1554
  config: config)
1542
1555
  context[:gem_name] = 'aws-sdk-emrcontainers'
1543
- context[:gem_version] = '1.17.0'
1556
+ context[:gem_version] = '1.19.0'
1544
1557
  Seahorse::Client::Request.new(handlers, context)
1545
1558
  end
1546
1559
 
@@ -100,6 +100,8 @@ module Aws::EMRContainers
100
100
  ResourceIdString = Shapes::StringShape.new(name: 'ResourceIdString')
101
101
  ResourceNameString = Shapes::StringShape.new(name: 'ResourceNameString')
102
102
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
103
+ RetryPolicyConfiguration = Shapes::StructureShape.new(name: 'RetryPolicyConfiguration')
104
+ RetryPolicyExecution = Shapes::StructureShape.new(name: 'RetryPolicyExecution')
103
105
  RsiArn = Shapes::StringShape.new(name: 'RsiArn')
104
106
  S3MonitoringConfiguration = Shapes::StructureShape.new(name: 'S3MonitoringConfiguration')
105
107
  SensitivePropertiesMap = Shapes::MapShape.new(name: 'SensitivePropertiesMap')
@@ -314,6 +316,8 @@ module Aws::EMRContainers
314
316
  JobRun.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, location_name: "stateDetails"))
315
317
  JobRun.add_member(:failure_reason, Shapes::ShapeRef.new(shape: FailureReason, location_name: "failureReason"))
316
318
  JobRun.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
319
+ JobRun.add_member(:retry_policy_configuration, Shapes::ShapeRef.new(shape: RetryPolicyConfiguration, location_name: "retryPolicyConfiguration"))
320
+ JobRun.add_member(:retry_policy_execution, Shapes::ShapeRef.new(shape: RetryPolicyExecution, location_name: "retryPolicyExecution"))
317
321
  JobRun.struct_class = Types::JobRun
318
322
 
319
323
  JobRunStates.member = Shapes::ShapeRef.new(shape: JobRunState)
@@ -420,6 +424,12 @@ module Aws::EMRContainers
420
424
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String1024, location_name: "message"))
421
425
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
422
426
 
427
+ RetryPolicyConfiguration.add_member(:max_attempts, Shapes::ShapeRef.new(shape: JavaInteger, required: true, location_name: "maxAttempts"))
428
+ RetryPolicyConfiguration.struct_class = Types::RetryPolicyConfiguration
429
+
430
+ RetryPolicyExecution.add_member(:current_attempt_count, Shapes::ShapeRef.new(shape: JavaInteger, required: true, location_name: "currentAttemptCount"))
431
+ RetryPolicyExecution.struct_class = Types::RetryPolicyExecution
432
+
423
433
  S3MonitoringConfiguration.add_member(:log_uri, Shapes::ShapeRef.new(shape: UriString, required: true, location_name: "logUri"))
424
434
  S3MonitoringConfiguration.struct_class = Types::S3MonitoringConfiguration
425
435
 
@@ -445,6 +455,7 @@ module Aws::EMRContainers
445
455
  StartJobRunRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
446
456
  StartJobRunRequest.add_member(:job_template_id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "jobTemplateId"))
447
457
  StartJobRunRequest.add_member(:job_template_parameters, Shapes::ShapeRef.new(shape: TemplateParameterInputMap, location_name: "jobTemplateParameters"))
458
+ StartJobRunRequest.add_member(:retry_policy_configuration, Shapes::ShapeRef.new(shape: RetryPolicyConfiguration, location_name: "retryPolicyConfiguration"))
448
459
  StartJobRunRequest.struct_class = Types::StartJobRunRequest
449
460
 
450
461
  StartJobRunResponse.add_member(:id, Shapes::ShapeRef.new(shape: ResourceIdString, location_name: "id"))
@@ -50,6 +50,9 @@ module Aws::EMRContainers
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::EMRContainers
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint)
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://emr-containers-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://emr-containers-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://emr-containers.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://emr-containers.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLC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CI6Imh0
106
- dHBzOi8vZW1yLWNvbnRhaW5lcnMue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3Vs
107
- dCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwi
108
- dHlwZSI6ImVuZHBvaW50In1dfV19
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -10,14 +10,6 @@
10
10
  module Aws::EMRContainers
11
11
  module Types
12
12
 
13
- # @note When making an API call, you may pass CancelJobRunRequest
14
- # data as a hash:
15
- #
16
- # {
17
- # id: "ResourceIdString", # required
18
- # virtual_cluster_id: "ResourceIdString", # required
19
- # }
20
- #
21
13
  # @!attribute [rw] id
22
14
  # The ID of the job run to cancel.
23
15
  # @return [String]
@@ -78,14 +70,6 @@ module Aws::EMRContainers
78
70
  # A configuration for CloudWatch monitoring. You can configure your jobs
79
71
  # to send log information to CloudWatch Logs.
80
72
  #
81
- # @note When making an API call, you may pass CloudWatchMonitoringConfiguration
82
- # data as a hash:
83
- #
84
- # {
85
- # log_group_name: "LogGroupName", # required
86
- # log_stream_name_prefix: "String256",
87
- # }
88
- #
89
73
  # @!attribute [rw] log_group_name
90
74
  # The name of the log group for log publishing.
91
75
  # @return [String]
@@ -110,27 +94,6 @@ module Aws::EMRContainers
110
94
  # classification refers to an application-specific configuration file.
111
95
  # Properties are the settings you want to change in that file.
112
96
  #
113
- # @note When making an API call, you may pass Configuration
114
- # data as a hash:
115
- #
116
- # {
117
- # classification: "String1024", # required
118
- # properties: {
119
- # "String1024" => "String1024",
120
- # },
121
- # configurations: [
122
- # {
123
- # classification: "String1024", # required
124
- # properties: {
125
- # "String1024" => "String1024",
126
- # },
127
- # configurations: {
128
- # # recursive ConfigurationList
129
- # },
130
- # },
131
- # ],
132
- # }
133
- #
134
97
  # @!attribute [rw] classification
135
98
  # The classification within a configuration.
136
99
  # @return [String]
@@ -157,33 +120,6 @@ module Aws::EMRContainers
157
120
  # A configuration specification to be used to override existing
158
121
  # configurations.
159
122
  #
160
- # @note When making an API call, you may pass ConfigurationOverrides
161
- # data as a hash:
162
- #
163
- # {
164
- # application_configuration: [
165
- # {
166
- # classification: "String1024", # required
167
- # properties: {
168
- # "String1024" => "String1024",
169
- # },
170
- # configurations: {
171
- # # recursive ConfigurationList
172
- # },
173
- # },
174
- # ],
175
- # monitoring_configuration: {
176
- # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
177
- # cloud_watch_monitoring_configuration: {
178
- # log_group_name: "LogGroupName", # required
179
- # log_stream_name_prefix: "String256",
180
- # },
181
- # s3_monitoring_configuration: {
182
- # log_uri: "UriString", # required
183
- # },
184
- # },
185
- # }
186
- #
187
123
  # @!attribute [rw] application_configuration
188
124
  # The configurations for the application running by the job run.
189
125
  # @return [Array<Types::Configuration>]
@@ -209,7 +145,7 @@ module Aws::EMRContainers
209
145
  # @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.
210
146
  #
211
147
  # @!attribute [rw] eks_info
212
- # The information about the EKS cluster.
148
+ # The information about the Amazon EKS cluster.
213
149
  # @return [Types::EksInfo]
214
150
  #
215
151
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ContainerInfo AWS API Documentation
@@ -227,22 +163,9 @@ module Aws::EMRContainers
227
163
 
228
164
  # The information about the container provider.
229
165
  #
230
- # @note When making an API call, you may pass ContainerProvider
231
- # data as a hash:
232
- #
233
- # {
234
- # type: "EKS", # required, accepts EKS
235
- # id: "ClusterId", # required
236
- # info: {
237
- # eks_info: {
238
- # namespace: "KubernetesNamespace",
239
- # },
240
- # },
241
- # }
242
- #
243
166
  # @!attribute [rw] type
244
- # The type of the container provider. EKS is the only supported type
245
- # as of now.
167
+ # The type of the container provider. Amazon EKS is the only supported
168
+ # type as of now.
246
169
  # @return [String]
247
170
  #
248
171
  # @!attribute [rw] id
@@ -263,65 +186,6 @@ module Aws::EMRContainers
263
186
  include Aws::Structure
264
187
  end
265
188
 
266
- # @note When making an API call, you may pass CreateJobTemplateRequest
267
- # data as a hash:
268
- #
269
- # {
270
- # name: "ResourceNameString", # required
271
- # client_token: "ClientToken", # required
272
- # job_template_data: { # required
273
- # execution_role_arn: "ParametricIAMRoleArn", # required
274
- # release_label: "ParametricReleaseLabel", # required
275
- # configuration_overrides: {
276
- # application_configuration: [
277
- # {
278
- # classification: "String1024", # required
279
- # properties: {
280
- # "String1024" => "String1024",
281
- # },
282
- # configurations: {
283
- # # recursive ConfigurationList
284
- # },
285
- # },
286
- # ],
287
- # monitoring_configuration: {
288
- # persistent_app_ui: "TemplateParameter",
289
- # cloud_watch_monitoring_configuration: {
290
- # log_group_name: "TemplateParameter",
291
- # log_stream_name_prefix: "String256",
292
- # },
293
- # s3_monitoring_configuration: {
294
- # log_uri: "UriString",
295
- # },
296
- # },
297
- # },
298
- # job_driver: { # required
299
- # spark_submit_job_driver: {
300
- # entry_point: "EntryPointPath", # required
301
- # entry_point_arguments: ["EntryPointArgument"],
302
- # spark_submit_parameters: "SparkSubmitParameters",
303
- # },
304
- # spark_sql_job_driver: {
305
- # entry_point: "EntryPointPath",
306
- # spark_sql_parameters: "SparkSqlParameters",
307
- # },
308
- # },
309
- # parameter_configuration: {
310
- # "TemplateParameterName" => {
311
- # type: "NUMBER", # accepts NUMBER, STRING
312
- # default_value: "String1024",
313
- # },
314
- # },
315
- # job_tags: {
316
- # "String128" => "StringEmpty256",
317
- # },
318
- # },
319
- # tags: {
320
- # "String128" => "StringEmpty256",
321
- # },
322
- # kms_key_arn: "KmsKeyArn",
323
- # }
324
- #
325
189
  # @!attribute [rw] name
326
190
  # The specified name of the job template.
327
191
  # @return [String]
@@ -385,45 +249,6 @@ module Aws::EMRContainers
385
249
  include Aws::Structure
386
250
  end
387
251
 
388
- # @note When making an API call, you may pass CreateManagedEndpointRequest
389
- # data as a hash:
390
- #
391
- # {
392
- # name: "ResourceNameString", # required
393
- # virtual_cluster_id: "ResourceIdString", # required
394
- # type: "EndpointType", # required
395
- # release_label: "ReleaseLabel", # required
396
- # execution_role_arn: "IAMRoleArn", # required
397
- # certificate_arn: "ACMCertArn",
398
- # configuration_overrides: {
399
- # application_configuration: [
400
- # {
401
- # classification: "String1024", # required
402
- # properties: {
403
- # "String1024" => "String1024",
404
- # },
405
- # configurations: {
406
- # # recursive ConfigurationList
407
- # },
408
- # },
409
- # ],
410
- # monitoring_configuration: {
411
- # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
412
- # cloud_watch_monitoring_configuration: {
413
- # log_group_name: "LogGroupName", # required
414
- # log_stream_name_prefix: "String256",
415
- # },
416
- # s3_monitoring_configuration: {
417
- # log_uri: "UriString", # required
418
- # },
419
- # },
420
- # },
421
- # client_token: "ClientToken", # required
422
- # tags: {
423
- # "String128" => "StringEmpty256",
424
- # },
425
- # }
426
- #
427
252
  # @!attribute [rw] name
428
253
  # The name of the managed endpoint.
429
254
  # @return [String]
@@ -509,26 +334,6 @@ module Aws::EMRContainers
509
334
  include Aws::Structure
510
335
  end
511
336
 
512
- # @note When making an API call, you may pass CreateVirtualClusterRequest
513
- # data as a hash:
514
- #
515
- # {
516
- # name: "ResourceNameString", # required
517
- # container_provider: { # required
518
- # type: "EKS", # required, accepts EKS
519
- # id: "ClusterId", # required
520
- # info: {
521
- # eks_info: {
522
- # namespace: "KubernetesNamespace",
523
- # },
524
- # },
525
- # },
526
- # client_token: "ClientToken", # required
527
- # tags: {
528
- # "String128" => "StringEmpty256",
529
- # },
530
- # }
531
- #
532
337
  # @!attribute [rw] name
533
338
  # The specified name of the virtual cluster.
534
339
  # @return [String]
@@ -581,13 +386,6 @@ module Aws::EMRContainers
581
386
  include Aws::Structure
582
387
  end
583
388
 
584
- # @note When making an API call, you may pass DeleteJobTemplateRequest
585
- # data as a hash:
586
- #
587
- # {
588
- # id: "ResourceIdString", # required
589
- # }
590
- #
591
389
  # @!attribute [rw] id
592
390
  # The ID of the job template that will be deleted.
593
391
  # @return [String]
@@ -612,14 +410,6 @@ module Aws::EMRContainers
612
410
  include Aws::Structure
613
411
  end
614
412
 
615
- # @note When making an API call, you may pass DeleteManagedEndpointRequest
616
- # data as a hash:
617
- #
618
- # {
619
- # id: "ResourceIdString", # required
620
- # virtual_cluster_id: "ResourceIdString", # required
621
- # }
622
- #
623
413
  # @!attribute [rw] id
624
414
  # The ID of the managed endpoint.
625
415
  # @return [String]
@@ -654,13 +444,6 @@ module Aws::EMRContainers
654
444
  include Aws::Structure
655
445
  end
656
446
 
657
- # @note When making an API call, you may pass DeleteVirtualClusterRequest
658
- # data as a hash:
659
- #
660
- # {
661
- # id: "ResourceIdString", # required
662
- # }
663
- #
664
447
  # @!attribute [rw] id
665
448
  # The ID of the virtual cluster that will be deleted.
666
449
  # @return [String]
@@ -686,14 +469,6 @@ module Aws::EMRContainers
686
469
  include Aws::Structure
687
470
  end
688
471
 
689
- # @note When making an API call, you may pass DescribeJobRunRequest
690
- # data as a hash:
691
- #
692
- # {
693
- # id: "ResourceIdString", # required
694
- # virtual_cluster_id: "ResourceIdString", # required
695
- # }
696
- #
697
472
  # @!attribute [rw] id
698
473
  # The ID of the job run request.
699
474
  # @return [String]
@@ -723,13 +498,6 @@ module Aws::EMRContainers
723
498
  include Aws::Structure
724
499
  end
725
500
 
726
- # @note When making an API call, you may pass DescribeJobTemplateRequest
727
- # data as a hash:
728
- #
729
- # {
730
- # id: "ResourceIdString", # required
731
- # }
732
- #
733
501
  # @!attribute [rw] id
734
502
  # The ID of the job template that will be described.
735
503
  # @return [String]
@@ -754,14 +522,6 @@ module Aws::EMRContainers
754
522
  include Aws::Structure
755
523
  end
756
524
 
757
- # @note When making an API call, you may pass DescribeManagedEndpointRequest
758
- # data as a hash:
759
- #
760
- # {
761
- # id: "ResourceIdString", # required
762
- # virtual_cluster_id: "ResourceIdString", # required
763
- # }
764
- #
765
525
  # @!attribute [rw] id
766
526
  # This output displays ID of the managed endpoint.
767
527
  # @return [String]
@@ -791,13 +551,6 @@ module Aws::EMRContainers
791
551
  include Aws::Structure
792
552
  end
793
553
 
794
- # @note When making an API call, you may pass DescribeVirtualClusterRequest
795
- # data as a hash:
796
- #
797
- # {
798
- # id: "ResourceIdString", # required
799
- # }
800
- #
801
554
  # @!attribute [rw] id
802
555
  # The ID of the virtual cluster that will be described.
803
556
  # @return [String]
@@ -823,17 +576,10 @@ module Aws::EMRContainers
823
576
  include Aws::Structure
824
577
  end
825
578
 
826
- # The information about the EKS cluster.
827
- #
828
- # @note When making an API call, you may pass EksInfo
829
- # data as a hash:
830
- #
831
- # {
832
- # namespace: "KubernetesNamespace",
833
- # }
579
+ # The information about the Amazon EKS cluster.
834
580
  #
835
581
  # @!attribute [rw] namespace
836
- # The namespaces of the EKS cluster.
582
+ # The namespaces of the Amazon EKS cluster.
837
583
  # @return [String]
838
584
  #
839
585
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/EksInfo AWS API Documentation
@@ -964,21 +710,6 @@ module Aws::EMRContainers
964
710
  # available job drivers is required, either sparkSqlJobDriver or
965
711
  # sparkSubmitJobDriver.
966
712
  #
967
- # @note When making an API call, you may pass JobDriver
968
- # data as a hash:
969
- #
970
- # {
971
- # spark_submit_job_driver: {
972
- # entry_point: "EntryPointPath", # required
973
- # entry_point_arguments: ["EntryPointArgument"],
974
- # spark_submit_parameters: "SparkSubmitParameters",
975
- # },
976
- # spark_sql_job_driver: {
977
- # entry_point: "EntryPointPath",
978
- # spark_sql_parameters: "SparkSqlParameters",
979
- # },
980
- # }
981
- #
982
713
  # @!attribute [rw] spark_submit_job_driver
983
714
  # The job driver parameters specified for spark submit.
984
715
  # @return [Types::SparkSubmitJobDriver]
@@ -1065,6 +796,14 @@ module Aws::EMRContainers
1065
796
  # The assigned tags of the job run.
1066
797
  # @return [Hash<String,String>]
1067
798
  #
799
+ # @!attribute [rw] retry_policy_configuration
800
+ # The configuration of the retry policy that the job runs on.
801
+ # @return [Types::RetryPolicyConfiguration]
802
+ #
803
+ # @!attribute [rw] retry_policy_execution
804
+ # The current status of the retry policy executed on the job.
805
+ # @return [Types::RetryPolicyExecution]
806
+ #
1068
807
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/JobRun AWS API Documentation
1069
808
  #
1070
809
  class JobRun < Struct.new(
@@ -1083,7 +822,9 @@ module Aws::EMRContainers
1083
822
  :finished_at,
1084
823
  :state_details,
1085
824
  :failure_reason,
1086
- :tags)
825
+ :tags,
826
+ :retry_policy_configuration,
827
+ :retry_policy_execution)
1087
828
  SENSITIVE = []
1088
829
  include Aws::Structure
1089
830
  end
@@ -1149,57 +890,6 @@ module Aws::EMRContainers
1149
890
  # The values of StartJobRun API requests used in job runs started using
1150
891
  # the job template.
1151
892
  #
1152
- # @note When making an API call, you may pass JobTemplateData
1153
- # data as a hash:
1154
- #
1155
- # {
1156
- # execution_role_arn: "ParametricIAMRoleArn", # required
1157
- # release_label: "ParametricReleaseLabel", # required
1158
- # configuration_overrides: {
1159
- # application_configuration: [
1160
- # {
1161
- # classification: "String1024", # required
1162
- # properties: {
1163
- # "String1024" => "String1024",
1164
- # },
1165
- # configurations: {
1166
- # # recursive ConfigurationList
1167
- # },
1168
- # },
1169
- # ],
1170
- # monitoring_configuration: {
1171
- # persistent_app_ui: "TemplateParameter",
1172
- # cloud_watch_monitoring_configuration: {
1173
- # log_group_name: "TemplateParameter",
1174
- # log_stream_name_prefix: "String256",
1175
- # },
1176
- # s3_monitoring_configuration: {
1177
- # log_uri: "UriString",
1178
- # },
1179
- # },
1180
- # },
1181
- # job_driver: { # required
1182
- # spark_submit_job_driver: {
1183
- # entry_point: "EntryPointPath", # required
1184
- # entry_point_arguments: ["EntryPointArgument"],
1185
- # spark_submit_parameters: "SparkSubmitParameters",
1186
- # },
1187
- # spark_sql_job_driver: {
1188
- # entry_point: "EntryPointPath",
1189
- # spark_sql_parameters: "SparkSqlParameters",
1190
- # },
1191
- # },
1192
- # parameter_configuration: {
1193
- # "TemplateParameterName" => {
1194
- # type: "NUMBER", # accepts NUMBER, STRING
1195
- # default_value: "String1024",
1196
- # },
1197
- # },
1198
- # job_tags: {
1199
- # "String128" => "StringEmpty256",
1200
- # },
1201
- # }
1202
- #
1203
893
  # @!attribute [rw] execution_role_arn
1204
894
  # The execution role ARN of the job run.
1205
895
  # @return [String]
@@ -1240,19 +930,6 @@ module Aws::EMRContainers
1240
930
  include Aws::Structure
1241
931
  end
1242
932
 
1243
- # @note When making an API call, you may pass ListJobRunsRequest
1244
- # data as a hash:
1245
- #
1246
- # {
1247
- # virtual_cluster_id: "ResourceIdString", # required
1248
- # created_before: Time.now,
1249
- # created_after: Time.now,
1250
- # name: "ResourceNameString",
1251
- # states: ["PENDING"], # accepts PENDING, SUBMITTED, RUNNING, FAILED, CANCELLED, CANCEL_PENDING, COMPLETED
1252
- # max_results: 1,
1253
- # next_token: "NextToken",
1254
- # }
1255
- #
1256
933
  # @!attribute [rw] virtual_cluster_id
1257
934
  # The ID of the virtual cluster for which to list the job run.
1258
935
  # @return [String]
@@ -1312,16 +989,6 @@ module Aws::EMRContainers
1312
989
  include Aws::Structure
1313
990
  end
1314
991
 
1315
- # @note When making an API call, you may pass ListJobTemplatesRequest
1316
- # data as a hash:
1317
- #
1318
- # {
1319
- # created_after: Time.now,
1320
- # created_before: Time.now,
1321
- # max_results: 1,
1322
- # next_token: "NextToken",
1323
- # }
1324
- #
1325
992
  # @!attribute [rw] created_after
1326
993
  # The date and time after which the job templates were created.
1327
994
  # @return [Time]
@@ -1366,19 +1033,6 @@ module Aws::EMRContainers
1366
1033
  include Aws::Structure
1367
1034
  end
1368
1035
 
1369
- # @note When making an API call, you may pass ListManagedEndpointsRequest
1370
- # data as a hash:
1371
- #
1372
- # {
1373
- # virtual_cluster_id: "ResourceIdString", # required
1374
- # created_before: Time.now,
1375
- # created_after: Time.now,
1376
- # types: ["EndpointType"],
1377
- # states: ["CREATING"], # accepts CREATING, ACTIVE, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS
1378
- # max_results: 1,
1379
- # next_token: "NextToken",
1380
- # }
1381
- #
1382
1036
  # @!attribute [rw] virtual_cluster_id
1383
1037
  # The ID of the virtual cluster.
1384
1038
  # @return [String]
@@ -1438,13 +1092,6 @@ module Aws::EMRContainers
1438
1092
  include Aws::Structure
1439
1093
  end
1440
1094
 
1441
- # @note When making an API call, you may pass ListTagsForResourceRequest
1442
- # data as a hash:
1443
- #
1444
- # {
1445
- # resource_arn: "RsiArn", # required
1446
- # }
1447
- #
1448
1095
  # @!attribute [rw] resource_arn
1449
1096
  # The ARN of tagged resources.
1450
1097
  # @return [String]
@@ -1469,26 +1116,13 @@ module Aws::EMRContainers
1469
1116
  include Aws::Structure
1470
1117
  end
1471
1118
 
1472
- # @note When making an API call, you may pass ListVirtualClustersRequest
1473
- # data as a hash:
1474
- #
1475
- # {
1476
- # container_provider_id: "String1024",
1477
- # container_provider_type: "EKS", # accepts EKS
1478
- # created_after: Time.now,
1479
- # created_before: Time.now,
1480
- # states: ["RUNNING"], # accepts RUNNING, TERMINATING, TERMINATED, ARRESTED
1481
- # max_results: 1,
1482
- # next_token: "NextToken",
1483
- # }
1484
- #
1485
1119
  # @!attribute [rw] container_provider_id
1486
1120
  # The container provider ID of the virtual cluster.
1487
1121
  # @return [String]
1488
1122
  #
1489
1123
  # @!attribute [rw] container_provider_type
1490
- # The container provider type of the virtual cluster. EKS is the only
1491
- # supported type as of now.
1124
+ # The container provider type of the virtual cluster. Amazon EKS is
1125
+ # the only supported type as of now.
1492
1126
  # @return [String]
1493
1127
  #
1494
1128
  # @!attribute [rw] created_after
@@ -1544,20 +1178,6 @@ module Aws::EMRContainers
1544
1178
 
1545
1179
  # Configuration setting for monitoring.
1546
1180
  #
1547
- # @note When making an API call, you may pass MonitoringConfiguration
1548
- # data as a hash:
1549
- #
1550
- # {
1551
- # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
1552
- # cloud_watch_monitoring_configuration: {
1553
- # log_group_name: "LogGroupName", # required
1554
- # log_stream_name_prefix: "String256",
1555
- # },
1556
- # s3_monitoring_configuration: {
1557
- # log_uri: "UriString", # required
1558
- # },
1559
- # }
1560
- #
1561
1181
  # @!attribute [rw] persistent_app_ui
1562
1182
  # Monitoring configurations for the persistent application UI.
1563
1183
  # @return [String]
@@ -1584,14 +1204,6 @@ module Aws::EMRContainers
1584
1204
  # to send log information to CloudWatch Logs. This data type allows job
1585
1205
  # template parameters to be specified within.
1586
1206
  #
1587
- # @note When making an API call, you may pass ParametricCloudWatchMonitoringConfiguration
1588
- # data as a hash:
1589
- #
1590
- # {
1591
- # log_group_name: "TemplateParameter",
1592
- # log_stream_name_prefix: "String256",
1593
- # }
1594
- #
1595
1207
  # @!attribute [rw] log_group_name
1596
1208
  # The name of the log group for log publishing.
1597
1209
  # @return [String]
@@ -1613,33 +1225,6 @@ module Aws::EMRContainers
1613
1225
  # configurations. This data type allows job template parameters to be
1614
1226
  # specified within.
1615
1227
  #
1616
- # @note When making an API call, you may pass ParametricConfigurationOverrides
1617
- # data as a hash:
1618
- #
1619
- # {
1620
- # application_configuration: [
1621
- # {
1622
- # classification: "String1024", # required
1623
- # properties: {
1624
- # "String1024" => "String1024",
1625
- # },
1626
- # configurations: {
1627
- # # recursive ConfigurationList
1628
- # },
1629
- # },
1630
- # ],
1631
- # monitoring_configuration: {
1632
- # persistent_app_ui: "TemplateParameter",
1633
- # cloud_watch_monitoring_configuration: {
1634
- # log_group_name: "TemplateParameter",
1635
- # log_stream_name_prefix: "String256",
1636
- # },
1637
- # s3_monitoring_configuration: {
1638
- # log_uri: "UriString",
1639
- # },
1640
- # },
1641
- # }
1642
- #
1643
1228
  # @!attribute [rw] application_configuration
1644
1229
  # The configurations for the application running by the job run.
1645
1230
  # @return [Array<Types::Configuration>]
@@ -1660,20 +1245,6 @@ module Aws::EMRContainers
1660
1245
  # Configuration setting for monitoring. This data type allows job
1661
1246
  # template parameters to be specified within.
1662
1247
  #
1663
- # @note When making an API call, you may pass ParametricMonitoringConfiguration
1664
- # data as a hash:
1665
- #
1666
- # {
1667
- # persistent_app_ui: "TemplateParameter",
1668
- # cloud_watch_monitoring_configuration: {
1669
- # log_group_name: "TemplateParameter",
1670
- # log_stream_name_prefix: "String256",
1671
- # },
1672
- # s3_monitoring_configuration: {
1673
- # log_uri: "UriString",
1674
- # },
1675
- # }
1676
- #
1677
1248
  # @!attribute [rw] persistent_app_ui
1678
1249
  # Monitoring configurations for the persistent application UI.
1679
1250
  # @return [String]
@@ -1700,13 +1271,6 @@ module Aws::EMRContainers
1700
1271
  # configure your jobs to send log information to Amazon S3. This data
1701
1272
  # type allows job template parameters to be specified within.
1702
1273
  #
1703
- # @note When making an API call, you may pass ParametricS3MonitoringConfiguration
1704
- # data as a hash:
1705
- #
1706
- # {
1707
- # log_uri: "UriString",
1708
- # }
1709
- #
1710
1274
  # @!attribute [rw] log_uri
1711
1275
  # Amazon S3 destination URI for log publishing.
1712
1276
  # @return [String]
@@ -1732,15 +1296,36 @@ module Aws::EMRContainers
1732
1296
  include Aws::Structure
1733
1297
  end
1734
1298
 
1735
- # Amazon S3 configuration for monitoring log publishing. You can
1736
- # configure your jobs to send log information to Amazon S3.
1299
+ # The configuration of the retry policy that the job runs on.
1300
+ #
1301
+ # @!attribute [rw] max_attempts
1302
+ # The maximum number of attempts on the job's driver.
1303
+ # @return [Integer]
1304
+ #
1305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/RetryPolicyConfiguration AWS API Documentation
1737
1306
  #
1738
- # @note When making an API call, you may pass S3MonitoringConfiguration
1739
- # data as a hash:
1307
+ class RetryPolicyConfiguration < Struct.new(
1308
+ :max_attempts)
1309
+ SENSITIVE = []
1310
+ include Aws::Structure
1311
+ end
1312
+
1313
+ # The current status of the retry policy executed on the job.
1740
1314
  #
1741
- # {
1742
- # log_uri: "UriString", # required
1743
- # }
1315
+ # @!attribute [rw] current_attempt_count
1316
+ # The current number of attempts made on the driver of the job.
1317
+ # @return [Integer]
1318
+ #
1319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/RetryPolicyExecution AWS API Documentation
1320
+ #
1321
+ class RetryPolicyExecution < Struct.new(
1322
+ :current_attempt_count)
1323
+ SENSITIVE = []
1324
+ include Aws::Structure
1325
+ end
1326
+
1327
+ # Amazon S3 configuration for monitoring log publishing. You can
1328
+ # configure your jobs to send log information to Amazon S3.
1744
1329
  #
1745
1330
  # @!attribute [rw] log_uri
1746
1331
  # Amazon S3 destination URI for log publishing.
@@ -1756,14 +1341,6 @@ module Aws::EMRContainers
1756
1341
 
1757
1342
  # The job driver for job type.
1758
1343
  #
1759
- # @note When making an API call, you may pass SparkSqlJobDriver
1760
- # data as a hash:
1761
- #
1762
- # {
1763
- # entry_point: "EntryPointPath",
1764
- # spark_sql_parameters: "SparkSqlParameters",
1765
- # }
1766
- #
1767
1344
  # @!attribute [rw] entry_point
1768
1345
  # The SQL file to be executed.
1769
1346
  # @return [String]
@@ -1783,15 +1360,6 @@ module Aws::EMRContainers
1783
1360
 
1784
1361
  # The information about job driver for Spark submit.
1785
1362
  #
1786
- # @note When making an API call, you may pass SparkSubmitJobDriver
1787
- # data as a hash:
1788
- #
1789
- # {
1790
- # entry_point: "EntryPointPath", # required
1791
- # entry_point_arguments: ["EntryPointArgument"],
1792
- # spark_submit_parameters: "SparkSubmitParameters",
1793
- # }
1794
- #
1795
1363
  # @!attribute [rw] entry_point
1796
1364
  # The entry point of job application.
1797
1365
  # @return [String]
@@ -1814,58 +1382,6 @@ module Aws::EMRContainers
1814
1382
  include Aws::Structure
1815
1383
  end
1816
1384
 
1817
- # @note When making an API call, you may pass StartJobRunRequest
1818
- # data as a hash:
1819
- #
1820
- # {
1821
- # name: "ResourceNameString",
1822
- # virtual_cluster_id: "ResourceIdString", # required
1823
- # client_token: "ClientToken", # required
1824
- # execution_role_arn: "IAMRoleArn",
1825
- # release_label: "ReleaseLabel",
1826
- # job_driver: {
1827
- # spark_submit_job_driver: {
1828
- # entry_point: "EntryPointPath", # required
1829
- # entry_point_arguments: ["EntryPointArgument"],
1830
- # spark_submit_parameters: "SparkSubmitParameters",
1831
- # },
1832
- # spark_sql_job_driver: {
1833
- # entry_point: "EntryPointPath",
1834
- # spark_sql_parameters: "SparkSqlParameters",
1835
- # },
1836
- # },
1837
- # configuration_overrides: {
1838
- # application_configuration: [
1839
- # {
1840
- # classification: "String1024", # required
1841
- # properties: {
1842
- # "String1024" => "String1024",
1843
- # },
1844
- # configurations: {
1845
- # # recursive ConfigurationList
1846
- # },
1847
- # },
1848
- # ],
1849
- # monitoring_configuration: {
1850
- # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
1851
- # cloud_watch_monitoring_configuration: {
1852
- # log_group_name: "LogGroupName", # required
1853
- # log_stream_name_prefix: "String256",
1854
- # },
1855
- # s3_monitoring_configuration: {
1856
- # log_uri: "UriString", # required
1857
- # },
1858
- # },
1859
- # },
1860
- # tags: {
1861
- # "String128" => "StringEmpty256",
1862
- # },
1863
- # job_template_id: "ResourceIdString",
1864
- # job_template_parameters: {
1865
- # "TemplateParameterName" => "String1024",
1866
- # },
1867
- # }
1868
- #
1869
1385
  # @!attribute [rw] name
1870
1386
  # The name of the job run.
1871
1387
  # @return [String]
@@ -1909,6 +1425,10 @@ module Aws::EMRContainers
1909
1425
  # The values of job template parameters to start a job run.
1910
1426
  # @return [Hash<String,String>]
1911
1427
  #
1428
+ # @!attribute [rw] retry_policy_configuration
1429
+ # The retry policy configuration for the job run.
1430
+ # @return [Types::RetryPolicyConfiguration]
1431
+ #
1912
1432
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/StartJobRunRequest AWS API Documentation
1913
1433
  #
1914
1434
  class StartJobRunRequest < Struct.new(
@@ -1921,7 +1441,8 @@ module Aws::EMRContainers
1921
1441
  :configuration_overrides,
1922
1442
  :tags,
1923
1443
  :job_template_id,
1924
- :job_template_parameters)
1444
+ :job_template_parameters,
1445
+ :retry_policy_configuration)
1925
1446
  SENSITIVE = []
1926
1447
  include Aws::Structure
1927
1448
  end
@@ -1954,16 +1475,6 @@ module Aws::EMRContainers
1954
1475
  include Aws::Structure
1955
1476
  end
1956
1477
 
1957
- # @note When making an API call, you may pass TagResourceRequest
1958
- # data as a hash:
1959
- #
1960
- # {
1961
- # resource_arn: "RsiArn", # required
1962
- # tags: { # required
1963
- # "String128" => "StringEmpty256",
1964
- # },
1965
- # }
1966
- #
1967
1478
  # @!attribute [rw] resource_arn
1968
1479
  # The ARN of resources.
1969
1480
  # @return [String]
@@ -1987,17 +1498,9 @@ module Aws::EMRContainers
1987
1498
 
1988
1499
  # The configuration of a job template parameter.
1989
1500
  #
1990
- # @note When making an API call, you may pass TemplateParameterConfiguration
1991
- # data as a hash:
1992
- #
1993
- # {
1994
- # type: "NUMBER", # accepts NUMBER, STRING
1995
- # default_value: "String1024",
1996
- # }
1997
- #
1998
1501
  # @!attribute [rw] type
1999
1502
  # The type of the job template parameter. Allowed values are:
2000
- # ‘String’, ‘Number’.
1503
+ # ‘STRING’, ‘NUMBER’.
2001
1504
  # @return [String]
2002
1505
  #
2003
1506
  # @!attribute [rw] default_value
@@ -2013,14 +1516,6 @@ module Aws::EMRContainers
2013
1516
  include Aws::Structure
2014
1517
  end
2015
1518
 
2016
- # @note When making an API call, you may pass UntagResourceRequest
2017
- # data as a hash:
2018
- #
2019
- # {
2020
- # resource_arn: "RsiArn", # required
2021
- # tag_keys: ["String128"], # required
2022
- # }
2023
- #
2024
1519
  # @!attribute [rw] resource_arn
2025
1520
  # The ARN of resources.
2026
1521
  # @return [String]
@@ -2059,9 +1554,9 @@ module Aws::EMRContainers
2059
1554
  # Kubernetes namespace that Amazon EMR is registered with. Amazon EMR
2060
1555
  # uses virtual clusters to run jobs and host endpoints. Multiple virtual
2061
1556
  # clusters can be backed by the same physical cluster. However, each
2062
- # virtual cluster maps to one namespace on an EKS cluster. Virtual
2063
- # clusters do not create any active resources that contribute to your
2064
- # bill or that require lifecycle management outside the service.
1557
+ # virtual cluster maps to one namespace on an Amazon EKS cluster.
1558
+ # Virtual clusters do not create any active resources that contribute to
1559
+ # your bill or that require lifecycle management outside the service.
2065
1560
  #
2066
1561
  # @!attribute [rw] id
2067
1562
  # The ID of the virtual cluster.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-emrcontainers/customizations'
52
52
  # @!group service
53
53
  module Aws::EMRContainers
54
54
 
55
- GEM_VERSION = '1.17.0'
55
+ GEM_VERSION = '1.19.0'
56
56
 
57
57
  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.17.0
4
+ version: 1.19.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-11-04 00:00:00.000000000 Z
11
+ date: 2023-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core