Smaws_Client_SSM.StartSession
val request :
Smaws_Lib.Context.t ->
start_session_request ->
(start_session_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of internal_server_error
| `InvalidDocument of invalid_document
| `TargetNotConnected of target_not_connected ])
Stdlib.result
Initiates a connection to a target (for example, a managed node) for a Session Manager session. Returns a URL and token that can be used to open a WebSocket connection for sending input and receiving outputs.
Amazon Web Services CLI usage: start-session
is an interactive command that requires the Session Manager plugin to be installed on the client machine making the call. For information, see Install the Session Manager plugin for the Amazon Web Services CLI in the Amazon Web Services Systems Manager User Guide.
Amazon Web Services Tools for PowerShell usage: Start-SSMSession isn't currently supported by Amazon Web Services Tools for PowerShell on Windows local machines.