@aws-sdk/client-eks 3.474.0 → 3.477.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 (115) hide show
  1. package/README.md +75 -3
  2. package/dist-cjs/EKS.js +18 -0
  3. package/dist-cjs/commands/AssociateAccessPolicyCommand.js +51 -0
  4. package/dist-cjs/commands/CreateAccessEntryCommand.js +51 -0
  5. package/dist-cjs/commands/DeleteAccessEntryCommand.js +51 -0
  6. package/dist-cjs/commands/DescribeAccessEntryCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateAccessPolicyCommand.js +51 -0
  8. package/dist-cjs/commands/ListAccessEntriesCommand.js +51 -0
  9. package/dist-cjs/commands/ListAccessPoliciesCommand.js +51 -0
  10. package/dist-cjs/commands/ListAssociatedAccessPoliciesCommand.js +51 -0
  11. package/dist-cjs/commands/UpdateAccessEntryCommand.js +51 -0
  12. package/dist-cjs/commands/index.js +9 -0
  13. package/dist-cjs/models/models_0.js +87 -76
  14. package/dist-cjs/pagination/ListAccessEntriesPaginator.js +29 -0
  15. package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +29 -0
  16. package/dist-cjs/pagination/ListAssociatedAccessPoliciesPaginator.js +29 -0
  17. package/dist-cjs/pagination/index.js +3 -0
  18. package/dist-cjs/protocols/Aws_restJson1.js +828 -554
  19. package/dist-es/EKS.js +18 -0
  20. package/dist-es/commands/AssociateAccessPolicyCommand.js +47 -0
  21. package/dist-es/commands/CreateAccessEntryCommand.js +47 -0
  22. package/dist-es/commands/DeleteAccessEntryCommand.js +47 -0
  23. package/dist-es/commands/DescribeAccessEntryCommand.js +47 -0
  24. package/dist-es/commands/DisassociateAccessPolicyCommand.js +47 -0
  25. package/dist-es/commands/ListAccessEntriesCommand.js +47 -0
  26. package/dist-es/commands/ListAccessPoliciesCommand.js +47 -0
  27. package/dist-es/commands/ListAssociatedAccessPoliciesCommand.js +47 -0
  28. package/dist-es/commands/UpdateAccessEntryCommand.js +47 -0
  29. package/dist-es/commands/index.js +9 -0
  30. package/dist-es/models/models_0.js +81 -70
  31. package/dist-es/pagination/ListAccessEntriesPaginator.js +25 -0
  32. package/dist-es/pagination/ListAccessPoliciesPaginator.js +25 -0
  33. package/dist-es/pagination/ListAssociatedAccessPoliciesPaginator.js +25 -0
  34. package/dist-es/pagination/index.js +3 -0
  35. package/dist-es/protocols/Aws_restJson1.js +803 -548
  36. package/dist-types/EKS.d.ts +66 -3
  37. package/dist-types/EKSClient.d.ts +14 -5
  38. package/dist-types/commands/AssociateAccessPolicyCommand.d.ts +111 -0
  39. package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +8 -9
  40. package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +9 -10
  41. package/dist-types/commands/CreateAccessEntryCommand.d.ts +131 -0
  42. package/dist-types/commands/CreateAddonCommand.d.ts +2 -3
  43. package/dist-types/commands/CreateClusterCommand.d.ts +9 -1
  44. package/dist-types/commands/CreateFargateProfileCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateNodegroupCommand.d.ts +8 -5
  46. package/dist-types/commands/CreatePodIdentityAssociationCommand.d.ts +3 -4
  47. package/dist-types/commands/DeleteAccessEntryCommand.d.ts +87 -0
  48. package/dist-types/commands/DeleteAddonCommand.d.ts +5 -6
  49. package/dist-types/commands/DeleteClusterCommand.d.ts +10 -6
  50. package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +2 -3
  51. package/dist-types/commands/DeleteFargateProfileCommand.d.ts +8 -7
  52. package/dist-types/commands/DeleteNodegroupCommand.d.ts +3 -4
  53. package/dist-types/commands/DeletePodIdentityAssociationCommand.d.ts +2 -3
  54. package/dist-types/commands/DeregisterClusterCommand.d.ts +8 -3
  55. package/dist-types/commands/DescribeAccessEntryCommand.d.ts +100 -0
  56. package/dist-types/commands/DescribeAddonCommand.d.ts +2 -3
  57. package/dist-types/commands/DescribeAddonConfigurationCommand.d.ts +2 -3
  58. package/dist-types/commands/DescribeAddonVersionsCommand.d.ts +6 -6
  59. package/dist-types/commands/DescribeClusterCommand.d.ts +10 -6
  60. package/dist-types/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +2 -3
  61. package/dist-types/commands/DescribeFargateProfileCommand.d.ts +3 -4
  62. package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +3 -4
  63. package/dist-types/commands/DescribeNodegroupCommand.d.ts +3 -4
  64. package/dist-types/commands/DescribePodIdentityAssociationCommand.d.ts +2 -3
  65. package/dist-types/commands/DescribeUpdateCommand.d.ts +5 -7
  66. package/dist-types/commands/DisassociateAccessPolicyCommand.d.ts +85 -0
  67. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +8 -9
  68. package/dist-types/commands/ListAccessEntriesCommand.d.ts +95 -0
  69. package/dist-types/commands/ListAccessPoliciesCommand.d.ts +83 -0
  70. package/dist-types/commands/ListAddonsCommand.d.ts +2 -3
  71. package/dist-types/commands/ListAssociatedAccessPoliciesCommand.d.ts +103 -0
  72. package/dist-types/commands/ListClustersCommand.d.ts +1 -1
  73. package/dist-types/commands/ListFargateProfilesCommand.d.ts +3 -4
  74. package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +3 -4
  75. package/dist-types/commands/ListNodegroupsCommand.d.ts +4 -6
  76. package/dist-types/commands/ListPodIdentityAssociationsCommand.d.ts +2 -3
  77. package/dist-types/commands/ListUpdatesCommand.d.ts +3 -5
  78. package/dist-types/commands/RegisterClusterCommand.d.ts +8 -3
  79. package/dist-types/commands/TagResourceCommand.d.ts +6 -5
  80. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  81. package/dist-types/commands/UpdateAccessEntryCommand.d.ts +109 -0
  82. package/dist-types/commands/UpdateAddonCommand.d.ts +4 -5
  83. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +9 -8
  84. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +4 -5
  85. package/dist-types/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +2 -3
  86. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +4 -5
  87. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +8 -9
  88. package/dist-types/commands/UpdatePodIdentityAssociationCommand.d.ts +3 -4
  89. package/dist-types/commands/index.d.ts +9 -0
  90. package/dist-types/index.d.ts +3 -3
  91. package/dist-types/models/models_0.d.ts +1256 -556
  92. package/dist-types/pagination/ListAccessEntriesPaginator.d.ts +7 -0
  93. package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +7 -0
  94. package/dist-types/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +7 -0
  95. package/dist-types/pagination/index.d.ts +3 -0
  96. package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
  97. package/dist-types/ts3.4/EKS.d.ts +153 -0
  98. package/dist-types/ts3.4/EKSClient.d.ts +54 -0
  99. package/dist-types/ts3.4/commands/AssociateAccessPolicyCommand.d.ts +42 -0
  100. package/dist-types/ts3.4/commands/CreateAccessEntryCommand.d.ts +39 -0
  101. package/dist-types/ts3.4/commands/DeleteAccessEntryCommand.d.ts +39 -0
  102. package/dist-types/ts3.4/commands/DescribeAccessEntryCommand.d.ts +39 -0
  103. package/dist-types/ts3.4/commands/DisassociateAccessPolicyCommand.d.ts +42 -0
  104. package/dist-types/ts3.4/commands/ListAccessEntriesCommand.d.ts +39 -0
  105. package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +39 -0
  106. package/dist-types/ts3.4/commands/ListAssociatedAccessPoliciesCommand.d.ts +42 -0
  107. package/dist-types/ts3.4/commands/UpdateAccessEntryCommand.d.ts +39 -0
  108. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  109. package/dist-types/ts3.4/models/models_0.d.ts +189 -54
  110. package/dist-types/ts3.4/pagination/ListAccessEntriesPaginator.d.ts +11 -0
  111. package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +11 -0
  113. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  114. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
  115. package/package.json +5 -4
