list_metric_values
async
¶
list_metric_values(
thing_name: DeviceDefenderThingName,
metric_name: BehaviorMetric,
start_time: Timestamp,
end_time: Timestamp,
*,
config_overrides: Optional[AsyncIoTClientConfig] = 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/async_io_t.py
12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 | |