SSM.Client.
deregister_managed_instance
(**kwargs)¶Removes the server or virtual machine from the list of registered servers. You can reregister the node again at any time. If you don't plan to use Run Command on the server, we suggest uninstalling SSM Agent first.
See also: AWS API Documentation
Request Syntax
response = client.deregister_managed_instance(
InstanceId='string'
)
[REQUIRED]
The ID assigned to the managed node when you registered it using the activation process.
{}
Response Structure
Exceptions
SSM.Client.exceptions.InvalidInstanceId
SSM.Client.exceptions.InternalServerError