aws-sdk-eks 1.49.0 → 1.54.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.54.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
 
@@ -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.49.0'
52
+ GEM_VERSION = '1.54.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
 
@@ -373,11 +373,11 @@ module Aws::EKS
373
373
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
374
374
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
375
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"
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
377
  # resp.update.params[0].value #=> String
378
378
  # resp.update.created_at #=> Time
379
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"
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
381
  # resp.update.errors[0].error_message #=> String
382
382
  # resp.update.errors[0].resource_ids #=> Array
383
383
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -457,11 +457,11 @@ module Aws::EKS
457
457
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
458
458
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
459
459
  # resp.update.params #=> Array
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"
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"
461
461
  # resp.update.params[0].value #=> String
462
462
  # resp.update.created_at #=> Time
463
463
  # resp.update.errors #=> Array
464
- # 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"
465
465
  # resp.update.errors[0].error_message #=> String
466
466
  # resp.update.errors[0].resource_ids #=> Array
467
467
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -566,7 +566,7 @@ module Aws::EKS
566
566
  # resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
567
567
  # resp.addon.addon_version #=> String
568
568
  # resp.addon.health.issues #=> Array
569
- # 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"
570
570
  # resp.addon.health.issues[0].message #=> String
571
571
  # resp.addon.health.issues[0].resource_ids #=> Array
572
572
  # resp.addon.health.issues[0].resource_ids[0] #=> String
@@ -973,13 +973,11 @@ module Aws::EKS
973
973
  #
974
974
  # @option params [required, Array<String>] :subnets
975
975
  # The subnets to use for the Auto Scaling group that is created for your
976
- # node group. These subnets must have the tag key
977
- # `kubernetes.io/cluster/CLUSTER_NAME` with a value of `shared`, where
978
- # `CLUSTER_NAME` is replaced with the name of your cluster. If you
979
- # specify `launchTemplate`, then don't specify [ `SubnetId` ][1] in
980
- # your launch template, or the node group deployment will fail. For more
981
- # information about using launch templates with Amazon EKS, see [Launch
982
- # 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.
983
981
  #
984
982
  #
985
983
  #
@@ -1055,6 +1053,9 @@ module Aws::EKS
1055
1053
  # The Kubernetes labels to be applied to the nodes in the node group
1056
1054
  # when they are created.
1057
1055
  #
1056
+ # @option params [Array<Types::Taint>] :taints
1057
+ # The Kubernetes taints to be applied to the nodes in the node group.
1058
+ #
1058
1059
  # @option params [Hash<String,String>] :tags
1059
1060
  # The metadata to apply to the node group to assist with categorization
1060
1061
  # and organization. Each tag consists of a key and an optional value,
@@ -1124,7 +1125,7 @@ module Aws::EKS
1124
1125
  # disk_size: 1,
1125
1126
  # subnets: ["String"], # required
1126
1127
  # instance_types: ["String"],
1127
- # 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
1128
1129
  # remote_access: {
1129
1130
  # ec2_ssh_key: "String",
1130
1131
  # source_security_groups: ["String"],
@@ -1133,6 +1134,13 @@ module Aws::EKS
1133
1134
  # labels: {
1134
1135
  # "labelKey" => "labelValue",
1135
1136
  # },
1137
+ # taints: [
1138
+ # {
1139
+ # key: "taintKey",
1140
+ # value: "taintValue",
1141
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
1142
+ # },
1143
+ # ],
1136
1144
  # tags: {
1137
1145
  # "TagKey" => "TagValue",
1138
1146
  # },
@@ -1168,10 +1176,14 @@ module Aws::EKS
1168
1176
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1169
1177
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1170
1178
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1171
- # 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"
1172
1180
  # resp.nodegroup.node_role #=> String
1173
1181
  # resp.nodegroup.labels #=> Hash
1174
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"
1175
1187
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1176
1188
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1177
1189
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1231,7 +1243,7 @@ module Aws::EKS
1231
1243
  # resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
1232
1244
  # resp.addon.addon_version #=> String
1233
1245
  # resp.addon.health.issues #=> Array
1234
- # 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"
1235
1247
  # resp.addon.health.issues[0].message #=> String
1236
1248
  # resp.addon.health.issues[0].resource_ids #=> Array
1237
1249
  # resp.addon.health.issues[0].resource_ids[0] #=> String
