aws-sdk-eks 1.52.0 → 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5df0a5a75f8853fc52ee2af6d25aa1392e1e23562f76a2b7711cd852f06132ec
4
- data.tar.gz: 05c05c7b276b3834528694b337153c1f4c6e5bfac141367aee87cc1aa458847c
3
+ metadata.gz: 590cf65e20d33db477757288a8928515504f74cdbd666b84f5dad98b5ada517b
4
+ data.tar.gz: 6c4ea0d5b3046153ef411aee141deed4e04193b226db18bb3a538febfb3e0b12
5
5
  SHA512:
6
- metadata.gz: 0c0f2346b4a7624b4ec537a663452acfc1c7cafa5abcc96ecf10f67e35a8ee9bdd8f7b123bfbaae8d4d8cc9bab5f5d4cca2c8691bb14bcb279353b2eb4f9903c
7
- data.tar.gz: 8ddb482a808feba47203e8baa702d6133a34c40f9dd24257d2d390061adb58c27b87a904267264794fd672d9bc693b0277a684428c85196b1c595eb8f0ed4ec0
6
+ metadata.gz: b365ee51db8be82f207a9beab298c151fdf1ff99145fd39b564cca68eb02de53d0da60a057edbe4f8052d177ad40c4c9df37dee9138c50c786a4ebf3a91b9c17
7
+ data.tar.gz: 0f9aacbdb0cf72bd3c183e9924f1b83bc9920a486acbb39ec4b7b751d5df337bb02d6ef1f02597dd3e37c4dc4a6a9760529bd86483de44d67ed3efb17357f2e5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,31 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.57.0 (2021-07-08)
5
+ ------------------
6
+
7
+ * Feature - Added waiters for EKS FargateProfiles.
8
+
9
+ 1.56.0 (2021-07-06)
10
+ ------------------
11
+
12
+ * Feature - Adding new error code UnsupportedAddonModification for Addons in EKS
13
+
14
+ 1.55.0 (2021-06-07)
15
+ ------------------
16
+
17
+ * Feature - Added updateConfig option that allows customers to control upgrade velocity in Managed Node Group.
18
+
19
+ 1.54.0 (2021-05-19)
20
+ ------------------
21
+
22
+ * Feature - Update the EKS AddonActive waiter.
23
+
24
+ 1.53.0 (2021-05-10)
25
+ ------------------
26
+
27
+ * Feature - This release updates create-nodegroup and update-nodegroup-config APIs for adding/updating taints on managed nodegroups.
28
+
4
29
  1.52.0 (2021-04-26)
5
30
  ------------------
6
31
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.57.0
data/lib/aws-sdk-eks.rb CHANGED
@@ -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.52.0'
52
+ GEM_VERSION = '1.57.0'
53
53
 
54
54
  end
@@ -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", "LaunchTemplateName", "LaunchTemplateVersion", "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", "MaxUnavailable", "MaxUnavailablePercentage"
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", "AdmissionRequestDenied"
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", "UnsupportedAddonModification"
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", "LaunchTemplateName", "LaunchTemplateVersion", "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", "MaxUnavailable", "MaxUnavailablePercentage"
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", "AdmissionRequestDenied"
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", "UnsupportedAddonModification"
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", "AdmissionRequestDenied"
569
+ # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
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,
@@ -1075,6 +1076,8 @@ module Aws::EKS
1075
1076
  # `remoteAccess` and make sure that the launch template meets the
1076
1077
  # requirements in `launchTemplateSpecification`.
1077
1078
  #
1079
+ # @option params [Types::NodegroupUpdateConfig] :update_config
1080
+ #
1078
1081
  # @option params [String] :capacity_type
1079
1082
  # The capacity type for your node group.
1080
1083
  #
@@ -1133,6 +1136,13 @@ module Aws::EKS
1133
1136
  # labels: {
1134
1137
  # "labelKey" => "labelValue",
1135
1138
  # },
1139
+ # taints: [
1140
+ # {
1141
+ # key: "taintKey",
1142
+ # value: "taintValue",
1143
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
1144
+ # },
1145
+ # ],
1136
1146
  # tags: {
1137
1147
  # "TagKey" => "TagValue",
1138
1148
  # },
@@ -1142,6 +1152,10 @@ module Aws::EKS
1142
1152
  # version: "String",
1143
1153
  # id: "String",
1144
1154
  # },
1155
+ # update_config: {
1156
+ # max_unavailable: 1,
1157
+ # max_unavailable_percentage: 1,
1158
+ # },
1145
1159
  # capacity_type: "ON_DEMAND", # accepts ON_DEMAND, SPOT
1146
1160
  # version: "String",
1147
1161
  # release_version: "String",
@@ -1172,6 +1186,10 @@ module Aws::EKS
1172
1186
  # resp.nodegroup.node_role #=> String
1173
1187
  # resp.nodegroup.labels #=> Hash
1174
1188
  # resp.nodegroup.labels["labelKey"] #=> String
1189
+ # resp.nodegroup.taints #=> Array
1190
+ # resp.nodegroup.taints[0].key #=> String
1191
+ # resp.nodegroup.taints[0].value #=> String
1192
+ # resp.nodegroup.taints[0].effect #=> String, one of "NO_SCHEDULE", "NO_EXECUTE", "PREFER_NO_SCHEDULE"
1175
1193
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1176
1194
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1177
1195
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1181,6 +1199,8 @@ module Aws::EKS
1181
1199
  # resp.nodegroup.health.issues[0].message #=> String
1182
1200
  # resp.nodegroup.health.issues[0].resource_ids #=> Array
1183
1201
  # resp.nodegroup.health.issues[0].resource_ids[0] #=> String
1202
+ # resp.nodegroup.update_config.max_unavailable #=> Integer
1203
+ # resp.nodegroup.update_config.max_unavailable_percentage #=> Integer
1184
1204
  # resp.nodegroup.launch_template.name #=> String
