aws-sdk-emrcontainers 1.17.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0381a17836df6f0bf4a5aefe44178648f9f12d915d1a82b8299fd9640320b91
4
- data.tar.gz: 1a4f286964aeb06b3f7fce2f21131db52d8fd7559b500ee073c7c9ebf0509cf1
3
+ metadata.gz: 05610d3640609f7c639706fb2da50b6095a15c05b8cdc314104bed98830465ae
4
+ data.tar.gz: 2922a0dbb1ea2a4d251ac9a03ace43e191d33078885e86503dc374bdc041fc71
5
5
  SHA512:
6
- metadata.gz: 873ca18e3575a10264a1ca6ed3ca72203d1b1f0c858cb17e734992a734bb6f15905fce09e4196643362a600c65991c472cfb043fbbc82e2ffb60e48d741d4e18
7
- data.tar.gz: c500702a994b2a809613f9e09d5aeee7e4a7acc97a12dcae1e977db6a55ee27e1a3a4977c8e47656a195cffd532befa2e46a212b419ae42d2b28f87f5e3e97bd
6
+ metadata.gz: 54551f0a325da2bc5717ff4eb1d8715a0a8b6d3a12b8db7d58c0257dc666a74df70f3d4389316e2ede69ef74f2f10822ed61763e633a656fe186e800d7338187
7
+ data.tar.gz: c017686399cf638b3992599e4381c1e231373ecf6d322c6469c65ff0d96409dc6b67ecb8b2e77934398abf814f89617fe56893b3c9fbaff58226ef43003f54d9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.17.0 (2022-11-04)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.18.0
@@ -1540,7 +1540,7 @@ module Aws::EMRContainers
1540
1540
  params: params,
1541
1541
  config: config)
1542
1542
  context[:gem_name] = 'aws-sdk-emrcontainers'
1543
- context[:gem_version] = '1.17.0'
1543
+ context[:gem_version] = '1.18.0'
1544
1544
  Seahorse::Client::Request.new(handlers, context)
1545
1545
  end
1546
1546
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::EMRContainers
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://emr-containers-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://emr-containers-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://emr-containers.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://emr-containers.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVd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p7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpb
103
- XSwiZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0
104
- aXRpb24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJy
105
- b3IifV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0
106
- dHBzOi8vZW1yLWNvbnRhaW5lcnMue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3Vs
107
- dCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwi
108
- dHlwZSI6ImVuZHBvaW50In1dfV19
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -10,14 +10,6 @@
10
10
  module Aws::EMRContainers
11
11
  module Types
12
12
 
13
- # @note When making an API call, you may pass CancelJobRunRequest
14
- # data as a hash:
15
- #
16
- # {
17
- # id: "ResourceIdString", # required
18
- # virtual_cluster_id: "ResourceIdString", # required
19
- # }
20
- #
21
13
  # @!attribute [rw] id
22
14
  # The ID of the job run to cancel.
23
15
  # @return [String]
@@ -78,14 +70,6 @@ module Aws::EMRContainers
78
70
  # A configuration for CloudWatch monitoring. You can configure your jobs
79
71
  # to send log information to CloudWatch Logs.
80
72
  #
81
- # @note When making an API call, you may pass CloudWatchMonitoringConfiguration
82
- # data as a hash:
83
- #
84
- # {
85
- # log_group_name: "LogGroupName", # required
86
- # log_stream_name_prefix: "String256",
87
- # }
88
- #
89
73
  # @!attribute [rw] log_group_name
90
74
  # The name of the log group for log publishing.
91
75
  # @return [String]
@@ -110,27 +94,6 @@ module Aws::EMRContainers
110
94
  # classification refers to an application-specific configuration file.
111
95
  # Properties are the settings you want to change in that file.
112
96
  #
