list_model_monitor_configs
¶
list_model_monitor_configs(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
25121 25122 25123 25124 25125 25126 25127 25128 25129 25130 25131 25132 25133 25134 25135 25136 25137 25138 25139 25140 25141 25142 25143 25144 25145 25146 25147 25148 25149 25150 25151 25152 25153 25154 25155 25156 25157 25158 25159 25160 25161 25162 25163 25164 25165 25166 25167 25168 25169 25170 25171 25172 25173 25174 25175 25176 25177 25178 25179 | |