def METHOD_NAME(ns):
    if (ns.fileupload_notification_ttl and
            ns.fileupload_notification_ttl not in range(1, 49, 1)):
        raise ArgumentError(None, 'Please specify the period of time from 1 to 48 hours for which a file upload'
                                  ' notification is available to consume before it is expired.')