aws-sdk-eks 1.118.0 → 1.120.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks/client.rb +92 -20
- data/lib/aws-sdk-eks/client_api.rb +11 -0
- data/lib/aws-sdk-eks/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-eks/endpoints.rb +2 -614
- data/lib/aws-sdk-eks/plugins/endpoints.rb +1 -118
- data/lib/aws-sdk-eks/types.rb +99 -4
- data/lib/aws-sdk-eks.rb +1 -1
- data/sig/client.rbs +6 -0
- data/sig/types.rbs +15 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f8730d5da450c893b97a36018113991c0c97e4183dba78efb9a9271b0485b2b
|
4
|
+
data.tar.gz: 5325b9c7898c705ce55595368b4afebaa65c2757b572dea59ef786a556373b1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27c00b0a3134140be1e9c2d3aaf5621aa5adea57e2f0adf945f2a679bdf435142cd013d3d197d6ff4cbd937fa75208881ba2c8e9994838052aac855f83cbd1ee
|
7
|
+
data.tar.gz: 2a19cb638973cf5a999deb5f3ba0ff00eaa2c6202145f9f5b05d4ed715aa1e5d05bc3ffad0a0337379598fc8c4164e96304b6dfe21d7d688104afe29dc8bbc9c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.120.0 (2024-10-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift with EKS that enhances the resiliency of multi-AZ cluster environments
|
8
|
+
|
9
|
+
1.119.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.118.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.120.0
|
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -552,9 +552,9 @@ module Aws::EKS
|
|
552
552
|
#
|
553
553
|
# resp.update.id #=> String
|
554
554
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
555
|
-
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate"
|
555
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate"
|
556
556
|
# resp.update.params #=> Array
|
557
|
-
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy"
|
557
|
+
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy", "ZonalShiftConfig"
|
558
558
|
# resp.update.params[0].value #=> String
|
559
559
|
# resp.update.created_at #=> Time
|
560
560
|
# resp.update.errors #=> Array
|
@@ -636,9 +636,9 @@ module Aws::EKS
|
|
636
636
|
#
|
637
637
|
# resp.update.id #=> String
|
638
638
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
639
|
-
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate"
|
639
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate"
|
640
640
|
# resp.update.params #=> Array
|
641
|
-
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy"
|
641
|
+
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy", "ZonalShiftConfig"
|
642
642
|
# resp.update.params[0].value #=> String
|
643
643
|
# resp.update.created_at #=> Time
|
644
644
|
# resp.update.errors #=> Array
|
@@ -1023,7 +1023,12 @@ module Aws::EKS
|
|
1023
1023
|
# [5]: https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html
|
1024
1024
|
#
|
1025
1025
|
# @option params [required, String] :name
|
1026
|
-
# The unique name to give to your cluster.
|
1026
|
+
# The unique name to give to your cluster. The name can contain only
|
1027
|
+
# alphanumeric characters (case-sensitive), hyphens, and underscores. It
|
1028
|
+
# must start with an alphanumeric character and can't be longer than
|
1029
|
+
# 100 characters. The name must be unique within the Amazon Web Services
|
1030
|
+
# Region and Amazon Web Services account that you're creating the
|
1031
|
+
# cluster in.
|
1027
1032
|
#
|
1028
1033
|
# @option params [String] :version
|
1029
1034
|
# The desired Kubernetes version for your cluster. If you don't specify
|
@@ -1124,6 +1129,32 @@ module Aws::EKS
|
|
1124
1129
|
# disable extended support when creating a cluster by setting this value
|
1125
1130
|
# to `STANDARD`.
|
1126
1131
|
#
|
1132
|
+
# @option params [Types::ZonalShiftConfigRequest] :zonal_shift_config
|
1133
|
+
# Enable or disable ARC zonal shift for the cluster. If zonal shift is
|
1134
|
+
# enabled, Amazon Web Services configures zonal autoshift for the
|
1135
|
+
# cluster.
|
1136
|
+
#
|
1137
|
+
# Zonal shift is a feature of Amazon Application Recovery Controller
|
1138
|
+
# (ARC). ARC zonal shift is designed to be a temporary measure that
|
1139
|
+
# allows you to move traffic for a resource away from an impaired AZ
|
1140
|
+
# until the zonal shift expires or you cancel it. You can extend the
|
1141
|
+
# zonal shift if necessary.
|
1142
|
+
#
|
1143
|
+
# You can start a zonal shift for an EKS cluster, or you can allow
|
1144
|
+
# Amazon Web Services to do it for you by enabling *zonal autoshift*.
|
1145
|
+
# This shift updates the flow of east-to-west network traffic in your
|
1146
|
+
# cluster to only consider network endpoints for Pods running on worker
|
1147
|
+
# nodes in healthy AZs. Additionally, any ALB or NLB handling ingress
|
1148
|
+
# traffic for applications in your EKS cluster will automatically route
|
1149
|
+
# traffic to targets in the healthy AZs. For more information about
|
1150
|
+
# zonal shift in EKS, see [Learn about Amazon Application Recovery
|
1151
|
+
# Controller (ARC) Zonal Shift in Amazon EKS][1] in the <i> <i>Amazon
|
1152
|
+
# EKS User Guide</i> </i>.
|
1153
|
+
#
|
1154
|
+
#
|
1155
|
+
#
|
1156
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/zone-shift.html
|
1157
|
+
#
|
1127
1158
|
# @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1128
1159
|
#
|
1129
1160
|
# * {Types::CreateClusterResponse#cluster #cluster} => Types::Cluster
|
@@ -1205,6 +1236,9 @@ module Aws::EKS
|
|
1205
1236
|
# upgrade_policy: {
|
1206
1237
|
# support_type: "STANDARD", # accepts STANDARD, EXTENDED
|
1207
1238
|
# },
|
1239
|
+
# zonal_shift_config: {
|
1240
|
+
# enabled: false,
|
1241
|
+
# },
|
1208
1242
|
# })
|
1209
1243
|
#
|
1210
1244
|
# @example Response structure
|
@@ -1261,6 +1295,7 @@ module Aws::EKS
|
|
1261
1295
|
# resp.cluster.access_config.bootstrap_cluster_creator_admin_permissions #=> Boolean
|
1262
1296
|
# resp.cluster.access_config.authentication_mode #=> String, one of "API", "API_AND_CONFIG_MAP", "CONFIG_MAP"
|
1263
1297
|
# resp.cluster.upgrade_policy.support_type #=> String, one of "STANDARD", "EXTENDED"
|
1298
|
+
# resp.cluster.zonal_shift_config.enabled #=> Boolean
|
1264
1299
|
#
|
1265
1300
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateCluster AWS API Documentation
|
1266
1301
|
#
|
@@ -2121,6 +2156,7 @@ module Aws::EKS
|
|
2121
2156
|
# resp.cluster.access_config.bootstrap_cluster_creator_admin_permissions #=> Boolean
|
2122
2157
|
# resp.cluster.access_config.authentication_mode #=> String, one of "API", "API_AND_CONFIG_MAP", "CONFIG_MAP"
|
2123
2158
|
# resp.cluster.upgrade_policy.support_type #=> String, one of "STANDARD", "EXTENDED"
|
2159
|
+
# resp.cluster.zonal_shift_config.enabled #=> Boolean
|
2124
2160
|
#
|
2125
2161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeleteCluster AWS API Documentation
|
2126
2162
|
#
|
@@ -2435,6 +2471,7 @@ module Aws::EKS
|
|
2435
2471
|
# resp.cluster.access_config.bootstrap_cluster_creator_admin_permissions #=> Boolean
|
2436
2472
|
# resp.cluster.access_config.authentication_mode #=> String, one of "API", "API_AND_CONFIG_MAP", "CONFIG_MAP"
|
2437
2473
|
# resp.cluster.upgrade_policy.support_type #=> String, one of "STANDARD", "EXTENDED"
|
2474
|
+
# resp.cluster.zonal_shift_config.enabled #=> Boolean
|
2438
2475
|
#
|
2439
2476
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeregisterCluster AWS API Documentation
|
2440
2477
|
#
|
@@ -2817,6 +2854,7 @@ module Aws::EKS
|
|
2817
2854
|
# resp.cluster.access_config.bootstrap_cluster_creator_admin_permissions #=> Boolean
|
2818
2855
|
# resp.cluster.access_config.authentication_mode #=> String, one of "API", "API_AND_CONFIG_MAP", "CONFIG_MAP"
|
2819
2856
|
# resp.cluster.upgrade_policy.support_type #=> String, one of "STANDARD", "EXTENDED"
|
2857
|
+
# resp.cluster.zonal_shift_config.enabled #=> Boolean
|
2820
2858
|
#
|
2821
2859
|
#
|
2822
2860
|
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
|
@@ -3206,9 +3244,9 @@ module Aws::EKS
|
|
3206
3244
|
#
|
3207
3245
|
# resp.update.id #=> String
|
3208
3246
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
3209
|
-
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate"
|
3247
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate"
|
3210
3248
|
# resp.update.params #=> Array
|
3211
|
-
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy"
|
3249
|
+
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy", "ZonalShiftConfig"
|
3212
3250
|
# resp.update.params[0].value #=> String
|
3213
3251
|
# resp.update.created_at #=> Time
|
3214
3252
|
# resp.update.errors #=> Array
|
@@ -3295,9 +3333,9 @@ module Aws::EKS
|
|
3295
3333
|
#
|
3296
3334
|
# resp.update.id #=> String
|
3297
3335
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
3298
|
-
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate"
|
3336
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate"
|
3299
3337
|
# resp.update.params #=> Array
|
3300
|
-
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy"
|
3338
|
+
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy", "ZonalShiftConfig"
|
3301
3339
|
# resp.update.params[0].value #=> String
|
3302
3340
|
# resp.update.created_at #=> Time
|
3303
3341
|
# resp.update.errors #=> Array
|
@@ -4255,6 +4293,7 @@ module Aws::EKS
|
|
4255
4293
|
# resp.cluster.access_config.bootstrap_cluster_creator_admin_permissions #=> Boolean
|
4256
4294
|
# resp.cluster.access_config.authentication_mode #=> String, one of "API", "API_AND_CONFIG_MAP", "CONFIG_MAP"
|
4257
4295
|
# resp.cluster.upgrade_policy.support_type #=> String, one of "STANDARD", "EXTENDED"
|
4296
|
+
# resp.cluster.zonal_shift_config.enabled #=> Boolean
|
4258
4297
|
#
|
4259
4298
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RegisterCluster AWS API Documentation
|
4260
4299
|
#
|
@@ -4525,9 +4564,9 @@ module Aws::EKS
|
|
4525
4564
|
#
|
4526
4565
|
# resp.update.id #=> String
|
4527
4566
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
4528
|
-
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate"
|
4567
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate"
|
4529
4568
|
# resp.update.params #=> Array
|
4530
|
-
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy"
|
4569
|
+
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy", "ZonalShiftConfig"
|
4531
4570
|
# resp.update.params[0].value #=> String
|
4532
4571
|
# resp.update.created_at #=> Time
|
4533
4572
|
# resp.update.errors #=> Array
|
@@ -4577,6 +4616,10 @@ module Aws::EKS
|
|
4577
4616
|
# [https://docs.aws.amazon.com/eks/latest/userguide/network\_reqs.html][4]
|
4578
4617
|
# in the <i> <i>Amazon EKS User Guide</i> </i>.
|
4579
4618
|
#
|
4619
|
+
# You can also use this API operation to enable or disable ARC zonal
|
4620
|
+
# shift. If zonal shift is enabled, Amazon Web Services configures zonal
|
4621
|
+
# autoshift for the cluster.
|
4622
|
+
#
|
4580
4623
|
# Cluster updates are asynchronous, and they should finish within a few
|
4581
4624
|
# minutes. During an update, the cluster status moves to `UPDATING`
|
4582
4625
|
# (this status transition is eventually consistent). When the update is
|
@@ -4631,6 +4674,32 @@ module Aws::EKS
|
|
4631
4674
|
# You must enable extended support before your cluster exits standard
|
4632
4675
|
# support.
|
4633
4676
|
#
|
4677
|
+
# @option params [Types::ZonalShiftConfigRequest] :zonal_shift_config
|
4678
|
+
# Enable or disable ARC zonal shift for the cluster. If zonal shift is
|
4679
|
+
# enabled, Amazon Web Services configures zonal autoshift for the
|
4680
|
+
# cluster.
|
4681
|
+
#
|
4682
|
+
# Zonal shift is a feature of Amazon Application Recovery Controller
|
4683
|
+
# (ARC). ARC zonal shift is designed to be a temporary measure that
|
4684
|
+
# allows you to move traffic for a resource away from an impaired AZ
|
4685
|
+
# until the zonal shift expires or you cancel it. You can extend the
|
4686
|
+
# zonal shift if necessary.
|
4687
|
+
#
|
4688
|
+
# You can start a zonal shift for an EKS cluster, or you can allow
|
4689
|
+
# Amazon Web Services to do it for you by enabling *zonal autoshift*.
|
4690
|
+
# This shift updates the flow of east-to-west network traffic in your
|
4691
|
+
# cluster to only consider network endpoints for Pods running on worker
|
4692
|
+
# nodes in healthy AZs. Additionally, any ALB or NLB handling ingress
|
4693
|
+
# traffic for applications in your EKS cluster will automatically route
|
4694
|
+
# traffic to targets in the healthy AZs. For more information about
|
4695
|
+
# zonal shift in EKS, see [Learn about Amazon Application Recovery
|
4696
|
+
# Controller (ARC) Zonal Shift in Amazon EKS][1] in the <i> <i>Amazon
|
4697
|
+
# EKS User Guide</i> </i>.
|
4698
|
+
#
|
4699
|
+
#
|
4700
|
+
#
|
4701
|
+
# [1]: https://docs.aws.amazon.com/eks/latest/userguide/zone-shift.html
|
4702
|
+
#
|
4634
4703
|
# @return [Types::UpdateClusterConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4635
4704
|
#
|
4636
4705
|
# * {Types::UpdateClusterConfigResponse#update #update} => Types::Update
|
@@ -4661,15 +4730,18 @@ module Aws::EKS
|
|
4661
4730
|
# upgrade_policy: {
|
4662
4731
|
# support_type: "STANDARD", # accepts STANDARD, EXTENDED
|
4663
4732
|
# },
|
4733
|
+
# zonal_shift_config: {
|
4734
|
+
# enabled: false,
|
4735
|
+
# },
|
4664
4736
|
# })
|
4665
4737
|
#
|
4666
4738
|
# @example Response structure
|
4667
4739
|
#
|
4668
4740
|
# resp.update.id #=> String
|
4669
4741
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
4670
|
-
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate"
|
4742
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate"
|
4671
4743
|
# resp.update.params #=> Array
|
4672
|
-
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy"
|
4744
|
+
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy", "ZonalShiftConfig"
|
4673
4745
|
# resp.update.params[0].value #=> String
|
4674
4746
|
# resp.update.created_at #=> Time
|
4675
4747
|
# resp.update.errors #=> Array
|
@@ -4731,9 +4803,9 @@ module Aws::EKS
|
|
4731
4803
|
#
|
4732
4804
|
# resp.update.id #=> String
|
4733
4805
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
4734
|
-
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate"
|
4806
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate"
|
4735
4807
|
# resp.update.params #=> Array
|
4736
|
-
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy"
|
4808
|
+
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy", "ZonalShiftConfig"
|
4737
4809
|
# resp.update.params[0].value #=> String
|
4738
4810
|
# resp.update.created_at #=> Time
|
4739
4811
|
# resp.update.errors #=> Array
|
@@ -4894,9 +4966,9 @@ module Aws::EKS
|
|
4894
4966
|
#
|
4895
4967
|
# resp.update.id #=> String
|
4896
4968
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
4897
|
-
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate"
|
4969
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate"
|
4898
4970
|
# resp.update.params #=> Array
|
4899
|
-
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy"
|
4971
|
+
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy", "ZonalShiftConfig"
|
4900
4972
|
# resp.update.params[0].value #=> String
|
4901
4973
|
# resp.update.created_at #=> Time
|
4902
4974
|
# resp.update.errors #=> Array
|
@@ -5034,9 +5106,9 @@ module Aws::EKS
|
|
5034
5106
|
#
|
5035
5107
|
# resp.update.id #=> String
|
5036
5108
|
# resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
|
5037
|
-
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate"
|
5109
|
+
# resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate"
|
5038
5110
|
# resp.update.params #=> Array
|
5039
|
-
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy"
|
5111
|
+
# 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", "ConfigurationValues", "SecurityGroups", "Subnets", "AuthenticationMode", "PodIdentityAssociations", "UpgradePolicy", "ZonalShiftConfig"
|
5040
5112
|
# resp.update.params[0].value #=> String
|
5041
5113
|
# resp.update.created_at #=> Time
|
5042
5114
|
# resp.update.errors #=> Array
|
@@ -5130,7 +5202,7 @@ module Aws::EKS
|
|
5130
5202
|
tracer: tracer
|
5131
5203
|
)
|
5132
5204
|
context[:gem_name] = 'aws-sdk-eks'
|
5133
|
-
context[:gem_version] = '1.
|
5205
|
+
context[:gem_version] = '1.120.0'
|
5134
5206
|
Seahorse::Client::Request.new(handlers, context)
|
5135
5207
|
end
|
5136
5208
|
|
@@ -301,6 +301,8 @@ module Aws::EKS
|
|
301
301
|
VpcConfigRequest = Shapes::StructureShape.new(name: 'VpcConfigRequest')
|
302
302
|
VpcConfigResponse = Shapes::StructureShape.new(name: 'VpcConfigResponse')
|
303
303
|
ZeroCapacity = Shapes::IntegerShape.new(name: 'ZeroCapacity')
|
304
|
+
ZonalShiftConfigRequest = Shapes::StructureShape.new(name: 'ZonalShiftConfigRequest')
|
305
|
+
ZonalShiftConfigResponse = Shapes::StructureShape.new(name: 'ZonalShiftConfigResponse')
|
304
306
|
configStatus = Shapes::StringShape.new(name: 'configStatus')
|
305
307
|
labelKey = Shapes::StringShape.new(name: 'labelKey')
|
306
308
|
labelValue = Shapes::StringShape.new(name: 'labelValue')
|
@@ -488,6 +490,7 @@ module Aws::EKS
|
|
488
490
|
Cluster.add_member(:outpost_config, Shapes::ShapeRef.new(shape: OutpostConfigResponse, location_name: "outpostConfig"))
|
489
491
|
Cluster.add_member(:access_config, Shapes::ShapeRef.new(shape: AccessConfigResponse, location_name: "accessConfig"))
|
490
492
|
Cluster.add_member(:upgrade_policy, Shapes::ShapeRef.new(shape: UpgradePolicyResponse, location_name: "upgradePolicy"))
|
493
|
+
Cluster.add_member(:zonal_shift_config, Shapes::ShapeRef.new(shape: ZonalShiftConfigResponse, location_name: "zonalShiftConfig"))
|
491
494
|
Cluster.struct_class = Types::Cluster
|
492
495
|
|
493
496
|
ClusterHealth.add_member(:issues, Shapes::ShapeRef.new(shape: ClusterIssueList, location_name: "issues"))
|
@@ -567,6 +570,7 @@ module Aws::EKS
|
|
567
570
|
CreateClusterRequest.add_member(:access_config, Shapes::ShapeRef.new(shape: CreateAccessConfigRequest, location_name: "accessConfig"))
|
568
571
|
CreateClusterRequest.add_member(:bootstrap_self_managed_addons, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "bootstrapSelfManagedAddons"))
|
569
572
|
CreateClusterRequest.add_member(:upgrade_policy, Shapes::ShapeRef.new(shape: UpgradePolicyRequest, location_name: "upgradePolicy"))
|
573
|
+
CreateClusterRequest.add_member(:zonal_shift_config, Shapes::ShapeRef.new(shape: ZonalShiftConfigRequest, location_name: "zonalShiftConfig"))
|
570
574
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
571
575
|
|
572
576
|
CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
@@ -1322,6 +1326,7 @@ module Aws::EKS
|
|
1322
1326
|
UpdateClusterConfigRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
|
1323
1327
|
UpdateClusterConfigRequest.add_member(:access_config, Shapes::ShapeRef.new(shape: UpdateAccessConfigRequest, location_name: "accessConfig"))
|
1324
1328
|
UpdateClusterConfigRequest.add_member(:upgrade_policy, Shapes::ShapeRef.new(shape: UpgradePolicyRequest, location_name: "upgradePolicy"))
|
1329
|
+
UpdateClusterConfigRequest.add_member(:zonal_shift_config, Shapes::ShapeRef.new(shape: ZonalShiftConfigRequest, location_name: "zonalShiftConfig"))
|
1325
1330
|
UpdateClusterConfigRequest.struct_class = Types::UpdateClusterConfigRequest
|
1326
1331
|
|
1327
1332
|
UpdateClusterConfigResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
|
@@ -1412,6 +1417,12 @@ module Aws::EKS
|
|
1412
1417
|
VpcConfigResponse.add_member(:public_access_cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "publicAccessCidrs"))
|
1413
1418
|
VpcConfigResponse.struct_class = Types::VpcConfigResponse
|
1414
1419
|
|
1420
|
+
ZonalShiftConfigRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enabled"))
|
1421
|
+
ZonalShiftConfigRequest.struct_class = Types::ZonalShiftConfigRequest
|
1422
|
+
|
1423
|
+
ZonalShiftConfigResponse.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enabled"))
|
1424
|
+
ZonalShiftConfigResponse.struct_class = Types::ZonalShiftConfigResponse
|
1425
|
+
|
1415
1426
|
labelsKeyList.member = Shapes::ShapeRef.new(shape: String)
|
1416
1427
|
|
1417
1428
|
labelsMap.key = Shapes::ShapeRef.new(shape: labelKey)
|
@@ -52,15 +52,18 @@ module Aws::EKS
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|