'Get all of your linked EC2-Classic instances. This request only
returns information about EC2-Classic instances linked  to
a VPC through ClassicLink
:type instance_ids: list
:param instance_ids: A list of strings of instance IDs. Must be
instances linked to a VPC through ClassicLink.
:type filters: dict
:param filters: Optional filters that can be used to limit the
results returned.  Filters are provided in the form of a
dictionary consisting of filter names as the key and
filter values as the value.  The set of allowable filter
names/values is dependent on the request being performed.
Check the EC2 API guide for details.
:type dry_run: bool
:param dry_run: Set to True if the operation should not actually run.
:type max_results: int
:param max_results: The maximum number of paginated instance
items per response.
:rtype: list
:return: A list of  :class:`boto.ec2.instance.Instance`'

def get_all_classic_link_instances(self, instance_ids=None, filters=None, dry_run=False, max_results=None, next_token=None):

    params = {}
    if instance_ids:
        self.build_list_params(params, instance_ids, 'InstanceId')
    if filters:
        self.build_filter_params(params, filters)
    if dry_run:
        params['DryRun'] = 'true'
    if (max_results is not None):
        params['MaxResults'] = max_results
    if next_token:
        params['NextToken'] = next_token
    return self.get_list('DescribeClassicLinkInstances', params, [('item', Instance)], verb='POST')
