aws-sdk-eks 1.146.0 → 1.147.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: 924f2e88d3b8378aad3dd44c2d9d7e5768166be44521724be94665aaae194ac6
4
- data.tar.gz: 27b55a25396cb57797b105a22f000b02dbdcba98034eb2affc57cd05ff08da1c
3
+ metadata.gz: 1dffb7d73291e57726cafe4666341e4a01e8cdd2c1160308df150488cc162038
4
+ data.tar.gz: f36229010eb91221710c98d3d7a14d0e1f386b79e7620328c66e97c5fca05d82
5
5
  SHA512:
6
- metadata.gz: 0dc45a6f5506ca85a7ee289a9c3bc6a8a6dcff96a29b12d35f5c8adb25a830f13038a8f1c8708039354de20494675b6ffcdeb128c60625804b3cde0093a706d5
7
- data.tar.gz: 1e7b0d2d2e94d39f88926dafebc4b2ab9bf9e98515e565c4ca696c20469dbc10a02eba53b19a140e6097aa9e4fa7df74f110483b74f78c76a7761b4647fba3e5
6
+ metadata.gz: 6f8981d95be693e49fa8eaeda0d9c915263412eaa76ead8596f9ed9d75c4e2d2ffcde8c755183eae4cb7fb351d79ee42f45f27a4eb3213536b698eae24b8040f
7
+ data.tar.gz: 38bac3aa84e4c9a30b86e0c962a63de95481a4db5289ca15b06fc85fecff7c57361445cd77904c9924a156adf163333e0ae8dd1391f8281519a233366408cbb2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.147.0 (2025-08-27)
5
+ ------------------
6
+
7
+ * Feature - Add support for on-demand refresh of EKS cluster insights
8
+
4
9
  1.146.0 (2025-08-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.146.0
1
+ 1.147.0
@@ -3401,6 +3401,42 @@ module Aws::EKS
3401
3401
  req.send_request(options)
3402
3402
  end
3403
3403
 
3404
+ # Returns the status of the latest on-demand cluster insights refresh
3405
+ # operation.
3406
+ #
3407
+ # @option params [required, String] :cluster_name
3408
+ # The name of the cluster associated with the insights refresh
3409
+ # operation.
3410
+ #
3411
+ # @return [Types::DescribeInsightsRefreshResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3412
+ #
3413
+ # * {Types::DescribeInsightsRefreshResponse#message #message} => String
3414
+ # * {Types::DescribeInsightsRefreshResponse#status #status} => String
3415
+ # * {Types::DescribeInsightsRefreshResponse#started_at #started_at} => Time
3416
+ # * {Types::DescribeInsightsRefreshResponse#ended_at #ended_at} => Time
3417
+ #
3418
+ # @example Request syntax with placeholder values
3419
+ #
3420
+ # resp = client.describe_insights_refresh({
3421
+ # cluster_name: "String", # required
3422
+ # })
3423
+ #
3424
+ # @example Response structure
3425
+ #
3426
+ # resp.message #=> String
3427
+ # resp.status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
3428
+ # resp.started_at #=> Time
3429
+ # resp.ended_at #=> Time
3430
+ #
3431
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeInsightsRefresh AWS API Documentation
3432
+ #
3433
+ # @overload describe_insights_refresh(params = {})
3434
+ # @param [Hash] params ({})
3435
+ def describe_insights_refresh(params = {}, options = {})
3436
+ req = build_request(:describe_insights_refresh, params)
3437
+ req.send_request(options)
3438
+ end
3439
+
3404
3440
  # Describes a managed node group.
3405
3441
  #
3406
3442
  # @option params [required, String] :cluster_name
@@ -4665,6 +4701,37 @@ module Aws::EKS
4665
4701
  req.send_request(options)
4666
4702
  end
4667
4703
 
4704
+ # Initiates an on-demand refresh operation for cluster insights, getting
4705
+ # the latest analysis outside of the standard refresh schedule.
4706
+ #
4707
+ # @option params [required, String] :cluster_name
4708
+ # The name of the cluster for the refresh insights operation.
4709
+ #
4710
+ # @return [Types::StartInsightsRefreshResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4711
+ #
4712
+ # * {Types::StartInsightsRefreshResponse#message #message} => String
4713
+ # * {Types::StartInsightsRefreshResponse#status #status} => String
4714
+ #
4715
+ # @example Request syntax with placeholder values
4716
+ #
4717
+ # resp = client.start_insights_refresh({
4718
+ # cluster_name: "String", # required
4719
+ # })
4720
+ #
4721
+ # @example Response structure
4722
+ #
4723
+ # resp.message #=> String
4724
+ # resp.status #=> String, one of "IN_PROGRESS", "FAILED", "COMPLETED"
4725
+ #
4726
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/StartInsightsRefresh AWS API Documentation
4727
+ #
4728
+ # @overload start_insights_refresh(params = {})
4729
+ # @param [Hash] params ({})
4730
+ def start_insights_refresh(params = {}, options = {})
4731
+ req = build_request(:start_insights_refresh, params)
4732
+ req.send_request(options)
4733
+ end
4734
+
4668
4735
  # Associates the specified tags to an Amazon EKS resource with the
4669
4736
  # specified `resourceArn`. If existing tags on a resource are not
4670
4737
  # specified in the request parameters, they aren't changed. When a
@@ -5722,7 +5789,7 @@ module Aws::EKS
5722
5789
  tracer: tracer
5723
5790
  )
