Package-level declarations

Types

Link copied to clipboard
interface PcsClient : SdkClient

Amazon Web Services Parallel Computing Service (Amazon Web Services 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 Amazon Web Services Parallel Computing Service User Guide.

Properties

Link copied to clipboard
const val SdkVersion: String
Link copied to clipboard
Link copied to clipboard
const val ServiceId: String

Inherited functions

Link copied to clipboard
inline suspend fun PcsClient.createCluster(crossinline block: CreateClusterRequest.Builder.() -> Unit): CreateClusterResponse

Creates a cluster in your account. Amazon Web Services 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.

Link copied to clipboard

Creates a managed set of compute nodes. You associate a compute node group with a cluster through 1 or more Amazon Web Services PCS queues or as part of the login fleet. A compute node group includes the definition of the compute properties and lifecycle management. Amazon Web Services 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 Amazon Web Services PCS launches in your account. You must already have a launch template before you call this API. For more information, see Launch an instance from a launch template in the Amazon Elastic Compute Cloud User Guide for Linux Instances.

Link copied to clipboard
inline suspend fun PcsClient.createQueue(crossinline block: CreateQueueRequest.Builder.() -> Unit): CreateQueueResponse

Creates a job queue. You must associate 1 or more compute node groups with the queue. You can associate 1 compute node group with multiple queues.

Link copied to clipboard
inline suspend fun PcsClient.deleteCluster(crossinline block: DeleteClusterRequest.Builder.() -> Unit): DeleteClusterResponse

Deletes a cluster and all its linked resources. You must delete all queues and compute node groups associated with the cluster before you can delete the cluster.

Link copied to clipboard

Deletes a compute node group. You must delete all queues associated with the compute node group first.

Link copied to clipboard
inline suspend fun PcsClient.deleteQueue(crossinline block: DeleteQueueRequest.Builder.() -> Unit): DeleteQueueResponse

Deletes a job queue. If the compute node group associated with this queue isn't associated with any other queues, Amazon Web Services PCS terminates all the compute nodes for this queue.

Link copied to clipboard
inline suspend fun PcsClient.getCluster(crossinline block: GetClusterRequest.Builder.() -> Unit): GetClusterResponse

Returns detailed information about a running cluster in your account. This API action provides networking information, endpoint information for communication with the scheduler, and provisioning status.

Link copied to clipboard

Returns detailed information about a compute node group. This API action provides networking information, EC2 instance type, compute node group status, and scheduler (such as Slurm) configuration.

Link copied to clipboard
inline suspend fun PcsClient.getQueue(crossinline block: GetQueueRequest.Builder.() -> Unit): GetQueueResponse

Returns detailed information about a queue. The information includes the compute node groups that the queue uses to schedule jobs.

Link copied to clipboard
inline suspend fun PcsClient.listClusters(crossinline block: ListClustersRequest.Builder.() -> Unit): ListClustersResponse

Returns a list of running clusters in your account.

Link copied to clipboard

Returns a list of all compute node groups associated with a cluster.

Link copied to clipboard
inline suspend fun PcsClient.listQueues(crossinline block: ListQueuesRequest.Builder.() -> Unit): ListQueuesResponse

Returns a list of all queues associated with a cluster.

Link copied to clipboard

Returns a list of all tags on an Amazon Web Services PCS resource.

Link copied to clipboard

This API action isn't intended for you to use.

Link copied to clipboard
inline suspend fun PcsClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse

Adds or edits tags on an Amazon Web Services 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.

Link copied to clipboard
inline suspend fun PcsClient.untagResource(crossinline block: UntagResourceRequest.Builder.() -> Unit): UntagResourceResponse

Deletes tags from an Amazon Web Services PCS resource. To delete a tag, specify the tag key and the Amazon Resource Name (ARN) of the Amazon Web Services PCS resource.

Link copied to clipboard

Updates a compute node group. You can update many of the fields related to your compute node group including the configurations for networking, compute nodes, and settings specific to your scheduler (such as Slurm).

Link copied to clipboard
inline suspend fun PcsClient.updateQueue(crossinline block: UpdateQueueRequest.Builder.() -> Unit): UpdateQueueResponse

Updates the compute node group configuration of a queue. Use this API to change the compute node groups that the queue can send jobs to.

Link copied to clipboard

Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.