aws-sdk-emrserverless 1.2.0 → 1.4.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emrserverless/client.rb +71 -2
- data/lib/aws-sdk-emrserverless/client_api.rb +39 -0
- data/lib/aws-sdk-emrserverless/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-emrserverless/endpoint_provider.rb +74 -74
- data/lib/aws-sdk-emrserverless/types.rb +141 -379
- data/lib/aws-sdk-emrserverless.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d3872913661ecc2a1745c33fa561fa268143b6035d1e4f9c6c7007bcf28ec39
|
4
|
+
data.tar.gz: 31c145276d25a7d6ed6f80f16df5c67c20e2a6656f78841200cb45f184d7da19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7b34dcfdc2c0d3d7a1dc64eba8f98838f7065d6cc61a75afd77374806f1784e91002e77ff7157ca492c1a73c85f79f649d64d826624e040a3d709f88ab280c4
|
7
|
+
data.tar.gz: ee83413d49e4ea55c3f56baf790c795519725529ac56008aaeb68694b96c5373bf1f328203b5dae4404dc5d64f6449d3b28aeff3034a2483cb10f51445506122
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
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
|
+
|
9
|
+
1.3.0 (2022-11-17)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adds support for AWS Graviton2 based applications. You can now select CPU architecture when creating new applications or updating existing ones.
|
13
|
+
|
4
14
|
1.2.0 (2022-10-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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
|
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.
|
@@ -443,6 +443,23 @@ module Aws::EMRServerless
|
|
443
443
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
444
444
|
# The network configuration for customer VPC connectivity.
|
445
445
|
#
|
446
|
+
# @option params [String] :architecture
|
447
|
+
# The CPU architecture of an application.
|
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
|
+
#
|
446
463
|
# @return [Types::CreateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
447
464
|
#
|
448
465
|
# * {Types::CreateApplicationResponse#application_id #application_id} => String
|
@@ -485,6 +502,17 @@ module Aws::EMRServerless
|
|
485
502
|
# subnet_ids: ["SubnetString"],
|
486
503
|
# security_group_ids: ["SecurityGroupString"],
|
487
504
|
# },
|
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
|
+
# },
|
488
516
|
# })
|
489
517
|
#
|
490
518
|
# @example Response structure
|
@@ -568,6 +596,12 @@ module Aws::EMRServerless
|
|
568
596
|
# resp.application.network_configuration.subnet_ids[0] #=> String
|
569
597
|
# resp.application.network_configuration.security_group_ids #=> Array
|
570
598
|
# resp.application.network_configuration.security_group_ids[0] #=> String
|
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
|
571
605
|
#
|
572
606
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/GetApplication AWS API Documentation
|
573
607
|
#
|
@@ -718,6 +752,7 @@ module Aws::EMRServerless
|
|
718
752
|
# resp.applications[0].state_details #=> String
|
719
753
|
# resp.applications[0].created_at #=> Time
|
720
754
|
# resp.applications[0].updated_at #=> Time
|
755
|
+
# resp.applications[0].architecture #=> String, one of "ARM64", "X86_64"
|
721
756
|
# resp.next_token #=> String
|
722
757
|
#
|
723
758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ListApplications AWS API Documentation
|
@@ -1069,6 +1104,23 @@ module Aws::EMRServerless
|
|
1069
1104
|
# @option params [Types::NetworkConfiguration] :network_configuration
|
1070
1105
|
# The network configuration for customer VPC connectivity.
|
1071
1106
|
#
|
1107
|
+
# @option params [String] :architecture
|
1108
|
+
# The CPU architecture of an application.
|
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
|
+
#
|
1072
1124
|
# @return [Types::UpdateApplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1073
1125
|
#
|
1074
1126
|
# * {Types::UpdateApplicationResponse#application #application} => Types::Application
|
@@ -1104,6 +1156,17 @@ module Aws::EMRServerless
|
|
1104
1156
|
# subnet_ids: ["SubnetString"],
|
1105
1157
|
# security_group_ids: ["SecurityGroupString"],
|
1106
1158
|
# },
|
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
|
+
# },
|
1107
1170
|
# })
|
1108
1171
|
#
|
1109
1172
|
# @example Response structure
|
@@ -1134,6 +1197,12 @@ module Aws::EMRServerless
|
|
1134
1197
|
# resp.application.network_configuration.subnet_ids[0] #=> String
|
1135
1198
|
# resp.application.network_configuration.security_group_ids #=> Array
|
1136
1199
|
# resp.application.network_configuration.security_group_ids[0] #=> String
|
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
|
1137
1206
|
#
|
1138
1207
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplication AWS API Documentation
|
1139
1208
|
#
|
@@ -1157,7 +1226,7 @@ module Aws::EMRServerless
|
|
1157
1226
|
params: params,
|
1158
1227
|
config: config)
|
1159
1228
|
context[:gem_name] = 'aws-sdk-emrserverless'
|
1160
|
-
context[:gem_version] = '1.
|
1229
|
+
context[:gem_version] = '1.4.0'
|
1161
1230
|
Seahorse::Client::Request.new(handlers, context)
|
1162
1231
|
end
|
1163
1232
|
|
@@ -21,6 +21,7 @@ module Aws::EMRServerless
|
|
21
21
|
ApplicationState = Shapes::StringShape.new(name: 'ApplicationState')
|
22
22
|
ApplicationStateSet = Shapes::ListShape.new(name: 'ApplicationStateSet')
|
23
23
|
ApplicationSummary = Shapes::StructureShape.new(name: 'ApplicationSummary')
|
24
|
+
Architecture = Shapes::StringShape.new(name: 'Architecture')
|
24
25
|
AutoStartConfig = Shapes::StructureShape.new(name: 'AutoStartConfig')
|
25
26
|
AutoStopConfig = Shapes::StructureShape.new(name: 'AutoStopConfig')
|
26
27
|
AutoStopConfigIdleTimeoutMinutesInteger = Shapes::IntegerShape.new(name: 'AutoStopConfigIdleTimeoutMinutesInteger')
|
@@ -55,6 +56,10 @@ module Aws::EMRServerless
|
|
55
56
|
Hive = Shapes::StructureShape.new(name: 'Hive')
|
56
57
|
HiveCliParameters = Shapes::StringShape.new(name: 'HiveCliParameters')
|
57
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')
|
58
63
|
InitScriptPath = Shapes::StringShape.new(name: 'InitScriptPath')
|
59
64
|
InitialCapacityConfig = Shapes::StructureShape.new(name: 'InitialCapacityConfig')
|
60
65
|
InitialCapacityConfigMap = Shapes::MapShape.new(name: 'InitialCapacityConfigMap')
|
@@ -121,6 +126,10 @@ module Aws::EMRServerless
|
|
121
126
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
122
127
|
WorkerCounts = Shapes::IntegerShape.new(name: 'WorkerCounts')
|
123
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')
|
124
133
|
WorkerTypeString = Shapes::StringShape.new(name: 'WorkerTypeString')
|
125
134
|
|
126
135
|
Application.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
@@ -138,6 +147,9 @@ module Aws::EMRServerless
|
|
138
147
|
Application.add_member(:auto_start_configuration, Shapes::ShapeRef.new(shape: AutoStartConfig, location_name: "autoStartConfiguration"))
|
139
148
|
Application.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration"))
|
140
149
|
Application.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
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"))
|
141
153
|
Application.struct_class = Types::Application
|
142
154
|
|
143
155
|
ApplicationList.member = Shapes::ShapeRef.new(shape: ApplicationSummary)
|
@@ -153,6 +165,7 @@ module Aws::EMRServerless
|
|
153
165
|
ApplicationSummary.add_member(:state_details, Shapes::ShapeRef.new(shape: String256, location_name: "stateDetails"))
|
154
166
|
ApplicationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "createdAt"))
|
155
167
|
ApplicationSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, required: true, location_name: "updatedAt"))
|
168
|
+
ApplicationSummary.add_member(:architecture, Shapes::ShapeRef.new(shape: Architecture, location_name: "architecture"))
|
156
169
|
ApplicationSummary.struct_class = Types::ApplicationSummary
|
157
170
|
|
158
171
|
AutoStartConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
|
@@ -194,6 +207,9 @@ module Aws::EMRServerless
|
|
194
207
|
CreateApplicationRequest.add_member(:auto_start_configuration, Shapes::ShapeRef.new(shape: AutoStartConfig, location_name: "autoStartConfiguration"))
|
195
208
|
CreateApplicationRequest.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration"))
|
196
209
|
CreateApplicationRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
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"))
|
197
213
|
CreateApplicationRequest.struct_class = Types::CreateApplicationRequest
|
198
214
|
|
199
215
|
CreateApplicationResponse.add_member(:application_id, Shapes::ShapeRef.new(shape: ApplicationId, required: true, location_name: "applicationId"))
|
@@ -233,6 +249,13 @@ module Aws::EMRServerless
|
|
233
249
|
Hive.add_member(:parameters, Shapes::ShapeRef.new(shape: HiveCliParameters, location_name: "parameters"))
|
234
250
|
Hive.struct_class = Types::Hive
|
235
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
|
+
|
236
259
|
InitialCapacityConfig.add_member(:worker_count, Shapes::ShapeRef.new(shape: WorkerCounts, required: true, location_name: "workerCount"))
|
237
260
|
InitialCapacityConfig.add_member(:worker_configuration, Shapes::ShapeRef.new(shape: WorkerResourceConfig, location_name: "workerConfiguration"))
|
238
261
|
InitialCapacityConfig.struct_class = Types::InitialCapacityConfig
|
@@ -408,6 +431,9 @@ module Aws::EMRServerless
|
|
408
431
|
UpdateApplicationRequest.add_member(:auto_start_configuration, Shapes::ShapeRef.new(shape: AutoStartConfig, location_name: "autoStartConfiguration"))
|
409
432
|
UpdateApplicationRequest.add_member(:auto_stop_configuration, Shapes::ShapeRef.new(shape: AutoStopConfig, location_name: "autoStopConfiguration"))
|
410
433
|
UpdateApplicationRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
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"))
|
411
437
|
UpdateApplicationRequest.struct_class = Types::UpdateApplicationRequest
|
412
438
|
|
413
439
|
UpdateApplicationResponse.add_member(:application, Shapes::ShapeRef.new(shape: Application, required: true, location_name: "application"))
|
@@ -421,6 +447,18 @@ module Aws::EMRServerless
|
|
421
447
|
WorkerResourceConfig.add_member(:disk, Shapes::ShapeRef.new(shape: DiskSize, location_name: "disk"))
|
422
448
|
WorkerResourceConfig.struct_class = Types::WorkerResourceConfig
|
423
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
|
+
|
424
462
|
|
425
463
|
# @api private
|
426
464
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -457,6 +495,7 @@ module Aws::EMRServerless
|
|
457
495
|
o.input = Shapes::ShapeRef.new(shape: CreateApplicationRequest)
|
458
496
|
o.output = Shapes::ShapeRef.new(shape: CreateApplicationResponse)
|
459
497
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
498
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
460
499
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
461
500
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
462
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
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|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|
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
|
29
|
+
# The EMR release associated with the application.
|
30
30
|
# @return [String]
|
31
31
|
#
|
32
32
|
# @!attribute [rw] type
|
@@ -79,6 +79,18 @@ module Aws::EMRServerless
|
|
79
79
|
# application.
|
80
80
|
# @return [Types::NetworkConfiguration]
|
81
81
|
#
|
82
|
+
# @!attribute [rw] architecture
|
83
|
+
# The CPU architecture of an application.
|
84
|
+
# @return [String]
|
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
|
+
#
|
82
94
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/Application AWS API Documentation
|
83
95
|
#
|
84
96
|
class Application < Struct.new(
|
@@ -96,7 +108,10 @@ module Aws::EMRServerless
|
|
96
108
|
:tags,
|
97
109
|
:auto_start_configuration,
|
98
110
|
:auto_stop_configuration,
|
99
|
-
:network_configuration
|
111
|
+
:network_configuration,
|
112
|
+
:architecture,
|
113
|
+
:image_configuration,
|
114
|
+
:worker_type_specifications)
|
100
115
|
SENSITIVE = []
|
101
116
|
include Aws::Structure
|
102
117
|
end
|
@@ -116,7 +131,7 @@ module Aws::EMRServerless
|
|
116
131
|
# @return [String]
|
117
132
|
#
|
118
133
|
# @!attribute [rw] release_label
|
119
|
-
# The EMR release
|
134
|
+
# The EMR release associated with the application.
|
120
135
|
# @return [String]
|
121
136
|
#
|
122
137
|
# @!attribute [rw] type
|
@@ -139,6 +154,10 @@ module Aws::EMRServerless
|
|
139
154
|
# The date and time when the application was last updated.
|
140
155
|
# @return [Time]
|
141
156
|
#
|
157
|
+
# @!attribute [rw] architecture
|
158
|
+
# The CPU architecture of an application.
|
159
|
+
# @return [String]
|
160
|
+
#
|
142
161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ApplicationSummary AWS API Documentation
|
143
162
|
#
|
144
163
|
class ApplicationSummary < Struct.new(
|
@@ -150,7 +169,8 @@ module Aws::EMRServerless
|
|
150
169
|
:state,
|
151
170
|
:state_details,
|
152
171
|
:created_at,
|
153
|
-
:updated_at
|
172
|
+
:updated_at,
|
173
|
+
:architecture)
|
154
174
|
SENSITIVE = []
|
155
175
|
include Aws::Structure
|
156
176
|
end
|
@@ -158,13 +178,6 @@ module Aws::EMRServerless
|
|
158
178
|
# The configuration for an application to automatically start on job
|
159
179
|
# submission.
|
160
180
|
#
|
161
|
-
# @note When making an API call, you may pass AutoStartConfig
|
162
|
-
# data as a hash:
|
163
|
-
#
|
164
|
-
# {
|
165
|
-
# enabled: false,
|
166
|
-
# }
|
167
|
-
#
|
168
181
|
# @!attribute [rw] enabled
|
169
182
|
# Enables the application to automatically start on job submission.
|
170
183
|
# Defaults to true.
|
@@ -181,14 +194,6 @@ module Aws::EMRServerless
|
|
181
194
|
# The configuration for an application to automatically stop after a
|
182
195
|
# certain amount of time being idle.
|
183
196
|
#
|
184
|
-
# @note When making an API call, you may pass AutoStopConfig
|
185
|
-
# data as a hash:
|
186
|
-
#
|
187
|
-
# {
|
188
|
-
# enabled: false,
|
189
|
-
# idle_timeout_minutes: 1,
|
190
|
-
# }
|
191
|
-
#
|
192
197
|
# @!attribute [rw] enabled
|
193
198
|
# Enables the application to automatically stop after a certain amount
|
194
199
|
# of time being idle. Defaults to true.
|
@@ -208,14 +213,6 @@ module Aws::EMRServerless
|
|
208
213
|
include Aws::Structure
|
209
214
|
end
|
210
215
|
|
211
|
-
# @note When making an API call, you may pass CancelJobRunRequest
|
212
|
-
# data as a hash:
|
213
|
-
#
|
214
|
-
# {
|
215
|
-
# application_id: "ApplicationId", # required
|
216
|
-
# job_run_id: "JobRunId", # required
|
217
|
-
# }
|
218
|
-
#
|
219
216
|
# @!attribute [rw] application_id
|
220
217
|
# The ID of the application on which the job run will be canceled.
|
221
218
|
# @return [String]
|
@@ -257,27 +254,6 @@ module Aws::EMRServerless
|
|
257
254
|
# application-specific configuration file. Properties are the settings
|
258
255
|
# you want to change in that file.
|
259
256
|
#
|
260
|
-
# @note When making an API call, you may pass Configuration
|
261
|
-
# data as a hash:
|
262
|
-
#
|
263
|
-
# {
|
264
|
-
# classification: "String1024", # required
|
265
|
-
# properties: {
|
266
|
-
# "String1024" => "String1024",
|
267
|
-
# },
|
268
|
-
# configurations: [
|
269
|
-
# {
|
270
|
-
# classification: "String1024", # required
|
271
|
-
# properties: {
|
272
|
-
# "String1024" => "String1024",
|
273
|
-
# },
|
274
|
-
# configurations: {
|
275
|
-
# # recursive ConfigurationList
|
276
|
-
# },
|
277
|
-
# },
|
278
|
-
# ],
|
279
|
-
# }
|
280
|
-
#
|
281
257
|
# @!attribute [rw] classification
|
282
258
|
# The classification within a configuration.
|
283
259
|
# @return [String]
|
@@ -304,33 +280,6 @@ module Aws::EMRServerless
|
|
304
280
|
# A configuration specification to be used to override existing
|
305
281
|
# configurations.
|
306
282
|
#
|
307
|
-
# @note When making an API call, you may pass ConfigurationOverrides
|
308
|
-
# data as a hash:
|
309
|
-
#
|
310
|
-
# {
|
311
|
-
# application_configuration: [
|
312
|
-
# {
|
313
|
-
# classification: "String1024", # required
|
314
|
-
# properties: {
|
315
|
-
# "String1024" => "String1024",
|
316
|
-
# },
|
317
|
-
# configurations: {
|
318
|
-
# # recursive ConfigurationList
|
319
|
-
# },
|
320
|
-
# },
|
321
|
-
# ],
|
322
|
-
# monitoring_configuration: {
|
323
|
-
# s3_monitoring_configuration: {
|
324
|
-
# log_uri: "UriString",
|
325
|
-
# encryption_key_arn: "EncryptionKeyArn",
|
326
|
-
# },
|
327
|
-
# managed_persistence_monitoring_configuration: {
|
328
|
-
# enabled: false,
|
329
|
-
# encryption_key_arn: "EncryptionKeyArn",
|
330
|
-
# },
|
331
|
-
# },
|
332
|
-
# }
|
333
|
-
#
|
334
283
|
# @!attribute [rw] application_configuration
|
335
284
|
# The override configurations for the application.
|
336
285
|
# @return [Array<Types::Configuration>]
|
@@ -362,51 +311,12 @@ module Aws::EMRServerless
|
|
362
311
|
include Aws::Structure
|
363
312
|
end
|
364
313
|
|
365
|
-
# @note When making an API call, you may pass CreateApplicationRequest
|
366
|
-
# data as a hash:
|
367
|
-
#
|
368
|
-
# {
|
369
|
-
# name: "ApplicationName",
|
370
|
-
# release_label: "ReleaseLabel", # required
|
371
|
-
# type: "EngineType", # required
|
372
|
-
# client_token: "ClientToken", # required
|
373
|
-
# initial_capacity: {
|
374
|
-
# "WorkerTypeString" => {
|
375
|
-
# worker_count: 1, # required
|
376
|
-
# worker_configuration: {
|
377
|
-
# cpu: "CpuSize", # required
|
378
|
-
# memory: "MemorySize", # required
|
379
|
-
# disk: "DiskSize",
|
380
|
-
# },
|
381
|
-
# },
|
382
|
-
# },
|
383
|
-
# maximum_capacity: {
|
384
|
-
# cpu: "CpuSize", # required
|
385
|
-
# memory: "MemorySize", # required
|
386
|
-
# disk: "DiskSize",
|
387
|
-
# },
|
388
|
-
# tags: {
|
389
|
-
# "TagKey" => "TagValue",
|
390
|
-
# },
|
391
|
-
# auto_start_configuration: {
|
392
|
-
# enabled: false,
|
393
|
-
# },
|
394
|
-
# auto_stop_configuration: {
|
395
|
-
# enabled: false,
|
396
|
-
# idle_timeout_minutes: 1,
|
397
|
-
# },
|
398
|
-
# network_configuration: {
|
399
|
-
# subnet_ids: ["SubnetString"],
|
400
|
-
# security_group_ids: ["SecurityGroupString"],
|
401
|
-
# },
|
402
|
-
# }
|
403
|
-
#
|
404
314
|
# @!attribute [rw] name
|
405
315
|
# The name of the application.
|
406
316
|
# @return [String]
|
407
317
|
#
|
408
318
|
# @!attribute [rw] release_label
|
409
|
-
# The EMR release
|
319
|
+
# The EMR release associated with the application.
|
410
320
|
# @return [String]
|
411
321
|
#
|
412
322
|
# @!attribute [rw] type
|
@@ -450,6 +360,26 @@ module Aws::EMRServerless
|
|
450
360
|
# The network configuration for customer VPC connectivity.
|
451
361
|
# @return [Types::NetworkConfiguration]
|
452
362
|
#
|
363
|
+
# @!attribute [rw] architecture
|
364
|
+
# The CPU architecture of an application.
|
365
|
+
# @return [String]
|
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
|
+
#
|
453
383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/CreateApplicationRequest AWS API Documentation
|
454
384
|
#
|
455
385
|
class CreateApplicationRequest < Struct.new(
|
@@ -462,7 +392,10 @@ module Aws::EMRServerless
|
|
462
392
|
:tags,
|
463
393
|
:auto_start_configuration,
|
464
394
|
:auto_stop_configuration,
|
465
|
-
:network_configuration
|
395
|
+
:network_configuration,
|
396
|
+
:architecture,
|
397
|
+
:image_configuration,
|
398
|
+
:worker_type_specifications)
|
466
399
|
SENSITIVE = []
|
467
400
|
include Aws::Structure
|
468
401
|
end
|
@@ -489,13 +422,6 @@ module Aws::EMRServerless
|
|
489
422
|
include Aws::Structure
|
490
423
|
end
|
491
424
|
|
492
|
-
# @note When making an API call, you may pass DeleteApplicationRequest
|
493
|
-
# data as a hash:
|
494
|
-
#
|
495
|
-
# {
|
496
|
-
# application_id: "ApplicationId", # required
|
497
|
-
# }
|
498
|
-
#
|
499
425
|
# @!attribute [rw] application_id
|
500
426
|
# The ID of the application that will be deleted.
|
501
427
|
# @return [String]
|
@@ -512,13 +438,6 @@ module Aws::EMRServerless
|
|
512
438
|
#
|
513
439
|
class DeleteApplicationResponse < Aws::EmptyStructure; end
|
514
440
|
|
515
|
-
# @note When making an API call, you may pass GetApplicationRequest
|
516
|
-
# data as a hash:
|
517
|
-
#
|
518
|
-
# {
|
519
|
-
# application_id: "ApplicationId", # required
|
520
|
-
# }
|
521
|
-
#
|
522
441
|
# @!attribute [rw] application_id
|
523
442
|
# The ID of the application that will be described.
|
524
443
|
# @return [String]
|
@@ -543,14 +462,6 @@ module Aws::EMRServerless
|
|
543
462
|
include Aws::Structure
|
544
463
|
end
|
545
464
|
|
546
|
-
# @note When making an API call, you may pass GetDashboardForJobRunRequest
|
547
|
-
# data as a hash:
|
548
|
-
#
|
549
|
-
# {
|
550
|
-
# application_id: "ApplicationId", # required
|
551
|
-
# job_run_id: "JobRunId", # required
|
552
|
-
# }
|
553
|
-
#
|
554
465
|
# @!attribute [rw] application_id
|
555
466
|
# The ID of the application.
|
556
467
|
# @return [String]
|
@@ -580,14 +491,6 @@ module Aws::EMRServerless
|
|
580
491
|
include Aws::Structure
|
581
492
|
end
|
582
493
|
|
583
|
-
# @note When making an API call, you may pass GetJobRunRequest
|
584
|
-
# data as a hash:
|
585
|
-
#
|
586
|
-
# {
|
587
|
-
# application_id: "ApplicationId", # required
|
588
|
-
# job_run_id: "JobRunId", # required
|
589
|
-
# }
|
590
|
-
#
|
591
494
|
# @!attribute [rw] application_id
|
592
495
|
# The ID of the application on which the job run is submitted.
|
593
496
|
# @return [String]
|
@@ -619,15 +522,6 @@ module Aws::EMRServerless
|
|
619
522
|
|
620
523
|
# The configurations for the Hive job driver.
|
621
524
|
#
|
622
|
-
# @note When making an API call, you may pass Hive
|
623
|
-
# data as a hash:
|
624
|
-
#
|
625
|
-
# {
|
626
|
-
# query: "Query", # required
|
627
|
-
# init_query_file: "InitScriptPath",
|
628
|
-
# parameters: "HiveCliParameters",
|
629
|
-
# }
|
630
|
-
#
|
631
525
|
# @!attribute [rw] query
|
632
526
|
# The query for the Hive job run.
|
633
527
|
# @return [String]
|
@@ -650,19 +544,44 @@ module Aws::EMRServerless
|
|
650
544
|
include Aws::Structure
|
651
545
|
end
|
652
546
|
|
653
|
-
# The
|
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]
|
654
558
|
#
|
655
|
-
# @
|
656
|
-
# data as a hash:
|
559
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/ImageConfiguration AWS API Documentation
|
657
560
|
#
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
#
|
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.
|
569
|
+
#
|
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]
|
575
|
+
#
|
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.
|
666
585
|
#
|
667
586
|
# @!attribute [rw] worker_count
|
668
587
|
# The number of workers in the initial capacity configuration.
|
@@ -769,8 +688,8 @@ module Aws::EMRServerless
|
|
769
688
|
# @return [String]
|
770
689
|
#
|
771
690
|
# @!attribute [rw] release_label
|
772
|
-
# The EMR release
|
773
|
-
#
|
691
|
+
# The EMR release associated with the application your job is running
|
692
|
+
# on.
|
774
693
|
# @return [String]
|
775
694
|
#
|
776
695
|
# @!attribute [rw] configuration_overrides
|
@@ -869,8 +788,8 @@ module Aws::EMRServerless
|
|
869
788
|
# @return [String]
|
870
789
|
#
|
871
790
|
# @!attribute [rw] release_label
|
872
|
-
# The EMR release
|
873
|
-
#
|
791
|
+
# The EMR release associated with the application your job is running
|
792
|
+
# on.
|
874
793
|
# @return [String]
|
875
794
|
#
|
876
795
|
# @!attribute [rw] type
|
@@ -896,15 +815,6 @@ module Aws::EMRServerless
|
|
896
815
|
include Aws::Structure
|
897
816
|
end
|
898
817
|
|
899
|
-
# @note When making an API call, you may pass ListApplicationsRequest
|
900
|
-
# data as a hash:
|
901
|
-
#
|
902
|
-
# {
|
903
|
-
# next_token: "NextToken",
|
904
|
-
# max_results: 1,
|
905
|
-
# states: ["CREATING"], # accepts CREATING, CREATED, STARTING, STARTED, STOPPING, STOPPED, TERMINATED
|
906
|
-
# }
|
907
|
-
#
|
908
818
|
# @!attribute [rw] next_token
|
909
819
|
# The token for the next set of application results.
|
910
820
|
# @return [String]
|
@@ -948,18 +858,6 @@ module Aws::EMRServerless
|
|
948
858
|
include Aws::Structure
|
949
859
|
end
|
950
860
|
|
951
|
-
# @note When making an API call, you may pass ListJobRunsRequest
|
952
|
-
# data as a hash:
|
953
|
-
#
|
954
|
-
# {
|
955
|
-
# application_id: "ApplicationId", # required
|
956
|
-
# next_token: "NextToken",
|
957
|
-
# max_results: 1,
|
958
|
-
# created_at_after: Time.now,
|
959
|
-
# created_at_before: Time.now,
|
960
|
-
# states: ["SUBMITTED"], # accepts SUBMITTED, PENDING, SCHEDULED, RUNNING, SUCCESS, FAILED, CANCELLING, CANCELLED
|
961
|
-
# }
|
962
|
-
#
|
963
861
|
# @!attribute [rw] application_id
|
964
862
|
# The ID of the application for which to list the job run.
|
965
863
|
# @return [String]
|
@@ -1018,13 +916,6 @@ module Aws::EMRServerless
|
|
1018
916
|
include Aws::Structure
|
1019
917
|
end
|
1020
918
|
|
1021
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
1022
|
-
# data as a hash:
|
1023
|
-
#
|
1024
|
-
# {
|
1025
|
-
# resource_arn: "ResourceArn", # required
|
1026
|
-
# }
|
1027
|
-
#
|
1028
919
|
# @!attribute [rw] resource_arn
|
1029
920
|
# The Amazon Resource Name (ARN) that identifies the resource to list
|
1030
921
|
# the tags for. Currently, the supported resources are Amazon EMR
|
@@ -1053,14 +944,6 @@ module Aws::EMRServerless
|
|
1053
944
|
|
1054
945
|
# The managed log persistence configuration for a job run.
|
1055
946
|
#
|
1056
|
-
# @note When making an API call, you may pass ManagedPersistenceMonitoringConfiguration
|
1057
|
-
# data as a hash:
|
1058
|
-
#
|
1059
|
-
# {
|
1060
|
-
# enabled: false,
|
1061
|
-
# encryption_key_arn: "EncryptionKeyArn",
|
1062
|
-
# }
|
1063
|
-
#
|
1064
947
|
# @!attribute [rw] enabled
|
1065
948
|
# Enables managed logging and defaults to true. If set to false,
|
1066
949
|
# managed logging will be turned off.
|
@@ -1083,15 +966,6 @@ module Aws::EMRServerless
|
|
1083
966
|
# The maximum allowed cumulative resources for an application. No new
|
1084
967
|
# resources will be created once the limit is hit.
|
1085
968
|
#
|
1086
|
-
# @note When making an API call, you may pass MaximumAllowedResources
|
1087
|
-
# data as a hash:
|
1088
|
-
#
|
1089
|
-
# {
|
1090
|
-
# cpu: "CpuSize", # required
|
1091
|
-
# memory: "MemorySize", # required
|
1092
|
-
# disk: "DiskSize",
|
1093
|
-
# }
|
1094
|
-
#
|
1095
969
|
# @!attribute [rw] cpu
|
1096
970
|
# The maximum allowed CPU for an application.
|
1097
971
|
# @return [String]
|
@@ -1116,20 +990,6 @@ module Aws::EMRServerless
|
|
1116
990
|
|
1117
991
|
# The configuration setting for monitoring.
|
1118
992
|
#
|
1119
|
-
# @note When making an API call, you may pass MonitoringConfiguration
|
1120
|
-
# data as a hash:
|
1121
|
-
#
|
1122
|
-
# {
|
1123
|
-
# s3_monitoring_configuration: {
|
1124
|
-
# log_uri: "UriString",
|
1125
|
-
# encryption_key_arn: "EncryptionKeyArn",
|
1126
|
-
# },
|
1127
|
-
# managed_persistence_monitoring_configuration: {
|
1128
|
-
# enabled: false,
|
1129
|
-
# encryption_key_arn: "EncryptionKeyArn",
|
1130
|
-
# },
|
1131
|
-
# }
|
1132
|
-
#
|
1133
993
|
# @!attribute [rw] s3_monitoring_configuration
|
1134
994
|
# The Amazon S3 configuration for monitoring log publishing.
|
1135
995
|
# @return [Types::S3MonitoringConfiguration]
|
@@ -1149,14 +1009,6 @@ module Aws::EMRServerless
|
|
1149
1009
|
|
1150
1010
|
# The network configuration for customer VPC connectivity.
|
1151
1011
|
#
|
1152
|
-
# @note When making an API call, you may pass NetworkConfiguration
|
1153
|
-
# data as a hash:
|
1154
|
-
#
|
1155
|
-
# {
|
1156
|
-
# subnet_ids: ["SubnetString"],
|
1157
|
-
# security_group_ids: ["SecurityGroupString"],
|
1158
|
-
# }
|
1159
|
-
#
|
1160
1012
|
# @!attribute [rw] subnet_ids
|
1161
1013
|
# The array of subnet Ids for customer VPC connectivity.
|
1162
1014
|
# @return [Array<String>]
|
@@ -1190,14 +1042,6 @@ module Aws::EMRServerless
|
|
1190
1042
|
# The Amazon S3 configuration for monitoring log publishing. You can
|
1191
1043
|
# configure your jobs to send log information to Amazon S3.
|
1192
1044
|
#
|
1193
|
-
# @note When making an API call, you may pass S3MonitoringConfiguration
|
1194
|
-
# data as a hash:
|
1195
|
-
#
|
1196
|
-
# {
|
1197
|
-
# log_uri: "UriString",
|
1198
|
-
# encryption_key_arn: "EncryptionKeyArn",
|
1199
|
-
# }
|
1200
|
-
#
|
1201
1045
|
# @!attribute [rw] log_uri
|
1202
1046
|
# The Amazon S3 destination URI for log publishing.
|
1203
1047
|
# @return [String]
|
@@ -1231,15 +1075,6 @@ module Aws::EMRServerless
|
|
1231
1075
|
|
1232
1076
|
# The configurations for the Spark submit job driver.
|
1233
1077
|
#
|
1234
|
-
# @note When making an API call, you may pass SparkSubmit
|
1235
|
-
# data as a hash:
|
1236
|
-
#
|
1237
|
-
# {
|
1238
|
-
# entry_point: "EntryPointPath", # required
|
1239
|
-
# entry_point_arguments: ["EntryPointArgument"],
|
1240
|
-
# spark_submit_parameters: "SparkSubmitParameters",
|
1241
|
-
# }
|
1242
|
-
#
|
1243
1078
|
# @!attribute [rw] entry_point
|
1244
1079
|
# The entry point for the Spark submit job run.
|
1245
1080
|
# @return [String]
|
@@ -1262,13 +1097,6 @@ module Aws::EMRServerless
|
|
1262
1097
|
include Aws::Structure
|
1263
1098
|
end
|
1264
1099
|
|
1265
|
-
# @note When making an API call, you may pass StartApplicationRequest
|
1266
|
-
# data as a hash:
|
1267
|
-
#
|
1268
|
-
# {
|
1269
|
-
# application_id: "ApplicationId", # required
|
1270
|
-
# }
|
1271
|
-
#
|
1272
1100
|
# @!attribute [rw] application_id
|
1273
1101
|
# The ID of the application to start.
|
1274
1102
|
# @return [String]
|
@@ -1285,55 +1113,6 @@ module Aws::EMRServerless
|
|
1285
1113
|
#
|
1286
1114
|
class StartApplicationResponse < Aws::EmptyStructure; end
|
1287
1115
|
|
1288
|
-
# @note When making an API call, you may pass StartJobRunRequest
|
1289
|
-
# data as a hash:
|
1290
|
-
#
|
1291
|
-
# {
|
1292
|
-
# application_id: "ApplicationId", # required
|
1293
|
-
# client_token: "ClientToken", # required
|
1294
|
-
# execution_role_arn: "IAMRoleArn", # required
|
1295
|
-
# job_driver: {
|
1296
|
-
# spark_submit: {
|
1297
|
-
# entry_point: "EntryPointPath", # required
|
1298
|
-
# entry_point_arguments: ["EntryPointArgument"],
|
1299
|
-
# spark_submit_parameters: "SparkSubmitParameters",
|
1300
|
-
# },
|
1301
|
-
# hive: {
|
1302
|
-
# query: "Query", # required
|
1303
|
-
# init_query_file: "InitScriptPath",
|
1304
|
-
# parameters: "HiveCliParameters",
|
1305
|
-
# },
|
1306
|
-
# },
|
1307
|
-
# configuration_overrides: {
|
1308
|
-
# application_configuration: [
|
1309
|
-
# {
|
1310
|
-
# classification: "String1024", # required
|
1311
|
-
# properties: {
|
1312
|
-
# "String1024" => "String1024",
|
1313
|
-
# },
|
1314
|
-
# configurations: {
|
1315
|
-
# # recursive ConfigurationList
|
1316
|
-
# },
|
1317
|
-
# },
|
1318
|
-
# ],
|
1319
|
-
# monitoring_configuration: {
|
1320
|
-
# s3_monitoring_configuration: {
|
1321
|
-
# log_uri: "UriString",
|
1322
|
-
# encryption_key_arn: "EncryptionKeyArn",
|
1323
|
-
# },
|
1324
|
-
# managed_persistence_monitoring_configuration: {
|
1325
|
-
# enabled: false,
|
1326
|
-
# encryption_key_arn: "EncryptionKeyArn",
|
1327
|
-
# },
|
1328
|
-
# },
|
1329
|
-
# },
|
1330
|
-
# tags: {
|
1331
|
-
# "TagKey" => "TagValue",
|
1332
|
-
# },
|
1333
|
-
# execution_timeout_minutes: 1,
|
1334
|
-
# name: "String256",
|
1335
|
-
# }
|
1336
|
-
#
|
1337
1116
|
# @!attribute [rw] application_id
|
1338
1117
|
# The ID of the application on which to run the job.
|
1339
1118
|
# @return [String]
|
@@ -1409,13 +1188,6 @@ module Aws::EMRServerless
|
|
1409
1188
|
include Aws::Structure
|
1410
1189
|
end
|
1411
1190
|
|
1412
|
-
# @note When making an API call, you may pass StopApplicationRequest
|
1413
|
-
# data as a hash:
|
1414
|
-
#
|
1415
|
-
# {
|
1416
|
-
# application_id: "ApplicationId", # required
|
1417
|
-
# }
|
1418
|
-
#
|
1419
1191
|
# @!attribute [rw] application_id
|
1420
1192
|
# The ID of the application to stop.
|
1421
1193
|
# @return [String]
|
@@ -1432,16 +1204,6 @@ module Aws::EMRServerless
|
|
1432
1204
|
#
|
1433
1205
|
class StopApplicationResponse < Aws::EmptyStructure; end
|
1434
1206
|
|
1435
|
-
# @note When making an API call, you may pass TagResourceRequest
|
1436
|
-
# data as a hash:
|
1437
|
-
#
|
1438
|
-
# {
|
1439
|
-
# resource_arn: "ResourceArn", # required
|
1440
|
-
# tags: { # required
|
1441
|
-
# "TagKey" => "TagValue",
|
1442
|
-
# },
|
1443
|
-
# }
|
1444
|
-
#
|
1445
1207
|
# @!attribute [rw] resource_arn
|
1446
1208
|
# The Amazon Resource Name (ARN) that identifies the resource to list
|
1447
1209
|
# the tags for. Currently, the supported resources are Amazon EMR
|
@@ -1495,14 +1257,6 @@ module Aws::EMRServerless
|
|
1495
1257
|
include Aws::Structure
|
1496
1258
|
end
|
1497
1259
|
|
1498
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
1499
|
-
# data as a hash:
|
1500
|
-
#
|
1501
|
-
# {
|
1502
|
-
# resource_arn: "ResourceArn", # required
|
1503
|
-
# tag_keys: ["TagKey"], # required
|
1504
|
-
# }
|
1505
|
-
#
|
1506
1260
|
# @!attribute [rw] resource_arn
|
1507
1261
|
# The Amazon Resource Name (ARN) that identifies the resource to list
|
1508
1262
|
# the tags for. Currently, the supported resources are Amazon EMR
|
@@ -1526,40 +1280,6 @@ module Aws::EMRServerless
|
|
1526
1280
|
#
|
1527
1281
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
1528
1282
|
|
1529
|
-
# @note When making an API call, you may pass UpdateApplicationRequest
|
1530
|
-
# data as a hash:
|
1531
|
-
#
|
1532
|
-
# {
|
1533
|
-
# application_id: "ApplicationId", # required
|
1534
|
-
# client_token: "ClientToken", # required
|
1535
|
-
# initial_capacity: {
|
1536
|
-
# "WorkerTypeString" => {
|
1537
|
-
# worker_count: 1, # required
|
1538
|
-
# worker_configuration: {
|
1539
|
-
# cpu: "CpuSize", # required
|
1540
|
-
# memory: "MemorySize", # required
|
1541
|
-
# disk: "DiskSize",
|
1542
|
-
# },
|
1543
|
-
# },
|
1544
|
-
# },
|
1545
|
-
# maximum_capacity: {
|
1546
|
-
# cpu: "CpuSize", # required
|
1547
|
-
# memory: "MemorySize", # required
|
1548
|
-
# disk: "DiskSize",
|
1549
|
-
# },
|
1550
|
-
# auto_start_configuration: {
|
1551
|
-
# enabled: false,
|
1552
|
-
# },
|
1553
|
-
# auto_stop_configuration: {
|
1554
|
-
# enabled: false,
|
1555
|
-
# idle_timeout_minutes: 1,
|
1556
|
-
# },
|
1557
|
-
# network_configuration: {
|
1558
|
-
# subnet_ids: ["SubnetString"],
|
1559
|
-
# security_group_ids: ["SecurityGroupString"],
|
1560
|
-
# },
|
1561
|
-
# }
|
1562
|
-
#
|
1563
1283
|
# @!attribute [rw] application_id
|
1564
1284
|
# The ID of the application to update.
|
1565
1285
|
# @return [String]
|
@@ -1597,6 +1317,26 @@ module Aws::EMRServerless
|
|
1597
1317
|
# The network configuration for customer VPC connectivity.
|
1598
1318
|
# @return [Types::NetworkConfiguration]
|
1599
1319
|
#
|
1320
|
+
# @!attribute [rw] architecture
|
1321
|
+
# The CPU architecture of an application.
|
1322
|
+
# @return [String]
|
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
|
+
#
|
1600
1340
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-serverless-2021-07-13/UpdateApplicationRequest AWS API Documentation
|
1601
1341
|
#
|
1602
1342
|
class UpdateApplicationRequest < Struct.new(
|
@@ -1606,7 +1346,10 @@ module Aws::EMRServerless
|
|
1606
1346
|
:maximum_capacity,
|
1607
1347
|
:auto_start_configuration,
|
1608
1348
|
:auto_stop_configuration,
|
1609
|
-
:network_configuration
|
1349
|
+
:network_configuration,
|
1350
|
+
:architecture,
|
1351
|
+
:image_configuration,
|
1352
|
+
:worker_type_specifications)
|
1610
1353
|
SENSITIVE = []
|
1611
1354
|
include Aws::Structure
|
1612
1355
|
end
|
@@ -1640,15 +1383,6 @@ module Aws::EMRServerless
|
|
1640
1383
|
# The cumulative configuration requirements for every worker instance of
|
1641
1384
|
# the worker type.
|
1642
1385
|
#
|
1643
|
-
# @note When making an API call, you may pass WorkerResourceConfig
|
1644
|
-
# data as a hash:
|
1645
|
-
#
|
1646
|
-
# {
|
1647
|
-
# cpu: "CpuSize", # required
|
1648
|
-
# memory: "MemorySize", # required
|
1649
|
-
# disk: "DiskSize",
|
1650
|
-
# }
|
1651
|
-
#
|
1652
1386
|
# @!attribute [rw] cpu
|
1653
1387
|
# The CPU requirements for every worker instance of the worker type.
|
1654
1388
|
# @return [String]
|
@@ -1672,5 +1406,33 @@ module Aws::EMRServerless
|
|
1672
1406
|
include Aws::Structure
|
1673
1407
|
end
|
1674
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
|
+
|
1675
1437
|
end
|
1676
1438
|
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.
|
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:
|
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
|