aws-sdk-eks 1.52.0 → 1.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5df0a5a75f8853fc52ee2af6d25aa1392e1e23562f76a2b7711cd852f06132ec
4
- data.tar.gz: 05c05c7b276b3834528694b337153c1f4c6e5bfac141367aee87cc1aa458847c
3
+ metadata.gz: 0cd2afed6f118b42ad0a04c3bcf246e5bf31d2cf088b7a029c4740bb49cc2092
4
+ data.tar.gz: 7d9454707d63d035d814da9a8c0bf05a7fa7184ec30c35bbf8334ae6e4ef75c8
5
5
  SHA512:
6
- metadata.gz: 0c0f2346b4a7624b4ec537a663452acfc1c7cafa5abcc96ecf10f67e35a8ee9bdd8f7b123bfbaae8d4d8cc9bab5f5d4cca2c8691bb14bcb279353b2eb4f9903c
7
- data.tar.gz: 8ddb482a808feba47203e8baa702d6133a34c40f9dd24257d2d390061adb58c27b87a904267264794fd672d9bc693b0277a684428c85196b1c595eb8f0ed4ec0
6
+ metadata.gz: d1601f0c003d59c7e96c6b8428d5376e531783e186c248548c983f6de275f71e4106d25293d32afed5e1afce59f7cfe08bb76a087cba2a9272598d7e3db553f8
7
+ data.tar.gz: 84898579adeffab2a151115c53f1bec6e2bb2a6e7be97e9dcd0a04d04ca372cc0c49f545bf5aafe3b930effda64991acb1b1937d9e955532d3d43b7ef7614d03
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2021-05-10)
5
+ ------------------
6
+
7
+ * Feature - This release updates create-nodegroup and update-nodegroup-config APIs for adding/updating taints on managed nodegroups.
8
+
4
9
  1.52.0 (2021-04-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.53.0
data/lib/aws-sdk-eks.rb CHANGED
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-eks/customizations'
49
49
  # @!group service
50
50
  module Aws::EKS
51
51
 
52
- GEM_VERSION = '1.52.0'
52
+ GEM_VERSION = '1.53.0'
53
53
 
54
54
  end
@@ -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", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
376
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
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", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
460
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
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. These subnets must have the tag key
977
- # `kubernetes.io/cluster/CLUSTER_NAME` with a value of `shared`, where
978
- # `CLUSTER_NAME` is replaced with the name of your cluster. If you
979
- # specify `launchTemplate`, then don't specify [ `SubnetId` ][1] in
980
- # your launch template, or the node group deployment will fail. For more
981
- # information about using launch templates with Amazon EKS, see [Launch
982
- # template support][2] in the Amazon EKS User Guide.
976
+ # node group. If you specify `launchTemplate`, then don't specify [
977
+ # `SubnetId` ][1] in your launch template, or the node group deployment
978
+ # will fail. For more information about using launch templates with
979
+ # Amazon EKS, see [Launch template support][2] in the Amazon EKS User
980
+ # Guide.
983
981
  #
984
982
  #
985
983
  #
@@ -1055,6 +1053,9 @@ module Aws::EKS
1055
1053
  # The Kubernetes labels to be applied to the nodes in the node group
1056
1054
  # when they are created.
1057
1055
  #
1056
+ # @option params [Array<Types::Taint>] :taints
1057
+ # The Kubernetes taints to be applied to the nodes in the node group.
1058
+ #
1058
1059
  # @option params [Hash<String,String>] :tags
1059
1060
  # The metadata to apply to the node group to assist with categorization
1060
1061
  # and organization. Each tag consists of a key and an optional value,
@@ -1133,6 +1134,13 @@ module Aws::EKS
1133
1134
  # labels: {
1134
1135
  # "labelKey" => "labelValue",
1135
1136
  # },
1137
+ # taints: [
1138
+ # {
1139
+ # key: "taintKey",
1140
+ # value: "taintValue",
1141
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
1142
+ # },
1143
+ # ],
1136
1144
  # tags: {
1137
1145
  # "TagKey" => "TagValue",
1138
1146
  # },
@@ -1172,6 +1180,10 @@ module Aws::EKS
1172
1180
  # resp.nodegroup.node_role #=> String
1173
1181
  # resp.nodegroup.labels #=> Hash
1174
1182
  # resp.nodegroup.labels["labelKey"] #=> String
1183
+ # resp.nodegroup.taints #=> Array
1184
+ # resp.nodegroup.taints[0].key #=> String
1185
+ # resp.nodegroup.taints[0].value #=> String
1186
+ # resp.nodegroup.taints[0].effect #=> String, one of "NO_SCHEDULE", "NO_EXECUTE", "PREFER_NO_SCHEDULE"
1175
1187
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1176
1188
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1177
1189
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1439,6 +1451,10 @@ module Aws::EKS
1439
1451
  # resp.nodegroup.node_role #=> String
1440
1452
  # resp.nodegroup.labels #=> Hash
1441
1453
  # resp.nodegroup.labels["labelKey"] #=> String
1454
+ # resp.nodegroup.taints #=> Array
1455
+ # resp.nodegroup.taints[0].key #=> String
1456
+ # resp.nodegroup.taints[0].value #=> String
1457
+ # resp.nodegroup.taints[0].effect #=> String, one of "NO_SCHEDULE", "NO_EXECUTE", "PREFER_NO_SCHEDULE"
1442
1458
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1443
1459
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1444
1460
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1844,6 +1860,10 @@ module Aws::EKS
1844
1860
  # resp.nodegroup.node_role #=> String
1845
1861
  # resp.nodegroup.labels #=> Hash
1846
1862
  # resp.nodegroup.labels["labelKey"] #=> String
1863
+ # resp.nodegroup.taints #=> Array
1864
+ # resp.nodegroup.taints[0].key #=> String
1865
+ # resp.nodegroup.taints[0].value #=> String
1866
+ # resp.nodegroup.taints[0].effect #=> String, one of "NO_SCHEDULE", "NO_EXECUTE", "PREFER_NO_SCHEDULE"
1847
1867
  # resp.nodegroup.resources.auto_scaling_groups #=> Array
1848
1868
  # resp.nodegroup.resources.auto_scaling_groups[0].name #=> String
1849
1869
  # resp.nodegroup.resources.remote_access_security_group #=> String
@@ -1917,7 +1937,7 @@ module Aws::EKS
1917
1937
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
1918
1938
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
1919
1939
  # resp.update.params #=> Array
1920
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1940
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1921
1941
  # resp.update.params[0].value #=> String
1922
1942
  # resp.update.created_at #=> Time
1923
1943
  # resp.update.errors #=> Array
@@ -1974,7 +1994,7 @@ module Aws::EKS
1974
1994
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
1975
1995
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
1976
1996
  # resp.update.params #=> Array
1977
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1997
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
1978
1998
  # resp.update.params[0].value #=> String
1979
1999
  # resp.update.created_at #=> Time
1980
2000
  # resp.update.errors #=> Array
@@ -2528,7 +2548,7 @@ module Aws::EKS
2528
2548
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2529
2549
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2530
2550
  # resp.update.params #=> Array
2531
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2551
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2532
2552
  # resp.update.params[0].value #=> String
2533
2553
  # resp.update.created_at #=> Time
2534
2554
  # resp.update.errors #=> Array
@@ -2569,8 +2589,8 @@ module Aws::EKS
2569
2589
  # more information, see [Amazon EKS Cluster Endpoint Access Control][3]
2570
2590
  # in the <i> <i>Amazon EKS User Guide</i> </i>.
2571
2591
  #
2572
- # At this time, you can not update the subnets or security group IDs for
2573
- # an existing cluster.
2592
+ # You can't update the subnets or security group IDs for an existing
2593
+ # cluster.
2574
2594
  #
2575
2595
  # Cluster updates are asynchronous, and they should finish within a few
2576
2596
  # minutes. During an update, the cluster status moves to `UPDATING`
@@ -2648,7 +2668,7 @@ module Aws::EKS
2648
2668
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2649
2669
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2650
2670
  # resp.update.params #=> Array
2651
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2671
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2652
2672
  # resp.update.params[0].value #=> String
2653
2673
  # resp.update.created_at #=> Time
2654
2674
  # resp.update.errors #=> Array
@@ -2712,7 +2732,7 @@ module Aws::EKS
2712
2732
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2713
2733
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2714
2734
  # resp.update.params #=> Array
2715
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2735
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2716
2736
  # resp.update.params[0].value #=> String
2717
2737
  # resp.update.created_at #=> Time
2718
2738
  # resp.update.errors #=> Array
@@ -2748,6 +2768,10 @@ module Aws::EKS
2748
2768
  # The Kubernetes labels to be applied to the nodes in the node group
2749
2769
  # after the update.
2750
2770
  #
2771
+ # @option params [Types::UpdateTaintsPayload] :taints
2772
+ # The Kubernetes taints to be applied to the nodes in the node group
2773
+ # after the update.
2774
+ #
2751
2775
  # @option params [Types::NodegroupScalingConfig] :scaling_config
2752
2776
  # The scaling configuration details for the Auto Scaling group after the
2753
2777
  # update.
@@ -2774,6 +2798,22 @@ module Aws::EKS
2774
2798
  # },
2775
2799
  # remove_labels: ["String"],
2776
2800
  # },
2801
+ # taints: {
2802
+ # add_or_update_taints: [
2803
+ # {
2804
+ # key: "taintKey",
2805
+ # value: "taintValue",
2806
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
2807
+ # },
2808
+ # ],
2809
+ # remove_taints: [
2810
+ # {
2811
+ # key: "taintKey",
2812
+ # value: "taintValue",
2813
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
2814
+ # },
2815
+ # ],
2816
+ # },
2777
2817
  # scaling_config: {
2778
2818
  # min_size: 1,
2779
2819
  # max_size: 1,
@@ -2788,7 +2828,7 @@ module Aws::EKS
2788
2828
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2789
2829
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2790
2830
  # resp.update.params #=> Array
2791
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2831
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2792
2832
  # resp.update.params[0].value #=> String
2793
2833
  # resp.update.created_at #=> Time
2794
2834
  # resp.update.errors #=> Array
@@ -2919,7 +2959,7 @@ module Aws::EKS
2919
2959
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
2920
2960
  # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate"
2921
2961
  # resp.update.params #=> Array
2922
- # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2962
+ # resp.update.params[0].type #=> String, one of "Version", "PlatformVersion", "EndpointPrivateAccess", "EndpointPublicAccess", "ClusterLogging", "DesiredSize", "LabelsToAdd", "LabelsToRemove", "TaintsToAdd", "TaintsToRemove", "MaxSize", "MinSize", "ReleaseVersion", "PublicAccessCidrs", "LaunchTemplateName", "LaunchTemplateVersion", "IdentityProviderConfig", "EncryptionConfig", "AddonVersion", "ServiceAccountRoleArn", "ResolveConflicts"
2923
2963
  # resp.update.params[0].value #=> String
2924
2964
  # resp.update.created_at #=> Time
2925
2965
  # resp.update.errors #=> Array
@@ -2950,7 +2990,7 @@ module Aws::EKS
2950
2990
  params: params,
2951
2991
  config: config)
