Skip to content

/AWS1/CL_SGM=>LISTHUBCONTENTVERSIONS()

About ListHubContentVersions

List hub content versions.

Hub APIs are only callable through SageMaker Studio.

Method Signature

IMPORTING

Required arguments:

IV_HUBNAME TYPE /AWS1/SGMHUBNAME /AWS1/SGMHUBNAME

The name of the hub to list the content versions of.

IV_HUBCONTENTTYPE TYPE /AWS1/SGMHUBCONTENTTYPE /AWS1/SGMHUBCONTENTTYPE

The type of hub content to list versions of.

IV_HUBCONTENTNAME TYPE /AWS1/SGMHUBCONTENTNAME /AWS1/SGMHUBCONTENTNAME

The name of the hub content.

Optional arguments:

IV_MINVERSION TYPE /AWS1/SGMHUBCONTENTVERSION /AWS1/SGMHUBCONTENTVERSION

The lower bound of the hub content versions to list.

IV_MAXSCHEMAVERSION TYPE /AWS1/SGMDOCUMENTSCHEMAVERSION /AWS1/SGMDOCUMENTSCHEMAVERSION

The upper bound of the hub content schema version.

IV_CREATIONTIMEBEFORE TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

Only list hub content versions that were created before the time specified.

IV_CREATIONTIMEAFTER TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

Only list hub content versions that were created after the time specified.

IV_SORTBY TYPE /AWS1/SGMHUBCONTENTSORTBY /AWS1/SGMHUBCONTENTSORTBY

Sort hub content versions by either name or creation time.

IV_SORTORDER TYPE /AWS1/SGMSORTORDER /AWS1/SGMSORTORDER

Sort hub content versions by ascending or descending order.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

The maximum number of hub content versions to list.

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

If the response to a previous ListHubContentVersions request was truncated, the response includes a NextToken. To retrieve the next set of hub content versions, use the token in the next request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLISTHUBCONTVRSSRSP /AWS1/CL_SGMLISTHUBCONTVRSSRSP