Skip to content

/AWS1/CL_SGM=>LISTARTIFACTS()

About ListArtifacts

Lists the artifacts in your account and their properties.

Method Signature

IMPORTING

Optional arguments:

IV_SOURCEURI TYPE /AWS1/SGMSOURCEURI /AWS1/SGMSOURCEURI

A filter that returns only artifacts with the specified source URI.

IV_ARTIFACTTYPE TYPE /AWS1/SGMSTRING256 /AWS1/SGMSTRING256

A filter that returns only artifacts of the specified type.

IV_CREATEDAFTER TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

A filter that returns only artifacts created on or after the specified time.

IV_CREATEDBEFORE TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

A filter that returns only artifacts created on or before the specified time.

IV_SORTBY TYPE /AWS1/SGMSORTARTIFACTSBY /AWS1/SGMSORTARTIFACTSBY

The property used to sort results. The default value is CreationTime.

IV_SORTORDER TYPE /AWS1/SGMSORTORDER /AWS1/SGMSORTORDER

The sort order. The default value is Descending.

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

If the previous call to ListArtifacts didn't return the full set of artifacts, the call returns a token for getting the next set of artifacts.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

The maximum number of artifacts to return in the response. The default value is 10.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLISTARTIFACTSRSP /AWS1/CL_SGMLISTARTIFACTSRSP