@aws-sdk/client-eks 3.477.0 → 3.478.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.
- package/README.md +16 -0
- package/dist-cjs/EKS.js +4 -0
- package/dist-cjs/commands/DescribeInsightCommand.js +51 -0
- package/dist-cjs/commands/ListInsightsCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/pagination/DescribeAddonVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAccessEntriesPaginator.js +2 -24
- package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListAddonsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAssociatedAccessPoliciesPaginator.js +2 -24
- package/dist-cjs/pagination/ListClustersPaginator.js +2 -24
- package/dist-cjs/pagination/ListEksAnywhereSubscriptionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFargateProfilesPaginator.js +2 -24
- package/dist-cjs/pagination/ListIdentityProviderConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListInsightsPaginator.js +7 -0
- package/dist-cjs/pagination/ListNodegroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPodIdentityAssociationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUpdatesPaginator.js +2 -24
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +250 -134
- package/dist-es/EKS.js +4 -0
- package/dist-es/commands/DescribeInsightCommand.js +47 -0
- package/dist-es/commands/ListInsightsCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/pagination/DescribeAddonVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListAccessEntriesPaginator.js +2 -23
- package/dist-es/pagination/ListAccessPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListAddonsPaginator.js +2 -23
- package/dist-es/pagination/ListAssociatedAccessPoliciesPaginator.js +2 -23
- package/dist-es/pagination/ListClustersPaginator.js +2 -23
- package/dist-es/pagination/ListEksAnywhereSubscriptionsPaginator.js +2 -23
- package/dist-es/pagination/ListFargateProfilesPaginator.js +2 -23
- package/dist-es/pagination/ListIdentityProviderConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListInsightsPaginator.js +4 -0
- package/dist-es/pagination/ListNodegroupsPaginator.js +2 -23
- package/dist-es/pagination/ListPodIdentityAssociationsPaginator.js +2 -23
- package/dist-es/pagination/ListUpdatesPaginator.js +2 -23
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +244 -132
- package/dist-types/EKS.d.ts +14 -0
- package/dist-types/EKSClient.d.ts +4 -2
- package/dist-types/commands/DescribeInsightCommand.d.ts +133 -0
- package/dist-types/commands/ListInsightsCommand.d.ts +117 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +359 -5
- package/dist-types/pagination/DescribeAddonVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccessEntriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAddonsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFargateProfilesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIdentityProviderConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListInsightsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListNodegroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPodIdentityAssociationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUpdatesPaginator.d.ts +1 -1
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/EKS.d.ts +34 -0
- package/dist-types/ts3.4/EKSClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +82 -0
- package/dist-types/ts3.4/pagination/DescribeAddonVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccessEntriesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAddonsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFargateProfilesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIdentityProviderConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListInsightsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListNodegroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPodIdentityAssociationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUpdatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +5 -5
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
|
|
5
|
+
import { DescribeInsightRequest, DescribeInsightResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeInsightCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeInsightCommandInput extends DescribeInsightRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeInsightCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeInsightCommandOutput extends DescribeInsightResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns details about an insight that you specify using its ID.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { EKSClient, DescribeInsightCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
31
|
+
* // const { EKSClient, DescribeInsightCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
32
|
+
* const client = new EKSClient(config);
|
|
33
|
+
* const input = { // DescribeInsightRequest
|
|
34
|
+
* clusterName: "STRING_VALUE", // required
|
|
35
|
+
* id: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new DescribeInsightCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // DescribeInsightResponse
|
|
40
|
+
* // insight: { // Insight
|
|
41
|
+
* // id: "STRING_VALUE",
|
|
42
|
+
* // name: "STRING_VALUE",
|
|
43
|
+
* // category: "UPGRADE_READINESS",
|
|
44
|
+
* // kubernetesVersion: "STRING_VALUE",
|
|
45
|
+
* // lastRefreshTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // lastTransitionTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // description: "STRING_VALUE",
|
|
48
|
+
* // insightStatus: { // InsightStatus
|
|
49
|
+
* // status: "PASSING" || "WARNING" || "ERROR" || "UNKNOWN",
|
|
50
|
+
* // reason: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // recommendation: "STRING_VALUE",
|
|
53
|
+
* // additionalInfo: { // AdditionalInfoMap
|
|
54
|
+
* // "<keys>": "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // resources: [ // InsightResourceDetails
|
|
57
|
+
* // { // InsightResourceDetail
|
|
58
|
+
* // insightStatus: {
|
|
59
|
+
* // status: "PASSING" || "WARNING" || "ERROR" || "UNKNOWN",
|
|
60
|
+
* // reason: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // kubernetesResourceUri: "STRING_VALUE",
|
|
63
|
+
* // arn: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // categorySpecificSummary: { // InsightCategorySpecificSummary
|
|
67
|
+
* // deprecationDetails: [ // DeprecationDetails
|
|
68
|
+
* // { // DeprecationDetail
|
|
69
|
+
* // usage: "STRING_VALUE",
|
|
70
|
+
* // replacedWith: "STRING_VALUE",
|
|
71
|
+
* // stopServingVersion: "STRING_VALUE",
|
|
72
|
+
* // startServingReplacementVersion: "STRING_VALUE",
|
|
73
|
+
* // clientStats: [ // ClientStats
|
|
74
|
+
* // { // ClientStat
|
|
75
|
+
* // userAgent: "STRING_VALUE",
|
|
76
|
+
* // numberOfRequestsLast30Days: Number("int"),
|
|
77
|
+
* // lastRequestTime: new Date("TIMESTAMP"),
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
81
|
+
* // ],
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param DescribeInsightCommandInput - {@link DescribeInsightCommandInput}
|
|
89
|
+
* @returns {@link DescribeInsightCommandOutput}
|
|
90
|
+
* @see {@link DescribeInsightCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link DescribeInsightCommandOutput} for command's `response` shape.
|
|
92
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
95
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
96
|
+
* request.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
99
|
+
* <p>The request is invalid given the state of the cluster. Check the state of the cluster
|
|
100
|
+
* and the associated operations.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
103
|
+
* <p>The specified resource could not be found. You can view your available clusters with
|
|
104
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
105
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ServerException} (server fault)
|
|
108
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link EKSServiceException}
|
|
111
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
112
|
+
*
|
|
113
|
+
*/
|
|
114
|
+
export declare class DescribeInsightCommand extends $Command<DescribeInsightCommandInput, DescribeInsightCommandOutput, EKSClientResolvedConfig> {
|
|
115
|
+
readonly input: DescribeInsightCommandInput;
|
|
116
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
constructor(input: DescribeInsightCommandInput);
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeInsightCommandInput, DescribeInsightCommandOutput>;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
private serialize;
|
|
129
|
+
/**
|
|
130
|
+
* @internal
|
|
131
|
+
*/
|
|
132
|
+
private deserialize;
|
|
133
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
|
|
5
|
+
import { ListInsightsRequest, ListInsightsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListInsightsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListInsightsCommandInput extends ListInsightsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListInsightsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListInsightsCommandOutput extends ListInsightsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns a list of all insights checked for against the specified cluster. You can filter which insights are returned by category, associated Kubernetes version, and status.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { EKSClient, ListInsightsCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
31
|
+
* // const { EKSClient, ListInsightsCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
32
|
+
* const client = new EKSClient(config);
|
|
33
|
+
* const input = { // ListInsightsRequest
|
|
34
|
+
* clusterName: "STRING_VALUE", // required
|
|
35
|
+
* filter: { // InsightsFilter
|
|
36
|
+
* categories: [ // CategoryList
|
|
37
|
+
* "UPGRADE_READINESS",
|
|
38
|
+
* ],
|
|
39
|
+
* kubernetesVersions: [ // StringList
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* statuses: [ // InsightStatusValueList
|
|
43
|
+
* "PASSING" || "WARNING" || "ERROR" || "UNKNOWN",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* nextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListInsightsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // ListInsightsResponse
|
|
52
|
+
* // insights: [ // InsightSummaries
|
|
53
|
+
* // { // InsightSummary
|
|
54
|
+
* // id: "STRING_VALUE",
|
|
55
|
+
* // name: "STRING_VALUE",
|
|
56
|
+
* // category: "UPGRADE_READINESS",
|
|
57
|
+
* // kubernetesVersion: "STRING_VALUE",
|
|
58
|
+
* // lastRefreshTime: new Date("TIMESTAMP"),
|
|
59
|
+
* // lastTransitionTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // description: "STRING_VALUE",
|
|
61
|
+
* // insightStatus: { // InsightStatus
|
|
62
|
+
* // status: "PASSING" || "WARNING" || "ERROR" || "UNKNOWN",
|
|
63
|
+
* // reason: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // nextToken: "STRING_VALUE",
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param ListInsightsCommandInput - {@link ListInsightsCommandInput}
|
|
73
|
+
* @returns {@link ListInsightsCommandOutput}
|
|
74
|
+
* @see {@link ListInsightsCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link ListInsightsCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
79
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
80
|
+
* request.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
83
|
+
* <p>The request is invalid given the state of the cluster. Check the state of the cluster
|
|
84
|
+
* and the associated operations.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
87
|
+
* <p>The specified resource could not be found. You can view your available clusters with
|
|
88
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
89
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ServerException} (server fault)
|
|
92
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link EKSServiceException}
|
|
95
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
96
|
+
*
|
|
97
|
+
*/
|
|
98
|
+
export declare class ListInsightsCommand extends $Command<ListInsightsCommandInput, ListInsightsCommandOutput, EKSClientResolvedConfig> {
|
|
99
|
+
readonly input: ListInsightsCommandInput;
|
|
100
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
constructor(input: ListInsightsCommandInput);
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListInsightsCommandInput, ListInsightsCommandOutput>;
|
|
109
|
+
/**
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
private serialize;
|
|
113
|
+
/**
|
|
114
|
+
* @internal
|
|
115
|
+
*/
|
|
116
|
+
private deserialize;
|
|
117
|
+
}
|
|
@@ -24,6 +24,7 @@ export * from "./DescribeClusterCommand";
|
|
|
24
24
|
export * from "./DescribeEksAnywhereSubscriptionCommand";
|
|
25
25
|
export * from "./DescribeFargateProfileCommand";
|
|
26
26
|
export * from "./DescribeIdentityProviderConfigCommand";
|
|
27
|
+
export * from "./DescribeInsightCommand";
|
|
27
28
|
export * from "./DescribeNodegroupCommand";
|
|
28
29
|
export * from "./DescribePodIdentityAssociationCommand";
|
|
29
30
|
export * from "./DescribeUpdateCommand";
|
|
@@ -37,6 +38,7 @@ export * from "./ListClustersCommand";
|
|
|
37
38
|
export * from "./ListEksAnywhereSubscriptionsCommand";
|
|
38
39
|
export * from "./ListFargateProfilesCommand";
|
|
39
40
|
export * from "./ListIdentityProviderConfigsCommand";
|
|
41
|
+
export * from "./ListInsightsCommand";
|
|
40
42
|
export * from "./ListNodegroupsCommand";
|
|
41
43
|
export * from "./ListPodIdentityAssociationsCommand";
|
|
42
44
|
export * from "./ListTagsForResourceCommand";
|
|
@@ -1135,6 +1135,11 @@ export interface CreateAccessEntryRequest {
|
|
|
1135
1135
|
* <p>The ARN of the IAM principal for the <code>AccessEntry</code>. You can specify one ARN for each access entry. You can't specify the
|
|
1136
1136
|
* same ARN in more than one access entry. This value can't be changed after access entry
|
|
1137
1137
|
* creation.</p>
|
|
1138
|
+
* <p>The valid principals differ depending on the type of the access entry in the <code>type</code> field.
|
|
1139
|
+
* The only valid ARN is IAM roles for the types of access entries for nodes: <code></code>
|
|
1140
|
+
* <code></code>. You can use every IAM principal type for <code>STANDARD</code> access entries.
|
|
1141
|
+
* You can't use the STS session principal type with access entries because this is a temporary
|
|
1142
|
+
* principal for each session and not a permanent identity that can be assigned permissions.</p>
|
|
1138
1143
|
* <p>
|
|
1139
1144
|
* <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html#bp-users-federation-idp">IAM best practices</a> recommend using IAM roles with
|
|
1140
1145
|
* temporary credentials, rather than IAM users with long-term credentials.
|
|
@@ -1188,7 +1193,9 @@ export interface CreateAccessEntryRequest {
|
|
|
1188
1193
|
username?: string;
|
|
1189
1194
|
/**
|
|
1190
1195
|
* @public
|
|
1191
|
-
* <p>
|
|
1196
|
+
* <p>The type of the new access entry. Valid values are <code>Standard</code>,
|
|
1197
|
+
* <code>FARGATE_LINUX</code>, <code>EC2_LINUX</code>, and <code>EC2_WINDOWS</code>.</p>
|
|
1198
|
+
* <p>If the <code>principalArn</code> is for an IAM role that's used for
|
|
1192
1199
|
* self-managed Amazon EC2 nodes, specify <code>EC2_LINUX</code> or
|
|
1193
1200
|
* <code>EC2_WINDOWS</code>. Amazon EKS grants the necessary permissions to the
|
|
1194
1201
|
* node for you. If the <code>principalArn</code> is for any other purpose, specify
|
|
@@ -1493,8 +1500,8 @@ export interface Logging {
|
|
|
1493
1500
|
export interface ControlPlanePlacementRequest {
|
|
1494
1501
|
/**
|
|
1495
1502
|
* @public
|
|
1496
|
-
* <p>The name of the placement group for the Kubernetes control plane instances. This
|
|
1497
|
-
* can't be changed after cluster creation. </p>
|
|
1503
|
+
* <p>The name of the placement group for the Kubernetes control plane instances. This
|
|
1504
|
+
* setting can't be changed after cluster creation. </p>
|
|
1498
1505
|
*/
|
|
1499
1506
|
groupName?: string;
|
|
1500
1507
|
}
|
|
@@ -3934,6 +3941,226 @@ export interface DescribeIdentityProviderConfigResponse {
|
|
|
3934
3941
|
*/
|
|
3935
3942
|
identityProviderConfig?: IdentityProviderConfigResponse;
|
|
3936
3943
|
}
|
|
3944
|
+
/**
|
|
3945
|
+
* @public
|
|
3946
|
+
*/
|
|
3947
|
+
export interface DescribeInsightRequest {
|
|
3948
|
+
/**
|
|
3949
|
+
* @public
|
|
3950
|
+
* <p>The name of the cluster to describe the insight for.</p>
|
|
3951
|
+
*/
|
|
3952
|
+
clusterName: string | undefined;
|
|
3953
|
+
/**
|
|
3954
|
+
* @public
|
|
3955
|
+
* <p>The identity of the insight to describe.</p>
|
|
3956
|
+
*/
|
|
3957
|
+
id: string | undefined;
|
|
3958
|
+
}
|
|
3959
|
+
/**
|
|
3960
|
+
* @public
|
|
3961
|
+
* @enum
|
|
3962
|
+
*/
|
|
3963
|
+
export declare const Category: {
|
|
3964
|
+
readonly UPGRADE_READINESS: "UPGRADE_READINESS";
|
|
3965
|
+
};
|
|
3966
|
+
/**
|
|
3967
|
+
* @public
|
|
3968
|
+
*/
|
|
3969
|
+
export type Category = (typeof Category)[keyof typeof Category];
|
|
3970
|
+
/**
|
|
3971
|
+
* @public
|
|
3972
|
+
* <p>Details about clients using the deprecated resources.</p>
|
|
3973
|
+
*/
|
|
3974
|
+
export interface ClientStat {
|
|
3975
|
+
/**
|
|
3976
|
+
* @public
|
|
3977
|
+
* <p>The user agent of the Kubernetes client using the deprecated resource.</p>
|
|
3978
|
+
*/
|
|
3979
|
+
userAgent?: string;
|
|
3980
|
+
/**
|
|
3981
|
+
* @public
|
|
3982
|
+
* <p>The number of requests from the Kubernetes client seen over the last 30 days.</p>
|
|
3983
|
+
*/
|
|
3984
|
+
numberOfRequestsLast30Days?: number;
|
|
3985
|
+
/**
|
|
3986
|
+
* @public
|
|
3987
|
+
* <p>The timestamp of the last request seen from the Kubernetes client.</p>
|
|
3988
|
+
*/
|
|
3989
|
+
lastRequestTime?: Date;
|
|
3990
|
+
}
|
|
3991
|
+
/**
|
|
3992
|
+
* @public
|
|
3993
|
+
* <p>The summary information about deprecated resource usage for an insight check in the
|
|
3994
|
+
* <code>UPGRADE_READINESS</code> category.</p>
|
|
3995
|
+
*/
|
|
3996
|
+
export interface DeprecationDetail {
|
|
3997
|
+
/**
|
|
3998
|
+
* @public
|
|
3999
|
+
* <p>The deprecated version of the resource.</p>
|
|
4000
|
+
*/
|
|
4001
|
+
usage?: string;
|
|
4002
|
+
/**
|
|
4003
|
+
* @public
|
|
4004
|
+
* <p>The newer version of the resource to migrate to if applicable. </p>
|
|
4005
|
+
*/
|
|
4006
|
+
replacedWith?: string;
|
|
4007
|
+
/**
|
|
4008
|
+
* @public
|
|
4009
|
+
* <p>The version of the software where the deprecated resource version will stop being served.</p>
|
|
4010
|
+
*/
|
|
4011
|
+
stopServingVersion?: string;
|
|
4012
|
+
/**
|
|
4013
|
+
* @public
|
|
4014
|
+
* <p>The version of the software where the newer resource version became available to migrate to if applicable.</p>
|
|
4015
|
+
*/
|
|
4016
|
+
startServingReplacementVersion?: string;
|
|
4017
|
+
/**
|
|
4018
|
+
* @public
|
|
4019
|
+
* <p>Details about Kubernetes clients using the deprecated resources.</p>
|
|
4020
|
+
*/
|
|
4021
|
+
clientStats?: ClientStat[];
|
|
4022
|
+
}
|
|
4023
|
+
/**
|
|
4024
|
+
* @public
|
|
4025
|
+
* <p>Summary information that relates to the category of the insight. Currently only
|
|
4026
|
+
* returned with certain insights having category <code>UPGRADE_READINESS</code>.</p>
|
|
4027
|
+
*/
|
|
4028
|
+
export interface InsightCategorySpecificSummary {
|
|
4029
|
+
/**
|
|
4030
|
+
* @public
|
|
4031
|
+
* <p>The summary information about deprecated resource usage for an insight check in the
|
|
4032
|
+
* <code>UPGRADE_READINESS</code> category.</p>
|
|
4033
|
+
*/
|
|
4034
|
+
deprecationDetails?: DeprecationDetail[];
|
|
4035
|
+
}
|
|
4036
|
+
/**
|
|
4037
|
+
* @public
|
|
4038
|
+
* @enum
|
|
4039
|
+
*/
|
|
4040
|
+
export declare const InsightStatusValue: {
|
|
4041
|
+
readonly ERROR: "ERROR";
|
|
4042
|
+
readonly PASSING: "PASSING";
|
|
4043
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
4044
|
+
readonly WARNING: "WARNING";
|
|
4045
|
+
};
|
|
4046
|
+
/**
|
|
4047
|
+
* @public
|
|
4048
|
+
*/
|
|
4049
|
+
export type InsightStatusValue = (typeof InsightStatusValue)[keyof typeof InsightStatusValue];
|
|
4050
|
+
/**
|
|
4051
|
+
* @public
|
|
4052
|
+
* <p>The status of the insight.</p>
|
|
4053
|
+
*/
|
|
4054
|
+
export interface InsightStatus {
|
|
4055
|
+
/**
|
|
4056
|
+
* @public
|
|
4057
|
+
* <p>The status of the resource.</p>
|
|
4058
|
+
*/
|
|
4059
|
+
status?: InsightStatusValue;
|
|
4060
|
+
/**
|
|
4061
|
+
* @public
|
|
4062
|
+
* <p>Explanation on the reasoning for the status of the resource. </p>
|
|
4063
|
+
*/
|
|
4064
|
+
reason?: string;
|
|
4065
|
+
}
|
|
4066
|
+
/**
|
|
4067
|
+
* @public
|
|
4068
|
+
* <p>Returns information about the resource being evaluated.</p>
|
|
4069
|
+
*/
|
|
4070
|
+
export interface InsightResourceDetail {
|
|
4071
|
+
/**
|
|
4072
|
+
* @public
|
|
4073
|
+
* <p>An object containing more detail on the status of the insight resource.</p>
|
|
4074
|
+
*/
|
|
4075
|
+
insightStatus?: InsightStatus;
|
|
4076
|
+
/**
|
|
4077
|
+
* @public
|
|
4078
|
+
* <p>The Kubernetes resource URI if applicable.</p>
|
|
4079
|
+
*/
|
|
4080
|
+
kubernetesResourceUri?: string;
|
|
4081
|
+
/**
|
|
4082
|
+
* @public
|
|
4083
|
+
* <p>The Amazon Resource Name (ARN) if applicable.</p>
|
|
4084
|
+
*/
|
|
4085
|
+
arn?: string;
|
|
4086
|
+
}
|
|
4087
|
+
/**
|
|
4088
|
+
* @public
|
|
4089
|
+
* <p>A check that provides recommendations to remedy potential upgrade-impacting issues.</p>
|
|
4090
|
+
*/
|
|
4091
|
+
export interface Insight {
|
|
4092
|
+
/**
|
|
4093
|
+
* @public
|
|
4094
|
+
* <p>The ID of the insight.</p>
|
|
4095
|
+
*/
|
|
4096
|
+
id?: string;
|
|
4097
|
+
/**
|
|
4098
|
+
* @public
|
|
4099
|
+
* <p>The name of the insight.</p>
|
|
4100
|
+
*/
|
|
4101
|
+
name?: string;
|
|
4102
|
+
/**
|
|
4103
|
+
* @public
|
|
4104
|
+
* <p>The category of the insight.</p>
|
|
4105
|
+
*/
|
|
4106
|
+
category?: Category;
|
|
4107
|
+
/**
|
|
4108
|
+
* @public
|
|
4109
|
+
* <p>The Kubernetes minor version associated with an insight if applicable.</p>
|
|
4110
|
+
*/
|
|
4111
|
+
kubernetesVersion?: string;
|
|
4112
|
+
/**
|
|
4113
|
+
* @public
|
|
4114
|
+
* <p>The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.</p>
|
|
4115
|
+
*/
|
|
4116
|
+
lastRefreshTime?: Date;
|
|
4117
|
+
/**
|
|
4118
|
+
* @public
|
|
4119
|
+
* <p>The time the status of the insight last changed.</p>
|
|
4120
|
+
*/
|
|
4121
|
+
lastTransitionTime?: Date;
|
|
4122
|
+
/**
|
|
4123
|
+
* @public
|
|
4124
|
+
* <p>The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).</p>
|
|
4125
|
+
*/
|
|
4126
|
+
description?: string;
|
|
4127
|
+
/**
|
|
4128
|
+
* @public
|
|
4129
|
+
* <p>An object containing more detail on the status of the insight resource.</p>
|
|
4130
|
+
*/
|
|
4131
|
+
insightStatus?: InsightStatus;
|
|
4132
|
+
/**
|
|
4133
|
+
* @public
|
|
4134
|
+
* <p>A summary of how to remediate the finding of this insight if applicable. </p>
|
|
4135
|
+
*/
|
|
4136
|
+
recommendation?: string;
|
|
4137
|
+
/**
|
|
4138
|
+
* @public
|
|
4139
|
+
* <p>Links to sources that provide additional context on the insight.</p>
|
|
4140
|
+
*/
|
|
4141
|
+
additionalInfo?: Record<string, string>;
|
|
4142
|
+
/**
|
|
4143
|
+
* @public
|
|
4144
|
+
* <p>The details about each resource listed in the insight check result.</p>
|
|
4145
|
+
*/
|
|
4146
|
+
resources?: InsightResourceDetail[];
|
|
4147
|
+
/**
|
|
4148
|
+
* @public
|
|
4149
|
+
* <p>Summary information that relates to the category of the insight. Currently only
|
|
4150
|
+
* returned with certain insights having category <code>UPGRADE_READINESS</code>.</p>
|
|
4151
|
+
*/
|
|
4152
|
+
categorySpecificSummary?: InsightCategorySpecificSummary;
|
|
4153
|
+
}
|
|
4154
|
+
/**
|
|
4155
|
+
* @public
|
|
4156
|
+
*/
|
|
4157
|
+
export interface DescribeInsightResponse {
|
|
4158
|
+
/**
|
|
4159
|
+
* @public
|
|
4160
|
+
* <p>The full description of the insight.</p>
|
|
4161
|
+
*/
|
|
4162
|
+
insight?: Insight;
|
|
4163
|
+
}
|
|
3937
4164
|
/**
|
|
3938
4165
|
* @public
|
|
3939
4166
|
*/
|
|
@@ -4531,8 +4758,135 @@ export interface ListIdentityProviderConfigsResponse {
|
|
|
4531
4758
|
/**
|
|
4532
4759
|
* @public
|
|
4533
4760
|
* <p>The <code>nextToken</code> value to include in a future
|
|
4534
|
-
*
|
|
4535
|
-
*
|
|
4761
|
+
* <code>ListIdentityProviderConfigsResponse</code> request. When the results of a
|
|
4762
|
+
* <code>ListIdentityProviderConfigsResponse</code> request exceed
|
|
4763
|
+
* <code>maxResults</code>, you can use this value to retrieve the next page of
|
|
4764
|
+
* results. This value is <code>null</code> when there are no more results to
|
|
4765
|
+
* return.</p>
|
|
4766
|
+
* <note>
|
|
4767
|
+
* <p>This token should be treated as an opaque identifier that is used only to
|
|
4768
|
+
* retrieve the next items in a list and not for other programmatic purposes.</p>
|
|
4769
|
+
* </note>
|
|
4770
|
+
*/
|
|
4771
|
+
nextToken?: string;
|
|
4772
|
+
}
|
|
4773
|
+
/**
|
|
4774
|
+
* @public
|
|
4775
|
+
* <p>The criteria to use for the insights.</p>
|
|
4776
|
+
*/
|
|
4777
|
+
export interface InsightsFilter {
|
|
4778
|
+
/**
|
|
4779
|
+
* @public
|
|
4780
|
+
* <p>The categories to use to filter insights.</p>
|
|
4781
|
+
*/
|
|
4782
|
+
categories?: Category[];
|
|
4783
|
+
/**
|
|
4784
|
+
* @public
|
|
4785
|
+
* <p>The Kubernetes versions to use to filter the insights.</p>
|
|
4786
|
+
*/
|
|
4787
|
+
kubernetesVersions?: string[];
|
|
4788
|
+
/**
|
|
4789
|
+
* @public
|
|
4790
|
+
* <p>The statuses to use to filter the insights. </p>
|
|
4791
|
+
*/
|
|
4792
|
+
statuses?: InsightStatusValue[];
|
|
4793
|
+
}
|
|
4794
|
+
/**
|
|
4795
|
+
* @public
|
|
4796
|
+
*/
|
|
4797
|
+
export interface ListInsightsRequest {
|
|
4798
|
+
/**
|
|
4799
|
+
* @public
|
|
4800
|
+
* <p>The name of the Amazon EKS cluster associated with the insights.</p>
|
|
4801
|
+
*/
|
|
4802
|
+
clusterName: string | undefined;
|
|
4803
|
+
/**
|
|
4804
|
+
* @public
|
|
4805
|
+
* <p>The criteria to filter your list of insights for your cluster. You can filter which insights are returned by category, associated Kubernetes version, and status.</p>
|
|
4806
|
+
*/
|
|
4807
|
+
filter?: InsightsFilter;
|
|
4808
|
+
/**
|
|
4809
|
+
* @public
|
|
4810
|
+
* <p>The maximum number of identity provider configurations returned by
|
|
4811
|
+
* <code>ListInsights</code> in paginated output. When you use this parameter,
|
|
4812
|
+
* <code>ListInsights</code> returns only <code>maxResults</code> results in a single
|
|
4813
|
+
* page along with a <code>nextToken</code> response element. You can see the remaining
|
|
4814
|
+
* results of the initial request by sending another <code>ListInsights</code> request with
|
|
4815
|
+
* the returned <code>nextToken</code> value. This value can be between 1
|
|
4816
|
+
* and 100. If you don't use this parameter, <code>ListInsights</code>
|
|
4817
|
+
* returns up to 100 results and a <code>nextToken</code> value, if
|
|
4818
|
+
* applicable.</p>
|
|
4819
|
+
*/
|
|
4820
|
+
maxResults?: number;
|
|
4821
|
+
/**
|
|
4822
|
+
* @public
|
|
4823
|
+
* <p>The <code>nextToken</code> value returned from a previous paginated <code>ListInsights</code>
|
|
4824
|
+
* request. When the results of a <code>ListInsights</code> request exceed
|
|
4825
|
+
* <code>maxResults</code>, you can use this value to retrieve the next page of
|
|
4826
|
+
* results. This value is <code>null</code> when there are no more results to
|
|
4827
|
+
* return.</p>
|
|
4828
|
+
*/
|
|
4829
|
+
nextToken?: string;
|
|
4830
|
+
}
|
|
4831
|
+
/**
|
|
4832
|
+
* @public
|
|
4833
|
+
* <p>The summarized description of the insight.</p>
|
|
4834
|
+
*/
|
|
4835
|
+
export interface InsightSummary {
|
|
4836
|
+
/**
|
|
4837
|
+
* @public
|
|
4838
|
+
* <p>The ID of the insight.</p>
|
|
4839
|
+
*/
|
|
4840
|
+
id?: string;
|
|
4841
|
+
/**
|
|
4842
|
+
* @public
|
|
4843
|
+
* <p>The name of the insight.</p>
|
|
4844
|
+
*/
|
|
4845
|
+
name?: string;
|
|
4846
|
+
/**
|
|
4847
|
+
* @public
|
|
4848
|
+
* <p>The category of the insight.</p>
|
|
4849
|
+
*/
|
|
4850
|
+
category?: Category;
|
|
4851
|
+
/**
|
|
4852
|
+
* @public
|
|
4853
|
+
* <p>The Kubernetes minor version associated with an insight if applicable. </p>
|
|
4854
|
+
*/
|
|
4855
|
+
kubernetesVersion?: string;
|
|
4856
|
+
/**
|
|
4857
|
+
* @public
|
|
4858
|
+
* <p>The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.</p>
|
|
4859
|
+
*/
|
|
4860
|
+
lastRefreshTime?: Date;
|
|
4861
|
+
/**
|
|
4862
|
+
* @public
|
|
4863
|
+
* <p>The time the status of the insight last changed.</p>
|
|
4864
|
+
*/
|
|
4865
|
+
lastTransitionTime?: Date;
|
|
4866
|
+
/**
|
|
4867
|
+
* @public
|
|
4868
|
+
* <p>The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).</p>
|
|
4869
|
+
*/
|
|
4870
|
+
description?: string;
|
|
4871
|
+
/**
|
|
4872
|
+
* @public
|
|
4873
|
+
* <p>An object containing more detail on the status of the insight.</p>
|
|
4874
|
+
*/
|
|
4875
|
+
insightStatus?: InsightStatus;
|
|
4876
|
+
}
|
|
4877
|
+
/**
|
|
4878
|
+
* @public
|
|
4879
|
+
*/
|
|
4880
|
+
export interface ListInsightsResponse {
|
|
4881
|
+
/**
|
|
4882
|
+
* @public
|
|
4883
|
+
* <p>The returned list of insights.</p>
|
|
4884
|
+
*/
|
|
4885
|
+
insights?: InsightSummary[];
|
|
4886
|
+
/**
|
|
4887
|
+
* @public
|
|
4888
|
+
* <p>The <code>nextToken</code> value to include in a future <code>ListInsights</code>
|
|
4889
|
+
* request. When the results of a <code>ListInsights</code> request exceed
|
|
4536
4890
|
* <code>maxResults</code>, you can use this value to retrieve the next page of
|
|
4537
4891
|
* results. This value is <code>null</code> when there are no more results to
|
|
4538
4892
|
* return.</p>
|
|
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeAddonVersions: (config: EKSPaginationConfiguration, input: DescribeAddonVersionsCommandInput, ...rest: any[]) => Paginator<DescribeAddonVersionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccessEntries: (config: EKSPaginationConfiguration, input: ListAccessEntriesCommandInput, ...rest: any[]) => Paginator<ListAccessEntriesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { EKSPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListAccessPolicies: (config: EKSPaginationConfiguration, input: ListAccessPoliciesCommandInput, ...rest: any[]) => Paginator<ListAccessPoliciesCommandOutput>;
|