def get_consumed_capacity_map(self, return_consumed_capacity):
    '\n        Builds the consumed capacity map that is common to several operations\n        '
    if (return_consumed_capacity.upper() not in RETURN_CONSUMED_CAPACITY_VALUES):
        raise ValueError('{0} must be one of {1}'.format(RETURN_ITEM_COLL_METRICS, RETURN_CONSUMED_CAPACITY_VALUES))
    return {RETURN_CONSUMED_CAPACITY: str(return_consumed_capacity).upper()}
Builds the consumed capacity map that is common to several operations
def get_consumed_capacity_map(self, return_consumed_capacity):
    '\n        \n        '
    if (return_consumed_capacity.upper() not in RETURN_CONSUMED_CAPACITY_VALUES):
        raise ValueError('{0} must be one of {1}'.format(RETURN_ITEM_COLL_METRICS, RETURN_CONSUMED_CAPACITY_VALUES))
    return {RETURN_CONSUMED_CAPACITY: str(return_consumed_capacity).upper()}