def get_snaps_for_instance(client, rds_instance, snapshot_type=''):
    """ Gets all snapshots for a RDS instance"""
    snapshots = []

    resp = client.describe_db_snapshots(
        DBInstanceIdentifier=rds_instance['DBInstanceIdentifier'],
        SnapshotType=snapshot_type
    )
    while 'Marker' in resp:
        snapshots.extend(resp['DBSnapshots'])
        resp = client.describe_db_snapshots(
            DBInstanceIdentifier=rds_instance['DBInstanceIdentifier'],
            SnapshotType=snapshot_type,
            Marker=resp['Marker']
        )
    snapshots.extend(resp['DBSnapshots'])
    return snapshots