def update_dimension(self, key, value, description=None,<EOL>custom_properties=None, tags=None, **kwargs):
data = {'<STR_LIT:description>': description or '<STR_LIT>',<EOL>'<STR_LIT>': custom_properties or {},<EOL>'<STR_LIT>': tags or [],<EOL>'<STR_LIT:key>': key,<EOL>'<STR_LIT:value>': value}<EOL>resp = self._put(self._u(self._DIMENSION_ENDPOINT_SUFFIX, key, value),<EOL>data=data, **kwargs)<EOL>resp.raise_for_status()<EOL>return resp.json()<EOL>
update a dimension
Args:
    key (string): key of the dimension
    value (string): value of the dimension
    description (optional[string]): a description
    custom_properties (optional[dict]): dictionary of custom properties
    tags (optional[list of strings]): list of tags associated with
        metric