1185
1205
  # resp.nodegroup.launch_template.version #=> String
1186
1206
  # resp.nodegroup.launch_template.id #=> String
@@ -1231,7 +1251,7 @@ module Aws::EKS
1231
1251
  # resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
1232
1252
  # resp.addon.addon_version #=> String
1233
1253
  # resp.addon.health.issues #=> Array
1234
- # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
1254
+ # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
1235
1255
  # resp.addon.health.issues[0].message #=> String
1236
1256
  # resp.addon.health.issues[0].resource_ids #=> Array
1237
1257
  # resp.addon.health.issues[0].resource_ids[0] #=> String
@@ -1439,6 +1459,10 @@ module Aws::EKS
1439
1459
  # resp.nodegroup.node_role #=> String
1440
1460
  # resp.nodegroup.labels #=> Hash
1441
1461
  # resp.nodegroup.labels["labelKey"] #=> String
1462
+ # resp.nodegroup.taints #=> Array
1463
+ # resp.nodegroup.taints[0].key #=> String
1464
+ # resp.nodegroup.taints[0].value #=> String
1465
+ # resp.nodegroup.taints[0].effect #=> String, one of "NO_SCHEDULE", "NO_EXECUTE", "PREFER_NO_SCHEDULE"
1442
1466
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1443
1467
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1444
1468
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1448,6 +1472,8 @@ module Aws::EKS
1448
1472
  # resp.nodegroup.health.issues[0].message #=> String
1449
1473
  # resp.nodegroup.health.issues[0].resource_ids #=> Array
1450
1474
  # resp.nodegroup.health.issues[0].resource_ids[0] #=> String
1475
+ # resp.nodegroup.update_config.max_unavailable #=> Integer
1476
+ # resp.nodegroup.update_config.max_unavailable_percentage #=> Integer
1451
1477
  # resp.nodegroup.launch_template.name #=> String
1452
1478
  # resp.nodegroup.launch_template.version #=> String
1453
1479
  # resp.nodegroup.launch_template.id #=> String
@@ -1494,7 +1520,7 @@ module Aws::EKS
1494
1520
  # resp.addon.status #=> String, one of "CREATING", "ACTIVE", "CREATE_FAILED", "UPDATING", "DELETING", "DELETE_FAILED", "DEGRADED"
1495
1521
  # resp.addon.addon_version #=> String
1496
1522
  # resp.addon.health.issues #=> Array
1497
- # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied"
1523
+ # resp.addon.health.issues[0].code #=> String, one of "AccessDenied", "InternalFailure", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
1498
1524
  # resp.addon.health.issues[0].message #=> String
1499
1525
  # resp.addon.health.issues[0].resource_ids #=> Array
1500
1526
  # resp.addon.health.issues[0].resource_ids[0] #=> String
@@ -1741,6 +1767,12 @@ module Aws::EKS
1741
1767
  # resp.fargate_profile.tags #=> Hash
1742
1768
  # resp.fargate_profile.tags["TagKey"] #=> String
1743
1769
  #
1770
+ #
1771
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
1772
+ #
1773
+ # * fargate_profile_active
1774
+ # * fargate_profile_deleted
1775
+ #
1744
1776
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeFargateProfile AWS API Documentation
1745
1777
  #
1746
1778
  # @overload describe_fargate_profile(params = {})
@@ -1844,6 +1876,10 @@ module Aws::EKS
1844
1876
  # resp.nodegroup.node_role #=> String
1845
1877
  # resp.nodegroup.labels #=> Hash
1846
1878
  # resp.nodegroup.labels["labelKey"] #=> String
1879
+ # resp.nodegroup.taints #=> Array
1880
+ # resp.nodegroup.taints[0].key #=> String
1881
+ # resp.nodegroup.taints[0].value #=> String
1882
+ # resp.nodegroup.taints[0].effect #=> String, one of "NO_SCHEDULE", "NO_EXECUTE", "PREFER_NO_SCHEDULE"
1847
1883
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1848
1884
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1849
1885
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1853,6 +1889,8 @@ module Aws::EKS
1853
1889
  # resp.nodegroup.health.issues[0].message #=> String
1854
1890
  # resp.nodegroup.health.issues[0].resource_ids #=> Array
1855
1891
  # resp.nodegroup.health.issues[0].resource_ids[0] #=> String
1892
+ # resp.nodegroup.update_config.max_unavailable #=> Integer
1893
+ # resp.nodegroup.update_config.max_unavailable_percentage #=> Integer
1856
1894
  # resp.nodegroup.launch_template.name #=> String
1857
1895
  # resp.nodegroup.launch_template.version #=> String
1858
1896
  # resp.nodegroup.launch_template.id #=> String
@@ -1917,11 +1955,11 @@ module Aws::EKS
1917
1955
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
1918
1956
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
1919
1957
  # 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", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1958
+ # 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", "MaxUnavailable", "MaxUnavailablePercentage"
1921
1959
  # resp.update.params[0].value #=> String
1922
1960
  # resp.update.created_at #=> Time
1923
1961
  # 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", "AdmissionRequestDenied"
1962
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
1925
1963
  # resp.update.errors[0].error_message #=> String
1926
1964
  # resp.update.errors[0].resource_ids #=> Array
1927
1965
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -1974,11 +2012,11 @@ module Aws::EKS
1974
2012
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
1975
2013
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
1976
2014
  # 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", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2015
+ # 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", "MaxUnavailable", "MaxUnavailablePercentage"
1978
2016
  # resp.update.params[0].value #=> String
1979
2017
  # resp.update.created_at #=> Time
1980
2018
  # 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", "AdmissionRequestDenied"
2019
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
1982
2020
  # resp.update.errors[0].error_message #=> String
1983
2021
  # resp.update.errors[0].resource_ids #=> Array