2952
2992
  context[:gem_name] = 'aws-sdk-eks'
2953
- context[:gem_version] = '1.52.0'
2993
+ context[:gem_version] = '1.53.0'
2954
2994
  Seahorse::Client::Request.new(handlers, context)
2955
2995
  end
2956
2996
 
@@ -149,6 +149,8 @@ module Aws::EKS
149
149
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
150
150
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
151
151
  TagValue = Shapes::StringShape.new(name: 'TagValue')
152
+ Taint = Shapes::StructureShape.new(name: 'Taint')
153
+ TaintEffect = Shapes::StringShape.new(name: 'TaintEffect')
152
154
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
153
155
  UnsupportedAvailabilityZoneException = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZoneException')
154
156
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -169,6 +171,7 @@ module Aws::EKS
169
171
  UpdateParamType = Shapes::StringShape.new(name: 'UpdateParamType')
170
172
  UpdateParams = Shapes::ListShape.new(name: 'UpdateParams')
171
173
  UpdateStatus = Shapes::StringShape.new(name: 'UpdateStatus')
174
+ UpdateTaintsPayload = Shapes::StructureShape.new(name: 'UpdateTaintsPayload')
172
175
  UpdateType = Shapes::StringShape.new(name: 'UpdateType')
173
176
  VpcConfigRequest = Shapes::StructureShape.new(name: 'VpcConfigRequest')
