aws-sdk-emrserverless 1.3.0 → 1.4.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: f5f05eb090108223cdebe13e273e04a8ba7eb499271205368bbbc248e127d6f8
4
- data.tar.gz: c0011ce16b9894b71edd3798ec5c9232efb7bf44c550ea6ad755aac03d8601f0
3
+ metadata.gz: 1d3872913661ecc2a1745c33fa561fa268143b6035d1e4f9c6c7007bcf28ec39
4
+ data.tar.gz: 31c145276d25a7d6ed6f80f16df5c67c20e2a6656f78841200cb45f184d7da19
5
5
  SHA512:
6
- metadata.gz: 0d59e584a9a2e3777d6738f1007f643c001d0960bf72936ceeafd79dd6fffbf221cdc70eb7e53f3ca0eb3e53515268bfdeb7ece64c6d3d8d2ac57e14f9dd0582
7
- data.tar.gz: 8c5a5f53a5db27fad39ee96316717a2c31bba29ae6fd3f0c59bf85f48b6b307f95f88e91c3d6c9ce2469c2ffb626f32d75283af53881cded302024ce0643cc1f
6
+ metadata.gz: e7b34dcfdc2c0d3d7a1dc64eba8f98838f7065d6cc61a75afd77374806f1784e91002e77ff7157ca492c1a73c85f79f649d64d826624e040a3d709f88ab280c4
7
+ data.tar.gz: ee83413d49e4ea55c3f56baf790c795519725529ac56008aaeb68694b96c5373bf1f328203b5dae4404dc5d64f6449d3b28aeff3034a2483cb10f51445506122
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.4.0 (2023-01-05)
5
+ ------------------
6
+
7
+ * Feature - Adds support for customized images. You can now provide runtime images when creating or updating EMR Serverless Applications.
8
+
4
9
  1.3.0 (2022-11-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.4.0
@@ -408,7 +408,7 @@ module Aws::EMRServerless
408
408
  # The name of the application.
409
409
  #
410
410
  # @option params [required, String] :release_label
411
- # The EMR release version associated with the application.
411
+ # The EMR release associated with the application.
412
412
  #
413
413
  # @option params [required, String] :type
414
414
  # The type of application you want to start, such as Spark or Hive.
@@ -446,6 +446,20 @@ module Aws::EMRServerless
446
446
  # @option params [String] :architecture
447
447
  # The CPU architecture of an application.
448
448
  #
449
+ # @option params [Types::ImageConfigurationInput] :image_configuration
450
+ # The image configuration for all worker types. You can either set this
451
+ # parameter or `imageConfiguration` for each worker type in
452
+ # `workerTypeSpecifications`.
453
+ #
454
+ # @option params [Hash<String,Types::WorkerTypeSpecificationInput>] :worker_type_specifications
455
+ # The key-value pairs that specify worker type to
456
+ # `WorkerTypeSpecificationInput`. This parameter must contain all valid
457
+ # worker types for a Spark or Hive application. Valid worker types
458
+ # include `Driver` and `Executor` for Spark applications and
459
+ # `HiveDriver` and `TezTask` for Hive applications. You can either set
460
+ # image details in this parameter for each worker type, or in
461
+ # `imageConfiguration` for all worker types.
462
+ #
449
463
  # @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
450
464
  #
451
465
  # * {Types::CreateApplicationResponse#application_id #application_id} => String
@@ -489,6 +503,16 @@ module Aws::EMRServerless
489
503
  # security_group_ids: ["SecurityGroupString"],
490
504
  # },
491
505
  # architecture: "ARM64", # accepts ARM64, X86_64
506
+ # image_configuration: {
507
+ # image_uri: "ImageUri",
508
+ # },
509
+ # worker_type_specifications: {
510
+ # "WorkerTypeString" => {
511
+ # image_configuration: {
512
+ # image_uri: "ImageUri",
513
+ # },
514
+ # },
515
+ # },
492
516
  # })
493
517
  #
494
518
  # @example Response structure
@@ -573,6 +597,11 @@ module Aws::EMRServerless
573
597
  # resp.application.network_configuration.security_group_ids #=> Array
574
598
  # resp.application.network_configuration.security_group_ids[0] #=> String
575
599
  # resp.application.architecture #=> String, one of "ARM64", "X86_64"
600
+ # resp.application.image_configuration.image_uri #=> String
601
+ # resp.application.image_configuration.resolved_image_digest #=> String
602
+ # resp.application.worker_type_specifications #=> Hash
603
+ # resp.application.worker_type_specifications["WorkerTypeString"].image_configuration.image_uri #=> String
604
+ # resp.application.worker_type_specifications["WorkerTypeString"].image_configuration.resolved_image_digest #=> String
576
605
  #
577
606
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication AWS API Documentation
578
607
  #
@@ -1078,6 +1107,20 @@ module Aws::EMRServerless
1078
1107
  # @option params [String] :architecture
1079
1108
  # The CPU architecture of an application.
1080
1109
  #
1110
+ # @option params [Types::ImageConfigurationInput] :image_configuration
1111
+ # The image configuration to be used for all worker types. You can
1112
+ # either set this parameter or `imageConfiguration` for each worker type
1113
+ # in `WorkerTypeSpecificationInput`.
1114
+ #
1115
+ # @option params [Hash<String,Types::WorkerTypeSpecificationInput>] :worker_type_specifications
1116
+ # The key-value pairs that specify worker type to
1117
+ # `WorkerTypeSpecificationInput`. This parameter must contain all valid
1118
+ # worker types for a Spark or Hive application. Valid worker types
1119
+ # include `Driver` and `Executor` for Spark applications and
1120
+ # `HiveDriver` and `TezTask` for Hive applications. You can either set
1121
+ # image details in this parameter for each worker type, or in
1122
+ # `imageConfiguration` for all worker types.
1123
+ #
1081
1124
  # @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1082
1125
  #
1083
1126
  # * {Types::UpdateApplicationResponse#application #application} => Types::Application
@@ -1114,6 +1157,16 @@ module Aws::EMRServerless
1114
1157
  # security_group_ids: ["SecurityGroupString"],
1115
1158
  # },
1116
1159
  # architecture: "ARM64", # accepts ARM64, X86_64
1160
+ # image_configuration: {
1161
+ # image_uri: "ImageUri",
1162
+ # },
1163
+ # worker_type_specifications: {
1164
+ # "WorkerTypeString" => {
1165
+ # image_configuration: {
1166
+ # image_uri: "ImageUri",
1167
+ # },
1168
+ # },
1169
+ # },
1117
1170
  # })
1118
1171
  #
1119
1172
  # @example Response structure
@@ -1145,6 +1198,11 @@ module Aws::EMRServerless
1145
1198
  # resp.application.network_configuration.security_group_ids #=> Array
1146
1199
  # resp.application.network_configuration.security_group_ids[0] #=> String
1147
1200
  # resp.application.architecture #=> String, one of "ARM64", "X86_64"
1201
+ # resp.application.image_configuration.image_uri #=> String
1202
+ # resp.application.image_configuration.resolved_image_digest #=> String
1203
+ # resp.application.worker_type_specifications #=> Hash
1204
+ # resp.application.worker_type_specifications["WorkerTypeString"].image_configuration.image_uri #=> String
1205
+ # resp.application.worker_type_specifications["WorkerTypeString"].image_configuration.resolved_image_digest #=> String
1148
1206
  #
1149
1207
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication AWS API Documentation
1150
1208
  #
@@ -1168,7 +1226,7 @@ module Aws::EMRServerless
1168
1226
  params: params,
1169
1227
  config: config)
