@aws-sdk/client-eks 3.451.0 → 3.458.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -40
- package/dist-cjs/EKS.js +10 -0
- package/dist-cjs/commands/CreatePodIdentityAssociationCommand.js +51 -0
- package/dist-cjs/commands/DeletePodIdentityAssociationCommand.js +51 -0
- package/dist-cjs/commands/DescribePodIdentityAssociationCommand.js +51 -0
- package/dist-cjs/commands/ListPodIdentityAssociationsCommand.js +51 -0
- package/dist-cjs/commands/UpdatePodIdentityAssociationCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/pagination/ListEksAnywhereSubscriptionsPaginator.js +29 -0
- package/dist-cjs/pagination/ListPodIdentityAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +352 -2
- package/dist-es/EKS.js +10 -0
- package/dist-es/commands/CreatePodIdentityAssociationCommand.js +47 -0
- package/dist-es/commands/DeletePodIdentityAssociationCommand.js +47 -0
- package/dist-es/commands/DescribePodIdentityAssociationCommand.js +47 -0
- package/dist-es/commands/ListPodIdentityAssociationsCommand.js +47 -0
- package/dist-es/commands/UpdatePodIdentityAssociationCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/pagination/ListEksAnywhereSubscriptionsPaginator.js +25 -0
- package/dist-es/pagination/ListPodIdentityAssociationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +340 -0
- package/dist-types/EKS.d.ts +35 -0
- package/dist-types/EKSClient.d.ts +7 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +19 -0
- package/dist-types/commands/CreatePodIdentityAssociationCommand.d.ts +125 -0
- package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +2 -2
- package/dist-types/commands/DeletePodIdentityAssociationCommand.d.ts +104 -0
- package/dist-types/commands/DescribePodIdentityAssociationCommand.d.ts +107 -0
- package/dist-types/commands/ListPodIdentityAssociationsCommand.d.ts +104 -0
- package/dist-types/commands/UpdateClusterConfigCommand.d.ts +8 -4
- package/dist-types/commands/UpdatePodIdentityAssociationCommand.d.ts +108 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +450 -22
- package/dist-types/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPodIdentityAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/EKS.d.ts +85 -0
- package/dist-types/ts3.4/EKSClient.d.ts +32 -2
- package/dist-types/ts3.4/commands/CreatePodIdentityAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeletePodIdentityAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribePodIdentityAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListPodIdentityAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdatePodIdentityAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +63 -0
- package/dist-types/ts3.4/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPodIdentityAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +3 -3
|
@@ -0,0 +1,104 @@
|
|
|
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 { ListPodIdentityAssociationsRequest, ListPodIdentityAssociationsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListPodIdentityAssociationsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListPodIdentityAssociationsCommandInput extends ListPodIdentityAssociationsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListPodIdentityAssociationsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPodIdentityAssociationsCommandOutput extends ListPodIdentityAssociationsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>List the EKS Pod Identity associations in a cluster. You can filter the list by the namespace that the
|
|
27
|
+
* association is in or the service account that the association uses.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { EKSClient, ListPodIdentityAssociationsCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
32
|
+
* // const { EKSClient, ListPodIdentityAssociationsCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
33
|
+
* const client = new EKSClient(config);
|
|
34
|
+
* const input = { // ListPodIdentityAssociationsRequest
|
|
35
|
+
* clusterName: "STRING_VALUE", // required
|
|
36
|
+
* namespace: "STRING_VALUE",
|
|
37
|
+
* serviceAccount: "STRING_VALUE",
|
|
38
|
+
* maxResults: Number("int"),
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListPodIdentityAssociationsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListPodIdentityAssociationsResponse
|
|
44
|
+
* // associations: [ // PodIdentityAssociationSummaries
|
|
45
|
+
* // { // PodIdentityAssociationSummary
|
|
46
|
+
* // clusterName: "STRING_VALUE",
|
|
47
|
+
* // namespace: "STRING_VALUE",
|
|
48
|
+
* // serviceAccount: "STRING_VALUE",
|
|
49
|
+
* // associationArn: "STRING_VALUE",
|
|
50
|
+
* // associationId: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // nextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param ListPodIdentityAssociationsCommandInput - {@link ListPodIdentityAssociationsCommandInput}
|
|
59
|
+
* @returns {@link ListPodIdentityAssociationsCommandOutput}
|
|
60
|
+
* @see {@link ListPodIdentityAssociationsCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link ListPodIdentityAssociationsCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
65
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
66
|
+
* request.</p>
|
|
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
|
+
* <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>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServerException} (server fault)
|
|
79
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link EKSServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
83
|
+
*
|
|
84
|
+
*/
|
|
85
|
+
export declare class ListPodIdentityAssociationsCommand extends $Command<ListPodIdentityAssociationsCommandInput, ListPodIdentityAssociationsCommandOutput, EKSClientResolvedConfig> {
|
|
86
|
+
readonly input: ListPodIdentityAssociationsCommandInput;
|
|
87
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
constructor(input: ListPodIdentityAssociationsCommandInput);
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListPodIdentityAssociationsCommandInput, ListPodIdentityAssociationsCommandOutput>;
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
private serialize;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
private deserialize;
|
|
104
|
+
}
|
|
@@ -43,10 +43,14 @@ export interface UpdateClusterConfigCommandOutput extends UpdateClusterConfigRes
|
|
|
43
43
|
* private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster endpoint access control</a> in the
|
|
44
44
|
* <i>
|
|
45
45
|
* <i>Amazon EKS User Guide</i>
|
|
46
|
-
* </i
|
|
47
|
-
* <
|
|
48
|
-
*
|
|
49
|
-
*
|
|
46
|
+
* </i>.</p>
|
|
47
|
+
* <p>You can also use this API operation to choose different subnets and security groups
|
|
48
|
+
* for the cluster. You must specify at least two subnets that are in different
|
|
49
|
+
* Availability Zones. You can't change which VPC the subnets are from, the subnets must be
|
|
50
|
+
* in the same VPC as the subnets that the cluster was created with. For more information
|
|
51
|
+
* about the VPC requirements, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html">https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html</a> in the <i>
|
|
52
|
+
* <i>Amazon EKS User Guide</i>
|
|
53
|
+
* </i>.</p>
|
|
50
54
|
* <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
|
|
51
55
|
* an update, the cluster status moves to <code>UPDATING</code> (this status transition is
|
|
52
56
|
* eventually consistent). When the update is complete (either <code>Failed</code> or
|
|
@@ -0,0 +1,108 @@
|
|
|
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 { UpdatePodIdentityAssociationRequest, UpdatePodIdentityAssociationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdatePodIdentityAssociationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdatePodIdentityAssociationCommandInput extends UpdatePodIdentityAssociationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdatePodIdentityAssociationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdatePodIdentityAssociationCommandOutput extends UpdatePodIdentityAssociationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Updates a EKS Pod Identity association. Only the IAM role can be changed; an association can't be moved
|
|
27
|
+
* between clusters, namespaces, or service accounts. If you need to edit the namespace
|
|
28
|
+
* or service account, you need to remove the association and then create a new
|
|
29
|
+
* association with your desired settings.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { EKSClient, UpdatePodIdentityAssociationCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
34
|
+
* // const { EKSClient, UpdatePodIdentityAssociationCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
35
|
+
* const client = new EKSClient(config);
|
|
36
|
+
* const input = { // UpdatePodIdentityAssociationRequest
|
|
37
|
+
* clusterName: "STRING_VALUE", // required
|
|
38
|
+
* associationId: "STRING_VALUE", // required
|
|
39
|
+
* roleArn: "STRING_VALUE",
|
|
40
|
+
* clientRequestToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new UpdatePodIdentityAssociationCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // UpdatePodIdentityAssociationResponse
|
|
45
|
+
* // association: { // PodIdentityAssociation
|
|
46
|
+
* // clusterName: "STRING_VALUE",
|
|
47
|
+
* // namespace: "STRING_VALUE",
|
|
48
|
+
* // serviceAccount: "STRING_VALUE",
|
|
49
|
+
* // roleArn: "STRING_VALUE",
|
|
50
|
+
* // associationArn: "STRING_VALUE",
|
|
51
|
+
* // associationId: "STRING_VALUE",
|
|
52
|
+
* // tags: { // TagMap
|
|
53
|
+
* // "<keys>": "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // },
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param UpdatePodIdentityAssociationCommandInput - {@link UpdatePodIdentityAssociationCommandInput}
|
|
63
|
+
* @returns {@link UpdatePodIdentityAssociationCommandOutput}
|
|
64
|
+
* @see {@link UpdatePodIdentityAssociationCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link UpdatePodIdentityAssociationCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
69
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
70
|
+
* request.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
73
|
+
* <p>The request is invalid given the state of the cluster. Check the state of the cluster
|
|
74
|
+
* and the associated operations.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>The specified resource could not be found. You can view your available clusters with
|
|
78
|
+
* <a>ListClusters</a>. You can view your available managed node groups with
|
|
79
|
+
* <a>ListNodegroups</a>. Amazon EKS clusters and node groups are
|
|
80
|
+
* Region-specific.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ServerException} (server fault)
|
|
83
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link EKSServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
89
|
+
export declare class UpdatePodIdentityAssociationCommand extends $Command<UpdatePodIdentityAssociationCommandInput, UpdatePodIdentityAssociationCommandOutput, EKSClientResolvedConfig> {
|
|
90
|
+
readonly input: UpdatePodIdentityAssociationCommandInput;
|
|
91
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
constructor(input: UpdatePodIdentityAssociationCommandInput);
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePodIdentityAssociationCommandInput, UpdatePodIdentityAssociationCommandOutput>;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
private serialize;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
private deserialize;
|
|
108
|
+
}
|
|
@@ -5,11 +5,13 @@ export * from "./CreateClusterCommand";
|
|
|
5
5
|
export * from "./CreateEksAnywhereSubscriptionCommand";
|
|
6
6
|
export * from "./CreateFargateProfileCommand";
|
|
7
7
|
export * from "./CreateNodegroupCommand";
|
|
8
|
+
export * from "./CreatePodIdentityAssociationCommand";
|
|
8
9
|
export * from "./DeleteAddonCommand";
|
|
9
10
|
export * from "./DeleteClusterCommand";
|
|
10
11
|
export * from "./DeleteEksAnywhereSubscriptionCommand";
|
|
11
12
|
export * from "./DeleteFargateProfileCommand";
|
|
12
13
|
export * from "./DeleteNodegroupCommand";
|
|
14
|
+
export * from "./DeletePodIdentityAssociationCommand";
|
|
13
15
|
export * from "./DeregisterClusterCommand";
|
|
14
16
|
export * from "./DescribeAddonCommand";
|
|
15
17
|
export * from "./DescribeAddonConfigurationCommand";
|
|
@@ -19,6 +21,7 @@ export * from "./DescribeEksAnywhereSubscriptionCommand";
|
|
|
19
21
|
export * from "./DescribeFargateProfileCommand";
|
|
20
22
|
export * from "./DescribeIdentityProviderConfigCommand";
|
|
21
23
|
export * from "./DescribeNodegroupCommand";
|
|
24
|
+
export * from "./DescribePodIdentityAssociationCommand";
|
|
22
25
|
export * from "./DescribeUpdateCommand";
|
|
23
26
|
export * from "./DisassociateIdentityProviderConfigCommand";
|
|
24
27
|
export * from "./ListAddonsCommand";
|
|
@@ -27,6 +30,7 @@ export * from "./ListEksAnywhereSubscriptionsCommand";
|
|
|
27
30
|
export * from "./ListFargateProfilesCommand";
|
|
28
31
|
export * from "./ListIdentityProviderConfigsCommand";
|
|
29
32
|
export * from "./ListNodegroupsCommand";
|
|
33
|
+
export * from "./ListPodIdentityAssociationsCommand";
|
|
30
34
|
export * from "./ListTagsForResourceCommand";
|
|
31
35
|
export * from "./ListUpdatesCommand";
|
|
32
36
|
export * from "./RegisterClusterCommand";
|
|
@@ -38,3 +42,4 @@ export * from "./UpdateClusterVersionCommand";
|
|
|
38
42
|
export * from "./UpdateEksAnywhereSubscriptionCommand";
|
|
39
43
|
export * from "./UpdateNodegroupConfigCommand";
|
|
40
44
|
export * from "./UpdateNodegroupVersionCommand";
|
|
45
|
+
export * from "./UpdatePodIdentityAssociationCommand";
|