aws-sdk-eks 1.50.0 → 1.55.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 +4 -4
- data/CHANGELOG.md +288 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-eks.rb +2 -2
- data/lib/aws-sdk-eks/client.rb +82 -24
- data/lib/aws-sdk-eks/client_api.rb +34 -3
- data/lib/aws-sdk-eks/errors.rb +1 -1
- data/lib/aws-sdk-eks/resource.rb +1 -1
- data/lib/aws-sdk-eks/types.rb +179 -23
- data/lib/aws-sdk-eks/waiters.rb +7 -1
- metadata +9 -7
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.55.0
|
data/lib/aws-sdk-eks.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-eks/customizations'
|
|
49
49
|
# @!group service
|
50
50
|
module Aws::EKS
|
51
51
|
|
52
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.55.0'
|
53
53
|
|
54
54
|
end
|
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -373,7 +373,7 @@ 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
|
@@ -457,7 +457,7 @@ 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
|
@@ -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
|
@@ -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
|
@@ -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,7 +1949,7 @@ 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
|
@@ -1974,7 +2006,7 @@ 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
|
@@ -2528,7 +2560,7 @@ 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
|
@@ -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,7 +2680,7 @@ 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
|
@@ -2712,7 +2744,7 @@ 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
|
@@ -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,7 +2846,7 @@ 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
|
@@ -2919,7 +2977,7 @@ 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
|
@@ -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.55.0'
|
2954
3012
|
Seahorse::Client::Request.new(handlers, context)
|
2955
3013
|
end
|
2956
3014
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -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/errors.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|