aws-sdk-eks 1.48.0 → 1.49.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: 0b1c3f7cce5382aa4915e73e0a377fd33b41ba434fe12a63fe88060c919887e1
4
- data.tar.gz: 78b156f3aab22218d2ca57ba19f0f63dead8a74a331b236929ffe5c20c791e51
3
+ metadata.gz: f7d48be5a76058f9fc98350157cf4d8c6b32f457e71c52b32f5be1962af6179f
4
+ data.tar.gz: 41f0a9c6843e3a2eadc14e9b1be2799d838c7dae5d7a3d10a27b6ca2be7ea7d2
5
5
  SHA512:
6
- metadata.gz: 6b641475e865247c52ce44bd9eb48029f46869b3053403d43205112d6524daa07bb9846fb58646bc9dfd78ac9fea56558ca00710404717df4eff294d0f67e779
7
- data.tar.gz: f514dc622a23846e8fe513b76ce59dacf3863144278f9263c2a35af05d89eafd118ba3fe8b4a178f8388f42fc2072a1f0ab0c600a72a1ba134a2af3bb4251b56
6
+ metadata.gz: adb52da0c664a04a2f5a9b81293cd710a5946a509312dd1cd3221088d8a60ffbb371c6f03306d7f7f421830474e1636f4e62f80814709f71936b78ccb5ace300
7
+ data.tar.gz: 64868c297e18ab249e784117f2c6c62ff524f8b86b45d0b753b2b3128d0cb49d0f6a0bce6c10165cfbb02fe3509b36c5791e0f5a06bf20587276f90183e03d46
data/lib/aws-sdk-eks.rb CHANGED
@@ -29,7 +29,7 @@ require_relative 'aws-sdk-eks/customizations'
29
29
  # structure.
30
30
  #
31
31
  # eks = Aws::EKS::Client.new
32
- # resp = eks.associate_identity_provider_config(params)
32
+ # resp = eks.associate_encryption_config(params)
33
33
  #
34
34
  # See {Client} for more information.
35
35
  #
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-eks/customizations'
49
49
  # @!group service
50
50
  module Aws::EKS
51
51
 
52
- GEM_VERSION = '1.48.0'
52
+ GEM_VERSION = '1.49.0'
53
53
 
54
54
  end
@@ -327,6 +327,70 @@ module Aws::EKS
327
327
 
328
328
  # @!group API Operations
329
329
 
330
+ # Associate encryption configuration to an existing cluster.
331
+ #
332
+ # You can use this API to enable encryption on existing clusters which
333
+ # do not have encryption already enabled. This allows you to implement a
334
+ # defense-in-depth security strategy without migrating applications to
335
+ # new EKS clusters.
336
+ #
337
+ # @option params [required, String] :cluster_name
338
+ # The name of the cluster that you are associating with encryption
339
+ # configuration.
340
+ #
341
+ # @option params [required, Array<Types::EncryptionConfig>] :encryption_config
342
+ # The configuration you are using for encryption.
343
+ #
344
+ # @option params [String] :client_request_token
345
+ # The client request token you are using with the encryption
346
+ # configuration.
347
+ #
348
+ # **A suitable default value is auto-generated.** You should normally
349
+ # not need to pass this option.**
350
+ #
351
+ # @return [Types::AssociateEncryptionConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
352
+ #
353
+ # * {Types::AssociateEncryptionConfigResponse#update #update} => Types::Update
354
+ #
355
+ # @example Request syntax with placeholder values
356
+ #
357
+ # resp = client.associate_encryption_config({
358
+ # cluster_name: "String", # required
359
+ # encryption_config: [ # required
360
+ # {
361
+ # resources: ["String"],
362
+ # provider: {
363
+ # key_arn: "String",
364
+ # },
365
+ # },
366
+ # ],
367
+ # client_request_token: "String",
368
+ # })
369
+ #
370
+ # @example Response structure
371
+ #
372
+ # resp.update.id #=> String
373
+ # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
374
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
375
+ # resp.update.params #=> Array
376
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
377
+ # resp.update.params[0].value #=> String
378
+ # resp.update.created_at #=> Time
379
+ # resp.update.errors #=> Array
380
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
381
+ # resp.update.errors[0].error_message #=> String
382
+ # resp.update.errors[0].resource_ids #=> Array
383
+ # resp.update.errors[0].resource_ids[0] #=> String
384
+ #
385
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateEncryptionConfig AWS API Documentation
386
+ #
387
+ # @overload associate_encryption_config(params = {})
388
+ # @param [Hash] params ({})
389
+ def associate_encryption_config(params = {}, options = {})
390
+ req = build_request(:associate_encryption_config, params)
391
+ req.send_request(options)
392
+ end
393
+
330
394
  # Associate an identity provider configuration to a cluster.
