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.
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::EKS::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,123 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :associate_access_policy
74
- Aws::EKS::Endpoints::AssociateAccessPolicy.build(context)
75
- when :associate_encryption_config
76
- Aws::EKS::Endpoints::AssociateEncryptionConfig.build(context)
77
- when :associate_identity_provider_config
78
- Aws::EKS::Endpoints::AssociateIdentityProviderConfig.build(context)
79
- when :create_access_entry
80
- Aws::EKS::Endpoints::CreateAccessEntry.build(context)
81
- when :create_addon
82
- Aws::EKS::Endpoints::CreateAddon.build(context)
83
- when :create_cluster
84
- Aws::EKS::Endpoints::CreateCluster.build(context)
85
- when :create_eks_anywhere_subscription
86
- Aws::EKS::Endpoints::CreateEksAnywhereSubscription.build(context)
87
- when :create_fargate_profile
88
- Aws::EKS::Endpoints::CreateFargateProfile.build(context)
89
- when :create_nodegroup
90
- Aws::EKS::Endpoints::CreateNodegroup.build(context)
91
- when :create_pod_identity_association
92
- Aws::EKS::Endpoints::CreatePodIdentityAssociation.build(context)
93
- when :delete_access_entry
94
- Aws::EKS::Endpoints::DeleteAccessEntry.build(context)
95
- when :delete_addon
96
- Aws::EKS::Endpoints::DeleteAddon.build(context)
97
- when :delete_cluster
98
- Aws::EKS::Endpoints::DeleteCluster.build(context)
99
- when :delete_eks_anywhere_subscription
100
- Aws::EKS::Endpoints::DeleteEksAnywhereSubscription.build(context)
101
- when :delete_fargate_profile
102
- Aws::EKS::Endpoints::DeleteFargateProfile.build(context)
103
- when :delete_nodegroup
104
- Aws::EKS::Endpoints::DeleteNodegroup.build(context)
105
- when :delete_pod_identity_association
106
- Aws::EKS::Endpoints::DeletePodIdentityAssociation.build(context)
107
- when :deregister_cluster
108
- Aws::EKS::Endpoints::DeregisterCluster.build(context)
109
- when :describe_access_entry
110
- Aws::EKS::Endpoints::DescribeAccessEntry.build(context)
111
- when :describe_addon
112
- Aws::EKS::Endpoints::DescribeAddon.build(context)
113
- when :describe_addon_configuration
114
- Aws::EKS::Endpoints::DescribeAddonConfiguration.build(context)
115
- when :describe_addon_versions
116
- Aws::EKS::Endpoints::DescribeAddonVersions.build(context)
117
- when :describe_cluster
118
- Aws::EKS::Endpoints::DescribeCluster.build(context)
119
- when :describe_eks_anywhere_subscription
120
- Aws::EKS::Endpoints::DescribeEksAnywhereSubscription.build(context)
121
- when :describe_fargate_profile
122
- Aws::EKS::Endpoints::DescribeFargateProfile.build(context)
123
- when :describe_identity_provider_config
124
- Aws::EKS::Endpoints::DescribeIdentityProviderConfig.build(context)
125
- when :describe_insight
126
- Aws::EKS::Endpoints::DescribeInsight.build(context)
127
- when :describe_nodegroup
128
- Aws::EKS::Endpoints::DescribeNodegroup.build(context)
129
- when :describe_pod_identity_association
130
- Aws::EKS::Endpoints::DescribePodIdentityAssociation.build(context)
131
- when :describe_update
132
- Aws::EKS::Endpoints::DescribeUpdate.build(context)
133
- when :disassociate_access_policy
134
- Aws::EKS::Endpoints::DisassociateAccessPolicy.build(context)
135
- when :disassociate_identity_provider_config
136
- Aws::EKS::Endpoints::DisassociateIdentityProviderConfig.build(context)
137
- when :list_access_entries
138
- Aws::EKS::Endpoints::ListAccessEntries.build(context)
139
- when :list_access_policies
140
- Aws::EKS::Endpoints::ListAccessPolicies.build(context)
141
- when :list_addons
142
- Aws::EKS::Endpoints::ListAddons.build(context)
143
- when :list_associated_access_policies
144
- Aws::EKS::Endpoints::ListAssociatedAccessPolicies.build(context)
145
- when :list_clusters
146
- Aws::EKS::Endpoints::ListClusters.build(context)
147
- when :list_eks_anywhere_subscriptions
148
- Aws::EKS::Endpoints::ListEksAnywhereSubscriptions.build(context)
149
- when :list_fargate_profiles
150
- Aws::EKS::Endpoints::ListFargateProfiles.build(context)
151
- when :list_identity_provider_configs
152
- Aws::EKS::Endpoints::ListIdentityProviderConfigs.build(context)
153
- when :list_insights
154
- Aws::EKS::Endpoints::ListInsights.build(context)
155
- when :list_nodegroups
156
- Aws::EKS::Endpoints::ListNodegroups.build(context)
157
- when :list_pod_identity_associations
158
- Aws::EKS::Endpoints::ListPodIdentityAssociations.build(context)
159
- when :list_tags_for_resource
160
- Aws::EKS::Endpoints::ListTagsForResource.build(context)
161
- when :list_updates
162
- Aws::EKS::Endpoints::ListUpdates.build(context)
163
- when :register_cluster
164
- Aws::EKS::Endpoints::RegisterCluster.build(context)
165
- when :tag_resource
166
- Aws::EKS::Endpoints::TagResource.build(context)
167
- when :untag_resource
168
- Aws::EKS::Endpoints::UntagResource.build(context)
169
- when :update_access_entry
170
- Aws::EKS::Endpoints::UpdateAccessEntry.build(context)
171
- when :update_addon
172
- Aws::EKS::Endpoints::UpdateAddon.build(context)
173
- when :update_cluster_config
174
- Aws::EKS::Endpoints::UpdateClusterConfig.build(context)
175
- when :update_cluster_version
176
- Aws::EKS::Endpoints::UpdateClusterVersion.build(context)
177
- when :update_eks_anywhere_subscription
178
- Aws::EKS::Endpoints::UpdateEksAnywhereSubscription.build(context)
179
- when :update_nodegroup_config
180
- Aws::EKS::Endpoints::UpdateNodegroupConfig.build(context)
181
- when :update_nodegroup_version
182
- Aws::EKS::Endpoints::UpdateNodegroupVersion.build(context)
183
- when :update_pod_identity_association
184
- Aws::EKS::Endpoints::UpdatePodIdentityAssociation.build(context)
185
- end
186
- end
187
70
  end