1170
1228
  context[:gem_name] = 'aws-sdk-emrserverless'
1171
- context[:gem_version] = '1.3.0'
1229
+ context[:gem_version] = '1.4.0'
1172
1230
  Seahorse::Client::Request.new(handlers, context)
1173
1231
  end
1174
1232
 
@@ -56,6 +56,10 @@ module Aws::EMRServerless
56
56
  Hive = Shapes::StructureShape.new(name: 'Hive')
57
57
  HiveCliParameters = Shapes::StringShape.new(name: 'HiveCliParameters')
58
58
  IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
59
+ ImageConfiguration = Shapes::StructureShape.new(name: 'ImageConfiguration')
60
+ ImageConfigurationInput = Shapes::StructureShape.new(name: 'ImageConfigurationInput')
61
+ ImageDigest = Shapes::StringShape.new(name: 'ImageDigest')
62
+ ImageUri = Shapes::StringShape.new(name: 'ImageUri')
59
63
  InitScriptPath = Shapes::StringShape.new(name: 'InitScriptPath')
60
64
  InitialCapacityConfig = Shapes::StructureShape.new(name: 'InitialCapacityConfig')
61
65
  InitialCapacityConfigMap = Shapes::MapShape.new(name: 'InitialCapacityConfigMap')
@@ -122,6 +126,10 @@ module Aws::EMRServerless
122
126
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
123
127
  WorkerCounts = Shapes::IntegerShape.new(name: 'WorkerCounts')
124
128
  WorkerResourceConfig = Shapes::StructureShape.new(name: 'WorkerResourceConfig')
129
+ WorkerTypeSpecification = Shapes::StructureShape.new(name: 'WorkerTypeSpecification')
130
+ WorkerTypeSpecificationInput = Shapes::StructureShape.new(name: 'WorkerTypeSpecificationInput')
131
+ WorkerTypeSpecificationInputMap = Shapes::MapShape.new(name: 'WorkerTypeSpecificationInputMap')
132
+ WorkerTypeSpecificationMap = Shapes::MapShape.new(name: 'WorkerTypeSpecificationMap')
125
133
  WorkerTypeString = Shapes::StringShape.new(name: 'WorkerTypeString')
126
134
 
127
135
  Application.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
@@ -140,6 +148,8 @@ module Aws::EMRServerless
140
148
  Application.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration"))
141
149
  Application.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
142
150
  Application.add_member(:architecture, Shapes::ShapeRef.new(shape: Architecture, location_name: "architecture"))
151
+ Application.add_member(:image_configuration, Shapes::ShapeRef.new(shape: ImageConfiguration, location_name: "imageConfiguration"))
152
+ Application.add_member(:worker_type_specifications, Shapes::ShapeRef.new(shape: WorkerTypeSpecificationMap, location_name: "workerTypeSpecifications"))
143
153
  Application.struct_class = Types::Application
144
154
 
145
155
  ApplicationList.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
@@ -198,6 +208,8 @@ module Aws::EMRServerless
198
208
  CreateApplicationRequest.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration"))
199
209
  CreateApplicationRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
200
210
  CreateApplicationRequest.add_member(:architecture, Shapes::ShapeRef.new(shape: Architecture, location_name: "architecture"))
211
+ CreateApplicationRequest.add_member(:image_configuration, Shapes::ShapeRef.new(shape: ImageConfigurationInput, location_name: "imageConfiguration"))
212
+ CreateApplicationRequest.add_member(:worker_type_specifications, Shapes::ShapeRef.new(shape: WorkerTypeSpecificationInputMap, location_name: "workerTypeSpecifications"))
201
213
  CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
202
214
 
203
215
  CreateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
@@ -237,6 +249,13 @@ module Aws::EMRServerless
237
249
  Hive.add_member(:parameters, Shapes::ShapeRef.new(shape: HiveCliParameters, location_name: "parameters"))
238
250
  Hive.struct_class = Types::Hive
239
251
 
