'Reformat dimensions list into AWS API format.
:param dims: a list of dicts.'

@staticmethod
def _reformat_dimensions(dims):

    newdims = []
    for (count, d) in enumerate(dims, 1):
        for (key, value) in d.items():
            newdims.append({'Name': key, 'Value': value})
    return newdims