1984
2022
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2528,11 +2566,11 @@ module Aws::EKS
2528
2566
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2529
2567
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2530
2568
  # 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", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2569
+ # 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", "MaxUnavailable", "MaxUnavailablePercentage"
2532
2570
  # resp.update.params[0].value #=> String
2533
2571
  # resp.update.created_at #=> Time
2534
2572
  # 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", "AdmissionRequestDenied"
2573
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
2536
2574
  # resp.update.errors[0].error_message #=> String
2537
2575
  # resp.update.errors[0].resource_ids #=> Array
2538
2576
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2569,8 +2607,8 @@ module Aws::EKS
2569
2607
  # more information, see [Amazon EKS Cluster Endpoint Access Control][3]
2570
2608
  # in the <i> <i>Amazon EKS User Guide</i> </i>.
2571
2609
  #
2572
- # At this time, you can not update the subnets or security group IDs for
2573
- # an existing cluster.
2610
+ # You can't update the subnets or security group IDs for an existing
2611
+ # cluster.
2574
2612
  #
2575
2613
  # Cluster updates are asynchronous, and they should finish within a few
2576
2614
  # minutes. During an update, the cluster status moves to `UPDATING`
@@ -2648,11 +2686,11 @@ module Aws::EKS
2648
2686
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2649
2687
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2650
2688
  # 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", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2689
+ # 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", "MaxUnavailable", "MaxUnavailablePercentage"
2652
2690
  # resp.update.params[0].value #=> String
2653
2691
  # resp.update.created_at #=> Time
2654
2692
  # 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", "AdmissionRequestDenied"
2693
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
2656
2694
  # resp.update.errors[0].error_message #=> String
2657
2695
  # resp.update.errors[0].resource_ids #=> Array
2658
2696
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2712,11 +2750,11 @@ module Aws::EKS
2712
2750
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2713
2751
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2714
2752
  # 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", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2753
+ # 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", "MaxUnavailable", "MaxUnavailablePercentage"
2716
2754
  # resp.update.params[0].value #=> String
2717
2755
  # resp.update.created_at #=> Time
2718
2756
  # 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", "AdmissionRequestDenied"
2757
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
2720
2758
  # resp.update.errors[0].error_message #=> String
2721
2759
  # resp.update.errors[0].resource_ids #=> Array
2722
2760
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2748,10 +2786,16 @@ module Aws::EKS
2748
2786
  # The Kubernetes labels to be applied to the nodes in the node group
2749
2787
  # after the update.
2750
2788
  #
2789
+ # @option params [Types::UpdateTaintsPayload] :taints
2790
+ # The Kubernetes taints to be applied to the nodes in the node group
2791
+ # after the update.
2792
+ #
2751
2793
  # @option params [Types::NodegroupScalingConfig] :scaling_config
2752
2794
  # The scaling configuration details for the Auto Scaling group after the
2753
2795
  # update.
2754
2796
  #
2797
+ # @option params [Types::NodegroupUpdateConfig] :update_config
2798
+ #
2755
2799
  # @option params [String] :client_request_token
2756
2800
  # Unique, case-sensitive identifier that you provide to ensure the
2757
2801
  # idempotency of the request.
@@ -2774,11 +2818,31 @@ module Aws::EKS
2774
2818
  # },
2775
2819
  # remove_labels: ["String"],
2776
2820
  # },
2821
+ # taints: {
2822
+ # add_or_update_taints: [
2823
+ # {
2824
+ # key: "taintKey",
2825
+ # value: "taintValue",
2826
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
2827
+ # },
2828
+ # ],
2829
+ # remove_taints: [
2830
+ # {
2831
+ # key: "taintKey",
2832
+ # value: "taintValue",
2833
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
2834
+ # },
2835
+ # ],
2836
+ # },
2777
2837
  # scaling_config: {
2778
2838
  # min_size: 1,
2779
2839
  # max_size: 1,
2780
2840
  # desired_size: 1,
2781
2841
  # },
2842
+ # update_config: {
2843
+ # max_unavailable: 1,
2844
+ # max_unavailable_percentage: 1,
2845
+ # },
2782
2846
  # client_request_token: "String",
2783
2847
  # })
2784
2848
  #
@@ -2788,11 +2852,11 @@ module Aws::EKS
2788
2852
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2789
2853
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2790
2854
  # 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", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2855
+ # 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", "MaxUnavailable", "MaxUnavailablePercentage"
2792
2856
  # resp.update.params[0].value #=> String
2793
2857
  # resp.update.created_at #=> Time
2794
2858
  # 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", "AdmissionRequestDenied"
2859
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
2796
2860
  # resp.update.errors[0].error_message #=> String
2797
2861
  # resp.update.errors[0].resource_ids #=> Array
2798
2862
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2919,11 +2983,11 @@ module Aws::EKS
2919
2983
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2920
2984
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2921
2985
  # 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", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2986
+ # 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", "MaxUnavailable", "MaxUnavailablePercentage"
2923
2987
  # resp.update.params[0].value #=> String
2924
2988
  # resp.update.created_at #=> Time
2925
2989
  # 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", "AdmissionRequestDenied"
2990
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification"
2927
2991
  # resp.update.errors[0].error_message #=> String
2928
2992
  # resp.update.errors[0].resource_ids #=> Array
2929
2993
  # resp.update.errors[0].resource_ids[0] #=> String
@@ -2950,7 +3014,7 @@ module Aws::EKS
2950
3014
  params: params,
2951
3015
  config: config)
2952
3016
  context[:gem_name] = 'aws-sdk-eks'
2953
- context[:gem_version] = '1.52.0'
3017
+ context[:gem_version] = '1.57.0'
2954
3018
  Seahorse::Client::Request.new(handlers, context)
2955
3019
  end
2956
3020
 