@@ -1435,10 +1447,14 @@ module Aws::EKS
1435
1447
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1436
1448
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1437
1449
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1438
- # 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"
1439
1451
  # resp.nodegroup.node_role #=> String
1440
1452
  # resp.nodegroup.labels #=> Hash
1441
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"
1442
1458
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1443
1459
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1444
1460
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1494,7 +1510,7 @@ module Aws::EKS
1494
1510
  # resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
1495
1511
  # resp.addon.addon_version #=> String
1496
1512
  # resp.addon.health.issues #=> Array
1497
- # 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"
1498
1514
  # resp.addon.health.issues[0].message #=> String
1499
1515
  # resp.addon.health.issues[0].resource_ids #=> Array
1500
1516
  # resp.addon.health.issues[0].resource_ids[0] #=> String
@@ -1840,10 +1856,14 @@ module Aws::EKS
1840
1856
  # resp.nodegroup.remote_access.ec2_ssh_key #=> String
1841
1857
  # resp.nodegroup.remote_access.source_security_groups #=> Array
1842
1858
  # resp.nodegroup.remote_access.source_security_groups[0] #=> String
1843
- # 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"
1844
1860
  # resp.nodegroup.node_role #=> String
1845
1861
  # resp.nodegroup.labels #=> Hash
1846
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"
1847
1867
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1848
1868
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1849
1869
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1917,11 +1937,11 @@ module Aws::EKS
1917
1937
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
1918
1938
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
1919
1939
  # resp.update.params #=> Array
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"
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"
1921
1941
  # resp.update.params[0].value #=> String
1922
1942
  # resp.update.created_at #=> Time
1923
1943
  # resp.update.errors #=> Array
1924
- # 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"
1925
1945
  # resp.update.errors[0].error_message #=> String
1926
1946
  # resp.update.errors[0].resource_ids #=> Array
1927
1947
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -1974,11 +1994,11 @@ module Aws::EKS
1974
1994
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
1975
1995
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
1976
1996
  # resp.update.params #=> Array
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"
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"
1978
1998
  # resp.update.params[0].value #=> String
1979
1999
  # resp.update.created_at #=> Time
1980
2000
  # resp.update.errors #=> Array
1981
- # 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"
1982
2002
  # resp.update.errors[0].error_message #=> String
1983
2003
  # resp.update.errors[0].resource_ids #=> Array
1984
2004
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2528,11 +2548,11 @@ module Aws::EKS
2528
2548
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2529
2549
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2530
2550
  # resp.update.params #=> Array
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"
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"
2532
2552
  # resp.update.params[0].value #=> String
2533
2553
  # resp.update.created_at #=> Time
2534
2554
  # resp.update.errors #=> Array
2535
- # 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"
2536
2556
  # resp.update.errors[0].error_message #=> String
2537
2557
  # resp.update.errors[0].resource_ids #=> Array
2538
2558
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2569,8 +2589,8 @@ module Aws::EKS
2569
2589
  # more information, see [Amazon EKS Cluster Endpoint Access Control][3]
2570
2590
  # in the <i> <i>Amazon EKS User Guide</i> </i>.
2571
2591
  #
2572
- # At this time, you can not update the subnets or security group IDs for
2573
- # an existing cluster.
2592
+ # You can't update the subnets or security group IDs for an existing
2593
+ # cluster.
2574
2594
  #
2575
2595
  # Cluster updates are asynchronous, and they should finish within a few
2576
2596
  # minutes. During an update, the cluster status moves to `UPDATING`
@@ -2648,11 +2668,11 @@ module Aws::EKS
2648
2668
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2649
2669
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2650
2670
  # resp.update.params #=> Array
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"
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"
2652
2672
  # resp.update.params[0].value #=> String
2653
2673
  # resp.update.created_at #=> Time
2654
2674
  # resp.update.errors #=> Array
2655
- # 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"
2656
2676
  # resp.update.errors[0].error_message #=> String
2657
2677
  # resp.update.errors[0].resource_ids #=> Array
2658
2678
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2712,11 +2732,11 @@ module Aws::EKS
2712
2732
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2713
2733
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2714
2734
  # resp.update.params #=> Array
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"
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"
2716
2736
  # resp.update.params[0].value #=> String
2717
2737
  # resp.update.created_at #=> Time