5724
5791
  context[:gem_name] = 'aws-sdk-eks'
5725
- context[:gem_version] = '1.146.0'
5792
+ context[:gem_version] = '1.147.0'
5726
5793
  Seahorse::Client::Request.new(handlers, context)
5727
5794
  end
5728
5795
 
@@ -139,6 +139,8 @@ module Aws::EKS
139
139
  DescribeIdentityProviderConfigResponse = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigResponse')
140
140
  DescribeInsightRequest = Shapes::StructureShape.new(name: 'DescribeInsightRequest')
141
141
  DescribeInsightResponse = Shapes::StructureShape.new(name: 'DescribeInsightResponse')
142
+ DescribeInsightsRefreshRequest = Shapes::StructureShape.new(name: 'DescribeInsightsRefreshRequest')
143
+ DescribeInsightsRefreshResponse = Shapes::StructureShape.new(name: 'DescribeInsightsRefreshResponse')
142
144
  DescribeNodegroupRequest = Shapes::StructureShape.new(name: 'DescribeNodegroupRequest')
143
145
  DescribeNodegroupResponse = Shapes::StructureShape.new(name: 'DescribeNodegroupResponse')
144
146
  DescribePodIdentityAssociationRequest = Shapes::StructureShape.new(name: 'DescribePodIdentityAssociationRequest')
@@ -188,6 +190,7 @@ module Aws::EKS
188
190
  InsightSummaries = Shapes::ListShape.new(name: 'InsightSummaries')
189
191
  InsightSummary = Shapes::StructureShape.new(name: 'InsightSummary')
190
192
  InsightsFilter = Shapes::StructureShape.new(name: 'InsightsFilter')
193
+ InsightsRefreshStatus = Shapes::StringShape.new(name: 'InsightsRefreshStatus')
191
194
  Integer = Shapes::IntegerShape.new(name: 'Integer')
192
195
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
193
196
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
@@ -281,6 +284,8 @@ module Aws::EKS
281
284
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
282
285
  ServerException = Shapes::StructureShape.new(name: 'ServerException')
283
286
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
287
+ StartInsightsRefreshRequest = Shapes::StructureShape.new(name: 'StartInsightsRefreshRequest')
288
+ StartInsightsRefreshResponse = Shapes::StructureShape.new(name: 'StartInsightsRefreshResponse')
284
289
  StorageConfigRequest = Shapes::StructureShape.new(name: 'StorageConfigRequest')
285
290
  StorageConfigResponse = Shapes::StructureShape.new(name: 'StorageConfigResponse')
286
291
  String = Shapes::StringShape.new(name: 'String')
@@ -864,6 +869,15 @@ module Aws::EKS
864
869
  DescribeInsightResponse.add_member(:insight, Shapes::ShapeRef.new(shape: Insight, location_name: "insight"))
865
870
  DescribeInsightResponse.struct_class = Types::DescribeInsightResponse
866
871
 
872
+ DescribeInsightsRefreshRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
873
+ DescribeInsightsRefreshRequest.struct_class = Types::DescribeInsightsRefreshRequest
874
+
875
+ DescribeInsightsRefreshResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
876
+ DescribeInsightsRefreshResponse.add_member(:status, Shapes::ShapeRef.new(shape: InsightsRefreshStatus, location_name: "status"))
877
+ DescribeInsightsRefreshResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
878
+ DescribeInsightsRefreshResponse.add_member(:ended_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endedAt"))
879
+ DescribeInsightsRefreshResponse.struct_class = Types::DescribeInsightsRefreshResponse
880
+
867
881
  DescribeNodegroupRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
868
882
  DescribeNodegroupRequest.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "nodegroupName"))
869
883
  DescribeNodegroupRequest.struct_class = Types::DescribeNodegroupRequest
