aws-sdk-eks 1.48.0 → 1.53.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.53.0
data/lib/aws-sdk-eks.rb CHANGED
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.53.0'
53
53
 
54
54
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "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", "AdmissionRequestDenied"
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,13 +455,13 @@ 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", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "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
400
- # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
464
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
401
465
  # resp.update.errors[0].error_message #=> String
402
466
  # resp.update.errors[0].resource_ids #=> Array
403
467
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -502,7 +566,7 @@ module Aws::EKS
502
566
  # resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
503
567
  # resp.addon.addon_version #=> String
504
568
  # resp.addon.health.issues #=> Array
505
- # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
569
+ # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
506
570
  # resp.addon.health.issues[0].message #=> String
507
571
  # resp.addon.health.issues[0].resource_ids #=> Array
508
572
  # resp.addon.health.issues[0].resource_ids[0] #=> String
@@ -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>.
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*.
557
614
  #
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
615
  #
562
- # </note>
563
616
  #
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*.
570
- #
571
- #
572
- #
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.
@@ -932,13 +973,11 @@ module Aws::EKS
932
973
  #
933
974
  # @option params [required, Array<String>] :subnets
934
975
  # The subnets to use for the Auto Scaling group that is created for your
935
- # node group. These subnets must have the tag key
936
- # `kubernetes.io/cluster/CLUSTER_NAME` with a value of `shared`, where
937
- # `CLUSTER_NAME` is replaced with the name of your cluster. If you
938
- # specify `launchTemplate`, then don't specify [ `SubnetId` ][1] in
939
- # your launch template, or the node group deployment will fail. For more
940
- # information about using launch templates with Amazon EKS, see [Launch
941
- # template support][2] in the Amazon EKS User Guide.
976
+ # node group. If you specify `launchTemplate`, then don't specify [
977
+ # `SubnetId` ][1] in your launch template, or the node group deployment
978
+ # will fail. For more information about using launch templates with
979
+ # Amazon EKS, see [Launch template support][2] in the Amazon EKS User
980
+ # Guide.
942
981
  #
943
982
  #
944
983
  #
@@ -1014,6 +1053,9 @@ module Aws::EKS
1014
1053
  # The Kubernetes labels to be applied to the nodes in the node group
1015
1054
  # when they are created.
1016
1055
  #
1056
+ # @option params [Array<Types::Taint>] :taints
1057
+ # The Kubernetes taints to be applied to the nodes in the node group.
1058
+ #
1017
1059
  # @option params [Hash<String,String>] :tags
1018
1060
  # The metadata to apply to the node group to assist with categorization
1019
1061
  # and organization. Each tag consists of a key and an optional value,
@@ -1083,7 +1125,7 @@ module Aws::EKS
1083
1125
  # disk_size: 1,
1084
1126
  # subnets: ["String"], # required
1085
1127
  # instance_types: ["String"],
1086
- # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64
1128
+ # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM
1087
1129
  # remote_access: {
1088
1130
  # ec2_ssh_key: "String",
1089
1131
  # source_security_groups: ["String"],
@@ -1092,6 +1134,13 @@ module Aws::EKS
1092
1134
  # labels: {
1093
1135
  # "labelKey" => "labelValue",
1094
1136
  # },
1137
+ # taints: [
1138
+ # {
1139
+ # key: "taintKey",
1140
+ # value: "taintValue",
1141
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
1142
+ # },
1143
+ # ],
1095
1144
  # tags: {
1096
1145
  # "TagKey" => "TagValue",
1097
1146
  # },
@@ -1127,10 +1176,14 @@ module Aws::EKS
1127
1176
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1128
1177
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1129
1178
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1130
- # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64"
1179
+ # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
1131
1180
  # resp.nodegroup.node_role #=> String
1132
1181
  # resp.nodegroup.labels #=> Hash
1133
1182
  # resp.nodegroup.labels["labelKey"] #=> String
1183
+ # resp.nodegroup.taints #=> Array
1184
+ # resp.nodegroup.taints[0].key #=> String
1185
+ # resp.nodegroup.taints[0].value #=> String
1186
+ # resp.nodegroup.taints[0].effect #=> String, one of "NO_SCHEDULE", "NO_EXECUTE", "PREFER_NO_SCHEDULE"
1134
1187
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1135
1188
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1136
1189
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1190,7 +1243,7 @@ module Aws::EKS
1190
1243
  # resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
