aws-sdk-eks 1.96.0 → 1.98.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: de4faa279a6a81481d0934bd01345ed811ebde05498aa29a91223826fc668989
4
- data.tar.gz: 65e82d970e8361f42e85a96e4d571073099696fdb3890c2afea6b679bc2e1e81
3
+ metadata.gz: 1198463637756bf38fef63fb6e66d78a067da719a5a4c8cdaa557715e646d84f
4
+ data.tar.gz: e9a101651cf62a6fb940adab95510416696d443ab477fe620c6715f3dff8580a
5
5
  SHA512:
6
- metadata.gz: a7bb9e293c5e645c16efeb90ecbf5f20b5b3a5bc38439e346a1aa006e51a74792dea1afc94e2c70127cdcb344f6f36456c965a5439b847df2d29030fd6b72d1b
7
- data.tar.gz: 1625a19ad5aeeb8af07da035de7fddde3c2161e5086fe27a0b0dbb31803eb4b84dfd77ffda7f85efb1116765767340d9bc551e59b7b260dd396dad4ec132e2b6
6
+ metadata.gz: db829af517fba3b9a46dba25179c29eb7610383dbb191149e5ce0285fab943b2c911c282c273572e4e6410efa880ac582fe9dc18d7da5ad8e1fb80ce795dfb13
7
+ data.tar.gz: 61f14bff103072d6e1779cc421382250422dc17d807e0376d1c703a0fa9f7ad754655c63a3524bec183e13cfe7c87f4d7fdc56d660082a7187b9d65b2312a5bd
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.98.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.97.0 (2023-12-20)
10
+ ------------------
11
+
12
+ * Feature - Add support for cluster insights, new EKS capability that surfaces potentially upgrade impacting issues.
13
+
4
14
  1.96.0 (2023-12-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.0
1
+ 1.98.0
@@ -629,12 +629,16 @@ module Aws::EKS
629
629
  # than one access entry. This value can't be changed after access entry
630
630
  # creation.
631
631
  #
632
- # [IAM best practices][1] recommend using IAM roles with temporary
633
- # credentials, rather than IAM users with long-term credentials.
634
- #
635
- #
636
- #
637
- # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#bp-users-federation-idp
632
+ # The valid principals differ depending on the type of the access entry
633
+ # in the `type` field. The only valid ARN is IAM roles for the types of
634
+ # access entries for nodes: ` . You can use every IAM principal type for
635
+ # STANDARD access entries. You can't use the STS session principal type
636
+ # with access entries because this is a temporary principal for each
637
+ # session and not a permanent identity that can be assigned
638
+ # permissions.</p> IAM best practices recommend using IAM roles with
639
+ # temporary credentials, rather than IAM users with long-term
640
+ # credentials.
641
+ # `
638
642
  #
639
643
  # @option params [Array<String>] :kubernetes_groups
640
644
  # The value for `name` that you've specified for `kind: Group` as a
@@ -685,6 +689,9 @@ module Aws::EKS
685
689
  # [1]: https://docs.aws.amazon.com/eks/latest/userguide/access-entries.html#creating-access-entries
686
690
  #
687
691
  # @option params [String] :type
692
+ # The type of the new access entry. Valid values are `Standard`,
693
+ # `FARGATE_LINUX`, `EC2_LINUX`, and `EC2_WINDOWS`.
694
+ #
688
695
  # If the `principalArn` is for an IAM role that's used for self-managed
689
696
  # Amazon EC2 nodes, specify `EC2_LINUX` or `EC2_WINDOWS`. Amazon EKS
690
697
  # grants the necessary permissions to the node for you. If the
@@ -2835,6 +2842,63 @@ module Aws::EKS
2835
2842
  req.send_request(options)
2836
2843
  end
2837
2844
 
2845
+ # Returns details about an insight that you specify using its ID.
2846
+ #
2847
+ # @option params [required, String] :cluster_name
2848
+ # The name of the cluster to describe the insight for.
2849
+ #
2850
+ # @option params [required, String] :id
2851
+ # The identity of the insight to describe.
2852
+ #
2853
+ # @return [Types::DescribeInsightResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2854
+ #
2855
+ # * {Types::DescribeInsightResponse#insight #insight} => Types::Insight
2856
+ #
2857
+ # @example Request syntax with placeholder values
2858
+ #
2859
+ # resp = client.describe_insight({
2860
+ # cluster_name: "String", # required
2861
+ # id: "String", # required
2862
+ # })
2863
+ #
2864
+ # @example Response structure
2865
+ #
2866
+ # resp.insight.id #=> String
2867
+ # resp.insight.name #=> String
2868
+ # resp.insight.category #=> String, one of "UPGRADE_READINESS"
2869
+ # resp.insight.kubernetes_version #=> String
2870
+ # resp.insight.last_refresh_time #=> Time
2871
+ # resp.insight.last_transition_time #=> Time
2872
+ # resp.insight.description #=> String
2873
+ # resp.insight.insight_status.status #=> String, one of "PASSING", "WARNING", "ERROR", "UNKNOWN"
2874
+ # resp.insight.insight_status.reason #=> String
2875
+ # resp.insight.recommendation #=> String
2876
+ # resp.insight.additional_info #=> Hash
2877
+ # resp.insight.additional_info["String"] #=> String
2878
+ # resp.insight.resources #=> Array
2879
+ # resp.insight.resources[0].insight_status.status #=> String, one of "PASSING", "WARNING", "ERROR", "UNKNOWN"
2880
+ # resp.insight.resources[0].insight_status.reason #=> String
2881
+ # resp.insight.resources[0].kubernetes_resource_uri #=> String
2882
+ # resp.insight.resources[0].arn #=> String
2883
+ # resp.insight.category_specific_summary.deprecation_details #=> Array
2884
+ # resp.insight.category_specific_summary.deprecation_details[0].usage #=> String
2885
+ # resp.insight.category_specific_summary.deprecation_details[0].replaced_with #=> String
2886
+ # resp.insight.category_specific_summary.deprecation_details[0].stop_serving_version #=> String
2887
+ # resp.insight.category_specific_summary.deprecation_details[0].start_serving_replacement_version #=> String
2888
+ # resp.insight.category_specific_summary.deprecation_details[0].client_stats #=> Array
2889
+ # resp.insight.category_specific_summary.deprecation_details[0].client_stats[0].user_agent #=> String
2890
+ # resp.insight.category_specific_summary.deprecation_details[0].client_stats[0].number_of_requests_last_30_days #=> Integer
2891
+ # resp.insight.category_specific_summary.deprecation_details[0].client_stats[0].last_request_time #=> Time
2892
+ #
2893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeInsight AWS API Documentation
2894
+ #
2895
+ # @overload describe_insight(params = {})
2896
+ # @param [Hash] params ({})
2897
+ def describe_insight(params = {}, options = {})
2898
+ req = build_request(:describe_insight, params)
2899
+ req.send_request(options)
2900
+ end
2901
+
2838
2902
  # Describes a managed node group.
2839
2903
  #
2840
2904
  # @option params [required, String] :cluster_name
@@ -3623,6 +3687,78 @@ module Aws::EKS
3623
3687
  req.send_request(options)
3624
3688
  end
3625
3689
 
3690
+ # Returns a list of all insights checked for against the specified
3691
+ # cluster. You can filter which insights are returned by category,
3692
+ # associated Kubernetes version, and status.
3693
+ #
3694
+ # @option params [required, String] :cluster_name
3695
+ # The name of the Amazon EKS cluster associated with the insights.
3696
+ #
3697
+ # @option params [Types::InsightsFilter] :filter
3698
+ # The criteria to filter your list of insights for your cluster. You can
3699
+ # filter which insights are returned by category, associated Kubernetes
3700
+ # version, and status.
3701
+ #
3702
+ # @option params [Integer] :max_results
3703
+ # The maximum number of identity provider configurations returned by
3704
+ # `ListInsights` in paginated output. When you use this parameter,
3705
+ # `ListInsights` returns only `maxResults` results in a single page
3706
+ # along with a `nextToken` response element. You can see the remaining
3707
+ # results of the initial request by sending another `ListInsights`
3708
+ # request with the returned `nextToken` value. This value can be between
3709
+ # 1 and 100. If you don't use this parameter, `ListInsights` returns up
3710
+ # to 100 results and a `nextToken` value, if applicable.
3711
+ #
3712
+ # @option params [String] :next_token
3713
+ # The `nextToken` value returned from a previous paginated
3714
+ # `ListInsights` request. When the results of a `ListInsights` request
3715
+ # exceed `maxResults`, you can use this value to retrieve the next page
3716
+ # of results. This value is `null` when there are no more results to
3717
+ # return.
3718
+ #
3719
+ # @return [Types::ListInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3720
+ #
3721
+ # * {Types::ListInsightsResponse#insights #insights} => Array&lt;Types::InsightSummary&gt;
3722
+ # * {Types::ListInsightsResponse#next_token #next_token} => String
3723
+ #
3724
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3725
+ #
3726
+ # @example Request syntax with placeholder values
3727
+ #
3728
+ # resp = client.list_insights({
3729
+ # cluster_name: "String", # required
3730
+ # filter: {
3731
+ # categories: ["UPGRADE_READINESS"], # accepts UPGRADE_READINESS
3732
+ # kubernetes_versions: ["String"],
3733
+ # statuses: ["PASSING"], # accepts PASSING, WARNING, ERROR, UNKNOWN
3734
+ # },
3735
+ # max_results: 1,
3736
+ # next_token: "String",
3737
+ # })
3738
+ #
3739
+ # @example Response structure
3740
+ #
3741
+ # resp.insights #=> Array
3742
+ # resp.insights[0].id #=> String
3743
+ # resp.insights[0].name #=> String
3744
+ # resp.insights[0].category #=> String, one of "UPGRADE_READINESS"
3745
+ # resp.insights[0].kubernetes_version #=> String
3746
+ # resp.insights[0].last_refresh_time #=> Time
3747
+ # resp.insights[0].last_transition_time #=> Time
3748
+ # resp.insights[0].description #=> String
3749
+ # resp.insights[0].insight_status.status #=> String, one of "PASSING", "WARNING", "ERROR", "UNKNOWN"
3750
+ # resp.insights[0].insight_status.reason #=> String
3751
+ # resp.next_token #=> String
3752
+ #
3753
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListInsights AWS API Documentation
3754
+ #
3755
+ # @overload list_insights(params = {})
3756
+ # @param [Hash] params ({})
3757
+ def list_insights(params = {}, options = {})
3758
+ req = build_request(:list_insights, params)
3759
+ req.send_request(options)
3760
+ end
3761
+
3626
3762
  # Lists the managed node groups associated with the specified cluster in
3627
3763
  # your Amazon Web Services account in the specified Amazon Web Services
3628
3764
  # Region. Self-managed node groups aren't listed.
@@ -4819,7 +4955,7 @@ module Aws::EKS
4819
4955
  params: params,
4820
4956
  config: config)