@@ -3016,14 +3080,16 @@ module Aws::EKS
3016
3080
  # The following table lists the valid waiter names, the operations they call,
3017
3081
  # and the default `:delay` and `:max_attempts` values.
3018
3082
  #
3019
- # | waiter_name | params | :delay | :max_attempts |
3020
- # | ----------------- | --------------------------- | -------- | ------------- |
3021
- # | addon_active | {Client#describe_addon} | 10 | 60 |
3022
- # | addon_deleted | {Client#describe_addon} | 10 | 60 |
3023
- # | cluster_active | {Client#describe_cluster} | 30 | 40 |
3024
- # | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
3025
- # | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
3026
- # | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
3083
+ # | waiter_name | params | :delay | :max_attempts |
3084
+ # | ----------------------- | --------------------------------- | -------- | ------------- |
3085
+ # | addon_active | {Client#describe_addon} | 10 | 60 |
3086
+ # | addon_deleted | {Client#describe_addon} | 10 | 60 |
3087
+ # | cluster_active | {Client#describe_cluster} | 30 | 40 |
3088
+ # | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
3089
+ # | fargate_profile_active | {Client#describe_fargate_profile} | 10 | 60 |
3090
+ # | fargate_profile_deleted | {Client#describe_fargate_profile} | 30 | 60 |
3091
+ # | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
3092
+ # | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
3027
3093
  #
3028
3094
  # @raise [Errors::FailureStateError] Raised when the waiter terminates
3029
3095
  # because the waiter has entered a state that it will not transition
@@ -3078,6 +3144,8 @@ module Aws::EKS
3078
3144
  addon_deleted: Waiters::AddonDeleted,
3079
3145
  cluster_active: Waiters::ClusterActive,
3080
3146
  cluster_deleted: Waiters::ClusterDeleted,
3147
+ fargate_profile_active: Waiters::FargateProfileActive,
3148
+ fargate_profile_deleted: Waiters::FargateProfileDeleted,
3081
3149
  nodegroup_active: Waiters::NodegroupActive,
3082
3150
  nodegroup_deleted: Waiters::NodegroupDeleted
3083
3151
  }
@@ -128,10 +128,13 @@ module Aws::EKS
128
128
  NodegroupResources = Shapes::StructureShape.new(name: 'NodegroupResources')
129
129
  NodegroupScalingConfig = Shapes::StructureShape.new(name: 'NodegroupScalingConfig')
130
130
  NodegroupStatus = Shapes::StringShape.new(name: 'NodegroupStatus')
131
+ NodegroupUpdateConfig = Shapes::StructureShape.new(name: 'NodegroupUpdateConfig')
132
+ NonZeroInteger = Shapes::IntegerShape.new(name: 'NonZeroInteger')
131
133
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
132
134
  OIDC = Shapes::StructureShape.new(name: 'OIDC')
133
135
  OidcIdentityProviderConfig = Shapes::StructureShape.new(name: 'OidcIdentityProviderConfig')
134
136
  OidcIdentityProviderConfigRequest = Shapes::StructureShape.new(name: 'OidcIdentityProviderConfigRequest')
137
+ PercentCapacity = Shapes::IntegerShape.new(name: 'PercentCapacity')
135
138
  Provider = Shapes::StructureShape.new(name: 'Provider')
136
139
  RemoteAccessConfig = Shapes::StructureShape.new(name: 'RemoteAccessConfig')
137
140
  ResolveConflicts = Shapes::StringShape.new(name: 'ResolveConflicts')
@@ -149,6 +152,8 @@ module Aws::EKS
149
152
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
150
153
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
151
154
  TagValue = Shapes::StringShape.new(name: 'TagValue')
155
+ Taint = Shapes::StructureShape.new(name: 'Taint')
156
+ TaintEffect = Shapes::StringShape.new(name: 'TaintEffect')
152
157
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
153
158
  UnsupportedAvailabilityZoneException = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZoneException')
154
159
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -169,6 +174,7 @@ module Aws::EKS
169
174
  UpdateParamType = Shapes::StringShape.new(name: 'UpdateParamType')
170
175
  UpdateParams = Shapes::ListShape.new(name: 'UpdateParams')
171
176
  UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
177
+ UpdateTaintsPayload = Shapes::StructureShape.new(name: 'UpdateTaintsPayload')
172
178
  UpdateType = Shapes::StringShape.new(name: 'UpdateType')
173
179
  VpcConfigRequest = Shapes::StructureShape.new(name: 'VpcConfigRequest')
174
180
  VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
@@ -181,6 +187,9 @@ module Aws::EKS
181
187
  requiredClaimsKey = Shapes::StringShape.new(name: 'requiredClaimsKey')
182
188
  requiredClaimsMap = Shapes::MapShape.new(name: 'requiredClaimsMap')
183
189
  requiredClaimsValue = Shapes::StringShape.new(name: 'requiredClaimsValue')
190
+ taintKey = Shapes::StringShape.new(name: 'taintKey')
191
+ taintValue = Shapes::StringShape.new(name: 'taintValue')
192
+ taintsList = Shapes::ListShape.new(name: 'taintsList')
184
193
 
185
194
  Addon.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
186
195
  Addon.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, location_name: "clusterName"))
@@ -326,9 +335,11 @@ module Aws::EKS
326
335
  CreateNodegroupRequest.add_member(:remote_access, Shapes::ShapeRef.new(shape: RemoteAccessConfig, location_name: "remoteAccess"))
327
336
  CreateNodegroupRequest.add_member(:node_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "nodeRole"))
328
337
  CreateNodegroupRequest.add_member(:labels, Shapes::ShapeRef.new(shape: labelsMap, location_name: "labels"))
338
+ CreateNodegroupRequest.add_member(:taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "taints"))
329
339
  CreateNodegroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
330
340
  CreateNodegroupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
331
341
  CreateNodegroupRequest.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