188
71
 
189
72
  def add_handlers(handlers, _config)
@@ -872,6 +872,10 @@ module Aws::EKS
872
872
  # [1]: https://docs.aws.amazon.com/eks/latest/userguide/extended-support-control.html
873
873
  # @return [Types::UpgradePolicyResponse]
874
874
  #
875
+ # @!attribute [rw] zonal_shift_config
876
+ # The configuration for zonal shift for the cluster.
877
+ # @return [Types::ZonalShiftConfigResponse]
878
+ #
875
879
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Cluster AWS API Documentation
876
880
  #
877
881
  class Cluster < Struct.new(
@@ -896,7 +900,8 @@ module Aws::EKS
896
900
  :health,
897
901
  :outpost_config,
898
902
  :access_config,
899
- :upgrade_policy)
903
+ :upgrade_policy,
904
+ :zonal_shift_config)
900
905
  SENSITIVE = []
901
906
  include Aws::Structure
902
907
  end
@@ -1354,7 +1359,12 @@ module Aws::EKS
1354
1359
  end
1355
1360
 
1356
1361
  # @!attribute [rw] name
1357
- # The unique name to give to your cluster.
1362
+ # The unique name to give to your cluster. The name can contain only
1363
+ # alphanumeric characters (case-sensitive), hyphens, and underscores.
1364
+ # It must start with an alphanumeric character and can't be longer
1365
+ # than 100 characters. The name must be unique within the Amazon Web
1366
+ # Services Region and Amazon Web Services account that you're
1367
+ # creating the cluster in.
1358
1368
  # @return [String]
1359
1369
  #
1360
1370
  # @!attribute [rw] version
@@ -1471,6 +1481,33 @@ module Aws::EKS
1471
1481
  # value to `STANDARD`.
1472
1482
  # @return [Types::UpgradePolicyRequest]
1473
1483
  #
1484
+ # @!attribute [rw] zonal_shift_config
1485
+ # Enable or disable ARC zonal shift for the cluster. If zonal shift is
1486
+ # enabled, Amazon Web Services configures zonal autoshift for the
1487
+ # cluster.
1488
+ #
1489
+ # Zonal shift is a feature of Amazon Application Recovery Controller
1490
+ # (ARC). ARC zonal shift is designed to be a temporary measure that
1491
+ # allows you to move traffic for a resource away from an impaired AZ
1492
+ # until the zonal shift expires or you cancel it. You can extend the
1493
+ # zonal shift if necessary.
1494
+ #
1495
+ # You can start a zonal shift for an EKS cluster, or you can allow
1496
+ # Amazon Web Services to do it for you by enabling *zonal autoshift*.
1497
+ # This shift updates the flow of east-to-west network traffic in your
1498
+ # cluster to only consider network endpoints for Pods running on
1499
+ # worker nodes in healthy AZs. Additionally, any ALB or NLB handling
1500
+ # ingress traffic for applications in your EKS cluster will
1501
+ # automatically route traffic to targets in the healthy AZs. For more
1502
+ # information about zonal shift in EKS, see [Learn about Amazon
1503
+ # Application Recovery Controller (ARC) Zonal Shift in Amazon EKS][1]
1504
+ # in the <i> <i>Amazon EKS User Guide</i> </i>.
1505
+ #
1506
+ #
1507
+ #
1508
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/zone-shift.html
1509
+ # @return [Types::ZonalShiftConfigRequest]
1510
+ #
1474
1511
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CreateClusterRequest AWS API Documentation
1475
1512
  #