4821
4957
  context[:gem_name] = 'aws-sdk-eks'
4822
- context[:gem_version] = '1.96.0'
4958
+ context[:gem_version] = '1.98.0'
4823
4959
  Seahorse::Client::Request.new(handlers, context)
4824
4960
  end
4825
4961
 
@@ -21,6 +21,7 @@ module Aws::EKS
21
21
  AccessPolicy = Shapes::StructureShape.new(name: 'AccessPolicy')
22
22
  AccessScope = Shapes::StructureShape.new(name: 'AccessScope')
23
23
  AccessScopeType = Shapes::StringShape.new(name: 'AccessScopeType')
24
+ AdditionalInfoMap = Shapes::MapShape.new(name: 'AdditionalInfoMap')
24
25
  Addon = Shapes::StructureShape.new(name: 'Addon')
25
26
  AddonHealth = Shapes::StructureShape.new(name: 'AddonHealth')
26
27
  AddonInfo = Shapes::StructureShape.new(name: 'AddonInfo')
@@ -48,8 +49,12 @@ module Aws::EKS
48
49
  BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
49
50
  Capacity = Shapes::IntegerShape.new(name: 'Capacity')
50
51
  CapacityTypes = Shapes::StringShape.new(name: 'CapacityTypes')
52
+ Category = Shapes::StringShape.new(name: 'Category')
53
+ CategoryList = Shapes::ListShape.new(name: 'CategoryList')
51
54
  Certificate = Shapes::StructureShape.new(name: 'Certificate')