342
+ CreateNodegroupRequest.add_member(:update_config, Shapes::ShapeRef.new(shape: NodegroupUpdateConfig, location_name: "updateConfig"))
332
343
  CreateNodegroupRequest.add_member(:capacity_type, Shapes::ShapeRef.new(shape: CapacityTypes, location_name: "capacityType"))
333
344
  CreateNodegroupRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
334
345
  CreateNodegroupRequest.add_member(:release_version, Shapes::ShapeRef.new(shape: String, location_name: "releaseVersion"))
@@ -589,9 +600,11 @@ module Aws::EKS
589
600
  Nodegroup.add_member(:ami_type, Shapes::ShapeRef.new(shape: AMITypes, location_name: "amiType"))
590
601
  Nodegroup.add_member(:node_role, Shapes::ShapeRef.new(shape: String, location_name: "nodeRole"))
591
602
  Nodegroup.add_member(:labels, Shapes::ShapeRef.new(shape: labelsMap, location_name: "labels"))
603
+ Nodegroup.add_member(:taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "taints"))
592
604
  Nodegroup.add_member(:resources, Shapes::ShapeRef.new(shape: NodegroupResources, location_name: "resources"))
593
605
  Nodegroup.add_member(:disk_size, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "diskSize"))
594
606
  Nodegroup.add_member(:health, Shapes::ShapeRef.new(shape: NodegroupHealth, location_name: "health"))
607
+ Nodegroup.add_member(:update_config, Shapes::ShapeRef.new(shape: NodegroupUpdateConfig, location_name: "updateConfig"))
595
608
  Nodegroup.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
596
609
  Nodegroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
597
610
  Nodegroup.struct_class = Types::Nodegroup
@@ -608,6 +621,10 @@ module Aws::EKS
608
621
  NodegroupScalingConfig.add_member(:desired_size, Shapes::ShapeRef.new(shape: ZeroCapacity, location_name: "desiredSize"))
609
622
  NodegroupScalingConfig.struct_class = Types::NodegroupScalingConfig
610
623
 
624
+ NodegroupUpdateConfig.add_member(:max_unavailable, Shapes::ShapeRef.new(shape: NonZeroInteger, location_name: "maxUnavailable"))
625
+ NodegroupUpdateConfig.add_member(:max_unavailable_percentage, Shapes::ShapeRef.new(shape: PercentCapacity, location_name: "maxUnavailablePercentage"))
626
+ NodegroupUpdateConfig.struct_class = Types::NodegroupUpdateConfig
627
+
611
628
  NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
612
629
  NotFoundException.struct_class = Types::NotFoundException
613
630
 
@@ -685,6 +702,11 @@ module Aws::EKS
685
702
 
686
703
  TagResourceResponse.struct_class = Types::TagResourceResponse
687
704
 
705
+ Taint.add_member(:key, Shapes::ShapeRef.new(shape: taintKey, location_name: "key"))
706
+ Taint.add_member(:value, Shapes::ShapeRef.new(shape: taintValue, location_name: "value"))
707
+ Taint.add_member(:effect, Shapes::ShapeRef.new(shape: TaintEffect, location_name: "effect"))
708
+ Taint.struct_class = Types::Taint
709
+
688
710
  UnsupportedAvailabilityZoneException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
689
711
  UnsupportedAvailabilityZoneException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
690
712
  UnsupportedAvailabilityZoneException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
@@ -740,7 +762,9 @@ module Aws::EKS
740
762
  UpdateNodegroupConfigRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
741
763
  UpdateNodegroupConfigRequest.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "nodegroupName"))
742
764
  UpdateNodegroupConfigRequest.add_member(:labels, Shapes::ShapeRef.new(shape: UpdateLabelsPayload, location_name: "labels"))
765
+ UpdateNodegroupConfigRequest.add_member(:taints, Shapes::ShapeRef.new(shape: UpdateTaintsPayload, location_name: "taints"))
743
766
  UpdateNodegroupConfigRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: NodegroupScalingConfig, location_name: "scalingConfig"))
767
+ UpdateNodegroupConfigRequest.add_member(:update_config, Shapes::ShapeRef.new(shape: NodegroupUpdateConfig, location_name: "updateConfig"))
744
768
  UpdateNodegroupConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
745
769
  UpdateNodegroupConfigRequest.struct_class = Types::UpdateNodegroupConfigRequest
746
770
 
@@ -765,6 +789,10 @@ module Aws::EKS
765
789
 
766
790
  UpdateParams.member = Shapes::ShapeRef.new(shape: UpdateParam)
767
791
 
792
+ UpdateTaintsPayload.add_member(:add_or_update_taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "addOrUpdateTaints"))
793
+ UpdateTaintsPayload.add_member(:remove_taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "removeTaints"))
794
+ UpdateTaintsPayload.struct_class = Types::UpdateTaintsPayload
795
+
768
796
  VpcConfigRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
769
797
  VpcConfigRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "securityGroupIds"))
770
798
  VpcConfigRequest.add_member(:endpoint_public_access, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "endpointPublicAccess"))
@@ -789,6 +817,8 @@ module Aws::EKS
789
817
  requiredClaimsMap.key = Shapes::ShapeRef.new(shape: requiredClaimsKey)
790
818
  requiredClaimsMap.value = Shapes::ShapeRef.new(shape: requiredClaimsValue)
791
819
 
820
+ taintsList.member = Shapes::ShapeRef.new(shape: Taint)
821
+
792
822
 
793
823
  # @api private
794
824
  API = Seahorse::Model::Api.new.tap do |api|
@@ -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
  #
@@ -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
  # },
@@ -881,6 +888,10 @@ module Aws::EKS
881
888
  # version: "String",
882
889
  # id: "String",
883
890
  # },
891
+ # update_config: {
892
+ # max_unavailable: 1,
893
+ # max_unavailable_percentage: 1,
894
+ # },
884
895
  # capacity_type: "ON_DEMAND", # accepts ON_DEMAND, SPOT
