Amazon Simple Systems Manager (SSM)

2023/09/25 - Amazon Simple Systems Manager (SSM) - 1 updated api methods

Changes  This release updates the enum values for ResourceType in SSM DescribeInstanceInformation input and ConnectionStatus in GetConnectionStatus output.

GetConnectionStatus (updated) Link ΒΆ
Changes (response)
{'Status': {'notconnected', 'connected'}}

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

client.get_connection_status(
    Target='string'
)
type Target

string

param Target

[REQUIRED]

The managed node ID.

rtype

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'.