252
+ ImageConfiguration.add_member(:image_uri, Shapes::ShapeRef.new(shape: ImageUri, required: true, location_name: "imageUri"))
253
+ ImageConfiguration.add_member(:resolved_image_digest, Shapes::ShapeRef.new(shape: ImageDigest, location_name: "resolvedImageDigest"))
254
+ ImageConfiguration.struct_class = Types::ImageConfiguration
255
+
256
+ ImageConfigurationInput.add_member(:image_uri, Shapes::ShapeRef.new(shape: ImageUri, location_name: "imageUri"))
257
+ ImageConfigurationInput.struct_class = Types::ImageConfigurationInput
258
+
240
259
  InitialCapacityConfig.add_member(:worker_count, Shapes::ShapeRef.new(shape: WorkerCounts, required: true, location_name: "workerCount"))
241
260
  InitialCapacityConfig.add_member(:worker_configuration, Shapes::ShapeRef.new(shape: WorkerResourceConfig, location_name: "workerConfiguration"))
242
261
  InitialCapacityConfig.struct_class = Types::InitialCapacityConfig
@@ -413,6 +432,8 @@ module Aws::EMRServerless
413
432
  UpdateApplicationRequest.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration"))
414
433
  UpdateApplicationRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
415
434
  UpdateApplicationRequest.add_member(:architecture, Shapes::ShapeRef.new(shape: Architecture, location_name: "architecture"))
435
+ UpdateApplicationRequest.add_member(:image_configuration, Shapes::ShapeRef.new(shape: ImageConfigurationInput, location_name: "imageConfiguration"))
436
+ UpdateApplicationRequest.add_member(:worker_type_specifications, Shapes::ShapeRef.new(shape: WorkerTypeSpecificationInputMap, location_name: "workerTypeSpecifications"))
416
437
  UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
417
438
 
418
439
  UpdateApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, required: true, location_name: "application"))
@@ -426,6 +447,18 @@ module Aws::EMRServerless
426
447
  WorkerResourceConfig.add_member(:disk, Shapes::ShapeRef.new(shape: DiskSize, location_name: "disk"))
427
448
  WorkerResourceConfig.struct_class = Types::WorkerResourceConfig
428
449
 
450
+ WorkerTypeSpecification.add_member(:image_configuration, Shapes::ShapeRef.new(shape: ImageConfiguration, location_name: "imageConfiguration"))
451
+ WorkerTypeSpecification.struct_class = Types::WorkerTypeSpecification
452
+
453
+ WorkerTypeSpecificationInput.add_member(:image_configuration, Shapes::ShapeRef.new(shape: ImageConfigurationInput, location_name: "imageConfiguration"))
454
+ WorkerTypeSpecificationInput.struct_class = Types::WorkerTypeSpecificationInput
455
+
456
+ WorkerTypeSpecificationInputMap.key = Shapes::ShapeRef.new(shape: WorkerTypeString)
457
+ WorkerTypeSpecificationInputMap.value = Shapes::ShapeRef.new(shape: WorkerTypeSpecificationInput)
458
+
459
+ WorkerTypeSpecificationMap.key = Shapes::ShapeRef.new(shape: WorkerTypeString)
460
+ WorkerTypeSpecificationMap.value = Shapes::ShapeRef.new(shape: WorkerTypeSpecification)
461
+
429
462
 
430
463
  # @api private
431
464
  API = Seahorse::Model::Api.new.tap do |api|
@@ -462,6 +495,7 @@ module Aws::EMRServerless
462
495
  o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest)
463
496
  o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse)
464
497
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
498
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
465
499
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
466
500
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
467
501
  end)
@@ -50,6 +50,9 @@ module Aws::EMRServerless
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?
@@ -29,83 +29,83 @@ module Aws::EMRServerless
29
29
  # @api private
30
30
  RULES = <<-JSON
31
31
  eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm9yLiIsInR5cGUi
40
- OiJCb29sZWFuIn0sIlVzZUZJUFMiOnsiYnVpbHRJbiI6IkFXUzo6VXNlRklQ
41
- UyIsInJlcXVpcmVkIjp0cnVlLCJkZWZhdWx0IjpmYWxzZSwiZG9jdW1lbnRh
42
- dGlvbiI6IldoZW4gdHJ1ZSwgc2VuZ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kdWFsU3RhY2tEbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRl
102
+ cnMiOnt9fSwidHlwZSI6ImVuZHBvaW50In1dfSx7ImNvbmRpdGlvbnMiOltd
103
+ LCJlcnJvciI6IkR1YWxTdGFjayBpcyBlbmFibGVkIGJ1dCB0aGlzIHBhcnRp
104
+ dGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFjayIsInR5cGUiOiJlcnJv
105
+ ciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0
106
+ cHM6Ly9lbXItc2VydmVybGVzcy57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0
107
+ I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0
108
+ eXBlIjoiZW5kcG9pbnQifV19XX0=
109
109
 
110
110
  JSON
111
111
  end
@@ -26,7 +26,7 @@ module Aws::EMRServerless
26
26
  # @return [String]
27
27
  #
28
28
  # @!attribute [rw] release_label
29
- # The EMR release version associated with the application.
29
+ # The EMR release associated with the application.
30
30
  # @return [String]
31
31
  #
32
32
  # @!attribute [rw] type
@@ -83,6 +83,14 @@ module Aws::EMRServerless
83
83
  # The CPU architecture of an application.
84
84
  # @return [String]
85
85
  #
86
+ # @!attribute [rw] image_configuration
87
+ # The image configuration applied to all worker types.
88
+ # @return [Types::ImageConfiguration]
89
+ #
90
+ # @!attribute [rw] worker_type_specifications
91
+ # The specification applied to each worker type.
92
+ # @return [Hash<String,Types::WorkerTypeSpecification>]
93
+ #
86
94
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/Application AWS API Documentation
87
95
  #