113
- # @note When making an API call, you may pass Configuration
114
- # data as a hash:
115
- #
116
- # {
117
- # classification: "String1024", # required
118
- # properties: {
119
- # "String1024" => "String1024",
120
- # },
121
- # configurations: [
122
- # {
123
- # classification: "String1024", # required
124
- # properties: {
125
- # "String1024" => "String1024",
126
- # },
127
- # configurations: {
128
- # # recursive ConfigurationList
129
- # },
130
- # },
131
- # ],
132
- # }
133
- #
134
97
  # @!attribute [rw] classification
135
98
  # The classification within a configuration.
136
99
  # @return [String]
@@ -157,33 +120,6 @@ module Aws::EMRContainers
157
120
  # A configuration specification to be used to override existing
158
121
  # configurations.
159
122
  #
160
- # @note When making an API call, you may pass ConfigurationOverrides
161
- # data as a hash:
162
- #
163
- # {
164
- # application_configuration: [
165
- # {
166
- # classification: "String1024", # required
167
- # properties: {
168
- # "String1024" => "String1024",
169
- # },
170
- # configurations: {
171
- # # recursive ConfigurationList
172
- # },
173
- # },
174
- # ],
175
- # monitoring_configuration: {
176
- # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
177
- # cloud_watch_monitoring_configuration: {
178
- # log_group_name: "LogGroupName", # required
179
- # log_stream_name_prefix: "String256",
180
- # },
181
- # s3_monitoring_configuration: {
182
- # log_uri: "UriString", # required
183
- # },
184
- # },
185
- # }
186
- #
187
123
  # @!attribute [rw] application_configuration
188
124
  # The configurations for the application running by the job run.
189
125
  # @return [Array<Types::Configuration>]
@@ -227,19 +163,6 @@ module Aws::EMRContainers
227
163
 
228
164
  # The information about the container provider.
229
165
  #
230
- # @note When making an API call, you may pass ContainerProvider
231
- # data as a hash:
232
- #
233
- # {
234
- # type: "EKS", # required, accepts EKS
235
- # id: "ClusterId", # required
236
- # info: {
237
- # eks_info: {
238
- # namespace: "KubernetesNamespace",
239
- # },
240
- # },
241
- # }
242
- #
243
166
  # @!attribute [rw] type
244
167
  # The type of the container provider. EKS is the only supported type
245
168
  # as of now.
@@ -263,65 +186,6 @@ module Aws::EMRContainers
263
186
  include Aws::Structure
264
187
  end
265
188
 
266
- # @note When making an API call, you may pass CreateJobTemplateRequest
267
- # data as a hash:
268
- #
269
- # {
270
- # name: "ResourceNameString", # required
271
- # client_token: "ClientToken", # required
272
- # job_template_data: { # required
273
- # execution_role_arn: "ParametricIAMRoleArn", # required
274
- # release_label: "ParametricReleaseLabel", # required
275
- # configuration_overrides: {
276
- # application_configuration: [
277
- # {
278
- # classification: "String1024", # required
279
- # properties: {
280
- # "String1024" => "String1024",
281
- # },
282
- # configurations: {
283
- # # recursive ConfigurationList
284
- # },
285
- # },
286
- # ],
287
- # monitoring_configuration: {
288
- # persistent_app_ui: "TemplateParameter",
289
- # cloud_watch_monitoring_configuration: {
290
- # log_group_name: "TemplateParameter",
291
- # log_stream_name_prefix: "String256",
292
- # },
293
- # s3_monitoring_configuration: {
294
- # log_uri: "UriString",
295
- # },
296
- # },
297
- # },
298
- # job_driver: { # required
299
- # spark_submit_job_driver: {
300
- # entry_point: "EntryPointPath", # required
301
- # entry_point_arguments: ["EntryPointArgument"],
302
- # spark_submit_parameters: "SparkSubmitParameters",
303
- # },
304
- # spark_sql_job_driver: {
305
- # entry_point: "EntryPointPath",
306
- # spark_sql_parameters: "SparkSqlParameters",
307
- # },
308
- # },
309
- # parameter_configuration: {
310
- # "TemplateParameterName" => {
311
- # type: "NUMBER", # accepts NUMBER, STRING
312
- # default_value: "String1024",
313
- # },
314
- # },
315
- # job_tags: {
316
- # "String128" => "StringEmpty256",
317
- # },
318
- # },
319
- # tags: {
320
- # "String128" => "StringEmpty256",
321
- # },
322
- # kms_key_arn: "KmsKeyArn",
323
- # }
324
- #
325
189
  # @!attribute [rw] name
