Skip to content

/AWS1/CL_SGM=>LISTPROJECTS()

About ListProjects

Gets a list of the projects in an Amazon Web Services account.

Method Signature

IMPORTING

Optional arguments:

IV_CREATIONTIMEAFTER TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

A filter that returns the projects that were created after a specified time.

IV_CREATIONTIMEBEFORE TYPE /AWS1/SGMTIMESTAMP /AWS1/SGMTIMESTAMP

A filter that returns the projects that were created before a specified time.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

The maximum number of projects to return in the response.

IV_NAMECONTAINS TYPE /AWS1/SGMPROJECTENTITYNAME /AWS1/SGMPROJECTENTITYNAME

A filter that returns the projects whose name contains a specified string.

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

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

IV_SORTBY TYPE /AWS1/SGMPROJECTSORTBY /AWS1/SGMPROJECTSORTBY

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

IV_SORTORDER TYPE /AWS1/SGMPROJECTSORTORDER /AWS1/SGMPROJECTSORTORDER

The sort order for results. The default is Ascending.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLISTPROJECTSOUTPUT /AWS1/CL_SGMLISTPROJECTSOUTPUT