Skip to content

CreateComputeQuotaRequest

Source code in docs_src/capo_sagemaker/types/create_compute_quota_request.py
class CreateComputeQuotaRequest(TypedDict, closed=True):
    name: NotRequired["capo_sagemaker.types.entity_name.EntityName"]
    """<p>The name of the compute allocation definition. The name must be unique within the SageMaker AI HyperPod cluster specified by <code>ClusterArn</code>. You can use the same name in other clusters within a Region or across Regions.</p>"""
    description: NotRequired[
        "capo_sagemaker.types.entity_description.EntityDescription"
    ]
    """<p>Description of the compute allocation definition.</p>"""
    cluster_arn: NotRequired["capo_sagemaker.types.cluster_arn.ClusterArn"]
    """<p>ARN of the cluster.</p>"""
    compute_quota_config: NotRequired[
        "capo_sagemaker.types.compute_quota_config.ComputeQuotaConfig"
    ]
    """<p>Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks.</p>"""
    compute_quota_target: NotRequired[
        "capo_sagemaker.types.compute_quota_target.ComputeQuotaTarget"
    ]
    """<p>The target entity to allocate compute resources to.</p>"""
    activation_state: NotRequired[
        "capo_sagemaker.types.activation_state.ActivationState"
    ]
    """<p>The state of the compute allocation being described. Use to enable or disable compute allocation.</p> <p>Default is <code>Enabled</code>.</p>"""
    tags: NotRequired["capo_sagemaker.types.tag_list.TagList"]
    """<p>Tags of the compute allocation definition.</p>"""

activation_state instance-attribute

activation_state: NotRequired[ActivationState]

The state of the compute allocation being described. Use to enable or disable compute allocation.

Default is Enabled.

cluster_arn instance-attribute

cluster_arn: NotRequired[ClusterArn]

ARN of the cluster.

compute_quota_config instance-attribute

compute_quota_config: NotRequired[ComputeQuotaConfig]

Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks.

compute_quota_target instance-attribute

compute_quota_target: NotRequired[ComputeQuotaTarget]

The target entity to allocate compute resources to.

description instance-attribute

description: NotRequired[EntityDescription]

Description of the compute allocation definition.

name instance-attribute

name: NotRequired[EntityName]

The name of the compute allocation definition. The name must be unique within the SageMaker AI HyperPod cluster specified by ClusterArn. You can use the same name in other clusters within a Region or across Regions.

tags instance-attribute

tags: NotRequired[TagList]

Tags of the compute allocation definition.