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
6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 | |