174
177
  VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
@@ -181,6 +184,9 @@ module Aws::EKS
181
184
  requiredClaimsKey = Shapes::StringShape.new(name: 'requiredClaimsKey')
182
185
  requiredClaimsMap = Shapes::MapShape.new(name: 'requiredClaimsMap')
183
186
  requiredClaimsValue = Shapes::StringShape.new(name: 'requiredClaimsValue')
187
+ taintKey = Shapes::StringShape.new(name: 'taintKey')
188
+ taintValue = Shapes::StringShape.new(name: 'taintValue')
189
+ taintsList = Shapes::ListShape.new(name: 'taintsList')
184
190
 
185
191
  Addon.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
186
192
  Addon.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, location_name: "clusterName"))
@@ -326,6 +332,7 @@ module Aws::EKS
326
332
  CreateNodegroupRequest.add_member(:remote_access, Shapes::ShapeRef.new(shape: RemoteAccessConfig, location_name: "remoteAccess"))
327
333
  CreateNodegroupRequest.add_member(:node_role, Shapes::ShapeRef.new(shape: String, required: true, location_name: "nodeRole"))
328
334
  CreateNodegroupRequest.add_member(:labels, Shapes::ShapeRef.new(shape: labelsMap, location_name: "labels"))
335
+ CreateNodegroupRequest.add_member(:taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "taints"))
329
336
  CreateNodegroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
