def unassign_instance(InstanceId=None):
    """
    Unassigns a registered instance from all of it's layers. The instance remains in the stack as an unassigned instance and can be assigned to another layer, as needed. You cannot use this action with instances that were created with AWS OpsWorks Stacks.
    See also: AWS API Documentation
    
    
    :example: response = client.unassign_instance(
        InstanceId='string'
    )
    
    
    :type InstanceId: string
    :param InstanceId: [REQUIRED]
            The instance ID.
            

    """
    pass
