aws-sdk-emrcontainers 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-emrcontainers/client.rb +293 -7
- data/lib/aws-sdk-emrcontainers/client_api.rb +161 -3
- data/lib/aws-sdk-emrcontainers/endpoints.rb +56 -0
- data/lib/aws-sdk-emrcontainers/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-emrcontainers/types.rb +578 -5
- data/lib/aws-sdk-emrcontainers.rb +1 -1
- metadata +2 -2
@@ -263,6 +263,128 @@ module Aws::EMRContainers
|
|
263
263
|
include Aws::Structure
|
264
264
|
end
|
265
265
|
|
266
|
+
# @note When making an API call, you may pass CreateJobTemplateRequest
|
267
|
+
# data as a hash:
|
268
|
+
#
|
269
|
+
# {
|
270
|
+
# name: "ResourceNameString", # required
|
271
|
+
# client_token: "ClientToken", # required
|
272
|
+
# job_template_data: { # required
|
273
|
+
# execution_role_arn: "ParametricIAMRoleArn", # required
|
274
|
+
# release_label: "ParametricReleaseLabel", # required
|
275
|
+
# configuration_overrides: {
|
276
|
+
# application_configuration: [
|
277
|
+
# {
|
278
|
+
# classification: "String1024", # required
|
279
|
+
# properties: {
|
280
|
+
# "String1024" => "String1024",
|
281
|
+
# },
|
282
|
+
# configurations: {
|
283
|
+
# # recursive ConfigurationList
|
284
|
+
# },
|
285
|
+
# },
|
286
|
+
# ],
|
287
|
+
# monitoring_configuration: {
|
288
|
+
# persistent_app_ui: "TemplateParameter",
|
289
|
+
# cloud_watch_monitoring_configuration: {
|
290
|
+
# log_group_name: "TemplateParameter",
|
291
|
+
# log_stream_name_prefix: "String256",
|
292
|
+
# },
|
293
|
+
# s3_monitoring_configuration: {
|
294
|
+
# log_uri: "UriString",
|
295
|
+
# },
|
296
|
+
# },
|
297
|
+
# },
|
298
|
+
# job_driver: { # required
|
299
|
+
# spark_submit_job_driver: {
|
300
|
+
# entry_point: "EntryPointPath", # required
|
301
|
+
# entry_point_arguments: ["EntryPointArgument"],
|
302
|
+
# spark_submit_parameters: "SparkSubmitParameters",
|
303
|
+
# },
|
304
|
+
# spark_sql_job_driver: {
|
305
|
+
# entry_point: "EntryPointPath",
|
306
|
+
# spark_sql_parameters: "SparkSqlParameters",
|
307
|
+
# },
|
308
|
+
# },
|
309
|
+
# parameter_configuration: {
|
310
|
+
# "TemplateParameterName" => {
|
311
|
+
# type: "NUMBER", # accepts NUMBER, STRING
|
312
|
+
# default_value: "String1024",
|
313
|
+
# },
|
314
|
+
# },
|
315
|
+
# job_tags: {
|
316
|
+
# "String128" => "StringEmpty256",
|
317
|
+
# },
|
318
|
+
# },
|
319
|
+
# tags: {
|
320
|
+
# "String128" => "StringEmpty256",
|
321
|
+
# },
|
322
|
+
# kms_key_arn: "KmsKeyArn",
|
323
|
+
# }
|
324
|
+
#
|
325
|
+
# @!attribute [rw] name
|
326
|
+
# The specified name of the job template.
|
327
|
+
# @return [String]
|
328
|
+
#
|
329
|
+
# @!attribute [rw] client_token
|
330
|
+
# The client token of the job template.
|
331
|
+
#
|
332
|
+
# **A suitable default value is auto-generated.** You should normally
|
333
|
+
# not need to pass this option.
|
334
|
+
# @return [String]
|
335
|
+
#
|
336
|
+
# @!attribute [rw] job_template_data
|
337
|
+
# The job template data which holds values of StartJobRun API request.
|
338
|
+
# @return [Types::JobTemplateData]
|
339
|
+
#
|
340
|
+
# @!attribute [rw] tags
|
341
|
+
# The tags that are associated with the job template.
|
342
|
+
# @return [Hash<String,String>]
|
343
|
+
#
|
344
|
+
# @!attribute [rw] kms_key_arn
|
345
|
+
# The KMS key ARN used to encrypt the job template.
|
346
|
+
# @return [String]
|
347
|
+
#
|
348
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateJobTemplateRequest AWS API Documentation
|
349
|
+
#
|
350
|
+
class CreateJobTemplateRequest < Struct.new(
|
351
|
+
:name,
|
352
|
+
:client_token,
|
353
|
+
:job_template_data,
|
354
|
+
:tags,
|
355
|
+
:kms_key_arn)
|
356
|
+
SENSITIVE = []
|
357
|
+
include Aws::Structure
|
358
|
+
end
|
359
|
+
|
360
|
+
# @!attribute [rw] id
|
361
|
+
# This output display the created job template ID.
|
362
|
+
# @return [String]
|
363
|
+
#
|
364
|
+
# @!attribute [rw] name
|
365
|
+
# This output displays the name of the created job template.
|
366
|
+
# @return [String]
|
367
|
+
#
|
368
|
+
# @!attribute [rw] arn
|
369
|
+
# This output display the ARN of the created job template.
|
370
|
+
# @return [String]
|
371
|
+
#
|
372
|
+
# @!attribute [rw] created_at
|
373
|
+
# This output displays the date and time when the job template was
|
374
|
+
# created.
|
375
|
+
# @return [Time]
|
376
|
+
#
|
377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateJobTemplateResponse AWS API Documentation
|
378
|
+
#
|
379
|
+
class CreateJobTemplateResponse < Struct.new(
|
380
|
+
:id,
|
381
|
+
:name,
|
382
|
+
:arn,
|
383
|
+
:created_at)
|
384
|
+
SENSITIVE = []
|
385
|
+
include Aws::Structure
|
386
|
+
end
|
387
|
+
|
266
388
|
# @note When making an API call, you may pass CreateManagedEndpointRequest
|
267
389
|
# data as a hash:
|
268
390
|
#
|
@@ -459,6 +581,37 @@ module Aws::EMRContainers
|
|
459
581
|
include Aws::Structure
|
460
582
|
end
|
461
583
|
|
584
|
+
# @note When making an API call, you may pass DeleteJobTemplateRequest
|
585
|
+
# data as a hash:
|
586
|
+
#
|
587
|
+
# {
|
588
|
+
# id: "ResourceIdString", # required
|
589
|
+
# }
|
590
|
+
#
|
591
|
+
# @!attribute [rw] id
|
592
|
+
# The ID of the job template that will be deleted.
|
593
|
+
# @return [String]
|
594
|
+
#
|
595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DeleteJobTemplateRequest AWS API Documentation
|
596
|
+
#
|
597
|
+
class DeleteJobTemplateRequest < Struct.new(
|
598
|
+
:id)
|
599
|
+
SENSITIVE = []
|
600
|
+
include Aws::Structure
|
601
|
+
end
|
602
|
+
|
603
|
+
# @!attribute [rw] id
|
604
|
+
# This output contains the ID of the job template that was deleted.
|
605
|
+
# @return [String]
|
606
|
+
#
|
607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DeleteJobTemplateResponse AWS API Documentation
|
608
|
+
#
|
609
|
+
class DeleteJobTemplateResponse < Struct.new(
|
610
|
+
:id)
|
611
|
+
SENSITIVE = []
|
612
|
+
include Aws::Structure
|
613
|
+
end
|
614
|
+
|
462
615
|
# @note When making an API call, you may pass DeleteManagedEndpointRequest
|
463
616
|
# data as a hash:
|
464
617
|
#
|
@@ -570,6 +723,37 @@ module Aws::EMRContainers
|
|
570
723
|
include Aws::Structure
|
571
724
|
end
|
572
725
|
|
726
|
+
# @note When making an API call, you may pass DescribeJobTemplateRequest
|
727
|
+
# data as a hash:
|
728
|
+
#
|
729
|
+
# {
|
730
|
+
# id: "ResourceIdString", # required
|
731
|
+
# }
|
732
|
+
#
|
733
|
+
# @!attribute [rw] id
|
734
|
+
# The ID of the job template that will be described.
|
735
|
+
# @return [String]
|
736
|
+
#
|
737
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeJobTemplateRequest AWS API Documentation
|
738
|
+
#
|
739
|
+
class DescribeJobTemplateRequest < Struct.new(
|
740
|
+
:id)
|
741
|
+
SENSITIVE = []
|
742
|
+
include Aws::Structure
|
743
|
+
end
|
744
|
+
|
745
|
+
# @!attribute [rw] job_template
|
746
|
+
# This output displays information about the specified job template.
|
747
|
+
# @return [Types::JobTemplate]
|
748
|
+
#
|
749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeJobTemplateResponse AWS API Documentation
|
750
|
+
#
|
751
|
+
class DescribeJobTemplateResponse < Struct.new(
|
752
|
+
:job_template)
|
753
|
+
SENSITIVE = []
|
754
|
+
include Aws::Structure
|
755
|
+
end
|
756
|
+
|
573
757
|
# @note When making an API call, you may pass DescribeManagedEndpointRequest
|
574
758
|
# data as a hash:
|
575
759
|
#
|
@@ -776,7 +960,9 @@ module Aws::EMRContainers
|
|
776
960
|
include Aws::Structure
|
777
961
|
end
|
778
962
|
|
779
|
-
# Specify the driver that the job runs on.
|
963
|
+
# Specify the driver that the job runs on. Exactly one of the two
|
964
|
+
# available job drivers is required, either sparkSqlJobDriver or
|
965
|
+
# sparkSubmitJobDriver.
|
780
966
|
#
|
781
967
|
# @note When making an API call, you may pass JobDriver
|
782
968
|
# data as a hash:
|
@@ -902,6 +1088,158 @@ module Aws::EMRContainers
|
|
902
1088
|
include Aws::Structure
|
903
1089
|
end
|
904
1090
|
|
1091
|
+
# This entity describes a job template. Job template stores values of
|
1092
|
+
# StartJobRun API request in a template and can be used to start a job
|
1093
|
+
# run. Job template allows two use cases: avoid repeating recurring
|
1094
|
+
# StartJobRun API request values, enforcing certain values in
|
1095
|
+
# StartJobRun API request.
|
1096
|
+
#
|
1097
|
+
# @!attribute [rw] name
|
1098
|
+
# The name of the job template.
|
1099
|
+
# @return [String]
|
1100
|
+
#
|
1101
|
+
# @!attribute [rw] id
|
1102
|
+
# The ID of the job template.
|
1103
|
+
# @return [String]
|
1104
|
+
#
|
1105
|
+
# @!attribute [rw] arn
|
1106
|
+
# The ARN of the job template.
|
1107
|
+
# @return [String]
|
1108
|
+
#
|
1109
|
+
# @!attribute [rw] created_at
|
1110
|
+
# The date and time when the job template was created.
|
1111
|
+
# @return [Time]
|
1112
|
+
#
|
1113
|
+
# @!attribute [rw] created_by
|
1114
|
+
# The user who created the job template.
|
1115
|
+
# @return [String]
|
1116
|
+
#
|
1117
|
+
# @!attribute [rw] tags
|
1118
|
+
# The tags assigned to the job template.
|
1119
|
+
# @return [Hash<String,String>]
|
1120
|
+
#
|
1121
|
+
# @!attribute [rw] job_template_data
|
1122
|
+
# The job template data which holds values of StartJobRun API request.
|
1123
|
+
# @return [Types::JobTemplateData]
|
1124
|
+
#
|
1125
|
+
# @!attribute [rw] kms_key_arn
|
1126
|
+
# The KMS key ARN used to encrypt the job template.
|
1127
|
+
# @return [String]
|
1128
|
+
#
|
1129
|
+
# @!attribute [rw] decryption_error
|
1130
|
+
# The error message in case the decryption of job template fails.
|
1131
|
+
# @return [String]
|
1132
|
+
#
|
1133
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/JobTemplate AWS API Documentation
|
1134
|
+
#
|
1135
|
+
class JobTemplate < Struct.new(
|
1136
|
+
:name,
|
1137
|
+
:id,
|
1138
|
+
:arn,
|
1139
|
+
:created_at,
|
1140
|
+
:created_by,
|
1141
|
+
:tags,
|
1142
|
+
:job_template_data,
|
1143
|
+
:kms_key_arn,
|
1144
|
+
:decryption_error)
|
1145
|
+
SENSITIVE = []
|
1146
|
+
include Aws::Structure
|
1147
|
+
end
|
1148
|
+
|
1149
|
+
# The values of StartJobRun API requests used in job runs started using
|
1150
|
+
# the job template.
|
1151
|
+
#
|
1152
|
+
# @note When making an API call, you may pass JobTemplateData
|
1153
|
+
# data as a hash:
|
1154
|
+
#
|
1155
|
+
# {
|
1156
|
+
# execution_role_arn: "ParametricIAMRoleArn", # required
|
1157
|
+
# release_label: "ParametricReleaseLabel", # required
|
1158
|
+
# configuration_overrides: {
|
1159
|
+
# application_configuration: [
|
1160
|
+
# {
|
1161
|
+
# classification: "String1024", # required
|
1162
|
+
# properties: {
|
1163
|
+
# "String1024" => "String1024",
|
1164
|
+
# },
|
1165
|
+
# configurations: {
|
1166
|
+
# # recursive ConfigurationList
|
1167
|
+
# },
|
1168
|
+
# },
|
1169
|
+
# ],
|
1170
|
+
# monitoring_configuration: {
|
1171
|
+
# persistent_app_ui: "TemplateParameter",
|
1172
|
+
# cloud_watch_monitoring_configuration: {
|
1173
|
+
# log_group_name: "TemplateParameter",
|
1174
|
+
# log_stream_name_prefix: "String256",
|
1175
|
+
# },
|
1176
|
+
# s3_monitoring_configuration: {
|
1177
|
+
# log_uri: "UriString",
|
1178
|
+
# },
|
1179
|
+
# },
|
1180
|
+
# },
|
1181
|
+
# job_driver: { # required
|
1182
|
+
# spark_submit_job_driver: {
|
1183
|
+
# entry_point: "EntryPointPath", # required
|
1184
|
+
# entry_point_arguments: ["EntryPointArgument"],
|
1185
|
+
# spark_submit_parameters: "SparkSubmitParameters",
|
1186
|
+
# },
|
1187
|
+
# spark_sql_job_driver: {
|
1188
|
+
# entry_point: "EntryPointPath",
|
1189
|
+
# spark_sql_parameters: "SparkSqlParameters",
|
1190
|
+
# },
|
1191
|
+
# },
|
1192
|
+
# parameter_configuration: {
|
1193
|
+
# "TemplateParameterName" => {
|
1194
|
+
# type: "NUMBER", # accepts NUMBER, STRING
|
1195
|
+
# default_value: "String1024",
|
1196
|
+
# },
|
1197
|
+
# },
|
1198
|
+
# job_tags: {
|
1199
|
+
# "String128" => "StringEmpty256",
|
1200
|
+
# },
|
1201
|
+
# }
|
1202
|
+
#
|
1203
|
+
# @!attribute [rw] execution_role_arn
|
1204
|
+
# The execution role ARN of the job run.
|
1205
|
+
# @return [String]
|
1206
|
+
#
|
1207
|
+
# @!attribute [rw] release_label
|
1208
|
+
# The release version of Amazon EMR.
|
1209
|
+
# @return [String]
|
1210
|
+
#
|
1211
|
+
# @!attribute [rw] configuration_overrides
|
1212
|
+
# The configuration settings that are used to override defaults
|
1213
|
+
# configuration.
|
1214
|
+
# @return [Types::ParametricConfigurationOverrides]
|
1215
|
+
#
|
1216
|
+
# @!attribute [rw] job_driver
|
1217
|
+
# Specify the driver that the job runs on. Exactly one of the two
|
1218
|
+
# available job drivers is required, either sparkSqlJobDriver or
|
1219
|
+
# sparkSubmitJobDriver.
|
1220
|
+
# @return [Types::JobDriver]
|
1221
|
+
#
|
1222
|
+
# @!attribute [rw] parameter_configuration
|
1223
|
+
# The configuration of parameters existing in the job template.
|
1224
|
+
# @return [Hash<String,Types::TemplateParameterConfiguration>]
|
1225
|
+
#
|
1226
|
+
# @!attribute [rw] job_tags
|
1227
|
+
# The tags assigned to jobs started using the job template.
|
1228
|
+
# @return [Hash<String,String>]
|
1229
|
+
#
|
1230
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/JobTemplateData AWS API Documentation
|
1231
|
+
#
|
1232
|
+
class JobTemplateData < Struct.new(
|
1233
|
+
:execution_role_arn,
|
1234
|
+
:release_label,
|
1235
|
+
:configuration_overrides,
|
1236
|
+
:job_driver,
|
1237
|
+
:parameter_configuration,
|
1238
|
+
:job_tags)
|
1239
|
+
SENSITIVE = []
|
1240
|
+
include Aws::Structure
|
1241
|
+
end
|
1242
|
+
|
905
1243
|
# @note When making an API call, you may pass ListJobRunsRequest
|
906
1244
|
# data as a hash:
|
907
1245
|
#
|
@@ -974,6 +1312,60 @@ module Aws::EMRContainers
|
|
974
1312
|
include Aws::Structure
|
975
1313
|
end
|
976
1314
|
|
1315
|
+
# @note When making an API call, you may pass ListJobTemplatesRequest
|
1316
|
+
# data as a hash:
|
1317
|
+
#
|
1318
|
+
# {
|
1319
|
+
# created_after: Time.now,
|
1320
|
+
# created_before: Time.now,
|
1321
|
+
# max_results: 1,
|
1322
|
+
# next_token: "NextToken",
|
1323
|
+
# }
|
1324
|
+
#
|
1325
|
+
# @!attribute [rw] created_after
|
1326
|
+
# The date and time after which the job templates were created.
|
1327
|
+
# @return [Time]
|
1328
|
+
#
|
1329
|
+
# @!attribute [rw] created_before
|
1330
|
+
# The date and time before which the job templates were created.
|
1331
|
+
# @return [Time]
|
1332
|
+
#
|
1333
|
+
# @!attribute [rw] max_results
|
1334
|
+
# The maximum number of job templates that can be listed.
|
1335
|
+
# @return [Integer]
|
1336
|
+
#
|
1337
|
+
# @!attribute [rw] next_token
|
1338
|
+
# The token for the next set of job templates to return.
|
1339
|
+
# @return [String]
|
1340
|
+
#
|
1341
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListJobTemplatesRequest AWS API Documentation
|
1342
|
+
#
|
1343
|
+
class ListJobTemplatesRequest < Struct.new(
|
1344
|
+
:created_after,
|
1345
|
+
:created_before,
|
1346
|
+
:max_results,
|
1347
|
+
:next_token)
|
1348
|
+
SENSITIVE = []
|
1349
|
+
include Aws::Structure
|
1350
|
+
end
|
1351
|
+
|
1352
|
+
# @!attribute [rw] templates
|
1353
|
+
# This output lists information about the specified job templates.
|
1354
|
+
# @return [Array<Types::JobTemplate>]
|
1355
|
+
#
|
1356
|
+
# @!attribute [rw] next_token
|
1357
|
+
# This output displays the token for the next set of job templates.
|
1358
|
+
# @return [String]
|
1359
|
+
#
|
1360
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListJobTemplatesResponse AWS API Documentation
|
1361
|
+
#
|
1362
|
+
class ListJobTemplatesResponse < Struct.new(
|
1363
|
+
:templates,
|
1364
|
+
:next_token)
|
1365
|
+
SENSITIVE = []
|
1366
|
+
include Aws::Structure
|
1367
|
+
end
|
1368
|
+
|
977
1369
|
# @note When making an API call, you may pass ListManagedEndpointsRequest
|
978
1370
|
# data as a hash:
|
979
1371
|
#
|
@@ -1188,6 +1580,145 @@ module Aws::EMRContainers
|
|
1188
1580
|
include Aws::Structure
|
1189
1581
|
end
|
1190
1582
|
|
1583
|
+
# A configuration for CloudWatch monitoring. You can configure your jobs
|
1584
|
+
# to send log information to CloudWatch Logs. This data type allows job
|
1585
|
+
# template parameters to be specified within.
|
1586
|
+
#
|
1587
|
+
# @note When making an API call, you may pass ParametricCloudWatchMonitoringConfiguration
|
1588
|
+
# data as a hash:
|
1589
|
+
#
|
1590
|
+
# {
|
1591
|
+
# log_group_name: "TemplateParameter",
|
1592
|
+
# log_stream_name_prefix: "String256",
|
1593
|
+
# }
|
1594
|
+
#
|
1595
|
+
# @!attribute [rw] log_group_name
|
1596
|
+
# The name of the log group for log publishing.
|
1597
|
+
# @return [String]
|
1598
|
+
#
|
1599
|
+
# @!attribute [rw] log_stream_name_prefix
|
1600
|
+
# The specified name prefix for log streams.
|
1601
|
+
# @return [String]
|
1602
|
+
#
|
1603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ParametricCloudWatchMonitoringConfiguration AWS API Documentation
|
1604
|
+
#
|
1605
|
+
class ParametricCloudWatchMonitoringConfiguration < Struct.new(
|
1606
|
+
:log_group_name,
|
1607
|
+
:log_stream_name_prefix)
|
1608
|
+
SENSITIVE = []
|
1609
|
+
include Aws::Structure
|
1610
|
+
end
|
1611
|
+
|
1612
|
+
# A configuration specification to be used to override existing
|
1613
|
+
# configurations. This data type allows job template parameters to be
|
1614
|
+
# specified within.
|
1615
|
+
#
|
1616
|
+
# @note When making an API call, you may pass ParametricConfigurationOverrides
|
1617
|
+
# data as a hash:
|
1618
|
+
#
|
1619
|
+
# {
|
1620
|
+
# application_configuration: [
|
1621
|
+
# {
|
1622
|
+
# classification: "String1024", # required
|
1623
|
+
# properties: {
|
1624
|
+
# "String1024" => "String1024",
|
1625
|
+
# },
|
1626
|
+
# configurations: {
|
1627
|
+
# # recursive ConfigurationList
|
1628
|
+
# },
|
1629
|
+
# },
|
1630
|
+
# ],
|
1631
|
+
# monitoring_configuration: {
|
1632
|
+
# persistent_app_ui: "TemplateParameter",
|
1633
|
+
# cloud_watch_monitoring_configuration: {
|
1634
|
+
# log_group_name: "TemplateParameter",
|
1635
|
+
# log_stream_name_prefix: "String256",
|
1636
|
+
# },
|
1637
|
+
# s3_monitoring_configuration: {
|
1638
|
+
# log_uri: "UriString",
|
1639
|
+
# },
|
1640
|
+
# },
|
1641
|
+
# }
|
1642
|
+
#
|
1643
|
+
# @!attribute [rw] application_configuration
|
1644
|
+
# The configurations for the application running by the job run.
|
1645
|
+
# @return [Array<Types::Configuration>]
|
1646
|
+
#
|
1647
|
+
# @!attribute [rw] monitoring_configuration
|
1648
|
+
# The configurations for monitoring.
|
1649
|
+
# @return [Types::ParametricMonitoringConfiguration]
|
1650
|
+
#
|
1651
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ParametricConfigurationOverrides AWS API Documentation
|
1652
|
+
#
|
1653
|
+
class ParametricConfigurationOverrides < Struct.new(
|
1654
|
+
:application_configuration,
|
1655
|
+
:monitoring_configuration)
|
1656
|
+
SENSITIVE = []
|
1657
|
+
include Aws::Structure
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
# Configuration setting for monitoring. This data type allows job
|
1661
|
+
# template parameters to be specified within.
|
1662
|
+
#
|
1663
|
+
# @note When making an API call, you may pass ParametricMonitoringConfiguration
|
1664
|
+
# data as a hash:
|
1665
|
+
#
|
1666
|
+
# {
|
1667
|
+
# persistent_app_ui: "TemplateParameter",
|
1668
|
+
# cloud_watch_monitoring_configuration: {
|
1669
|
+
# log_group_name: "TemplateParameter",
|
1670
|
+
# log_stream_name_prefix: "String256",
|
1671
|
+
# },
|
1672
|
+
# s3_monitoring_configuration: {
|
1673
|
+
# log_uri: "UriString",
|
1674
|
+
# },
|
1675
|
+
# }
|
1676
|
+
#
|
1677
|
+
# @!attribute [rw] persistent_app_ui
|
1678
|
+
# Monitoring configurations for the persistent application UI.
|
1679
|
+
# @return [String]
|
1680
|
+
#
|
1681
|
+
# @!attribute [rw] cloud_watch_monitoring_configuration
|
1682
|
+
# Monitoring configurations for CloudWatch.
|
1683
|
+
# @return [Types::ParametricCloudWatchMonitoringConfiguration]
|
1684
|
+
#
|
1685
|
+
# @!attribute [rw] s3_monitoring_configuration
|
1686
|
+
# Amazon S3 configuration for monitoring log publishing.
|
1687
|
+
# @return [Types::ParametricS3MonitoringConfiguration]
|
1688
|
+
#
|
1689
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ParametricMonitoringConfiguration AWS API Documentation
|
1690
|
+
#
|
1691
|
+
class ParametricMonitoringConfiguration < Struct.new(
|
1692
|
+
:persistent_app_ui,
|
1693
|
+
:cloud_watch_monitoring_configuration,
|
1694
|
+
:s3_monitoring_configuration)
|
1695
|
+
SENSITIVE = []
|
1696
|
+
include Aws::Structure
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
# Amazon S3 configuration for monitoring log publishing. You can
|
1700
|
+
# configure your jobs to send log information to Amazon S3. This data
|
1701
|
+
# type allows job template parameters to be specified within.
|
1702
|
+
#
|
1703
|
+
# @note When making an API call, you may pass ParametricS3MonitoringConfiguration
|
1704
|
+
# data as a hash:
|
1705
|
+
#
|
1706
|
+
# {
|
1707
|
+
# log_uri: "UriString",
|
1708
|
+
# }
|
1709
|
+
#
|
1710
|
+
# @!attribute [rw] log_uri
|
1711
|
+
# Amazon S3 destination URI for log publishing.
|
1712
|
+
# @return [String]
|
1713
|
+
#
|
1714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ParametricS3MonitoringConfiguration AWS API Documentation
|
1715
|
+
#
|
1716
|
+
class ParametricS3MonitoringConfiguration < Struct.new(
|
1717
|
+
:log_uri)
|
1718
|
+
SENSITIVE = []
|
1719
|
+
include Aws::Structure
|
1720
|
+
end
|
1721
|
+
|
1191
1722
|
# The specified resource was not found.
|
1192
1723
|
#
|
1193
1724
|
# @!attribute [rw] message
|
@@ -1290,9 +1821,9 @@ module Aws::EMRContainers
|
|
1290
1821
|
# name: "ResourceNameString",
|
1291
1822
|
# virtual_cluster_id: "ResourceIdString", # required
|
1292
1823
|
# client_token: "ClientToken", # required
|
1293
|
-
# execution_role_arn: "IAMRoleArn",
|
1294
|
-
# release_label: "ReleaseLabel",
|
1295
|
-
# job_driver: {
|
1824
|
+
# execution_role_arn: "IAMRoleArn",
|
1825
|
+
# release_label: "ReleaseLabel",
|
1826
|
+
# job_driver: {
|
1296
1827
|
# spark_submit_job_driver: {
|
1297
1828
|
# entry_point: "EntryPointPath", # required
|
1298
1829
|
# entry_point_arguments: ["EntryPointArgument"],
|
@@ -1329,6 +1860,10 @@ module Aws::EMRContainers
|
|
1329
1860
|
# tags: {
|
1330
1861
|
# "String128" => "StringEmpty256",
|
1331
1862
|
# },
|
1863
|
+
# job_template_id: "ResourceIdString",
|
1864
|
+
# job_template_parameters: {
|
1865
|
+
# "TemplateParameterName" => "String1024",
|
1866
|
+
# },
|
1332
1867
|
# }
|
1333
1868
|
#
|
1334
1869
|
# @!attribute [rw] name
|
@@ -1366,6 +1901,14 @@ module Aws::EMRContainers
|
|
1366
1901
|
# The tags assigned to job runs.
|
1367
1902
|
# @return [Hash<String,String>]
|
1368
1903
|
#
|
1904
|
+
# @!attribute [rw] job_template_id
|
1905
|
+
# The job template ID to be used to start the job run.
|
1906
|
+
# @return [String]
|
1907
|
+
#
|
1908
|
+
# @!attribute [rw] job_template_parameters
|
1909
|
+
# The values of job template parameters to start a job run.
|
1910
|
+
# @return [Hash<String,String>]
|
1911
|
+
#
|
1369
1912
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/StartJobRunRequest AWS API Documentation
|
1370
1913
|
#
|
1371
1914
|
class StartJobRunRequest < Struct.new(
|
@@ -1376,7 +1919,9 @@ module Aws::EMRContainers
|
|
1376
1919
|
:release_label,
|
1377
1920
|
:job_driver,
|
1378
1921
|
:configuration_overrides,
|
1379
|
-
:tags
|
1922
|
+
:tags,
|
1923
|
+
:job_template_id,
|
1924
|
+
:job_template_parameters)
|
1380
1925
|
SENSITIVE = []
|
1381
1926
|
include Aws::Structure
|
1382
1927
|
end
|
@@ -1440,6 +1985,34 @@ module Aws::EMRContainers
|
|
1440
1985
|
#
|
1441
1986
|
class TagResourceResponse < Aws::EmptyStructure; end
|
1442
1987
|
|
1988
|
+
# The configuration of a job template parameter.
|
1989
|
+
#
|
1990
|
+
# @note When making an API call, you may pass TemplateParameterConfiguration
|
1991
|
+
# data as a hash:
|
1992
|
+
#
|
1993
|
+
# {
|
1994
|
+
# type: "NUMBER", # accepts NUMBER, STRING
|
1995
|
+
# default_value: "String1024",
|
1996
|
+
# }
|
1997
|
+
#
|
1998
|
+
# @!attribute [rw] type
|
1999
|
+
# The type of the job template parameter. Allowed values are:
|
2000
|
+
# ‘String’, ‘Number’.
|
2001
|
+
# @return [String]
|
2002
|
+
#
|
2003
|
+
# @!attribute [rw] default_value
|
2004
|
+
# The default value for the job template parameter.
|
2005
|
+
# @return [String]
|
2006
|
+
#
|
2007
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/TemplateParameterConfiguration AWS API Documentation
|
2008
|
+
#
|
2009
|
+
class TemplateParameterConfiguration < Struct.new(
|
2010
|
+
:type,
|
2011
|
+
:default_value)
|
2012
|
+
SENSITIVE = []
|
2013
|
+
include Aws::Structure
|
2014
|
+
end
|
2015
|
+
|
1443
2016
|
# @note When making an API call, you may pass UntagResourceRequest
|
1444
2017
|
# data as a hash:
|
1445
2018
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-emrcontainers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.17.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
|
+
date: 2022-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|