'Update an aggregate.
For a full list of available parameters, please refer to the official
API reference:
https://developer.openstack.org/api-ref/compute/#update-aggregate'

def update_aggregate(self, aggregate_id, **kwargs):

    put_body = json.dumps({'aggregate': kwargs})
    (resp, body) = self.put(('os-aggregates/%s' % aggregate_id), put_body)
    body = json.loads(body)
    self.validate_response(schema.update_aggregate, resp, body)
    return rest_client.ResponseBody(resp, body)
