@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
@@ -74,9 +74,8 @@ export interface DescribePodIdentityAssociationCommandOutput extends DescribePod
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,8 +23,7 @@ export interface DescribeUpdateCommandOutput extends DescribeUpdateResponse, __M
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Returns descriptive information about an update against your Amazon EKS
27
- * cluster or associated managed node group or Amazon EKS add-on.</p>
26
+ * <p>Describes an update to an Amazon EKS resource.</p>
28
27
  * <p>When the status of the update is <code>Succeeded</code>, the update is complete. If an
29
28
  * update fails, the status is <code>Failed</code>, and an error detail explains the reason
30
29
  * for the failure.</p>
@@ -46,10 +45,10 @@ export interface DescribeUpdateCommandOutput extends DescribeUpdateResponse, __M
46
45
  * // update: { // Update
47
46
  * // id: "STRING_VALUE",
48
47
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
49
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate",
48
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate",
50
49
  * // params: [ // UpdateParams
51
50
  * // { // UpdateParam
52
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets",
51
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode",
53
52
  * // value: "STRING_VALUE",
54
53
  * // },
55
54
  * // ],
@@ -85,9 +84,8 @@ export interface DescribeUpdateCommandOutput extends DescribeUpdateResponse, __M
85
84
  *
86
85
  * @throws {@link ResourceNotFoundException} (client fault)
87
86
  * <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>
87
+ * <code>ListClusters</code>. You can view your available managed node groups with
88
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
91
89
  *
92
90
  * @throws {@link ServerException} (server fault)
