list_model_monitor_configs
async
¶
list_model_monitor_configs(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
target_type: Optional[ModelMonitorTargetType] = None,
target_name: Optional[ModelMonitorTargetName] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListModelMonitorConfigsResponse
Lists the model monitor configurations that are attached to a single target, a SageMaker AI endpoint or an Amazon Bedrock model, in your account. SageMaker AI lists the configurations newest first. Results are paginated. To get the next page, use NextToken. A target can have more than one configuration, so the response includes every configuration that is attached to the target that you specify.
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:
-
target_type(Optional[ModelMonitorTargetType], default:None) –The type of the target whose model monitor configurations you want to list.
-
target_name(Optional[ModelMonitorTargetName], default:None) –The name of the target whose model monitor configurations you want to list: the endpoint name or the Amazon Bedrock model ID, depending on
TargetType. -
next_token(Optional[NextToken], default:None) –If the previous response was truncated, you receive this token. To get the next set of results, use it in your next request.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
25451 25452 25453 25454 25455 25456 25457 25458 25459 25460 25461 25462 25463 25464 25465 25466 25467 25468 25469 25470 25471 25472 25473 25474 25475 25476 25477 25478 25479 25480 25481 25482 25483 25484 25485 25486 25487 25488 25489 25490 25491 25492 25493 25494 25495 25496 25497 25498 25499 25500 25501 25502 25503 25504 25505 25506 25507 25508 25509 25510 | |