885
896
  # version: "String",
886
897
  # release_version: "String",
@@ -913,13 +924,11 @@ module Aws::EKS
913
924
  #
914
925
  # @!attribute [rw] subnets
915
926
  # 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.
927
+ # your node group. If you specify `launchTemplate`, then don't
928
+ # specify [ `SubnetId` ][1] in your launch template, or the node group
929
+ # deployment will fail. For more information about using launch
930
+ # templates with Amazon EKS, see [Launch template support][2] in the
931
+ # Amazon EKS User Guide.
923
932
  #
924
933
  #
925
934
  #
@@ -1002,6 +1011,10 @@ module Aws::EKS
1002
1011
  # when they are created.
1003
1012
  # @return [Hash<String,String>]
1004
1013
  #
1014
+ # @!attribute [rw] taints
1015
+ # The Kubernetes taints to be applied to the nodes in the node group.
1016
+ # @return [Array<Types::Taint>]
1017
+ #
1005
1018
  # @!attribute [rw] tags
1006
1019
  # The metadata to apply to the node group to assist with
1007
1020
  # categorization and organization. Each tag consists of a key and an
@@ -1025,6 +1038,9 @@ module Aws::EKS
1025
1038
  # meets the requirements in `launchTemplateSpecification`.
1026
1039
  # @return [Types::LaunchTemplateSpecification]
1027
1040
  #
1041
+ # @!attribute [rw] update_config
1042
+ # @return [Types::NodegroupUpdateConfig]
1043
+ #
1028
1044
  # @!attribute [rw] capacity_type
1029
1045
  # The capacity type for your node group.
1030
1046
  # @return [String]
@@ -1073,9 +1089,11 @@ module Aws::EKS
1073
1089
  :remote_access,
1074
1090
  :node_role,
1075
1091
  :labels,
1092
+ :taints,
1076
1093
  :tags,
1077
1094
  :client_request_token,
1078
1095
  :launch_template,
1096
+ :update_config,
1079
1097
  :capacity_type,
1080
1098
  :version,
1081
1099
  :release_version)
@@ -1636,8 +1654,8 @@ module Aws::EKS
1636
1654
  # @return [Array<String>]
1637
1655
  #
1638
1656
  # @!attribute [rw] provider
1639
- # AWS Key Management Service (AWS KMS) customer master key (CMK).
1640
- # Either the ARN or the alias can be used.
1657
+ # AWS Key Management Service (AWS KMS) key. Either the ARN or the
1658
+ # alias can be used.
1641
1659
  # @return [Types::Provider]
1642
1660
  #
1643
1661
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/EncryptionConfig AWS API Documentation
@@ -2707,6 +2725,14 @@ module Aws::EKS
2707
2725
  # </note>
2708
2726
  # @return [Hash<String,String>]
2709
2727
  #
2728
+ # @!attribute [rw] taints
2729
+ # The Kubernetes taints to be applied to the nodes in the node group
2730
+ # when they are created. Effect is one of `NoSchedule`,
2731
+ # `PreferNoSchedule`, or `NoExecute`. Kubernetes taints can be used
2732
+ # together with tolerations to control how workloads are scheduled to
2733
+ # your nodes.
2734
+ # @return [Array<Types::Taint>]
2735
+ #
2710
2736
  # @!attribute [rw] resources
2711
2737
  # The resources associated with the node group, such as Auto Scaling
2712
2738
  # groups and security groups for remote access.
@@ -2723,6 +2749,9 @@ module Aws::EKS
2723
2749
  # node group's health, they are listed here.
2724
2750
  # @return [Types::NodegroupHealth]
2725
2751
  #
2752
+ # @!attribute [rw] update_config
2753
+ # @return [Types::NodegroupUpdateConfig]
2754
+ #
2726
2755
  # @!attribute [rw] launch_template
2727
2756
  # If a launch template was used to create the node group, then this is
2728
2757
  # the launch template that was used.
@@ -2755,9 +2784,11 @@ module Aws::EKS
2755
2784
  :ami_type,
2756
2785
  :node_role,
2757
2786
  :labels,
2787
+ :taints,
2758
2788
  :resources,
2759
2789
  :disk_size,
2760
2790
  :health,
2791
+ :update_config,
2761
2792
  :launch_template,
2762
2793
  :tags)
2763
2794
  SENSITIVE = []
@@ -2800,9 +2831,9 @@ module Aws::EKS
2800
2831
  end
2801
2832
 
2802
2833
  # 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.
2834
+ # Scaling group that is associated with your node group. When creating a
2835
+ # node group, you must specify all or none of the properties. When
2836
+ # updating a node group, you can specify any or none of the properties.
2806
2837
  #
2807
2838
  # @note When making an API call, you may pass NodegroupScalingConfig
2808
2839
  # data as a hash:
@@ -2844,6 +2875,29 @@ module Aws::EKS
2844
2875
  include Aws::Structure
2845
2876
  end
2846
2877
 
2878
+ # @note When making an API call, you may pass NodegroupUpdateConfig
2879
+ # data as a hash:
2880
+ #
2881
+ # {
2882
+ # max_unavailable: 1,
2883
+ # max_unavailable_percentage: 1,
2884
+ # }
2885
+ #
2886
+ # @!attribute [rw] max_unavailable
2887
+ # @return [Integer]
2888
+ #
2889
+ # @!attribute [rw] max_unavailable_percentage
2890
+ # @return [Integer]
2891
+ #
2892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/NodegroupUpdateConfig AWS API Documentation
2893
+ #
2894
+ class NodegroupUpdateConfig < Struct.new(
2895
+ :max_unavailable,
2896
+ :max_unavailable_percentage)
2897
+ SENSITIVE = []
2898
+ include Aws::Structure
2899
+ end
2900
+
2847
2901
  # A service resource associated with the request could not be found.
