describe_ml_models
async
¶
describe_ml_models(
*,
config_overrides: Optional[AsyncMachineLearningClientConfig] = None,
filter_variable: Optional[MLModelFilterVariable] = None,
eq: Optional[ComparatorValue] = None,
gt: Optional[ComparatorValue] = None,
lt: Optional[ComparatorValue] = None,
ge: Optional[ComparatorValue] = None,
le: Optional[ComparatorValue] = None,
ne: Optional[ComparatorValue] = None,
prefix: Optional[ComparatorValue] = None,
sort_order: Optional[SortOrder] = None,
next_token: Optional[StringType] = None,
limit: Optional[PageLimit] = None,
) -> DescribeMLModelsOutput
Returns a list of MLModel that match the search criteria in the request.
Parameters:
-
filter_variable(Optional[MLModelFilterVariable], default:None) –Use one of the following variables to filter a list of
MLModel:-
CreatedAt- Sets the search criteria toMLModelcreation date. -
Status- Sets the search criteria toMLModelstatus. -
Name- Sets the search criteria to the contents ofMLModelName. -
IAMUser- Sets the search criteria to the user account that invoked theMLModelcreation. -
TrainingDataSourceId- Sets the search criteria to theDataSourceused to train one or moreMLModel. -
RealtimeEndpointStatus- Sets the search criteria to theMLModelreal-time endpoint status. -
MLModelType- Sets the search criteria toMLModeltype: binary, regression, or multi-class. -
Algorithm- Sets the search criteria to the algorithm that theMLModeluses. -
TrainingDataURI- Sets the search criteria to the data file(s) used in training aMLModel. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
-
-
eq(Optional[ComparatorValue], default:None) –The equal to operator. The
MLModelresults will haveFilterVariablevalues that exactly match the value specified withEQ. -
gt(Optional[ComparatorValue], default:None) –The greater than operator. The
MLModelresults will haveFilterVariablevalues that are greater than the value specified withGT. -
lt(Optional[ComparatorValue], default:None) –The less than operator. The
MLModelresults will haveFilterVariablevalues that are less than the value specified withLT. -
ge(Optional[ComparatorValue], default:None) –The greater than or equal to operator. The
MLModelresults will haveFilterVariablevalues that are greater than or equal to the value specified withGE. -
le(Optional[ComparatorValue], default:None) –The less than or equal to operator. The
MLModelresults will haveFilterVariablevalues that are less than or equal to the value specified withLE. -
ne(Optional[ComparatorValue], default:None) –The not equal to operator. The
MLModelresults will haveFilterVariablevalues not equal to the value specified withNE. -
prefix(Optional[ComparatorValue], default:None) –A string that is found at the beginning of a variable, such as
NameorId.For example, an
MLModelcould have theName2014-09-09-HolidayGiftMailer. To search for thisMLModel, selectNamefor theFilterVariableand any of the following strings for thePrefix:-
2014-09
-
2014-09-09
-
2014-09-09-Holiday
-
-
sort_order(Optional[SortOrder], default:None) –A two-value parameter that determines the sequence of the resulting list of
MLModel.-
asc- Arranges the list in ascending order (A-Z, 0-9). -
dsc- Arranges the list in descending order (Z-A, 9-0).
Results are sorted by
FilterVariable. -
-
next_token(Optional[StringType], default:None) –The ID of the page in the paginated results.
-
limit(Optional[PageLimit], default:None) –The number of pages of information to include in the result. The range of acceptable values is
1through100. The default value is100.
Raises:
-
InternalServerException–An error on the server occurred when trying to process a request.
-
InvalidInputException–An error on the client occurred. Typically, the cause is an invalid input value.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_machine_learning/_services/async_machine_learning.py
1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 | |