Skip to content

Commit a4d9117

Browse files
author
awstools
committed
feat(client-eks): This release expands the catalog of upgrade insight checks
1 parent 5f8c6de commit a4d9117

File tree

4 files changed

+70
-0
lines changed

4 files changed

+70
-0
lines changed

clients/client-eks/src/commands/DescribeInsightCommand.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ export interface DescribeInsightCommandOutput extends DescribeInsightResponse, _
8484
* // ],
8585
* // },
8686
* // ],
87+
* // addonCompatibilityDetails: [ // AddonCompatibilityDetails
88+
* // { // AddonCompatibilityDetail
89+
* // name: "STRING_VALUE",
90+
* // compatibleVersions: [ // StringList
91+
* // "STRING_VALUE",
92+
* // ],
93+
* // },
94+
* // ],
8795
* // },
8896
* // },
8997
* // };

clients/client-eks/src/models/models_0.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,25 @@ export interface Addon {
396396
podIdentityAssociations?: string[] | undefined;
397397
}
398398

399+
/**
400+
* <p>The summary information about the Amazon EKS add-on compatibility for the next Kubernetes
401+
* version for an insight check in the <code>UPGRADE_READINESS</code> category.</p>
402+
* @public
403+
*/
404+
export interface AddonCompatibilityDetail {
405+
/**
406+
* <p>The name of the Amazon EKS add-on.</p>
407+
* @public
408+
*/
409+
name?: string | undefined;
410+
411+
/**
412+
* <p>The list of compatible Amazon EKS add-on versions for the next Kubernetes version.</p>
413+
* @public
414+
*/
415+
compatibleVersions?: string[] | undefined;
416+
}
417+
399418
/**
400419
* <p>Compatibility information.</p>
401420
* @public
@@ -5281,6 +5300,12 @@ export interface InsightCategorySpecificSummary {
52815300
* @public
52825301
*/
52835302
deprecationDetails?: DeprecationDetail[] | undefined;
5303+
5304+
/**
5305+
* <p>A list of <code>AddonCompatibilityDetail</code> objects for Amazon EKS add-ons.</p>
5306+
* @public
5307+
*/
5308+
addonCompatibilityDetails?: AddonCompatibilityDetail[] | undefined;
52845309
}
52855310

52865311
/**

clients/client-eks/src/protocols/Aws_restJson1.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3155,6 +3155,10 @@ const de_Addon = (output: any, context: __SerdeContext): Addon => {
31553155
}) as any;
31563156
};
31573157

3158+
// de_AddonCompatibilityDetail omitted.
3159+
3160+
// de_AddonCompatibilityDetails omitted.
3161+
31583162
// de_AddonHealth omitted.
31593163

31603164
// de_AddonInfo omitted.
@@ -3421,6 +3425,7 @@ const de_Insight = (output: any, context: __SerdeContext): Insight => {
34213425
*/
34223426
const de_InsightCategorySpecificSummary = (output: any, context: __SerdeContext): InsightCategorySpecificSummary => {
34233427
return take(output, {
3428+
addonCompatibilityDetails: _json,
34243429
deprecationDetails: (_: any) => de_DeprecationDetails(_, context),
34253430
}) as any;
34263431
};

codegen/sdk-codegen/aws-models/eks.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,6 +1616,32 @@
16161616
"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>"
16171617
}
16181618
},
1619+
"com.amazonaws.eks#AddonCompatibilityDetail": {
1620+
"type": "structure",
1621+
"members": {
1622+
"name": {
1623+
"target": "com.amazonaws.eks#String",
1624+
"traits": {
1625+
"smithy.api#documentation": "<p>The name of the Amazon EKS add-on.</p>"
1626+
}
1627+
},
1628+
"compatibleVersions": {
1629+
"target": "com.amazonaws.eks#StringList",
1630+
"traits": {
1631+
"smithy.api#documentation": "<p>The list of compatible Amazon EKS add-on versions for the next Kubernetes version.</p>"
1632+
}
1633+
}
1634+
},
1635+
"traits": {
1636+
"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>"
1637+
}
1638+
},
1639+
"com.amazonaws.eks#AddonCompatibilityDetails": {
1640+
"type": "list",
1641+
"member": {
1642+
"target": "com.amazonaws.eks#AddonCompatibilityDetail"
1643+
}
1644+
},
16191645
"com.amazonaws.eks#AddonHealth": {
16201646
"type": "structure",
16211647
"members": {
@@ -6619,6 +6645,12 @@
66196645
"traits": {
66206646
"smithy.api#documentation": "<p>The summary information about deprecated resource usage for an insight check in the\n <code>UPGRADE_READINESS</code> category.</p>"
66216647
}
6648+
},
6649+
"addonCompatibilityDetails": {
6650+
"target": "com.amazonaws.eks#AddonCompatibilityDetails",
6651+
"traits": {
6652+
"smithy.api#documentation": "<p>A list of <code>AddonCompatibilityDetail</code> objects for Amazon EKS add-ons.</p>"
6653+
}
66226654
}
66236655
},
66246656
"traits": {

0 commit comments

Comments
 (0)