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
6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 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 | |