aws-sdk-eks 1.131.0 → 1.132.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: 5979c93f85cf2660be5928e8e220f1092721644b03e9c735858c209a6263a969
4
- data.tar.gz: 9d28665e8f1e9d2fd44b2b071a627dc055abdf424d0e513fb220ddc9625af2d7
3
+ metadata.gz: 3b2914199a8a84770122635f8c61ac9f4cb94af14c3776bd808a9876c66f60b9
4
+ data.tar.gz: d39dd20d613503df81bbe263153ec7010bbbb4d27ab94337b8923ca4cc2ca24c
5
5
  SHA512:
6
- metadata.gz: b3748648b7d646f9f667455fe21fee6bbf15b46f4f59188fd573b855571797d7ed225359336f5350b185866e2b114149c1acc73539dd191dd1cb89589235244c
7
- data.tar.gz: 15fd81eb22ddca7561a5526557af24df8dd2e6de519266202093226517058f0323f6ae1107e027f314e001b5f2b74eac711b25220018e322d3c853e12f355442
6
+ metadata.gz: 6d18c8f2f5ee54c9c2c6dc0931b92020e412bfec24df0aa290eae1f98231348f59818e452a3cc90a6a96d4dd9ae64e69ed4edc2df0f597762c98e9656711f382
7
+ data.tar.gz: 9d6dc9895941802b5e807565caec45f65b52a1ec528494ebf37567f1f9988175b0aee3aa9375b304f0c8721c99f76b06106dfad848cd3f75ff78312b22b6ba17
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.132.0 (2025-03-25)
5
+ ------------------
6
+
7
+ * Feature - Added support to override upgrade-blocking readiness checks via force flag when updating a cluster.
8
+
4
9
  1.131.0 (2025-02-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.131.0
1
+ 1.132.0
@@ -5065,6 +5065,10 @@ module Aws::EKS
5065
5065
  # **A suitable default value is auto-generated.** You should normally
5066
5066
  # not need to pass this option.**
5067
5067
  #
5068
+ # @option params [Boolean] :force
5069
+ # Set this value to `true` to override upgrade-blocking readiness checks
5070
+ # when updating a cluster.
5071
+ #
5068
5072
  # @return [Types::UpdateClusterVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5069
5073
  #
5070
5074
  # * {Types::UpdateClusterVersionResponse#update #update} => Types::Update
@@ -5075,6 +5079,7 @@ module Aws::EKS
5075
5079
  # name: "String", # required
5076
5080
  # version: "String", # required
5077
5081
  # client_request_token: "String",
5082
+ # force: false,
5078
5083
  # })
5079
5084
  #
5080
5085
  # @example Response structure
@@ -5500,7 +5505,7 @@ module Aws::EKS
5500
5505
  tracer: tracer
5501
5506
  )
5502
5507
  context[:gem_name] = 'aws-sdk-eks'
5503
- context[:gem_version] = '1.131.0'
5508
+ context[:gem_version] = '1.132.0'
5504
5509
  Seahorse::Client::Request.new(handlers, context)
5505
5510
  end
5506
5511
 
@@ -189,6 +189,7 @@ module Aws::EKS
189
189
  Integer = Shapes::IntegerShape.new(name: 'Integer')
190
190
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
191
191
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
192
+ InvalidStateException = Shapes::StructureShape.new(name: 'InvalidStateException')
192
193
  IpFamily = Shapes::StringShape.new(name: 'IpFamily')
193
194
  Issue = Shapes::StructureShape.new(name: 'Issue')
194
195
  IssueList = Shapes::ListShape.new(name: 'IssueList')
@@ -291,6 +292,7 @@ module Aws::EKS
291
292
  TagValue = Shapes::StringShape.new(name: 'TagValue')
292
293
  Taint = Shapes::StructureShape.new(name: 'Taint')
293
294
  TaintEffect = Shapes::StringShape.new(name: 'TaintEffect')
295
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
294
296
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
295
297
  UnsupportedAvailabilityZoneException = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZoneException')
296
298
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -1031,6 +1033,10 @@ module Aws::EKS
1031
1033
  InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1032
1034
  InvalidRequestException.struct_class = Types::InvalidRequestException
1033
1035
 