@@ -23,7 +23,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Creates an Amazon EKS control plane. </p>
26
+ * <p>Creates an Amazon EKS control plane.</p>
27
27
  * <p>The Amazon EKS control plane consists of control plane instances that run the
28
28
  * Kubernetes software, such as <code>etcd</code> and the API server. The control plane runs in
29
29
  * an account managed by Amazon Web Services, and the Kubernetes API is exposed by the Amazon EKS API server endpoint. Each Amazon EKS cluster control plane is
@@ -121,6 +121,10 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
121
121
  * groupName: "STRING_VALUE",
122
122
  * },
123
123
  * },
124
+ * accessConfig: { // CreateAccessConfigRequest
125
+ * bootstrapClusterCreatorAdminPermissions: true || false,
126
+ * authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
127
+ * },
124
128
  * };
125
129
  * const command = new CreateClusterCommand(input);
126
130
  * const response = await client.send(command);
@@ -210,6 +214,10 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
210
214
  * // groupName: "STRING_VALUE",
211
215
  * // },
212
216
  * // },
217
+ * // accessConfig: { // AccessConfigResponse
218
+ * // bootstrapClusterCreatorAdminPermissions: true || false,
219
+ * // authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
220
+ * // },
213
221
  * // },
214
222
  * // };
