Skip to content

Resume Session

ssm_resume_session R Documentation

Reconnects a session to a managed node after it has been disconnected

Description

Reconnects a session to a managed node after it has been disconnected. Connections can be resumed for disconnected sessions, but not terminated sessions.

This command is primarily for use by client machines to automatically reconnect during intermittent network issues. It isn't intended for any other use.

Usage

ssm_resume_session(SessionId)

Arguments

SessionId

[required] The ID of the disconnected session to resume.

Value

A list with the following syntax:

list(
  SessionId = "string",
  TokenValue = "string",
  StreamUrl = "string"
)

Request syntax

svc$resume_session(
  SessionId = "string"
)