create_cluster_scheduler_config
async
¶
create_cluster_scheduler_config(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
name: Optional[EntityName] = None,
cluster_arn: Optional[ClusterArn] = None,
scheduler_config: Optional[SchedulerConfig] = None,
description: Optional[EntityDescription] = None,
tags: Optional[TagList] = None,
) -> CreateClusterSchedulerConfigResponse
Create cluster policy configuration. This policy is used for task prioritization and fair-share allocation of idle compute. This helps prioritize critical workloads and distributes idle compute across entities.
Parameters:
-
name(Optional[EntityName], default:None) –The name for the cluster policy. 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. -
cluster_arn(Optional[ClusterArn], default:None) –ARN of the cluster.
-
scheduler_config(Optional[SchedulerConfig], default:None) –Configuration about the monitoring schedule.
-
description(Optional[EntityDescription], default:None) –Description of the cluster policy.
-
tags(Optional[TagList], default:None) –Tags of the cluster policy.
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
ResourceLimitExceeded–You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 | |