Skip to content

Queue

Source code in docs_src/capo_pcs/types/queue.py
class Queue(TypedDict, closed=True):
    name: "capo_pcs.types.queue_name.QueueName"
    """<p>The name that identifies the queue.</p>"""
    id: "str"
    """<p>The generated unique ID of the queue.</p>"""
    arn: "str"
    """<p>The unique Amazon Resource Name (ARN) of the queue.</p>"""
    cluster_id: "str"
    """<p>The ID of the cluster of the queue.</p>"""
    created_at: "datetime.datetime"
    """<p>The date and time the resource was created.</p>"""
    modified_at: "datetime.datetime"
    """<p>The date and time the resource was modified.</p>"""
    status: "capo_pcs.types.queue_status.QueueStatus"
    """<p>The provisioning status of the queue.</p> <note> <p>The provisioning status doesn't indicate the overall health of the queue.</p> </note> <important> <p>The resource enters the <code>SUSPENDING</code> and <code>SUSPENDED</code> states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is <code>SUSPENDED</code>. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html">Frequently asked questions about Slurm versions in PCS</a> in the <i>PCS User Guide</i>.</p> </important>"""
    compute_node_group_configurations: "capo_pcs.types.compute_node_group_configuration_list.ComputeNodeGroupConfigurationList"
    """<p>The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.</p>"""
    slurm_configuration: NotRequired[
        "capo_pcs.types.queue_slurm_configuration.QueueSlurmConfiguration"
    ]
    """<p>Additional options related to the Slurm scheduler.</p>"""
    error_info: NotRequired["capo_pcs.types.error_info_list.ErrorInfoList"]
    """<p>The list of errors that occurred during queue provisioning.</p>"""

arn instance-attribute

arn: str

The unique Amazon Resource Name (ARN) of the queue.

cluster_id instance-attribute

cluster_id: str

The ID of the cluster of the queue.

compute_node_group_configurations instance-attribute

compute_node_group_configurations: ComputeNodeGroupConfigurationList

The list of compute node group configurations associated with the queue. Queues assign jobs to associated compute node groups.

created_at instance-attribute

created_at: datetime

The date and time the resource was created.

error_info instance-attribute

error_info: NotRequired[ErrorInfoList]

The list of errors that occurred during queue provisioning.

id instance-attribute

id: str

The generated unique ID of the queue.

modified_at instance-attribute

modified_at: datetime

The date and time the resource was modified.

name instance-attribute

name: QueueName

The name that identifies the queue.

slurm_configuration instance-attribute

slurm_configuration: NotRequired[QueueSlurmConfiguration]

Additional options related to the Slurm scheduler.

status instance-attribute

status: QueueStatus

The provisioning status of the queue.

The provisioning status doesn't indicate the overall health of the queue.

The resource enters the SUSPENDING and SUSPENDED states when the scheduler is beyond end of life and we have suspended the cluster. When in these states, you can't use the cluster. The cluster controller is down and all compute instances are terminated. The resources still count toward your service quotas. You can delete a resource if its status is SUSPENDED. For more information, see Frequently asked questions about Slurm versions in PCS in the PCS User Guide.