create_model_quality_job_definition
async
¶
create_model_quality_job_definition(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
job_definition_name: Optional[MonitoringJobDefinitionName] = None,
model_quality_baseline_config: Optional[ModelQualityBaselineConfig] = None,
model_quality_app_specification: Optional[ModelQualityAppSpecification] = None,
model_quality_job_input: Optional[ModelQualityJobInput] = None,
model_quality_job_output_config: Optional[MonitoringOutputConfig] = None,
job_resources: Optional[MonitoringResources] = None,
network_config: Optional[MonitoringNetworkConfig] = None,
role_arn: Optional[RoleArn] = None,
stopping_condition: Optional[MonitoringStoppingCondition] = None,
tags: Optional[TagList] = None,
) -> CreateModelQualityJobDefinitionResponse
Creates a definition for a job that monitors model quality and drift. For information about model monitor, see Amazon SageMaker AI Model Monitor.
Parameters:
-
job_definition_name(Optional[MonitoringJobDefinitionName], default:None) –The name of the monitoring job definition.
-
model_quality_baseline_config(Optional[ModelQualityBaselineConfig], default:None) –Specifies the constraints and baselines for the monitoring job.
-
model_quality_app_specification(Optional[ModelQualityAppSpecification], default:None) –The container that runs the monitoring job.
-
model_quality_job_input(Optional[ModelQualityJobInput], default:None) –A list of the inputs that are monitored. Currently endpoints are supported.
-
network_config(Optional[MonitoringNetworkConfig], default:None) –Specifies the network configuration for the monitoring job.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker AI can assume to perform tasks on your behalf.
-
tags(Optional[TagList], default:None) –(Optional) An array of key-value pairs. For more information, see Using Cost Allocation Tags in the Amazon Web Services Billing and Cost Management User Guide.
Raises:
-
ResourceInUse–Resource being accessed is in use.
-
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
6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 | |