Retrieves a list of all active sessions (both connected and disconnected) or terminated sessions from the past 30 days.
ssm_describe_sessions(State, MaxResults, NextToken, Filters)[required] The session status to retrieve a list of sessions for. For example, "Active".
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.
The token for the next set of items to return. (You received this token from a previous call.)
One or more filters to limit the type of sessions returned by the request.
svc$describe_sessions(
State = "Active"|"History",
MaxResults = 123,
NextToken = "string",
Filters = list(
list(
key = "InvokedAfter"|"InvokedBefore"|"Target"|"Owner"|"Status",
value = "string"
)
)
)