2718
2738
  # resp.update.errors #=> Array
2719
- # 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"
2720
2740
  # resp.update.errors[0].error_message #=> String
2721
2741
  # resp.update.errors[0].resource_ids #=> Array
2722
2742
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2748,6 +2768,10 @@ module Aws::EKS
2748
2768
  # The Kubernetes labels to be applied to the nodes in the node group
2749
2769
  # after the update.
2750
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
+ #
2751
2775
  # @option params [Types::NodegroupScalingConfig] :scaling_config
2752
2776
  # The scaling configuration details for the Auto Scaling group after the
2753
2777
  # update.
@@ -2774,6 +2798,22 @@ module Aws::EKS
2774
2798
  # },
2775
2799
  # remove_labels: ["String"],
2776
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
+ # },
2777
2817
  # scaling_config: {
2778
2818
  # min_size: 1,
2779
2819
  # max_size: 1,
@@ -2788,11 +2828,11 @@ module Aws::EKS
2788
2828
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2789
2829
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2790
2830
  # resp.update.params #=> Array
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"
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"
2792
2832
  # resp.update.params[0].value #=> String
2793
2833
  # resp.update.created_at #=> Time
2794
2834
  # resp.update.errors #=> Array
2795
- # 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"
2796
2836
  # resp.update.errors[0].error_message #=> String
2797
2837
  # resp.update.errors[0].resource_ids #=> Array
2798
2838
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2919,11 +2959,11 @@ module Aws::EKS
2919
2959
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2920
2960
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2921
2961
  # resp.update.params #=> Array
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"
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"
2923
2963
  # resp.update.params[0].value #=> String
2924
2964
  # resp.update.created_at #=> Time
2925
2965
  # resp.update.errors #=> Array
2926
- # 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"
2927
2967
  # resp.update.errors[0].error_message #=> String
2928
2968
  # resp.update.errors[0].resource_ids #=> Array
2929
2969
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2950,7 +2990,7 @@ module Aws::EKS
2950
2990
  params: params,
2951
2991
  config: config)
2952
2992
  context[:gem_name] = 'aws-sdk-eks'
2953
- context[:gem_version] = '1.49.0'
2993
+ context[:gem_version] = '1.54.0'
2954
2994
  Seahorse::Client::Request.new(handlers, context)
2955
2995
  end
2956
2996
 
@@ -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
 
@@ -149,6 +149,8 @@ module Aws::EKS
149
149
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
150
150
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
151
151
  TagValue = Shapes::StringShape.new(name: 'TagValue')
152
+ Taint = Shapes::StructureShape.new(name: 'Taint')
153
+ TaintEffect = Shapes::StringShape.new(name: 'TaintEffect')
152
154
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
153
155
  UnsupportedAvailabilityZoneException = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZoneException')
154
156
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -169,9 +171,11 @@ module Aws::EKS
169
171
  UpdateParamType = Shapes::StringShape.new(name: 'UpdateParamType')
170
172
  UpdateParams = Shapes::ListShape.new(name: 'UpdateParams')
171
173
  UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
174
+ UpdateTaintsPayload = Shapes::StructureShape.new(name: 'UpdateTaintsPayload')
172
175
  UpdateType = Shapes::StringShape.new(name: 'UpdateType')
173
176
  VpcConfigRequest = Shapes::StructureShape.new(name: 'VpcConfigRequest')
174
177
  VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
178
+ ZeroCapacity = Shapes::IntegerShape.new(name: 'ZeroCapacity')
175
179
  configStatus = Shapes::StringShape.new(name: 'configStatus')
176
180
  labelKey = Shapes::StringShape.new(name: 'labelKey')
177
181
  labelValue = Shapes::StringShape.new(name: 'labelValue')
@@ -180,6 +184,9 @@ module Aws::EKS
180
184
  requiredClaimsKey = Shapes::StringShape.new(name: 'requiredClaimsKey')
181
185
  requiredClaimsMap = Shapes::MapShape.new(name: 'requiredClaimsMap')
182
186
  requiredClaimsValue = Shapes::StringShape.new(name: 'requiredClaimsValue')
187
+ taintKey = Shapes::StringShape.new(name: 'taintKey')
188
+ taintValue = Shapes::StringShape.new(name: 'taintValue')
189
+ taintsList = Shapes::ListShape.new(name: 'taintsList')
183
190
 
