paws.management (version 0.5.0)

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

Description

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

See https://www.paws-r-sdk.com/docs/ssm_describe_sessions/ for full documentation.

Usage

ssm_describe_sessions(
  State,
  MaxResults = NULL,
  NextToken = NULL,
  Filters = NULL
)

Arguments

State

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

MaxResults

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.

NextToken

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

Filters

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