330
337
  CreateNodegroupRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
331
338
  CreateNodegroupRequest.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "launchTemplate"))
@@ -589,6 +596,7 @@ module Aws::EKS
589
596
  Nodegroup.add_member(:ami_type, Shapes::ShapeRef.new(shape: AMITypes, location_name: "amiType"))
590
597
  Nodegroup.add_member(:node_role, Shapes::ShapeRef.new(shape: String, location_name: "nodeRole"))
591
598
  Nodegroup.add_member(:labels, Shapes::ShapeRef.new(shape: labelsMap, location_name: "labels"))
599
+ Nodegroup.add_member(:taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "taints"))
592
600
  Nodegroup.add_member(:resources, Shapes::ShapeRef.new(shape: NodegroupResources, location_name: "resources"))
593
601
  Nodegroup.add_member(:disk_size, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "diskSize"))
594
602
  Nodegroup.add_member(:health, Shapes::ShapeRef.new(shape: NodegroupHealth, location_name: "health"))
@@ -685,6 +693,11 @@ module Aws::EKS
685
693
 
686
694
  TagResourceResponse.struct_class = Types::TagResourceResponse
687
695
 
696
+ Taint.add_member(:key, Shapes::ShapeRef.new(shape: taintKey, location_name: "key"))
697
+ Taint.add_member(:value, Shapes::ShapeRef.new(shape: taintValue, location_name: "value"))
698
+ Taint.add_member(:effect, Shapes::ShapeRef.new(shape: TaintEffect, location_name: "effect"))
699
+ Taint.struct_class = Types::Taint
700
+
688
701
  UnsupportedAvailabilityZoneException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
689
702
  UnsupportedAvailabilityZoneException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
690
703
  UnsupportedAvailabilityZoneException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
@@ -740,6 +753,7 @@ module Aws::EKS
740
753
  UpdateNodegroupConfigRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
741
754
  UpdateNodegroupConfigRequest.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "nodegroupName"))
742
755
  UpdateNodegroupConfigRequest.add_member(:labels, Shapes::ShapeRef.new(shape: UpdateLabelsPayload, location_name: "labels"))
756
+ UpdateNodegroupConfigRequest.add_member(:taints, Shapes::ShapeRef.new(shape: UpdateTaintsPayload, location_name: "taints"))
743
757
  UpdateNodegroupConfigRequest.add_member(:scaling_config, Shapes::ShapeRef.new(shape: NodegroupScalingConfig, location_name: "scalingConfig"))
744
758
  UpdateNodegroupConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
745
759
  UpdateNodegroupConfigRequest.struct_class = Types::UpdateNodegroupConfigRequest
@@ -765,6 +779,10 @@ module Aws::EKS
765
779
 