@@ -1397,6 +1411,13 @@ module Aws::EKS
1397
1411
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1398
1412
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
1399
1413
 
1414
+ StartInsightsRefreshRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
1415
+ StartInsightsRefreshRequest.struct_class = Types::StartInsightsRefreshRequest
1416
+
1417
+ StartInsightsRefreshResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1418
+ StartInsightsRefreshResponse.add_member(:status, Shapes::ShapeRef.new(shape: InsightsRefreshStatus, location_name: "status"))
1419
+ StartInsightsRefreshResponse.struct_class = Types::StartInsightsRefreshResponse
1420
+
1400
1421
  StorageConfigRequest.add_member(:block_storage, Shapes::ShapeRef.new(shape: BlockStorage, location_name: "blockStorage"))
1401
1422
  StorageConfigRequest.struct_class = Types::StorageConfigRequest
1402
1423
 
@@ -1987,6 +2008,18 @@ module Aws::EKS
1987
2008
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1988
2009
  end)
1989
2010
 
2011
+ api.add_operation(:describe_insights_refresh, Seahorse::Model::Operation.new.tap do |o|
2012
+ o.name = "DescribeInsightsRefresh"
2013
+ o.http_method = "GET"
2014
+ o.http_request_uri = "/clusters/{name}/insights-refresh"
2015
+ o.input = Shapes::ShapeRef.new(shape: DescribeInsightsRefreshRequest)
2016
+ o.output = Shapes::ShapeRef.new(shape: DescribeInsightsRefreshResponse)
2017
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2018
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2019
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2020
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2021
+ end)
2022
+
1990
2023
  api.add_operation(:describe_nodegroup, Seahorse::Model::Operation.new.tap do |o|
1991
2024
  o.name = "DescribeNodegroup"
1992
2025
  o.http_method = "GET"
@@ -2291,6 +2324,18 @@ module Aws::EKS
2291
2324
  o.errors << Shapes::ShapeRef.new(shape: ResourcePropagationDelayException)
2292
2325
  end)
2293
2326
 
2327
+ api.add_operation(:start_insights_refresh, Seahorse::Model::Operation.new.tap do |o|
2328
+ o.name = "StartInsightsRefresh"
2329
+ o.http_method = "POST"
2330
+ o.http_request_uri = "/clusters/{name}/insights-refresh"
2331
+ o.input = Shapes::ShapeRef.new(shape: StartInsightsRefreshRequest)
2332
+ o.output = Shapes::ShapeRef.new(shape: StartInsightsRefreshResponse)
2333
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
2334
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2335
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
2336
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2337
+ end)
2338
+
2294
2339
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
2295
2340
  o.name = "TagResource"
2296
2341
  o.http_method = "POST"
@@ -3060,6 +3060,46 @@ module Aws::EKS
3060
3060
  include Aws::Structure
3061
3061
  end
3062
3062
 
3063
+ # @!attribute [rw] cluster_name
3064
+ # The name of the cluster associated with the insights refresh
3065
+ # operation.
3066
+ # @return [String]
3067
+ #
3068
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeInsightsRefreshRequest AWS API Documentation
3069
+ #
3070
+ class DescribeInsightsRefreshRequest < Struct.new(
3071
+ :cluster_name)
3072
+ SENSITIVE = []
3073
+ include Aws::Structure
3074
+ end
3075
+
3076
+ # @!attribute [rw] message
3077
+ # The message associated with the insights refresh operation.
3078
+ # @return [String]
3079
+ #
3080
+ # @!attribute [rw] status
3081
+ # The current status of the insights refresh operation.
3082
+ # @return [String]
3083
+ #
3084
+ # @!attribute [rw] started_at
3085
+ # The date and time when the insights refresh operation started.
3086
+ # @return [Time]
3087
+ #
3088
+ # @!attribute [rw] ended_at
3089
+ # The date and time when the insights refresh operation ended.
3090
+ # @return [Time]
3091
+ #
3092
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeInsightsRefreshResponse AWS API Documentation
3093
+ #
3094
+ class DescribeInsightsRefreshResponse < Struct.new(
3095
+ :message,
3096
+ :status,
3097
+ :started_at,
3098
+ :ended_at)
3099
+ SENSITIVE = []
3100
+ include Aws::Structure
3101
+ end
3102
+
3063
3103
  # @!attribute [rw] cluster_name
3064
3104
  # The name of your cluster.
3065
3105
  # @return [String]
@@ -6473,6 +6513,35 @@ module Aws::EKS
6473
6513
  include Aws::Structure
6474
6514
  end
6475
6515
 
