Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_connection_status

get_connection_status(**kwargs)

Retrieves the Session Manager connection status for a managed node to determine whether it is running and ready to receive Session Manager connections.

See also: AWS API Documentation

Request Syntax

response = client.get_connection_status(
    Target='string'
)
Parameters
Target (string) --

[REQUIRED]

The managed node ID.

Return type
dict
Returns
Response Syntax
{
    'Target': 'string',
    'Status': 'Connected'|'NotConnected'
}

Response Structure

  • (dict) --
    • Target (string) --

      The ID of the managed node to check connection status.

    • Status (string) --

      The status of the connection to the managed node. For example, 'Connected' or 'Not Connected'.

Exceptions

  • SSM.Client.exceptions.InternalServerError