import random


def select_delay_seconds(low=300, high=900):
    """
    Randomly select message delay seconds within the
    given interval (inclusive on both bounds).

    :param int low: inclusive lower bound; defaults to 300 seconds
    :param int high: inclusive upper bound; defaults to 900 seconds -- the maximum delay allowed by SQS
    :return: random number between the interval
    :rtype: int

    """
    return random.randint(low, high)