88
96
  class Application < Struct.new(
@@ -101,7 +109,9 @@ module Aws::EMRServerless
101
109
  :auto_start_configuration,
102
110
  :auto_stop_configuration,
103
111
  :network_configuration,
104
- :architecture)
112
+ :architecture,
113
+ :image_configuration,
114
+ :worker_type_specifications)
105
115
  SENSITIVE = []
106
116
  include Aws::Structure
107
117
  end
@@ -121,7 +131,7 @@ module Aws::EMRServerless
121
131
  # @return [String]
122
132
  #
123
133
  # @!attribute [rw] release_label
124
- # The EMR release version associated with the application.
134
+ # The EMR release associated with the application.
125
135
  # @return [String]
126
136
  #
127
137
  # @!attribute [rw] type
@@ -168,13 +178,6 @@ module Aws::EMRServerless
168
178
  # The configuration for an application to automatically start on job
169
179
  # submission.
170
180
  #
171
- # @note When making an API call, you may pass AutoStartConfig
172
- # data as a hash:
173
- #
174
- # {
175
- # enabled: false,
176
- # }
177
- #
178
181
  # @!attribute [rw] enabled
179
182
  # Enables the application to automatically start on job submission.
180
183
  # Defaults to true.
@@ -191,14 +194,6 @@ module Aws::EMRServerless
191
194
  # The configuration for an application to automatically stop after a
192
195
  # certain amount of time being idle.
193
196
  #
194
- # @note When making an API call, you may pass AutoStopConfig
195
- # data as a hash:
196
- #
197
- # {
198
- # enabled: false,
199
- # idle_timeout_minutes: 1,
200
- # }
201
- #
202
197
  # @!attribute [rw] enabled
203
198
  # Enables the application to automatically stop after a certain amount
204
199
  # of time being idle. Defaults to true.
@@ -218,14 +213,6 @@ module Aws::EMRServerless
218
213
  include Aws::Structure
219
214
  end
220
215
 
221
- # @note When making an API call, you may pass CancelJobRunRequest
222
- # data as a hash:
223
- #
224
- # {
225
- # application_id: "ApplicationId", # required
226
- # job_run_id: "JobRunId", # required
227
- # }
228
- #
229
216
  # @!attribute [rw] application_id
230
217
  # The ID of the application on which the job run will be canceled.
231
218
  # @return [String]
@@ -267,27 +254,6 @@ module Aws::EMRServerless
267
254
  # application-specific configuration file. Properties are the settings
268
255
  # you want to change in that file.
269
256
  #
270
- # @note When making an API call, you may pass Configuration
271
- # data as a hash:
272
- #
273
- # {
274
- # classification: "String1024", # required
275
- # properties: {
276
- # "String1024" => "String1024",
277
- # },
278
- # configurations: [
279
- # {
280
- # classification: "String1024", # required
281
- # properties: {
282
- # "String1024" => "String1024",
283
- # },
284
- # configurations: {
285
- # # recursive ConfigurationList
286
- # },
287
- # },
288
- # ],
289
- # }
290
- #
291
257
  # @!attribute [rw] classification
292
258
  # The classification within a configuration.
293
259
  # @return [String]
@@ -314,33 +280,6 @@ module Aws::EMRServerless
314
280
  # A configuration specification to be used to override existing
315
281
  # configurations.
316
282
  #
317
- # @note When making an API call, you may pass ConfigurationOverrides
318
- # data as a hash:
319
- #
320
- # {
321
- # application_configuration: [
322
- # {
323
- # classification: "String1024", # required
324
- # properties: {
325
- # "String1024" => "String1024",
326
- # },
327
- # configurations: {
328
- # # recursive ConfigurationList
329
- # },
330
- # },
331
- # ],
332
- # monitoring_configuration: {
333
- # s3_monitoring_configuration: {
334
- # log_uri: "UriString",
335
- # encryption_key_arn: "EncryptionKeyArn",
336
- # },
337
- # managed_persistence_monitoring_configuration: {
338
- # enabled: false,
339
- # encryption_key_arn: "EncryptionKeyArn",
340
- # },
341
- # },
342
- # }
343
- #
344
283
  # @!attribute [rw] application_configuration
345
284
  # The override configurations for the application.
346
285
  # @return [Array<Types::Configuration>]
@@ -372,52 +311,12 @@ module Aws::EMRServerless
372
311
  include Aws::Structure
373
312
  end
374
313
 
375
- # @note When making an API call, you may pass CreateApplicationRequest
376
- # data as a hash:
377
- #
378
- # {
379
- # name: "ApplicationName",
380
- # release_label: "ReleaseLabel", # required
381
- # type: "EngineType", # required
382
- # client_token: "ClientToken", # required
383
- # initial_capacity: {
384
- # "WorkerTypeString" => {
385
- # worker_count: 1, # required
386
- # worker_configuration: {
387
- # cpu: "CpuSize", # required
388
- # memory: "MemorySize", # required
389
- # disk: "DiskSize",
390
- # },
391
- # },
392
- # },
393
- # maximum_capacity: {
394
- # cpu: "CpuSize", # required
395
- # memory: "MemorySize", # required
396
- # disk: "DiskSize",
397
- # },
398
- # tags: {
399
- # "TagKey" => "TagValue",
400
- # },
401
- # auto_start_configuration: {
402
- # enabled: false,
403
- # },
404
- # auto_stop_configuration: {
405
- # enabled: false,
406
- # idle_timeout_minutes: 1,
407
- # },
408
- # network_configuration: {
409
- # subnet_ids: ["SubnetString"],
410
- # security_group_ids: ["SecurityGroupString"],
411
- # },
412
- # architecture: "ARM64", # accepts ARM64, X86_64
413
- # }
414
- #
415
314
  # @!attribute [rw] name
416
315
  # The name of the application.
