aws-sdk-eks 1.96.0 → 1.97.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-eks/client.rb +143 -7
- data/lib/aws-sdk-eks/client_api.rb +137 -0
- data/lib/aws-sdk-eks/endpoints.rb +28 -0
- data/lib/aws-sdk-eks/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-eks/types.rb +387 -6
- data/lib/aws-sdk-eks.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 430fd0eae0a39ed5a9056e21941c29a22a661e3a8c2cc5519c47a71e9c683dcc
|
4
|
+
data.tar.gz: 5340c40a3e04ef849ce6734595e9e952df87f8b89885e8e7172fa41ed366c9f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2ad2f7f59573513801649be547d92894a0322175a44b50ad782a8b412c817ccc9a77818840e4625969af5d4a226f17c10aef68df5b54b7dfa4d4619342d3e2f
|
7
|
+
data.tar.gz: 86441f9f3cd8afa73c3ed3b158bb38ec3387e4eef241e24549881010ec21cbc5aaca0b9da68a25881fefed3adee8273b7e0aba1627404994a4b0742dd9fe06dd
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.97.0
|
data/lib/aws-sdk-eks/client.rb
CHANGED
@@ -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
|
-
#
|
633
|
-
#
|
634
|
-
#
|
635
|
-
#
|
636
|
-
#
|
637
|
-
#
|
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<Types::InsightSummary>
|
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.
|
4958
|
+
context[:gem_version] = '1.97.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
|
@@ -109,6 +109,8 @@ module Aws::EKS
|
|
109
109
|
Aws::EKS::Endpoints::DescribeFargateProfile.build(context)
|
110
110
|
when :describe_identity_provider_config
|
111
111
|
Aws::EKS::Endpoints::DescribeIdentityProviderConfig.build(context)
|
112
|
+
when :describe_insight
|
113
|
+
Aws::EKS::Endpoints::DescribeInsight.build(context)
|
112
114
|
when :describe_nodegroup
|
113
115
|
Aws::EKS::Endpoints::DescribeNodegroup.build(context)
|
114
116
|
when :describe_pod_identity_association
|
@@ -135,6 +137,8 @@ module Aws::EKS
|
|
135
137
|
Aws::EKS::Endpoints::ListFargateProfiles.build(context)
|
136
138
|
when :list_identity_provider_configs
|
137
139
|
Aws::EKS::Endpoints::ListIdentityProviderConfigs.build(context)
|
140
|
+
when :list_insights
|
141
|
+
Aws::EKS::Endpoints::ListInsights.build(context)
|
138
142
|
when :list_nodegroups
|
139
143
|
Aws::EKS::Endpoints::ListNodegroups.build(context)
|
140
144
|
when :list_pod_identity_associations
|
data/lib/aws-sdk-eks/types.rb
CHANGED
@@ -652,6 +652,32 @@ module Aws::EKS
|
|
652
652
|
include Aws::Structure
|
653
653
|
end
|
654
654
|
|
655
|
+
# Details about clients using the deprecated resources.
|
656
|
+
#
|
657
|
+
# @!attribute [rw] user_agent
|
658
|
+
# The user agent of the Kubernetes client using the deprecated
|
659
|
+
# resource.
|
660
|
+
# @return [String]
|
661
|
+
#
|
662
|
+
# @!attribute [rw] number_of_requests_last_30_days
|
663
|
+
# The number of requests from the Kubernetes client seen over the last
|
664
|
+
# 30 days.
|
665
|
+
# @return [Integer]
|
666
|
+
#
|
667
|
+
# @!attribute [rw] last_request_time
|
668
|
+
# The timestamp of the last request seen from the Kubernetes client.
|
669
|
+
# @return [Time]
|
670
|
+
#
|
671
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ClientStat AWS API Documentation
|
672
|
+
#
|
673
|
+
class ClientStat < Struct.new(
|
674
|
+
:user_agent,
|
675
|
+
:number_of_requests_last_30_days,
|
676
|
+
:last_request_time)
|
677
|
+
SENSITIVE = []
|
678
|
+
include Aws::Structure
|
679
|
+
end
|
680
|
+
|
655
681
|
# An object representing an Amazon EKS cluster.
|
656
682
|
#
|
657
683
|
# @!attribute [rw] name
|
@@ -999,12 +1025,16 @@ module Aws::EKS
|
|
999
1025
|
# more than one access entry. This value can't be changed after
|
1000
1026
|
# access entry creation.
|
1001
1027
|
#
|
1002
|
-
#
|
1003
|
-
#
|
1004
|
-
#
|
1005
|
-
#
|
1006
|
-
#
|
1007
|
-
#
|
1028
|
+
# The valid principals differ depending on the type of the access
|
1029
|
+
# entry in the `type` field. The only valid ARN is IAM roles for the
|
1030
|
+
# types of access entries for nodes: ` . You can use every IAM
|
1031
|
+
# principal type for STANDARD access entries. You can't use the STS
|
1032
|
+
# session principal type with access entries because this is a
|
1033
|
+
# temporary principal for each session and not a permanent identity
|
1034
|
+
# that can be assigned permissions.</p> IAM best practices recommend
|
1035
|
+
# using IAM roles with temporary credentials, rather than IAM users
|
1036
|
+
# with long-term credentials.
|
1037
|
+
# `
|
1008
1038
|
# @return [String]
|
1009
1039
|
#
|
1010
1040
|
# @!attribute [rw] kubernetes_groups
|
@@ -1062,6 +1092,9 @@ module Aws::EKS
|
|
1062
1092
|
# @return [String]
|
1063
1093
|
#
|
1064
1094
|
# @!attribute [rw] type
|
1095
|
+
# The type of the new access entry. Valid values are `Standard`,
|
1096
|
+
# `FARGATE_LINUX`, `EC2_LINUX`, and `EC2_WINDOWS`.
|
1097
|
+
#
|
1065
1098
|
# If the `principalArn` is for an IAM role that's used for
|
1066
1099
|
# self-managed Amazon EC2 nodes, specify `EC2_LINUX` or `EC2_WINDOWS`.
|
1067
1100
|
# Amazon EKS grants the necessary permissions to the node for you. If
|
@@ -2035,6 +2068,43 @@ module Aws::EKS
|
|
2035
2068
|
include Aws::Structure
|
2036
2069
|
end
|
2037
2070
|
|
2071
|
+
# The summary information about deprecated resource usage for an insight
|
2072
|
+
# check in the `UPGRADE_READINESS` category.
|
2073
|
+
#
|
2074
|
+
# @!attribute [rw] usage
|
2075
|
+
# The deprecated version of the resource.
|
2076
|
+
# @return [String]
|
2077
|
+
#
|
2078
|
+
# @!attribute [rw] replaced_with
|
2079
|
+
# The newer version of the resource to migrate to if applicable.
|
2080
|
+
# @return [String]
|
2081
|
+
#
|
2082
|
+
# @!attribute [rw] stop_serving_version
|
2083
|
+
# The version of the software where the deprecated resource version
|
2084
|
+
# will stop being served.
|
2085
|
+
# @return [String]
|
2086
|
+
#
|
2087
|
+
# @!attribute [rw] start_serving_replacement_version
|
2088
|
+
# The version of the software where the newer resource version became
|
2089
|
+
# available to migrate to if applicable.
|
2090
|
+
# @return [String]
|
2091
|
+
#
|
2092
|
+
# @!attribute [rw] client_stats
|
2093
|
+
# Details about Kubernetes clients using the deprecated resources.
|
2094
|
+
# @return [Array<Types::ClientStat>]
|
2095
|
+
#
|
2096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DeprecationDetail AWS API Documentation
|
2097
|
+
#
|
2098
|
+
class DeprecationDetail < Struct.new(
|
2099
|
+
:usage,
|
2100
|
+
:replaced_with,
|
2101
|
+
:stop_serving_version,
|
2102
|
+
:start_serving_replacement_version,
|
2103
|
+
:client_stats)
|
2104
|
+
SENSITIVE = []
|
2105
|
+
include Aws::Structure
|
2106
|
+
end
|
2107
|
+
|
2038
2108
|
# @!attribute [rw] name
|
2039
2109
|
# The name of the connected cluster to deregister.
|
2040
2110
|
# @return [String]
|
@@ -2379,6 +2449,35 @@ module Aws::EKS
|
|
2379
2449
|
include Aws::Structure
|
2380
2450
|
end
|
2381
2451
|
|
2452
|
+
# @!attribute [rw] cluster_name
|
2453
|
+
# The name of the cluster to describe the insight for.
|
2454
|
+
# @return [String]
|
2455
|
+
#
|
2456
|
+
# @!attribute [rw] id
|
2457
|
+
# The identity of the insight to describe.
|
2458
|
+
# @return [String]
|
2459
|
+
#
|
2460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeInsightRequest AWS API Documentation
|
2461
|
+
#
|
2462
|
+
class DescribeInsightRequest < Struct.new(
|
2463
|
+
:cluster_name,
|
2464
|
+
:id)
|
2465
|
+
SENSITIVE = []
|
2466
|
+
include Aws::Structure
|
2467
|
+
end
|
2468
|
+
|
2469
|
+
# @!attribute [rw] insight
|
2470
|
+
# The full description of the insight.
|
2471
|
+
# @return [Types::Insight]
|
2472
|
+
#
|
2473
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeInsightResponse AWS API Documentation
|
2474
|
+
#
|
2475
|
+
class DescribeInsightResponse < Struct.new(
|
2476
|
+
:insight)
|
2477
|
+
SENSITIVE = []
|
2478
|
+
include Aws::Structure
|
2479
|
+
end
|
2480
|
+
|
2382
2481
|
# @!attribute [rw] cluster_name
|
2383
2482
|
# The name of your cluster.
|
2384
2483
|
# @return [String]
|
@@ -2862,6 +2961,222 @@ module Aws::EKS
|
|
2862
2961
|
include Aws::Structure
|
2863
2962
|
end
|
2864
2963
|
|
2964
|
+
# A check that provides recommendations to remedy potential
|
2965
|
+
# upgrade-impacting issues.
|
2966
|
+
#
|
2967
|
+
# @!attribute [rw] id
|
2968
|
+
# The ID of the insight.
|
2969
|
+
# @return [String]
|
2970
|
+
#
|
2971
|
+
# @!attribute [rw] name
|
2972
|
+
# The name of the insight.
|
2973
|
+
# @return [String]
|
2974
|
+
#
|
2975
|
+
# @!attribute [rw] category
|
2976
|
+
# The category of the insight.
|
2977
|
+
# @return [String]
|
2978
|
+
#
|
2979
|
+
# @!attribute [rw] kubernetes_version
|
2980
|
+
# The Kubernetes minor version associated with an insight if
|
2981
|
+
# applicable.
|
2982
|
+
# @return [String]
|
2983
|
+
#
|
2984
|
+
# @!attribute [rw] last_refresh_time
|
2985
|
+
# The time Amazon EKS last successfully completed a refresh of this
|
2986
|
+
# insight check on the cluster.
|
2987
|
+
# @return [Time]
|
2988
|
+
#
|
2989
|
+
# @!attribute [rw] last_transition_time
|
2990
|
+
# The time the status of the insight last changed.
|
2991
|
+
# @return [Time]
|
2992
|
+
#
|
2993
|
+
# @!attribute [rw] description
|
2994
|
+
# The description of the insight which includes alert criteria,
|
2995
|
+
# remediation recommendation, and additional resources (contains
|
2996
|
+
# Markdown).
|
2997
|
+
# @return [String]
|
2998
|
+
#
|
2999
|
+
# @!attribute [rw] insight_status
|
3000
|
+
# An object containing more detail on the status of the insight
|
3001
|
+
# resource.
|
3002
|
+
# @return [Types::InsightStatus]
|
3003
|
+
#
|
3004
|
+
# @!attribute [rw] recommendation
|
3005
|
+
# A summary of how to remediate the finding of this insight if
|
3006
|
+
# applicable.
|
3007
|
+
# @return [String]
|
3008
|
+
#
|
3009
|
+
# @!attribute [rw] additional_info
|
3010
|
+
# Links to sources that provide additional context on the insight.
|
3011
|
+
# @return [Hash<String,String>]
|
3012
|
+
#
|
3013
|
+
# @!attribute [rw] resources
|
3014
|
+
# The details about each resource listed in the insight check result.
|
3015
|
+
# @return [Array<Types::InsightResourceDetail>]
|
3016
|
+
#
|
3017
|
+
# @!attribute [rw] category_specific_summary
|
3018
|
+
# Summary information that relates to the category of the insight.
|
3019
|
+
# Currently only returned with certain insights having category
|
3020
|
+
# `UPGRADE_READINESS`.
|
3021
|
+
# @return [Types::InsightCategorySpecificSummary]
|
3022
|
+
#
|
3023
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Insight AWS API Documentation
|
3024
|
+
#
|
3025
|
+
class Insight < Struct.new(
|
3026
|
+
:id,
|
3027
|
+
:name,
|
3028
|
+
:category,
|
3029
|
+
:kubernetes_version,
|
3030
|
+
:last_refresh_time,
|
3031
|
+
:last_transition_time,
|
3032
|
+
:description,
|
3033
|
+
:insight_status,
|
3034
|
+
:recommendation,
|
3035
|
+
:additional_info,
|
3036
|
+
:resources,
|
3037
|
+
:category_specific_summary)
|
3038
|
+
SENSITIVE = []
|
3039
|
+
include Aws::Structure
|
3040
|
+
end
|
3041
|
+
|
3042
|
+
# Summary information that relates to the category of the insight.
|
3043
|
+
# Currently only returned with certain insights having category
|
3044
|
+
# `UPGRADE_READINESS`.
|
3045
|
+
#
|
3046
|
+
# @!attribute [rw] deprecation_details
|
3047
|
+
# The summary information about deprecated resource usage for an
|
3048
|
+
# insight check in the `UPGRADE_READINESS` category.
|
3049
|
+
# @return [Array<Types::DeprecationDetail>]
|
3050
|
+
#
|
3051
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/InsightCategorySpecificSummary AWS API Documentation
|
3052
|
+
#
|
3053
|
+
class InsightCategorySpecificSummary < Struct.new(
|
3054
|
+
:deprecation_details)
|
3055
|
+
SENSITIVE = []
|
3056
|
+
include Aws::Structure
|
3057
|
+
end
|
3058
|
+
|
3059
|
+
# Returns information about the resource being evaluated.
|
3060
|
+
#
|
3061
|
+
# @!attribute [rw] insight_status
|
3062
|
+
# An object containing more detail on the status of the insight
|
3063
|
+
# resource.
|
3064
|
+
# @return [Types::InsightStatus]
|
3065
|
+
#
|
3066
|
+
# @!attribute [rw] kubernetes_resource_uri
|
3067
|
+
# The Kubernetes resource URI if applicable.
|
3068
|
+
# @return [String]
|
3069
|
+
#
|
3070
|
+
# @!attribute [rw] arn
|
3071
|
+
# The Amazon Resource Name (ARN) if applicable.
|
3072
|
+
# @return [String]
|
3073
|
+
#
|
3074
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/InsightResourceDetail AWS API Documentation
|
3075
|
+
#
|
3076
|
+
class InsightResourceDetail < Struct.new(
|
3077
|
+
:insight_status,
|
3078
|
+
:kubernetes_resource_uri,
|
3079
|
+
:arn)
|
3080
|
+
SENSITIVE = []
|
3081
|
+
include Aws::Structure
|
3082
|
+
end
|
3083
|
+
|
3084
|
+
# The status of the insight.
|
3085
|
+
#
|
3086
|
+
# @!attribute [rw] status
|
3087
|
+
# The status of the resource.
|
3088
|
+
# @return [String]
|
3089
|
+
#
|
3090
|
+
# @!attribute [rw] reason
|
3091
|
+
# Explanation on the reasoning for the status of the resource.
|
3092
|
+
# @return [String]
|
3093
|
+
#
|
3094
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/InsightStatus AWS API Documentation
|
3095
|
+
#
|
3096
|
+
class InsightStatus < Struct.new(
|
3097
|
+
:status,
|
3098
|
+
:reason)
|
3099
|
+
SENSITIVE = []
|
3100
|
+
include Aws::Structure
|
3101
|
+
end
|
3102
|
+
|
3103
|
+
# The summarized description of the insight.
|
3104
|
+
#
|
3105
|
+
# @!attribute [rw] id
|
3106
|
+
# The ID of the insight.
|
3107
|
+
# @return [String]
|
3108
|
+
#
|
3109
|
+
# @!attribute [rw] name
|
3110
|
+
# The name of the insight.
|
3111
|
+
# @return [String]
|
3112
|
+
#
|
3113
|
+
# @!attribute [rw] category
|
3114
|
+
# The category of the insight.
|
3115
|
+
# @return [String]
|
3116
|
+
#
|
3117
|
+
# @!attribute [rw] kubernetes_version
|
3118
|
+
# The Kubernetes minor version associated with an insight if
|
3119
|
+
# applicable.
|
3120
|
+
# @return [String]
|
3121
|
+
#
|
3122
|
+
# @!attribute [rw] last_refresh_time
|
3123
|
+
# The time Amazon EKS last successfully completed a refresh of this
|
3124
|
+
# insight check on the cluster.
|
3125
|
+
# @return [Time]
|
3126
|
+
#
|
3127
|
+
# @!attribute [rw] last_transition_time
|
3128
|
+
# The time the status of the insight last changed.
|
3129
|
+
# @return [Time]
|
3130
|
+
#
|
3131
|
+
# @!attribute [rw] description
|
3132
|
+
# The description of the insight which includes alert criteria,
|
3133
|
+
# remediation recommendation, and additional resources (contains
|
3134
|
+
# Markdown).
|
3135
|
+
# @return [String]
|
3136
|
+
#
|
3137
|
+
# @!attribute [rw] insight_status
|
3138
|
+
# An object containing more detail on the status of the insight.
|
3139
|
+
# @return [Types::InsightStatus]
|
3140
|
+
#
|
3141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/InsightSummary AWS API Documentation
|
3142
|
+
#
|
3143
|
+
class InsightSummary < Struct.new(
|
3144
|
+
:id,
|
3145
|
+
:name,
|
3146
|
+
:category,
|
3147
|
+
:kubernetes_version,
|
3148
|
+
:last_refresh_time,
|
3149
|
+
:last_transition_time,
|
3150
|
+
:description,
|
3151
|
+
:insight_status)
|
3152
|
+
SENSITIVE = []
|
3153
|
+
include Aws::Structure
|
3154
|
+
end
|
3155
|
+
|
3156
|
+
# The criteria to use for the insights.
|
3157
|
+
#
|
3158
|
+
# @!attribute [rw] categories
|
3159
|
+
# The categories to use to filter insights.
|
3160
|
+
# @return [Array<String>]
|
3161
|
+
#
|
3162
|
+
# @!attribute [rw] kubernetes_versions
|
3163
|
+
# The Kubernetes versions to use to filter the insights.
|
3164
|
+
# @return [Array<String>]
|
3165
|
+
#
|
3166
|
+
# @!attribute [rw] statuses
|
3167
|
+
# The statuses to use to filter the insights.
|
3168
|
+
# @return [Array<String>]
|
3169
|
+
#
|
3170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/InsightsFilter AWS API Documentation
|
3171
|
+
#
|
3172
|
+
class InsightsFilter < Struct.new(
|
3173
|
+
:categories,
|
3174
|
+
:kubernetes_versions,
|
3175
|
+
:statuses)
|
3176
|
+
SENSITIVE = []
|
3177
|
+
include Aws::Structure
|
3178
|
+
end
|
3179
|
+
|
2865
3180
|
# The specified parameter is invalid. Review the available parameters
|
2866
3181
|
# for the API request.
|
2867
3182
|
#
|
@@ -3710,6 +4025,12 @@ module Aws::EKS
|
|
3710
4025
|
# `ListIdentityProviderConfigsResponse` request exceed `maxResults`,
|
3711
4026
|
# you can use this value to retrieve the next page of results. This
|
3712
4027
|
# value is `null` when there are no more results to return.
|
4028
|
+
#
|
4029
|
+
# <note markdown="1"> This token should be treated as an opaque identifier that is used
|
4030
|
+
# only to retrieve the next items in a list and not for other
|
4031
|
+
# programmatic purposes.
|
4032
|
+
#
|
4033
|
+
# </note>
|
3713
4034
|
# @return [String]
|
3714
4035
|
#
|
3715
4036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListIdentityProviderConfigsResponse AWS API Documentation
|
@@ -3721,6 +4042,66 @@ module Aws::EKS
|
|
3721
4042
|
include Aws::Structure
|
3722
4043
|
end
|
3723
4044
|
|
4045
|
+
# @!attribute [rw] cluster_name
|
4046
|
+
# The name of the Amazon EKS cluster associated with the insights.
|
4047
|
+
# @return [String]
|
4048
|
+
#
|
4049
|
+
# @!attribute [rw] filter
|
4050
|
+
# The criteria to filter your list of insights for your cluster. You
|
4051
|
+
# can filter which insights are returned by category, associated
|
4052
|
+
# Kubernetes version, and status.
|
4053
|
+
# @return [Types::InsightsFilter]
|
4054
|
+
#
|
4055
|
+
# @!attribute [rw] max_results
|
4056
|
+
# The maximum number of identity provider configurations returned by
|
4057
|
+
# `ListInsights` in paginated output. When you use this parameter,
|
4058
|
+
# `ListInsights` returns only `maxResults` results in a single page
|
4059
|
+
# along with a `nextToken` response element. You can see the remaining
|
4060
|
+
# results of the initial request by sending another `ListInsights`
|
4061
|
+
# request with the returned `nextToken` value. This value can be
|
4062
|
+
# between 1 and 100. If you don't use this parameter, `ListInsights`
|
4063
|
+
# returns up to 100 results and a `nextToken` value, if applicable.
|
4064
|
+
# @return [Integer]
|
4065
|
+
#
|
4066
|
+
# @!attribute [rw] next_token
|
4067
|
+
# The `nextToken` value returned from a previous paginated
|
4068
|
+
# `ListInsights` request. When the results of a `ListInsights` request
|
4069
|
+
# exceed `maxResults`, you can use this value to retrieve the next
|
4070
|
+
# page of results. This value is `null` when there are no more results
|
4071
|
+
# to return.
|
4072
|
+
# @return [String]
|
4073
|
+
#
|
4074
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListInsightsRequest AWS API Documentation
|
4075
|
+
#
|
4076
|
+
class ListInsightsRequest < Struct.new(
|
4077
|
+
:cluster_name,
|
4078
|
+
:filter,
|
4079
|
+
:max_results,
|
4080
|
+
:next_token)
|
4081
|
+
SENSITIVE = []
|
4082
|
+
include Aws::Structure
|
4083
|
+
end
|
4084
|
+
|
4085
|
+
# @!attribute [rw] insights
|
4086
|
+
# The returned list of insights.
|
4087
|
+
# @return [Array<Types::InsightSummary>]
|
4088
|
+
#
|
4089
|
+
# @!attribute [rw] next_token
|
4090
|
+
# The `nextToken` value to include in a future `ListInsights` request.
|
4091
|
+
# When the results of a `ListInsights` request exceed `maxResults`,
|
4092
|
+
# you can use this value to retrieve the next page of results. This
|
4093
|
+
# value is `null` when there are no more results to return.
|
4094
|
+
# @return [String]
|
4095
|
+
#
|
4096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/ListInsightsResponse AWS API Documentation
|
4097
|
+
#
|
4098
|
+
class ListInsightsResponse < Struct.new(
|
4099
|
+
:insights,
|
4100
|
+
:next_token)
|
4101
|
+
SENSITIVE = []
|
4102
|
+
include Aws::Structure
|
4103
|
+
end
|
4104
|
+
|
3724
4105
|
# @!attribute [rw] cluster_name
|
3725
4106
|
# The name of your cluster.
|
3726
4107
|
# @return [String]
|
data/lib/aws-sdk-eks.rb
CHANGED
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.
|
4
|
+
version: 1.97.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: 2023-12-
|
11
|
+
date: 2023-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|