326
190
  # The specified name of the job template.
327
191
  # @return [String]
@@ -385,45 +249,6 @@ module Aws::EMRContainers
385
249
  include Aws::Structure
386
250
  end
387
251
 
388
- # @note When making an API call, you may pass CreateManagedEndpointRequest
389
- # data as a hash:
390
- #
391
- # {
392
- # name: "ResourceNameString", # required
393
- # virtual_cluster_id: "ResourceIdString", # required
394
- # type: "EndpointType", # required
395
- # release_label: "ReleaseLabel", # required
396
- # execution_role_arn: "IAMRoleArn", # required
397
- # certificate_arn: "ACMCertArn",
398
- # configuration_overrides: {
399
- # application_configuration: [
400
- # {
401
- # classification: "String1024", # required
402
- # properties: {
403
- # "String1024" => "String1024",
404
- # },
405
- # configurations: {
406
- # # recursive ConfigurationList
407
- # },
408
- # },
409
- # ],
410
- # monitoring_configuration: {
411
- # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
412
- # cloud_watch_monitoring_configuration: {
413
- # log_group_name: "LogGroupName", # required
414
- # log_stream_name_prefix: "String256",
415
- # },
416
- # s3_monitoring_configuration: {
417
- # log_uri: "UriString", # required
418
- # },
419
- # },
420
- # },
421
- # client_token: "ClientToken", # required
422
- # tags: {
423
- # "String128" => "StringEmpty256",
424
- # },
425
- # }
426
- #
427
252
  # @!attribute [rw] name
428
253
  # The name of the managed endpoint.
429
254
  # @return [String]
@@ -509,26 +334,6 @@ module Aws::EMRContainers
509
334
  include Aws::Structure
510
335
  end
511
336
 
512
- # @note When making an API call, you may pass CreateVirtualClusterRequest
513
- # data as a hash:
514
- #
515
- # {
516
- # name: "ResourceNameString", # required
517
- # container_provider: { # required
518
- # type: "EKS", # required, accepts EKS
519
- # id: "ClusterId", # required
520
- # info: {
521
- # eks_info: {
522
- # namespace: "KubernetesNamespace",
523
- # },
524
- # },
525
- # },
526
- # client_token: "ClientToken", # required
527
- # tags: {
528
- # "String128" => "StringEmpty256",
529
- # },
530
- # }
531
- #
532
337
  # @!attribute [rw] name
533
338
  # The specified name of the virtual cluster.
534
339
  # @return [String]
@@ -581,13 +386,6 @@ module Aws::EMRContainers
581
386
  include Aws::Structure
582
387
  end
583
388
 
584
- # @note When making an API call, you may pass DeleteJobTemplateRequest
585
- # data as a hash:
586
- #
587
- # {
588
- # id: "ResourceIdString", # required
589
- # }
590
- #
591
389
  # @!attribute [rw] id
592
390
  # The ID of the job template that will be deleted.
593
391
  # @return [String]
@@ -612,14 +410,6 @@ module Aws::EMRContainers
612
410
  include Aws::Structure
613
411
  end
614
412
 
615
- # @note When making an API call, you may pass DeleteManagedEndpointRequest
616
- # data as a hash:
617
- #
618
- # {
619
- # id: "ResourceIdString", # required
620
- # virtual_cluster_id: "ResourceIdString", # required
621
- # }
622
- #
623
413
  # @!attribute [rw] id
624
414
  # The ID of the managed endpoint.
625
415
  # @return [String]