331
395
  #
332
396
  # If you want to authenticate identities using an identity provider, you
@@ -391,9 +455,9 @@ module Aws::EKS
391
455
  #
392
456
  # resp.update.id #=> String
393
457
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
394
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
458
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
395
459
  # resp.update.params #=> Array
396
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
460
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
397
461
  # resp.update.params[0].value #=> String
398
462
  # resp.update.created_at #=> Time
399
463
  # resp.update.errors #=> Array
@@ -542,39 +606,16 @@ module Aws::EKS
542
606
  # cluster's control plane via the Kubernetes API server endpoint and a
543
607
  # certificate file that is created for your cluster.
544
608
  #
545
- # You can use the `endpointPublicAccess` and `endpointPrivateAccess`
546
- # parameters to enable or disable public and private access to your
547
- # cluster's Kubernetes API server endpoint. By default, public access
548
- # is enabled, and private access is disabled. For more information, see
549
- # [Amazon EKS Cluster Endpoint Access Control][1] in the <i> <i>Amazon
550
- # EKS User Guide</i> </i>.
551
- #
552
- # You can use the `logging` parameter to enable or disable exporting the
553
- # Kubernetes control plane logs for your cluster to CloudWatch Logs. By
554
- # default, cluster control plane logs aren't exported to CloudWatch
555
- # Logs. For more information, see [Amazon EKS Cluster Control Plane
556
- # Logs][2] in the <i> <i>Amazon EKS User Guide</i> </i>.
557
- #
558
- # <note markdown="1"> CloudWatch Logs ingestion, archive storage, and data scanning rates
559
- # apply to exported control plane logs. For more information, see
560
- # [Amazon CloudWatch Pricing][3].
561
- #
562
- # </note>
563
- #
564
- # Cluster creation typically takes between 10 and 15 minutes. After you
565
- # create an Amazon EKS cluster, you must configure your Kubernetes
566
- # tooling to communicate with the API server and launch nodes into your
567
- # cluster. For more information, see [Managing Cluster
568
- # Authentication][4] and [Launching Amazon EKS nodes][5] in the *Amazon
569
- # EKS User Guide*.
609
+ # Cluster creation typically takes several minutes. After you create an
610
+ # Amazon EKS cluster, you must configure your Kubernetes tooling to
611
+ # communicate with the API server and launch nodes into your cluster.
612
+ # For more information, see [Managing Cluster Authentication][1] and
613
+ # [Launching Amazon EKS nodes][2] in the *Amazon EKS User Guide*.
570
614
  #
571
615
  #
572
616
  #
573
- # [1]: https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html
574
- # [2]: https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html
575
- # [3]: http://aws.amazon.com/cloudwatch/pricing/
576
- # [4]: https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html
577
- # [5]: https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html
617
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html
618
+ # [2]: https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html
578
619
  #
579
620
  # @option params [required, String] :name
580
621
  # The unique name to give to your cluster.
@@ -1874,9 +1915,9 @@ module Aws::EKS
1874
1915
  #
1875
1916
  # resp.update.id #=> String
1876
1917
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
1877
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
1918
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
1878
1919
  # resp.update.params #=> Array
1879
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1920
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1880
1921
  # resp.update.params[0].value #=> String
1881
1922
  # resp.update.created_at #=> Time
1882
1923
  # resp.update.errors #=> Array
