create_model_monitor_config
¶
create_model_monitor_config(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
model_monitor_config_name: Optional[ModelMonitorConfigName] = None,
monitoring_source: Optional[MonitoringSource] = None,
evaluation_config: Optional[EvaluationConfig] = None,
schedule_config: Optional[ModelMonitorScheduleConfig] = None,
role_arn: Optional[RoleArn] = None,
tags: Optional[TagList] = None,
client_token: Optional[ModelMonitorClientToken] = None,
) -> CreateModelMonitorConfigResponse
Creates a model monitor configuration.
The operation runs synchronously and is idempotent. If you retry the request with the same ClientToken, you get the result of the original request.
This operation is in public preview release for Amazon SageMaker AI and is subject to change. This feature is not recommended for production environments.
Parameters:
-
model_monitor_config_name(Optional[ModelMonitorConfigName], default:None) –The name of the model monitor configuration.
-
monitoring_source(Optional[MonitoringSource], default:None) –The source that the model monitor configuration monitors.
-
evaluation_config(Optional[EvaluationConfig], default:None) –The evaluation monitoring settings. Specify
EvaluationConfig. -
schedule_config(Optional[ModelMonitorScheduleConfig], default:None) –The schedule on which the model monitor configuration runs.
-
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) of the IAM role that the model monitor configuration uses.
-
tags(Optional[TagList], default:None) –A list of key-value pairs to apply to the model monitor configuration. For information about tagging, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
-
client_token(Optional[ModelMonitorClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If you retry a request with the same client token, you get the result of the original request and no error.
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
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.
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 | |