@@ -654,13 +444,6 @@ module Aws::EMRContainers
654
444
  include Aws::Structure
655
445
  end
656
446
 
657
- # @note When making an API call, you may pass DeleteVirtualClusterRequest
658
- # data as a hash:
659
- #
660
- # {
661
- # id: "ResourceIdString", # required
662
- # }
663
- #
664
447
  # @!attribute [rw] id
665
448
  # The ID of the virtual cluster that will be deleted.
666
449
  # @return [String]
@@ -686,14 +469,6 @@ module Aws::EMRContainers
686
469
  include Aws::Structure
687
470
  end
688
471
 
689
- # @note When making an API call, you may pass DescribeJobRunRequest
690
- # data as a hash:
691
- #
692
- # {
693
- # id: "ResourceIdString", # required
694
- # virtual_cluster_id: "ResourceIdString", # required
695
- # }
696
- #
697
472
  # @!attribute [rw] id
698
473
  # The ID of the job run request.
699
474
  # @return [String]
@@ -723,13 +498,6 @@ module Aws::EMRContainers
723
498
  include Aws::Structure
724
499
  end
725
500
 
726
- # @note When making an API call, you may pass DescribeJobTemplateRequest
727
- # data as a hash:
728
- #
729
- # {
730
- # id: "ResourceIdString", # required
731
- # }
732
- #
733
501
  # @!attribute [rw] id
734
502
  # The ID of the job template that will be described.
735
503
  # @return [String]
@@ -754,14 +522,6 @@ module Aws::EMRContainers
754
522
  include Aws::Structure
755
523
  end
756
524
 
757
- # @note When making an API call, you may pass DescribeManagedEndpointRequest
758
- # data as a hash:
759
- #
760
- # {
761
- # id: "ResourceIdString", # required
762
- # virtual_cluster_id: "ResourceIdString", # required
763
- # }
764
- #
765
525
  # @!attribute [rw] id
766
526
  # This output displays ID of the managed endpoint.
767
527
  # @return [String]
@@ -791,13 +551,6 @@ module Aws::EMRContainers
791
551
  include Aws::Structure
792
552
  end
793
553
 
794
- # @note When making an API call, you may pass DescribeVirtualClusterRequest
795
- # data as a hash:
796
- #
797
- # {
798
- # id: "ResourceIdString", # required
799
- # }
800
- #
801
554
  # @!attribute [rw] id
802
555
  # The ID of the virtual cluster that will be described.
803
556
  # @return [String]
@@ -825,13 +578,6 @@ module Aws::EMRContainers
825
578
 
826
579
  # The information about the EKS cluster.
827
580
  #
828
- # @note When making an API call, you may pass EksInfo
829
- # data as a hash:
830
- #
831
- # {
832
- # namespace: "KubernetesNamespace",
833
- # }
834
- #
835
581
  # @!attribute [rw] namespace
836
582
  # The namespaces of the EKS cluster.
837
583
  # @return [String]
@@ -964,21 +710,6 @@ module Aws::EMRContainers
964
710
  # available job drivers is required, either sparkSqlJobDriver or
965
711
  # sparkSubmitJobDriver.
966
712
  #
967
- # @note When making an API call, you may pass JobDriver
968
- # data as a hash:
969
- #
970
- # {
971
- # spark_submit_job_driver: {
972
- # entry_point: "EntryPointPath", # required
973
- # entry_point_arguments: ["EntryPointArgument"],
974
- # spark_submit_parameters: "SparkSubmitParameters",
975
- # },
976
- # spark_sql_job_driver: {
977
- # entry_point: "EntryPointPath",
978
- # spark_sql_parameters: "SparkSqlParameters",
979
- # },
980
- # }
981
- #
982
713
  # @!attribute [rw] spark_submit_job_driver
983
714
  # The job driver parameters specified for spark submit.
984
715
  # @return [Types::SparkSubmitJobDriver]
@@ -1149,57 +880,6 @@ module Aws::EMRContainers
1149
880
  # The values of StartJobRun API requests used in job runs started using