766
780
  UpdateParams.member = Shapes::ShapeRef.new(shape: UpdateParam)
767
781
 
782
+ UpdateTaintsPayload.add_member(:add_or_update_taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "addOrUpdateTaints"))
783
+ UpdateTaintsPayload.add_member(:remove_taints, Shapes::ShapeRef.new(shape: taintsList, location_name: "removeTaints"))
784
+ UpdateTaintsPayload.struct_class = Types::UpdateTaintsPayload
785
+
768
786
  VpcConfigRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "subnetIds"))
769
787
  VpcConfigRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "securityGroupIds"))
770
788
  VpcConfigRequest.add_member(:endpoint_public_access, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "endpointPublicAccess"))
@@ -789,6 +807,8 @@ module Aws::EKS
789
807
  requiredClaimsMap.key = Shapes::ShapeRef.new(shape: requiredClaimsKey)
790
808
  requiredClaimsMap.value = Shapes::ShapeRef.new(shape: requiredClaimsValue)
791
809
 
810
+ taintsList.member = Shapes::ShapeRef.new(shape: Taint)
811
+
792
812
 
793
813
  # @api private
794
814
  API = Seahorse::Model::Api.new.tap do |api|
@@ -50,9 +50,9 @@ module Aws::EKS
50
50
  # @return [String]
51
51
  #
52
52
  # @!attribute [rw] tags
53
- # The metadata that you apply to the cluster to assist with
53
+ # The metadata that you apply to the add-on to assist with
54
54
  # categorization and organization. Each tag consists of a key and an
55
- # optional value, both of which you define. Cluster tags do not
55
+ # optional value, both of which you define. Add-on tags do not
56
56
  # propagate to any other resources associated with the cluster.
57
57
  # @return [Hash<String,String>]
58
58
  #
@@ -872,6 +872,13 @@ module Aws::EKS
872
872
  # labels: {
873
873
  # "labelKey" => "labelValue",
874
874
  # },
875
+ # taints: [
876
+ # {
877
+ # key: "taintKey",
878
+ # value: "taintValue",
879
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
880
+ # },
881
+ # ],
875
882
  # tags: {
876
883
  # "TagKey" => "TagValue",
877
884
  # },
@@ -913,13 +920,11 @@ module Aws::EKS
913
920
  #
914
921
  # @!attribute [rw] subnets
915
922
  # The subnets to use for the Auto Scaling group that is created for
916
- # your node group. These subnets must have the tag key
917
- # `kubernetes.io/cluster/CLUSTER_NAME` with a value of `shared`, where
918
- # `CLUSTER_NAME` is replaced with the name of your cluster. If you
919
- # specify `launchTemplate`, then don't specify [ `SubnetId` ][1] in
920
- # your launch template, or the node group deployment will fail. For
921
- # more information about using launch templates with Amazon EKS, see
922
- # [Launch template support][2] in the Amazon EKS User Guide.
923
+ # your node group. If you specify `launchTemplate`, then don't
924
+ # specify [ `SubnetId` ][1] in your launch template, or the node group
925
+ # deployment will fail. For more information about using launch
926
+ # templates with Amazon EKS, see [Launch template support][2] in the
927
+ # Amazon EKS User Guide.
923
928
  #
924
929
  #
925
930
  #
@@ -1002,6 +1007,10 @@ module Aws::EKS
1002
1007
  # when they are created.
1003
1008
  # @return [Hash<String,String>]
1004
1009
  #
1010
+ # @!attribute [rw] taints
1011
+ # The Kubernetes taints to be applied to the nodes in the node group.
1012
+ # @return [Array<Types::Taint>]
1013
+ #
1005
1014
  # @!attribute [rw] tags
1006
1015
  # The metadata to apply to the node group to assist with
1007
1016
  # categorization and organization. Each tag consists of a key and an
@@ -1073,6 +1082,7 @@ module Aws::EKS
1073
1082
  :remote_access,
1074
1083
  :node_role,
1075
1084
  :labels,
1085
+ :taints,
1076
1086
  :tags,
1077
1087
  :client_request_token,
1078
1088
  :launch_template,
@@ -1636,8 +1646,8 @@ module Aws::EKS
1636
1646
  # @return [Array<String>]
1637
1647
  #
