@@ -5641,14 +5641,15 @@ def ci_get_media_bucket(self, Regions='', BucketName='', BucketNames='', PageNum
56415641 format_dict (data , ['MediaBucketList' ])
56425642 return data
56435643
5644- def ci_get_media_queue (self , Bucket , state = 'All' , queueIds = '' , pageNumber = '' , pageSize = '' , path = '/queue' , ** kwargs ):
5644+ def ci_get_media_queue (self , Bucket , State = 'All' , QueueIds = '' , PageNumber = '' , PageSize = '' , UrlPath = '/queue' , ** kwargs ):
56455645 """查询媒体处理队列接口 https://cloud.tencent.com/document/product/436/54045
56465646
56475647 :param Bucket(string): 存储桶名称.
5648- :param queueIds(string): 队列 ID,以“,”符号分割字符串.
5649- :param state(string): 队列状态
5650- :param pageNumber(string): 第几页
5651- :param pageSize(string): 每页个数
5648+ :param QueueIds(string): 队列 ID,以“,”符号分割字符串.
5649+ :param State(string): 队列状态
5650+ :param PageNumber(string): 第几页
5651+ :param PageSize(string): 每页个数
5652+ :param UrlPath(string): 请求URL路径,无需主动设置
56525653 :param kwargs(dict): 设置请求的headers.
56535654 :return(dict): 查询成功返回的结果,dict类型.
56545655
@@ -5674,14 +5675,14 @@ def ci_get_media_queue(self, Bucket, state='All', queueIds='', pageNumber='', pa
56745675
56755676 params = format_values (params )
56765677
5677- path = path
5678+ path = UrlPath
56785679 url = self ._conf .uri (bucket = Bucket , path = path , endpoint = self ._conf ._endpoint_ci )
56795680 url = u"{url}?{queueIds}&{state}&{pageNumber}&{pageSize}" .format (
56805681 url = to_unicode (url ),
5681- queueIds = to_unicode ('queueIds=' + queueIds ),
5682- state = to_unicode ('state=' + state ),
5683- pageNumber = to_unicode ('pageNumber=' + pageNumber ),
5684- pageSize = to_unicode ('pageSize=' + pageSize ),
5682+ queueIds = to_unicode ('queueIds=' + QueueIds ),
5683+ state = to_unicode ('state=' + State ),
5684+ pageNumber = to_unicode ('pageNumber=' + PageNumber ),
5685+ pageSize = to_unicode ('pageSize=' + PageSize ),
56855686 )
56865687 logger .info ("get_media_queue result, url=:{url} ,headers=:{headers}, params=:{params}" .format (
56875688 url = url ,
@@ -5700,12 +5701,13 @@ def ci_get_media_queue(self, Bucket, state='All', queueIds='', pageNumber='', pa
57005701 format_dict (data , ['QueueList' ])
57015702 return data
57025703
5703- def ci_update_media_queue (self , Bucket , QueueId , Request = {}, Path = "/queue/" , ** kwargs ):
5704+ def ci_update_media_queue (self , Bucket , QueueId , Request = {}, UrlPath = "/queue/" , ** kwargs ):
57045705 """ 更新媒体处理队列接口 https://cloud.tencent.com/document/product/436/54046
57055706
57065707 :param Bucket(string): 存储桶名称.
57075708 :param QueueId(string): 队列ID.
57085709 :param Request(dict): 更新队列配置请求体.
5710+ :param UrlPath(string): 请求URL路径,无需主动设置
57095711 :param kwargs(dict): 设置请求的headers.
57105712 :return(dict): 查询成功返回的结果,dict类型.
57115713
@@ -5733,7 +5735,7 @@ def ci_update_media_queue(self, Bucket, QueueId, Request={}, Path="/queue/", **k
57335735
57345736 params = format_values (params )
57355737 xml_config = format_xml (data = Request , root = 'Request' )
5736- path = Path + QueueId
5738+ path = UrlPath + QueueId
57375739 url = self ._conf .uri (bucket = Bucket , path = path , endpoint = self ._conf ._endpoint_ci )
57385740 logger .info ("update_media_queue result, url=:{url} ,headers=:{headers}, params=:{params}, xml_config=:{xml_config}" .format (
57395741 url = url ,
0 commit comments