52
55
  ClientException = Shapes::StructureShape.new(name: 'ClientException')
56
+ ClientStat = Shapes::StructureShape.new(name: 'ClientStat')
57
+ ClientStats = Shapes::ListShape.new(name: 'ClientStats')
53
58
  Cluster = Shapes::StructureShape.new(name: 'Cluster')
54
59
  ClusterHealth = Shapes::StructureShape.new(name: 'ClusterHealth')
55
60
  ClusterIssue = Shapes::StructureShape.new(name: 'ClusterIssue')
@@ -93,6 +98,8 @@ module Aws::EKS
93
98
  DeleteNodegroupResponse = Shapes::StructureShape.new(name: 'DeleteNodegroupResponse')
94
99
  DeletePodIdentityAssociationRequest = Shapes::StructureShape.new(name: 'DeletePodIdentityAssociationRequest')
95
100
  DeletePodIdentityAssociationResponse = Shapes::StructureShape.new(name: 'DeletePodIdentityAssociationResponse')
101
+ DeprecationDetail = Shapes::StructureShape.new(name: 'DeprecationDetail')
102
+ DeprecationDetails = Shapes::ListShape.new(name: 'DeprecationDetails')
96
103
  DeregisterClusterRequest = Shapes::StructureShape.new(name: 'DeregisterClusterRequest')