1150
881
  # the job template.
1151
882
  #
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
883
  # @!attribute [rw] execution_role_arn
1204
884
  # The execution role ARN of the job run.
1205
885
  # @return [String]
@@ -1240,19 +920,6 @@ module Aws::EMRContainers
1240
920
  include Aws::Structure
1241
921
  end
1242
922
 
1243
- # @note When making an API call, you may pass ListJobRunsRequest
1244
- # data as a hash:
1245
- #
1246
- # {
1247
- # virtual_cluster_id: "ResourceIdString", # required
1248
- # created_before: Time.now,
1249
- # created_after: Time.now,
1250
- # name: "ResourceNameString",
1251
- # states: ["PENDING"], # accepts PENDING, SUBMITTED, RUNNING, FAILED, CANCELLED, CANCEL_PENDING, COMPLETED
1252
- # max_results: 1,
1253
- # next_token: "NextToken",
1254
- # }
1255
- #
1256
923
  # @!attribute [rw] virtual_cluster_id
1257
924
  # The ID of the virtual cluster for which to list the job run.
1258
925
  # @return [String]
@@ -1312,16 +979,6 @@ module Aws::EMRContainers
1312
979
  include Aws::Structure
1313
980
  end
1314
981
 
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
982
  # @!attribute [rw] created_after
1326
983
  # The date and time after which the job templates were created.
1327
984
  # @return [Time]
@@ -1366,19 +1023,6 @@ module Aws::EMRContainers
1366
1023
  include Aws::Structure
1367
1024
  end
1368
1025
 
1369
- # @note When making an API call, you may pass ListManagedEndpointsRequest
1370
- # data as a hash:
1371
- #
1372
- # {
1373
- # virtual_cluster_id: "ResourceIdString", # required
1374
- # created_before: Time.now,
1375
- # created_after: Time.now,
1376
- # types: ["EndpointType"],
1377
- # states: ["CREATING"], # accepts CREATING, ACTIVE, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS
1378
- # max_results: 1,
1379
- # next_token: "NextToken",
1380
- # }
1381
- #
1382
1026
  # @!attribute [rw] virtual_cluster_id
1383
1027
  # The ID of the virtual cluster.
1384
1028
  # @return [String]
@@ -1438,13 +1082,6 @@ module Aws::EMRContainers
1438
1082
  include Aws::Structure
1439
1083
  end
1440
1084
 
1441
- # @note When making an API call, you may pass ListTagsForResourceRequest
1442
- # data as a hash:
1443
- #
1444
- # {
1445
- # resource_arn: "RsiArn", # required
1446
- # }
1447
- #
1448
1085
  # @!attribute [rw] resource_arn
1449
1086
  # The ARN of tagged resources.
1450
1087
  # @return [String]
@@ -1469,19 +1106,6 @@ module Aws::EMRContainers
1469
1106
  include Aws::Structure
1470
1107
  end
1471
1108
 
1472
- # @note When making an API call, you may pass ListVirtualClustersRequest
1473
- # data as a hash:
1474
- #
1475
- # {
1476
- # container_provider_id: "String1024",
1477
- # container_provider_type: "EKS", # accepts EKS
1478
- # created_after: Time.now,
1479
- # created_before: Time.now,
1480
- # states: ["RUNNING"], # accepts RUNNING, TERMINATING, TERMINATED, ARRESTED
1481
- # max_results: 1,
1482
- # next_token: "NextToken",
1483
- # }
1484
- #
1485
1109
  # @!attribute [rw] container_provider_id
1486
1110
  # The container provider ID of the virtual cluster.
1487
1111
  # @return [String]
@@ -1544,20 +1168,6 @@ module Aws::EMRContainers
1544
1168
 
1545
1169
  # Configuration setting for monitoring.
1546
1170
  #
