list_models
¶
list_models(
*,
config_overrides: Optional[LookoutEquipmentClientConfig] = 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/lookout_equipment.py
2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 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 | |