aws-sdk-emrcontainers 1.31.0 → 1.33.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-emrcontainers/client.rb +197 -1
- data/lib/aws-sdk-emrcontainers/client_api.rb +130 -0
- data/lib/aws-sdk-emrcontainers/endpoints.rb +42 -0
- data/lib/aws-sdk-emrcontainers/errors.rb +16 -0
- data/lib/aws-sdk-emrcontainers/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-emrcontainers/types.rb +349 -3
- data/lib/aws-sdk-emrcontainers.rb +1 -1
- data/sig/client.rbs +63 -2
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +99 -0
- metadata +2 -2
@@ -54,6 +54,20 @@ module Aws::EMRContainers
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
class CreateSecurityConfiguration
|
58
|
+
def self.build(context)
|
59
|
+
unless context.config.regional_endpoint
|
60
|
+
endpoint = context.config.endpoint.to_s
|
61
|
+
end
|
62
|
+
Aws::EMRContainers::EndpointParameters.new(
|
63
|
+
region: context.config.region,
|
64
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
65
|
+
use_fips: context.config.use_fips_endpoint,
|
66
|
+
endpoint: endpoint,
|
67
|
+
)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
57
71
|
class CreateVirtualCluster
|
58
72
|
def self.build(context)
|
59
73
|
unless context.config.regional_endpoint
|
@@ -152,6 +166,20 @@ module Aws::EMRContainers
|
|
152
166
|
end
|
153
167
|
end
|
154
168
|
|
169
|
+
class DescribeSecurityConfiguration
|
170
|
+
def self.build(context)
|
171
|
+
unless context.config.regional_endpoint
|
172
|
+
endpoint = context.config.endpoint.to_s
|
173
|
+
end
|
174
|
+
Aws::EMRContainers::EndpointParameters.new(
|
175
|
+
region: context.config.region,
|
176
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
endpoint: endpoint,
|
179
|
+
)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
155
183
|
class DescribeVirtualCluster
|
156
184
|
def self.build(context)
|
157
185
|
unless context.config.regional_endpoint
|
@@ -222,6 +250,20 @@ module Aws::EMRContainers
|
|
222
250
|
end
|
223
251
|
end
|
224
252
|
|
253
|
+
class ListSecurityConfigurations
|
254
|
+
def self.build(context)
|
255
|
+
unless context.config.regional_endpoint
|
256
|
+
endpoint = context.config.endpoint.to_s
|
257
|
+
end
|
258
|
+
Aws::EMRContainers::EndpointParameters.new(
|
259
|
+
region: context.config.region,
|
260
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
261
|
+
use_fips: context.config.use_fips_endpoint,
|
262
|
+
endpoint: endpoint,
|
263
|
+
)
|
264
|
+
end
|
265
|
+
end
|
266
|
+
|
225
267
|
class ListTagsForResource
|
226
268
|
def self.build(context)
|
227
269
|
unless context.config.regional_endpoint
|
@@ -27,6 +27,7 @@ module Aws::EMRContainers
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {EKSRequestThrottledException}
|
30
31
|
# * {InternalServerException}
|
31
32
|
# * {RequestThrottledException}
|
32
33
|
# * {ResourceNotFoundException}
|
@@ -38,6 +39,21 @@ module Aws::EMRContainers
|
|
38
39
|
|
39
40
|
extend Aws::Errors::DynamicErrors
|
40
41
|
|
42
|
+
class EKSRequestThrottledException < ServiceError
|
43
|
+
|
44
|
+
# @param [Seahorse::Client::RequestContext] context
|
45
|
+
# @param [String] message
|
46
|
+
# @param [Aws::EMRContainers::Types::EKSRequestThrottledException] data
|
47
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
48
|
+
super(context, message, data)
|
49
|
+
end
|
50
|
+
|
51
|
+
# @return [String]
|
52
|
+
def message
|
53
|
+
@message || @data[:message]
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
41
57
|
class InternalServerException < ServiceError
|
42
58
|
|
43
59
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -64,6 +64,8 @@ module Aws::EMRContainers
|
|
64
64
|
Aws::EMRContainers::Endpoints::CreateJobTemplate.build(context)
|
65
65
|
when :create_managed_endpoint
|
66
66
|
Aws::EMRContainers::Endpoints::CreateManagedEndpoint.build(context)
|
67
|
+
when :create_security_configuration
|
68
|
+
Aws::EMRContainers::Endpoints::CreateSecurityConfiguration.build(context)
|
67
69
|
when :create_virtual_cluster
|
68
70
|
Aws::EMRContainers::Endpoints::CreateVirtualCluster.build(context)
|
69
71
|
when :delete_job_template
|
@@ -78,6 +80,8 @@ module Aws::EMRContainers
|
|
78
80
|
Aws::EMRContainers::Endpoints::DescribeJobTemplate.build(context)
|
79
81
|
when :describe_managed_endpoint
|
80
82
|
Aws::EMRContainers::Endpoints::DescribeManagedEndpoint.build(context)
|
83
|
+
when :describe_security_configuration
|
84
|
+
Aws::EMRContainers::Endpoints::DescribeSecurityConfiguration.build(context)
|
81
85
|
when :describe_virtual_cluster
|
82
86
|
Aws::EMRContainers::Endpoints::DescribeVirtualCluster.build(context)
|
83
87
|
when :get_managed_endpoint_session_credentials
|
@@ -88,6 +92,8 @@ module Aws::EMRContainers
|
|
88
92
|
Aws::EMRContainers::Endpoints::ListJobTemplates.build(context)
|
89
93
|
when :list_managed_endpoints
|
90
94
|
Aws::EMRContainers::Endpoints::ListManagedEndpoints.build(context)
|
95
|
+
when :list_security_configurations
|
96
|
+
Aws::EMRContainers::Endpoints::ListSecurityConfigurations.build(context)
|
91
97
|
when :list_tags_for_resource
|
92
98
|
Aws::EMRContainers::Endpoints::ListTagsForResource.build(context)
|
93
99
|
when :list_virtual_clusters
|
@@ -10,6 +10,28 @@
|
|
10
10
|
module Aws::EMRContainers
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Authorization-related configuration inputs for the security
|
14
|
+
# configuration.
|
15
|
+
#
|
16
|
+
# @!attribute [rw] lake_formation_configuration
|
17
|
+
# Lake Formation related configuration inputs for the security
|
18
|
+
# configuration.
|
19
|
+
# @return [Types::LakeFormationConfiguration]
|
20
|
+
#
|
21
|
+
# @!attribute [rw] encryption_configuration
|
22
|
+
# Encryption-related configuration input for the security
|
23
|
+
# configuration.
|
24
|
+
# @return [Types::EncryptionConfiguration]
|
25
|
+
#
|
26
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/AuthorizationConfiguration AWS API Documentation
|
27
|
+
#
|
28
|
+
class AuthorizationConfiguration < Struct.new(
|
29
|
+
:lake_formation_configuration,
|
30
|
+
:encryption_configuration)
|
31
|
+
SENSITIVE = []
|
32
|
+
include Aws::Structure
|
33
|
+
end
|
34
|
+
|
13
35
|
# @!attribute [rw] id
|
14
36
|
# The ID of the job run to cancel.
|
15
37
|
# @return [String]
|
@@ -354,6 +376,59 @@ module Aws::EMRContainers
|
|
354
376
|
include Aws::Structure
|
355
377
|
end
|
356
378
|
|
379
|
+
# @!attribute [rw] client_token
|
380
|
+
# The client idempotency token to use when creating the security
|
381
|
+
# configuration.
|
382
|
+
#
|
383
|
+
# **A suitable default value is auto-generated.** You should normally
|
384
|
+
# not need to pass this option.
|
385
|
+
# @return [String]
|
386
|
+
#
|
387
|
+
# @!attribute [rw] name
|
388
|
+
# The name of the security configuration.
|
389
|
+
# @return [String]
|
390
|
+
#
|
391
|
+
# @!attribute [rw] security_configuration_data
|
392
|
+
# Security configuration input for the request.
|
393
|
+
# @return [Types::SecurityConfigurationData]
|
394
|
+
#
|
395
|
+
# @!attribute [rw] tags
|
396
|
+
# The tags to add to the security configuration.
|
397
|
+
# @return [Hash<String,String>]
|
398
|
+
#
|
399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateSecurityConfigurationRequest AWS API Documentation
|
400
|
+
#
|
401
|
+
class CreateSecurityConfigurationRequest < Struct.new(
|
402
|
+
:client_token,
|
403
|
+
:name,
|
404
|
+
:security_configuration_data,
|
405
|
+
:tags)
|
406
|
+
SENSITIVE = []
|
407
|
+
include Aws::Structure
|
408
|
+
end
|
409
|
+
|
410
|
+
# @!attribute [rw] id
|
411
|
+
# The ID of the security configuration.
|
412
|
+
# @return [String]
|
413
|
+
#
|
414
|
+
# @!attribute [rw] name
|
415
|
+
# The name of the security configuration.
|
416
|
+
# @return [String]
|
417
|
+
#
|
418
|
+
# @!attribute [rw] arn
|
419
|
+
# The ARN (Amazon Resource Name) of the security configuration.
|
420
|
+
# @return [String]
|
421
|
+
#
|
422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateSecurityConfigurationResponse AWS API Documentation
|
423
|
+
#
|
424
|
+
class CreateSecurityConfigurationResponse < Struct.new(
|
425
|
+
:id,
|
426
|
+
:name,
|
427
|
+
:arn)
|
428
|
+
SENSITIVE = []
|
429
|
+
include Aws::Structure
|
430
|
+
end
|
431
|
+
|
357
432
|
# @!attribute [rw] name
|
358
433
|
# The specified name of the virtual cluster.
|
359
434
|
# @return [String]
|
@@ -373,13 +448,18 @@ module Aws::EMRContainers
|
|
373
448
|
# The tags assigned to the virtual cluster.
|
374
449
|
# @return [Hash<String,String>]
|
375
450
|
#
|
451
|
+
# @!attribute [rw] security_configuration_id
|
452
|
+
# The ID of the security configuration.
|
453
|
+
# @return [String]
|
454
|
+
#
|
376
455
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateVirtualClusterRequest AWS API Documentation
|
377
456
|
#
|
378
457
|
class CreateVirtualClusterRequest < Struct.new(
|
379
458
|
:name,
|
380
459
|
:container_provider,
|
381
460
|
:client_token,
|
382
|
-
:tags
|
461
|
+
:tags,
|
462
|
+
:security_configuration_id)
|
383
463
|
SENSITIVE = []
|
384
464
|
include Aws::Structure
|
385
465
|
end
|
@@ -592,6 +672,30 @@ module Aws::EMRContainers
|
|
592
672
|
include Aws::Structure
|
593
673
|
end
|
594
674
|
|
675
|
+
# @!attribute [rw] id
|
676
|
+
# The ID of the security configuration.
|
677
|
+
# @return [String]
|
678
|
+
#
|
679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeSecurityConfigurationRequest AWS API Documentation
|
680
|
+
#
|
681
|
+
class DescribeSecurityConfigurationRequest < Struct.new(
|
682
|
+
:id)
|
683
|
+
SENSITIVE = []
|
684
|
+
include Aws::Structure
|
685
|
+
end
|
686
|
+
|
687
|
+
# @!attribute [rw] security_configuration
|
688
|
+
# Details of the security configuration.
|
689
|
+
# @return [Types::SecurityConfiguration]
|
690
|
+
#
|
691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeSecurityConfigurationResponse AWS API Documentation
|
692
|
+
#
|
693
|
+
class DescribeSecurityConfigurationResponse < Struct.new(
|
694
|
+
:security_configuration)
|
695
|
+
SENSITIVE = []
|
696
|
+
include Aws::Structure
|
697
|
+
end
|
698
|
+
|
595
699
|
# @!attribute [rw] id
|
596
700
|
# The ID of the virtual cluster that will be described.
|
597
701
|
# @return [String]
|
@@ -617,6 +721,19 @@ module Aws::EMRContainers
|
|
617
721
|
include Aws::Structure
|
618
722
|
end
|
619
723
|
|
724
|
+
# The request exceeded the Amazon EKS API operation limits.
|
725
|
+
#
|
726
|
+
# @!attribute [rw] message
|
727
|
+
# @return [String]
|
728
|
+
#
|
729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/EKSRequestThrottledException AWS API Documentation
|
730
|
+
#
|
731
|
+
class EKSRequestThrottledException < Struct.new(
|
732
|
+
:message)
|
733
|
+
SENSITIVE = []
|
734
|
+
include Aws::Structure
|
735
|
+
end
|
736
|
+
|
620
737
|
# The information about the Amazon EKS cluster.
|
621
738
|
#
|
622
739
|
# @!attribute [rw] namespace
|
@@ -631,6 +748,20 @@ module Aws::EMRContainers
|
|
631
748
|
include Aws::Structure
|
632
749
|
end
|
633
750
|
|
751
|
+
# Configurations related to encryption for the security configuration.
|
752
|
+
#
|
753
|
+
# @!attribute [rw] in_transit_encryption_configuration
|
754
|
+
# In-transit encryption-related input for the security configuration.
|
755
|
+
# @return [Types::InTransitEncryptionConfiguration]
|
756
|
+
#
|
757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/EncryptionConfiguration AWS API Documentation
|
758
|
+
#
|
759
|
+
class EncryptionConfiguration < Struct.new(
|
760
|
+
:in_transit_encryption_configuration)
|
761
|
+
SENSITIVE = []
|
762
|
+
include Aws::Structure
|
763
|
+
end
|
764
|
+
|
634
765
|
# This entity represents the endpoint that is managed by Amazon EMR on
|
635
766
|
# EKS.
|
636
767
|
#
|
@@ -805,6 +936,22 @@ module Aws::EMRContainers
|
|
805
936
|
include Aws::Structure
|
806
937
|
end
|
807
938
|
|
939
|
+
# Configurations related to in-transit encryption for the security
|
940
|
+
# configuration.
|
941
|
+
#
|
942
|
+
# @!attribute [rw] tls_certificate_configuration
|
943
|
+
# TLS certificate-related configuration input for the security
|
944
|
+
# configuration.
|
945
|
+
# @return [Types::TLSCertificateConfiguration]
|
946
|
+
#
|
947
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/InTransitEncryptionConfiguration AWS API Documentation
|
948
|
+
#
|
949
|
+
class InTransitEncryptionConfiguration < Struct.new(
|
950
|
+
:tls_certificate_configuration)
|
951
|
+
SENSITIVE = []
|
952
|
+
include Aws::Structure
|
953
|
+
end
|
954
|
+
|
808
955
|
# This is an internal server exception.
|
809
956
|
#
|
810
957
|
# @!attribute [rw] message
|
@@ -1042,6 +1189,34 @@ module Aws::EMRContainers
|
|
1042
1189
|
include Aws::Structure
|
1043
1190
|
end
|
1044
1191
|
|
1192
|
+
# Lake Formation related configuration inputs for the security
|
1193
|
+
# configuration.
|
1194
|
+
#
|
1195
|
+
# @!attribute [rw] authorized_session_tag_value
|
1196
|
+
# The session tag to authorize Amazon EMR on EKS for API calls to Lake
|
1197
|
+
# Formation.
|
1198
|
+
# @return [String]
|
1199
|
+
#
|
1200
|
+
# @!attribute [rw] secure_namespace_info
|
1201
|
+
# The namespace input of the system job.
|
1202
|
+
# @return [Types::SecureNamespaceInfo]
|
1203
|
+
#
|
1204
|
+
# @!attribute [rw] query_engine_role_arn
|
1205
|
+
# The query engine IAM role ARN that is tied to the secure Spark job.
|
1206
|
+
# The `QueryEngine` role assumes the `JobExecutionRole` to execute all
|
1207
|
+
# the Lake Formation calls.
|
1208
|
+
# @return [String]
|
1209
|
+
#
|
1210
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/LakeFormationConfiguration AWS API Documentation
|
1211
|
+
#
|
1212
|
+
class LakeFormationConfiguration < Struct.new(
|
1213
|
+
:authorized_session_tag_value,
|
1214
|
+
:secure_namespace_info,
|
1215
|
+
:query_engine_role_arn)
|
1216
|
+
SENSITIVE = []
|
1217
|
+
include Aws::Structure
|
1218
|
+
end
|
1219
|
+
|
1045
1220
|
# @!attribute [rw] virtual_cluster_id
|
1046
1221
|
# The ID of the virtual cluster for which to list the job run.
|
1047
1222
|
# @return [String]
|
@@ -1204,6 +1379,53 @@ module Aws::EMRContainers
|
|
1204
1379
|
include Aws::Structure
|
1205
1380
|
end
|
1206
1381
|
|
1382
|
+
# @!attribute [rw] created_after
|
1383
|
+
# The date and time after which the security configuration was
|
1384
|
+
# created.
|
1385
|
+
# @return [Time]
|
1386
|
+
#
|
1387
|
+
# @!attribute [rw] created_before
|
1388
|
+
# The date and time before which the security configuration was
|
1389
|
+
# created.
|
1390
|
+
# @return [Time]
|
1391
|
+
#
|
1392
|
+
# @!attribute [rw] max_results
|
1393
|
+
# The maximum number of security configurations the operation can
|
1394
|
+
# list.
|
1395
|
+
# @return [Integer]
|
1396
|
+
#
|
1397
|
+
# @!attribute [rw] next_token
|
1398
|
+
# The token for the next set of security configurations to return.
|
1399
|
+
# @return [String]
|
1400
|
+
#
|
1401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListSecurityConfigurationsRequest AWS API Documentation
|
1402
|
+
#
|
1403
|
+
class ListSecurityConfigurationsRequest < Struct.new(
|
1404
|
+
:created_after,
|
1405
|
+
:created_before,
|
1406
|
+
:max_results,
|
1407
|
+
:next_token)
|
1408
|
+
SENSITIVE = []
|
1409
|
+
include Aws::Structure
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
# @!attribute [rw] security_configurations
|
1413
|
+
# The list of returned security configurations.
|
1414
|
+
# @return [Array<Types::SecurityConfiguration>]
|
1415
|
+
#
|
1416
|
+
# @!attribute [rw] next_token
|
1417
|
+
# The token for the next set of security configurations to return.
|
1418
|
+
# @return [String]
|
1419
|
+
#
|
1420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListSecurityConfigurationsResponse AWS API Documentation
|
1421
|
+
#
|
1422
|
+
class ListSecurityConfigurationsResponse < Struct.new(
|
1423
|
+
:security_configurations,
|
1424
|
+
:next_token)
|
1425
|
+
SENSITIVE = []
|
1426
|
+
include Aws::Structure
|
1427
|
+
end
|
1428
|
+
|
1207
1429
|
# @!attribute [rw] resource_arn
|
1208
1430
|
# The ARN of tagged resources.
|
1209
1431
|
# @return [String]
|
@@ -1257,6 +1479,13 @@ module Aws::EMRContainers
|
|
1257
1479
|
# The token for the next set of virtual clusters to return.
|
1258
1480
|
# @return [String]
|
1259
1481
|
#
|
1482
|
+
# @!attribute [rw] eks_access_entry_integrated
|
1483
|
+
# Optional Boolean that specifies whether the operation should return
|
1484
|
+
# the virtual clusters that have the access entry integration enabled
|
1485
|
+
# or disabled. If not specified, the operation returns all applicable
|
1486
|
+
# virtual clusters.
|
1487
|
+
# @return [Boolean]
|
1488
|
+
#
|
1260
1489
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListVirtualClustersRequest AWS API Documentation
|
1261
1490
|
#
|
1262
1491
|
class ListVirtualClustersRequest < Struct.new(
|
@@ -1266,7 +1495,8 @@ module Aws::EMRContainers
|
|
1266
1495
|
:created_before,
|
1267
1496
|
:states,
|
1268
1497
|
:max_results,
|
1269
|
-
:next_token
|
1498
|
+
:next_token,
|
1499
|
+
:eks_access_entry_integrated)
|
1270
1500
|
SENSITIVE = []
|
1271
1501
|
include Aws::Structure
|
1272
1502
|
end
|
@@ -1469,6 +1699,88 @@ module Aws::EMRContainers
|
|
1469
1699
|
include Aws::Structure
|
1470
1700
|
end
|
1471
1701
|
|
1702
|
+
# Namespace inputs for the system job.
|
1703
|
+
#
|
1704
|
+
# @!attribute [rw] cluster_id
|
1705
|
+
# The ID of the Amazon EKS cluster where Amazon EMR on EKS jobs run.
|
1706
|
+
# @return [String]
|
1707
|
+
#
|
1708
|
+
# @!attribute [rw] namespace
|
1709
|
+
# The namespace of the Amazon EKS cluster where the system jobs run.
|
1710
|
+
# @return [String]
|
1711
|
+
#
|
1712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/SecureNamespaceInfo AWS API Documentation
|
1713
|
+
#
|
1714
|
+
class SecureNamespaceInfo < Struct.new(
|
1715
|
+
:cluster_id,
|
1716
|
+
:namespace)
|
1717
|
+
SENSITIVE = []
|
1718
|
+
include Aws::Structure
|
1719
|
+
end
|
1720
|
+
|
1721
|
+
# Inputs related to the security configuration. Security configurations
|
1722
|
+
# in Amazon EMR on EKS are templates for different security setups. You
|
1723
|
+
# can use security configurations to configure the Lake Formation
|
1724
|
+
# integration setup. You can also create a security configuration to
|
1725
|
+
# re-use a security setup each time you create a virtual cluster.
|
1726
|
+
#
|
1727
|
+
# @!attribute [rw] id
|
1728
|
+
# The ID of the security configuration.
|
1729
|
+
# @return [String]
|
1730
|
+
#
|
1731
|
+
# @!attribute [rw] name
|
1732
|
+
# The name of the security configuration.
|
1733
|
+
# @return [String]
|
1734
|
+
#
|
1735
|
+
# @!attribute [rw] arn
|
1736
|
+
# The ARN (Amazon Resource Name) of the security configuration.
|
1737
|
+
# @return [String]
|
1738
|
+
#
|
1739
|
+
# @!attribute [rw] created_at
|
1740
|
+
# The date and time that the job run was created.
|
1741
|
+
# @return [Time]
|
1742
|
+
#
|
1743
|
+
# @!attribute [rw] created_by
|
1744
|
+
# The user who created the job run.
|
1745
|
+
# @return [String]
|
1746
|
+
#
|
1747
|
+
# @!attribute [rw] security_configuration_data
|
1748
|
+
# Security configuration inputs for the request.
|
1749
|
+
# @return [Types::SecurityConfigurationData]
|
1750
|
+
#
|
1751
|
+
# @!attribute [rw] tags
|
1752
|
+
# The tags to assign to the security configuration.
|
1753
|
+
# @return [Hash<String,String>]
|
1754
|
+
#
|
1755
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/SecurityConfiguration AWS API Documentation
|
1756
|
+
#
|
1757
|
+
class SecurityConfiguration < Struct.new(
|
1758
|
+
:id,
|
1759
|
+
:name,
|
1760
|
+
:arn,
|
1761
|
+
:created_at,
|
1762
|
+
:created_by,
|
1763
|
+
:security_configuration_data,
|
1764
|
+
:tags)
|
1765
|
+
SENSITIVE = []
|
1766
|
+
include Aws::Structure
|
1767
|
+
end
|
1768
|
+
|
1769
|
+
# Configurations related to the security configuration for the request.
|
1770
|
+
#
|
1771
|
+
# @!attribute [rw] authorization_configuration
|
1772
|
+
# Authorization-related configuration input for the security
|
1773
|
+
# configuration.
|
1774
|
+
# @return [Types::AuthorizationConfiguration]
|
1775
|
+
#
|
1776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/SecurityConfigurationData AWS API Documentation
|
1777
|
+
#
|
1778
|
+
class SecurityConfigurationData < Struct.new(
|
1779
|
+
:authorization_configuration)
|
1780
|
+
SENSITIVE = []
|
1781
|
+
include Aws::Structure
|
1782
|
+
end
|
1783
|
+
|
1472
1784
|
# The job driver for job type.
|
1473
1785
|
#
|
1474
1786
|
# @!attribute [rw] entry_point
|
@@ -1605,6 +1917,35 @@ module Aws::EMRContainers
|
|
1605
1917
|
include Aws::Structure
|
1606
1918
|
end
|
1607
1919
|
|
1920
|
+
# Configurations related to the TLS certificate for the security
|
1921
|
+
# configuration.
|
1922
|
+
#
|
1923
|
+
# @!attribute [rw] certificate_provider_type
|
1924
|
+
# The TLS certificate type. Acceptable values: `PEM` or `Custom`.
|
1925
|
+
# @return [String]
|
1926
|
+
#
|
1927
|
+
# @!attribute [rw] public_certificate_secret_arn
|
1928
|
+
# Secrets Manager ARN that contains the public TLS certificate
|
1929
|
+
# contents, used for communication between the user job and the system
|
1930
|
+
# job.
|
1931
|
+
# @return [String]
|
1932
|
+
#
|
1933
|
+
# @!attribute [rw] private_certificate_secret_arn
|
1934
|
+
# Secrets Manager ARN that contains the private TLS certificate
|
1935
|
+
# contents, used for communication between the user job and the system
|
1936
|
+
# job.
|
1937
|
+
# @return [String]
|
1938
|
+
#
|
1939
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/TLSCertificateConfiguration AWS API Documentation
|
1940
|
+
#
|
1941
|
+
class TLSCertificateConfiguration < Struct.new(
|
1942
|
+
:certificate_provider_type,
|
1943
|
+
:public_certificate_secret_arn,
|
1944
|
+
:private_certificate_secret_arn)
|
1945
|
+
SENSITIVE = []
|
1946
|
+
include Aws::Structure
|
1947
|
+
end
|
1948
|
+
|
1608
1949
|
# @!attribute [rw] resource_arn
|
1609
1950
|
# The ARN of resources.
|
1610
1951
|
# @return [String]
|
@@ -1716,6 +2057,10 @@ module Aws::EMRContainers
|
|
1716
2057
|
# The assigned tags of the virtual cluster.
|
1717
2058
|
# @return [Hash<String,String>]
|
1718
2059
|
#
|
2060
|
+
# @!attribute [rw] security_configuration_id
|
2061
|
+
# The ID of the security configuration.
|
2062
|
+
# @return [String]
|
2063
|
+
#
|
1719
2064
|
# @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/VirtualCluster AWS API Documentation
|
1720
2065
|
#
|
1721
2066
|
class VirtualCluster < Struct.new(
|
@@ -1725,7 +2070,8 @@ module Aws::EMRContainers
|
|
1725
2070
|
:state,
|
1726
2071
|
:container_provider,
|
1727
2072
|
:created_at,
|
1728
|
-
:tags
|
2073
|
+
:tags,
|
2074
|
+
:security_configuration_id)
|
1729
2075
|
SENSITIVE = []
|
1730
2076
|
include Aws::Structure
|
1731
2077
|
end
|
data/sig/client.rbs
CHANGED
@@ -182,6 +182,41 @@ module Aws
|
|
182
182
|
) -> _CreateManagedEndpointResponseSuccess
|
183
183
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateManagedEndpointResponseSuccess
|
184
184
|
|
185
|
+
interface _CreateSecurityConfigurationResponseSuccess
|
186
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSecurityConfigurationResponse]
|
187
|
+
def id: () -> ::String
|
188
|
+
def name: () -> ::String
|
189
|
+
def arn: () -> ::String
|
190
|
+
end
|
191
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRContainers/Client.html#create_security_configuration-instance_method
|
192
|
+
def create_security_configuration: (
|
193
|
+
client_token: ::String,
|
194
|
+
name: ::String,
|
195
|
+
security_configuration_data: {
|
196
|
+
authorization_configuration: {
|
197
|
+
lake_formation_configuration: {
|
198
|
+
authorized_session_tag_value: ::String?,
|
199
|
+
secure_namespace_info: {
|
200
|
+
cluster_id: ::String?,
|
201
|
+
namespace: ::String?
|
202
|
+
}?,
|
203
|
+
query_engine_role_arn: ::String?
|
204
|
+
}?,
|
205
|
+
encryption_configuration: {
|
206
|
+
in_transit_encryption_configuration: {
|
207
|
+
tls_certificate_configuration: {
|
208
|
+
certificate_provider_type: ("PEM")?,
|
209
|
+
public_certificate_secret_arn: ::String?,
|
210
|
+
private_certificate_secret_arn: ::String?
|
211
|
+
}?
|
212
|
+
}?
|
213
|
+
}?
|
214
|
+
}?
|
215
|
+
},
|
216
|
+
?tags: Hash[::String, ::String]
|
217
|
+
) -> _CreateSecurityConfigurationResponseSuccess
|
218
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecurityConfigurationResponseSuccess
|
219
|
+
|
185
220
|
interface _CreateVirtualClusterResponseSuccess
|
186
221
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateVirtualClusterResponse]
|
187
222
|
def id: () -> ::String
|
@@ -201,7 +236,8 @@ module Aws
|
|
201
236
|
}?
|
202
237
|
},
|
203
238
|
client_token: ::String,
|
204
|
-
?tags: Hash[::String, ::String]
|
239
|
+
?tags: Hash[::String, ::String],
|
240
|
+
?security_configuration_id: ::String
|
205
241
|
) -> _CreateVirtualClusterResponseSuccess
|
206
242
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVirtualClusterResponseSuccess
|
207
243
|
|
@@ -269,6 +305,16 @@ module Aws
|
|
269
305
|
) -> _DescribeManagedEndpointResponseSuccess
|
270
306
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeManagedEndpointResponseSuccess
|
271
307
|
|
308
|
+
interface _DescribeSecurityConfigurationResponseSuccess
|
309
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeSecurityConfigurationResponse]
|
310
|
+
def security_configuration: () -> Types::SecurityConfiguration
|
311
|
+
end
|
312
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRContainers/Client.html#describe_security_configuration-instance_method
|
313
|
+
def describe_security_configuration: (
|
314
|
+
id: ::String
|
315
|
+
) -> _DescribeSecurityConfigurationResponseSuccess
|
316
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeSecurityConfigurationResponseSuccess
|
317
|
+
|
272
318
|
interface _DescribeVirtualClusterResponseSuccess
|
273
319
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeVirtualClusterResponse]
|
274
320
|
def virtual_cluster: () -> Types::VirtualCluster
|
@@ -345,6 +391,20 @@ module Aws
|
|
345
391
|
) -> _ListManagedEndpointsResponseSuccess
|
346
392
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListManagedEndpointsResponseSuccess
|
347
393
|
|
394
|
+
interface _ListSecurityConfigurationsResponseSuccess
|
395
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSecurityConfigurationsResponse]
|
396
|
+
def security_configurations: () -> ::Array[Types::SecurityConfiguration]
|
397
|
+
def next_token: () -> ::String
|
398
|
+
end
|
399
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EMRContainers/Client.html#list_security_configurations-instance_method
|
400
|
+
def list_security_configurations: (
|
401
|
+
?created_after: ::Time,
|
402
|
+
?created_before: ::Time,
|
403
|
+
?max_results: ::Integer,
|
404
|
+
?next_token: ::String
|
405
|
+
) -> _ListSecurityConfigurationsResponseSuccess
|
406
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityConfigurationsResponseSuccess
|
407
|
+
|
348
408
|
interface _ListTagsForResourceResponseSuccess
|
349
409
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
350
410
|
def tags: () -> ::Hash[::String, ::String]
|
@@ -368,7 +428,8 @@ module Aws
|
|
368
428
|
?created_before: ::Time,
|
369
429
|
?states: Array[("RUNNING" | "TERMINATING" | "TERMINATED" | "ARRESTED")],
|
370
430
|
?max_results: ::Integer,
|
371
|
-
?next_token: ::String
|
431
|
+
?next_token: ::String,
|
432
|
+
?eks_access_entry_integrated: bool
|
372
433
|
) -> _ListVirtualClustersResponseSuccess
|
373
434
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVirtualClustersResponseSuccess
|
374
435
|
|
data/sig/errors.rbs
CHANGED
@@ -11,6 +11,9 @@ module Aws
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
12
12
|
end
|
13
13
|
|
14
|
+
class EKSRequestThrottledException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
14
17
|
class InternalServerException < ::Aws::Errors::ServiceError
|
15
18
|
def message: () -> ::String
|
16
19
|
end
|