1547
- # @note When making an API call, you may pass MonitoringConfiguration
1548
- # data as a hash:
1549
- #
1550
- # {
1551
- # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
1552
- # cloud_watch_monitoring_configuration: {
1553
- # log_group_name: "LogGroupName", # required
1554
- # log_stream_name_prefix: "String256",
1555
- # },
1556
- # s3_monitoring_configuration: {
1557
- # log_uri: "UriString", # required
1558
- # },
1559
- # }
1560
- #
1561
1171
  # @!attribute [rw] persistent_app_ui
1562
1172
  # Monitoring configurations for the persistent application UI.
1563
1173
  # @return [String]
@@ -1584,14 +1194,6 @@ module Aws::EMRContainers
1584
1194
  # to send log information to CloudWatch Logs. This data type allows job
1585
1195
  # template parameters to be specified within.
1586
1196
  #
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
1197
  # @!attribute [rw] log_group_name
1596
1198
  # The name of the log group for log publishing.
1597
1199
  # @return [String]
@@ -1613,33 +1215,6 @@ module Aws::EMRContainers
1613
1215
  # configurations. This data type allows job template parameters to be
1614
1216
  # specified within.
1615
1217
  #
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
1218
  # @!attribute [rw] application_configuration
1644
1219
  # The configurations for the application running by the job run.
1645
1220
  # @return [Array<Types::Configuration>]
@@ -1660,20 +1235,6 @@ module Aws::EMRContainers
1660
1235
  # Configuration setting for monitoring. This data type allows job
1661
1236
  # template parameters to be specified within.
1662
1237
  #
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
1238
  # @!attribute [rw] persistent_app_ui
1678
1239
  # Monitoring configurations for the persistent application UI.
1679
1240
  # @return [String]
@@ -1700,13 +1261,6 @@ module Aws::EMRContainers
1700
1261
  # configure your jobs to send log information to Amazon S3. This data
1701
1262
  # type allows job template parameters to be specified within.
1702
1263
  #
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
1264
  # @!attribute [rw] log_uri
1711
1265
  # Amazon S3 destination URI for log publishing.
1712
1266
  # @return [String]
@@ -1735,13 +1289,6 @@ module Aws::EMRContainers
1735
1289
  # Amazon S3 configuration for monitoring log publishing. You can
1736
1290
  # configure your jobs to send log information to Amazon S3.
1737
1291
  #
1738
- # @note When making an API call, you may pass S3MonitoringConfiguration
1739
- # data as a hash:
1740
- #
1741
- # {
1742
- # log_uri: "UriString", # required
1743
- # }
1744
- #
1745
1292
  # @!attribute [rw] log_uri
1746
1293
  # Amazon S3 destination URI for log publishing.
1747
1294
  # @return [String]
@@ -1756,14 +1303,6 @@ module Aws::EMRContainers
1756
1303
 
1757
1304
  # The job driver for job type.
1758
1305
  #
1759
- # @note When making an API call, you may pass SparkSqlJobDriver
1760
- # data as a hash:
1761
- #
1762
- # {
1763
- # entry_point: "EntryPointPath",
1764
- # spark_sql_parameters: "SparkSqlParameters",
1765
- # }
1766
- #
1767
1306
  # @!attribute [rw] entry_point
1768
1307
  # The SQL file to be executed.
1769
1308
  # @return [String]
@@ -1783,15 +1322,6 @@ module Aws::EMRContainers
1783
1322
 
1784
1323
  # The information about job driver for Spark submit.
1785
1324
  #
1786
- # @note When making an API call, you may pass SparkSubmitJobDriver
1787
- # data as a hash:
1788
- #
1789
- # {
1790
- # entry_point: "EntryPointPath", # required
1791
- # entry_point_arguments: ["EntryPointArgument"],
1792
- # spark_submit_parameters: "SparkSubmitParameters",
1793
- # }
1794
- #
1795
1325
  # @!attribute [rw] entry_point
1796
1326
  # The entry point of job application.
1797
1327
  # @return [String]
