def validate_backup_retention_period(days):
 days = positive_integer(days)
 if (int(days) > 35):
  raise ValueError('DBInstance BackupRetentionPeriod cannot be larger than 35 days.')
 return days

def validate_backup_retention_period ( days ) : days = positive_integer ( days ) if ( int ( days ) > 35 ) : raise ValueError ( 'DBInstance BackupRetentionPeriod cannot be larger than 35 days.' ) return days
validate backupretentionperiod for dbinstance .