list_labels
async
¶
list_labels(
label_group_name: LabelGroupName,
*,
config_overrides: Optional[AsyncLookoutEquipmentClientConfig] = 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/async_lookout_equipment.py
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 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 | |