97
104
  DeregisterClusterResponse = Shapes::StructureShape.new(name: 'DeregisterClusterResponse')
98
105
  DescribeAccessEntryRequest = Shapes::StructureShape.new(name: 'DescribeAccessEntryRequest')
@@ -112,6 +119,8 @@ module Aws::EKS
112
119
  DescribeFargateProfileResponse = Shapes::StructureShape.new(name: 'DescribeFargateProfileResponse')
113
120
  DescribeIdentityProviderConfigRequest = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigRequest')
114
121
  DescribeIdentityProviderConfigResponse = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigResponse')
122
+ DescribeInsightRequest = Shapes::StructureShape.new(name: 'DescribeInsightRequest')
123
+ DescribeInsightResponse = Shapes::StructureShape.new(name: 'DescribeInsightResponse')
115
124
  DescribeNodegroupRequest = Shapes::StructureShape.new(name: 'DescribeNodegroupRequest')
116
125
  DescribeNodegroupResponse = Shapes::StructureShape.new(name: 'DescribeNodegroupResponse')
117
126
  DescribePodIdentityAssociationRequest = Shapes::StructureShape.new(name: 'DescribePodIdentityAssociationRequest')
@@ -146,6 +155,16 @@ module Aws::EKS
146
155
  IdentityProviderConfigResponse = Shapes::StructureShape.new(name: 'IdentityProviderConfigResponse')
147
156
  IdentityProviderConfigs = Shapes::ListShape.new(name: 'IdentityProviderConfigs')
148
157
  IncludeClustersList = Shapes::ListShape.new(name: 'IncludeClustersList')