417
316
  # @return [String]
418
317
  #
419
318
  # @!attribute [rw] release_label
420
- # The EMR release version associated with the application.
319
+ # The EMR release associated with the application.
421
320
  # @return [String]
422
321
  #
423
322
  # @!attribute [rw] type
@@ -465,6 +364,22 @@ module Aws::EMRServerless
465
364
  # The CPU architecture of an application.
466
365
  # @return [String]
467
366
  #
367
+ # @!attribute [rw] image_configuration
368
+ # The image configuration for all worker types. You can either set
369
+ # this parameter or `imageConfiguration` for each worker type in
370
+ # `workerTypeSpecifications`.
371
+ # @return [Types::ImageConfigurationInput]
372
+ #
373
+ # @!attribute [rw] worker_type_specifications
374
+ # The key-value pairs that specify worker type to
375
+ # `WorkerTypeSpecificationInput`. This parameter must contain all
376
+ # valid worker types for a Spark or Hive application. Valid worker
377
+ # types include `Driver` and `Executor` for Spark applications and
378
+ # `HiveDriver` and `TezTask` for Hive applications. You can either set
379
+ # image details in this parameter for each worker type, or in
380
+ # `imageConfiguration` for all worker types.
381
+ # @return [Hash<String,Types::WorkerTypeSpecificationInput>]
382
+ #
468
383
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CreateApplicationRequest AWS API Documentation
469
384
  #
470
385
  class CreateApplicationRequest < Struct.new(
@@ -478,7 +393,9 @@ module Aws::EMRServerless
478
393
  :auto_start_configuration,
479
394
  :auto_stop_configuration,
480
395
  :network_configuration,
481
- :architecture)
396
+ :architecture,
397
+ :image_configuration,
398
+ :worker_type_specifications)
482
399
  SENSITIVE = []
483
400
  include Aws::Structure
484
401
  end
@@ -505,13 +422,6 @@ module Aws::EMRServerless
505
422
  include Aws::Structure
506
423
  end
507
424
 
508
- # @note When making an API call, you may pass DeleteApplicationRequest
509
- # data as a hash:
510
- #
511
- # {
512
- # application_id: "ApplicationId", # required
513
- # }
514
- #
515
425
  # @!attribute [rw] application_id
516
426
  # The ID of the application that will be deleted.
517
427
  # @return [String]
@@ -528,13 +438,6 @@ module Aws::EMRServerless
528
438
  #
529
439
  class DeleteApplicationResponse < Aws::EmptyStructure; end
530
440
 
531
- # @note When making an API call, you may pass GetApplicationRequest
532
- # data as a hash:
533
- #
534
- # {
535
- # application_id: "ApplicationId", # required
536
- # }
537
- #
538
441
  # @!attribute [rw] application_id
539
442
  # The ID of the application that will be described.
540
443
  # @return [String]
@@ -559,14 +462,6 @@ module Aws::EMRServerless
559
462
  include Aws::Structure
560
463
  end
561
464
 
562
- # @note When making an API call, you may pass GetDashboardForJobRunRequest
563
- # data as a hash:
564
- #
565
- # {
566
- # application_id: "ApplicationId", # required
567
- # job_run_id: "JobRunId", # required
568
- # }
569
- #
570
465
  # @!attribute [rw] application_id
571
466
  # The ID of the application.
572
467
  # @return [String]
@@ -596,14 +491,6 @@ module Aws::EMRServerless
596
491
  include Aws::Structure
597
492
  end
598
493
 
599
- # @note When making an API call, you may pass GetJobRunRequest
600
- # data as a hash:
601
- #
602
- # {
603
- # application_id: "ApplicationId", # required
604
- # job_run_id: "JobRunId", # required
605
- # }
606
- #
607
494
  # @!attribute [rw] application_id
608
495
  # The ID of the application on which the job run is submitted.
609
496
  # @return [String]
@@ -635,15 +522,6 @@ module Aws::EMRServerless
635
522
 
636
523
  # The configurations for the Hive job driver.
637
524
  #
638
- # @note When making an API call, you may pass Hive
639
- # data as a hash:
640
- #
641
- # {
642
- # query: "Query", # required
643
- # init_query_file: "InitScriptPath",
644
- # parameters: "HiveCliParameters",
645
- # }
646
- #
647
525
  # @!attribute [rw] query
648
526
  # The query for the Hive job run.
649
527
  # @return [String]
@@ -666,19 +544,44 @@ module Aws::EMRServerless
666
544
  include Aws::Structure
667
545
  end
668
546
 
669
- # The initial capacity configuration per worker.
547
+ # The applied image configuration.
548
+ #
549
+ # @!attribute [rw] image_uri
550
+ # The image URI.
551
+ # @return [String]
552
+ #
553
+ # @!attribute [rw] resolved_image_digest
554
+ # The SHA256 digest of the image URI. This indicates which specific
555
+ # image the application is configured for. The image digest doesn't
556
+ # exist until an application has started.
557
+ # @return [String]
558
+ #
559
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ImageConfiguration AWS API Documentation
560
+ #
561
+ class ImageConfiguration < Struct.new(
562
+ :image_uri,
563
+ :resolved_image_digest)
564
+ SENSITIVE = []
565
+ include Aws::Structure
566
+ end
567
+
568
+ # The image configuration.
670
569
  #
671
- # @note When making an API call, you may pass InitialCapacityConfig
672
- # data as a hash:
570
+ # @!attribute [rw] image_uri
571
+ # The URI of an image in the Amazon ECR registry. This field is
572
+ # required when you create a new application. If you leave this field
573
+ # blank in an update, Amazon EMR will remove the image configuration.
574
+ # @return [String]
673
575
  #
