create_model_bias_job_definition
async
¶
create_model_bias_job_definition(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
job_definition_name: Optional[MonitoringJobDefinitionName] = None,
model_bias_baseline_config: Optional[ModelBiasBaselineConfig] = None,
model_bias_app_specification: Optional[ModelBiasAppSpecification] = None,
model_bias_job_input: Optional[ModelBiasJobInput] = None,
model_bias_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,
) -> CreateModelBiasJobDefinitionResponse
Creates the definition for a model bias job.
Parameters:
-
job_definition_name(Optional[MonitoringJobDefinitionName], default:None) –The name of the bias job definition. The name must be unique within an Amazon Web Services Region in the Amazon Web Services account.
-
model_bias_baseline_config(Optional[ModelBiasBaselineConfig], default:None) –The baseline configuration for a model bias job.
-
model_bias_app_specification(Optional[ModelBiasAppSpecification], default:None) –Configures the model bias job to run a specified Docker container image.
-
model_bias_job_input(Optional[ModelBiasJobInput], default:None) –Inputs for the model bias job.
-
network_config(Optional[MonitoringNetworkConfig], default:None) –Networking options for a model bias 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
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 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 | |