batch_get_rum_metric_definitions
¶
batch_get_rum_metric_definitions(
app_monitor_name: AppMonitorName,
destination: MetricDestination,
*,
config_overrides: Optional[RUMClientConfig] = None,
destination_arn: Optional[DestinationArn] = None,
max_results: Optional[MaxResultsInteger] = None,
next_token: Optional[str] = None,
) -> BatchGetRumMetricDefinitionsResponse
Retrieves the list of metrics and dimensions that a RUM app monitor is sending to a single destination.
Parameters:
-
app_monitor_name(AppMonitorName) –The name of the CloudWatch RUM app monitor that is sending the metrics.
-
destination(MetricDestination) –The type of destination that you want to view metrics for. Valid values are
CloudWatchandEvidently. -
destination_arn(Optional[DestinationArn], default:None) –This parameter is required if
DestinationisEvidently. IfDestinationisCloudWatch, do not use this parameter.This parameter specifies the ARN of the Evidently experiment that corresponds to the destination.
-
max_results(Optional[MaxResultsInteger], default:None) –The maximum number of results to return in one operation. The default is 50. The maximum that you can specify is 100.
To retrieve the remaining results, make another call with the returned
NextTokenvalue. -
next_token(Optional[str], default:None) –Use the token returned by the previous operation to request the next page of results.
Raises:
-
AccessDeniedException–You don't have sufficient permissions to perform this action.
-
InternalServerException–Internal service exception.
-
ResourceNotFoundException–Resource not found.
-
ValidationException–One of the arguments for the request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.