diff --git a/clients/client-eks/src/commands/DescribeInsightCommand.ts b/clients/client-eks/src/commands/DescribeInsightCommand.ts index b3890dcb92ed..ee5b5348b945 100644 --- a/clients/client-eks/src/commands/DescribeInsightCommand.ts +++ b/clients/client-eks/src/commands/DescribeInsightCommand.ts @@ -84,6 +84,14 @@ export interface DescribeInsightCommandOutput extends DescribeInsightResponse, _ * // ], * // }, * // ], + * // addonCompatibilityDetails: [ // AddonCompatibilityDetails + * // { // AddonCompatibilityDetail + * // name: "STRING_VALUE", + * // compatibleVersions: [ // StringList + * // "STRING_VALUE", + * // ], + * // }, + * // ], * // }, * // }, * // }; diff --git a/clients/client-eks/src/models/models_0.ts b/clients/client-eks/src/models/models_0.ts index 5876c17dd1f1..cddd0830e367 100644 --- a/clients/client-eks/src/models/models_0.ts +++ b/clients/client-eks/src/models/models_0.ts @@ -396,6 +396,25 @@ export interface Addon { podIdentityAssociations?: string[] | undefined; } +/** + *

The summary information about the Amazon EKS add-on compatibility for the next Kubernetes + * version for an insight check in the UPGRADE_READINESS category.

+ * @public + */ +export interface AddonCompatibilityDetail { + /** + *

The name of the Amazon EKS add-on.

+ * @public + */ + name?: string | undefined; + + /** + *

The list of compatible Amazon EKS add-on versions for the next Kubernetes version.

+ * @public + */ + compatibleVersions?: string[] | undefined; +} + /** *

Compatibility information.

* @public @@ -5281,6 +5300,12 @@ export interface InsightCategorySpecificSummary { * @public */ deprecationDetails?: DeprecationDetail[] | undefined; + + /** + *

A list of AddonCompatibilityDetail objects for Amazon EKS add-ons.

+ * @public + */ + addonCompatibilityDetails?: AddonCompatibilityDetail[] | undefined; } /** diff --git a/clients/client-eks/src/protocols/Aws_restJson1.ts b/clients/client-eks/src/protocols/Aws_restJson1.ts index 8616d4036c3c..16c6b8e02d35 100644 --- a/clients/client-eks/src/protocols/Aws_restJson1.ts +++ b/clients/client-eks/src/protocols/Aws_restJson1.ts @@ -3155,6 +3155,10 @@ const de_Addon = (output: any, context: __SerdeContext): Addon => { }) as any; }; +// de_AddonCompatibilityDetail omitted. + +// de_AddonCompatibilityDetails omitted. + // de_AddonHealth omitted. // de_AddonInfo omitted. @@ -3421,6 +3425,7 @@ const de_Insight = (output: any, context: __SerdeContext): Insight => { */ const de_InsightCategorySpecificSummary = (output: any, context: __SerdeContext): InsightCategorySpecificSummary => { return take(output, { + addonCompatibilityDetails: _json, deprecationDetails: (_: any) => de_DeprecationDetails(_, context), }) as any; }; diff --git a/codegen/sdk-codegen/aws-models/eks.json b/codegen/sdk-codegen/aws-models/eks.json index 778c4d3db9ac..e37284f8427b 100644 --- a/codegen/sdk-codegen/aws-models/eks.json +++ b/codegen/sdk-codegen/aws-models/eks.json @@ -1616,6 +1616,32 @@ "smithy.api#documentation": "

An Amazon EKS add-on. For more information, see Amazon EKS add-ons in\n the Amazon EKS User Guide.

" } }, + "com.amazonaws.eks#AddonCompatibilityDetail": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.eks#String", + "traits": { + "smithy.api#documentation": "

The name of the Amazon EKS add-on.

" + } + }, + "compatibleVersions": { + "target": "com.amazonaws.eks#StringList", + "traits": { + "smithy.api#documentation": "

The list of compatible Amazon EKS add-on versions for the next Kubernetes version.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The summary information about the Amazon EKS add-on compatibility for the next Kubernetes \n version for an insight check in the UPGRADE_READINESS category.

" + } + }, + "com.amazonaws.eks#AddonCompatibilityDetails": { + "type": "list", + "member": { + "target": "com.amazonaws.eks#AddonCompatibilityDetail" + } + }, "com.amazonaws.eks#AddonHealth": { "type": "structure", "members": { @@ -6619,6 +6645,12 @@ "traits": { "smithy.api#documentation": "

The summary information about deprecated resource usage for an insight check in the\n UPGRADE_READINESS category.

" } + }, + "addonCompatibilityDetails": { + "target": "com.amazonaws.eks#AddonCompatibilityDetails", + "traits": { + "smithy.api#documentation": "

A list of AddonCompatibilityDetail objects for Amazon EKS add-ons.

" + } } }, "traits": {