Smaws_Client_SSM.DeregisterManagedInstanceRemoves the server or virtual machine from the list of registered servers.
If you want to reregister an on-premises server, edge device, or VM, you must use a different Activation Code and Activation ID than used to register the machine previously. The Activation Code and Activation ID must not have already been used on the maximum number of activations specified when they were created. For more information, see Deregistering managed nodes in a hybrid and multicloud environment in the Amazon Web Services Systems Manager User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidInstanceId of Types.invalid_instance_id ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.deregister_managed_instance_request ->
(Types.deregister_managed_instance_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidInstanceId of Types.invalid_instance_id ])
Stdlib.result