1638
1648
  # @!attribute [rw] provider
1639
- # AWS Key Management Service (AWS KMS) customer master key (CMK).
1640
- # Either the ARN or the alias can be used.
1649
+ # AWS Key Management Service (AWS KMS) key. Either the ARN or the
1650
+ # alias can be used.
1641
1651
  # @return [Types::Provider]
1642
1652
  #
1643
1653
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/EncryptionConfig AWS API Documentation
@@ -2707,6 +2717,14 @@ module Aws::EKS
2707
2717
  # </note>
2708
2718
  # @return [Hash<String,String>]
2709
2719
  #
2720
+ # @!attribute [rw] taints
2721
+ # The Kubernetes taints to be applied to the nodes in the node group
2722
+ # when they are created. Effect is one of `NoSchedule`,
2723
+ # `PreferNoSchedule`, or `NoExecute`. Kubernetes taints can be used
2724
+ # together with tolerations to control how workloads are scheduled to
2725
+ # your nodes.
2726
+ # @return [Array<Types::Taint>]
2727
+ #
2710
2728
  # @!attribute [rw] resources
2711
2729
  # The resources associated with the node group, such as Auto Scaling
2712
2730
  # groups and security groups for remote access.
@@ -2755,6 +2773,7 @@ module Aws::EKS
2755
2773
  :ami_type,
2756
2774
  :node_role,
2757
2775
  :labels,
2776
+ :taints,
2758
2777
  :resources,
2759
2778
  :disk_size,
2760
2779
  :health,
@@ -2800,9 +2819,9 @@ module Aws::EKS
2800
2819
  end
2801
2820
 
2802
2821
  # An object representing the scaling configuration details for the Auto
2803
- # Scaling group that is associated with your node group. If you specify
2804
- # a value for any property, then you must specify values for all of the
2805
- # properties.
2822
+ # Scaling group that is associated with your node group. When creating a
2823
+ # node group, you must specify all or none of the properties. When
2824
+ # updating a node group, you can specify any or none of the properties.
2806
2825
  #
2807
2826
  # @note When making an API call, you may pass NodegroupScalingConfig
2808
2827
  # data as a hash:
@@ -3058,8 +3077,8 @@ module Aws::EKS
3058
3077
  include Aws::Structure
3059
3078
  end
3060
3079
 
3061
- # Identifies the AWS Key Management Service (AWS KMS) customer master
3062
- # key (CMK) used to encrypt the secrets.
3080
+ # Identifies the AWS Key Management Service (AWS KMS) key used to
3081
+ # encrypt the secrets.
3063
3082
  #
3064
3083
  # @note When making an API call, you may pass Provider
3065
3084
  # data as a hash:
@@ -3069,11 +3088,11 @@ module Aws::EKS
3069
3088
  # }
3070
3089
  #
3071
3090
  # @!attribute [rw] key_arn
3072
- # Amazon Resource Name (ARN) or alias of the customer master key
3073
- # (CMK). The CMK must be symmetric, created in the same region as the
3074
- # cluster, and if the CMK was created in a different account, the user
3075
- # must have access to the CMK. For more information, see [Allowing
3076
- # Users in Other Accounts to Use a CMK][1] in the *AWS Key Management
3091
+ # Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must
3092
+ # be symmetric, created in the same region as the cluster, and if the
3093
+ # KMS key was created in a different account, the user must have
3094
+ # access to the KMS key. For more information, see [Allowing Users in
3095
+ # Other Accounts to Use a KMS key][1] in the *AWS Key Management
3077
3096
  # Service Developer Guide*.
3078
3097
  #
3079
3098
  #
@@ -3292,6 +3311,39 @@ module Aws::EKS
3292
3311
  #
3293
3312
  class TagResourceResponse < Aws::EmptyStructure; end
3294
3313
 