158
+ Insight = Shapes::StructureShape.new(name: 'Insight')
159
+ InsightCategorySpecificSummary = Shapes::StructureShape.new(name: 'InsightCategorySpecificSummary')
160
+ InsightResourceDetail = Shapes::StructureShape.new(name: 'InsightResourceDetail')
161
+ InsightResourceDetails = Shapes::ListShape.new(name: 'InsightResourceDetails')
162
+ InsightStatus = Shapes::StructureShape.new(name: 'InsightStatus')
163
+ InsightStatusValue = Shapes::StringShape.new(name: 'InsightStatusValue')
164
+ InsightStatusValueList = Shapes::ListShape.new(name: 'InsightStatusValueList')
165
+ InsightSummaries = Shapes::ListShape.new(name: 'InsightSummaries')
166
+ InsightSummary = Shapes::StructureShape.new(name: 'InsightSummary')
167
+ InsightsFilter = Shapes::StructureShape.new(name: 'InsightsFilter')
149
168
  Integer = Shapes::IntegerShape.new(name: 'Integer')
150
169
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
151
170
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
@@ -178,6 +197,9 @@ module Aws::EKS
178
197
  ListIdentityProviderConfigsRequest = Shapes::StructureShape.new(name: 'ListIdentityProviderConfigsRequest')
179
198
  ListIdentityProviderConfigsRequestMaxResults = Shapes::IntegerShape.new(name: 'ListIdentityProviderConfigsRequestMaxResults')
180
199
  ListIdentityProviderConfigsResponse = Shapes::StructureShape.new(name: 'ListIdentityProviderConfigsResponse')
200
+ ListInsightsMaxResults = Shapes::IntegerShape.new(name: 'ListInsightsMaxResults')
201
+ ListInsightsRequest = Shapes::StructureShape.new(name: 'ListInsightsRequest')
202
+ ListInsightsResponse = Shapes::StructureShape.new(name: 'ListInsightsResponse')
181
203
  ListNodegroupsRequest = Shapes::StructureShape.new(name: 'ListNodegroupsRequest')
182
204
  ListNodegroupsRequestMaxResults = Shapes::IntegerShape.new(name: 'ListNodegroupsRequestMaxResults')
183
205
  ListNodegroupsResponse = Shapes::StructureShape.new(name: 'ListNodegroupsResponse')
@@ -307,6 +329,9 @@ module Aws::EKS
307
329
  AccessScope.add_member(:namespaces, Shapes::ShapeRef.new(shape: StringList, location_name: "namespaces"))
308
330
  AccessScope.struct_class = Types::AccessScope
309
331
 
332
+ AdditionalInfoMap.key = Shapes::ShapeRef.new(shape: String)
333
+ AdditionalInfoMap.value = Shapes::ShapeRef.new(shape: String)
334
+
310
335
  Addon.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
311
336
  Addon.add_member(:cluster_name, Shapes::ShapeRef.new(shape: ClusterName, location_name: "clusterName"))
312
337
  Addon.add_member(:status, Shapes::ShapeRef.new(shape: AddonStatus, location_name: "status"))
@@ -396,6 +421,8 @@ module Aws::EKS
396
421
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
397
422
  BadRequestException.struct_class = Types::BadRequestException
398
423
 
424
+ CategoryList.member = Shapes::ShapeRef.new(shape: Category)
425
+
399
426
  Certificate.add_member(:data, Shapes::ShapeRef.new(shape: String, location_name: "data"))
400
427
  Certificate.struct_class = Types::Certificate
401
428
 
@@ -406,6 +433,13 @@ module Aws::EKS
406
433
  ClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
407
434
  ClientException.struct_class = Types::ClientException
408
435
 
