list_models
async
¶
list_models(
*,
config_overrides: Optional[AsyncLookoutEquipmentClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
status: Optional[ModelStatus] = None,
model_name_begins_with: Optional[ModelName] = None,
dataset_name_begins_with: Optional[DatasetName] = None,
) -> ListModelsResponse
Generates a list of all models in the account, including model name and ARN, dataset, and status.
Parameters:
-
next_token(Optional[NextToken], default:None) –An opaque pagination token indicating where to continue the listing of machine learning models.
-
max_results(Optional[MaxResults], default:None) –Specifies the maximum number of machine learning models to list.
-
status(Optional[ModelStatus], default:None) –The status of the machine learning model.
-
model_name_begins_with(Optional[ModelName], default:None) –The beginning of the name of the machine learning models being listed.
-
dataset_name_begins_with(Optional[DatasetName], default:None) –The beginning of the name of the dataset of the machine learning models to be listed.
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
2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 | |