list_labels
¶
list_labels(
label_group_name: LabelGroupName,
*,
config_overrides: Optional[LookoutEquipmentClientConfig] = None,
interval_start_time: Optional[Timestamp] = None,
interval_end_time: Optional[Timestamp] = None,
fault_code: Optional[FaultCode] = None,
equipment: Optional[Equipment] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListLabelsResponse
Provides a list of labels.
Parameters:
-
label_group_name(LabelGroupName) –Returns the name of the label group.
-
interval_start_time(Optional[Timestamp], default:None) –Returns all the labels with a end time equal to or later than the start time given.
-
interval_end_time(Optional[Timestamp], default:None) –Returns all labels with a start time earlier than the end time given.
-
fault_code(Optional[FaultCode], default:None) –Returns labels with a particular fault code.
-
equipment(Optional[Equipment], default:None) –Lists the labels that pertain to a particular piece of equipment.
-
next_token(Optional[NextToken], default:None) –An opaque pagination token indicating where to continue the listing of label groups.
-
max_results(Optional[MaxResults], default:None) –Specifies the maximum number of labels to list.
Raises:
-
AccessDeniedException–The request could not be completed because you do not have access to the resource.
-
InternalServerException–Processing of the request has failed because of an unknown error, exception or failure.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services service that's being utilized.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lookoutequipment/_services/lookout_equipment.py
2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 | |