436
+ ClientStat.add_member(:user_agent, Shapes::ShapeRef.new(shape: String, location_name: "userAgent"))
437
+ ClientStat.add_member(:number_of_requests_last_30_days, Shapes::ShapeRef.new(shape: Integer, location_name: "numberOfRequestsLast30Days"))
438
+ ClientStat.add_member(:last_request_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastRequestTime"))
439
+ ClientStat.struct_class = Types::ClientStat
440
+
441
+ ClientStats.member = Shapes::ShapeRef.new(shape: ClientStat)
442
+
409
443
  Cluster.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
410
444
  Cluster.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
411
445
  Cluster.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
@@ -613,6 +647,15 @@ module Aws::EKS
613
647
  DeletePodIdentityAssociationResponse.add_member(:association, Shapes::ShapeRef.new(shape: PodIdentityAssociation, location_name: "association"))
614
648
  DeletePodIdentityAssociationResponse.struct_class = Types::DeletePodIdentityAssociationResponse
615
649
 
650
+ DeprecationDetail.add_member(:usage, Shapes::ShapeRef.new(shape: String, location_name: "usage"))
651
+ DeprecationDetail.add_member(:replaced_with, Shapes::ShapeRef.new(shape: String, location_name: "replacedWith"))
652
+ DeprecationDetail.add_member(:stop_serving_version, Shapes::ShapeRef.new(shape: String, location_name: "stopServingVersion"))
653
+ DeprecationDetail.add_member(:start_serving_replacement_version, Shapes::ShapeRef.new(shape: String, location_name: "startServingReplacementVersion"))
654
+ DeprecationDetail.add_member(:client_stats, Shapes::ShapeRef.new(shape: ClientStats, location_name: "clientStats"))
655
+ DeprecationDetail.struct_class = Types::DeprecationDetail
656
+
657
+ DeprecationDetails.member = Shapes::ShapeRef.new(shape: DeprecationDetail)
658
+
616
659
  DeregisterClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
617
660
  DeregisterClusterRequest.struct_class = Types::DeregisterClusterRequest
618
661
 
@@ -681,6 +724,13 @@ module Aws::EKS
681
724
  DescribeIdentityProviderConfigResponse.add_member(:identity_provider_config, Shapes::ShapeRef.new(shape: IdentityProviderConfigResponse, location_name: "identityProviderConfig"))
682
725
  DescribeIdentityProviderConfigResponse.struct_class = Types::DescribeIdentityProviderConfigResponse
683
726
 
727
+ DescribeInsightRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
728
+ DescribeInsightRequest.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "id"))
729
+ DescribeInsightRequest.struct_class = Types::DescribeInsightRequest
730
+
731
+ DescribeInsightResponse.add_member(:insight, Shapes::ShapeRef.new(shape: Insight, location_name: "insight"))
732
+ DescribeInsightResponse.struct_class = Types::DescribeInsightResponse
733
+
684
734
  DescribeNodegroupRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
685
735
  DescribeNodegroupRequest.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "nodegroupName"))
686
736
  DescribeNodegroupRequest.struct_class = Types::DescribeNodegroupRequest
@@ -788,6 +838,53 @@ module Aws::EKS
788
838
 
789
839
  IncludeClustersList.member = Shapes::ShapeRef.new(shape: String)
790
840
 
