Skip to content

/AWS1/CL_SGM=>LISTHUBS()

About ListHubs

List all existing hubs.

Hub APIs are only callable through SageMaker Studio.

Method Signature

IMPORTING

Optional arguments:

IV_NAMECONTAINS TYPE /AWS1/SGMNAMECONTAINS /AWS1/SGMNAMECONTAINS

Only list hubs with names that contain the specified string.

IV_CREATIONTIMEBEFORE TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

Only list hubs that were created before the time specified.

IV_CREATIONTIMEAFTER TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

Only list hubs that were created after the time specified.

IV_LASTMODIFIEDTIMEBEFORE TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

Only list hubs that were last modified before the time specified.

IV_LASTMODIFIEDTIMEAFTER TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

Only list hubs that were last modified after the time specified.

IV_SORTBY TYPE /AWS1/SGMHUBSORTBY /AWS1/SGMHUBSORTBY

Sort hubs by either name or creation time.

IV_SORTORDER TYPE /AWS1/SGMSORTORDER /AWS1/SGMSORTORDER

Sort hubs by ascending or descending order.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

The maximum number of hubs to list.

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

If the response to a previous ListHubs request was truncated, the response includes a NextToken. To retrieve the next set of hubs, use the token in the next request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLISTHUBSRESPONSE /AWS1/CL_SGMLISTHUBSRESPONSE