2848
2902
  # Clients should not retry such requests.
2849
2903
  #
@@ -3058,8 +3112,8 @@ module Aws::EKS
3058
3112
  include Aws::Structure
3059
3113
  end
3060
3114
 
3061
- # Identifies the AWS Key Management Service (AWS KMS) customer master
3062
- # key (CMK) used to encrypt the secrets.
3115
+ # Identifies the AWS Key Management Service (AWS KMS) key used to
3116
+ # encrypt the secrets.
3063
3117
  #
3064
3118
  # @note When making an API call, you may pass Provider
3065
3119
  # data as a hash:
@@ -3069,11 +3123,11 @@ module Aws::EKS
3069
3123
  # }
3070
3124
  #
3071
3125
  # @!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
3126
+ # Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must
3127
+ # be symmetric, created in the same region as the cluster, and if the
3128
+ # KMS key was created in a different account, the user must have
3129
+ # access to the KMS key. For more information, see [Allowing Users in
3130
+ # Other Accounts to Use a KMS key][1] in the *AWS Key Management
3077
3131
  # Service Developer Guide*.
3078
3132
  #
3079
3133
  #
@@ -3292,6 +3346,39 @@ module Aws::EKS
3292
3346
  #
3293
3347
  class TagResourceResponse < Aws::EmptyStructure; end
3294
3348
 
3349
+ # A property that allows a node to repel a set of pods.
3350
+ #
3351
+ # @note When making an API call, you may pass Taint
3352
+ # data as a hash:
3353
+ #
3354
+ # {
3355
+ # key: "taintKey",
3356
+ # value: "taintValue",
3357
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3358
+ # }
3359
+ #
3360
+ # @!attribute [rw] key
3361
+ # The key of the taint.
3362
+ # @return [String]
3363
+ #
3364
+ # @!attribute [rw] value
3365
+ # The value of the taint.
3366
+ # @return [String]
3367
+ #
3368
+ # @!attribute [rw] effect
3369
+ # The effect of the taint.
3370
+ # @return [String]
3371
+ #
3372
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Taint AWS API Documentation
3373
+ #
3374
+ class Taint < Struct.new(
3375
+ :key,
3376
+ :value,
3377
+ :effect)
3378
+ SENSITIVE = []
3379
+ include Aws::Structure
3380
+ end
3381
+
3295
3382
  # At least one of your specified cluster subnets is in an Availability
3296
3383
  # Zone that does not support Amazon EKS. The exception output specifies
3297
3384
  # the supported Availability Zones for your account, from which you can
@@ -3659,11 +3746,31 @@ module Aws::EKS
3659
3746
  # },
3660
3747
  # remove_labels: ["String"],
3661
3748
  # },
3749
+ # taints: {
3750
+ # add_or_update_taints: [
3751
+ # {
3752
+ # key: "taintKey",
3753
+ # value: "taintValue",
3754
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3755
+ # },
3756
+ # ],
3757
+ # remove_taints: [
3758
+ # {
3759
+ # key: "taintKey",
3760
+ # value: "taintValue",
3761
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3762
+ # },
3763
+ # ],
3764
+ # },
3662
3765
  # scaling_config: {
3663
3766
  # min_size: 1,
3664
3767
  # max_size: 1,
3665
3768
  # desired_size: 1,
3666
3769
  # },
3770
+ # update_config: {
3771
+ # max_unavailable: 1,
3772
+ # max_unavailable_percentage: 1,
3773
+ # },
3667
3774
  # client_request_token: "String",
3668
3775
  # }
3669
3776
  #
@@ -3681,11 +3788,19 @@ module Aws::EKS
3681
3788
  # after the update.
3682
3789
  # @return [Types::UpdateLabelsPayload]
3683
3790
  #
3791
+ # @!attribute [rw] taints
3792
+ # The Kubernetes taints to be applied to the nodes in the node group
3793
+ # after the update.
3794
+ # @return [Types::UpdateTaintsPayload]
3795
+ #
3684
3796
  # @!attribute [rw] scaling_config
3685
3797
  # The scaling configuration details for the Auto Scaling group after
3686
3798
  # the update.
3687
3799
  # @return [Types::NodegroupScalingConfig]
3688
3800
  #
3801
+ # @!attribute [rw] update_config
3802
+ # @return [Types::NodegroupUpdateConfig]
3803
+ #
3689
3804
  # @!attribute [rw] client_request_token
3690
3805
  # Unique, case-sensitive identifier that you provide to ensure the
3691
3806
  # idempotency of the request.
@@ -3700,7 +3815,9 @@ module Aws::EKS
3700
3815
  :cluster_name,
3701
3816
  :nodegroup_name,
3702
3817
  :labels,
3818
+ :taints,
3703
3819
  :scaling_config,
3820
+ :update_config,
3704
3821
  :client_request_token)
3705
3822
  SENSITIVE = []
3706
3823
  include Aws::Structure
@@ -3845,6 +3962,45 @@ module Aws::EKS
3845
3962
  include Aws::Structure
3846
3963
  end
3847
3964
 
3965
+ # An object representing the details of an update to a taints payload.
3966
+ #
3967
+ # @note When making an API call, you may pass UpdateTaintsPayload
3968
+ # data as a hash:
3969
+ #
3970
+ # {
3971
+ # add_or_update_taints: [
3972
+ # {
3973
+ # key: "taintKey",
3974
+ # value: "taintValue",
3975
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3976
+ # },
3977
+ # ],
3978
+ # remove_taints: [
3979
+ # {
3980
+ # key: "taintKey",
3981
+ # value: "taintValue",
3982
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3983
+ # },
3984
+ # ],
3985
+ # }
3986
+ #
3987
+ # @!attribute [rw] add_or_update_taints
3988
+ # Kubernetes taints to be added or updated.
3989
+ # @return [Array<Types::Taint>]
3990
+ #
3991
+ # @!attribute [rw] remove_taints
3992
+ # Kubernetes taints to be removed.
3993
+ # @return [Array<Types::Taint>]
3994
+ #
3995
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateTaintsPayload AWS API Documentation
3996
+ #
3997
+ class UpdateTaintsPayload < Struct.new(
3998
+ :add_or_update_taints,
3999
+ :remove_taints)
4000
+ SENSITIVE = []
4001
+ include Aws::Structure
4002
+ end
4003
+
3848
4004
  # An object representing the VPC configuration to use for an Amazon EKS
