byteplus-sdk 1.0.29__tar.gz → 1.0.31__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/PKG-INFO +1 -1
- byteplus-sdk-1.0.31/byteplus_sdk/__init__.py +2 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/cdn/service.py +234 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/live/v20230101/live_config.py +27 -10
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/live/v20230101/live_trait.py +161 -42
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/VodServiceConfig.py +2 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/request/request_vod_pb2.py +2 -2
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk.egg-info/PKG-INFO +1 -1
- byteplus-sdk-1.0.29/byteplus_sdk/__init__.py +0 -2
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/LICENSE +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/README.md +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/ApiInfo.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/Credentials.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/Policy.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/ServiceInfo.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/ServiceInfoHttps.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/auth/MetaData.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/auth/SignerV4.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/auth/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/base/Request.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/base/Service.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/base/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/base/models/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/base/models/base/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/base/models/base/base_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/cdn/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/const/Const.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/const/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/add_cdn_certificate.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/add_cdn_domain.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/add_template_domain.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/create_cipher_template.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/create_service_template.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/delete_cdn_domain.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/delete_template.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_accounting_data.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_cdn_access_log.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_cdn_config.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_cdn_data.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_cdn_data_detail.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_cdn_detail.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_cdn_origin_data.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_cdn_region_and_isp.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_cdn_service.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_cdn_upper_ip.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_cipher_template.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_content_block_tasks.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_content_quota.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_content_tasks.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_edge_nrt_data_summary.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_edge_statistical_data.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_edge_top_nrt_data.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_edge_top_statistical_data.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_edge_top_status_code.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_ip_info.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_ip_list_info.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_origin_nrt_data_summary.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_origin_top_nrt_data.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_origin_top_status_code.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_service_template.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_template_domains.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/describe_templates.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/duplicate_template.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/list_cdn_cert_info.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/list_cdn_domains.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/list_cert_info.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/lock_template.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/start_cdn_domain.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/stop_cdn_domain.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/submit_block_task.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/submit_preload_task.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/submit_refresh_task.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/submit_unblock_task.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/update_cdn_config.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/update_cipher_template.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/update_service_template.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/cdn/update_template_domain.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/live/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/rtc/RtcService.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/rtc/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/rtc/example_get_record_task.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/rtc/example_start_record.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/visual/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/example/visual/example_common.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/iam/IamService.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/iam/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/live/LiveService.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/live/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/live/v20200801/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/live/v20200801/live_config.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/live/v20200801/live_service.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/live/v20200801/live_trait.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/live/v20230101/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/live/v20230101/live_service.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/sms/SmsService.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/sms/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/util/Functions.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/util/Util.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/util/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/visual/VisualService.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/visual/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/VodService.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_apps_manage_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_callback_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_cdn_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_common_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_edit_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_measure_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_media_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_play_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_smart_strategy_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_space_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_upload_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/business/vod_workflow_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/request/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/response/__init__.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk/vod/models/response/response_vod_pb2.py +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk.egg-info/SOURCES.txt +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk.egg-info/dependency_links.txt +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk.egg-info/requires.txt +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/byteplus_sdk.egg-info/top_level.txt +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/setup.cfg +0 -0
- {byteplus-sdk-1.0.29 → byteplus-sdk-1.0.31}/setup.py +0 -0
|
@@ -174,6 +174,60 @@ api_info = {
|
|
|
174
174
|
"CreateServiceTemplate": ApiInfo("POST", "/", {
|
|
175
175
|
"Action": "CreateServiceTemplate", "Version": SERVICE_VERSION}, {}, {}),
|
|
176
176
|
|
|
177
|
+
"DescribeDistrictData": ApiInfo("POST", "/", {
|
|
178
|
+
"Action": "DescribeDistrictData", "Version": SERVICE_VERSION}, {}, {}),
|
|
179
|
+
|
|
180
|
+
"DescribeEdgeData": ApiInfo("POST", "/", {
|
|
181
|
+
"Action": "DescribeEdgeData", "Version": SERVICE_VERSION}, {}, {}),
|
|
182
|
+
|
|
183
|
+
"DescribeDistrictSummary": ApiInfo("POST", "/", {
|
|
184
|
+
"Action": "DescribeDistrictSummary", "Version": SERVICE_VERSION}, {}, {}),
|
|
185
|
+
|
|
186
|
+
"DescribeEdgeSummary": ApiInfo("POST", "/", {
|
|
187
|
+
"Action": "DescribeEdgeSummary", "Version": SERVICE_VERSION}, {}, {}),
|
|
188
|
+
|
|
189
|
+
"DescribeOriginData": ApiInfo("POST", "/", {
|
|
190
|
+
"Action": "DescribeOriginData", "Version": SERVICE_VERSION}, {}, {}),
|
|
191
|
+
|
|
192
|
+
"DescribeOriginSummary": ApiInfo("POST", "/", {
|
|
193
|
+
"Action": "DescribeOriginSummary", "Version": SERVICE_VERSION}, {}, {}),
|
|
194
|
+
|
|
195
|
+
"DescribeUserData": ApiInfo("POST", "/", {
|
|
196
|
+
"Action": "DescribeUserData", "Version": SERVICE_VERSION}, {}, {}),
|
|
197
|
+
|
|
198
|
+
"DescribeDistrictRanking": ApiInfo("POST", "/", {
|
|
199
|
+
"Action": "DescribeDistrictRanking", "Version": SERVICE_VERSION}, {}, {}),
|
|
200
|
+
|
|
201
|
+
"DescribeEdgeRanking": ApiInfo("POST", "/", {
|
|
202
|
+
"Action": "DescribeEdgeRanking", "Version": SERVICE_VERSION}, {}, {}),
|
|
203
|
+
|
|
204
|
+
"DescribeOriginRanking": ApiInfo("POST", "/", {
|
|
205
|
+
"Action": "DescribeOriginRanking", "Version": SERVICE_VERSION}, {}, {}),
|
|
206
|
+
|
|
207
|
+
"DescribeEdgeStatusCodeRanking": ApiInfo("POST", "/", {
|
|
208
|
+
"Action": "DescribeEdgeStatusCodeRanking", "Version": SERVICE_VERSION}, {}, {}),
|
|
209
|
+
|
|
210
|
+
"DescribeOriginStatusCodeRanking": ApiInfo("POST", "/", {
|
|
211
|
+
"Action": "DescribeOriginStatusCodeRanking", "Version": SERVICE_VERSION}, {}, {}),
|
|
212
|
+
|
|
213
|
+
"DescribeStatisticalRanking": ApiInfo("POST", "/", {
|
|
214
|
+
"Action": "DescribeStatisticalRanking", "Version": SERVICE_VERSION}, {}, {}),
|
|
215
|
+
|
|
216
|
+
"BatchUpdateCdnConfig": ApiInfo("POST", "/", {
|
|
217
|
+
"Action": "BatchUpdateCdnConfig", "Version": SERVICE_VERSION}, {}, {}),
|
|
218
|
+
|
|
219
|
+
"AddCertificate": ApiInfo("POST", "/", {
|
|
220
|
+
"Action": "AddCertificate", "Version": SERVICE_VERSION}, {}, {}),
|
|
221
|
+
|
|
222
|
+
"DeleteUsageReport": ApiInfo("POST", "/", {
|
|
223
|
+
"Action": "DeleteUsageReport", "Version": SERVICE_VERSION}, {}, {}),
|
|
224
|
+
|
|
225
|
+
"CreateUsageReport": ApiInfo("POST", "/", {
|
|
226
|
+
"Action": "CreateUsageReport", "Version": SERVICE_VERSION}, {}, {}),
|
|
227
|
+
|
|
228
|
+
"ListUsageReports": ApiInfo("POST", "/", {
|
|
229
|
+
"Action": "ListUsageReports", "Version": SERVICE_VERSION}, {}, {}),
|
|
230
|
+
|
|
177
231
|
|
|
178
232
|
}
|
|
179
233
|
|
|
@@ -737,3 +791,183 @@ class CDNService(Service):
|
|
|
737
791
|
raise Exception("%s: empty response" % action)
|
|
738
792
|
res_json = json.loads(res)
|
|
739
793
|
return res_json
|
|
794
|
+
|
|
795
|
+
def describe_district_data(self, params=None):
|
|
796
|
+
if params is None:
|
|
797
|
+
params = {}
|
|
798
|
+
action = "DescribeDistrictData"
|
|
799
|
+
res = self.json(action, [], params)
|
|
800
|
+
if res == '':
|
|
801
|
+
raise Exception("%s: empty response" % action)
|
|
802
|
+
res_json = json.loads(res)
|
|
803
|
+
return res_json
|
|
804
|
+
|
|
805
|
+
def describe_edge_data(self, params=None):
|
|
806
|
+
if params is None:
|
|
807
|
+
params = {}
|
|
808
|
+
action = "DescribeEdgeData"
|
|
809
|
+
res = self.json(action, [], params)
|
|
810
|
+
if res == '':
|
|
811
|
+
raise Exception("%s: empty response" % action)
|
|
812
|
+
res_json = json.loads(res)
|
|
813
|
+
return res_json
|
|
814
|
+
|
|
815
|
+
def describe_district_summary(self, params=None):
|
|
816
|
+
if params is None:
|
|
817
|
+
params = {}
|
|
818
|
+
action = "DescribeDistrictSummary"
|
|
819
|
+
res = self.json(action, [], params)
|
|
820
|
+
if res == '':
|
|
821
|
+
raise Exception("%s: empty response" % action)
|
|
822
|
+
res_json = json.loads(res)
|
|
823
|
+
return res_json
|
|
824
|
+
|
|
825
|
+
def describe_edge_summary(self, params=None):
|
|
826
|
+
if params is None:
|
|
827
|
+
params = {}
|
|
828
|
+
action = "DescribeEdgeSummary"
|
|
829
|
+
res = self.json(action, [], params)
|
|
830
|
+
if res == '':
|
|
831
|
+
raise Exception("%s: empty response" % action)
|
|
832
|
+
res_json = json.loads(res)
|
|
833
|
+
return res_json
|
|
834
|
+
|
|
835
|
+
def describe_origin_data(self, params=None):
|
|
836
|
+
if params is None:
|
|
837
|
+
params = {}
|
|
838
|
+
action = "DescribeOriginData"
|
|
839
|
+
res = self.json(action, [], params)
|
|
840
|
+
if res == '':
|
|
841
|
+
raise Exception("%s: empty response" % action)
|
|
842
|
+
res_json = json.loads(res)
|
|
843
|
+
return res_json
|
|
844
|
+
|
|
845
|
+
def describe_origin_summary(self, params=None):
|
|
846
|
+
if params is None:
|
|
847
|
+
params = {}
|
|
848
|
+
action = "DescribeOriginSummary"
|
|
849
|
+
res = self.json(action, [], params)
|
|
850
|
+
if res == '':
|
|
851
|
+
raise Exception("%s: empty response" % action)
|
|
852
|
+
res_json = json.loads(res)
|
|
853
|
+
return res_json
|
|
854
|
+
|
|
855
|
+
def describe_user_data(self, params=None):
|
|
856
|
+
if params is None:
|
|
857
|
+
params = {}
|
|
858
|
+
action = "DescribeUserData"
|
|
859
|
+
res = self.json(action, [], params)
|
|
860
|
+
if res == '':
|
|
861
|
+
raise Exception("%s: empty response" % action)
|
|
862
|
+
res_json = json.loads(res)
|
|
863
|
+
return res_json
|
|
864
|
+
|
|
865
|
+
def describe_district_ranking(self, params=None):
|
|
866
|
+
if params is None:
|
|
867
|
+
params = {}
|
|
868
|
+
action = "DescribeDistrictRanking"
|
|
869
|
+
res = self.json(action, [], params)
|
|
870
|
+
if res == '':
|
|
871
|
+
raise Exception("%s: empty response" % action)
|
|
872
|
+
res_json = json.loads(res)
|
|
873
|
+
return res_json
|
|
874
|
+
|
|
875
|
+
def describe_edge_ranking(self, params=None):
|
|
876
|
+
if params is None:
|
|
877
|
+
params = {}
|
|
878
|
+
action = "DescribeEdgeRanking"
|
|
879
|
+
res = self.json(action, [], params)
|
|
880
|
+
if res == '':
|
|
881
|
+
raise Exception("%s: empty response" % action)
|
|
882
|
+
res_json = json.loads(res)
|
|
883
|
+
return res_json
|
|
884
|
+
|
|
885
|
+
def describe_origin_ranking(self, params=None):
|
|
886
|
+
if params is None:
|
|
887
|
+
params = {}
|
|
888
|
+
action = "DescribeOriginRanking"
|
|
889
|
+
res = self.json(action, [], params)
|
|
890
|
+
if res == '':
|
|
891
|
+
raise Exception("%s: empty response" % action)
|
|
892
|
+
res_json = json.loads(res)
|
|
893
|
+
return res_json
|
|
894
|
+
|
|
895
|
+
def describe_edge_status_code_ranking(self, params=None):
|
|
896
|
+
if params is None:
|
|
897
|
+
params = {}
|
|
898
|
+
action = "DescribeEdgeStatusCodeRanking"
|
|
899
|
+
res = self.json(action, [], params)
|
|
900
|
+
if res == '':
|
|
901
|
+
raise Exception("%s: empty response" % action)
|
|
902
|
+
res_json = json.loads(res)
|
|
903
|
+
return res_json
|
|
904
|
+
|
|
905
|
+
def describe_origin_status_code_ranking(self, params=None):
|
|
906
|
+
if params is None:
|
|
907
|
+
params = {}
|
|
908
|
+
action = "DescribeOriginStatusCodeRanking"
|
|
909
|
+
res = self.json(action, [], params)
|
|
910
|
+
if res == '':
|
|
911
|
+
raise Exception("%s: empty response" % action)
|
|
912
|
+
res_json = json.loads(res)
|
|
913
|
+
return res_json
|
|
914
|
+
|
|
915
|
+
def describe_statistical_ranking(self, params=None):
|
|
916
|
+
if params is None:
|
|
917
|
+
params = {}
|
|
918
|
+
action = "DescribeStatisticalRanking"
|
|
919
|
+
res = self.json(action, [], params)
|
|
920
|
+
if res == '':
|
|
921
|
+
raise Exception("%s: empty response" % action)
|
|
922
|
+
res_json = json.loads(res)
|
|
923
|
+
return res_json
|
|
924
|
+
|
|
925
|
+
def batch_update_cdn_config(self, params=None):
|
|
926
|
+
if params is None:
|
|
927
|
+
params = {}
|
|
928
|
+
action = "BatchUpdateCdnConfig"
|
|
929
|
+
res = self.json(action, [], params)
|
|
930
|
+
if res == '':
|
|
931
|
+
raise Exception("%s: empty response" % action)
|
|
932
|
+
res_json = json.loads(res)
|
|
933
|
+
return res_json
|
|
934
|
+
|
|
935
|
+
def add_certificate(self, params=None):
|
|
936
|
+
if params is None:
|
|
937
|
+
params = {}
|
|
938
|
+
action = "AddCertificate"
|
|
939
|
+
res = self.json(action, [], params)
|
|
940
|
+
if res == '':
|
|
941
|
+
raise Exception("%s: empty response" % action)
|
|
942
|
+
res_json = json.loads(res)
|
|
943
|
+
return res_json
|
|
944
|
+
|
|
945
|
+
def delete_usage_report(self, params=None):
|
|
946
|
+
if params is None:
|
|
947
|
+
params = {}
|
|
948
|
+
action = "DeleteUsageReport"
|
|
949
|
+
res = self.json(action, [], params)
|
|
950
|
+
if res == '':
|
|
951
|
+
raise Exception("%s: empty response" % action)
|
|
952
|
+
res_json = json.loads(res)
|
|
953
|
+
return res_json
|
|
954
|
+
|
|
955
|
+
def create_usage_report(self, params=None):
|
|
956
|
+
if params is None:
|
|
957
|
+
params = {}
|
|
958
|
+
action = "CreateUsageReport"
|
|
959
|
+
res = self.json(action, [], params)
|
|
960
|
+
if res == '':
|
|
961
|
+
raise Exception("%s: empty response" % action)
|
|
962
|
+
res_json = json.loads(res)
|
|
963
|
+
return res_json
|
|
964
|
+
|
|
965
|
+
def list_usage_reports(self, params=None):
|
|
966
|
+
if params is None:
|
|
967
|
+
params = {}
|
|
968
|
+
action = "ListUsageReports"
|
|
969
|
+
res = self.json(action, [], params)
|
|
970
|
+
if res == '':
|
|
971
|
+
raise Exception("%s: empty response" % action)
|
|
972
|
+
res_json = json.loads(res)
|
|
973
|
+
return res_json
|
|
@@ -33,10 +33,10 @@ api_info = {
|
|
|
33
33
|
"DescribeCDNSnapshotHistory": ApiInfo("POST", "/", {"Action": "DescribeCDNSnapshotHistory", "Version": "2023-01-01"}, {}, {}),
|
|
34
34
|
"ListVhostSnapshotPreset": ApiInfo("POST", "/", {"Action": "ListVhostSnapshotPreset", "Version": "2023-01-01"}, {}, {}),
|
|
35
35
|
"CreateSnapshotPreset": ApiInfo("POST", "/", {"Action": "CreateSnapshotPreset", "Version": "2023-01-01"}, {}, {}),
|
|
36
|
-
"
|
|
37
|
-
"
|
|
36
|
+
"DeleteTimeShiftPresetV2": ApiInfo("POST", "/", {"Action": "DeleteTimeShiftPresetV2", "Version": "2023-01-01"}, {}, {}),
|
|
37
|
+
"CreateTimeShiftPresetV2": ApiInfo("POST", "/", {"Action": "CreateTimeShiftPresetV2", "Version": "2023-01-01"}, {}, {}),
|
|
38
|
+
"UpdateTimeShiftPresetV2": ApiInfo("POST", "/", {"Action": "UpdateTimeShiftPresetV2", "Version": "2023-01-01"}, {}, {}),
|
|
38
39
|
"ListTimeShiftPresetV2": ApiInfo("POST", "/", {"Action": "ListTimeShiftPresetV2", "Version": "2023-01-01"}, {}, {}),
|
|
39
|
-
"CreateTimeShiftPresetV3": ApiInfo("POST", "/", {"Action": "CreateTimeShiftPresetV3", "Version": "2023-01-01"}, {}, {}),
|
|
40
40
|
"DeleteCallback": ApiInfo("POST", "/", {"Action": "DeleteCallback", "Version": "2023-01-01"}, {}, {}),
|
|
41
41
|
"DescribeCallback": ApiInfo("POST", "/", {"Action": "DescribeCallback", "Version": "2023-01-01"}, {}, {}),
|
|
42
42
|
"UpdateCallback": ApiInfo("POST", "/", {"Action": "UpdateCallback", "Version": "2023-01-01"}, {}, {}),
|
|
@@ -53,21 +53,25 @@ api_info = {
|
|
|
53
53
|
"DescribeDomain": ApiInfo("POST", "/", {"Action": "DescribeDomain", "Version": "2023-01-01"}, {}, {}),
|
|
54
54
|
"ListDomainDetail": ApiInfo("POST", "/", {"Action": "ListDomainDetail", "Version": "2023-01-01"}, {}, {}),
|
|
55
55
|
"DisableDomain": ApiInfo("POST", "/", {"Action": "DisableDomain", "Version": "2023-01-01"}, {}, {}),
|
|
56
|
+
"CreateLiveVideoQualityAnalysisTask": ApiInfo("POST", "/", {"Action": "CreateLiveVideoQualityAnalysisTask", "Version": "2023-01-01"}, {}, {}),
|
|
57
|
+
"DeleteLiveVideoQualityAnalysisTask": ApiInfo("POST", "/", {"Action": "DeleteLiveVideoQualityAnalysisTask", "Version": "2023-01-01"}, {}, {}),
|
|
58
|
+
"GetLiveVideoQualityAnalysisTaskDetail": ApiInfo("POST", "/", {"Action": "GetLiveVideoQualityAnalysisTaskDetail", "Version": "2023-01-01"}, {}, {}),
|
|
59
|
+
"ListLiveVideoQualityAnalysisTasks": ApiInfo("POST", "/", {"Action": "ListLiveVideoQualityAnalysisTasks", "Version": "2023-01-01"}, {}, {}),
|
|
56
60
|
"StopPullToPushTask": ApiInfo("POST", "/", {"Action": "StopPullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
57
61
|
"CreatePullToPushTask": ApiInfo("POST", "/", {"Action": "CreatePullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
62
|
+
"CreatePullToPushGroup": ApiInfo("POST", "/", {"Action": "CreatePullToPushGroup", "Version": "2023-01-01"}, {}, {}),
|
|
58
63
|
"DeletePullToPushTask": ApiInfo("POST", "/", {"Action": "DeletePullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
64
|
+
"DeletePullToPushGroup": ApiInfo("POST", "/", {"Action": "DeletePullToPushGroup", "Version": "2023-01-01"}, {}, {}),
|
|
59
65
|
"RestartPullToPushTask": ApiInfo("POST", "/", {"Action": "RestartPullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
60
66
|
"UpdatePullToPushTask": ApiInfo("POST", "/", {"Action": "UpdatePullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
67
|
+
"ListPullToPushGroup": ApiInfo("POST", "/", {"Action": "ListPullToPushGroup", "Version": "2023-01-01"}, {}, {}),
|
|
61
68
|
"ListPullToPushTask": ApiInfo("GET", "/", {"Action": "ListPullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
69
|
+
"ListPullToPushTaskV2": ApiInfo("POST", "/", {"Action": "ListPullToPushTaskV2", "Version": "2023-01-01"}, {}, {}),
|
|
62
70
|
"DeleteRelaySourceRewrite": ApiInfo("POST", "/", {"Action": "DeleteRelaySourceRewrite", "Version": "2023-01-01"}, {}, {}),
|
|
63
|
-
"DeleteRelaySourceV4": ApiInfo("POST", "/", {"Action": "DeleteRelaySourceV4", "Version": "2023-01-01"}, {}, {}),
|
|
64
71
|
"DeleteRelaySourceV3": ApiInfo("POST", "/", {"Action": "DeleteRelaySourceV3", "Version": "2023-01-01"}, {}, {}),
|
|
65
72
|
"UpdateRelaySourceRewrite": ApiInfo("POST", "/", {"Action": "UpdateRelaySourceRewrite", "Version": "2023-01-01"}, {}, {}),
|
|
66
|
-
"UpdateRelaySourceV4": ApiInfo("POST", "/", {"Action": "UpdateRelaySourceV4", "Version": "2023-01-01"}, {}, {}),
|
|
67
73
|
"DescribeRelaySourceRewrite": ApiInfo("POST", "/", {"Action": "DescribeRelaySourceRewrite", "Version": "2023-01-01"}, {}, {}),
|
|
68
|
-
"ListRelaySourceV4": ApiInfo("POST", "/", {"Action": "ListRelaySourceV4", "Version": "2023-01-01"}, {}, {}),
|
|
69
74
|
"DescribeRelaySourceV3": ApiInfo("POST", "/", {"Action": "DescribeRelaySourceV3", "Version": "2023-01-01"}, {}, {}),
|
|
70
|
-
"CreateRelaySourceV4": ApiInfo("POST", "/", {"Action": "CreateRelaySourceV4", "Version": "2023-01-01"}, {}, {}),
|
|
71
75
|
"UpdateRelaySourceV3": ApiInfo("POST", "/", {"Action": "UpdateRelaySourceV3", "Version": "2023-01-01"}, {}, {}),
|
|
72
76
|
"KillStream": ApiInfo("POST", "/", {"Action": "KillStream", "Version": "2023-01-01"}, {}, {}),
|
|
73
77
|
"DescribeClosedStreamInfoByPage": ApiInfo("GET", "/", {"Action": "DescribeClosedStreamInfoByPage", "Version": "2023-01-01"}, {}, {}),
|
|
@@ -78,13 +82,14 @@ api_info = {
|
|
|
78
82
|
"ResumeStream": ApiInfo("POST", "/", {"Action": "ResumeStream", "Version": "2023-01-01"}, {}, {}),
|
|
79
83
|
"GeneratePlayURL": ApiInfo("POST", "/", {"Action": "GeneratePlayURL", "Version": "2023-01-01"}, {}, {}),
|
|
80
84
|
"GeneratePushURL": ApiInfo("POST", "/", {"Action": "GeneratePushURL", "Version": "2023-01-01"}, {}, {}),
|
|
81
|
-
"DescribeIpInfo": ApiInfo("POST", "/", {"Action": "DescribeIpInfo", "Version": "2023-01-01"}, {}, {}),
|
|
82
85
|
"DescribeLiveRegionData": ApiInfo("POST", "/", {"Action": "DescribeLiveRegionData", "Version": "2023-01-01"}, {}, {}),
|
|
83
86
|
"DescribeLiveSourceStreamMetrics": ApiInfo("POST", "/", {"Action": "DescribeLiveSourceStreamMetrics", "Version": "2023-01-01"}, {}, {}),
|
|
84
87
|
"DescribeLivePushStreamMetrics": ApiInfo("POST", "/", {"Action": "DescribeLivePushStreamMetrics", "Version": "2023-01-01"}, {}, {}),
|
|
85
88
|
"DescribeLiveStreamSessionData": ApiInfo("POST", "/", {"Action": "DescribeLiveStreamSessionData", "Version": "2023-01-01"}, {}, {}),
|
|
86
89
|
"DescribeLivePlayStatusCodeData": ApiInfo("POST", "/", {"Action": "DescribeLivePlayStatusCodeData", "Version": "2023-01-01"}, {}, {}),
|
|
90
|
+
"DescribeLiveBatchPushStreamMetrics": ApiInfo("POST", "/", {"Action": "DescribeLiveBatchPushStreamMetrics", "Version": "2023-01-01"}, {}, {}),
|
|
87
91
|
"DescribeLivePushStreamInfoData": ApiInfo("POST", "/", {"Action": "DescribeLivePushStreamInfoData", "Version": "2023-01-01"}, {}, {}),
|
|
92
|
+
"DescribeLiveTranscodeInfoData": ApiInfo("POST", "/", {"Action": "DescribeLiveTranscodeInfoData", "Version": "2023-01-01"}, {}, {}),
|
|
88
93
|
"DescribeLiveSourceBandwidthData": ApiInfo("POST", "/", {"Action": "DescribeLiveSourceBandwidthData", "Version": "2023-01-01"}, {}, {}),
|
|
89
94
|
"DescribeLiveSourceTrafficData": ApiInfo("POST", "/", {"Action": "DescribeLiveSourceTrafficData", "Version": "2023-01-01"}, {}, {}),
|
|
90
95
|
"DescribeLiveMetricBandwidthData": ApiInfo("POST", "/", {"Action": "DescribeLiveMetricBandwidthData", "Version": "2023-01-01"}, {}, {}),
|
|
@@ -114,6 +119,9 @@ api_info = {
|
|
|
114
119
|
"DescribeHTTPHeaderConfig": ApiInfo("POST", "/", {"Action": "DescribeHTTPHeaderConfig", "Version": "2023-01-01"}, {}, {}),
|
|
115
120
|
"UpdateHTTPHeaderConfig": ApiInfo("POST", "/", {"Action": "UpdateHTTPHeaderConfig", "Version": "2023-01-01"}, {}, {}),
|
|
116
121
|
"UpdateEncryptDRM": ApiInfo("POST", "/", {"Action": "UpdateEncryptDRM", "Version": "2023-01-01"}, {}, {}),
|
|
122
|
+
"UpdateEncryptHLS": ApiInfo("POST", "/", {"Action": "UpdateEncryptHLS", "Version": "2023-01-01"}, {}, {}),
|
|
123
|
+
"GetHLSEncryptDataKey": ApiInfo("GET", "/", {"Action": "GetHLSEncryptDataKey", "Version": "2023-01-01"}, {}, {}),
|
|
124
|
+
"DescribeEncryptHLS": ApiInfo("POST", "/", {"Action": "DescribeEncryptHLS", "Version": "2023-01-01"}, {}, {}),
|
|
117
125
|
"DescribeLicenseDRM": ApiInfo("POST", "/", {"Action": "DescribeLicenseDRM", "Version": "2023-01-01"}, {}, {}),
|
|
118
126
|
"DescribeCertDRM": ApiInfo("GET", "/", {"Action": "DescribeCertDRM", "Version": "2023-01-01"}, {}, {}),
|
|
119
127
|
"DescribeEncryptDRM": ApiInfo("POST", "/", {"Action": "DescribeEncryptDRM", "Version": "2023-01-01"}, {}, {}),
|
|
@@ -130,8 +138,13 @@ api_info = {
|
|
|
130
138
|
"UpdateCMAFConfig": ApiInfo("POST", "/", {"Action": "UpdateCMAFConfig", "Version": "2023-01-01"}, {}, {}),
|
|
131
139
|
"DescribeCMAFConfig": ApiInfo("POST", "/", {"Action": "DescribeCMAFConfig", "Version": "2023-01-01"}, {}, {}),
|
|
132
140
|
"DeleteLatencyConfig": ApiInfo("POST", "/", {"Action": "DeleteLatencyConfig", "Version": "2023-01-01"}, {}, {}),
|
|
133
|
-
"UpdateLatencyConfig": ApiInfo("POST", "/", {"Action": "UpdateLatencyConfig", "Version": "2023-01-01"}, {}, {}),
|
|
134
141
|
"DescribeLatencyConfig": ApiInfo("POST", "/", {"Action": "DescribeLatencyConfig", "Version": "2023-01-01"}, {}, {}),
|
|
142
|
+
"UpdateLatencyConfig": ApiInfo("POST", "/", {"Action": "UpdateLatencyConfig", "Version": "2023-01-01"}, {}, {}),
|
|
143
|
+
"CreateCloudMixTask": ApiInfo("POST", "/", {"Action": "CreateCloudMixTask", "Version": "2023-01-01"}, {}, {}),
|
|
144
|
+
"UpdateCloudMixTask": ApiInfo("POST", "/", {"Action": "UpdateCloudMixTask", "Version": "2023-01-01"}, {}, {}),
|
|
145
|
+
"GetCloudMixTaskDetail": ApiInfo("POST", "/", {"Action": "GetCloudMixTaskDetail", "Version": "2023-01-01"}, {}, {}),
|
|
146
|
+
"ListCloudMixTask": ApiInfo("POST", "/", {"Action": "ListCloudMixTask", "Version": "2023-01-01"}, {}, {}),
|
|
147
|
+
"DeleteCloudMixTask": ApiInfo("POST", "/", {"Action": "DeleteCloudMixTask", "Version": "2023-01-01"}, {}, {}),
|
|
135
148
|
"DeleteClusterRateLimit": ApiInfo("POST", "/", {"Action": "DeleteClusterRateLimit", "Version": "2023-01-01"}, {}, {}),
|
|
136
149
|
"DescribeClusterRateLimit": ApiInfo("POST", "/", {"Action": "DescribeClusterRateLimit", "Version": "2023-01-01"}, {}, {}),
|
|
137
150
|
"UpdateClusterRateLimit": ApiInfo("POST", "/", {"Action": "UpdateClusterRateLimit", "Version": "2023-01-01"}, {}, {}),
|
|
@@ -140,5 +153,9 @@ api_info = {
|
|
|
140
153
|
"UpdateUserAgentAccessRule": ApiInfo("POST", "/", {"Action": "UpdateUserAgentAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
141
154
|
"DeleteFormatAccessRule": ApiInfo("POST", "/", {"Action": "DeleteFormatAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
142
155
|
"DescribeFormatAccessRule": ApiInfo("POST", "/", {"Action": "DescribeFormatAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
143
|
-
"UpdateFormatAccessRule": ApiInfo("POST", "/", {"Action": "UpdateFormatAccessRule", "Version": "2023-01-01"}, {}, {})
|
|
156
|
+
"UpdateFormatAccessRule": ApiInfo("POST", "/", {"Action": "UpdateFormatAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
157
|
+
"DeleteSubtitleTranscodePreset": ApiInfo("POST", "/", {"Action": "DeleteSubtitleTranscodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
158
|
+
"UpdateSubtitleTranscodePreset": ApiInfo("POST", "/", {"Action": "UpdateSubtitleTranscodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
159
|
+
"ListVhostSubtitleTranscodePreset": ApiInfo("POST", "/", {"Action": "ListVhostSubtitleTranscodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
160
|
+
"CreateSubtitleTranscodePreset": ApiInfo("POST", "/", {"Action": "CreateSubtitleTranscodePreset", "Version": "2023-01-01"}, {}, {})
|
|
144
161
|
}
|