aws-sdk-emrcontainers 1.32.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 565a15ea0f652d26cc9e3093b1c1772f159ee741033aec6114cd9c4a83b87332
4
- data.tar.gz: 187d8d5330a5d76215ebc053297b32bc628bc5f597535aa2e76e2f608c4dcb2c
3
+ metadata.gz: ac5a1b8aebdb40a6413c21f1e19d71c7b25c72147a368e7f8bc3813a5c24d49f
4
+ data.tar.gz: 5e56f762447652b19fe7b2823f1a4e50fd28a246e4ee9df892a92645e5268aa5
5
5
  SHA512:
6
- metadata.gz: 51b2ed58bd334b1b64824442dfc86085eecb9003e74f8c816a76d94eb5900d5aab06acdc0c56d52fbe66ef71e25cd1e892ef5955fe6698d755250433db756a26
7
- data.tar.gz: b77e19d80bd3daa157d9e49314e2fde1d93898289fb1d8f8a99fbd9874862aec56a67a2db346913ff2123bf7d9f803db18a9451e08ee68d9cb030e0b0c26c442
6
+ metadata.gz: a3e035badd55a5fe050aaf858953a4414232ad84f121ef0836f31c82453c7dbfd02e8e66efb29a52a3fea0ff4596f18f41ec4aceec1d328da1fb717dad0b32ab
7
+ data.tar.gz: d6cf04e00e934b4fadc264eac3f76aaecba16d270ad9a23f4546b333f66ead778f2603588bf35c2ea2bdd17b69cb538a99818e689311b6d54b29e402ce93cb79
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.34.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.33.0 (2024-04-24)
10
+ ------------------
11
+
12
+ * Feature - EMRonEKS Service support for SecurityConfiguration enforcement for Spark Jobs.
13
+
4
14
  1.32.0 (2024-04-04)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.32.0
1
+ 1.34.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::EMRContainers
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::EMRContainers
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::EMRContainers
337
346
  # @option options [Aws::EMRContainers::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::EMRContainers::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
365
- #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
368
399
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
372
402
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
378
405
  #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -629,6 +653,80 @@ module Aws::EMRContainers
629
653
  req.send_request(options)
630
654
  end
631
655
 
656
+ # Creates a security configuration. Security configurations in Amazon
657
+ # EMR on EKS are templates for different security setups. You can use
658
+ # security configurations to configure the Lake Formation integration
659
+ # setup. You can also create a security configuration to re-use a
660
+ # security setup each time you create a virtual cluster.
661
+ #
662
+ # @option params [required, String] :client_token
663
+ # The client idempotency token to use when creating the security
664
+ # configuration.
665
+ #
666
+ # **A suitable default value is auto-generated.** You should normally
667
+ # not need to pass this option.**
668
+ #
669
+ # @option params [required, String] :name
670
+ # The name of the security configuration.
671
+ #
672
+ # @option params [required, Types::SecurityConfigurationData] :security_configuration_data
673
+ # Security configuration input for the request.
674
+ #
675
+ # @option params [Hash<String,String>] :tags
676
+ # The tags to add to the security configuration.
677
+ #
678
+ # @return [Types::CreateSecurityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
679
+ #
680
+ # * {Types::CreateSecurityConfigurationResponse#id #id} => String
681
+ # * {Types::CreateSecurityConfigurationResponse#name #name} => String
682
+ # * {Types::CreateSecurityConfigurationResponse#arn #arn} => String
683
+ #
684
+ # @example Request syntax with placeholder values
685
+ #
686
+ # resp = client.create_security_configuration({
687
+ # client_token: "ClientToken", # required
688
+ # name: "ResourceNameString", # required
689
+ # security_configuration_data: { # required
690
+ # authorization_configuration: {
691
+ # lake_formation_configuration: {
692
+ # authorized_session_tag_value: "SessionTagValue",
693
+ # secure_namespace_info: {
694
+ # cluster_id: "ClusterId",
695
+ # namespace: "KubernetesNamespace",
696
+ # },
697
+ # query_engine_role_arn: "IAMRoleArn",
698
+ # },
699
+ # encryption_configuration: {
700
+ # in_transit_encryption_configuration: {
701
+ # tls_certificate_configuration: {
702
+ # certificate_provider_type: "PEM", # accepts PEM
703
+ # public_certificate_secret_arn: "SecretsManagerArn",
704
+ # private_certificate_secret_arn: "SecretsManagerArn",
705
+ # },
706
+ # },
707
+ # },
708
+ # },
709
+ # },
710
+ # tags: {
711
+ # "String128" => "StringEmpty256",
712
+ # },
713
+ # })
714
+ #
715
+ # @example Response structure
716
+ #
717
+ # resp.id #=> String
718
+ # resp.name #=> String
719
+ # resp.arn #=> String
720
+ #
721
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/CreateSecurityConfiguration AWS API Documentation
722
+ #
723
+ # @overload create_security_configuration(params = {})
724
+ # @param [Hash] params ({})
725
+ def create_security_configuration(params = {}, options = {})
726
+ req = build_request(:create_security_configuration, params)
727
+ req.send_request(options)
728
+ end
729
+
632
730
  # Creates a virtual cluster. Virtual cluster is a managed entity on
