Awso_pcs_asyncSourceval create_cluster :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.CreateClusterRequest.t ->
(Awso_pcs.Values.CreateClusterResponse.t,
Awso_pcs.Values.CreateClusterResponse.error)
Result.t
Async.Deferred.tval create_compute_node_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.CreateComputeNodeGroupRequest.t ->
(Awso_pcs.Values.CreateComputeNodeGroupResponse.t,
Awso_pcs.Values.CreateComputeNodeGroupResponse.error)
Result.t
Async.Deferred.tval create_queue :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.CreateQueueRequest.t ->
(Awso_pcs.Values.CreateQueueResponse.t,
Awso_pcs.Values.CreateQueueResponse.error)
Result.t
Async.Deferred.tval delete_cluster :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.DeleteClusterRequest.t ->
(Awso_pcs.Values.DeleteClusterResponse.t,
Awso_pcs.Values.DeleteClusterResponse.error)
Result.t
Async.Deferred.tval delete_compute_node_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.DeleteComputeNodeGroupRequest.t ->
(Awso_pcs.Values.DeleteComputeNodeGroupResponse.t,
Awso_pcs.Values.DeleteComputeNodeGroupResponse.error)
Result.t
Async.Deferred.tval delete_queue :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.DeleteQueueRequest.t ->
(Awso_pcs.Values.DeleteQueueResponse.t,
Awso_pcs.Values.DeleteQueueResponse.error)
Result.t
Async.Deferred.tval get_cluster :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.GetClusterRequest.t ->
(Awso_pcs.Values.GetClusterResponse.t,
Awso_pcs.Values.GetClusterResponse.error)
Result.t
Async.Deferred.tval get_compute_node_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.GetComputeNodeGroupRequest.t ->
(Awso_pcs.Values.GetComputeNodeGroupResponse.t,
Awso_pcs.Values.GetComputeNodeGroupResponse.error)
Result.t
Async.Deferred.tval get_queue :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.GetQueueRequest.t ->
(Awso_pcs.Values.GetQueueResponse.t, Awso_pcs.Values.GetQueueResponse.error)
Result.t
Async.Deferred.tval list_clusters :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.ListClustersRequest.t ->
(Awso_pcs.Values.ListClustersResponse.t,
Awso_pcs.Values.ListClustersResponse.error)
Result.t
Async.Deferred.tval list_compute_node_groups :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.ListComputeNodeGroupsRequest.t ->
(Awso_pcs.Values.ListComputeNodeGroupsResponse.t,
Awso_pcs.Values.ListComputeNodeGroupsResponse.error)
Result.t
Async.Deferred.tval list_queues :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.ListQueuesRequest.t ->
(Awso_pcs.Values.ListQueuesResponse.t,
Awso_pcs.Values.ListQueuesResponse.error)
Result.t
Async.Deferred.tval list_tags_for_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.ListTagsForResourceRequest.t ->
(Awso_pcs.Values.ListTagsForResourceResponse.t,
Awso_pcs.Values.ListTagsForResourceResponse.error)
Result.t
Async.Deferred.tval register_compute_node_group_instance :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.RegisterComputeNodeGroupInstanceRequest.t ->
(Awso_pcs.Values.RegisterComputeNodeGroupInstanceResponse.t,
Awso_pcs.Values.RegisterComputeNodeGroupInstanceResponse.error)
Result.t
Async.Deferred.tval tag_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.TagResourceRequest.t ->
(Awso_pcs.Values.TagResourceResponse.t,
Awso_pcs.Values.TagResourceResponse.error)
Result.t
Async.Deferred.tval untag_resource :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.UntagResourceRequest.t ->
(Awso_pcs.Values.UntagResourceResponse.t,
Awso_pcs.Values.UntagResourceResponse.error)
Result.t
Async.Deferred.tval update_cluster :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.UpdateClusterRequest.t ->
(Awso_pcs.Values.UpdateClusterResponse.t,
Awso_pcs.Values.UpdateClusterResponse.error)
Result.t
Async.Deferred.tval update_compute_node_group :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.UpdateComputeNodeGroupRequest.t ->
(Awso_pcs.Values.UpdateComputeNodeGroupResponse.t,
Awso_pcs.Values.UpdateComputeNodeGroupResponse.error)
Result.t
Async.Deferred.tval update_queue :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_pcs.Values.UpdateQueueRequest.t ->
(Awso_pcs.Values.UpdateQueueResponse.t,
Awso_pcs.Values.UpdateQueueResponse.error)
Result.t
Async.Deferred.tinclude module type of struct include Awso_pcs.Values endval structure_to_value_aux :
('a * 'b option) list ->
f:(('a * 'b) list -> 'c) ->
[> `Structure of 'c ]val structure_to_wrapped_value :
wrapper:'a ->
response:'a ->
('b * 'c option) list ->
[> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]Additional settings that directly map to Slurm settings. PCS supports a subset of Slurm settings. For more information, see Configuring custom Slurm settings in PCS in the PCS User Guide.
module AccountingDefaultPurgeTimeInDaysInteger =
Awso_pcs.Values.AccountingDefaultPurgeTimeInDaysIntegerAdditional settings that directly map to Cgroup settings. PCS supports a subset of Cgroup settings. For more information, see Configuring custom Cgroup settings in PCS in the PCS User Guide.
The JWT key stored in Amazon Web Services Secrets Manager for Slurm REST API authentication.
Additional settings that directly map to SlurmDBD settings. PCS supports a subset of SlurmDBD settings. For more information, see Configuring custom SlurmDBD settings in PCS in the PCS User Guide.
The compute node group configuration for a queue.
An error that occurred during resource creation.
Stores information about a field in a request that caused an exception.
An EC2 instance configuration PCS uses to launch compute nodes.
module ScalingConfigurationMaxInstanceCountInteger =
Awso_pcs.Values.ScalingConfigurationMaxInstanceCountIntegermodule ScalingConfigurationMinInstanceCountInteger =
Awso_pcs.Values.ScalingConfigurationMinInstanceCountIntegerThe accounting configuration includes configurable settings for Slurm accounting. It's a property of the ClusterSlurmConfiguration object.
module ClusterSlurmConfigurationScaleDownIdleTimeInSecondsInteger =
Awso_pcs.Values.ClusterSlurmConfigurationScaleDownIdleTimeInSecondsIntegerThe JWT authentication configuration for Slurm REST API access.
The shared Slurm key for authentication, also known as the cluster secret.
The Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API. It's a property of the ClusterSlurmConfiguration object.
An endpoint available for interaction with the scheduler.
module UpdateAccountingRequestDefaultPurgeTimeInDaysInteger =
Awso_pcs.Values.UpdateAccountingRequestDefaultPurgeTimeInDaysIntegermodule AccountingRequestDefaultPurgeTimeInDaysInteger =
Awso_pcs.Values.AccountingRequestDefaultPurgeTimeInDaysIntegerAdditional options related to the Slurm scheduler.
module ComputeNodeGroupSlurmConfiguration =
Awso_pcs.Values.ComputeNodeGroupSlurmConfigurationAdditional options related to the Slurm scheduler.
An Amazon EC2 launch template PCS uses to launch compute nodes.
Specifies the boundaries of the compute node group auto scaling.
Additional configuration when you specify SPOT as the purchaseOption for the CreateComputeNodeGroup API action.
module ScalingConfigurationRequestMaxInstanceCountInteger =
Awso_pcs.Values.ScalingConfigurationRequestMaxInstanceCountIntegermodule ScalingConfigurationRequestMinInstanceCountInteger =
Awso_pcs.Values.ScalingConfigurationRequestMinInstanceCountIntegerAdditional options related to the Slurm scheduler.
The networking configuration for the cluster's control plane.
The cluster management and job scheduling software associated with the cluster.
The accounting configuration includes configurable settings for Slurm accounting.
module UpdateClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger =
Awso_pcs.Values.UpdateClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsIntegerThe Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API.
The object returned by the ListQueues API action.
The object returned by the ListComputeNodeGroups API action.
The object returned by the ListClusters API action.
The accounting configuration includes configurable settings for Slurm accounting. It's a property of the ClusterSlurmConfiguration object.
module ClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger =
Awso_pcs.Values.ClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsIntegerThe Slurm REST API configuration includes settings for enabling and configuring the Slurm REST API. It's a property of the ClusterSlurmConfiguration object.
You don't have permission to perform the action. Examples The launch template instance profile doesn't pass iam:PassRole verification. There is a mismatch between the account ID and cluster ID. The cluster ID doesn't exist. The EC2 instance isn't present.
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. Examples A cluster with the same name already exists. A cluster isn't in ACTIVE status. A cluster to delete is in an unstable state. For example, because it still has ACTIVE node groups or queues. A queue already exists in a cluster.
PCS can't process your request right now. Try again later.
A queue resource.
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. Examples
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 Requesting a quota increase in the Service Quotas User Guide Examples The max number of clusters or queues has been reached for the account. The max number of compute node groups has been reached for the associated cluster. The total of maxInstances across all compute node groups has been reached for associated cluster.
Your request exceeded a request rate quota. Check the resource's request rate quota and try again.
The request isn't valid. Examples Your request contains malformed JSON or unsupported characters. The scheduler version isn't supported. There are networking related errors, such as network validation failure. AMI type is CUSTOM and the launch template doesn't define the AMI ID, or the AMI type is AL2 and the launch template defines the AMI.
module UpdateQueueSlurmConfigurationRequest =
Awso_pcs.Values.UpdateQueueSlurmConfigurationRequestAdditional options related to the Slurm scheduler.
A compute node group associated with a cluster.
Specifies the boundaries of the compute node group auto scaling.
module UpdateComputeNodeGroupSlurmConfigurationRequest =
Awso_pcs.Values.UpdateComputeNodeGroupSlurmConfigurationRequestAdditional options related to the Slurm scheduler.
The cluster resource and configuration.
module UpdateClusterSlurmConfigurationRequest =
Awso_pcs.Values.UpdateClusterSlurmConfigurationRequestAdditional options related to the Slurm scheduler.
Additional options related to the Slurm scheduler.
module ComputeNodeGroupSlurmConfigurationRequest =
Awso_pcs.Values.ComputeNodeGroupSlurmConfigurationRequestAdditional options related to the Slurm scheduler.
Additional options related to the Slurm scheduler.
The networking configuration for the cluster's control plane.
The cluster management and job scheduling software associated with the cluster.
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.
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.
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).
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).
Updates a cluster configuration. You can modify Slurm scheduler settings, accounting configuration, and security groups for an existing cluster. You can only update clusters that are in ACTIVE, UPDATE_FAILED, or SUSPENDED state. All associated resources (queues and compute node groups) must be in ACTIVE state before you can update the cluster.
Updates a cluster configuration. You can modify Slurm scheduler settings, accounting configuration, and security groups for an existing cluster. You can only update clusters that are in ACTIVE, UPDATE_FAILED, or SUSPENDED state. All associated resources (queues and compute node groups) must be in ACTIVE state before you can update the cluster.
Deletes tags from an PCS resource. To delete a tag, specify the tag key and the Amazon Resource Name (ARN) of the PCS resource.
Deletes tags from an PCS resource. To delete a tag, specify the tag key and the Amazon Resource Name (ARN) of the PCS resource.
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.
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.
module RegisterComputeNodeGroupInstanceResponse =
Awso_pcs.Values.RegisterComputeNodeGroupInstanceResponseThis API action isn't intended for you to use. PCS uses this API action to register the compute nodes it launches in your account.
module RegisterComputeNodeGroupInstanceRequest =
Awso_pcs.Values.RegisterComputeNodeGroupInstanceRequestThis API action isn't intended for you to use. PCS uses this API action to register the compute nodes it launches in your account.
Returns a list of all tags on an PCS resource.
Returns a list of all tags on an PCS resource.
Returns a list of all queues associated with a cluster.
Returns a list of all queues associated with a cluster.
Returns a list of all compute node groups associated with a cluster.
Returns a list of all compute node groups associated with a cluster.
Returns a list of running clusters in your account.
Returns a list of running clusters in your account.
Returns detailed information about a queue. The information includes the compute node groups that the queue uses to schedule jobs.
Returns detailed information about a queue. The information includes the compute node groups that the queue uses to schedule jobs.
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.
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.
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.
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.
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.
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.
Deletes a compute node group. You must delete all queues associated with the compute node group first.
Deletes a compute node group. You must delete all queues associated with the compute node group first.
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.
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.
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.
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.
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 Launch an instance from a launch template in the Amazon Elastic Compute Cloud User Guide for Linux Instances.
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 Launch an instance from a launch template in the Amazon Elastic Compute Cloud User Guide for Linux Instances.
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. It takes time for PCS to create the cluster. The cluster is in a Creating state until it is ready to use. There can only be 1 cluster in a Creating state per Amazon Web Services Region per Amazon Web Services account. CreateCluster fails with a ServiceQuotaExceededException if there is already a cluster in a Creating state.
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. It takes time for PCS to create the cluster. The cluster is in a Creating state until it is ready to use. There can only be 1 cluster in a Creating state per Amazon Web Services Region per Amazon Web Services account. CreateCluster fails with a ServiceQuotaExceededException if there is already a cluster in a Creating state.