Skip to content

/AWS1/CL_SSM=>DESCRIBESESSIONS()

About DescribeSessions

Retrieves a list of all active sessions (both connected and disconnected) or terminated sessions from the past 30 days.

Method Signature

IMPORTING

Required arguments:

IV_STATE TYPE /AWS1/SSMSESSIONSTATE /AWS1/SSMSESSIONSTATE

The session status to retrieve a list of sessions for. For example, "Active".

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/SSMSESSIONMAXRESULTS /AWS1/SSMSESSIONMAXRESULTS

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

IV_NEXTTOKEN TYPE /AWS1/SSMNEXTTOKEN /AWS1/SSMNEXTTOKEN

The token for the next set of items to return. (You received this token from a previous call.)

IT_FILTERS TYPE /AWS1/CL_SSMSESSIONFILTER=>TT_SESSIONFILTERLIST TT_SESSIONFILTERLIST

One or more filters to limit the type of sessions returned by the request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SSMDESCRSESSIONSRSP /AWS1/CL_SSMDESCRSESSIONSRSP