aws-sdk-eks 1.51.0 → 1.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks.rb +1 -1
- data/lib/aws-sdk-eks/client.rb +93 -35
- data/lib/aws-sdk-eks/client_api.rb +33 -2
- data/lib/aws-sdk-eks/types.rb +178 -22
- data/lib/aws-sdk-eks/waiters.rb +6 -0
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9f225f8f8ec2d3dfe3b05241fe6561454861c8121f6372ba8b922379835d1ef
|
4
|
+
data.tar.gz: 70179a868a3fe7f4ecbcea700c622de7d58faa76787f4b6227cb5469416f9f65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f297dbb8cf6688292c4ba6b54e7f246e50cba12a3ff5355bbd244fa357463bd6a3938d0f65fc39d786f87b78e774289eca99b67c9b3cdfad62c743e1243010ab
|
7
|
+
data.tar.gz: 4e2f784673e228e473d19269907e1deb492a319073f8da1f85d4dda376d712d8eae6f6fc03a3ad877da624151fe9ab622d19887833c96e93e787b93574b1a475
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.56.0 (2021-07-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding new error code UnsupportedAddonModification for Addons in EKS
|
8
|
+
|
9
|
+
1.55.0 (2021-06-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added updateConfig option that allows customers to control upgrade velocity in Managed Node Group.
|
13
|
+
|
14
|
+
1.54.0 (2021-05-19)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Update the EKS AddonActive waiter.
|
18
|
+
|
19
|
+
1.53.0 (2021-05-10)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release updates create-nodegroup and update-nodegroup-config APIs for adding/updating taints on managed nodegroups.
|
23
|
+
|
24
|
+
1.52.0 (2021-04-26)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - This release updates existing Amazon EKS input validation so customers will see an InvalidParameterException instead of a ParamValidationError when they enter 0 for minSize and/or desiredSize. It also adds LaunchTemplate information to update responses and a new "CUSTOM" value for AMIType.
|
28
|
+
|
4
29
|
1.51.0 (2021-03-10)
|
5
30
|
------------------
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.56.0
|
data/lib/aws-sdk-eks.rb
CHANGED
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -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", "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", "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.
|
977
|
-
# `
|
978
|
-
#
|
979
|
-
#
|
980
|
-
#
|
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
|
#
|
@@ -1124,7 +1127,7 @@ module Aws::EKS
|
|
1124
1127
|
# disk_size: 1,
|
1125
1128
|
# subnets: ["String"], # required
|
1126
1129
|
# instance_types: ["String"],
|
1127
|
-
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64
|
1130
|
+
# ami_type: "AL2_x86_64", # accepts AL2_x86_64, AL2_x86_64_GPU, AL2_ARM_64, CUSTOM
|
1128
1131
|
# remote_access: {
|
1129
1132
|
# ec2_ssh_key: "String",
|
1130
1133
|
# source_security_groups: ["String"],
|
@@ -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",
|
@@ -1168,10 +1182,14 @@ module Aws::EKS
|
|
1168
1182
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
1169
1183
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
1170
1184
|
# 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"
|
1185
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
|
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
|
@@ -1435,10 +1455,14 @@ module Aws::EKS
|
|
1435
1455
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
1436
1456
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
1437
1457
|
# 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"
|
1458
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
|
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
|
@@ -1840,10 +1866,14 @@ module Aws::EKS
|
|
1840
1866
|
# resp.nodegroup.remote_access.ec2_ssh_key #=> String
|
1841
1867
|
# resp.nodegroup.remote_access.source_security_groups #=> Array
|
1842
1868
|
# 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"
|
1869
|
+
# resp.nodegroup.ami_type #=> String, one of "AL2_x86_64", "AL2_x86_64_GPU", "AL2_ARM_64", "CUSTOM"
|
1844
1870
|
# resp.nodegroup.node_role #=> String
|
1845
1871
|
# resp.nodegroup.labels #=> Hash
|
1846
1872
|
# resp.nodegroup.labels["labelKey"] #=> String
|
1873
|
+
# resp.nodegroup.taints #=> Array
|
1874
|
+
# resp.nodegroup.taints[0].key #=> String
|
1875
|
+
# resp.nodegroup.taints[0].value #=> String
|
1876
|
+
# resp.nodegroup.taints[0].effect #=> String, one of "NO_SCHEDULE", "NO_EXECUTE", "PREFER_NO_SCHEDULE"
|
1847
1877
|
# resp.nodegroup.resources.auto_scaling_groups #=> Array
|
1848
1878
|
# resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
|
1849
1879
|
# resp.nodegroup.resources.remote_access_security_group #=> String
|
@@ -1853,6 +1883,8 @@ module Aws::EKS
|
|
1853
1883
|
# resp.nodegroup.health.issues[0].message #=> String
|
1854
1884
|
# resp.nodegroup.health.issues[0].resource_ids #=> Array
|
1855
1885
|
# resp.nodegroup.health.issues[0].resource_ids[0] #=> String
|
1886
|
+
# resp.nodegroup.update_config.max_unavailable #=> Integer
|
1887
|
+
# resp.nodegroup.update_config.max_unavailable_percentage #=> Integer
|
1856
1888
|
# resp.nodegroup.launch_template.name #=> String
|
1857
1889
|
# resp.nodegroup.launch_template.version #=> String
|
1858
1890
|
# resp.nodegroup.launch_template.id #=> String
|
@@ -1917,11 +1949,11 @@ module Aws::EKS
|
|
1917
1949
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
1918
1950
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
1919
1951
|
# 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"
|
1952
|
+
# 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
1953
|
# resp.update.params[0].value #=> String
|
1922
1954
|
# resp.update.created_at #=> Time
|
1923
1955
|
# 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"
|
1956
|
+
# 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
1957
|
# resp.update.errors[0].error_message #=> String
|
1926
1958
|
# resp.update.errors[0].resource_ids #=> Array
|
1927
1959
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -1974,11 +2006,11 @@ module Aws::EKS
|
|
1974
2006
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
1975
2007
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
1976
2008
|
# 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"
|
2009
|
+
# 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
2010
|
# resp.update.params[0].value #=> String
|
1979
2011
|
# resp.update.created_at #=> Time
|
1980
2012
|
# 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"
|
2013
|
+
# 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
2014
|
# resp.update.errors[0].error_message #=> String
|
1983
2015
|
# resp.update.errors[0].resource_ids #=> Array
|
1984
2016
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2528,11 +2560,11 @@ module Aws::EKS
|
|
2528
2560
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
2529
2561
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
2530
2562
|
# 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"
|
2563
|
+
# 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
2564
|
# resp.update.params[0].value #=> String
|
2533
2565
|
# resp.update.created_at #=> Time
|
2534
2566
|
# 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"
|
2567
|
+
# 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
2568
|
# resp.update.errors[0].error_message #=> String
|
2537
2569
|
# resp.update.errors[0].resource_ids #=> Array
|
2538
2570
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2569,8 +2601,8 @@ module Aws::EKS
|
|
2569
2601
|
# more information, see [Amazon EKS Cluster Endpoint Access Control][3]
|
2570
2602
|
# in the <i> <i>Amazon EKS User Guide</i> </i>.
|
2571
2603
|
#
|
2572
|
-
#
|
2573
|
-
#
|
2604
|
+
# You can't update the subnets or security group IDs for an existing
|
2605
|
+
# cluster.
|
2574
2606
|
#
|
2575
2607
|
# Cluster updates are asynchronous, and they should finish within a few
|
2576
2608
|
# minutes. During an update, the cluster status moves to `UPDATING`
|
@@ -2648,11 +2680,11 @@ module Aws::EKS
|
|
2648
2680
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
2649
2681
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
2650
2682
|
# 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"
|
2683
|
+
# 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
2684
|
# resp.update.params[0].value #=> String
|
2653
2685
|
# resp.update.created_at #=> Time
|
2654
2686
|
# 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"
|
2687
|
+
# 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
2688
|
# resp.update.errors[0].error_message #=> String
|
2657
2689
|
# resp.update.errors[0].resource_ids #=> Array
|
2658
2690
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2712,11 +2744,11 @@ module Aws::EKS
|
|
2712
2744
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
2713
2745
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
2714
2746
|
# 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"
|
2747
|
+
# 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
2748
|
# resp.update.params[0].value #=> String
|
2717
2749
|
# resp.update.created_at #=> Time
|
2718
2750
|
# 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"
|
2751
|
+
# 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
2752
|
# resp.update.errors[0].error_message #=> String
|
2721
2753
|
# resp.update.errors[0].resource_ids #=> Array
|
2722
2754
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2748,10 +2780,16 @@ module Aws::EKS
|
|
2748
2780
|
# The Kubernetes labels to be applied to the nodes in the node group
|
2749
2781
|
# after the update.
|
2750
2782
|
#
|
2783
|
+
# @option params [Types::UpdateTaintsPayload] :taints
|
2784
|
+
# The Kubernetes taints to be applied to the nodes in the node group
|
2785
|
+
# after the update.
|
2786
|
+
#
|
2751
2787
|
# @option params [Types::NodegroupScalingConfig] :scaling_config
|
2752
2788
|
# The scaling configuration details for the Auto Scaling group after the
|
2753
2789
|
# update.
|
2754
2790
|
#
|
2791
|
+
# @option params [Types::NodegroupUpdateConfig] :update_config
|
2792
|
+
#
|
2755
2793
|
# @option params [String] :client_request_token
|
2756
2794
|
# Unique, case-sensitive identifier that you provide to ensure the
|
2757
2795
|
# idempotency of the request.
|
@@ -2774,11 +2812,31 @@ module Aws::EKS
|
|
2774
2812
|
# },
|
2775
2813
|
# remove_labels: ["String"],
|
2776
2814
|
# },
|
2815
|
+
# taints: {
|
2816
|
+
# add_or_update_taints: [
|
2817
|
+
# {
|
2818
|
+
# key: "taintKey",
|
2819
|
+
# value: "taintValue",
|
2820
|
+
# effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
|
2821
|
+
# },
|
2822
|
+
# ],
|
2823
|
+
# remove_taints: [
|
2824
|
+
# {
|
2825
|
+
# key: "taintKey",
|
2826
|
+
# value: "taintValue",
|
2827
|
+
# effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
|
2828
|
+
# },
|
2829
|
+
# ],
|
2830
|
+
# },
|
2777
2831
|
# scaling_config: {
|
2778
2832
|
# min_size: 1,
|
2779
2833
|
# max_size: 1,
|
2780
2834
|
# desired_size: 1,
|
2781
2835
|
# },
|
2836
|
+
# update_config: {
|
2837
|
+
# max_unavailable: 1,
|
2838
|
+
# max_unavailable_percentage: 1,
|
2839
|
+
# },
|
2782
2840
|
# client_request_token: "String",
|
2783
2841
|
# })
|
2784
2842
|
#
|
@@ -2788,11 +2846,11 @@ module Aws::EKS
|
|
2788
2846
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
2789
2847
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
2790
2848
|
# 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"
|
2849
|
+
# 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
2850
|
# resp.update.params[0].value #=> String
|
2793
2851
|
# resp.update.created_at #=> Time
|
2794
2852
|
# 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"
|
2853
|
+
# 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
2854
|
# resp.update.errors[0].error_message #=> String
|
2797
2855
|
# resp.update.errors[0].resource_ids #=> Array
|
2798
2856
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2919,11 +2977,11 @@ module Aws::EKS
|
|
2919
2977
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
2920
2978
|
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
|
2921
2979
|
# 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"
|
2980
|
+
# 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
2981
|
# resp.update.params[0].value #=> String
|
2924
2982
|
# resp.update.created_at #=> Time
|
2925
2983
|
# 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"
|
2984
|
+
# 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
2985
|
# resp.update.errors[0].error_message #=> String
|
2928
2986
|
# resp.update.errors[0].resource_ids #=> Array
|
2929
2987
|
# resp.update.errors[0].resource_ids[0] #=> String
|
@@ -2950,7 +3008,7 @@ module Aws::EKS
|
|
2950
3008
|
params: params,
|
2951
3009
|
config: config)
|
2952
3010
|
context[:gem_name] = 'aws-sdk-eks'
|
2953
|
-
context[:gem_version] = '1.
|
3011
|
+
context[:gem_version] = '1.56.0'
|
2954
3012
|
Seahorse::Client::Request.new(handlers, context)
|
2955
3013
|
end
|
2956
3014
|
|
@@ -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,9 +174,11 @@ 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
|
+
ZeroCapacity = Shapes::IntegerShape.new(name: 'ZeroCapacity')
|
175
182
|
configStatus = Shapes::StringShape.new(name: 'configStatus')
|
176
183
|
labelKey = Shapes::StringShape.new(name: 'labelKey')
|
177
184
|
labelValue = Shapes::StringShape.new(name: 'labelValue')
|
@@ -180,6 +187,9 @@ module Aws::EKS
|
|
180
187
|
requiredClaimsKey = Shapes::StringShape.new(name: 'requiredClaimsKey')
|
181
188
|
requiredClaimsMap = Shapes::MapShape.new(name: 'requiredClaimsMap')
|
182
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')
|
183
193
|
|
184
194
|
Addon.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
|
185
195
|
Addon.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, location_name: "clusterName"))
|
@@ -325,9 +335,11 @@ module Aws::EKS
|
|
325
335
|
CreateNodegroupRequest.add_member(:remote_access, Shapes::ShapeRef.new(shape: RemoteAccessConfig, location_name: "remoteAccess"))
|
326
336
|
CreateNodegroupRequest.add_member(:node_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "nodeRole"))
|
327
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"))
|
328
339
|
CreateNodegroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
329
340
|
CreateNodegroupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
330
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"))
|
331
343
|
CreateNodegroupRequest.add_member(:capacity_type, Shapes::ShapeRef.new(shape: CapacityTypes, location_name: "capacityType"))
|
332
344
|
CreateNodegroupRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
|
333
345
|
CreateNodegroupRequest.add_member(:release_version, Shapes::ShapeRef.new(shape: String, location_name: "releaseVersion"))
|
@@ -588,9 +600,11 @@ module Aws::EKS
|
|
588
600
|
Nodegroup.add_member(:ami_type, Shapes::ShapeRef.new(shape: AMITypes, location_name: "amiType"))
|
589
601
|
Nodegroup.add_member(:node_role, Shapes::ShapeRef.new(shape: String, location_name: "nodeRole"))
|
590
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"))
|
591
604
|
Nodegroup.add_member(:resources, Shapes::ShapeRef.new(shape: NodegroupResources, location_name: "resources"))
|
592
605
|
Nodegroup.add_member(:disk_size, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "diskSize"))
|
593
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"))
|
594
608
|
Nodegroup.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
|
595
609
|
Nodegroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
596
610
|
Nodegroup.struct_class = Types::Nodegroup
|
@@ -602,11 +616,15 @@ module Aws::EKS
|
|
602
616
|
NodegroupResources.add_member(:remote_access_security_group, Shapes::ShapeRef.new(shape: String, location_name: "remoteAccessSecurityGroup"))
|
603
617
|
NodegroupResources.struct_class = Types::NodegroupResources
|
604
618
|
|
605
|
-
NodegroupScalingConfig.add_member(:min_size, Shapes::ShapeRef.new(shape:
|
619
|
+
NodegroupScalingConfig.add_member(:min_size, Shapes::ShapeRef.new(shape: ZeroCapacity, location_name: "minSize"))
|
606
620
|
NodegroupScalingConfig.add_member(:max_size, Shapes::ShapeRef.new(shape: Capacity, location_name: "maxSize"))
|
607
|
-
NodegroupScalingConfig.add_member(:desired_size, Shapes::ShapeRef.new(shape:
|
621
|
+
NodegroupScalingConfig.add_member(:desired_size, Shapes::ShapeRef.new(shape: ZeroCapacity, location_name: "desiredSize"))
|
608
622
|
NodegroupScalingConfig.struct_class = Types::NodegroupScalingConfig
|
609
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
|
+
|
610
628
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
611
629
|
NotFoundException.struct_class = Types::NotFoundException
|
612
630
|
|
@@ -684,6 +702,11 @@ module Aws::EKS
|
|
684
702
|
|
685
703
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
686
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
|
+
|
687
710
|
UnsupportedAvailabilityZoneException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
688
711
|
UnsupportedAvailabilityZoneException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
|
689
712
|
UnsupportedAvailabilityZoneException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
|
@@ -739,7 +762,9 @@ module Aws::EKS
|
|
739
762
|
UpdateNodegroupConfigRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
|
740
763
|
UpdateNodegroupConfigRequest.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "nodegroupName"))
|
741
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"))
|
742
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"))
|
743
768
|
UpdateNodegroupConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
744
769
|
UpdateNodegroupConfigRequest.struct_class = Types::UpdateNodegroupConfigRequest
|
745
770
|
|
@@ -764,6 +789,10 @@ module Aws::EKS
|
|
764
789
|
|
765
790
|
UpdateParams.member = Shapes::ShapeRef.new(shape: UpdateParam)
|
766
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
|
+
|
767
796
|
VpcConfigRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
|
768
797
|
VpcConfigRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "securityGroupIds"))
|
769
798
|
VpcConfigRequest.add_member(:endpoint_public_access, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "endpointPublicAccess"))
|
@@ -788,6 +817,8 @@ module Aws::EKS
|
|
788
817
|
requiredClaimsMap.key = Shapes::ShapeRef.new(shape: requiredClaimsKey)
|
789
818
|
requiredClaimsMap.value = Shapes::ShapeRef.new(shape: requiredClaimsValue)
|
790
819
|
|
820
|
+
taintsList.member = Shapes::ShapeRef.new(shape: Taint)
|
821
|
+
|
791
822
|
|
792
823
|
# @api private
|
793
824
|
API = Seahorse::Model::Api.new.tap do |api|
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -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
|
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.
|
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
|
# },
|
@@ -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.
|
917
|
-
# `
|
918
|
-
#
|
919
|
-
#
|
920
|
-
#
|
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)
|
1640
|
-
#
|
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.
|
2804
|
-
#
|
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)
|
3062
|
-
#
|
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
|
3073
|
-
#
|
3074
|
-
#
|
3075
|
-
#
|
3076
|
-
#
|
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
|
#
|
data/lib/aws-sdk-eks/waiters.rb
CHANGED
@@ -100,6 +100,12 @@ module Aws::EKS
|
|
100
100
|
"state" => "failure",
|
101
101
|
"argument" => "addon.status"
|
102
102
|
},
|
103
|
+
{
|
104
|
+
"expected" => "DEGRADED",
|
105
|
+
"matcher" => "path",
|
106
|
+
"state" => "failure",
|
107
|
+
"argument" => "addon.status"
|
108
|
+
},
|
103
109
|
{
|
104
110
|
"expected" => "ACTIVE",
|
105
111
|
"matcher" => "path",
|
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.
|
4
|
+
version: 1.56.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-
|
11
|
+
date: 2021-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -67,8 +67,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
67
67
|
licenses:
|
68
68
|
- Apache-2.0
|
69
69
|
metadata:
|
70
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
71
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-eks
|
71
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-eks/CHANGELOG.md
|
72
72
|
post_install_message:
|
73
73
|
rdoc_options: []
|
74
74
|
require_paths:
|
@@ -84,8 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
|
88
|
-
rubygems_version: 2.7.6.2
|
87
|
+
rubygems_version: 3.1.6
|
89
88
|
signing_key:
|
90
89
|
specification_version: 4
|
91
90
|
summary: AWS SDK for Ruby - Amazon EKS
|