@@ -1931,9 +1972,9 @@ module Aws::EKS
1931
1972
  #
1932
1973
  # resp.update.id #=> String
1933
1974
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
1934
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
1975
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
1935
1976
  # resp.update.params #=> Array
1936
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1977
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1937
1978
  # resp.update.params[0].value #=> String
1938
1979
  # resp.update.created_at #=> Time
1939
1980
  # resp.update.errors #=> Array
@@ -2485,9 +2526,9 @@ module Aws::EKS
2485
2526
  #
2486
2527
  # resp.update.id #=> String
2487
2528
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2488
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
2529
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2489
2530
  # resp.update.params #=> Array
2490
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2531
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2491
2532
  # resp.update.params[0].value #=> String
2492
2533
  # resp.update.created_at #=> Time
2493
2534
  # resp.update.errors #=> Array
@@ -2605,9 +2646,9 @@ module Aws::EKS
2605
2646
  #
2606
2647
  # resp.update.id #=> String
2607
2648
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2608
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
2649
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2609
2650
  # resp.update.params #=> Array
2610
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2651
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2611
2652
  # resp.update.params[0].value #=> String
2612
2653
  # resp.update.created_at #=> Time
2613
2654
  # resp.update.errors #=> Array
@@ -2669,9 +2710,9 @@ module Aws::EKS
2669
2710
  #
2670
2711
  # resp.update.id #=> String
2671
2712
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2672
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
2713
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2673
2714
  # resp.update.params #=> Array
2674
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2715
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2675
2716
  # resp.update.params[0].value #=> String
2676
2717
  # resp.update.created_at #=> Time
2677
2718
  # resp.update.errors #=> Array
@@ -2745,9 +2786,9 @@ module Aws::EKS
2745
2786
  #
2746
2787
  # resp.update.id #=> String
2747
2788
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2748
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
2789
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2749
2790
  # resp.update.params #=> Array
2750
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2791
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2751
2792
  # resp.update.params[0].value #=> String
2752
2793
  # resp.update.created_at #=> Time
2753
2794
  # resp.update.errors #=> Array
@@ -2876,9 +2917,9 @@ module Aws::EKS
2876
2917
  #
2877
2918
  # resp.update.id #=> String
2878
2919
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2879
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
2920
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2880
2921
  # resp.update.params #=> Array
2881
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2922
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2882
2923
  # resp.update.params[0].value #=> String
2883
2924
  # resp.update.created_at #=> Time
2884
2925
  # resp.update.errors #=> Array
@@ -2909,7 +2950,7 @@ module Aws::EKS
2909
2950
  params: params,
2910
2951
  config: config)
2911
2952
  context[:gem_name] = 'aws-sdk-eks'
2912
- context[:gem_version] = '1.48.0'
2953
+ context[:gem_version] = '1.49.0'
2913
2954
  Seahorse::Client::Request.new(handlers, context)
2914
2955
  end
2915
2956
 
@@ -24,6 +24,8 @@ module Aws::EKS
24
24
  AddonVersionInfo = Shapes::StructureShape.new(name: 'AddonVersionInfo')
25
25
  AddonVersionInfoList = Shapes::ListShape.new(name: 'AddonVersionInfoList')
26
26
  Addons = Shapes::ListShape.new(name: 'Addons')
27
+ AssociateEncryptionConfigRequest = Shapes::StructureShape.new(name: 'AssociateEncryptionConfigRequest')
28
+ AssociateEncryptionConfigResponse = Shapes::StructureShape.new(name: 'AssociateEncryptionConfigResponse')
27
29
  AssociateIdentityProviderConfigRequest = Shapes::StructureShape.new(name: 'AssociateIdentityProviderConfigRequest')
28
30
  AssociateIdentityProviderConfigResponse = Shapes::StructureShape.new(name: 'AssociateIdentityProviderConfigResponse')
29
31
  AutoScalingGroup = Shapes::StructureShape.new(name: 'AutoScalingGroup')
@@ -215,6 +217,14 @@ module Aws::EKS
215
217
 
216
218
  Addons.member = Shapes::ShapeRef.new(shape: AddonInfo)