1036
+ InvalidStateException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
1037
+ InvalidStateException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1038
+ InvalidStateException.struct_class = Types::InvalidStateException
1039
+
1034
1040
  Issue.add_member(:code, Shapes::ShapeRef.new(shape: NodegroupIssueCode, location_name: "code"))
1035
1041
  Issue.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1036
1042
  Issue.add_member(:resource_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "resourceIds"))
@@ -1396,6 +1402,10 @@ module Aws::EKS
1396
1402
  Taint.add_member(:effect, Shapes::ShapeRef.new(shape: TaintEffect, location_name: "effect"))
1397
1403
  Taint.struct_class = Types::Taint
1398
1404
 
1405
+ ThrottlingException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
1406
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1407
+ ThrottlingException.struct_class = Types::ThrottlingException
1408
+
1399
1409
  UnsupportedAvailabilityZoneException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1400
1410
  UnsupportedAvailabilityZoneException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
1401
1411
  UnsupportedAvailabilityZoneException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
@@ -1460,6 +1470,7 @@ module Aws::EKS
1460
1470
  UpdateClusterVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
1461
1471
  UpdateClusterVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
1462
1472
  UpdateClusterVersionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
1473
+ UpdateClusterVersionRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "force"))
1463
1474
  UpdateClusterVersionRequest.struct_class = Types::UpdateClusterVersionRequest
1464
1475
 
1465
1476
  UpdateClusterVersionResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
@@ -1604,6 +1615,7 @@ module Aws::EKS
1604
1615
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1605
1616
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1606
1617
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1618
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1607
1619
  end)
1608
1620
 
1609
1621
  api.add_operation(:associate_identity_provider_config, Seahorse::Model::Operation.new.tap do |o|
@@ -1618,6 +1630,7 @@ module Aws::EKS
1618
1630
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1619
1631
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1620
1632
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1633
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1621
1634
  end)
1622
1635
 
1623
1636
  api.add_operation(:create_access_entry, Seahorse::Model::Operation.new.tap do |o|
@@ -2010,6 +2023,7 @@ module Aws::EKS
2010
2023
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2011
2024
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2012
2025
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2026
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2013
2027
  end)
2014
2028
 
2015
2029
  api.add_operation(:list_access_entries, Seahorse::Model::Operation.new.tap do |o|
@@ -2311,6 +2325,7 @@ module Aws::EKS
2311
2325
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2312
2326
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2313
2327
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2328
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2314
2329
  end)
2315
2330
 
2316
2331
  api.add_operation(:update_cluster_version, Seahorse::Model::Operation.new.tap do |o|
@@ -2325,6 +2340,8 @@ module Aws::EKS
2325
2340
  o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
2326
2341
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2327
2342
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2343
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2344
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
2328
2345
  end)
2329
2346
 
