@aws-sdk/client-eks 3.445.0 → 3.448.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.
Files changed (71) hide show
  1. package/README.md +48 -9
  2. package/dist-cjs/EKS.js +10 -0
  3. package/dist-cjs/commands/CreateEksAnywhereSubscriptionCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteEksAnywhereSubscriptionCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeEksAnywhereSubscriptionCommand.js +51 -0
  6. package/dist-cjs/commands/ListEksAnywhereSubscriptionsCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateEksAnywhereSubscriptionCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +21 -1
  10. package/dist-cjs/protocols/Aws_restJson1.js +363 -2
  11. package/dist-es/EKS.js +10 -0
  12. package/dist-es/commands/CreateEksAnywhereSubscriptionCommand.js +47 -0
  13. package/dist-es/commands/DeleteEksAnywhereSubscriptionCommand.js +47 -0
  14. package/dist-es/commands/DescribeEksAnywhereSubscriptionCommand.js +47 -0
  15. package/dist-es/commands/ListEksAnywhereSubscriptionsCommand.js +47 -0
  16. package/dist-es/commands/UpdateEksAnywhereSubscriptionCommand.js +47 -0
  17. package/dist-es/commands/index.js +5 -0
  18. package/dist-es/models/models_0.js +20 -0
  19. package/dist-es/protocols/Aws_restJson1.js +352 -1
  20. package/dist-types/EKS.d.ts +43 -9
  21. package/dist-types/EKSClient.d.ts +15 -11
  22. package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +2 -2
  23. package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -2
  24. package/dist-types/commands/CreateAddonCommand.d.ts +2 -2
  25. package/dist-types/commands/CreateClusterCommand.d.ts +11 -13
  26. package/dist-types/commands/CreateEksAnywhereSubscriptionCommand.d.ts +125 -0
  27. package/dist-types/commands/CreateFargateProfileCommand.d.ts +8 -9
  28. package/dist-types/commands/CreateNodegroupCommand.d.ts +3 -6
  29. package/dist-types/commands/DeleteAddonCommand.d.ts +2 -2
  30. package/dist-types/commands/DeleteClusterCommand.d.ts +2 -2
  31. package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +114 -0
  32. package/dist-types/commands/DeleteFargateProfileCommand.d.ts +2 -2
  33. package/dist-types/commands/DeleteNodegroupCommand.d.ts +2 -2
  34. package/dist-types/commands/DeregisterClusterCommand.d.ts +7 -6
  35. package/dist-types/commands/DescribeAddonCommand.d.ts +2 -2
  36. package/dist-types/commands/DescribeClusterCommand.d.ts +2 -2
  37. package/dist-types/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +110 -0
  38. package/dist-types/commands/DescribeFargateProfileCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +2 -2
  40. package/dist-types/commands/DescribeNodegroupCommand.d.ts +2 -2
  41. package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -2
  42. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +4 -4
  43. package/dist-types/commands/ListAddonsCommand.d.ts +3 -3
  44. package/dist-types/commands/ListClustersCommand.d.ts +2 -2
  45. package/dist-types/commands/ListEksAnywhereSubscriptionsCommand.d.ts +115 -0
  46. package/dist-types/commands/ListFargateProfilesCommand.d.ts +2 -2
  47. package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +2 -2
  48. package/dist-types/commands/ListNodegroupsCommand.d.ts +2 -2
  49. package/dist-types/commands/ListUpdatesCommand.d.ts +2 -2
  50. package/dist-types/commands/RegisterClusterCommand.d.ts +11 -10
  51. package/dist-types/commands/UpdateAddonCommand.d.ts +2 -2
  52. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +5 -5
  53. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +8 -8
  54. package/dist-types/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +118 -0
  55. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +4 -4
  56. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +3 -4
  57. package/dist-types/commands/index.d.ts +5 -0
  58. package/dist-types/index.d.ts +8 -9
  59. package/dist-types/models/models_0.d.ts +443 -102
  60. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  61. package/dist-types/ts3.4/EKS.d.ts +85 -0
  62. package/dist-types/ts3.4/EKSClient.d.ts +30 -0
  63. package/dist-types/ts3.4/commands/CreateEksAnywhereSubscriptionCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/ListEksAnywhereSubscriptionsCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +85 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  71. package/package.json +1 -1