6516
+ # @!attribute [rw] cluster_name
6517
+ # The name of the cluster for the refresh insights operation.
6518
+ # @return [String]
6519
+ #
6520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/StartInsightsRefreshRequest AWS API Documentation
6521
+ #
6522
+ class StartInsightsRefreshRequest < Struct.new(
6523
+ :cluster_name)
6524
+ SENSITIVE = []
6525
+ include Aws::Structure
6526
+ end
6527
+
6528
+ # @!attribute [rw] message
6529
+ # The message associated with the insights refresh operation.
6530
+ # @return [String]
6531
+ #
6532
+ # @!attribute [rw] status
6533
+ # The current status of the insights refresh operation.
6534
+ # @return [String]
6535
+ #
6536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/StartInsightsRefreshResponse AWS API Documentation
6537
+ #
6538
+ class StartInsightsRefreshResponse < Struct.new(
6539
+ :message,
6540
+ :status)
6541
+ SENSITIVE = []
6542
+ include Aws::Structure
6543
+ end
6544
+
6476
6545
  # Request to update the configuration of the storage capability of your
6477
6546
  # EKS Auto Mode cluster. For example, enable the capability. For more
6478
6547
  # information, see EKS Auto Mode block storage capability in the *Amazon
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.146.0'
58
+ GEM_VERSION = '1.147.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -585,6 +585,19 @@ module Aws
585
585
  ) -> _DescribeInsightResponseSuccess
586
586
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInsightResponseSuccess
587
587
 
588
+ interface _DescribeInsightsRefreshResponseSuccess
589
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeInsightsRefreshResponse]
590
+ def message: () -> ::String
591
+ def status: () -> ("IN_PROGRESS" | "FAILED" | "COMPLETED")
592
+ def started_at: () -> ::Time
593
+ def ended_at: () -> ::Time
594
+ end
595
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#describe_insights_refresh-instance_method
596
+ def describe_insights_refresh: (
597
+ cluster_name: ::String
598
+ ) -> _DescribeInsightsRefreshResponseSuccess
599
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeInsightsRefreshResponseSuccess
600
+
588
601
  interface _DescribeNodegroupResponseSuccess
589
602
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeNodegroupResponse]
590
603
  def nodegroup: () -> Types::Nodegroup
@@ -840,6 +853,17 @@ module Aws
840
853
  ) -> _RegisterClusterResponseSuccess
841
854
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterClusterResponseSuccess
842
855
 
856
+ interface _StartInsightsRefreshResponseSuccess
857
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartInsightsRefreshResponse]
858
+ def message: () -> ::String
859
+ def status: () -> ("IN_PROGRESS" | "FAILED" | "COMPLETED")
860
+ end
861
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#start_insights_refresh-instance_method
862
+ def start_insights_refresh: (
863
+ cluster_name: ::String
864
+ ) -> _StartInsightsRefreshResponseSuccess
865
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartInsightsRefreshResponseSuccess
866
+
843
867
  interface _TagResourceResponseSuccess
844
868
  include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
845
869
  end
data/sig/types.rbs CHANGED
@@ -675,6 +675,19 @@ module Aws::EKS
675
675
  SENSITIVE: []
676
676
  end
677
677
 
678
+ class DescribeInsightsRefreshRequest
679
+ attr_accessor cluster_name: ::String
680
+ SENSITIVE: []
681
+ end
682
+
683
+ class DescribeInsightsRefreshResponse
684
+ attr_accessor message: ::String
685
+ attr_accessor status: ("IN_PROGRESS" | "FAILED" | "COMPLETED")
686
+ attr_accessor started_at: ::Time
687
+ attr_accessor ended_at: ::Time
688
+ SENSITIVE: []
689
+ end
690
+
678
691
  class DescribeNodegroupRequest
679
692
  attr_accessor cluster_name: ::String
680
693
  attr_accessor nodegroup_name: ::String
@@ -1354,6 +1367,17 @@ module Aws::EKS
1354
1367
  SENSITIVE: []
1355
1368
  end
1356
1369
 
1370
+ class StartInsightsRefreshRequest
1371
+ attr_accessor cluster_name: ::String
1372
+ SENSITIVE: []
1373
+ end
1374
+
1375
+ class StartInsightsRefreshResponse
1376
+ attr_accessor message: ::String
1377
+ attr_accessor status: ("IN_PROGRESS" | "FAILED" | "COMPLETED")
1378
+ SENSITIVE: []
1379
+ end
1380
+
1357
1381
  class StorageConfigRequest
1358
1382
  attr_accessor block_storage: Types::BlockStorage
1359
1383
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-eks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.146.0
4
+ version: 1.147.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services