

def create_image(self, instance_id, name, parameters):
    ' Creates a new cloud image from the given instance id.\n    \n    Args:\n      instance_id: id of the (stopped) instance to create an image of.\n      name: A str containing the human-readable name for the image.\n      parameters: A dict that contains the credentials needed to authenticate\n        with AWS.\n    Returns:\n      A str containing the ami of the new image.\n     '
    conn = self.open_connection(parameters)
    return conn.create_image(parameters, name)

dataset/ETHPy150Open AppScale/appscale-tools/lib/agents/ec2_agent.py EC2Agent.create_image/VarMisuse@32/176 `instance_id`->`parameters`