src/droute53.py
def killInstance(ec2Conn, instance):
    """
    Stop the instance if running.  Will exit if the instance can't
    be found.

    @param ec2Conn: ec2 connection object to appropriate region
    @param insance: str -- name or id of instance to manipulate.

    @return: None
    """
    instanceObj = getInstance(ec2Conn, instance)
    changeState(instanceObj, instanceObj.stop, STOPPED, 'Stopping')

    Stop the instance if running.  Will exit if the instance can't
    be found.

    @param ec2Conn: ec2 connection object to appropriate region
    @param insance: str -- name or id of instance to manipulate.

    @return: None
    
Stop the instance if running.  Will exit if the instance can't
be found.
Stop the instance if running . Will exit if the instance can ' t be found .
def killInstance(ec2Conn, instance):
    instanceObj = getInstance(ec2Conn, instance)
    changeState(instanceObj, instanceObj.stop, STOPPED, 'Stopping')
def killInstance ( ec2Conn , instance ) : instanceObj = getInstance ( ec2Conn , instance ) changeState ( instanceObj , instanceObj . stop , STOPPED , 'Stopping' )
Stop the instance if running.
Stop the instance if running .
"""
    Stop the instance if running.  Will exit if the instance can't
    be found.

    @param ec2Conn: ec2 connection object to appropriate region
    @param insance: str -- name or id of instance to manipulate.

    @return: None
    """
None
ec2Conn
ec2 connection object to appropriate region
ec2 connection object to appropriate region
instance
insance
- name or id of instance to manipulate.
- name or id of instance to manipulate .