1191
1244
  # resp.addon.addon_version #=> String
1192
1245
  # resp.addon.health.issues #=> Array
1193
- # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
1246
+ # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
1194
1247
  # resp.addon.health.issues[0].message #=> String
1195
1248
  # resp.addon.health.issues[0].resource_ids #=> Array
1196
1249
  # resp.addon.health.issues[0].resource_ids[0] #=> String
@@ -1394,10 +1447,14 @@ module Aws::EKS
1394
1447
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1395
1448
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1396
1449
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1397
- # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64"
1450
+ # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
1398
1451
  # resp.nodegroup.node_role #=> String
1399
1452
  # resp.nodegroup.labels #=> Hash
1400
1453
  # resp.nodegroup.labels["labelKey"] #=> String
1454
+ # resp.nodegroup.taints #=> Array
1455
+ # resp.nodegroup.taints[0].key #=> String
1456
+ # resp.nodegroup.taints[0].value #=> String
1457
+ # resp.nodegroup.taints[0].effect #=> String, one of "NO_SCHEDULE", "NO_EXECUTE", "PREFER_NO_SCHEDULE"
1401
1458
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1402
1459
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1403
1460
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1453,7 +1510,7 @@ module Aws::EKS
1453
1510
  # resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
1454
1511
  # resp.addon.addon_version #=> String
1455
1512
  # resp.addon.health.issues #=> Array
1456
- # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
1513
+ # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
1457
1514
  # resp.addon.health.issues[0].message #=> String
1458
1515
  # resp.addon.health.issues[0].resource_ids #=> Array
1459
1516
  # resp.addon.health.issues[0].resource_ids[0] #=> String
@@ -1799,10 +1856,14 @@ module Aws::EKS
1799
1856
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1800
1857
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1801
1858
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1802
- # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64"
1859
+ # resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
1803
1860
  # resp.nodegroup.node_role #=> String
1804
1861
  # resp.nodegroup.labels #=> Hash
1805
1862
  # resp.nodegroup.labels["labelKey"] #=> String
1863
+ # resp.nodegroup.taints #=> Array
1864
+ # resp.nodegroup.taints[0].key #=> String
1865
+ # resp.nodegroup.taints[0].value #=> String
1866
+ # resp.nodegroup.taints[0].effect #=> String, one of "NO_SCHEDULE", "NO_EXECUTE", "PREFER_NO_SCHEDULE"
1806
1867
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1807
1868
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1808
1869
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1874,13 +1935,13 @@ module Aws::EKS
1874
1935
  #
1875
1936
  # resp.update.id #=> String
1876
1937
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
1877
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
1938
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
1878
1939
  # 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"
1940
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1880
1941
  # resp.update.params[0].value #=> String
1881
1942
  # resp.update.created_at #=> Time
1882
1943
  # resp.update.errors #=> Array
1883
- # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
1944
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
1884
1945
  # resp.update.errors[0].error_message #=> String
1885
1946
  # resp.update.errors[0].resource_ids #=> Array
1886
1947
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -1931,13 +1992,13 @@ module Aws::EKS
1931
1992
  #
1932
1993
  # resp.update.id #=> String
1933
1994
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
1934
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
1995
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
1935
1996
  # 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"
1997
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1937
1998
  # resp.update.params[0].value #=> String
1938
1999
  # resp.update.created_at #=> Time
1939
2000
  # resp.update.errors #=> Array
1940
- # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
2001
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
1941
2002
  # resp.update.errors[0].error_message #=> String
1942
2003
  # resp.update.errors[0].resource_ids #=> Array
1943
2004
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2485,13 +2546,13 @@ module Aws::EKS
2485
2546
  #
2486
2547
  # resp.update.id #=> String
2487
2548
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2488
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
2549
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2489
2550
  # 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"
2551
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2491
2552
  # resp.update.params[0].value #=> String
2492
2553
  # resp.update.created_at #=> Time
2493
2554
  # resp.update.errors #=> Array
2494
- # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
2555
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
2495
2556
  # resp.update.errors[0].error_message #=> String
2496
2557
  # resp.update.errors[0].resource_ids #=> Array
2497
2558
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2528,8 +2589,8 @@ module Aws::EKS
2528
2589
  # more information, see [Amazon EKS Cluster Endpoint Access Control][3]
2529
2590
  # in the <i> <i>Amazon EKS User Guide</i> </i>.