2330
2347
  api.add_operation(:update_eks_anywhere_subscription, Seahorse::Model::Operation.new.tap do |o|
@@ -32,6 +32,7 @@ module Aws::EKS
32
32
  # * {ClientException}
33
33
  # * {InvalidParameterException}
34
34
  # * {InvalidRequestException}
35
+ # * {InvalidStateException}
35
36
  # * {NotFoundException}
36
37
  # * {ResourceInUseException}
37
38
  # * {ResourceLimitExceededException}
@@ -39,6 +40,7 @@ module Aws::EKS
39
40
  # * {ResourcePropagationDelayException}
40
41
  # * {ServerException}
41
42
  # * {ServiceUnavailableException}
43
+ # * {ThrottlingException}
42
44
  # * {UnsupportedAvailabilityZoneException}
43
45
  #
44
46
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -187,6 +189,26 @@ module Aws::EKS
187
189
  end
188
190
  end
189
191
 
192
+ class InvalidStateException < ServiceError
193
+
194
+ # @param [Seahorse::Client::RequestContext] context
195
+ # @param [String] message
196
+ # @param [Aws::EKS::Types::InvalidStateException] data
197
+ def initialize(context, message, data = Aws::EmptyStructure.new)
198
+ super(context, message, data)
199
+ end
200
+
201
+ # @return [String]
202
+ def cluster_name
203
+ @data[:cluster_name]
204
+ end
205
+
206
+ # @return [String]
207
+ def message
208
+ @message || @data[:message]
209
+ end
210
+ end
211
+
190
212
  class NotFoundException < ServiceError
191
213
 
192
214
  # @param [Seahorse::Client::RequestContext] context
@@ -367,6 +389,26 @@ module Aws::EKS
367
389
  end
368
390
  end
369
391
 
392
+ class ThrottlingException < ServiceError
393
+
394
+ # @param [Seahorse::Client::RequestContext] context
395
+ # @param [String] message
396
+ # @param [Aws::EKS::Types::ThrottlingException] data
397
+ def initialize(context, message, data = Aws::EmptyStructure.new)
398
+ super(context, message, data)
399
+ end
400
+
401
+ # @return [String]
402
+ def cluster_name
403
+ @data[:cluster_name]
404
+ end
405
+
406
+ # @return [String]
407
+ def message
408
+ @message || @data[:message]
409
+ end
410
+ end
411
+
370
412
  class UnsupportedAvailabilityZoneException < ServiceError
371
413
 
372
414
  # @param [Seahorse::Client::RequestContext] context
@@ -3798,6 +3798,32 @@ module Aws::EKS
3798
3798
  include Aws::Structure
3799
3799
  end
3800
3800
 
3801
+ # Amazon EKS detected upgrade readiness issues. Call the [
3802
+ # `ListInsights` ][1] API to view detected upgrade blocking issues. Pass
3803
+ # the [ `force` ][2] flag when updating to override upgrade readiness
3804
+ # errors.
3805
+ #
3806
+ #
3807
+ #
3808
+ # [1]: https://docs.aws.amazon.com/eks/latest/APIReference/API_ListInsights.html
3809
+ # [2]: https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateClusterVersion.html#API_UpdateClusterVersion_RequestBody
3810
+ #
3811
+ # @!attribute [rw] cluster_name
3812
+ # The Amazon EKS cluster associated with the exception.
3813
+ # @return [String]
3814
+ #
3815
+ # @!attribute [rw] message
3816
+ # @return [String]
3817
+ #
3818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/InvalidStateException AWS API Documentation
3819
+ #
3820
+ class InvalidStateException < Struct.new(
3821
+ :cluster_name,
3822
+ :message)
3823
+ SENSITIVE = []
3824
+ include Aws::Structure
3825
+ end
3826
+
3801
3827
  # An object representing an issue with an Amazon EKS resource.
3802
3828
  #
3803
3829
  # @!attribute [rw] code
@@ -6367,6 +6393,25 @@ module Aws::EKS
6367
6393
  include Aws::Structure
6368
6394
  end
6369
6395
 
6396
+ # The request or operation couldn't be performed because a service is
6397
+ # throttling requests.
6398
+ #
6399
+ # @!attribute [rw] cluster_name
6400
+ # The Amazon EKS cluster associated with the exception.
6401
+ # @return [String]
6402
+ #
6403
+ # @!attribute [rw] message
6404
+ # @return [String]
6405
+ #
6406
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ThrottlingException AWS API Documentation
6407
+ #
6408
+ class ThrottlingException < Struct.new(
6409
+ :cluster_name,
6410
+ :message)
6411
+ SENSITIVE = []
6412
+ include Aws::Structure
6413
+ end
6414
+
6370
6415
  # At least one of your specified cluster subnets is in an Availability
6371
6416
  # Zone that does not support Amazon EKS. The exception output specifies
6372
6417
  # the supported Availability Zones for your account, from which you can
@@ -6806,12 +6851,18 @@ module Aws::EKS
6806
6851
  # not need to pass this option.
6807
6852
  # @return [String]
6808
6853
  #
6854
+ # @!attribute [rw] force
6855
+ # Set this value to `true` to override upgrade-blocking readiness
6856
+ # checks when updating a cluster.
6857
+ # @return [Boolean]
6858
+ #
6809
6859
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersionRequest AWS API Documentation
6810
6860
  #
6811
6861
  class UpdateClusterVersionRequest < Struct.new(
6812
6862
  :name,
6813
6863
  :version,
6814
- :client_request_token)
6864
+ :client_request_token,
6865
+ :force)
6815
6866
  SENSITIVE = []
6816
6867
  include Aws::Structure
