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.
@@ -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
- # [IAM best practices][1] recommend using IAM roles with temporary
1003
- # credentials, rather than IAM users with long-term credentials.
1004
- #
1005
- #
1006
- #
1007
- # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#bp-users-federation-idp
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
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-eks/customizations'
53
53
  # @!group service
54
54
  module Aws::EKS
55
55
 
56
- GEM_VERSION = '1.96.0'
56
+ GEM_VERSION = '1.98.0'
57
57
 
58
58
  end