2530
2591
  #
2531
- # At this time, you can not update the subnets or security group IDs for
2532
- # an existing cluster.
2592
+ # You can't update the subnets or security group IDs for an existing
2593
+ # cluster.
2533
2594
  #
2534
2595
  # Cluster updates are asynchronous, and they should finish within a few
2535
2596
  # minutes. During an update, the cluster status moves to `UPDATING`
@@ -2605,13 +2666,13 @@ module Aws::EKS
2605
2666
  #
2606
2667
  # resp.update.id #=> String
2607
2668
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2608
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
2669
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2609
2670
  # 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"
2671
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2611
2672
  # resp.update.params[0].value #=> String
2612
2673
  # resp.update.created_at #=> Time
2613
2674
  # resp.update.errors #=> Array
2614
- # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
2675
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
2615
2676
  # resp.update.errors[0].error_message #=> String
2616
2677
  # resp.update.errors[0].resource_ids #=> Array
2617
2678
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2669,13 +2730,13 @@ module Aws::EKS
2669
2730
  #
2670
2731
  # resp.update.id #=> String
2671
2732
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2672
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
2733
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2673
2734
  # 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"
2735
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2675
2736
  # resp.update.params[0].value #=> String
2676
2737
  # resp.update.created_at #=> Time
2677
2738
  # resp.update.errors #=> Array
2678
- # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
2739
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
2679
2740
  # resp.update.errors[0].error_message #=> String
2680
2741
  # resp.update.errors[0].resource_ids #=> Array
2681
2742
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2707,6 +2768,10 @@ module Aws::EKS
2707
2768
  # The Kubernetes labels to be applied to the nodes in the node group
2708
2769
  # after the update.
2709
2770
  #
2771
+ # @option params [Types::UpdateTaintsPayload] :taints
2772
+ # The Kubernetes taints to be applied to the nodes in the node group
2773
+ # after the update.
2774
+ #
2710
2775
  # @option params [Types::NodegroupScalingConfig] :scaling_config
2711
2776
  # The scaling configuration details for the Auto Scaling group after the
2712
2777
  # update.
@@ -2733,6 +2798,22 @@ module Aws::EKS
2733
2798
  # },
2734
2799
  # remove_labels: ["String"],
2735
2800
  # },
2801
+ # taints: {
2802
+ # add_or_update_taints: [
2803
+ # {
2804
+ # key: "taintKey",
2805
+ # value: "taintValue",
2806
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
2807
+ # },
2808
+ # ],
2809
+ # remove_taints: [
2810
+ # {
2811
+ # key: "taintKey",
2812
+ # value: "taintValue",
2813
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
2814
+ # },
2815
+ # ],
2816
+ # },
2736
2817
  # scaling_config: {
2737
2818
  # min_size: 1,
2738
2819
  # max_size: 1,
@@ -2745,13 +2826,13 @@ module Aws::EKS
2745
2826
  #
2746
2827
  # resp.update.id #=> String
2747
2828
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2748
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
2829
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2749
2830
  # 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"
2831
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2751
2832
  # resp.update.params[0].value #=> String
2752
2833
  # resp.update.created_at #=> Time
2753
2834
  # resp.update.errors #=> Array
2754
- # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
2835
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
2755
2836
  # resp.update.errors[0].error_message #=> String
2756
2837
  # resp.update.errors[0].resource_ids #=> Array
2757
2838
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2876,13 +2957,13 @@ module Aws::EKS
2876
2957
  #
2877
2958
  # resp.update.id #=> String
2878
2959
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2879
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AddonUpdate"
2960
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2880
2961
  # 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"
2962
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2882
2963
  # resp.update.params[0].value #=> String
2883
2964
  # resp.update.created_at #=> Time
2884
2965
  # resp.update.errors #=> Array
2885
- # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict"
2966
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
2886
2967
  # resp.update.errors[0].error_message #=> String
2887
2968
  # resp.update.errors[0].resource_ids #=> Array
2888
2969
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2909,7 +2990,7 @@ module Aws::EKS
2909
2990
  params: params,
2910
2991
  config: config)
2911
2992
  context[:gem_name] = 'aws-sdk-eks'
2912
- context[:gem_version] = '1.48.0'
2993
+ context[:gem_version] = '1.53.0'
2913
2994
  Seahorse::Client::Request.new(handlers, context)
2914
2995
  end
2915
2996