':type dry_run: bool
:param dry_run: Set to True if the operation should not actually run.'

def modify_vpc_attribute(self, vpc_id, enable_dns_support=None, enable_dns_hostnames=None, dry_run=False):

    params = {'VpcId': vpc_id}
    if (enable_dns_support is not None):
        params['EnableDnsSupport.Value'] = ('true' if enable_dns_support else 'false')
    if (enable_dns_hostnames is not None):
        params['EnableDnsHostnames.Value'] = ('true' if enable_dns_hostnames else 'false')
    if dry_run:
        params['DryRun'] = 'true'
    return self.get_status('ModifyVpcAttribute', params, verb='POST')