184
191
  Addon.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
185
192
  Addon.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, location_name: "clusterName"))
@@ -325,6 +332,7 @@ module Aws::EKS
325
332
  CreateNodegroupRequest.add_member(:remote_access, Shapes::ShapeRef.new(shape: RemoteAccessConfig, location_name: "remoteAccess"))
326
333
  CreateNodegroupRequest.add_member(:node_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "nodeRole"))
327
334
  CreateNodegroupRequest.add_member(:labels, Shapes::ShapeRef.new(shape: labelsMap, location_name: "labels"))
335
+ CreateNodegroupRequest.add_member(:taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "taints"))
328
336
  CreateNodegroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
329
337
  CreateNodegroupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
330
338
  CreateNodegroupRequest.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
@@ -588,6 +596,7 @@ module Aws::EKS
588
596
  Nodegroup.add_member(:ami_type, Shapes::ShapeRef.new(shape: AMITypes, location_name: "amiType"))
589
597
  Nodegroup.add_member(:node_role, Shapes::ShapeRef.new(shape: String, location_name: "nodeRole"))
590
598
  Nodegroup.add_member(:labels, Shapes::ShapeRef.new(shape: labelsMap, location_name: "labels"))
599
+ Nodegroup.add_member(:taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "taints"))
591
600
  Nodegroup.add_member(:resources, Shapes::ShapeRef.new(shape: NodegroupResources, location_name: "resources"))
592
601
  Nodegroup.add_member(:disk_size, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "diskSize"))
593
602
  Nodegroup.add_member(:health, Shapes::ShapeRef.new(shape: NodegroupHealth, location_name: "health"))
@@ -602,9 +611,9 @@ module Aws::EKS
602
611
  NodegroupResources.add_member(:remote_access_security_group, Shapes::ShapeRef.new(shape: String, location_name: "remoteAccessSecurityGroup"))
603
612
  NodegroupResources.struct_class = Types::NodegroupResources
604
613
 
605
- NodegroupScalingConfig.add_member(:min_size, Shapes::ShapeRef.new(shape: Capacity, location_name: "minSize"))
614
+ NodegroupScalingConfig.add_member(:min_size, Shapes::ShapeRef.new(shape: ZeroCapacity, location_name: "minSize"))
606
615
  NodegroupScalingConfig.add_member(:max_size, Shapes::ShapeRef.new(shape: Capacity, location_name: "maxSize"))
607
- NodegroupScalingConfig.add_member(:desired_size, Shapes::ShapeRef.new(shape: Capacity, location_name: "desiredSize"))
616
+ NodegroupScalingConfig.add_member(:desired_size, Shapes::ShapeRef.new(shape: ZeroCapacity, location_name: "desiredSize"))
608
617
  NodegroupScalingConfig.struct_class = Types::NodegroupScalingConfig
609
618
 
610
619
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
@@ -684,6 +693,11 @@ module Aws::EKS
684
693
 
685
694
  TagResourceResponse.struct_class = Types::TagResourceResponse
686
695
 
696
+ Taint.add_member(:key, Shapes::ShapeRef.new(shape: taintKey, location_name: "key"))
697
+ Taint.add_member(:value, Shapes::ShapeRef.new(shape: taintValue, location_name: "value"))
698
+ Taint.add_member(:effect, Shapes::ShapeRef.new(shape: TaintEffect, location_name: "effect"))
699
+ Taint.struct_class = Types::Taint
700
+
687
701
  UnsupportedAvailabilityZoneException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
688
702
  UnsupportedAvailabilityZoneException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
689
703
  UnsupportedAvailabilityZoneException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
@@ -739,6 +753,7 @@ module Aws::EKS
739
753
  UpdateNodegroupConfigRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
740
754
  UpdateNodegroupConfigRequest.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "nodegroupName"))
741
755
  UpdateNodegroupConfigRequest.add_member(:labels, Shapes::ShapeRef.new(shape: UpdateLabelsPayload, location_name: "labels"))
756
+ UpdateNodegroupConfigRequest.add_member(:taints, Shapes::ShapeRef.new(shape: UpdateTaintsPayload, location_name: "taints"))
742
757
  UpdateNodegroupConfigRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: NodegroupScalingConfig, location_name: "scalingConfig"))
743
758
  UpdateNodegroupConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