6817
6868
  end
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.131.0'
58
+ GEM_VERSION = '1.132.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -949,7 +949,8 @@ module Aws
949
949
  def update_cluster_version: (
950
950
  name: ::String,
951
951
  version: ::String,
952
- ?client_request_token: ::String
952
+ ?client_request_token: ::String,
953
+ ?force: bool
953
954
  ) -> _UpdateClusterVersionResponseSuccess
954
955
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterVersionResponseSuccess
955
956
 
data/sig/errors.rbs CHANGED
@@ -39,6 +39,10 @@ module Aws
39
39
  def subscription_id: () -> ::String
40
40
  def message: () -> ::String
41
41
  end
42
+ class InvalidStateException < ::Aws::Errors::ServiceError
43
+ def cluster_name: () -> ::String
44
+ def message: () -> ::String
45
+ end
42
46
  class NotFoundException < ::Aws::Errors::ServiceError
43
47
  def message: () -> ::String
44
48
  end
@@ -75,6 +79,10 @@ module Aws
75
79
  class ServiceUnavailableException < ::Aws::Errors::ServiceError
76
80
  def message: () -> ::String
77
81
  end
82
+ class ThrottlingException < ::Aws::Errors::ServiceError
83
+ def cluster_name: () -> ::String
84
+ def message: () -> ::String
85
+ end
78
86
  class UnsupportedAvailabilityZoneException < ::Aws::Errors::ServiceError
79
87
  def message: () -> ::String
80
88
  def cluster_name: () -> ::String
data/sig/types.rbs CHANGED
@@ -877,6 +877,12 @@ module Aws::EKS
877
877
  SENSITIVE: []
878
878
  end
879
879
 
880
+ class InvalidStateException
881
+ attr_accessor cluster_name: ::String
882
+ attr_accessor message: ::String
883
+ SENSITIVE: []
884
+ end
885
+
880
886
  class Issue
881
887
  attr_accessor code: ("AutoScalingGroupNotFound" | "AutoScalingGroupInvalidConfiguration" | "Ec2SecurityGroupNotFound" | "Ec2SecurityGroupDeletionFailure" | "Ec2LaunchTemplateNotFound" | "Ec2LaunchTemplateVersionMismatch" | "Ec2SubnetNotFound" | "Ec2SubnetInvalidConfiguration" | "IamInstanceProfileNotFound" | "Ec2SubnetMissingIpv6Assignment" | "IamLimitExceeded" | "IamNodeRoleNotFound" | "NodeCreationFailure" | "AsgInstanceLaunchFailures" | "InstanceLimitExceeded" | "InsufficientFreeAddresses" | "AccessDenied" | "InternalFailure" | "ClusterUnreachable" | "AmiIdNotFound" | "AutoScalingGroupOptInRequired" | "AutoScalingGroupRateLimitExceeded" | "Ec2LaunchTemplateDeletionFailure" | "Ec2LaunchTemplateInvalidConfiguration" | "Ec2LaunchTemplateMaxLimitExceeded" | "Ec2SubnetListTooLong" | "IamThrottling" | "NodeTerminationFailure" | "PodEvictionFailure" | "SourceEc2LaunchTemplateNotFound" | "LimitExceeded" | "Unknown" | "AutoScalingGroupInstanceRefreshActive" | "KubernetesLabelInvalid" | "Ec2LaunchTemplateVersionMaxLimitExceeded" | "Ec2InstanceTypeDoesNotExist")
882
888
  attr_accessor message: ::String
@@ -1354,6 +1360,12 @@ module Aws::EKS
1354
1360
  SENSITIVE: []
1355
1361
  end
1356
1362
 
1363
+ class ThrottlingException
1364
+ attr_accessor cluster_name: ::String
1365
+ attr_accessor message: ::String
1366
+ SENSITIVE: []
1367
+ end
1368
+
1357
1369
  class UnsupportedAvailabilityZoneException
1358
1370
  attr_accessor message: ::String
1359
1371
  attr_accessor cluster_name: ::String
@@ -1440,6 +1452,7 @@ module Aws::EKS
1440
1452
  attr_accessor name: ::String
1441
1453
  attr_accessor version: ::String
1442
1454
  attr_accessor client_request_token: ::String
1455
+ attr_accessor force: bool
1443
1456
  SENSITIVE: []
1444
1457
  end
1445
1458
 
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.131.0
4
+ version: 1.132.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: 2025-02-28 00:00:00.000000000 Z
11
+ date: 2025-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core