1476
1513
  class CreateClusterRequest < Struct.new(
@@ -1486,7 +1523,8 @@ module Aws::EKS
1486
1523
  :outpost_config,
1487
1524
  :access_config,
1488
1525
  :bootstrap_self_managed_addons,
1489
- :upgrade_policy)
1526
+ :upgrade_policy,
1527
+ :zonal_shift_config)
1490
1528
  SENSITIVE = []
1491
1529
  include Aws::Structure
1492
1530
  end
@@ -5992,6 +6030,33 @@ module Aws::EKS
5992
6030
  # standard support.
5993
6031
  # @return [Types::UpgradePolicyRequest]
5994
6032
  #
6033
+ # @!attribute [rw] zonal_shift_config
6034
+ # Enable or disable ARC zonal shift for the cluster. If zonal shift is
6035
+ # enabled, Amazon Web Services configures zonal autoshift for the
6036
+ # cluster.
6037
+ #
6038
+ # Zonal shift is a feature of Amazon Application Recovery Controller
6039
+ # (ARC). ARC zonal shift is designed to be a temporary measure that
6040
+ # allows you to move traffic for a resource away from an impaired AZ
6041
+ # until the zonal shift expires or you cancel it. You can extend the
6042
+ # zonal shift if necessary.
6043
+ #
6044
+ # You can start a zonal shift for an EKS cluster, or you can allow
6045
+ # Amazon Web Services to do it for you by enabling *zonal autoshift*.
6046
+ # This shift updates the flow of east-to-west network traffic in your
6047
+ # cluster to only consider network endpoints for Pods running on
6048
+ # worker nodes in healthy AZs. Additionally, any ALB or NLB handling
6049
+ # ingress traffic for applications in your EKS cluster will
6050
+ # automatically route traffic to targets in the healthy AZs. For more
6051
+ # information about zonal shift in EKS, see [Learn about Amazon
6052
+ # Application Recovery Controller (ARC) Zonal Shift in Amazon EKS][1]
6053
+ # in the <i> <i>Amazon EKS User Guide</i> </i>.
6054
+ #
6055
+ #
6056
+ #
6057
+ # [1]: https://docs.aws.amazon.com/eks/latest/userguide/zone-shift.html
6058
+ # @return [Types::ZonalShiftConfigRequest]
6059
+ #
5995
6060
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfigRequest AWS API Documentation
5996
6061
  #
5997
6062
  class UpdateClusterConfigRequest < Struct.new(
@@ -6000,7 +6065,8 @@ module Aws::EKS
6000
6065
  :logging,
6001
6066
  :client_request_token,
6002
6067
  :access_config,
6003
- :upgrade_policy)
6068
+ :upgrade_policy,
6069
+ :zonal_shift_config)
6004
6070
  SENSITIVE = []
6005
6071
  include Aws::Structure
6006
6072
  end
@@ -6569,6 +6635,35 @@ module Aws::EKS
6569
6635
  include Aws::Structure
6570
6636
  end
6571
6637
 
6638
+ # The configuration for zonal shift for the cluster.
6639
+ #
6640
+ # @!attribute [rw] enabled
6641
+ # If zonal shift is enabled, Amazon Web Services configures zonal
6642
+ # autoshift for the cluster.
6643
+ # @return [Boolean]
6644
+ #
6645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ZonalShiftConfigRequest AWS API Documentation
6646
+ #
6647
+ class ZonalShiftConfigRequest < Struct.new(
6648
+ :enabled)
6649
+ SENSITIVE = []
6650
+ include Aws::Structure
6651
+ end
6652
+
6653
+ # The status of zonal shift configuration for the cluster
6654
+ #
6655
+ # @!attribute [rw] enabled
6656
+ # Whether the zonal shift is enabled.
6657
+ # @return [Boolean]
6658
+ #
6659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ZonalShiftConfigResponse AWS API Documentation
6660
+ #
6661
+ class ZonalShiftConfigResponse < Struct.new(
6662
+ :enabled)
6663
+ SENSITIVE = []
6664
+ include Aws::Structure
6665
+ end
6666
+
6572
6667
  end
6573
6668
  end
6574
6669
 