93
91
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -0,0 +1,85 @@
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 { DisassociateAccessPolicyRequest, DisassociateAccessPolicyResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisassociateAccessPolicyCommand}.
14
+ */
15
+ export interface DisassociateAccessPolicyCommandInput extends DisassociateAccessPolicyRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisassociateAccessPolicyCommand}.
21
+ */
22
+ export interface DisassociateAccessPolicyCommandOutput extends DisassociateAccessPolicyResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Disassociates an access policy from 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, DisassociateAccessPolicyCommand } from "@aws-sdk/client-eks"; // ES Modules import
31
+ * // const { EKSClient, DisassociateAccessPolicyCommand } = require("@aws-sdk/client-eks"); // CommonJS import
32
+ * const client = new EKSClient(config);
33
+ * const input = { // DisassociateAccessPolicyRequest
34
+ * clusterName: "STRING_VALUE", // required
35
+ * principalArn: "STRING_VALUE", // required
36
+ * policyArn: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new DisassociateAccessPolicyCommand(input);
39
+ * const response = await client.send(command);
40
+ * // {};
41
+ *
42
+ * ```
43
+ *
44
+ * @param DisassociateAccessPolicyCommandInput - {@link DisassociateAccessPolicyCommandInput}
45
+ * @returns {@link DisassociateAccessPolicyCommandOutput}
46
+ * @see {@link DisassociateAccessPolicyCommandInput} for command's `input` shape.
47
+ * @see {@link DisassociateAccessPolicyCommandOutput} for command's `response` shape.
48
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
49
+ *
50
+ * @throws {@link InvalidRequestException} (client fault)
51
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
52
+ * and the associated operations.</p>
53
+ *
54
+ * @throws {@link ResourceNotFoundException} (client fault)
55
+ * <p>The specified resource could not be found. You can view your available clusters with
56
+ * <code>ListClusters</code>. You can view your available managed node groups with
57
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
58
+ *
59
+ * @throws {@link ServerException} (server fault)
60
+ * <p>These errors are usually caused by a server-side issue.</p>
61
+ *
62
+ * @throws {@link EKSServiceException}
63
+ * <p>Base exception class for all service exceptions from EKS service.</p>
64
+ *
65
+ */
66
+ export declare class DisassociateAccessPolicyCommand extends $Command<DisassociateAccessPolicyCommandInput, DisassociateAccessPolicyCommandOutput, EKSClientResolvedConfig> {
67
+ readonly input: DisassociateAccessPolicyCommandInput;
68
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
69
+ /**
70
+ * @public
71
+ */
72
+ constructor(input: DisassociateAccessPolicyCommandInput);
73
+ /**
74
+ * @internal
75
+ */
76
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateAccessPolicyCommandInput, DisassociateAccessPolicyCommandOutput>;
77
+ /**
78
+ * @internal
79
+ */
80
+ private serialize;
81
+ /**
82
+ * @internal
83
+ */
84
+ private deserialize;
85
+ }
@@ -23,10 +23,10 @@ export interface DisassociateIdentityProviderConfigCommandOutput extends Disasso
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Disassociates an identity provider configuration from a cluster. If you disassociate
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
29
- * <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html">IAM principals</a>.</p>
26
+ * <p>Disassociates an identity provider configuration from a cluster.</p>
27
+ * <p>If you disassociate an identity provider from your cluster, users included in the
28
+ * provider can no longer access the cluster. However, you can still access the cluster
29
+ * with IAM principals.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -47,10 +47,10 @@ export interface DisassociateIdentityProviderConfigCommandOutput extends Disasso
47
47
  * // update: { // Update
48
48
  * // id: "STRING_VALUE",
49
49
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
50
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate",
50
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate",
51
51
  * // params: [ // UpdateParams
52
52
  * // { // UpdateParam
53
- * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets",
53
+ * // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode",
54
54
  * // value: "STRING_VALUE",
55
55
  * // },
56
56
  * // ],
@@ -93,9 +93,8 @@ export interface DisassociateIdentityProviderConfigCommandOutput extends Disasso
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>
@@ -0,0 +1,95 @@
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 { ListAccessEntriesRequest, ListAccessEntriesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAccessEntriesCommand}.
14
+ */
15
+ export interface ListAccessEntriesCommandInput extends ListAccessEntriesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAccessEntriesCommand}.
21
+ */
22
+ export interface ListAccessEntriesCommandOutput extends ListAccessEntriesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the access entries for your cluster.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { EKSClient, ListAccessEntriesCommand } from "@aws-sdk/client-eks"; // ES Modules import
31
+ * // const { EKSClient, ListAccessEntriesCommand } = require("@aws-sdk/client-eks"); // CommonJS import
32
+ * const client = new EKSClient(config);
33
+ * const input = { // ListAccessEntriesRequest
34
+ * clusterName: "STRING_VALUE", // required
35
+ * associatedPolicyArn: "STRING_VALUE",
36
+ * maxResults: Number("int"),
37
+ * nextToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new ListAccessEntriesCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListAccessEntriesResponse
42
+ * // accessEntries: [ // StringList
43
+ * // "STRING_VALUE",
44
+ * // ],
45
+ * // nextToken: "STRING_VALUE",
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param ListAccessEntriesCommandInput - {@link ListAccessEntriesCommandInput}
51
+ * @returns {@link ListAccessEntriesCommandOutput}
52
+ * @see {@link ListAccessEntriesCommandInput} for command's `input` shape.
53
+ * @see {@link ListAccessEntriesCommandOutput} for command's `response` shape.
54
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
55
+ *
56
+ * @throws {@link InvalidParameterException} (client fault)
57
+ * <p>The specified parameter is invalid. Review the available parameters for the API
58
+ * request.</p>
59
+ *
60
+ * @throws {@link InvalidRequestException} (client fault)
61
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
62
+ * and the associated operations.</p>
63
+ *
64
+ * @throws {@link ResourceNotFoundException} (client fault)
65
+ * <p>The specified resource could not be found. You can view your available clusters with
66
+ * <code>ListClusters</code>. You can view your available managed node groups with
67
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
68
+ *
69
+ * @throws {@link ServerException} (server fault)
70
+ * <p>These errors are usually caused by a server-side issue.</p>
71
+ *
72
+ * @throws {@link EKSServiceException}
73
+ * <p>Base exception class for all service exceptions from EKS service.</p>
74
+ *
75
+ */
76
+ export declare class ListAccessEntriesCommand extends $Command<ListAccessEntriesCommandInput, ListAccessEntriesCommandOutput, EKSClientResolvedConfig> {
77
+ readonly input: ListAccessEntriesCommandInput;
78
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
79
+ /**
80
+ * @public
81
+ */
82
+ constructor(input: ListAccessEntriesCommandInput);
83
+ /**
84
+ * @internal
85
+ */
86
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAccessEntriesCommandInput, ListAccessEntriesCommandOutput>;
87
+ /**
88
+ * @internal
89
+ */
90
+ private serialize;
91
+ /**
92
+ * @internal
93
+ */
94
+ private deserialize;
95
+ }
@@ -0,0 +1,83 @@
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 { ListAccessPoliciesRequest, ListAccessPoliciesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAccessPoliciesCommand}.
14
+ */
15
+ export interface ListAccessPoliciesCommandInput extends ListAccessPoliciesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAccessPoliciesCommand}.
21
+ */
22
+ export interface ListAccessPoliciesCommandOutput extends ListAccessPoliciesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the available access policies. </p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { EKSClient, ListAccessPoliciesCommand } from "@aws-sdk/client-eks"; // ES Modules import
31
+ * // const { EKSClient, ListAccessPoliciesCommand } = require("@aws-sdk/client-eks"); // CommonJS import
32
+ * const client = new EKSClient(config);
33
+ * const input = { // ListAccessPoliciesRequest
34
+ * maxResults: Number("int"),
35
+ * nextToken: "STRING_VALUE",
36
+ * };
37
+ * const command = new ListAccessPoliciesCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // ListAccessPoliciesResponse
40
+ * // accessPolicies: [ // AccessPoliciesList
41
+ * // { // AccessPolicy
42
+ * // name: "STRING_VALUE",
43
+ * // arn: "STRING_VALUE",
44
+ * // },
45
+ * // ],
46
+ * // nextToken: "STRING_VALUE",
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param ListAccessPoliciesCommandInput - {@link ListAccessPoliciesCommandInput}
52
+ * @returns {@link ListAccessPoliciesCommandOutput}
53
+ * @see {@link ListAccessPoliciesCommandInput} for command's `input` shape.
54
+ * @see {@link ListAccessPoliciesCommandOutput} for command's `response` shape.
55
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
56
+ *
57
+ * @throws {@link ServerException} (server fault)
58
+ * <p>These errors are usually caused by a server-side issue.</p>
59
+ *
60
+ * @throws {@link EKSServiceException}
61
+ * <p>Base exception class for all service exceptions from EKS service.</p>
62
+ *
63
+ */
64
+ export declare class ListAccessPoliciesCommand extends $Command<ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput, EKSClientResolvedConfig> {
65
+ readonly input: ListAccessPoliciesCommandInput;
66
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
67
+ /**
68
+ * @public
69
+ */
70
+ constructor(input: ListAccessPoliciesCommandInput);
71
+ /**
72
+ * @internal
73
+ */
74
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput>;
75
+ /**
76
+ * @internal
77
+ */
78
+ private serialize;
79
+ /**
80
+ * @internal
81
+ */
82
+ private deserialize;
83
+ }
@@ -67,9 +67,8 @@ export interface ListAddonsCommandOutput extends ListAddonsResponse, __MetadataB
67
67
  *
68
68
  * @throws {@link ResourceNotFoundException} (client fault)
69
69
  * <p>The specified resource could not be found. You can view your available clusters with
70
- * <a>ListClusters</a>. You can view your available managed node groups with
71
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
72
- * Region-specific.</p>
70
+ * <code>ListClusters</code>. You can view your available managed node groups with
71
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
73
72
  *
74
73
  * @throws {@link ServerException} (server fault)
75
74
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -0,0 +1,103 @@
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 { ListAssociatedAccessPoliciesRequest, ListAssociatedAccessPoliciesResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListAssociatedAccessPoliciesCommand}.
14
+ */
15
+ export interface ListAssociatedAccessPoliciesCommandInput extends ListAssociatedAccessPoliciesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListAssociatedAccessPoliciesCommand}.
21
+ */
22
+ export interface ListAssociatedAccessPoliciesCommandOutput extends ListAssociatedAccessPoliciesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Lists the access policies associated with 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, ListAssociatedAccessPoliciesCommand } from "@aws-sdk/client-eks"; // ES Modules import
31
+ * // const { EKSClient, ListAssociatedAccessPoliciesCommand } = require("@aws-sdk/client-eks"); // CommonJS import
32
+ * const client = new EKSClient(config);
33
+ * const input = { // ListAssociatedAccessPoliciesRequest
34
+ * clusterName: "STRING_VALUE", // required
35
+ * principalArn: "STRING_VALUE", // required
36
+ * maxResults: Number("int"),
37
+ * nextToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new ListAssociatedAccessPoliciesCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListAssociatedAccessPoliciesResponse
42
+ * // clusterName: "STRING_VALUE",
43
+ * // principalArn: "STRING_VALUE",
44
+ * // nextToken: "STRING_VALUE",
45
+ * // associatedAccessPolicies: [ // AssociatedAccessPoliciesList
46
+ * // { // AssociatedAccessPolicy
47
+ * // policyArn: "STRING_VALUE",
48
+ * // accessScope: { // AccessScope
49
+ * // type: "cluster" || "namespace",
50
+ * // namespaces: [ // StringList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // },
54
+ * // associatedAt: new Date("TIMESTAMP"),
55
+ * // modifiedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListAssociatedAccessPoliciesCommandInput - {@link ListAssociatedAccessPoliciesCommandInput}
63
+ * @returns {@link ListAssociatedAccessPoliciesCommandOutput}
64
+ * @see {@link ListAssociatedAccessPoliciesCommandInput} for command's `input` shape.
65
+ * @see {@link ListAssociatedAccessPoliciesCommandOutput} for command's `response` shape.
66
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
67
+ *
68
+ * @throws {@link InvalidRequestException} (client fault)
69
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
70
+ * and the associated operations.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource could not be found. You can view your available clusters with
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>
76
+ *
77
+ * @throws {@link ServerException} (server fault)
78
+ * <p>These errors are usually caused by a server-side issue.</p>
79
+ *
80
+ * @throws {@link EKSServiceException}
81
+ * <p>Base exception class for all service exceptions from EKS service.</p>
82
+ *
83
+ */
84
+ export declare class ListAssociatedAccessPoliciesCommand extends $Command<ListAssociatedAccessPoliciesCommandInput, ListAssociatedAccessPoliciesCommandOutput, EKSClientResolvedConfig> {
85
+ readonly input: ListAssociatedAccessPoliciesCommandInput;
86
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
87
+ /**
88
+ * @public
89
+ */
90
+ constructor(input: ListAssociatedAccessPoliciesCommandInput);
91
+ /**
92
+ * @internal
93
+ */
94
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAssociatedAccessPoliciesCommandInput, ListAssociatedAccessPoliciesCommandOutput>;
95
+ /**
96
+ * @internal
97
+ */
98
+ private serialize;
99
+ /**
100
+ * @internal
101
+ */
102
+ private deserialize;
103
+ }
@@ -24,7 +24,7 @@ export interface ListClustersCommandOutput extends ListClustersResponse, __Metad
24
24
  /**
25
25
  * @public
26
26
  * <p>Lists the Amazon EKS clusters in your Amazon Web Services account in the
27
- * specified Region.</p>
27
+ * specified Amazon Web Services Region.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -24,7 +24,7 @@ export interface ListFargateProfilesCommandOutput extends ListFargateProfilesRes
24
24
  /**
25
25
  * @public
26
26
  * <p>Lists the Fargate profiles associated with the specified cluster in
27
- * your Amazon Web Services account in the specified Region.</p>
27
+ * your Amazon Web Services account in the specified Amazon Web Services Region.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -64,9 +64,8 @@ export interface ListFargateProfilesCommandOutput extends ListFargateProfilesRes
64
64
  *
65
65
  * @throws {@link ResourceNotFoundException} (client fault)
66
66
  * <p>The specified resource could not be found. You can view your available clusters with
67
- * <a>ListClusters</a>. You can view your available managed node groups with
68
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
69
- * Region-specific.</p>
67
+ * <code>ListClusters</code>. You can view your available managed node groups with
68
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
70
69
  *
71
70
  * @throws {@link ServerException} (server fault)
72
71
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -23,7 +23,7 @@ export interface ListIdentityProviderConfigsCommandOutput extends ListIdentityPr
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>A list of identity provider configurations.</p>
26
+ * <p>Lists the identity provider configurations for your cluster.</p>
27
27
  * @example
28
28
  * Use a bare-bones client and the command you need to make an API call.
29
29
  * ```javascript
@@ -66,9 +66,8 @@ export interface ListIdentityProviderConfigsCommandOutput extends ListIdentityPr
66
66
  *
67
67
  * @throws {@link ResourceNotFoundException} (client fault)
68
68
  * <p>The specified resource could not be found. You can view your available clusters with
69
- * <a>ListClusters</a>. You can view your available managed node groups with
70
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
71
- * Region-specific.</p>
69
+ * <code>ListClusters</code>. You can view your available managed node groups with
70
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
72
71
  *
73
72
  * @throws {@link ServerException} (server fault)
74
73
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -23,9 +23,8 @@ export interface ListNodegroupsCommandOutput extends ListNodegroupsResponse, __M
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Lists the Amazon EKS managed node groups associated with the specified cluster
27
- * in your Amazon Web Services account in the specified Region. Self-managed node groups are
28
- * not listed.</p>
26
+ * <p>Lists the managed node groups associated with the specified cluster in your Amazon Web Services account in the specified Amazon Web Services Region. Self-managed node
27
+ * groups aren't listed.</p>
29
28
  * @example
30
29
  * Use a bare-bones client and the command you need to make an API call.
31
30
  * ```javascript
@@ -65,9 +64,8 @@ export interface ListNodegroupsCommandOutput extends ListNodegroupsResponse, __M
65
64
  *
66
65
  * @throws {@link ResourceNotFoundException} (client fault)
67
66
  * <p>The specified resource could not be found. You can view your available clusters with
68
- * <a>ListClusters</a>. You can view your available managed node groups with
69
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
70
- * Region-specific.</p>
67
+ * <code>ListClusters</code>. You can view your available managed node groups with
68
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
71
69
  *
72
70
  * @throws {@link ServerException} (server fault)
73
71
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -71,9 +71,8 @@ export interface ListPodIdentityAssociationsCommandOutput extends ListPodIdentit
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>
@@ -23,8 +23,7 @@ export interface ListUpdatesCommandOutput extends ListUpdatesResponse, __Metadat
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Lists the updates associated with an Amazon EKS cluster or managed node group
27
- * in your Amazon Web Services account, in the specified Region.</p>
26
+ * <p>Lists the updates associated with an Amazon EKS resource in your Amazon Web Services account, in the specified Amazon Web Services Region.</p>
28
27
  * @example
29
28
  * Use a bare-bones client and the command you need to make an API call.
30
29
  * ```javascript
@@ -66,9 +65,8 @@ export interface ListUpdatesCommandOutput extends ListUpdatesResponse, __Metadat
66
65
  *
67
66
  * @throws {@link ResourceNotFoundException} (client fault)
68
67
  * <p>The specified resource could not be found. You can view your available clusters with
69
- * <a>ListClusters</a>. You can view your available managed node groups with
70
- * <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
71
- * Region-specific.</p>
68
+ * <code>ListClusters</code>. You can view your available managed node groups with
69
+ * <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
72
70
  *
73
71
  * @throws {@link ServerException} (server fault)
74
72
  * <p>These errors are usually caused by a server-side issue.</p>
@@ -33,9 +33,10 @@ export interface RegisterClusterCommandOutput extends RegisterClusterResponse, _
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
34
  * <code>activationCode</code> must be applied to the Kubernetes cluster through it's native
35
35
  * provider to provide visibility.</p>
36
- * <p>After the Manifest is updated and applied, then the connected cluster is visible to
37
- * the Amazon EKS control plane. If the Manifest is not applied within three days,
38
- * then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>
36
+ * <p>After the manifest is updated and applied, the connected cluster is visible to the
37
+ * Amazon EKS control plane. If the manifest isn't applied within three days,
38
+ * the connected cluster will no longer be visible and must be deregistered using
39
+ * <code>DeregisterCluster</code>.</p>
39
40
  * @example
40
41
  * Use a bare-bones client and the command you need to make an API call.
41
42
  * ```javascript
@@ -141,6 +142,10 @@ export interface RegisterClusterCommandOutput extends RegisterClusterResponse, _
141
142
  * // groupName: "STRING_VALUE",
142
143
  * // },
143
144
  * // },
145
+ * // accessConfig: { // AccessConfigResponse
146
+ * // bootstrapClusterCreatorAdminPermissions: true || false,
147
+ * // authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
148
+ * // },
144
149
  * // },
145
150
  * // };
146
151
  *
@@ -23,12 +23,13 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Associates the specified tags to a resource with the specified
26
+ * <p>Associates the specified tags to an Amazon EKS resource with the specified
27
27
  * <code>resourceArn</code>. If existing tags on a resource are not specified in the
28
- * request parameters, they are not changed. When a resource is deleted, the tags
29
- * associated with that resource are deleted as well. Tags that you create for Amazon EKS resources do not propagate to any other resources associated with the
30
- * cluster. For example, if you tag a cluster with this operation, that tag does not
31
- * automatically propagate to the subnets and nodes associated with the cluster.</p>
28
+ * request parameters, they aren't changed. When a resource is deleted, the tags associated
29
+ * with that resource are also deleted. Tags that you create for Amazon EKS
30
+ * resources don't propagate to any other resources associated with the cluster. For
31
+ * example, if you tag a cluster with this operation, that tag doesn't automatically
32
+ * propagate to the subnets and nodes associated with the cluster.</p>
32
33
  * @example
33
34
  * Use a bare-bones client and the command you need to make an API call.
34
35
  * ```javascript