@aws-sdk/client-pcs 3.882.0 → 3.886.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 +1 -1
- package/dist-types/PCS.d.ts +1 -1
- package/dist-types/PCSClient.d.ts +1 -1
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -2
- package/dist-types/commands/CreateComputeNodeGroupCommand.d.ts +2 -2
- package/dist-types/commands/CreateQueueCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
- package/dist-types/commands/DeleteComputeNodeGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteQueueCommand.d.ts +2 -2
- package/dist-types/commands/GetClusterCommand.d.ts +1 -1
- package/dist-types/commands/GetComputeNodeGroupCommand.d.ts +1 -1
- package/dist-types/commands/GetQueueCommand.d.ts +1 -1
- package/dist-types/commands/ListClustersCommand.d.ts +1 -1
- package/dist-types/commands/ListComputeNodeGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListQueuesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateComputeNodeGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateQueueCommand.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +16 -16
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
AWS SDK for JavaScript PCS Client for Node.js, Browser and React Native.
|
|
8
8
|
|
|
9
|
-
<p>
|
|
9
|
+
<p>Parallel Computing Service (PCS) is a managed service that makes it easier for you to run and scale your high performance computing (HPC) workloads, and build scientific and engineering models on Amazon Web Services using Slurm. For more information, see the <a href="https://docs.aws.amazon.com/pcs/latest/userguide">Parallel Computing Service User Guide</a>.</p> <p>This reference describes the actions and data types of the service management API. You can use the Amazon Web Services SDKs to call the API actions in software, or use the Command Line Interface (CLI) to call the API actions manually. These API actions manage the service through an Amazon Web Services account.</p> <p>The API actions operate on PCS resources. A <i>resource</i> is an entity in Amazon Web Services that you can work with. Amazon Web Services services create resources when you use the features of the service. Examples of PCS resources include clusters, compute node groups, and queues. For more information about resources in Amazon Web Services, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/getting-started-terms-and-concepts.html#term-resource">Resource</a> in the <i>Resource Explorer User Guide</i>. </p> <p>An PCS <i>compute node</i> is an Amazon EC2 instance. You don't launch compute nodes directly. PCS uses configuration information that you provide to launch compute nodes in your Amazon Web Services account. You receive billing charges for your running compute nodes. PCS automatically terminates your compute nodes when you delete the PCS resources related to those compute nodes.</p>
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
|
package/dist-types/PCS.d.ts
CHANGED
|
@@ -130,7 +130,7 @@ export interface PCS {
|
|
|
130
130
|
updateQueue(args: UpdateQueueCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateQueueCommandOutput) => void): void;
|
|
131
131
|
}
|
|
132
132
|
/**
|
|
133
|
-
* <p>
|
|
133
|
+
* <p>Parallel Computing Service (PCS) is a managed service that makes it easier for you to run and scale your high performance computing (HPC) workloads, and build scientific and engineering models on Amazon Web Services using Slurm. For more information, see the <a href="https://docs.aws.amazon.com/pcs/latest/userguide">Parallel Computing Service User Guide</a>.</p> <p>This reference describes the actions and data types of the service management API. You can use the Amazon Web Services SDKs to call the API actions in software, or use the Command Line Interface (CLI) to call the API actions manually. These API actions manage the service through an Amazon Web Services account.</p> <p>The API actions operate on PCS resources. A <i>resource</i> is an entity in Amazon Web Services that you can work with. Amazon Web Services services create resources when you use the features of the service. Examples of PCS resources include clusters, compute node groups, and queues. For more information about resources in Amazon Web Services, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/getting-started-terms-and-concepts.html#term-resource">Resource</a> in the <i>Resource Explorer User Guide</i>. </p> <p>An PCS <i>compute node</i> is an Amazon EC2 instance. You don't launch compute nodes directly. PCS uses configuration information that you provide to launch compute nodes in your Amazon Web Services account. You receive billing charges for your running compute nodes. PCS automatically terminates your compute nodes when you delete the PCS resources related to those compute nodes.</p>
|
|
134
134
|
* @public
|
|
135
135
|
*/
|
|
136
136
|
export declare class PCS extends PCSClient implements PCS {
|
|
@@ -187,7 +187,7 @@ export type PCSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHa
|
|
|
187
187
|
export interface PCSClientResolvedConfig extends PCSClientResolvedConfigType {
|
|
188
188
|
}
|
|
189
189
|
/**
|
|
190
|
-
* <p>
|
|
190
|
+
* <p>Parallel Computing Service (PCS) is a managed service that makes it easier for you to run and scale your high performance computing (HPC) workloads, and build scientific and engineering models on Amazon Web Services using Slurm. For more information, see the <a href="https://docs.aws.amazon.com/pcs/latest/userguide">Parallel Computing Service User Guide</a>.</p> <p>This reference describes the actions and data types of the service management API. You can use the Amazon Web Services SDKs to call the API actions in software, or use the Command Line Interface (CLI) to call the API actions manually. These API actions manage the service through an Amazon Web Services account.</p> <p>The API actions operate on PCS resources. A <i>resource</i> is an entity in Amazon Web Services that you can work with. Amazon Web Services services create resources when you use the features of the service. Examples of PCS resources include clusters, compute node groups, and queues. For more information about resources in Amazon Web Services, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/getting-started-terms-and-concepts.html#term-resource">Resource</a> in the <i>Resource Explorer User Guide</i>. </p> <p>An PCS <i>compute node</i> is an Amazon EC2 instance. You don't launch compute nodes directly. PCS uses configuration information that you provide to launch compute nodes in your Amazon Web Services account. You receive billing charges for your running compute nodes. PCS automatically terminates your compute nodes when you delete the PCS resources related to those compute nodes.</p>
|
|
191
191
|
* @public
|
|
192
192
|
*/
|
|
193
193
|
export declare class PCSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PCSClientResolvedConfig> {
|
|
@@ -27,7 +27,7 @@ declare const CreateClusterCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a cluster in your account.
|
|
30
|
+
* <p>Creates a cluster in your account. PCS creates the cluster controller in a service-owned account. The cluster controller communicates with the cluster resources in your account. The subnets and security groups for the cluster must already exist before you use this API action.</p> <note> <p>It takes time for PCS to create the cluster. The cluster is in a <code>Creating</code> state until it is ready to use. There can only be 1 cluster in a <code>Creating</code> state per Amazon Web Services Region per Amazon Web Services account. <code>CreateCluster</code> fails with a <code>ServiceQuotaExceededException</code> if there is already a cluster in a <code>Creating</code> state.</p> </note>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -142,7 +142,7 @@ declare const CreateClusterCommand_base: {
|
|
|
142
142
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
143
143
|
*
|
|
144
144
|
* @throws {@link InternalServerException} (server fault)
|
|
145
|
-
* <p>
|
|
145
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
146
146
|
*
|
|
147
147
|
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
148
148
|
* <p>You exceeded your service quota. Service quotas, also referred to as limits, are the maximum number of service resources or operations for your Amazon Web Services account. To learn how to increase your service quota, see <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/request-quota-increase.html">Requesting a quota increase</a> in the <i>Service Quotas User Guide</i> </p> <p> <u>Examples</u> </p> <ul> <li> <p>The max number of clusters or queues has been reached for the account.</p> </li> <li> <p>The max number of compute node groups has been reached for the associated cluster.</p> </li> <li> <p>The total of <code>maxInstances</code> across all compute node groups has been reached for associated cluster.</p> </li> </ul>
|
|
@@ -27,7 +27,7 @@ declare const CreateComputeNodeGroupCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a managed set of compute nodes. You associate a compute node group with a cluster through 1 or more
|
|
30
|
+
* <p>Creates a managed set of compute nodes. You associate a compute node group with a cluster through 1 or more PCS queues or as part of the login fleet. A compute node group includes the definition of the compute properties and lifecycle management. PCS uses the information you provide to this API action to launch compute nodes in your account. You can only specify subnets in the same Amazon VPC as your cluster. You receive billing charges for the compute nodes that PCS launches in your account. You must already have a launch template before you call this API. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launch an instance from a launch template</a> in the <i>Amazon Elastic Compute Cloud User Guide for Linux Instances</i>.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -137,7 +137,7 @@ declare const CreateComputeNodeGroupCommand_base: {
|
|
|
137
137
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
138
138
|
*
|
|
139
139
|
* @throws {@link InternalServerException} (server fault)
|
|
140
|
-
* <p>
|
|
140
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
141
141
|
*
|
|
142
142
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
143
143
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -87,7 +87,7 @@ declare const CreateQueueCommand_base: {
|
|
|
87
87
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
88
88
|
*
|
|
89
89
|
* @throws {@link InternalServerException} (server fault)
|
|
90
|
-
* <p>
|
|
90
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
91
91
|
*
|
|
92
92
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
93
93
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -57,7 +57,7 @@ declare const DeleteClusterCommand_base: {
|
|
|
57
57
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
58
58
|
*
|
|
59
59
|
* @throws {@link InternalServerException} (server fault)
|
|
60
|
-
* <p>
|
|
60
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
61
61
|
*
|
|
62
62
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
63
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -58,7 +58,7 @@ declare const DeleteComputeNodeGroupCommand_base: {
|
|
|
58
58
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InternalServerException} (server fault)
|
|
61
|
-
* <p>
|
|
61
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
64
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -27,7 +27,7 @@ declare const DeleteQueueCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes a job queue. If the compute node group associated with this queue isn't associated with any other queues,
|
|
30
|
+
* <p>Deletes a job queue. If the compute node group associated with this queue isn't associated with any other queues, PCS terminates all the compute nodes for this queue.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -58,7 +58,7 @@ declare const DeleteQueueCommand_base: {
|
|
|
58
58
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link InternalServerException} (server fault)
|
|
61
|
-
* <p>
|
|
61
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
64
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -111,7 +111,7 @@ declare const GetClusterCommand_base: {
|
|
|
111
111
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
112
112
|
*
|
|
113
113
|
* @throws {@link InternalServerException} (server fault)
|
|
114
|
-
* <p>
|
|
114
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
115
115
|
*
|
|
116
116
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
117
117
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -103,7 +103,7 @@ declare const GetComputeNodeGroupCommand_base: {
|
|
|
103
103
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
104
104
|
*
|
|
105
105
|
* @throws {@link InternalServerException} (server fault)
|
|
106
|
-
* <p>
|
|
106
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
107
107
|
*
|
|
108
108
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
109
109
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -78,7 +78,7 @@ declare const GetQueueCommand_base: {
|
|
|
78
78
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link InternalServerException} (server fault)
|
|
81
|
-
* <p>
|
|
81
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
84
84
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -69,7 +69,7 @@ declare const ListClustersCommand_base: {
|
|
|
69
69
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link InternalServerException} (server fault)
|
|
72
|
-
* <p>
|
|
72
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
73
73
|
*
|
|
74
74
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
75
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -71,7 +71,7 @@ declare const ListComputeNodeGroupsCommand_base: {
|
|
|
71
71
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link InternalServerException} (server fault)
|
|
74
|
-
* <p>
|
|
74
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
77
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -71,7 +71,7 @@ declare const ListQueuesCommand_base: {
|
|
|
71
71
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link InternalServerException} (server fault)
|
|
74
|
-
* <p>
|
|
74
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
77
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -27,7 +27,7 @@ declare const ListTagsForResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Returns a list of all tags on an
|
|
30
|
+
* <p>Returns a list of all tags on an PCS resource.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const RegisterComputeNodeGroupInstanceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <important> <p>This API action isn't intended for you to use.</p> </important> <p>
|
|
30
|
+
* <important> <p>This API action isn't intended for you to use.</p> </important> <p>PCS uses this API action to register the compute nodes it launches in your account.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -66,7 +66,7 @@ declare const RegisterComputeNodeGroupInstanceCommand_base: {
|
|
|
66
66
|
* <p>You don't have permission to perform the action.</p> <p> <u>Examples</u> </p> <ul> <li> <p>The launch template instance profile doesn't pass <code>iam:PassRole</code> verification.</p> </li> <li> <p>There is a mismatch between the account ID and cluster ID.</p> </li> <li> <p>The cluster ID doesn't exist.</p> </li> <li> <p>The EC2 instance isn't present.</p> </li> </ul>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link InternalServerException} (server fault)
|
|
69
|
-
* <p>
|
|
69
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link PCSServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from PCS service.</p>
|
|
@@ -27,7 +27,7 @@ declare const TagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Adds or edits tags on an
|
|
30
|
+
* <p>Adds or edits tags on an PCS resource. Each tag consists of a tag key and a tag value. The tag key and tag value are case-sensitive strings. The tag value can be an empty (null) string. To add a tag, specify a new tag key and a tag value. To edit a tag, specify an existing tag key and a new tag value.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -27,7 +27,7 @@ declare const UntagResourceCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Deletes tags from an
|
|
30
|
+
* <p>Deletes tags from an PCS resource. To delete a tag, specify the tag key and the Amazon Resource Name (ARN) of the PCS resource.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -129,7 +129,7 @@ declare const UpdateComputeNodeGroupCommand_base: {
|
|
|
129
129
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
130
130
|
*
|
|
131
131
|
* @throws {@link InternalServerException} (server fault)
|
|
132
|
-
* <p>
|
|
132
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
133
133
|
*
|
|
134
134
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
135
135
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
|
@@ -84,7 +84,7 @@ declare const UpdateQueueCommand_base: {
|
|
|
84
84
|
* <p>Your request has conflicting operations. This can occur if you're trying to perform more than 1 operation on the same resource at the same time.</p> <p> <u>Examples</u> </p> <ul> <li> <p>A cluster with the same name already exists.</p> </li> <li> <p>A cluster isn't in <code>ACTIVE</code> status.</p> </li> <li> <p>A cluster to delete is in an unstable state. For example, because it still has <code>ACTIVE</code> node groups or queues.</p> </li> <li> <p>A queue already exists in a cluster.</p> </li> </ul>
|
|
85
85
|
*
|
|
86
86
|
* @throws {@link InternalServerException} (server fault)
|
|
87
|
-
* <p>
|
|
87
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
88
88
|
*
|
|
89
89
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
90
90
|
* <p>The requested resource can't be found. The cluster, node group, or queue you're attempting to get, update, list, or delete doesn't exist.</p> <p> <u>Examples</u> </p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>
|
|
2
|
+
* <p>Parallel Computing Service (PCS) is a managed service that makes it easier for you to run and scale your high performance computing (HPC) workloads, and build scientific and engineering models on Amazon Web Services using Slurm. For more information, see the <a href="https://docs.aws.amazon.com/pcs/latest/userguide">Parallel Computing Service User Guide</a>.</p> <p>This reference describes the actions and data types of the service management API. You can use the Amazon Web Services SDKs to call the API actions in software, or use the Command Line Interface (CLI) to call the API actions manually. These API actions manage the service through an Amazon Web Services account.</p> <p>The API actions operate on PCS resources. A <i>resource</i> is an entity in Amazon Web Services that you can work with. Amazon Web Services services create resources when you use the features of the service. Examples of PCS resources include clusters, compute node groups, and queues. For more information about resources in Amazon Web Services, see <a href="https://docs.aws.amazon.com/resource-explorer/latest/userguide/getting-started-terms-and-concepts.html#term-resource">Resource</a> in the <i>Resource Explorer User Guide</i>. </p> <p>An PCS <i>compute node</i> is an Amazon EC2 instance. You don't launch compute nodes directly. PCS uses configuration information that you provide to launch compute nodes in your Amazon Web Services account. You receive billing charges for your running compute nodes. PCS automatically terminates your compute nodes when you delete the PCS resources related to those compute nodes.</p>
|
|
3
3
|
*
|
|
4
4
|
* @packageDocumentation
|
|
5
5
|
*/
|
|
@@ -79,7 +79,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
79
79
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
|
-
* <p>An Amazon EC2 launch template
|
|
82
|
+
* <p>An Amazon EC2 launch template PCS uses to launch compute nodes.</p>
|
|
83
83
|
* @public
|
|
84
84
|
*/
|
|
85
85
|
export interface CustomLaunchTemplate {
|
|
@@ -95,12 +95,12 @@ export interface CustomLaunchTemplate {
|
|
|
95
95
|
version: string | undefined;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
|
-
* <p>An EC2 instance configuration
|
|
98
|
+
* <p>An EC2 instance configuration PCS uses to launch compute nodes.</p>
|
|
99
99
|
* @public
|
|
100
100
|
*/
|
|
101
101
|
export interface InstanceConfig {
|
|
102
102
|
/**
|
|
103
|
-
* <p>The EC2 instance type that
|
|
103
|
+
* <p>The EC2 instance type that PCS can provision in the compute node group.</p> <p> Example: <code>t2.xlarge</code> </p>
|
|
104
104
|
* @public
|
|
105
105
|
*/
|
|
106
106
|
instanceType?: string | undefined;
|
|
@@ -139,7 +139,7 @@ export interface ScalingConfigurationRequest {
|
|
|
139
139
|
*/
|
|
140
140
|
export interface SlurmCustomSetting {
|
|
141
141
|
/**
|
|
142
|
-
* <p>
|
|
142
|
+
* <p>PCS supports configuration of the following Slurm parameters:</p> <ul> <li> <p>For <b>clusters</b> </p> <ul> <li> <p> <a href="https://slurm.schedmd.com/slurm.conf.html#OPT_Prolog_1"> <code>Prolog</code> </a> </p> </li> <li> <p> <a href="https://slurm.schedmd.com/slurm.conf.html#OPT_Epilog_1"> <code>Epilog</code> </a> </p> </li> <li> <p> <a href="https://slurm.schedmd.com/slurm.conf.html#OPT_SelectTypeParameters"> <code>SelectTypeParameters</code> </a> </p> </li> <li> <p> <a href="https://slurm.schedmd.com/slurm.conf.html#OPT_AccountingStorageEnforce"> <code>AccountingStorageEnforce</code> </a> </p> <important> <p>PCS supports a subset of the options for <code>AccountingStorageEnforce</code>. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurm-accounting.html">Slurm accounting in PCS</a> in the <i>PCS User Guide</i>.</p> </important> </li> </ul> </li> <li> <p>For <b>compute node groups</b> </p> <ul> <li> <p> <a href="https://slurm.schedmd.com/slurm.conf.html#OPT_Weight"> <code>Weight</code> </a> </p> </li> <li> <p> <a href="https://slurm.schedmd.com/slurm.conf.html#OPT_Weight"> <code>RealMemory</code> </a> </p> </li> </ul> </li> </ul>
|
|
143
143
|
* @public
|
|
144
144
|
*/
|
|
145
145
|
parameterName: string | undefined;
|
|
@@ -199,7 +199,7 @@ export interface CreateComputeNodeGroupRequest {
|
|
|
199
199
|
*/
|
|
200
200
|
computeNodeGroupName: string | undefined;
|
|
201
201
|
/**
|
|
202
|
-
* <p> The ID of the Amazon Machine Image (AMI) that
|
|
202
|
+
* <p> The ID of the Amazon Machine Image (AMI) that PCS uses to launch compute nodes (Amazon EC2 instances). If you don't provide this value, PCS uses the AMI ID specified in the custom launch template.</p>
|
|
203
203
|
* @public
|
|
204
204
|
*/
|
|
205
205
|
amiId?: string | undefined;
|
|
@@ -214,7 +214,7 @@ export interface CreateComputeNodeGroupRequest {
|
|
|
214
214
|
*/
|
|
215
215
|
purchaseOption?: PurchaseOption | undefined;
|
|
216
216
|
/**
|
|
217
|
-
* <p>An Amazon EC2 launch template
|
|
217
|
+
* <p>An Amazon EC2 launch template PCS uses to launch compute nodes.</p>
|
|
218
218
|
* @public
|
|
219
219
|
*/
|
|
220
220
|
customLaunchTemplate: CustomLaunchTemplate | undefined;
|
|
@@ -358,7 +358,7 @@ export interface ComputeNodeGroup {
|
|
|
358
358
|
*/
|
|
359
359
|
status: ComputeNodeGroupStatus | undefined;
|
|
360
360
|
/**
|
|
361
|
-
* <p>The ID of the Amazon Machine Image (AMI) that
|
|
361
|
+
* <p>The ID of the Amazon Machine Image (AMI) that PCS uses to launch instances. If not provided, PCS uses the AMI ID specified in the custom launch template.</p>
|
|
362
362
|
* @public
|
|
363
363
|
*/
|
|
364
364
|
amiId?: string | undefined;
|
|
@@ -373,7 +373,7 @@ export interface ComputeNodeGroup {
|
|
|
373
373
|
*/
|
|
374
374
|
purchaseOption?: PurchaseOption | undefined;
|
|
375
375
|
/**
|
|
376
|
-
* <p>An Amazon EC2 launch template
|
|
376
|
+
* <p>An Amazon EC2 launch template PCS uses to launch compute nodes.</p>
|
|
377
377
|
* @public
|
|
378
378
|
*/
|
|
379
379
|
customLaunchTemplate: CustomLaunchTemplate | undefined;
|
|
@@ -419,7 +419,7 @@ export interface CreateComputeNodeGroupResponse {
|
|
|
419
419
|
computeNodeGroup?: ComputeNodeGroup | undefined;
|
|
420
420
|
}
|
|
421
421
|
/**
|
|
422
|
-
* <p>
|
|
422
|
+
* <p>PCS can't process your request right now. Try again later.</p>
|
|
423
423
|
* @public
|
|
424
424
|
*/
|
|
425
425
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -707,7 +707,7 @@ export interface UpdateComputeNodeGroupRequest {
|
|
|
707
707
|
*/
|
|
708
708
|
computeNodeGroupIdentifier: string | undefined;
|
|
709
709
|
/**
|
|
710
|
-
* <p>The ID of the Amazon Machine Image (AMI) that
|
|
710
|
+
* <p>The ID of the Amazon Machine Image (AMI) that PCS uses to launch instances. If not provided, PCS uses the AMI ID specified in the custom launch template.</p>
|
|
711
711
|
* @public
|
|
712
712
|
*/
|
|
713
713
|
amiId?: string | undefined;
|
|
@@ -717,7 +717,7 @@ export interface UpdateComputeNodeGroupRequest {
|
|
|
717
717
|
*/
|
|
718
718
|
subnetIds?: string[] | undefined;
|
|
719
719
|
/**
|
|
720
|
-
* <p>An Amazon EC2 launch template
|
|
720
|
+
* <p>An Amazon EC2 launch template PCS uses to launch compute nodes.</p>
|
|
721
721
|
* @public
|
|
722
722
|
*/
|
|
723
723
|
customLaunchTemplate?: CustomLaunchTemplate | undefined;
|
|
@@ -812,12 +812,12 @@ export type SchedulerType = (typeof SchedulerType)[keyof typeof SchedulerType];
|
|
|
812
812
|
*/
|
|
813
813
|
export interface SchedulerRequest {
|
|
814
814
|
/**
|
|
815
|
-
* <p>The software
|
|
815
|
+
* <p>The software PCS uses to manage cluster scaling and job scheduling.</p>
|
|
816
816
|
* @public
|
|
817
817
|
*/
|
|
818
818
|
type: SchedulerType | undefined;
|
|
819
819
|
/**
|
|
820
|
-
* <p>The version of the specified scheduling software that
|
|
820
|
+
* <p>The version of the specified scheduling software that PCS uses to manage cluster scaling and job scheduling. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html">Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> <p>Valid Values: <code>23.11 | 24.05 | 24.11</code> </p>
|
|
821
821
|
* @public
|
|
822
822
|
*/
|
|
823
823
|
version: string | undefined;
|
|
@@ -945,7 +945,7 @@ export interface Endpoint {
|
|
|
945
945
|
*/
|
|
946
946
|
export interface Networking {
|
|
947
947
|
/**
|
|
948
|
-
* <p>The ID of the subnet where
|
|
948
|
+
* <p>The ID of the subnet where PCS creates an Elastic Network Interface (ENI) to enable communication between managed controllers and PCS resources. The subnet must have an available IP address, cannot reside in Outposts, Wavelength, or an Amazon Web Services Local Zone.</p> <p> Example: <code>subnet-abcd1234</code> </p>
|
|
949
949
|
* @public
|
|
950
950
|
*/
|
|
951
951
|
subnetIds?: string[] | undefined;
|
|
@@ -966,12 +966,12 @@ export interface Networking {
|
|
|
966
966
|
*/
|
|
967
967
|
export interface Scheduler {
|
|
968
968
|
/**
|
|
969
|
-
* <p>The software
|
|
969
|
+
* <p>The software PCS uses to manage cluster scaling and job scheduling.</p>
|
|
970
970
|
* @public
|
|
971
971
|
*/
|
|
972
972
|
type: SchedulerType | undefined;
|
|
973
973
|
/**
|
|
974
|
-
* <p>The version of the specified scheduling software that
|
|
974
|
+
* <p>The version of the specified scheduling software that PCS uses to manage cluster scaling and job scheduling. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html">Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> <p>Valid Values: <code>23.11 | 24.05 | 24.11</code> </p>
|
|
975
975
|
* @public
|
|
976
976
|
*/
|
|
977
977
|
version: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pcs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pcs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.886.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.883.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.886.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.873.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.876.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.886.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.883.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.873.0",
|
|
30
30
|
"@aws-sdk/types": "3.862.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.879.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.873.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.883.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.1.5",
|
|
35
35
|
"@smithy/core": "^3.9.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.1.1",
|