@@ -1814,58 +1344,6 @@ module Aws::EMRContainers
1814
1344
  include Aws::Structure
1815
1345
  end
1816
1346
 
1817
- # @note When making an API call, you may pass StartJobRunRequest
1818
- # data as a hash:
1819
- #
1820
- # {
1821
- # name: "ResourceNameString",
1822
- # virtual_cluster_id: "ResourceIdString", # required
1823
- # client_token: "ClientToken", # required
1824
- # execution_role_arn: "IAMRoleArn",
1825
- # release_label: "ReleaseLabel",
1826
- # job_driver: {
1827
- # spark_submit_job_driver: {
1828
- # entry_point: "EntryPointPath", # required
1829
- # entry_point_arguments: ["EntryPointArgument"],
1830
- # spark_submit_parameters: "SparkSubmitParameters",
1831
- # },
1832
- # spark_sql_job_driver: {
1833
- # entry_point: "EntryPointPath",
1834
- # spark_sql_parameters: "SparkSqlParameters",
1835
- # },
1836
- # },
1837
- # configuration_overrides: {
1838
- # application_configuration: [
1839
- # {
1840
- # classification: "String1024", # required
1841
- # properties: {
1842
- # "String1024" => "String1024",
1843
- # },
1844
- # configurations: {
1845
- # # recursive ConfigurationList
1846
- # },
1847
- # },
1848
- # ],
1849
- # monitoring_configuration: {
1850
- # persistent_app_ui: "ENABLED", # accepts ENABLED, DISABLED
1851
- # cloud_watch_monitoring_configuration: {
1852
- # log_group_name: "LogGroupName", # required
1853
- # log_stream_name_prefix: "String256",
1854
- # },
1855
- # s3_monitoring_configuration: {
1856
- # log_uri: "UriString", # required
1857
- # },
1858
- # },
1859
- # },
1860
- # tags: {
1861
- # "String128" => "StringEmpty256",
1862
- # },
1863
- # job_template_id: "ResourceIdString",
1864
- # job_template_parameters: {
1865
- # "TemplateParameterName" => "String1024",
1866
- # },
1867
- # }
1868
- #
1869
1347
  # @!attribute [rw] name
1870
1348
  # The name of the job run.
1871
1349
  # @return [String]
@@ -1954,16 +1432,6 @@ module Aws::EMRContainers
1954
1432
  include Aws::Structure
1955
1433
  end
1956
1434
 
1957
- # @note When making an API call, you may pass TagResourceRequest
1958
- # data as a hash:
1959
- #
1960
- # {
1961
- # resource_arn: "RsiArn", # required
1962
- # tags: { # required
1963
- # "String128" => "StringEmpty256",
1964
- # },
1965
- # }
1966
- #
1967
1435
  # @!attribute [rw] resource_arn
1968
1436
  # The ARN of resources.
1969
1437
  # @return [String]
@@ -1987,14 +1455,6 @@ module Aws::EMRContainers
1987
1455
 
1988
1456
  # The configuration of a job template parameter.
1989
1457
  #
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
1458
  # @!attribute [rw] type
1999
1459
  # The type of the job template parameter. Allowed values are:
2000
1460
  # ‘String’, ‘Number’.
@@ -2013,14 +1473,6 @@ module Aws::EMRContainers
2013
1473
  include Aws::Structure
2014
1474
  end
2015
1475
 
2016
- # @note When making an API call, you may pass UntagResourceRequest
2017
- # data as a hash:
2018
- #
2019
- # {
2020
- # resource_arn: "RsiArn", # required
2021
- # tag_keys: ["String128"], # required
2022
- # }
2023
- #
2024
1476
  # @!attribute [rw] resource_arn
2025
1477
  # The ARN of resources.
2026
1478
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-emrcontainers/customizations'
52
52
  # @!group service
53
53
  module Aws::EMRContainers
54
54
 
55
- GEM_VERSION = '1.17.0'
55
+ GEM_VERSION = '1.18.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-emrcontainers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-04 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core