'Updates a registered Elastic IP address\'s name. For more
information, see `Resource Management`_.
**Required Permissions**: To use this action, an IAM user must
have a Manage permissions level for the stack, or an attached
policy that explicitly grants permissions. For more
information on user permissions, see `Managing User
Permissions`_.
:type elastic_ip: string
:param elastic_ip: The address.
:type name: string
:param name: The new name.'

def update_elastic_ip(self, elastic_ip, name=None):

    params = {'ElasticIp': elastic_ip}
    if (name is not None):
        params['Name'] = name
    return self.make_request(action='UpdateElasticIp', body=json.dumps(params))
