'Retrieves the console output for the specified instance.
:type instance_id: string
:param instance_id: The instance ID of a running instance on the cloud.
:type dry_run: bool
:param dry_run: Set to True if the operation should not actually run.
:rtype: :class:`boto.ec2.instance.ConsoleOutput`
:return: The console output as a ConsoleOutput object'

def get_console_output(self, instance_id, dry_run=False):

    params = {}
    self.build_list_params(params, [instance_id], 'InstanceId')
    if dry_run:
        params['DryRun'] = 'true'
    return self.get_object('GetConsoleOutput', params, ConsoleOutput, verb='POST')
