create_model_quality_job_definition
¶
create_model_quality_job_definition(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 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 | |