633
731
  # Amazon EMR on EKS. You can create, describe, list and delete virtual
634
732
  # clusters. They do not consume any additional resource in your system.
@@ -651,6 +749,9 @@ module Aws::EMRContainers
651
749
  # @option params [Hash<String,String>] :tags
652
750
  # The tags assigned to the virtual cluster.
653
751
  #
752
+ # @option params [String] :security_configuration_id
753
+ # The ID of the security configuration.
754
+ #
654
755
  # @return [Types::CreateVirtualClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
655
756
  #
656
757
  # * {Types::CreateVirtualClusterResponse#id #id} => String
@@ -674,6 +775,7 @@ module Aws::EMRContainers
674
775
  # tags: {
675
776
  # "String128" => "StringEmpty256",
676
777
  # },
778
+ # security_configuration_id: "ResourceIdString",
677
779
  # })
678
780
  #
679
781
  # @example Response structure
@@ -985,6 +1087,52 @@ module Aws::EMRContainers
985
1087
  req.send_request(options)
986
1088
  end
987
1089
 
1090
+ # Displays detailed information about a specified security
1091
+ # configuration. Security configurations in Amazon EMR on EKS are
1092
+ # templates for different security setups. You can use security
1093
+ # configurations to configure the Lake Formation integration setup. You
1094
+ # can also create a security configuration to re-use a security setup
1095
+ # each time you create a virtual cluster.
1096
+ #
1097
+ # @option params [required, String] :id
1098
+ # The ID of the security configuration.
1099
+ #
1100
+ # @return [Types::DescribeSecurityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1101
+ #
1102
+ # * {Types::DescribeSecurityConfigurationResponse#security_configuration #security_configuration} => Types::SecurityConfiguration
1103
+ #
1104
+ # @example Request syntax with placeholder values
1105
+ #
1106
+ # resp = client.describe_security_configuration({
1107
+ # id: "ResourceIdString", # required
1108
+ # })
1109
+ #
1110
+ # @example Response structure
1111
+ #
1112
+ # resp.security_configuration.id #=> String
1113
+ # resp.security_configuration.name #=> String
1114
+ # resp.security_configuration.arn #=> String
1115
+ # resp.security_configuration.created_at #=> Time
1116
+ # resp.security_configuration.created_by #=> String
1117
+ # resp.security_configuration.security_configuration_data.authorization_configuration.lake_formation_configuration.authorized_session_tag_value #=> String
1118
+ # resp.security_configuration.security_configuration_data.authorization_configuration.lake_formation_configuration.secure_namespace_info.cluster_id #=> String
1119
+ # resp.security_configuration.security_configuration_data.authorization_configuration.lake_formation_configuration.secure_namespace_info.namespace #=> String
1120
+ # resp.security_configuration.security_configuration_data.authorization_configuration.lake_formation_configuration.query_engine_role_arn #=> String
1121
+ # resp.security_configuration.security_configuration_data.authorization_configuration.encryption_configuration.in_transit_encryption_configuration.tls_certificate_configuration.certificate_provider_type #=> String, one of "PEM"
1122
+ # resp.security_configuration.security_configuration_data.authorization_configuration.encryption_configuration.in_transit_encryption_configuration.tls_certificate_configuration.public_certificate_secret_arn #=> String
1123
+ # resp.security_configuration.security_configuration_data.authorization_configuration.encryption_configuration.in_transit_encryption_configuration.tls_certificate_configuration.private_certificate_secret_arn #=> String
1124
+ # resp.security_configuration.tags #=> Hash
1125
+ # resp.security_configuration.tags["String128"] #=> String
1126
+ #
1127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeSecurityConfiguration AWS API Documentation
1128
+ #
1129
+ # @overload describe_security_configuration(params = {})
1130
+ # @param [Hash] params ({})
1131
+ def describe_security_configuration(params = {}, options = {})
1132
+ req = build_request(:describe_security_configuration, params)
1133
+ req.send_request(options)
1134
+ end
1135
+
988
1136
  # Displays detailed information about a specified virtual cluster.
989
1137
  # Virtual cluster is a managed entity on Amazon EMR on EKS. You can
990
1138
  # create, describe, list and delete virtual clusters. They do not
@@ -1018,6 +1166,7 @@ module Aws::EMRContainers
1018
1166
  # resp.virtual_cluster.created_at #=> Time
1019
1167
  # resp.virtual_cluster.tags #=> Hash
1020
1168
  # resp.virtual_cluster.tags["String128"] #=> String
1169
+ # resp.virtual_cluster.security_configuration_id #=> String
1021
1170
  #
1022
1171
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/DescribeVirtualCluster AWS API Documentation
1023
1172
  #
@@ -1351,6 +1500,69 @@ module Aws::EMRContainers
1351
1500
  req.send_request(options)