data/lib/aws-sdk-eks.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::EKS
55
55
  autoload :EndpointProvider, 'aws-sdk-eks/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-eks/endpoints'
57
57
 
58
- GEM_VERSION = '1.118.0'
58
+ GEM_VERSION = '1.120.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -226,6 +226,9 @@ module Aws
226
226
  ?bootstrap_self_managed_addons: bool,
227
227
  ?upgrade_policy: {
228
228
  support_type: ("STANDARD" | "EXTENDED")?
229
+ },
230
+ ?zonal_shift_config: {
231
+ enabled: bool?
229
232
  }
230
233
  ) -> _CreateClusterResponseSuccess
231
234
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
@@ -865,6 +868,9 @@ module Aws
865
868
  },
866
869
  ?upgrade_policy: {
867
870
  support_type: ("STANDARD" | "EXTENDED")?
871
+ },
872
+ ?zonal_shift_config: {
873
+ enabled: bool?
868
874
  }
869
875
  ) -> _UpdateClusterConfigResponseSuccess
870
876
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterConfigResponseSuccess
data/sig/types.rbs CHANGED
@@ -209,6 +209,7 @@ module Aws::EKS
209
209
  attr_accessor outpost_config: Types::OutpostConfigResponse
210
210
  attr_accessor access_config: Types::AccessConfigResponse
211
211
  attr_accessor upgrade_policy: Types::UpgradePolicyResponse
212
+ attr_accessor zonal_shift_config: Types::ZonalShiftConfigResponse
212
213
  SENSITIVE: []
213
214
  end
214
215
 
@@ -310,6 +311,7 @@ module Aws::EKS
310
311
  attr_accessor access_config: Types::CreateAccessConfigRequest
311
312
  attr_accessor bootstrap_self_managed_addons: bool
312
313
  attr_accessor upgrade_policy: Types::UpgradePolicyRequest
314
+ attr_accessor zonal_shift_config: Types::ZonalShiftConfigRequest
313
315
  SENSITIVE: []
314
316
  end
315
317
 
@@ -1253,7 +1255,7 @@ module Aws::EKS
1253
1255
  class Update
1254
1256
  attr_accessor id: ::String
1255
1257
  attr_accessor status: ("InProgress" | "Failed" | "Cancelled" | "Successful")
1256
- attr_accessor type: ("VersionUpdate" | "EndpointAccessUpdate" | "LoggingUpdate" | "ConfigUpdate" | "AssociateIdentityProviderConfig" | "DisassociateIdentityProviderConfig" | "AssociateEncryptionConfig" | "AddonUpdate" | "VpcConfigUpdate" | "AccessConfigUpdate" | "UpgradePolicyUpdate")
1258
+ attr_accessor type: ("VersionUpdate" | "EndpointAccessUpdate" | "LoggingUpdate" | "ConfigUpdate" | "AssociateIdentityProviderConfig" | "DisassociateIdentityProviderConfig" | "AssociateEncryptionConfig" | "AddonUpdate" | "VpcConfigUpdate" | "AccessConfigUpdate" | "UpgradePolicyUpdate" | "ZonalShiftConfigUpdate")
1257
1259
  attr_accessor params: ::Array[Types::UpdateParam]
1258
1260
  attr_accessor created_at: ::Time
1259
1261
  attr_accessor errors: ::Array[Types::ErrorDetail]
@@ -1303,6 +1305,7 @@ module Aws::EKS
1303
1305
  attr_accessor client_request_token: ::String
1304
1306
  attr_accessor access_config: Types::UpdateAccessConfigRequest
1305
1307
  attr_accessor upgrade_policy: Types::UpgradePolicyRequest
1308
+ attr_accessor zonal_shift_config: Types::ZonalShiftConfigRequest
1306
1309
  SENSITIVE: []
1307
1310
  end
1308
1311
 
@@ -1374,7 +1377,7 @@ module Aws::EKS
1374
1377
  end
1375
1378
 
1376
1379
  class UpdateParam
1377
- attr_accessor type: ("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")
1380
+ attr_accessor type: ("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")
1378
1381
  attr_accessor value: ::String
1379
1382
  SENSITIVE: []
1380
1383
  end
@@ -1427,5 +1430,15 @@ module Aws::EKS
1427
1430
  attr_accessor public_access_cidrs: ::Array[::String]
1428
1431
  SENSITIVE: []
1429
1432
  end
1433
+
1434
+ class ZonalShiftConfigRequest
1435
+ attr_accessor enabled: bool
1436
+ SENSITIVE: []
1437
+ end
1438
+
1439
+ class ZonalShiftConfigResponse
1440
+ attr_accessor enabled: bool
1441
+ SENSITIVE: []
1442
+ end
1430
1443
  end
1431
1444
  end
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.118.0
4
+ version: 1.120.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: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement