/AWS1/CL_SGM=>LISTMODELPACKAGES()
¶
About ListModelPackages¶
Lists the model packages that have been created.
Method Signature¶
IMPORTING¶
Optional arguments:¶
IV_CREATIONTIMEAFTER
TYPE /AWS1/SGMCREATIONTIME
/AWS1/SGMCREATIONTIME
¶
A filter that returns only model packages created after the specified time (timestamp).
IV_CREATIONTIMEBEFORE
TYPE /AWS1/SGMCREATIONTIME
/AWS1/SGMCREATIONTIME
¶
A filter that returns only model packages created before the specified time (timestamp).
IV_MAXRESULTS
TYPE /AWS1/SGMMAXRESULTS
/AWS1/SGMMAXRESULTS
¶
The maximum number of model packages to return in the response.
IV_NAMECONTAINS
TYPE /AWS1/SGMNAMECONTAINS
/AWS1/SGMNAMECONTAINS
¶
A string in the model package name. This filter returns only model packages whose name contains the specified string.
IV_MODELAPPROVALSTATUS
TYPE /AWS1/SGMMODELAPPROVALSTATUS
/AWS1/SGMMODELAPPROVALSTATUS
¶
A filter that returns only the model packages with the specified approval status.
IV_MODELPACKAGEGROUPNAME
TYPE /AWS1/SGMARNORNAME
/AWS1/SGMARNORNAME
¶
A filter that returns only model versions that belong to the specified model group.
IV_MODELPACKAGETYPE
TYPE /AWS1/SGMMODELPACKAGETYPE
/AWS1/SGMMODELPACKAGETYPE
¶
A filter that returns only the model packages of the specified type. This can be one of the following values.
UNVERSIONED
- List only unversioined models. This is the default value if noModelPackageType
is specified.
VERSIONED
- List only versioned models.
BOTH
- List both versioned and unversioned models.
IV_NEXTTOKEN
TYPE /AWS1/SGMNEXTTOKEN
/AWS1/SGMNEXTTOKEN
¶
If the response to a previous
ListModelPackages
request was truncated, the response includes aNextToken
. To retrieve the next set of model packages, use the token in the next request.
IV_SORTBY
TYPE /AWS1/SGMMODELPACKAGESORTBY
/AWS1/SGMMODELPACKAGESORTBY
¶
The parameter by which to sort the results. The default is
CreationTime
.
IV_SORTORDER
TYPE /AWS1/SGMSORTORDER
/AWS1/SGMSORTORDER
¶
The sort order for the results. The default is
Ascending
.