215
223
  *
@@ -48,7 +48,7 @@ export interface CreateFargateProfileCommandOutput extends CreateFargateProfileR
48
48
  * <p>If any Fargate profiles in a cluster are in the <code>DELETING</code>
49
49
  * status, you must wait for that Fargate profile to finish deleting before
50
50
  * you can create any other profiles in that cluster.</p>
51
- * <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html">Fargate Profile</a> in the
51
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html">Fargate profile</a> in the
52
52
  * <i>Amazon EKS User Guide</i>.</p>
53
53
  * @example
54
54
  * Use a bare-bones client and the command you need to make an API call.
@@ -23,16 +23,19 @@ export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, _
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Creates a managed node group for an Amazon EKS cluster. You can only create a
27
- * node group for your cluster that is equal to the current Kubernetes version for the
28
- * cluster.</p>
26
+ * <p>Creates a managed node group for an Amazon EKS cluster.</p>
27
+ * <p>You can only create a node group for your cluster that is equal to the current Kubernetes
28
+ * version for the cluster. All node groups are created with the latest AMI release version
29
+ * for the respective minor Kubernetes version of the cluster, unless you deploy a custom AMI
30
+ * using a launch template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
31
+ * template support</a>.</p>
29
32
  * <p>An Amazon EKS managed node group is an Amazon EC2
30
33
  * Auto Scaling group and associated Amazon EC2 instances that are managed by
31
34
  * Amazon Web Services for an Amazon EKS cluster. For more information, see
32
35
  * <a href="https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html">Managed node groups</a> in the <i>Amazon EKS User Guide</i>.</p>
33
36
  * <note>
34
- * <p>Windows AMI types are only supported for commercial Regions that support Windows
35
- * Amazon EKS.</p>
37
+ * <p>Windows AMI types are only supported for commercial Amazon Web Services Regions
38
+ * that support Windows on Amazon EKS.</p>
36
39
  * </note>
37
40
  * @example
38
41
  * Use a bare-bones client and the command you need to make an API call.
@@ -26,7 +26,7 @@ export interface CreatePodIdentityAssociationCommandOutput extends CreatePodIden
26
26
  * <p>Creates an EKS Pod Identity association between a service account in an Amazon EKS cluster and an IAM role
27
27
  * with <i>EKS Pod Identity</i>. Use EKS Pod Identity to give temporary IAM credentials to
28
28
  * pods and the credentials are rotated automatically.</p>
29
- * <p>Amazon EKS Pod Identity associations provide the ability to manage credentials for your applications, similar to the way that 7EC2l instance profiles provide credentials to Amazon EC2 instances.</p>
29
+ * <p>Amazon EKS Pod Identity associations provide the ability to manage credentials for your applications, similar to the way that Amazon EC2 instance profiles provide credentials to Amazon EC2 instances.</p>
30
30
  * <p>If a pod uses a service account that has an association, Amazon EKS sets environment variables
31
31
  * in the containers of the pod. The environment variables configure the Amazon Web Services SDKs,
32
32
  * including the Command Line Interface, to use the EKS Pod Identity credentials.</p>
@@ -92,9 +92,8 @@ export interface CreatePodIdentityAssociationCommandOutput extends CreatePodIden
92
92
  *
93
93
  * @throws {@link ResourceNotFoundException} (client fault)
94
94
  * <p>The specified resource could not be found. You can view your available clusters with
95
- * <a>ListClusters</a>. You can view your available managed node groups with
96
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
97
- * Region-specific.</p>
95
+ * <code>ListClusters</code>. You can view your available managed node groups with
96
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
98
97
  *
99
98
  * @throws {@link ServerException} (server fault)
100
99
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -0,0 +1,87 @@
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 { DeleteAccessEntryRequest, DeleteAccessEntryResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteAccessEntryCommand}.
14
+ */
15
+ export interface DeleteAccessEntryCommandInput extends DeleteAccessEntryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteAccessEntryCommand}.
21
+ */
22
+ export interface DeleteAccessEntryCommandOutput extends DeleteAccessEntryResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Deletes an access entry.</p>
27
+ * <p>Deleting an access entry of a type other than <code>Standard</code> can cause your
28
+ * cluster to function improperly. If you delete an access entry in error, you can recreate
29
+ * it.</p>
30
+ * @example
31
+ * Use a bare-bones client and the command you need to make an API call.
32
+ * ```javascript
33
+ * import { EKSClient, DeleteAccessEntryCommand } from "@aws-sdk/client-eks"; // ES Modules import
34
+ * // const { EKSClient, DeleteAccessEntryCommand } = require("@aws-sdk/client-eks"); // CommonJS import
35
+ * const client = new EKSClient(config);
36
+ * const input = { // DeleteAccessEntryRequest
37
+ * clusterName: "STRING_VALUE", // required
38
+ * principalArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new DeleteAccessEntryCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param DeleteAccessEntryCommandInput - {@link DeleteAccessEntryCommandInput}
47
+ * @returns {@link DeleteAccessEntryCommandOutput}
48
+ * @see {@link DeleteAccessEntryCommandInput} for command's `input` shape.
49
+ * @see {@link DeleteAccessEntryCommandOutput} for command's `response` shape.
50
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
51
+ *
52
+ * @throws {@link InvalidRequestException} (client fault)
53
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
54
+ * and the associated operations.</p>
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>The specified resource could not be found. You can view your available clusters with
58
+ * <code>ListClusters</code>. You can view your available managed node groups with
59
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
60
+ *
61
+ * @throws {@link ServerException} (server fault)
62
+ * <p>These errors are usually caused by a server-side issue.</p>
63
+ *
64
+ * @throws {@link EKSServiceException}
65
+ * <p>Base exception class for all service exceptions from EKS service.</p>
66
+ *
67
+ */
68
+ export declare class DeleteAccessEntryCommand extends $Command<DeleteAccessEntryCommandInput, DeleteAccessEntryCommandOutput, EKSClientResolvedConfig> {
69
+ readonly input: DeleteAccessEntryCommandInput;
70
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
71
+ /**
72
+ * @public
73
+ */
74
+ constructor(input: DeleteAccessEntryCommandInput);
75
+ /**
76
+ * @internal
77
+ */
78
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAccessEntryCommandInput, DeleteAccessEntryCommandOutput>;
79
+ /**
80
+ * @internal
81
+ */
82
+ private serialize;
83
+ /**
84
+ * @internal
85
+ */
86
+ private deserialize;
87
+ }
@@ -23,9 +23,9 @@ export interface DeleteAddonCommandOutput extends DeleteAddonResponse, __Metadat
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Delete an Amazon EKS add-on.</p>
27
- * <p>When you remove the add-on, it will also be deleted from the cluster. You can always
28
- * manually start an add-on on the cluster using the Kubernetes API.</p>
26
+ * <p>Deletes an Amazon EKS add-on.</p>
27
+ * <p>When you remove an add-on, it's deleted from the cluster. You can always manually
28
+ * start an add-on on the cluster using the Kubernetes API.</p>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
31
31
  * ```javascript
@@ -96,9 +96,8 @@ export interface DeleteAddonCommandOutput extends DeleteAddonResponse, __Metadat
96
96
  *
97
97
  * @throws {@link ResourceNotFoundException} (client fault)
98
98
  * <p>The specified resource could not be found. You can view your available clusters with
