Skip to content

/AWS1/CL_SGM=>LISTIMAGES()

About ListImages

Lists the images in your account and their properties. The list can be filtered by creation time or modified time, and whether the image name contains a specified string.

Method Signature

IMPORTING

Optional arguments:

IV_CREATIONTIMEAFTER TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

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

IV_CREATIONTIMEBEFORE TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

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

IV_LASTMODIFIEDTIMEAFTER TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

A filter that returns only images modified on or after the specified time.

IV_LASTMODIFIEDTIMEBEFORE TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

A filter that returns only images modified on or before the specified time.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

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

IV_NAMECONTAINS TYPE /AWS1/SGMIMAGENAMECONTAINS /AWS1/SGMIMAGENAMECONTAINS

A filter that returns only images whose name contains the specified string.

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

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

IV_SORTBY TYPE /AWS1/SGMIMAGESORTBY /AWS1/SGMIMAGESORTBY

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

IV_SORTORDER TYPE /AWS1/SGMIMAGESORTORDER /AWS1/SGMIMAGESORTORDER

The sort order. The default value is DESCENDING.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLISTIMAGESRESPONSE /AWS1/CL_SGMLISTIMAGESRESPONSE