@@ -0,0 +1,110 @@
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 { DescribeEksAnywhereSubscriptionRequest, DescribeEksAnywhereSubscriptionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeEksAnywhereSubscriptionCommand}.
14
+ */
15
+ export interface DescribeEksAnywhereSubscriptionCommandInput extends DescribeEksAnywhereSubscriptionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeEksAnywhereSubscriptionCommand}.
21
+ */
22
+ export interface DescribeEksAnywhereSubscriptionCommandOutput extends DescribeEksAnywhereSubscriptionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns descriptive information about a subscription.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { EKSClient, DescribeEksAnywhereSubscriptionCommand } from "@aws-sdk/client-eks"; // ES Modules import
31
+ * // const { EKSClient, DescribeEksAnywhereSubscriptionCommand } = require("@aws-sdk/client-eks"); // CommonJS import
32
+ * const client = new EKSClient(config);
33
+ * const input = { // DescribeEksAnywhereSubscriptionRequest
34
+ * id: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new DescribeEksAnywhereSubscriptionCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // DescribeEksAnywhereSubscriptionResponse
39
+ * // subscription: { // EksAnywhereSubscription
40
+ * // id: "STRING_VALUE",
41
+ * // arn: "STRING_VALUE",
42
+ * // createdAt: new Date("TIMESTAMP"),
43
+ * // effectiveDate: new Date("TIMESTAMP"),
44
+ * // expirationDate: new Date("TIMESTAMP"),
45
+ * // licenseQuantity: Number("int"),
46
+ * // licenseType: "Cluster",
47
+ * // term: { // EksAnywhereSubscriptionTerm
48
+ * // duration: Number("int"),
49
+ * // unit: "MONTHS",
50
+ * // },
51
+ * // status: "STRING_VALUE",
52
+ * // autoRenew: true || false,
53
+ * // licenseArns: [ // StringList
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // tags: { // TagMap
57
+ * // "<keys>": "STRING_VALUE",
58
+ * // },
59
+ * // },
60
+ * // };
61
+ *
62
+ * ```
63
+ *
64
+ * @param DescribeEksAnywhereSubscriptionCommandInput - {@link DescribeEksAnywhereSubscriptionCommandInput}
65
+ * @returns {@link DescribeEksAnywhereSubscriptionCommandOutput}
66
+ * @see {@link DescribeEksAnywhereSubscriptionCommandInput} for command's `input` shape.
67
+ * @see {@link DescribeEksAnywhereSubscriptionCommandOutput} for command's `response` shape.
68
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
69
+ *
70
+ * @throws {@link ClientException} (client fault)
71
+ * <p>These errors are usually caused by a client action. Actions can include using an
72
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
73
+ * the action or resource or specifying an identifier that is not valid.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The specified resource could not be found. You can view your available clusters with
77
+ * <a>ListClusters</a>. You can view your available managed node groups with
78
+ * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
79
+ * Region-specific.</p>
80
+ *
81
+ * @throws {@link ServerException} (server fault)
82
+ * <p>These errors are usually caused by a server-side issue.</p>
83
+ *
84
+ * @throws {@link ServiceUnavailableException} (server fault)
85
+ * <p>The service is unavailable. Back off and retry the operation.</p>
86
+ *
87
+ * @throws {@link EKSServiceException}
88
+ * <p>Base exception class for all service exceptions from EKS service.</p>
89
+ *
90
+ */
91
+ export declare class DescribeEksAnywhereSubscriptionCommand extends $Command<DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput, EKSClientResolvedConfig> {
92
+ readonly input: DescribeEksAnywhereSubscriptionCommandInput;
93
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
94
+ /**
95
+ * @public
96
+ */
97
+ constructor(input: DescribeEksAnywhereSubscriptionCommandInput);
98
+ /**
99
+ * @internal
100
+ */
101
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput>;
102
+ /**
103
+ * @internal
104
+ */
105
+ private serialize;
106
+ /**
107
+ * @internal
108
+ */
109
+ private deserialize;
110
+ }
@@ -71,8 +71,8 @@ export interface DescribeFargateProfileCommandOutput extends DescribeFargateProf
71
71
  *
72
72
  * @throws {@link ClientException} (client fault)
73
73
  * <p>These errors are usually caused by a client action. Actions can include using an
74
- * action or resource on behalf of a user that doesn't have permissions to use the action
75
- * or resource or specifying an identifier that is not valid.</p>
74
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
75
+ * the action or resource or specifying an identifier that is not valid.</p>
76
76
  *
77
77
  * @throws {@link InvalidParameterException} (client fault)
78
78
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -72,8 +72,8 @@ export interface DescribeIdentityProviderConfigCommandOutput extends DescribeIde
72
72
  *
73
73
  * @throws {@link ClientException} (client fault)
74
74
  * <p>These errors are usually caused by a client action. Actions can include using an
75
- * action or resource on behalf of a user that doesn't have permissions to use the action
76
- * or resource or specifying an identifier that is not valid.</p>
75
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
76
+ * the action or resource or specifying an identifier that is not valid.</p>
77
77
  *
78
78
  * @throws {@link InvalidParameterException} (client fault)
79
79
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -119,8 +119,8 @@ export interface DescribeNodegroupCommandOutput extends DescribeNodegroupRespons
119
119
  *
120
120
  * @throws {@link ClientException} (client fault)
121
121
  * <p>These errors are usually caused by a client action. Actions can include using an
122
- * action or resource on behalf of a user that doesn't have permissions to use the action
123
- * or resource or specifying an identifier that is not valid.</p>
122
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
123
+ * the action or resource or specifying an identifier that is not valid.</p>
124
124
  *
125
125
  * @throws {@link InvalidParameterException} (client fault)
126
126
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -76,8 +76,8 @@ export interface DescribeUpdateCommandOutput extends DescribeUpdateResponse, __M
76
76
  *
77
77
  * @throws {@link ClientException} (client fault)
78
78
  * <p>These errors are usually caused by a client action. Actions can include using an
79
- * action or resource on behalf of a user that doesn't have permissions to use the action
80
- * or resource or specifying an identifier that is not valid.</p>
79
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
80
+ * the action or resource or specifying an identifier that is not valid.</p>
81
81
  *
82
82
  * @throws {@link InvalidParameterException} (client fault)
83
83
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -25,8 +25,8 @@ export interface DisassociateIdentityProviderConfigCommandOutput extends Disasso
25
25
  * @public
26
26
  * <p>Disassociates an identity provider configuration from a cluster. If you disassociate
27
27
  * an identity provider from your cluster, users included in the provider can no longer
28
- * access the cluster. However, you can still access the cluster with Amazon Web Services
29
- * IAM users.</p>
28
+ * access the cluster. However, you can still access the cluster with
29
+ * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principals</a>.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -77,8 +77,8 @@ export interface DisassociateIdentityProviderConfigCommandOutput extends Disasso
77
77
  *
78
78
  * @throws {@link ClientException} (client fault)
79
79
  * <p>These errors are usually caused by a client action. Actions can include using an
80
- * action or resource on behalf of a user that doesn't have permissions to use the action
81
- * or resource or specifying an identifier that is not valid.</p>
80
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
81
+ * the action or resource or specifying an identifier that is not valid.</p>
82
82
  *
83
83
  * @throws {@link InvalidParameterException} (client fault)
84
84
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -23,7 +23,7 @@ export interface ListAddonsCommandOutput extends ListAddonsResponse, __MetadataB
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Lists the available add-ons.</p>
26
+ * <p>Lists the installed add-ons.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -54,8 +54,8 @@ export interface ListAddonsCommandOutput extends ListAddonsResponse, __MetadataB
54
54
  *
55
55
  * @throws {@link ClientException} (client fault)
56
56
  * <p>These errors are usually caused by a client action. Actions can include using an
57
- * action or resource on behalf of a user that doesn't have permissions to use the action
58
- * or resource or specifying an identifier that is not valid.</p>
57
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
58
+ * the action or resource or specifying an identifier that is not valid.</p>
59
59
  *
60
60
  * @throws {@link InvalidParameterException} (client fault)
61
61
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -57,8 +57,8 @@ export interface ListClustersCommandOutput extends ListClustersResponse, __Metad
57
57
  *
58
58
  * @throws {@link ClientException} (client fault)
59
59
  * <p>These errors are usually caused by a client action. Actions can include using an
60
- * action or resource on behalf of a user that doesn't have permissions to use the action
61
- * or resource or specifying an identifier that is not valid.</p>
60
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
61
+ * the action or resource or specifying an identifier that is not valid.</p>
62
62
  *
63
63
  * @throws {@link InvalidParameterException} (client fault)
64
64
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -0,0 +1,115 @@
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 { ListEksAnywhereSubscriptionsRequest, ListEksAnywhereSubscriptionsResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListEksAnywhereSubscriptionsCommand}.
14
+ */
15
+ export interface ListEksAnywhereSubscriptionsCommandInput extends ListEksAnywhereSubscriptionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListEksAnywhereSubscriptionsCommand}.
21
+ */
22
+ export interface ListEksAnywhereSubscriptionsCommandOutput extends ListEksAnywhereSubscriptionsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Displays the full description of the subscription.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { EKSClient, ListEksAnywhereSubscriptionsCommand } from "@aws-sdk/client-eks"; // ES Modules import
31
+ * // const { EKSClient, ListEksAnywhereSubscriptionsCommand } = require("@aws-sdk/client-eks"); // CommonJS import
32
+ * const client = new EKSClient(config);
33
+ * const input = { // ListEksAnywhereSubscriptionsRequest
34
+ * maxResults: Number("int"),
35
+ * nextToken: "STRING_VALUE",
36
+ * includeStatus: [ // EksAnywhereSubscriptionStatusValues
37
+ * "CREATING" || "ACTIVE" || "UPDATING" || "EXPIRING" || "EXPIRED" || "DELETING",
38
+ * ],
39
+ * };
40
+ * const command = new ListEksAnywhereSubscriptionsCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListEksAnywhereSubscriptionsResponse
43
+ * // subscriptions: [ // EksAnywhereSubscriptionList
44
+ * // { // EksAnywhereSubscription
45
+ * // id: "STRING_VALUE",
46
+ * // arn: "STRING_VALUE",
47
+ * // createdAt: new Date("TIMESTAMP"),
48
+ * // effectiveDate: new Date("TIMESTAMP"),
49
+ * // expirationDate: new Date("TIMESTAMP"),
50
+ * // licenseQuantity: Number("int"),
51
+ * // licenseType: "Cluster",
52
+ * // term: { // EksAnywhereSubscriptionTerm
53
+ * // duration: Number("int"),
54
+ * // unit: "MONTHS",
55
+ * // },
56
+ * // status: "STRING_VALUE",
57
+ * // autoRenew: true || false,
58
+ * // licenseArns: [ // StringList
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // tags: { // TagMap
62
+ * // "<keys>": "STRING_VALUE",
63
+ * // },
64
+ * // },
65
+ * // ],
66
+ * // nextToken: "STRING_VALUE",
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param ListEksAnywhereSubscriptionsCommandInput - {@link ListEksAnywhereSubscriptionsCommandInput}
72
+ * @returns {@link ListEksAnywhereSubscriptionsCommandOutput}
73
+ * @see {@link ListEksAnywhereSubscriptionsCommandInput} for command's `input` shape.
74
+ * @see {@link ListEksAnywhereSubscriptionsCommandOutput} for command's `response` shape.
75
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
76
+ *
77
+ * @throws {@link ClientException} (client fault)
78
+ * <p>These errors are usually caused by a client action. Actions can include using an
79
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
80
+ * the action or resource or specifying an identifier that is not valid.</p>
81
+ *
82
+ * @throws {@link InvalidParameterException} (client fault)
83
+ * <p>The specified parameter is invalid. Review the available parameters for the API
84
+ * request.</p>
85
+ *
86
+ * @throws {@link ServerException} (server fault)
87
+ * <p>These errors are usually caused by a server-side issue.</p>
88
+ *
89
+ * @throws {@link ServiceUnavailableException} (server fault)
90
+ * <p>The service is unavailable. Back off and retry the operation.</p>
91
+ *
92
+ * @throws {@link EKSServiceException}
93
+ * <p>Base exception class for all service exceptions from EKS service.</p>
94
+ *
95
+ */
96
+ export declare class ListEksAnywhereSubscriptionsCommand extends $Command<ListEksAnywhereSubscriptionsCommandInput, ListEksAnywhereSubscriptionsCommandOutput, EKSClientResolvedConfig> {
97
+ readonly input: ListEksAnywhereSubscriptionsCommandInput;
98
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
99
+ /**
100
+ * @public
101
+ */
102
+ constructor(input: ListEksAnywhereSubscriptionsCommandInput);
103
+ /**
104
+ * @internal
105
+ */
106
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEksAnywhereSubscriptionsCommandInput, ListEksAnywhereSubscriptionsCommandOutput>;
107
+ /**
108
+ * @internal
109
+ */
110
+ private serialize;
111
+ /**
112
+ * @internal
113
+ */
114
+ private deserialize;
115
+ }
@@ -55,8 +55,8 @@ export interface ListFargateProfilesCommandOutput extends ListFargateProfilesRes
55
55
  *
56
56
  * @throws {@link ClientException} (client fault)
57
57
  * <p>These errors are usually caused by a client action. Actions can include using an
58
- * action or resource on behalf of a user that doesn't have permissions to use the action
59
- * or resource or specifying an identifier that is not valid.</p>
58
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
59
+ * the action or resource or specifying an identifier that is not valid.</p>
60
60
  *
61
61
  * @throws {@link InvalidParameterException} (client fault)
62
62
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -57,8 +57,8 @@ export interface ListIdentityProviderConfigsCommandOutput extends ListIdentityPr
57
57
  *
58
58
  * @throws {@link ClientException} (client fault)
59
59
  * <p>These errors are usually caused by a client action. Actions can include using an
60
- * action or resource on behalf of a user that doesn't have permissions to use the action
61
- * or resource or specifying an identifier that is not valid.</p>
60
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
61
+ * the action or resource or specifying an identifier that is not valid.</p>
62
62
  *
63
63
  * @throws {@link InvalidParameterException} (client fault)
64
64
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -56,8 +56,8 @@ export interface ListNodegroupsCommandOutput extends ListNodegroupsResponse, __M
56
56
  *
57
57
  * @throws {@link ClientException} (client fault)
58
58
  * <p>These errors are usually caused by a client action. Actions can include using an
59
- * action or resource on behalf of a user that doesn't have permissions to use the action
60
- * or resource or specifying an identifier that is not valid.</p>
59
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
60
+ * the action or resource or specifying an identifier that is not valid.</p>
61
61
  *
62
62
  * @throws {@link InvalidParameterException} (client fault)
63
63
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -57,8 +57,8 @@ export interface ListUpdatesCommandOutput extends ListUpdatesResponse, __Metadat
57
57
  *
58
58
  * @throws {@link ClientException} (client fault)
59
59
  * <p>These errors are usually caused by a client action. Actions can include using an
60
- * action or resource on behalf of a user that doesn't have permissions to use the action
61
- * or resource or specifying an identifier that is not valid.</p>
60
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
61
+ * the action or resource or specifying an identifier that is not valid.</p>
62
62
  *
63
63
  * @throws {@link InvalidParameterException} (client fault)
64
64
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -24,15 +24,15 @@ export interface RegisterClusterCommandOutput extends RegisterClusterResponse, _
24
24
  /**
25
25
  * @public
26
26
  * <p>Connects a Kubernetes cluster to the Amazon EKS control plane. </p>
27
- * <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to
28
- * view current information about the cluster and its nodes. </p>
27
+ * <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to view
28
+ * current information about the cluster and its nodes. </p>
29
29
  * <p>Cluster connection requires two steps. First, send a <code>
30
30
  * <a>RegisterClusterRequest</a>
31
31
  * </code> to add it to the Amazon EKS
32
32
  * control plane.</p>
33
33
  * <p>Second, a <a href="https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml">Manifest</a> containing the <code>activationID</code> and
34
- * <code>activationCode</code> must be applied to the Kubernetes cluster through it's
35
- * native provider to provide visibility.</p>
34
+ * <code>activationCode</code> must be applied to the Kubernetes cluster through it's native
35
+ * provider to provide visibility.</p>
36
36
  * <p>After the Manifest is updated and applied, then the connected cluster is visible to
37
37
  * the Amazon EKS control plane. If the Manifest is not applied within three days,
38
38
  * then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>
@@ -153,15 +153,16 @@ export interface RegisterClusterCommandOutput extends RegisterClusterResponse, _
153
153
  * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
154
154
  *
155
155
  * @throws {@link AccessDeniedException} (client fault)
156
- * <p>You don't have permissions to perform the requested operation. The user or role that
157
- * is making the request must have at least one IAM permissions policy
158
- * attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access
159
- * Management</a> in the <i>IAM User Guide</i>. </p>
156
+ * <p>You don't have permissions to perform the requested operation. The <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a>
157
+ * making the request must have at least one IAM permissions policy attached
158
+ * that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access
159
+ * management</a> in the <i>IAM User Guide</i>.
160
+ * </p>
160
161
  *
161
162
  * @throws {@link ClientException} (client fault)
162
163
  * <p>These errors are usually caused by a client action. Actions can include using an
163
- * action or resource on behalf of a user that doesn't have permissions to use the action
164
- * or resource or specifying an identifier that is not valid.</p>
164
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
165
+ * the action or resource or specifying an identifier that is not valid.</p>
165
166
  *
166
167
  * @throws {@link InvalidParameterException} (client fault)
167
168
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -75,8 +75,8 @@ export interface UpdateAddonCommandOutput extends UpdateAddonResponse, __Metadat
75
75
  *
76
76
  * @throws {@link ClientException} (client fault)
77
77
  * <p>These errors are usually caused by a client action. Actions can include using an
78
- * action or resource on behalf of a user that doesn't have permissions to use the action
79
- * or resource or specifying an identifier that is not valid.</p>
78
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
79
+ * the action or resource or specifying an identifier that is not valid.</p>
80
80
  *
81
81
  * @throws {@link InvalidParameterException} (client fault)
82
82
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -27,9 +27,9 @@ export interface UpdateClusterConfigCommandOutput extends UpdateClusterConfigRes
27
27
  * function during the update. The response output includes an update ID that you can use
28
28
  * to track the status of your cluster update with the <a>DescribeUpdate</a> API
29
29
  * operation.</p>
30
- * <p>You can use this API operation to enable or disable exporting the Kubernetes control
31
- * plane logs for your cluster to CloudWatch Logs. By default, cluster control plane
32
- * logs aren't exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS Cluster Control Plane Logs</a> in the
30
+ * <p>You can use this API operation to enable or disable exporting the Kubernetes control plane
31
+ * logs for your cluster to CloudWatch Logs. By default, cluster control plane logs
32
+ * aren't exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS Cluster Control Plane Logs</a> in the
33
33
  * <i>
34
34
  * <i>Amazon EKS User Guide</i>
35
35
  * </i>.</p>
@@ -120,8 +120,8 @@ export interface UpdateClusterConfigCommandOutput extends UpdateClusterConfigRes
120
120
  *
121
121
  * @throws {@link ClientException} (client fault)
122
122
  * <p>These errors are usually caused by a client action. Actions can include using an
123
- * action or resource on behalf of a user that doesn't have permissions to use the action
124
- * or resource or specifying an identifier that is not valid.</p>
123
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
124
+ * the action or resource or specifying an identifier that is not valid.</p>
125
125
  *
126
126
  * @throws {@link InvalidParameterException} (client fault)
127
127
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -23,16 +23,16 @@ export interface UpdateClusterVersionCommandOutput extends UpdateClusterVersionR
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your
27
- * cluster continues to function during the update. The response output includes an update
28
- * ID that you can use to track the status of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
26
+ * <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster
27
+ * continues to function during the update. The response output includes an update ID that
28
+ * you can use to track the status of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
29
29
  * <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
30
30
  * an update, the cluster status moves to <code>UPDATING</code> (this status transition is
31
31
  * eventually consistent). When the update is complete (either <code>Failed</code> or
32
32
  * <code>Successful</code>), the cluster status moves to <code>Active</code>.</p>
33
- * <p>If your cluster has managed node groups attached to it, all of your node groups’
34
- * Kubernetes versions must match the cluster’s Kubernetes version in order to update the
35
- * cluster to a new Kubernetes version.</p>
33
+ * <p>If your cluster has managed node groups attached to it, all of your node groups’ Kubernetes
34
+ * versions must match the cluster’s Kubernetes version in order to update the cluster to a new
35
+ * Kubernetes version.</p>
36
36
  * @example
37
37
  * Use a bare-bones client and the command you need to make an API call.
38
38
  * ```javascript
@@ -80,8 +80,8 @@ export interface UpdateClusterVersionCommandOutput extends UpdateClusterVersionR
80
80
  *
81
81
  * @throws {@link ClientException} (client fault)
82
82
  * <p>These errors are usually caused by a client action. Actions can include using an
83
- * action or resource on behalf of a user that doesn't have permissions to use the action
84
- * or resource or specifying an identifier that is not valid.</p>
83
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
84
+ * the action or resource or specifying an identifier that is not valid.</p>
85
85
  *
86
86
  * @throws {@link InvalidParameterException} (client fault)
87
87
  * <p>The specified parameter is invalid. Review the available parameters for the API
@@ -0,0 +1,118 @@
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 { UpdateEksAnywhereSubscriptionRequest, UpdateEksAnywhereSubscriptionResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateEksAnywhereSubscriptionCommand}.
14
+ */
15
+ export interface UpdateEksAnywhereSubscriptionCommandInput extends UpdateEksAnywhereSubscriptionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateEksAnywhereSubscriptionCommand}.
21
+ */
22
+ export interface UpdateEksAnywhereSubscriptionCommandOutput extends UpdateEksAnywhereSubscriptionResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Update an EKS Anywhere Subscription. Only auto renewal and tags can be updated after
27
+ * subscription creation.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EKSClient, UpdateEksAnywhereSubscriptionCommand } from "@aws-sdk/client-eks"; // ES Modules import
32
+ * // const { EKSClient, UpdateEksAnywhereSubscriptionCommand } = require("@aws-sdk/client-eks"); // CommonJS import
33
+ * const client = new EKSClient(config);
34
+ * const input = { // UpdateEksAnywhereSubscriptionRequest
35
+ * id: "STRING_VALUE", // required
36
+ * autoRenew: true || false, // required
37
+ * clientRequestToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new UpdateEksAnywhereSubscriptionCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // UpdateEksAnywhereSubscriptionResponse
42
+ * // subscription: { // EksAnywhereSubscription
43
+ * // id: "STRING_VALUE",
44
+ * // arn: "STRING_VALUE",
45
+ * // createdAt: new Date("TIMESTAMP"),
46
+ * // effectiveDate: new Date("TIMESTAMP"),
47
+ * // expirationDate: new Date("TIMESTAMP"),
48
+ * // licenseQuantity: Number("int"),
49
+ * // licenseType: "Cluster",
50
+ * // term: { // EksAnywhereSubscriptionTerm
51
+ * // duration: Number("int"),
52
+ * // unit: "MONTHS",
53
+ * // },
54
+ * // status: "STRING_VALUE",
55
+ * // autoRenew: true || false,
56
+ * // licenseArns: [ // StringList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // tags: { // TagMap
60
+ * // "<keys>": "STRING_VALUE",
61
+ * // },
62
+ * // },
63
+ * // };
64
+ *
65
+ * ```
66
+ *
67
+ * @param UpdateEksAnywhereSubscriptionCommandInput - {@link UpdateEksAnywhereSubscriptionCommandInput}
68
+ * @returns {@link UpdateEksAnywhereSubscriptionCommandOutput}
69
+ * @see {@link UpdateEksAnywhereSubscriptionCommandInput} for command's `input` shape.
70
+ * @see {@link UpdateEksAnywhereSubscriptionCommandOutput} for command's `response` shape.
71
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
72
+ *
73
+ * @throws {@link ClientException} (client fault)
74
+ * <p>These errors are usually caused by a client action. Actions can include using an
75
+ * action or resource on behalf of an <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principal</a> that doesn't have permissions to use
76
+ * the action or resource or specifying an identifier that is not valid.</p>
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
+ * <a>ListClusters</a>. You can view your available managed node groups with
89
+ * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
90
+ * Region-specific.</p>
91
+ *
92
+ * @throws {@link ServerException} (server fault)
93
+ * <p>These errors are usually caused by a server-side issue.</p>
94
+ *
95
+ * @throws {@link EKSServiceException}
96
+ * <p>Base exception class for all service exceptions from EKS service.</p>
97
+ *
98
+ */
99
+ export declare class UpdateEksAnywhereSubscriptionCommand extends $Command<UpdateEksAnywhereSubscriptionCommandInput, UpdateEksAnywhereSubscriptionCommandOutput, EKSClientResolvedConfig> {
100
+ readonly input: UpdateEksAnywhereSubscriptionCommandInput;
101
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
102
+ /**
103
+ * @public
104
+ */
105
+ constructor(input: UpdateEksAnywhereSubscriptionCommandInput);
106
+ /**
107
+ * @internal
108
+ */
109
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEksAnywhereSubscriptionCommandInput, UpdateEksAnywhereSubscriptionCommandOutput>;
110
+ /**
111
+ * @internal
112
+ */
113
+ private serialize;
114
+ /**
115
+ * @internal
116
+ */
117
+ private deserialize;
118
+ }