3314
+ # A property that allows a node to repel a set of pods.
3315
+ #
3316
+ # @note When making an API call, you may pass Taint
3317
+ # data as a hash:
3318
+ #
3319
+ # {
3320
+ # key: "taintKey",
3321
+ # value: "taintValue",
3322
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3323
+ # }
3324
+ #
3325
+ # @!attribute [rw] key
3326
+ # The key of the taint.
3327
+ # @return [String]
3328
+ #
3329
+ # @!attribute [rw] value
3330
+ # The value of the taint.
3331
+ # @return [String]
3332
+ #
3333
+ # @!attribute [rw] effect
3334
+ # The effect of the taint.
3335
+ # @return [String]
3336
+ #
3337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Taint AWS API Documentation
3338
+ #
3339
+ class Taint < Struct.new(
3340
+ :key,
3341
+ :value,
3342
+ :effect)
3343
+ SENSITIVE = []
3344
+ include Aws::Structure
3345
+ end
3346
+
3295
3347
  # At least one of your specified cluster subnets is in an Availability
3296
3348
  # Zone that does not support Amazon EKS. The exception output specifies
3297
3349
  # the supported Availability Zones for your account, from which you can
@@ -3659,6 +3711,22 @@ module Aws::EKS
3659
3711
  # },
3660
3712
  # remove_labels: ["String"],
3661
3713
  # },
3714
+ # taints: {
3715
+ # add_or_update_taints: [
3716
+ # {
3717
+ # key: "taintKey",
3718
+ # value: "taintValue",
3719
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3720
+ # },
3721
+ # ],
3722
+ # remove_taints: [
3723
+ # {
3724
+ # key: "taintKey",
3725
+ # value: "taintValue",
3726
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3727
+ # },
3728
+ # ],
3729
+ # },
3662
3730
  # scaling_config: {
3663
3731
  # min_size: 1,
3664
3732
  # max_size: 1,
@@ -3681,6 +3749,11 @@ module Aws::EKS
3681
3749
  # after the update.
3682
3750
  # @return [Types::UpdateLabelsPayload]
3683
3751
  #
3752
+ # @!attribute [rw] taints
3753
+ # The Kubernetes taints to be applied to the nodes in the node group
3754
+ # after the update.
3755
+ # @return [Types::UpdateTaintsPayload]
3756
+ #
3684
3757
  # @!attribute [rw] scaling_config
3685
3758
  # The scaling configuration details for the Auto Scaling group after
3686
3759
  # the update.
@@ -3700,6 +3773,7 @@ module Aws::EKS
3700
3773
  :cluster_name,
3701
3774
  :nodegroup_name,
3702
3775
  :labels,
3776
+ :taints,
3703
3777
  :scaling_config,
3704
3778
  :client_request_token)
3705
3779
  SENSITIVE = []
@@ -3845,6 +3919,45 @@ module Aws::EKS
3845
3919
  include Aws::Structure
3846
3920
  end
3847
3921
 
3922
+ # An object representing the details of an update to a taints payload.
3923
+ #
3924
+ # @note When making an API call, you may pass UpdateTaintsPayload
3925
+ # data as a hash:
3926
+ #
3927
+ # {
3928
+ # add_or_update_taints: [
3929
+ # {
3930
+ # key: "taintKey",
3931
+ # value: "taintValue",
3932
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3933
+ # },
3934
+ # ],
3935
+ # remove_taints: [
3936
+ # {
3937
+ # key: "taintKey",
3938
+ # value: "taintValue",
3939
+ # effect: "NO_SCHEDULE", # accepts NO_SCHEDULE, NO_EXECUTE, PREFER_NO_SCHEDULE
3940
+ # },
3941
+ # ],
3942
+ # }
3943
+ #
3944
+ # @!attribute [rw] add_or_update_taints
3945
+ # Kubernetes taints to be added or updated.
3946
+ # @return [Array<Types::Taint>]
3947
+ #
3948
+ # @!attribute [rw] remove_taints
3949
+ # Kubernetes taints to be removed.
3950
+ # @return [Array<Types::Taint>]
3951
+ #
3952
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateTaintsPayload AWS API Documentation
3953
+ #
3954
+ class UpdateTaintsPayload < Struct.new(
3955
+ :add_or_update_taints,
3956
+ :remove_taints)
3957
+ SENSITIVE = []
3958
+ include Aws::Structure
3959
+ end
3960
+
3848
3961
  # An object representing the VPC configuration to use for an Amazon EKS
3849
3962
  # cluster.
3850
3963
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-eks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.52.0
4
+ version: 1.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-26 00:00:00.000000000 Z
11
+ date: 2021-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core