674
- # {
675
- # worker_count: 1, # required
676
- # worker_configuration: {
677
- # cpu: "CpuSize", # required
678
- # memory: "MemorySize", # required
679
- # disk: "DiskSize",
680
- # },
681
- # }
576
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ImageConfigurationInput AWS API Documentation
577
+ #
578
+ class ImageConfigurationInput < Struct.new(
579
+ :image_uri)
580
+ SENSITIVE = []
581
+ include Aws::Structure
582
+ end
583
+
584
+ # The initial capacity configuration per worker.
682
585
  #
683
586
  # @!attribute [rw] worker_count
684
587
  # The number of workers in the initial capacity configuration.
@@ -785,8 +688,8 @@ module Aws::EMRServerless
785
688
  # @return [String]
786
689
  #
787
690
  # @!attribute [rw] release_label
788
- # The EMR release version associated with the application your job is
789
- # running on.
691
+ # The EMR release associated with the application your job is running
692
+ # on.
790
693
  # @return [String]
791
694
  #
792
695
  # @!attribute [rw] configuration_overrides
@@ -885,8 +788,8 @@ module Aws::EMRServerless
885
788
  # @return [String]
886
789
  #
887
790
  # @!attribute [rw] release_label
888
- # The EMR release version associated with the application your job is
889
- # running on.
791
+ # The EMR release associated with the application your job is running
792
+ # on.
890
793
  # @return [String]
891
794
  #
892
795
  # @!attribute [rw] type
@@ -912,15 +815,6 @@ module Aws::EMRServerless
912
815
  include Aws::Structure
913
816
  end
914
817
 
915
- # @note When making an API call, you may pass ListApplicationsRequest
916
- # data as a hash:
917
- #
918
- # {
919
- # next_token: "NextToken",
920
- # max_results: 1,
921
- # states: ["CREATING"], # accepts CREATING, CREATED, STARTING, STARTED, STOPPING, STOPPED, TERMINATED
922
- # }
923
- #
924
818
  # @!attribute [rw] next_token
925
819
  # The token for the next set of application results.
926
820
  # @return [String]
@@ -964,18 +858,6 @@ module Aws::EMRServerless
964
858
  include Aws::Structure
965
859
  end
966
860
 
967
- # @note When making an API call, you may pass ListJobRunsRequest
968
- # data as a hash:
969
- #
970
- # {
971
- # application_id: "ApplicationId", # required
972
- # next_token: "NextToken",
973
- # max_results: 1,
974
- # created_at_after: Time.now,
975
- # created_at_before: Time.now,
976
- # states: ["SUBMITTED"], # accepts SUBMITTED, PENDING, SCHEDULED, RUNNING, SUCCESS, FAILED, CANCELLING, CANCELLED
977
- # }
978
- #
979
861
  # @!attribute [rw] application_id
980
862
  # The ID of the application for which to list the job run.
981
863
  # @return [String]
@@ -1034,13 +916,6 @@ module Aws::EMRServerless
1034
916
  include Aws::Structure
1035
917
  end
1036
918
 
1037
- # @note When making an API call, you may pass ListTagsForResourceRequest
1038
- # data as a hash:
1039
- #
1040
- # {
1041
- # resource_arn: "ResourceArn", # required
1042
- # }
1043
- #
1044
919
  # @!attribute [rw] resource_arn
1045
920
  # The Amazon Resource Name (ARN) that identifies the resource to list
1046
921
  # the tags for. Currently, the supported resources are Amazon EMR
@@ -1069,14 +944,6 @@ module Aws::EMRServerless
1069
944
 
1070
945
  # The managed log persistence configuration for a job run.
1071
946
  #
1072
- # @note When making an API call, you may pass ManagedPersistenceMonitoringConfiguration
1073
- # data as a hash:
1074
- #
1075
- # {
1076
- # enabled: false,
1077
- # encryption_key_arn: "EncryptionKeyArn",
1078
- # }
1079
- #
1080
947
  # @!attribute [rw] enabled
1081
948
  # Enables managed logging and defaults to true. If set to false,
1082
949
  # managed logging will be turned off.
@@ -1099,15 +966,6 @@ module Aws::EMRServerless
1099
966
  # The maximum allowed cumulative resources for an application. No new
1100
967
  # resources will be created once the limit is hit.
1101
968
  #
1102
- # @note When making an API call, you may pass MaximumAllowedResources
1103
- # data as a hash:
1104
- #
1105
- # {
1106
- # cpu: "CpuSize", # required
1107
- # memory: "MemorySize", # required
1108
- # disk: "DiskSize",
1109
- # }
1110
- #
1111
969
  # @!attribute [rw] cpu
1112
970
  # The maximum allowed CPU for an application.
1113
971
  # @return [String]
@@ -1132,20 +990,6 @@ module Aws::EMRServerless
1132
990
 
1133
991
  # The configuration setting for monitoring.
1134
992
  #
1135
- # @note When making an API call, you may pass MonitoringConfiguration
1136
- # data as a hash:
1137
- #
1138
- # {
1139
- # s3_monitoring_configuration: {
1140
- # log_uri: "UriString",
1141
- # encryption_key_arn: "EncryptionKeyArn",
1142
- # },
1143
- # managed_persistence_monitoring_configuration: {
1144
- # enabled: false,
1145
- # encryption_key_arn: "EncryptionKeyArn",
1146
- # },
1147
- # }
1148
- #
1149
993
  # @!attribute [rw] s3_monitoring_configuration
1150
994
  # The Amazon S3 configuration for monitoring log publishing.
1151
995
  # @return [Types::S3MonitoringConfiguration]
@@ -1165,14 +1009,6 @@ module Aws::EMRServerless
1165
1009
 
1166
1010
  # The network configuration for customer VPC connectivity.
1167
1011
  #