1352
1501
  end
1353
1502
 
1503
+ # Lists security configurations based on a set of parameters. Security
1504
+ # configurations in Amazon EMR on EKS are templates for different
1505
+ # security setups. You can use security configurations to configure the
1506
+ # Lake Formation integration setup. You can also create a security
1507
+ # configuration to re-use a security setup each time you create a
1508
+ # virtual cluster.
1509
+ #
1510
+ # @option params [Time,DateTime,Date,Integer,String] :created_after
1511
+ # The date and time after which the security configuration was created.
1512
+ #
1513
+ # @option params [Time,DateTime,Date,Integer,String] :created_before
1514
+ # The date and time before which the security configuration was created.
1515
+ #
1516
+ # @option params [Integer] :max_results
1517
+ # The maximum number of security configurations the operation can list.
1518
+ #
1519
+ # @option params [String] :next_token
1520
+ # The token for the next set of security configurations to return.
1521
+ #
1522
+ # @return [Types::ListSecurityConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1523
+ #
1524
+ # * {Types::ListSecurityConfigurationsResponse#security_configurations #security_configurations} => Array&lt;Types::SecurityConfiguration&gt;
1525
+ # * {Types::ListSecurityConfigurationsResponse#next_token #next_token} => String
1526
+ #
1527
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1528
+ #
1529
+ # @example Request syntax with placeholder values
1530
+ #
1531
+ # resp = client.list_security_configurations({
1532
+ # created_after: Time.now,
1533
+ # created_before: Time.now,
1534
+ # max_results: 1,
1535
+ # next_token: "NextToken",
1536
+ # })
1537
+ #
1538
+ # @example Response structure
1539
+ #
1540
+ # resp.security_configurations #=> Array
1541
+ # resp.security_configurations[0].id #=> String
1542
+ # resp.security_configurations[0].name #=> String
1543
+ # resp.security_configurations[0].arn #=> String
1544
+ # resp.security_configurations[0].created_at #=> Time
1545
+ # resp.security_configurations[0].created_by #=> String
1546
+ # resp.security_configurations[0].security_configuration_data.authorization_configuration.lake_formation_configuration.authorized_session_tag_value #=> String
1547
+ # resp.security_configurations[0].security_configuration_data.authorization_configuration.lake_formation_configuration.secure_namespace_info.cluster_id #=> String
1548
+ # resp.security_configurations[0].security_configuration_data.authorization_configuration.lake_formation_configuration.secure_namespace_info.namespace #=> String
1549
+ # resp.security_configurations[0].security_configuration_data.authorization_configuration.lake_formation_configuration.query_engine_role_arn #=> String
1550
+ # resp.security_configurations[0].security_configuration_data.authorization_configuration.encryption_configuration.in_transit_encryption_configuration.tls_certificate_configuration.certificate_provider_type #=> String, one of "PEM"
1551
+ # resp.security_configurations[0].security_configuration_data.authorization_configuration.encryption_configuration.in_transit_encryption_configuration.tls_certificate_configuration.public_certificate_secret_arn #=> String
1552
+ # resp.security_configurations[0].security_configuration_data.authorization_configuration.encryption_configuration.in_transit_encryption_configuration.tls_certificate_configuration.private_certificate_secret_arn #=> String
1553
+ # resp.security_configurations[0].tags #=> Hash
1554
+ # resp.security_configurations[0].tags["String128"] #=> String
1555
+ # resp.next_token #=> String
1556
+ #
1557
+ # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListSecurityConfigurations AWS API Documentation
1558
+ #
1559
+ # @overload list_security_configurations(params = {})
1560
+ # @param [Hash] params ({})
1561
+ def list_security_configurations(params = {}, options = {})
1562
+ req = build_request(:list_security_configurations, params)
1563
+ req.send_request(options)
1564
+ end
1565
+
1354
1566
  # Lists the tags assigned to the resources.
1355
1567
  #
1356
1568
  # @option params [required, String] :resource_arn
@@ -1449,6 +1661,7 @@ module Aws::EMRContainers
1449
1661
  # resp.virtual_clusters[0].created_at #=> Time
1450
1662
  # resp.virtual_clusters[0].tags #=> Hash
1451
1663
  # resp.virtual_clusters[0].tags["String128"] #=> String
1664
+ # resp.virtual_clusters[0].security_configuration_id #=> String
1452
1665
  # resp.next_token #=> String
1453
1666
  #
1454
1667
  # @see http://docs.aws.amazon.com/goto/WebAPI/emr-containers-2020-10-01/ListVirtualClusters AWS API Documentation
@@ -1658,7 +1871,7 @@ module Aws::EMRContainers
1658
1871
  params: params,
1659
1872
  config: config)
1660
1873
  context[:gem_name] = 'aws-sdk-emrcontainers'
1661
- context[:gem_version] = '1.32.0'
1874
+ context[:gem_version] = '1.34.0'
1662
1875
  Seahorse::Client::Request.new(handlers, context)
1663
1876
  end
1664
1877