Skip to content

Commit 29cfcb4

Browse files
zhourongzhourong
authored andcommitted
增加协议条件
1 parent 634410d commit 29cfcb4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

examples/cdn.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,9 +1147,10 @@
11471147
EndTime String 结束时间需大于起始时间;获取日期格式按照ISO8601表示法,北京时间,格式为:YYYY-MM-DDThh:mm+0800,例如: 2016-08-01T21:14+0800
11481148
CdnType String 产品类型,只允许输入一种类型,取值为download:下载类加速,;live:直播加速
11491149
Regions String 区域名称, 取值为CN:中国大陆,HK:香港,TW:台湾,AS:亚洲其他,NA:北美洲,SA:南美洲,EU:欧洲,AU:大洋洲,AF:非洲,支持多区域查询,多个区域用逗号(半角)分隔,缺省为 CN
1150+
11501151
'''
1151-
# res = client.get_peak_bandwidth_data(StartTime='2017-02-01T00:00+0800',EndTime='2017-02-28T23:56+0800',CdnType='download',Regions='CN,AS,NA,AU')
1152-
# print res
1152+
#res = client.get_peak_bandwidth_data(StartTime='2017-02-01T00:00+0800',EndTime='2017-02-28T23:56+0800',CdnType='download',Regions='CN,AS,NA,AU',ProtocolType='http')
1153+
#print res
11531154

11541155
'''
11551156
BlockDomainUrl

kscore/data/cdn/2016-09-01/service-2.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3815,6 +3815,8 @@ shapes:
38153815
shape: String
38163816
Regions:
38173817
shape: String
3818+
ProtocolType:
3819+
shape: String
38183820

38193821
GetPeakBandwidthDataResponse:
38203822
type: structure

0 commit comments

Comments
 (0)