1168
- # @note When making an API call, you may pass NetworkConfiguration
1169
- # data as a hash:
1170
- #
1171
- # {
1172
- # subnet_ids: ["SubnetString"],
1173
- # security_group_ids: ["SecurityGroupString"],
1174
- # }
1175
- #
1176
1012
  # @!attribute [rw] subnet_ids
1177
1013
  # The array of subnet Ids for customer VPC connectivity.
1178
1014
  # @return [Array<String>]
@@ -1206,14 +1042,6 @@ module Aws::EMRServerless
1206
1042
  # The Amazon S3 configuration for monitoring log publishing. You can
1207
1043
  # configure your jobs to send log information to Amazon S3.
1208
1044
  #
1209
- # @note When making an API call, you may pass S3MonitoringConfiguration
1210
- # data as a hash:
1211
- #
1212
- # {
1213
- # log_uri: "UriString",
1214
- # encryption_key_arn: "EncryptionKeyArn",
1215
- # }
1216
- #
1217
1045
  # @!attribute [rw] log_uri
1218
1046
  # The Amazon S3 destination URI for log publishing.
1219
1047
  # @return [String]
@@ -1247,15 +1075,6 @@ module Aws::EMRServerless
1247
1075
 
1248
1076
  # The configurations for the Spark submit job driver.
1249
1077
  #
1250
- # @note When making an API call, you may pass SparkSubmit
1251
- # data as a hash:
1252
- #
1253
- # {
1254
- # entry_point: "EntryPointPath", # required
1255
- # entry_point_arguments: ["EntryPointArgument"],
1256
- # spark_submit_parameters: "SparkSubmitParameters",
1257
- # }
1258
- #
1259
1078
  # @!attribute [rw] entry_point
1260
1079
  # The entry point for the Spark submit job run.
1261
1080
  # @return [String]
@@ -1278,13 +1097,6 @@ module Aws::EMRServerless
1278
1097
  include Aws::Structure
1279
1098
  end
1280
1099
 
1281
- # @note When making an API call, you may pass StartApplicationRequest
1282
- # data as a hash:
1283
- #
1284
- # {
1285
- # application_id: "ApplicationId", # required
1286
- # }
1287
- #
1288
1100
  # @!attribute [rw] application_id
1289
1101
  # The ID of the application to start.
1290
1102
  # @return [String]
@@ -1301,55 +1113,6 @@ module Aws::EMRServerless
1301
1113
  #
1302
1114
  class StartApplicationResponse < Aws::EmptyStructure; end
1303
1115
 
1304
- # @note When making an API call, you may pass StartJobRunRequest
1305
- # data as a hash:
1306
- #
1307
- # {
1308
- # application_id: "ApplicationId", # required
1309
- # client_token: "ClientToken", # required
1310
- # execution_role_arn: "IAMRoleArn", # required
1311
- # job_driver: {
1312
- # spark_submit: {
1313
- # entry_point: "EntryPointPath", # required
1314
- # entry_point_arguments: ["EntryPointArgument"],
1315
- # spark_submit_parameters: "SparkSubmitParameters",
1316
- # },
1317
- # hive: {
1318
- # query: "Query", # required
1319
- # init_query_file: "InitScriptPath",
1320
- # parameters: "HiveCliParameters",
1321
- # },
1322
- # },
1323
- # configuration_overrides: {
1324
- # application_configuration: [
1325
- # {
1326
- # classification: "String1024", # required
1327
- # properties: {
1328
- # "String1024" => "String1024",
1329
- # },
1330
- # configurations: {
1331
- # # recursive ConfigurationList
1332
- # },
1333
- # },
1334
- # ],
1335
- # monitoring_configuration: {
1336
- # s3_monitoring_configuration: {
1337
- # log_uri: "UriString",
1338
- # encryption_key_arn: "EncryptionKeyArn",
1339
- # },
1340
- # managed_persistence_monitoring_configuration: {
1341
- # enabled: false,
1342
- # encryption_key_arn: "EncryptionKeyArn",
1343
- # },
1344
- # },
1345
- # },
1346
- # tags: {
1347
- # "TagKey" => "TagValue",
1348
- # },
1349
- # execution_timeout_minutes: 1,
1350
- # name: "String256",
1351
- # }
1352
- #
1353
1116
  # @!attribute [rw] application_id
1354
1117
  # The ID of the application on which to run the job.
1355
1118
  # @return [String]
@@ -1425,13 +1188,6 @@ module Aws::EMRServerless
1425
1188
  include Aws::Structure
1426
1189
  end
1427
1190
 
1428
- # @note When making an API call, you may pass StopApplicationRequest
1429
- # data as a hash:
1430
- #
1431
- # {
1432
- # application_id: "ApplicationId", # required
1433
- # }
1434
- #
1435
1191
  # @!attribute [rw] application_id
1436
1192
  # The ID of the application to stop.
1437
1193
  # @return [String]
@@ -1448,16 +1204,6 @@ module Aws::EMRServerless
1448
1204
  #
1449
1205
  class StopApplicationResponse < Aws::EmptyStructure; end
1450
1206
 
1451
- # @note When making an API call, you may pass TagResourceRequest
1452
- # data as a hash:
1453
- #
1454
- # {
1455
- # resource_arn: "ResourceArn", # required
1456
- # tags: { # required
1457
- # "TagKey" => "TagValue",
1458
- # },
1459
- # }
1460
- #
1461
1207
  # @!attribute [rw] resource_arn
1462
1208
  # The Amazon Resource Name (ARN) that identifies the resource to list
1463
1209
  # the tags for. Currently, the supported resources are Amazon EMR
@@ -1511,14 +1257,6 @@ module Aws::EMRServerless
1511
1257
  include Aws::Structure
1512
1258
  end
1513
1259
 
1514
- # @note When making an API call, you may pass UntagResourceRequest
1515
- # data as a hash:
1516
- #
1517
- # {
1518
- # resource_arn: "ResourceArn", # required
1519
- # tag_keys: ["TagKey"], # required
1520
- # }
1521
- #
1522
1260
  # @!attribute [rw] resource_arn