841
+ Insight.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
842
+ Insight.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
843
+ Insight.add_member(:category, Shapes::ShapeRef.new(shape: Category, location_name: "category"))
844
+ Insight.add_member(:kubernetes_version, Shapes::ShapeRef.new(shape: String, location_name: "kubernetesVersion"))
845
+ Insight.add_member(:last_refresh_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastRefreshTime"))
846
+ Insight.add_member(:last_transition_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastTransitionTime"))
847
+ Insight.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
848
+ Insight.add_member(:insight_status, Shapes::ShapeRef.new(shape: InsightStatus, location_name: "insightStatus"))
849
+ Insight.add_member(:recommendation, Shapes::ShapeRef.new(shape: String, location_name: "recommendation"))
850
+ Insight.add_member(:additional_info, Shapes::ShapeRef.new(shape: AdditionalInfoMap, location_name: "additionalInfo"))
851
+ Insight.add_member(:resources, Shapes::ShapeRef.new(shape: InsightResourceDetails, location_name: "resources"))
852
+ Insight.add_member(:category_specific_summary, Shapes::ShapeRef.new(shape: InsightCategorySpecificSummary, location_name: "categorySpecificSummary"))
853
+ Insight.struct_class = Types::Insight
854
+
855
+ InsightCategorySpecificSummary.add_member(:deprecation_details, Shapes::ShapeRef.new(shape: DeprecationDetails, location_name: "deprecationDetails"))
856
+ InsightCategorySpecificSummary.struct_class = Types::InsightCategorySpecificSummary
857
+
858
+ InsightResourceDetail.add_member(:insight_status, Shapes::ShapeRef.new(shape: InsightStatus, location_name: "insightStatus"))
859
+ InsightResourceDetail.add_member(:kubernetes_resource_uri, Shapes::ShapeRef.new(shape: String, location_name: "kubernetesResourceUri"))
860
+ InsightResourceDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
861
+ InsightResourceDetail.struct_class = Types::InsightResourceDetail
862
+
863
+ InsightResourceDetails.member = Shapes::ShapeRef.new(shape: InsightResourceDetail)
864
+
865
+ InsightStatus.add_member(:status, Shapes::ShapeRef.new(shape: InsightStatusValue, location_name: "status"))
866
+ InsightStatus.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
867
+ InsightStatus.struct_class = Types::InsightStatus
868
+
869
+ InsightStatusValueList.member = Shapes::ShapeRef.new(shape: InsightStatusValue)
870
+
871
+ InsightSummaries.member = Shapes::ShapeRef.new(shape: InsightSummary)
872
+
873
+ InsightSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
874
+ InsightSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
875
+ InsightSummary.add_member(:category, Shapes::ShapeRef.new(shape: Category, location_name: "category"))
876
+ InsightSummary.add_member(:kubernetes_version, Shapes::ShapeRef.new(shape: String, location_name: "kubernetesVersion"))
877
+ InsightSummary.add_member(:last_refresh_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastRefreshTime"))
878
+ InsightSummary.add_member(:last_transition_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastTransitionTime"))
879
+ InsightSummary.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
880
+ InsightSummary.add_member(:insight_status, Shapes::ShapeRef.new(shape: InsightStatus, location_name: "insightStatus"))
881
+ InsightSummary.struct_class = Types::InsightSummary
882
+
883
+ InsightsFilter.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryList, location_name: "categories"))
884
+ InsightsFilter.add_member(:kubernetes_versions, Shapes::ShapeRef.new(shape: StringList, location_name: "kubernetesVersions"))
885
+ InsightsFilter.add_member(:statuses, Shapes::ShapeRef.new(shape: InsightStatusValueList, location_name: "statuses"))
886
+ InsightsFilter.struct_class = Types::InsightsFilter
887
+
791
888
  InvalidParameterException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
792
889
  InvalidParameterException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
793
890
  InvalidParameterException.add_member(:fargate_profile_name, Shapes::ShapeRef.new(shape: String, location_name: "fargateProfileName"))
@@ -899,6 +996,16 @@ module Aws::EKS
899
996
  ListIdentityProviderConfigsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
900
997
  ListIdentityProviderConfigsResponse.struct_class = Types::ListIdentityProviderConfigsResponse
901
998
 
999
+ ListInsightsRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
1000
+ ListInsightsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: InsightsFilter, location_name: "filter"))
1001
+ ListInsightsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListInsightsMaxResults, location_name: "maxResults"))
1002
+ ListInsightsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1003
+ ListInsightsRequest.struct_class = Types::ListInsightsRequest
1004
+
1005
+ ListInsightsResponse.add_member(:insights, Shapes::ShapeRef.new(shape: InsightSummaries, location_name: "insights"))
1006
+ ListInsightsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
1007
+ ListInsightsResponse.struct_class = Types::ListInsightsResponse
1008
+
902
1009
  ListNodegroupsRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
903
1010
  ListNodegroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListNodegroupsRequestMaxResults, location: "querystring", location_name: "maxResults"))
904
1011
  ListNodegroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
@@ -1623,6 +1730,18 @@ module Aws::EKS
1623
1730
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1624
1731
  end)
1625
1732
 
1733
+ api.add_operation(:describe_insight, Seahorse::Model::Operation.new.tap do |o|
1734
+ o.name = "DescribeInsight"
1735
+ o.http_method = "GET"
1736
+ o.http_request_uri = "/clusters/{name}/insights/{id}"
1737
+ o.input = Shapes::ShapeRef.new(shape: DescribeInsightRequest)
1738
+ o.output = Shapes::ShapeRef.new(shape: DescribeInsightResponse)
1739
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1740
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1741
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1742
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1743
+ end)
1744
+
1626
1745
  api.add_operation(:describe_nodegroup, Seahorse::Model::Operation.new.tap do |o|
1627
1746
  o.name = "DescribeNodegroup"
1628
1747
  o.http_method = "GET"
@@ -1827,6 +1946,24 @@ module Aws::EKS
1827
1946
  )
