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
5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 | |