1523
1261
  # The Amazon Resource Name (ARN) that identifies the resource to list
1524
1262
  # the tags for. Currently, the supported resources are Amazon EMR
@@ -1542,41 +1280,6 @@ module Aws::EMRServerless
1542
1280
  #
1543
1281
  class UntagResourceResponse < Aws::EmptyStructure; end
1544
1282
 
1545
- # @note When making an API call, you may pass UpdateApplicationRequest
1546
- # data as a hash:
1547
- #
1548
- # {
1549
- # application_id: "ApplicationId", # required
1550
- # client_token: "ClientToken", # required
1551
- # initial_capacity: {
1552
- # "WorkerTypeString" => {
1553
- # worker_count: 1, # required
1554
- # worker_configuration: {
1555
- # cpu: "CpuSize", # required
1556
- # memory: "MemorySize", # required
1557
- # disk: "DiskSize",
1558
- # },
1559
- # },
1560
- # },
1561
- # maximum_capacity: {
1562
- # cpu: "CpuSize", # required
1563
- # memory: "MemorySize", # required
1564
- # disk: "DiskSize",
1565
- # },
1566
- # auto_start_configuration: {
1567
- # enabled: false,
1568
- # },
1569
- # auto_stop_configuration: {
1570
- # enabled: false,
1571
- # idle_timeout_minutes: 1,
1572
- # },
1573
- # network_configuration: {
1574
- # subnet_ids: ["SubnetString"],
1575
- # security_group_ids: ["SecurityGroupString"],
1576
- # },
1577
- # architecture: "ARM64", # accepts ARM64, X86_64
1578
- # }
1579
- #
1580
1283
  # @!attribute [rw] application_id
1581
1284
  # The ID of the application to update.
1582
1285
  # @return [String]
@@ -1618,6 +1321,22 @@ module Aws::EMRServerless
1618
1321
  # The CPU architecture of an application.
1619
1322
  # @return [String]
1620
1323
  #
1324
+ # @!attribute [rw] image_configuration
1325
+ # The image configuration to be used for all worker types. You can
1326
+ # either set this parameter or `imageConfiguration` for each worker
1327
+ # type in `WorkerTypeSpecificationInput`.
1328
+ # @return [Types::ImageConfigurationInput]
1329
+ #
1330
+ # @!attribute [rw] worker_type_specifications
1331
+ # The key-value pairs that specify worker type to
1332
+ # `WorkerTypeSpecificationInput`. This parameter must contain all
1333
+ # valid worker types for a Spark or Hive application. Valid worker
1334
+ # types include `Driver` and `Executor` for Spark applications and
1335
+ # `HiveDriver` and `TezTask` for Hive applications. You can either set
1336
+ # image details in this parameter for each worker type, or in
1337
+ # `imageConfiguration` for all worker types.
1338
+ # @return [Hash<String,Types::WorkerTypeSpecificationInput>]
1339
+ #
1621
1340
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplicationRequest AWS API Documentation
1622
1341
  #
1623
1342
  class UpdateApplicationRequest < Struct.new(
@@ -1628,7 +1347,9 @@ module Aws::EMRServerless
1628
1347
  :auto_start_configuration,
1629
1348
  :auto_stop_configuration,
1630
1349
  :network_configuration,
1631
- :architecture)
1350
+ :architecture,
1351
+ :image_configuration,
1352
+ :worker_type_specifications)
1632
1353
  SENSITIVE = []
1633
1354
  include Aws::Structure
1634
1355
  end
@@ -1662,15 +1383,6 @@ module Aws::EMRServerless
1662
1383
  # The cumulative configuration requirements for every worker instance of
1663
1384
  # the worker type.
1664
1385
  #
1665
- # @note When making an API call, you may pass WorkerResourceConfig
1666
- # data as a hash:
1667
- #
1668
- # {
1669
- # cpu: "CpuSize", # required
1670
- # memory: "MemorySize", # required
1671
- # disk: "DiskSize",
1672
- # }
1673
- #
1674
1386
  # @!attribute [rw] cpu
1675
1387
  # The CPU requirements for every worker instance of the worker type.
1676
1388
  # @return [String]
@@ -1694,5 +1406,33 @@ module Aws::EMRServerless
1694
1406
  include Aws::Structure
1695
1407
  end
1696
1408
 
1409
+ # The specifications for a worker type.
1410
+ #
1411
+ # @!attribute [rw] image_configuration
1412
+ # The image configuration for a worker type.
1413
+ # @return [Types::ImageConfiguration]
1414
+ #
1415
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/WorkerTypeSpecification AWS API Documentation
1416
+ #
1417
+ class WorkerTypeSpecification < Struct.new(
1418
+ :image_configuration)
1419
+ SENSITIVE = []
1420
+ include Aws::Structure
1421
+ end
1422
+
1423
+ # The specifications for a worker type.
1424
+ #
1425
+ # @!attribute [rw] image_configuration
1426
+ # The image configuration for a worker type.
1427
+ # @return [Types::ImageConfigurationInput]
1428
+ #
1429
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/WorkerTypeSpecificationInput AWS API Documentation
1430
+ #
1431
+ class WorkerTypeSpecificationInput < Struct.new(
1432
+ :image_configuration)
1433
+ SENSITIVE = []
1434
+ include Aws::Structure
1435
+ end
1436
+
1697
1437
  end
1698
1438
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-emrserverless/customizations'
52
52
  # @!group service
53
53
  module Aws::EMRServerless
54
54
 
55
- GEM_VERSION = '1.3.0'
55
+ GEM_VERSION = '1.4.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-emrserverless
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.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-17 00:00:00.000000000 Z
11
+ date: 2023-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core