1828
1947
  end)
1829
1948
 
1949
+ api.add_operation(:list_insights, Seahorse::Model::Operation.new.tap do |o|
1950
+ o.name = "ListInsights"
1951
+ o.http_method = "POST"
1952
+ o.http_request_uri = "/clusters/{name}/insights"
1953
+ o.input = Shapes::ShapeRef.new(shape: ListInsightsRequest)
1954
+ o.output = Shapes::ShapeRef.new(shape: ListInsightsResponse)
1955
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1956
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1957
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1958
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1959
+ o[:pager] = Aws::Pager.new(
1960
+ limit_key: "max_results",
1961
+ tokens: {
1962
+ "next_token" => "next_token"
1963
+ }
1964
+ )
1965
+ end)
1966
+
1830
1967
  api.add_operation(:list_nodegroups, Seahorse::Model::Operation.new.tap do |o|
1831
1968
  o.name = "ListNodegroups"
1832
1969
  o.http_method = "GET"
@@ -376,6 +376,20 @@ module Aws::EKS
376
376
  end
377
377
  end
378
378
 
379
+ class DescribeInsight
380
+ def self.build(context)
381
+ unless context.config.regional_endpoint
382
+ endpoint = context.config.endpoint.to_s
383
+ end
384
+ Aws::EKS::EndpointParameters.new(
385
+ region: context.config.region,
386
+ use_dual_stack: context.config.use_dualstack_endpoint,
387
+ use_fips: context.config.use_fips_endpoint,
388
+ endpoint: endpoint,
389
+ )
390
+ end
391
+ end
392
+
379
393
  class DescribeNodegroup
380
394
  def self.build(context)
381
395
  unless context.config.regional_endpoint
@@ -558,6 +572,20 @@ module Aws::EKS
558
572
  end
559
573
  end
560
574
 
575
+ class ListInsights
576
+ def self.build(context)
577
+ unless context.config.regional_endpoint
578
+ endpoint = context.config.endpoint.to_s
579
+ end
580
+ Aws::EKS::EndpointParameters.new(
581
+ region: context.config.region,
582
+ use_dual_stack: context.config.use_dualstack_endpoint,
583
+ use_fips: context.config.use_fips_endpoint,
584
+ endpoint: endpoint,
585
+ )
586
+ end
587
+ end
588
+
561
589
  class ListNodegroups
562
590
  def self.build(context)
563
591
  unless context.config.regional_endpoint
@@ -14,6 +14,7 @@ module Aws::EKS
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::EKS::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -109,6 +110,8 @@ module Aws::EKS
109
110
  Aws::EKS::Endpoints::DescribeFargateProfile.build(context)
110
111
  when :describe_identity_provider_config
111
112
  Aws::EKS::Endpoints::DescribeIdentityProviderConfig.build(context)
113
+ when :describe_insight
114
+ Aws::EKS::Endpoints::DescribeInsight.build(context)
112
115
  when :describe_nodegroup
113
116
  Aws::EKS::Endpoints::DescribeNodegroup.build(context)
114
117
  when :describe_pod_identity_association
@@ -135,6 +138,8 @@ module Aws::EKS
135
138
  Aws::EKS::Endpoints::ListFargateProfiles.build(context)
136
139
  when :list_identity_provider_configs
137
140
  Aws::EKS::Endpoints::ListIdentityProviderConfigs.build(context)
141
+ when :list_insights
142
+ Aws::EKS::Endpoints::ListInsights.build(context)
138
143
  when :list_nodegroups
139
144
  Aws::EKS::Endpoints::ListNodegroups.build(context)
140
145
  when :list_pod_identity_associations