744
759
  UpdateNodegroupConfigRequest.struct_class = Types::UpdateNodegroupConfigRequest
@@ -764,6 +779,10 @@ module Aws::EKS
764
779
 
765
780
  UpdateParams.member = Shapes::ShapeRef.new(shape: UpdateParam)
766
781
 
782
+ UpdateTaintsPayload.add_member(:add_or_update_taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "addOrUpdateTaints"))
783
+ UpdateTaintsPayload.add_member(:remove_taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "removeTaints"))
784
+ UpdateTaintsPayload.struct_class = Types::UpdateTaintsPayload
785
+
767
786
  VpcConfigRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
768
787
  VpcConfigRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "securityGroupIds"))
769
788
  VpcConfigRequest.add_member(:endpoint_public_access, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "endpointPublicAccess"))
@@ -788,6 +807,8 @@ module Aws::EKS
788
807
  requiredClaimsMap.key = Shapes::ShapeRef.new(shape: requiredClaimsKey)
789
808
  requiredClaimsMap.value = Shapes::ShapeRef.new(shape: requiredClaimsValue)
790
809
 
810
+ taintsList.member = Shapes::ShapeRef.new(shape: Taint)
811
+
791
812
 
792
813
  # @api private
793
814
  API = Seahorse::Model::Api.new.tap do |api|
@@ -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
 
@@ -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
 
@@ -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
 
@@ -50,9 +50,9 @@ module Aws::EKS
50
50
  # @return [String]
51
51
  #
52
52
  # @!attribute [rw] tags
53
- # The metadata that you apply to the cluster to assist with
53
+ # The metadata that you apply to the add-on to assist with
54
54
  # categorization and organization. Each tag consists of a key and an
55
- # optional value, both of which you define. Cluster tags do not
55
+ # optional value, both of which you define. Add-on tags do not
56
56
  # propagate to any other resources associated with the cluster.
57
57
  # @return [Hash<String,String>]
58
58
  #
@@ -863,7 +863,7 @@ module Aws::EKS
863
863
  # disk_size: 1,
864
864
  # subnets: ["String"], # required
865
865
  # instance_types: ["String"],
866
- # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64
866
+ # ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM
867
867
  # remote_access: {
868
868
  # ec2_ssh_key: "String",
869
869
  # source_security_groups: ["String"],
@@ -872,6 +872,13 @@ module Aws::EKS
872
872
  # labels: {
873
873
  # "labelKey" => "labelValue",
874
874
  # },
875
+ # taints: [
876
+ # {
877
+ # key: "taintKey",
878
+ # value: "taintValue",
879
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
880
+ # },
881
+ # ],
875
882
  # tags: {
876
883
  # "TagKey" => "TagValue",
877
884
  # },
@@ -913,13 +920,11 @@ module Aws::EKS
913
920
  #
914
921
  # @!attribute [rw] subnets
915
922
  # The subnets to use for the Auto Scaling group that is created for
916
- # your node group. These subnets must have the tag key
917
- # `kubernetes.io/cluster/CLUSTER_NAME` with a value of `shared`, where
918
- # `CLUSTER_NAME` is replaced with the name of your cluster. If you
919
- # specify `launchTemplate`, then don't specify [ `SubnetId` ][1] in
920
- # your launch template, or the node group deployment will fail. For
921
- # more information about using launch templates with Amazon EKS, see
922
- # [Launch template support][2] in the Amazon EKS User Guide.
923
+ # your node group. If you specify `launchTemplate`, then don't
924
+ # specify [ `SubnetId` ][1] in your launch template, or the node group
925
+ # deployment will fail. For more information about using launch
926
+ # templates with Amazon EKS, see [Launch template support][2] in the
927
+ # Amazon EKS User Guide.
923
928
  #
924
929
  #
925
930
  #
@@ -1002,6 +1007,10 @@ module Aws::EKS
1002
1007
  # when they are created.
1003
1008
  # @return [Hash<String,String>]
1004
1009
  #
1010
+ # @!attribute [rw] taints
1011
+ # The Kubernetes taints to be applied to the nodes in the node group.
1012
+ # @return [Array<Types::Taint>]
1013
+ #
1005
1014
  # @!attribute [rw] tags
1006
1015
  # The metadata to apply to the node group to assist with
1007
1016
  # categorization and organization. Each tag consists of a key and an