3849
4005
  # cluster.
3850
4006
  #
@@ -67,14 +67,16 @@ module Aws::EKS
67
67
  # The following table lists the valid waiter names, the operations they call,
68
68
  # and the default `:delay` and `:max_attempts` values.
69
69
  #
70
- # | waiter_name | params | :delay | :max_attempts |
71
- # | ----------------- | --------------------------- | -------- | ------------- |
72
- # | addon_active | {Client#describe_addon} | 10 | 60 |
73
- # | addon_deleted | {Client#describe_addon} | 10 | 60 |
74
- # | cluster_active | {Client#describe_cluster} | 30 | 40 |
75
- # | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
76
- # | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
77
- # | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
70
+ # | waiter_name | params | :delay | :max_attempts |
71
+ # | ----------------------- | --------------------------------- | -------- | ------------- |
72
+ # | addon_active | {Client#describe_addon} | 10 | 60 |
73
+ # | addon_deleted | {Client#describe_addon} | 10 | 60 |
74
+ # | cluster_active | {Client#describe_cluster} | 30 | 40 |
75
+ # | cluster_deleted | {Client#describe_cluster} | 30 | 40 |
76
+ # | fargate_profile_active | {Client#describe_fargate_profile} | 10 | 60 |
77
+ # | fargate_profile_deleted | {Client#describe_fargate_profile} | 30 | 60 |
78
+ # | nodegroup_active | {Client#describe_nodegroup} | 30 | 80 |
79
+ # | nodegroup_deleted | {Client#describe_nodegroup} | 30 | 40 |
78
80
  #
79
81
  module Waiters
80
82
 
@@ -100,6 +102,12 @@ module Aws::EKS
100
102
  "state" => "failure",
101
103
  "argument" => "addon.status"
102
104
  },
105
+ {
106
+ "expected" => "DEGRADED",
107
+ "matcher" => "path",
108
+ "state" => "failure",
109
+ "argument" => "addon.status"
110
+ },
103
111
  {
104
112
  "expected" => "ACTIVE",
105
113
  "matcher" => "path",
@@ -264,6 +272,93 @@ module Aws::EKS
264
272
 
265
273
  end
266
274
 
275
+ class FargateProfileActive
276
+
277
+ # @param [Hash] options
278
+ # @option options [required, Client] :client
279
+ # @option options [Integer] :max_attempts (60)
280
+ # @option options [Integer] :delay (10)
281
+ # @option options [Proc] :before_attempt
282
+ # @option options [Proc] :before_wait
283
+ def initialize(options)
284
+ @client = options.fetch(:client)
285
+ @waiter = Aws::Waiters::Waiter.new({
286
+ max_attempts: 60,
287
+ delay: 10,
288
+ poller: Aws::Waiters::Poller.new(
289
+ operation_name: :describe_fargate_profile,
290
+ acceptors: [
291
+ {
292
+ "expected" => "CREATE_FAILED",
293
+ "matcher" => "path",
294
+ "state" => "failure",
295
+ "argument" => "fargate_profile.status"
296
+ },
297
+ {
298
+ "expected" => "ACTIVE",
299
+ "matcher" => "path",
300
+ "state" => "success",
301
+ "argument" => "fargate_profile.status"
302
+ }
303
+ ]
304
+ )
305
+ }.merge(options))
306
+ end
307
+
308
+ # @option (see Client#describe_fargate_profile)
309
+ # @return (see Client#describe_fargate_profile)
310
+ def wait(params = {})
311
+ @waiter.wait(client: @client, params: params)
312
+ end
313
+
314
+ # @api private
315
+ attr_reader :waiter
316
+
317
+ end
318
+
319
+ class FargateProfileDeleted
320
+
321
+ # @param [Hash] options
322
+ # @option options [required, Client] :client
323
+ # @option options [Integer] :max_attempts (60)
324
+ # @option options [Integer] :delay (30)
325
+ # @option options [Proc] :before_attempt
326
+ # @option options [Proc] :before_wait
327
+ def initialize(options)
328
+ @client = options.fetch(:client)
329
+ @waiter = Aws::Waiters::Waiter.new({
330
+ max_attempts: 60,
331
+ delay: 30,
332
+ poller: Aws::Waiters::Poller.new(
333
+ operation_name: :describe_fargate_profile,
334
+ acceptors: [
335
+ {
336
+ "expected" => "DELETE_FAILED",
337
+ "matcher" => "path",
338
+ "state" => "failure",
339
+ "argument" => "fargate_profile.status"
340
+ },
341
+ {
342
+ "expected" => "ResourceNotFoundException",
343
+ "matcher" => "error",
344
+ "state" => "success"
345
+ }
346
+ ]
347
+ )
348
+ }.merge(options))
349
+ end
350
+
351
+ # @option (see Client#describe_fargate_profile)
352
+ # @return (see Client#describe_fargate_profile)
353
+ def wait(params = {})
354
+ @waiter.wait(client: @client, params: params)
355
+ end
356
+
357
+ # @api private
358
+ attr_reader :waiter
359
+
360
+ end
361
+
267
362
  class NodegroupActive
268
363
 
269
364
  # @param [Hash] options
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.52.0
4
+ version: 1.57.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-04-26 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core