99
- * <a>ListClusters</a>. You can view your available managed node groups with
100
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
101
- * Region-specific.</p>
99
+ * <code>ListClusters</code>. You can view your available managed node groups with
100
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
102
101
  *
103
102
  * @throws {@link ServerException} (server fault)
104
103
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -23,14 +23,15 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes the Amazon EKS cluster control plane.</p>
26
+ * <p>Deletes an Amazon EKS cluster control plane.</p>
27
27
  * <p>If you have active services in your cluster that are associated with a load balancer,
28
28
  * you must delete those services before deleting the cluster so that the load balancers
29
29
  * are deleted properly. Otherwise, you can have orphaned resources in your VPC that
30
30
  * prevent you from being able to delete the VPC. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html">Deleting a
31
- * Cluster</a> in the <i>Amazon EKS User Guide</i>.</p>
31
+ * cluster</a> in the <i>Amazon EKS User Guide</i>.</p>
32
32
  * <p>If you have managed node groups or Fargate profiles attached to the
33
- * cluster, you must delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
33
+ * cluster, you must delete them first. For more information, see
34
+ * <code>DeleteNodgroup</code> and <code>DeleteFargateProfile</code>.</p>
34
35
  * @example
35
36
  * Use a bare-bones client and the command you need to make an API call.
36
37
  * ```javascript
@@ -128,6 +129,10 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
128
129
  * // groupName: "STRING_VALUE",
129
130
  * // },
130
131
  * // },
132
+ * // accessConfig: { // AccessConfigResponse
133
+ * // bootstrapClusterCreatorAdminPermissions: true || false,
134
+ * // authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
135
+ * // },
131
136
  * // },
132
137
  * // };
133
138
  *
@@ -149,9 +154,8 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
149
154
  *
150
155
  * @throws {@link ResourceNotFoundException} (client fault)
151
156
  * <p>The specified resource could not be found. You can view your available clusters with
152
- * <a>ListClusters</a>. You can view your available managed node groups with
153
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
154
- * Region-specific.</p>
157
+ * <code>ListClusters</code>. You can view your available managed node groups with
158
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
155
159
  *
156
160
  * @throws {@link ServerException} (server fault)
157
161
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -81,9 +81,8 @@ export interface DeleteEksAnywhereSubscriptionCommandOutput extends DeleteEksAny
81
81
  *
82
82
  * @throws {@link ResourceNotFoundException} (client fault)
83
83
  * <p>The specified resource could not be found. You can view your available clusters with
84
- * <a>ListClusters</a>. You can view your available managed node groups with
85
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
86
- * Region-specific.</p>
84
+ * <code>ListClusters</code>. You can view your available managed node groups with
85
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
87
86
  *
88
87
  * @throws {@link ServerException} (server fault)
89
88
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -24,10 +24,12 @@ export interface DeleteFargateProfileCommandOutput extends DeleteFargateProfileR
24
24
  /**
25
25
  * @public
26
26
  * <p>Deletes an Fargate profile.</p>
27
- * <p>When you delete a Fargate profile, any pods running on Fargate that were created with the profile are deleted. If those pods match
28
- * another Fargate profile, then they are scheduled on Fargate with that profile. If they no longer match any Fargate profiles, then
29
- * they are not scheduled on Fargate and they may remain in a pending
30
- * state.</p>
27
+ * <p>When you delete a Fargate profile, any <code>Pod</code> running on
28
+ * Fargate that was created with the profile is deleted. If the
29
+ * <code>Pod</code> matches another Fargate profile, then it is
30
+ * scheduled on Fargate with that profile. If it no longer matches any
31
+ * Fargate profiles, then it's not scheduled on Fargate
32
+ * and may remain in a pending state.</p>
31
33
  * <p>Only one Fargate profile in a cluster can be in the
32
34
  * <code>DELETING</code> status at a time. You must wait for a Fargate
33
35
  * profile to finish deleting before you can delete any other profiles in that
@@ -88,9 +90,8 @@ export interface DeleteFargateProfileCommandOutput extends DeleteFargateProfileR
88
90
  *
89
91
  * @throws {@link ResourceNotFoundException} (client fault)
90
92
  * <p>The specified resource could not be found. You can view your available clusters with
91
- * <a>ListClusters</a>. You can view your available managed node groups with
92
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
93
- * Region-specific.</p>
93
+ * <code>ListClusters</code>. You can view your available managed node groups with
94
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
94
95
  *
95
96
  * @throws {@link ServerException} (server fault)
96
97
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -23,7 +23,7 @@ export interface DeleteNodegroupCommandOutput extends DeleteNodegroupResponse, _
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Deletes an Amazon EKS node group for a cluster.</p>
26
+ * <p>Deletes a managed node group.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -131,9 +131,8 @@ export interface DeleteNodegroupCommandOutput extends DeleteNodegroupResponse, _
131
131
  *
132
132
  * @throws {@link ResourceNotFoundException} (client fault)
133
133
  * <p>The specified resource could not be found. You can view your available clusters with
134
- * <a>ListClusters</a>. You can view your available managed node groups with
135
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
136
- * Region-specific.</p>
134
+ * <code>ListClusters</code>. You can view your available managed node groups with
135
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
137
136
  *
138
137
  * @throws {@link ServerException} (server fault)
139
138
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -71,9 +71,8 @@ export interface DeletePodIdentityAssociationCommandOutput extends DeletePodIden
71
71
  *
72
72
  * @throws {@link ResourceNotFoundException} (client fault)
73
73
  * <p>The specified resource could not be found. You can view your available clusters with
74
- * <a>ListClusters</a>. You can view your available managed node groups with
75
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
76
- * Region-specific.</p>
74
+ * <code>ListClusters</code>. You can view your available managed node groups with
75
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
77
76
  *
78
77
  * @throws {@link ServerException} (server fault)
79
78
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -25,6 +25,8 @@ export interface DeregisterClusterCommandOutput extends DeregisterClusterRespons
25
25
  * @public
26
26
  * <p>Deregisters a connected cluster to remove it from the Amazon EKS control
27
27
  * plane.</p>
28
+ * <p>A connected cluster is a Kubernetes cluster that you've connected to your control plane
29
+ * using the <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-connector.html">Amazon EKS Connector</a>.</p>
28
30
  * @example
29
31
  * Use a bare-bones client and the command you need to make an API call.
30
32
  * ```javascript
