Skip to content

/AWS1/CL_SGM=>LISTMODELPACKAGEGROUPS()

About ListModelPackageGroups

Gets a list of the model groups in your Amazon Web Services account.

Method Signature

IMPORTING

Optional arguments:

IV_CREATIONTIMEAFTER TYPE /AWS1/SGMCREATIONTIME /AWS1/SGMCREATIONTIME

A filter that returns only model groups created after the specified time.

IV_CREATIONTIMEBEFORE TYPE /AWS1/SGMCREATIONTIME /AWS1/SGMCREATIONTIME

A filter that returns only model groups created before the specified time.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

The maximum number of results to return in the response.

IV_NAMECONTAINS TYPE /AWS1/SGMNAMECONTAINS /AWS1/SGMNAMECONTAINS

A string in the model group name. This filter returns only model groups whose name contains the specified string.

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

If the result of the previous ListModelPackageGroups request was truncated, the response includes a NextToken. To retrieve the next set of model groups, use the token in the next request.

IV_SORTBY TYPE /AWS1/SGMMODELPACKAGEGRPSORTBY /AWS1/SGMMODELPACKAGEGRPSORTBY

The field to sort results by. The default is CreationTime.

IV_SORTORDER TYPE /AWS1/SGMSORTORDER /AWS1/SGMSORTORDER

The sort order for results. The default is Ascending.

IV_CROSSACCOUNTFILTEROPTION TYPE /AWS1/SGMCROSSACCTFILTEROPTION /AWS1/SGMCROSSACCTFILTEROPTION

A filter that returns either model groups shared with you or model groups in your own account. When the value is CrossAccount, the results show the resources made discoverable to you from other accounts. When the value is SameAccount or null, the results show resources from your account. The default is SameAccount.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLSTMDELPACKAGEGR01 /AWS1/CL_SGMLSTMDELPACKAGEGR01