@@ -1073,6 +1082,7 @@ module Aws::EKS
1073
1082
  :remote_access,
1074
1083
  :node_role,
1075
1084
  :labels,
1085
+ :taints,
1076
1086
  :tags,
1077
1087
  :client_request_token,
1078
1088
  :launch_template,
@@ -1636,8 +1646,8 @@ module Aws::EKS
1636
1646
  # @return [Array<String>]
1637
1647
  #
1638
1648
  # @!attribute [rw] provider
1639
- # AWS Key Management Service (AWS KMS) customer master key (CMK).
1640
- # Either the ARN or the alias can be used.
1649
+ # AWS Key Management Service (AWS KMS) key. Either the ARN or the
1650
+ # alias can be used.
1641
1651
  # @return [Types::Provider]
1642
1652
  #
1643
1653
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/EncryptionConfig AWS API Documentation
@@ -2707,6 +2717,14 @@ module Aws::EKS
2707
2717
  # </note>
2708
2718
  # @return [Hash<String,String>]
2709
2719
  #
2720
+ # @!attribute [rw] taints
2721
+ # The Kubernetes taints to be applied to the nodes in the node group
2722
+ # when they are created. Effect is one of `NoSchedule`,
2723
+ # `PreferNoSchedule`, or `NoExecute`. Kubernetes taints can be used
2724
+ # together with tolerations to control how workloads are scheduled to
2725
+ # your nodes.
2726
+ # @return [Array<Types::Taint>]
2727
+ #
2710
2728
  # @!attribute [rw] resources
2711
2729
  # The resources associated with the node group, such as Auto Scaling
2712
2730
  # groups and security groups for remote access.
@@ -2755,6 +2773,7 @@ module Aws::EKS
2755
2773
  :ami_type,
2756
2774
  :node_role,
2757
2775
  :labels,
2776
+ :taints,
2758
2777
  :resources,
2759
2778
  :disk_size,
2760
2779
  :health,
@@ -2800,9 +2819,9 @@ module Aws::EKS
2800
2819
  end
2801
2820
 
2802
2821
  # An object representing the scaling configuration details for the Auto
2803
- # Scaling group that is associated with your node group. If you specify
2804
- # a value for any property, then you must specify values for all of the
2805
- # properties.
2822
+ # Scaling group that is associated with your node group. When creating a
2823
+ # node group, you must specify all or none of the properties. When
2824
+ # updating a node group, you can specify any or none of the properties.
2806
2825
  #
2807
2826
  # @note When making an API call, you may pass NodegroupScalingConfig
2808
2827
  # data as a hash:
@@ -3058,8 +3077,8 @@ module Aws::EKS
3058
3077
  include Aws::Structure
3059
3078
  end
3060
3079
 
3061
- # Identifies the AWS Key Management Service (AWS KMS) customer master
3062
- # key (CMK) used to encrypt the secrets.
3080
+ # Identifies the AWS Key Management Service (AWS KMS) key used to
3081
+ # encrypt the secrets.
3063
3082
  #
3064
3083
  # @note When making an API call, you may pass Provider
3065
3084
  # data as a hash:
@@ -3069,11 +3088,11 @@ module Aws::EKS
3069
3088
  # }
3070
3089
  #
3071
3090
  # @!attribute [rw] key_arn
3072
- # Amazon Resource Name (ARN) or alias of the customer master key
3073
- # (CMK). The CMK must be symmetric, created in the same region as the
3074
- # cluster, and if the CMK was created in a different account, the user
3075
- # must have access to the CMK. For more information, see [Allowing
3076
- # Users in Other Accounts to Use a CMK][1] in the *AWS Key Management
3091
+ # Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must
3092
+ # be symmetric, created in the same region as the cluster, and if the
3093
+ # KMS key was created in a different account, the user must have
3094
+ # access to the KMS key. For more information, see [Allowing Users in
3095
+ # Other Accounts to Use a KMS key][1] in the *AWS Key Management
3077
3096
  # Service Developer Guide*.
3078
3097
  #
3079
3098
  #
@@ -3292,6 +3311,39 @@ module Aws::EKS
3292
3311
  #
3293
3312
  class TagResourceResponse < Aws::EmptyStructure; end
3294
3313
 