@@ -122,6 +124,10 @@ export interface DeregisterClusterCommandOutput extends DeregisterClusterRespons
122
124
  * // groupName: "STRING_VALUE",
123
125
  * // },
124
126
  * // },
127
+ * // accessConfig: { // AccessConfigResponse
128
+ * // bootstrapClusterCreatorAdminPermissions: true || false,
129
+ * // authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
130
+ * // },
125
131
  * // },
126
132
  * // };
127
133
  *
@@ -150,9 +156,8 @@ export interface DeregisterClusterCommandOutput extends DeregisterClusterRespons
150
156
  *
151
157
  * @throws {@link ResourceNotFoundException} (client fault)
152
158
  * <p>The specified resource could not be found. You can view your available clusters with
153
- * <a>ListClusters</a>. You can view your available managed node groups with
154
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
155
- * Region-specific.</p>
159
+ * <code>ListClusters</code>. You can view your available managed node groups with
160
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
156
161
  *
157
162
  * @throws {@link ServerException} (server fault)
158
163
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -0,0 +1,100 @@
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 { DescribeAccessEntryRequest, DescribeAccessEntryResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeAccessEntryCommand}.
14
+ */
15
+ export interface DescribeAccessEntryCommandInput extends DescribeAccessEntryRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeAccessEntryCommand}.
21
+ */
22
+ export interface DescribeAccessEntryCommandOutput extends DescribeAccessEntryResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Describes an access entry.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { EKSClient, DescribeAccessEntryCommand } from "@aws-sdk/client-eks"; // ES Modules import
31
+ * // const { EKSClient, DescribeAccessEntryCommand } = require("@aws-sdk/client-eks"); // CommonJS import
32
+ * const client = new EKSClient(config);
33
+ * const input = { // DescribeAccessEntryRequest
34
+ * clusterName: "STRING_VALUE", // required
35
+ * principalArn: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new DescribeAccessEntryCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // DescribeAccessEntryResponse
40
+ * // accessEntry: { // AccessEntry
41
+ * // clusterName: "STRING_VALUE",
42
+ * // principalArn: "STRING_VALUE",
43
+ * // kubernetesGroups: [ // StringList
44
+ * // "STRING_VALUE",
45
+ * // ],
46
+ * // accessEntryArn: "STRING_VALUE",
47
+ * // createdAt: new Date("TIMESTAMP"),
48
+ * // modifiedAt: new Date("TIMESTAMP"),
49
+ * // tags: { // TagMap
50
+ * // "<keys>": "STRING_VALUE",
51
+ * // },
52
+ * // username: "STRING_VALUE",
53
+ * // type: "STRING_VALUE",
54
+ * // },
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param DescribeAccessEntryCommandInput - {@link DescribeAccessEntryCommandInput}
60
+ * @returns {@link DescribeAccessEntryCommandOutput}
61
+ * @see {@link DescribeAccessEntryCommandInput} for command's `input` shape.
62
+ * @see {@link DescribeAccessEntryCommandOutput} for command's `response` shape.
63
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
64
+ *
65
+ * @throws {@link InvalidRequestException} (client fault)
66
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
67
+ * and the associated operations.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The specified resource could not be found. You can view your available clusters with
71
+ * <code>ListClusters</code>. You can view your available managed node groups with
72
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
73
+ *
74
+ * @throws {@link ServerException} (server fault)
75
+ * <p>These errors are usually caused by a server-side issue.</p>
76
+ *
77
+ * @throws {@link EKSServiceException}
78
+ * <p>Base exception class for all service exceptions from EKS service.</p>
79
+ *
80
+ */
81
+ export declare class DescribeAccessEntryCommand extends $Command<DescribeAccessEntryCommandInput, DescribeAccessEntryCommandOutput, EKSClientResolvedConfig> {
82
+ readonly input: DescribeAccessEntryCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: DescribeAccessEntryCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAccessEntryCommandInput, DescribeAccessEntryCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -93,9 +93,8 @@ export interface DescribeAddonCommandOutput extends DescribeAddonResponse, __Met
93
93
  *
94
94
  * @throws {@link ResourceNotFoundException} (client fault)
95
95
  * <p>The specified resource could not be found. You can view your available clusters with
96
- * <a>ListClusters</a>. You can view your available managed node groups with
97
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
98
- * Region-specific.</p>
96
+ * <code>ListClusters</code>. You can view your available managed node groups with
97
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
99
98
  *
100
99
  * @throws {@link ServerException} (server fault)
101
100
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -56,9 +56,8 @@ export interface DescribeAddonConfigurationCommandOutput extends DescribeAddonCo
56
56
  *
57
57
  * @throws {@link ResourceNotFoundException} (client fault)
58
58
  * <p>The specified resource could not be found. You can view your available clusters with
59
- * <a>ListClusters</a>. You can view your available managed node groups with
60
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
61
- * Region-specific.</p>
59
+ * <code>ListClusters</code>. You can view your available managed node groups with
60
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
62
61
  *
63
62
  * @throws {@link ServerException} (server fault)
64
63
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -23,9 +23,10 @@ export interface DescribeAddonVersionsCommandOutput extends DescribeAddonVersion
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Describes the versions for an add-on. Information such as the Kubernetes versions that you
27
- * can use the add-on with, the <code>owner</code>, <code>publisher</code>, and the
28
- * <code>type</code> of the add-on are returned. </p>
26
+ * <p>Describes the versions for an add-on.</p>
27
+ * <p>Information such as the Kubernetes versions that you can use the add-on with, the
28
+ * <code>owner</code>, <code>publisher</code>, and the <code>type</code> of the add-on
29
+ * are returned.</p>
29
30
  * @example
30
31
  * Use a bare-bones client and the command you need to make an API call.
31
32
  * ```javascript
@@ -97,9 +98,8 @@ export interface DescribeAddonVersionsCommandOutput extends DescribeAddonVersion
97
98
  *
98
99
  * @throws {@link ResourceNotFoundException} (client fault)
99
100
  * <p>The specified resource could not be found. You can view your available clusters with
100
- * <a>ListClusters</a>. You can view your available managed node groups with
101
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
102
- * Region-specific.</p>
101
+ * <code>ListClusters</code>. You can view your available managed node groups with
102
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
103
103
  *
104
104
  * @throws {@link ServerException} (server fault)
105
105
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -23,11 +23,12 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Returns descriptive information about an Amazon EKS cluster.</p>
26
+ * <p>Describes an Amazon EKS cluster.</p>
27
27
  * <p>The API server endpoint and certificate authority data returned by this operation are
28
28
  * required for <code>kubelet</code> and <code>kubectl</code> to communicate with your
29
- * Kubernetes API server. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html">Create a
30
- * kubeconfig for Amazon EKS</a>.</p>
29
+ * Kubernetes API server. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html">Creating or
30
+ * updating a <code>kubeconfig</code> file for an Amazon EKS
31
+ * cluster</a>.</p>
31
32
  * <note>
32
33
  * <p>The API server endpoint and certificate authority data aren't available until the
33
34
  * cluster reaches the <code>ACTIVE</code> state.</p>
@@ -129,6 +130,10 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
129
130
  * // groupName: "STRING_VALUE",
130
131
  * // },
131
132
  * // },
133
+ * // accessConfig: { // AccessConfigResponse
134
+ * // bootstrapClusterCreatorAdminPermissions: true || false,
135
+ * // authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
136
+ * // },
132
137
  * // },
133
138
  * // };
134
139
  *
@@ -147,9 +152,8 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
147
152
  *
148
153
  * @throws {@link ResourceNotFoundException} (client fault)
149
154
  * <p>The specified resource could not be found. You can view your available clusters with
150
- * <a>ListClusters</a>. You can view your available managed node groups with
151
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
152
- * Region-specific.</p>
155
+ * <code>ListClusters</code>. You can view your available managed node groups with
156
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
153
157
  *
154
158
  * @throws {@link ServerException} (server fault)
155
159
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -74,9 +74,8 @@ export interface DescribeEksAnywhereSubscriptionCommandOutput extends DescribeEk
74
74
  *
75
75
  * @throws {@link ResourceNotFoundException} (client fault)
76
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>
77
+ * <code>ListClusters</code>. You can view your available managed node groups with
78
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
80
79
  *
81
80
  * @throws {@link ServerException} (server fault)
82
81
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -23,7 +23,7 @@ export interface DescribeFargateProfileCommandOutput extends DescribeFargateProf
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Returns descriptive information about an Fargate profile.</p>
26
+ * <p>Describes an Fargate profile.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -80,9 +80,8 @@ export interface DescribeFargateProfileCommandOutput extends DescribeFargateProf
80
80
  *
81
81
  * @throws {@link ResourceNotFoundException} (client fault)
82
82
  * <p>The specified resource could not be found. You can view your available clusters with
83
- * <a>ListClusters</a>. You can view your available managed node groups with
84
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
85
- * Region-specific.</p>
83
+ * <code>ListClusters</code>. You can view your available managed node groups with
84
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
86
85
  *
87
86
  * @throws {@link ServerException} (server fault)
88
87
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -23,7 +23,7 @@ export interface DescribeIdentityProviderConfigCommandOutput extends DescribeIde
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Returns descriptive information about an identity provider configuration.</p>
26
+ * <p>Describes an identity provider configuration.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -81,9 +81,8 @@ export interface DescribeIdentityProviderConfigCommandOutput extends DescribeIde
81
81
  *
82
82
  * @throws {@link ResourceNotFoundException} (client fault)
83
83
  * <p>The specified resource could not be found. You can view your available clusters with
84
- * <a>ListClusters</a>. You can view your available managed node groups with
85
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
86
- * Region-specific.</p>
84
+ * <code>ListClusters</code>. You can view your available managed node groups with
85
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
87
86
  *
88
87
  * @throws {@link ServerException} (server fault)
89
88
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -23,7 +23,7 @@ export interface DescribeNodegroupCommandOutput extends DescribeNodegroupRespons
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Returns descriptive information about an Amazon EKS node group.</p>
26
+ * <p>Describes a managed node group.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -128,9 +128,8 @@ export interface DescribeNodegroupCommandOutput extends DescribeNodegroupRespons
128
128
  *
129
129
  * @throws {@link ResourceNotFoundException} (client fault)
130
130
  * <p>The specified resource could not be found. You can view your available clusters with
131
- * <a>ListClusters</a>. You can view your available managed node groups with
132
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
133
- * Region-specific.</p>
131
+ * <code>ListClusters</code>. You can view your available managed node groups with
132
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
134
133
  *
135
134
  * @throws {@link ServerException} (server fault)
136
135
  * <p>These errors are usually caused by a server-side issue.</p>