'Unassigns one or more secondary private IP addresses from a network
interface in Amazon VPC.
:type network_interface_id: string
:param network_interface_id: The network interface from which the
secondary private IP address will be unassigned.
:type private_ip_addresses: list
:param private_ip_addresses: Specifies the secondary private IP
addresses that you want to unassign from the network interface.
:type dry_run: bool
:param dry_run: Set to True if the operation should not actually run.
:rtype: bool
:return: True if successful'

def unassign_private_ip_addresses(self, network_interface_id=None, private_ip_addresses=None, dry_run=False):

    params = {}
    if (network_interface_id is not None):
        params['NetworkInterfaceId'] = network_interface_id
    if (private_ip_addresses is not None):
        self.build_list_params(params, private_ip_addresses, 'PrivateIpAddress')
    if dry_run:
        params['DryRun'] = 'true'
    return self.get_status('UnassignPrivateIpAddresses', params, verb='POST')
