
# 变更分区数量
参见[初始化DIS客户端](https://support.huaweicloud.com/sdkreference-dis/dis_06_0043.html)的操作初始化一个DIS客户端实例。
配置参数如下：
```
streamname = "" #已存在的running状态通道名
target_partition_count =”3”     #变更后的数量值
```
配置好以上参数，执行changepartitionQuantity_sample.py文件调用changepartitionQuantity_test方法，响应结果如下：
```
{ 
 "stream_name":"stream_name_test", 
 "current_partition_count":2 
 "target_partition_count":5 
 }
```
