Skip to content

Commit

Permalink
feat(client-eks): This release expands the catalog of upgrade insight…
Browse files Browse the repository at this point in the history
… checks
  • Loading branch information
awstools committed Dec 20, 2024
1 parent 5f8c6de commit a4d9117
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 0 deletions.
8 changes: 8 additions & 0 deletions clients/client-eks/src/commands/DescribeInsightCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ export interface DescribeInsightCommandOutput extends DescribeInsightResponse, _
* // ],
* // },
* // ],
* // addonCompatibilityDetails: [ // AddonCompatibilityDetails
* // { // AddonCompatibilityDetail
* // name: "STRING_VALUE",
* // compatibleVersions: [ // StringList
* // "STRING_VALUE",
* // ],
* // },
* // ],
* // },
* // },
* // };
Expand Down
25 changes: 25 additions & 0 deletions clients/client-eks/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,25 @@ export interface Addon {
podIdentityAssociations?: string[] | undefined;
}

/**
* <p>The summary information about the Amazon EKS add-on compatibility for the next Kubernetes
* version for an insight check in the <code>UPGRADE_READINESS</code> category.</p>
* @public
*/
export interface AddonCompatibilityDetail {
/**
* <p>The name of the Amazon EKS add-on.</p>
* @public
*/
name?: string | undefined;

/**
* <p>The list of compatible Amazon EKS add-on versions for the next Kubernetes version.</p>
* @public
*/
compatibleVersions?: string[] | undefined;
}

/**
* <p>Compatibility information.</p>
* @public
Expand Down Expand Up @@ -5281,6 +5300,12 @@ export interface InsightCategorySpecificSummary {
* @public
*/
deprecationDetails?: DeprecationDetail[] | undefined;

/**
* <p>A list of <code>AddonCompatibilityDetail</code> objects for Amazon EKS add-ons.</p>
* @public
*/
addonCompatibilityDetails?: AddonCompatibilityDetail[] | undefined;
}

/**
Expand Down
5 changes: 5 additions & 0 deletions clients/client-eks/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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;
};
Expand Down
32 changes: 32 additions & 0 deletions codegen/sdk-codegen/aws-models/eks.json
Original file line number Diff line number Diff line change
Expand Up @@ -1616,6 +1616,32 @@
"smithy.api#documentation": "<p>An Amazon EKS add-on. For more information, see <a href=\"https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html\">Amazon EKS add-ons</a> in\n the <i>Amazon EKS User Guide</i>.</p>"
}
},
"com.amazonaws.eks#AddonCompatibilityDetail": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.eks#String",
"traits": {
"smithy.api#documentation": "<p>The name of the Amazon EKS add-on.</p>"
}
},
"compatibleVersions": {
"target": "com.amazonaws.eks#StringList",
"traits": {
"smithy.api#documentation": "<p>The list of compatible Amazon EKS add-on versions for the next Kubernetes version.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The summary information about the Amazon EKS add-on compatibility for the next Kubernetes \n version for an insight check in the <code>UPGRADE_READINESS</code> category.</p>"
}
},
"com.amazonaws.eks#AddonCompatibilityDetails": {
"type": "list",
"member": {
"target": "com.amazonaws.eks#AddonCompatibilityDetail"
}
},
"com.amazonaws.eks#AddonHealth": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -6619,6 +6645,12 @@
"traits": {
"smithy.api#documentation": "<p>The summary information about deprecated resource usage for an insight check in the\n <code>UPGRADE_READINESS</code> category.</p>"
}
},
"addonCompatibilityDetails": {
"target": "com.amazonaws.eks#AddonCompatibilityDetails",
"traits": {
"smithy.api#documentation": "<p>A list of <code>AddonCompatibilityDetail</code> objects for Amazon EKS add-ons.</p>"
}
}
},
"traits": {
Expand Down

0 comments on commit a4d9117

Please sign in to comment.