217
219
 
220
+ AssociateEncryptionConfigRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
221
+ AssociateEncryptionConfigRequest.add_member(:encryption_config, Shapes::ShapeRef.new(shape: EncryptionConfigList, required: true, location_name: "encryptionConfig"))
222
+ AssociateEncryptionConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
223
+ AssociateEncryptionConfigRequest.struct_class = Types::AssociateEncryptionConfigRequest
224
+
225
+ AssociateEncryptionConfigResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
226
+ AssociateEncryptionConfigResponse.struct_class = Types::AssociateEncryptionConfigResponse
227
+
218
228
  AssociateIdentityProviderConfigRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
219
229
  AssociateIdentityProviderConfigRequest.add_member(:oidc, Shapes::ShapeRef.new(shape: OidcIdentityProviderConfigRequest, required: true, location_name: "oidc"))
220
230
  AssociateIdentityProviderConfigRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
@@ -797,6 +807,20 @@ module Aws::EKS
797
807
  "uid" => "eks-2017-11-01",
798
808
  }
799
809
 
810
+ api.add_operation(:associate_encryption_config, Seahorse::Model::Operation.new.tap do |o|
811
+ o.name = "AssociateEncryptionConfig"
812
+ o.http_method = "POST"
813
+ o.http_request_uri = "/clusters/{name}/encryption-config/associate"
814
+ o.input = Shapes::ShapeRef.new(shape: AssociateEncryptionConfigRequest)
815
+ o.output = Shapes::ShapeRef.new(shape: AssociateEncryptionConfigResponse)
816
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
817
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
818
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
819
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
820
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
821
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
822
+ end)
823
+
800
824
  api.add_operation(:associate_identity_provider_config, Seahorse::Model::Operation.new.tap do |o|
801
825
  o.name = "AssociateIdentityProviderConfig"
802
826
  o.http_method = "POST"
@@ -161,6 +161,61 @@ module Aws::EKS
161
161
  include Aws::Structure
162
162
  end
163
163
 
164
+ # @note When making an API call, you may pass AssociateEncryptionConfigRequest
165
+ # data as a hash:
166
+ #
167
+ # {
168
+ # cluster_name: "String", # required
169
+ # encryption_config: [ # required
170
+ # {
171
+ # resources: ["String"],
172
+ # provider: {
173
+ # key_arn: "String",
174
+ # },
175
+ # },
176
+ # ],
177
+ # client_request_token: "String",
178
+ # }
179
+ #
180
+ # @!attribute [rw] cluster_name
181
+ # The name of the cluster that you are associating with encryption
182
+ # configuration.
183
+ # @return [String]
184
+ #
185
+ # @!attribute [rw] encryption_config
186
+ # The configuration you are using for encryption.
187
+ # @return [Array<Types::EncryptionConfig>]
188
+ #
189
+ # @!attribute [rw] client_request_token
190
+ # The client request token you are using with the encryption
191
+ # configuration.
192
+ #
193
+ # **A suitable default value is auto-generated.** You should normally
194
+ # not need to pass this option.
195
+ # @return [String]
196
+ #
197
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateEncryptionConfigRequest AWS API Documentation
198
+ #
199
+ class AssociateEncryptionConfigRequest < Struct.new(
200
+ :cluster_name,
201
+ :encryption_config,
202
+ :client_request_token)
203
+ SENSITIVE = []
204
+ include Aws::Structure
205
+ end
206
+
207
+ # @!attribute [rw] update
208
+ # An object representing an asynchronous update.
209
+ # @return [Types::Update]
210
+ #
211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateEncryptionConfigResponse AWS API Documentation
212
+ #
213
+ class AssociateEncryptionConfigResponse < Struct.new(
214
+ :update)
215
+ SENSITIVE = []
216
+ include Aws::Structure
217
+ end
218
+
164
219
  # @note When making an API call, you may pass AssociateIdentityProviderConfigRequest
165
220
  # data as a hash:
166
221
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-eks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.49.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: 2021-02-12 00:00:00.000000000 Z
11
+ date: 2021-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core