Method: Aws::SSM::Client#start_session
- Defined in:
- lib/aws-sdk-ssm/client.rb
#start_session(params = {}) ⇒ Types::StartSessionResponse
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.
<note markdown=“1”> 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.
</note>
11494 11495 11496 11497 |
# File 'lib/aws-sdk-ssm/client.rb', line 11494 def start_session(params = {}, = {}) req = build_request(:start_session, params) req.send_request() end |