3314
+ # A property that allows a node to repel a set of pods.
3315
+ #
3316
+ # @note When making an API call, you may pass Taint
3317
+ # data as a hash:
3318
+ #
3319
+ # {
3320
+ # key: "taintKey",
3321
+ # value: "taintValue",
3322
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3323
+ # }
3324
+ #
3325
+ # @!attribute [rw] key
3326
+ # The key of the taint.
3327
+ # @return [String]
3328
+ #
3329
+ # @!attribute [rw] value
3330
+ # The value of the taint.
3331
+ # @return [String]
3332
+ #
3333
+ # @!attribute [rw] effect
3334
+ # The effect of the taint.
3335
+ # @return [String]
3336
+ #
3337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Taint AWS API Documentation
3338
+ #
3339
+ class Taint < Struct.new(
3340
+ :key,
3341
+ :value,
3342
+ :effect)
3343
+ SENSITIVE = []
3344
+ include Aws::Structure
3345
+ end
3346
+
3295
3347
  # At least one of your specified cluster subnets is in an Availability
3296
3348
  # Zone that does not support Amazon EKS. The exception output specifies
3297
3349
  # the supported Availability Zones for your account, from which you can
@@ -3659,6 +3711,22 @@ module Aws::EKS
3659
3711
  # },
3660
3712
  # remove_labels: ["String"],
3661
3713
  # },
3714
+ # taints: {
3715
+ # add_or_update_taints: [
3716
+ # {
3717
+ # key: "taintKey",
3718
+ # value: "taintValue",
3719
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3720
+ # },
3721
+ # ],
3722
+ # remove_taints: [
3723
+ # {
3724
+ # key: "taintKey",
3725
+ # value: "taintValue",
3726
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3727
+ # },
3728
+ # ],
3729
+ # },
3662
3730
  # scaling_config: {
3663
3731
  # min_size: 1,
3664
3732
  # max_size: 1,
@@ -3681,6 +3749,11 @@ module Aws::EKS
3681
3749
  # after the update.
3682
3750
  # @return [Types::UpdateLabelsPayload]
3683
3751
  #
3752
+ # @!attribute [rw] taints
3753
+ # The Kubernetes taints to be applied to the nodes in the node group
3754
+ # after the update.
3755
+ # @return [Types::UpdateTaintsPayload]
3756
+ #
3684
3757
  # @!attribute [rw] scaling_config
3685
3758
  # The scaling configuration details for the Auto Scaling group after
3686
3759
  # the update.
@@ -3700,6 +3773,7 @@ module Aws::EKS
3700
3773
  :cluster_name,
3701
3774
  :nodegroup_name,
3702
3775
  :labels,
3776
+ :taints,
3703
3777
  :scaling_config,
3704
3778
  :client_request_token)
3705
3779
  SENSITIVE = []
@@ -3845,6 +3919,45 @@ module Aws::EKS
3845
3919
  include Aws::Structure
3846
3920
  end
3847
3921
 
3922
+ # An object representing the details of an update to a taints payload.
3923
+ #
3924
+ # @note When making an API call, you may pass UpdateTaintsPayload
3925
+ # data as a hash:
3926
+ #
3927
+ # {
3928
+ # add_or_update_taints: [
3929
+ # {
3930
+ # key: "taintKey",
3931
+ # value: "taintValue",
3932
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3933
+ # },
3934
+ # ],
3935
+ # remove_taints: [
3936
+ # {
3937
+ # key: "taintKey",
3938
+ # value: "taintValue",
3939
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3940
+ # },
3941
+ # ],
3942
+ # }
3943
+ #
3944
+ # @!attribute [rw] add_or_update_taints
3945
+ # Kubernetes taints to be added or updated.
3946
+ # @return [Array<Types::Taint>]
3947
+ #
3948
+ # @!attribute [rw] remove_taints
3949
+ # Kubernetes taints to be removed.
3950
+ # @return [Array<Types::Taint>]
3951
+ #
3952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateTaintsPayload AWS API Documentation
3953
+ #
3954
+ class UpdateTaintsPayload < Struct.new(
3955
+ :add_or_update_taints,
3956
+ :remove_taints)
3957
+ SENSITIVE = []
3958
+ include Aws::Structure
3959
+ end
3960
+
3848
3961
  # An object representing the VPC configuration to use for an Amazon EKS
3849
3962
  # cluster.
3850
3963
  #