list_metric_values
¶
list_metric_values(
thing_name: DeviceDefenderThingName,
metric_name: BehaviorMetric,
start_time: Timestamp,
end_time: Timestamp,
*,
config_overrides: Optional[IoTClientConfig] = None,
dimension_name: Optional[DimensionName] = None,
dimension_value_operator: Optional[DimensionValueOperator] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListMetricValuesResponse
Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric) by the given thing during the specified time period.
Parameters:
-
thing_name(DeviceDefenderThingName) –The name of the thing for which security profile metric values are returned.
-
metric_name(BehaviorMetric) –The name of the security profile metric for which values are returned.
-
dimension_name(Optional[DimensionName], default:None) –The dimension name.
-
dimension_value_operator(Optional[DimensionValueOperator], default:None) –The dimension value operator.
-
start_time(Timestamp) –The start of the time period for which metric values are returned.
-
end_time(Timestamp) –The end of the time period for which metric values are returned.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return at one time.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource does not exist.
-
ThrottlingException–The rate exceeds the limit.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/io_t.py
11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 | |