byteplus-sdk 1.0.49__tar.gz → 1.0.51__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.49 → byteplus-sdk-1.0.51}/PKG-INFO +1 -1
- byteplus-sdk-1.0.51/byteplus_sdk/__init__.py +2 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/cdn/service.py +117 -17
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/create_rule_engine_template.py +3 -2
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/update_rule_engine_template.py +3 -2
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk.egg-info/PKG-INFO +1 -1
- byteplus-sdk-1.0.49/byteplus_sdk/__init__.py +0 -2
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/LICENSE +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/README.md +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/ApiInfo.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/Credentials.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/Policy.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/ServiceInfo.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/ServiceInfoHttps.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/auth/MetaData.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/auth/SignerV4.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/auth/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/base/Request.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/base/Service.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/base/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/base/models/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/base/models/base/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/base/models/base/base_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/cdn/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/const/Const.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/const/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/add_cdn_certificate.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/add_cdn_domain.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/add_template_domain.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/create_cipher_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/create_service_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/delete_cdn_domain.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/delete_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_accounting_data.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_access_log.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_config.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_data.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_data_detail.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_detail.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_origin_data.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_region_and_isp.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_service.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_upper_ip.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cipher_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_content_block_tasks.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_content_quota.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_content_tasks.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_edge_nrt_data_summary.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_edge_statistical_data.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_edge_top_nrt_data.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_edge_top_statistical_data.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_edge_top_status_code.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_ip_info.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_ip_list_info.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_origin_nrt_data_summary.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_origin_top_nrt_data.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_origin_top_status_code.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_rule_engine_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_service_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_template_domains.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_templates.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/duplicate_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/list_cdn_cert_info.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/list_cdn_domains.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/list_cert_info.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/lock_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/release_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/start_cdn_domain.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/stop_cdn_domain.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/submit_block_task.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/submit_preload_task.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/submit_refresh_task.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/submit_unblock_task.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/update_cdn_config.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/update_cipher_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/update_service_template.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/update_template_domain.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/live/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/rtc/RtcService.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/rtc/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/rtc/example_get_record_task.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/rtc/example_start_record.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/visual/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/visual/cv_get_result.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/visual/cv_process.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/visual/cv_submit_task.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/visual/cv_sync2async_get_result.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/visual/cv_sync2async_submit_task.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/visual/example_common.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/iam/IamService.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/iam/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/live/LiveService.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/live/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/live/v20200801/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/live/v20200801/live_config.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/live/v20200801/live_service.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/live/v20200801/live_trait.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/live/v20230101/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/live/v20230101/live_config.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/live/v20230101/live_service.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/live/v20230101/live_trait.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/sms/SmsService.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/sms/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/util/Functions.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/util/Util.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/util/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/visual/VisualService.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/visual/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/VodService.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/VodServiceConfig.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_apps_manage_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_callback_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_cdn_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_common_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_edit_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_measure_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_media_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_play_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_project_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_quality_platform_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_smart_strategy_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_space_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_upload_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_workflow_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/request/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/request/request_vod_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/response/__init__.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/response/response_vod_pb2.py +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk.egg-info/SOURCES.txt +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk.egg-info/dependency_links.txt +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk.egg-info/requires.txt +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk.egg-info/top_level.txt +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/setup.cfg +0 -0
- {byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/setup.py +0 -0
|
@@ -7,6 +7,8 @@ from byteplus_sdk.Credentials import Credentials
|
|
|
7
7
|
from byteplus_sdk.base.Service import Service
|
|
8
8
|
from byteplus_sdk.ServiceInfo import ServiceInfo
|
|
9
9
|
|
|
10
|
+
GET = "GET"
|
|
11
|
+
POST = "POST"
|
|
10
12
|
SERVICE_VERSION = "2021-03-01"
|
|
11
13
|
|
|
12
14
|
service_info_map = {
|
|
@@ -114,6 +116,9 @@ api_info = {
|
|
|
114
116
|
"DescribeCdnUpperIp": ApiInfo("POST", "/", {
|
|
115
117
|
"Action": "DescribeCdnUpperIp", "Version": SERVICE_VERSION}, {}, {}),
|
|
116
118
|
|
|
119
|
+
"ListResourceTags": ApiInfo("POST", "/", {
|
|
120
|
+
"Action": "ListResourceTags", "Version": SERVICE_VERSION}, {}, {}),
|
|
121
|
+
|
|
117
122
|
"AddCdnCertificate": ApiInfo("POST", "/", {
|
|
118
123
|
"Action": "AddCdnCertificate", "Version": SERVICE_VERSION}, {}, {}),
|
|
119
124
|
|
|
@@ -174,17 +179,17 @@ api_info = {
|
|
|
174
179
|
"CreateServiceTemplate": ApiInfo("POST", "/", {
|
|
175
180
|
"Action": "CreateServiceTemplate", "Version": SERVICE_VERSION}, {}, {}),
|
|
176
181
|
|
|
177
|
-
"
|
|
178
|
-
"Action": "
|
|
182
|
+
"CreateTemplateVersion": ApiInfo("POST", "/", {
|
|
183
|
+
"Action": "CreateTemplateVersion", "Version": SERVICE_VERSION}, {}, {}),
|
|
179
184
|
|
|
180
|
-
"
|
|
181
|
-
"Action": "
|
|
185
|
+
"DescribeTemplateReleaseVersions": ApiInfo("POST", "/", {
|
|
186
|
+
"Action": "DescribeTemplateReleaseVersions", "Version": SERVICE_VERSION}, {}, {}),
|
|
182
187
|
|
|
183
|
-
"
|
|
184
|
-
"Action": "
|
|
188
|
+
"DescribeDomainShared": ApiInfo("POST", "/", {
|
|
189
|
+
"Action": "DescribeDomainShared", "Version": SERVICE_VERSION}, {}, {}),
|
|
185
190
|
|
|
186
|
-
"
|
|
187
|
-
"Action": "
|
|
191
|
+
"DescribeCdnIP": ApiInfo("POST", "/", {
|
|
192
|
+
"Action": "DescribeCdnIP", "Version": SERVICE_VERSION}, {}, {}),
|
|
188
193
|
|
|
189
194
|
"DescribeDistrictData": ApiInfo("POST", "/", {
|
|
190
195
|
"Action": "DescribeDistrictData", "Version": SERVICE_VERSION}, {}, {}),
|
|
@@ -252,12 +257,27 @@ api_info = {
|
|
|
252
257
|
"UpdateSharedConfig": ApiInfo("POST", "/", {
|
|
253
258
|
"Action": "UpdateSharedConfig", "Version": SERVICE_VERSION}, {}, {}),
|
|
254
259
|
|
|
260
|
+
"AddSharedConfig": ApiInfo("POST", "/", {
|
|
261
|
+
"Action": "AddSharedConfig", "Version": SERVICE_VERSION}, {}, {}),
|
|
262
|
+
|
|
255
263
|
"TagResources": ApiInfo("POST", "/", {
|
|
256
264
|
"Action": "TagResources", "Version": SERVICE_VERSION}, {}, {}),
|
|
257
265
|
|
|
258
266
|
"UntagResources": ApiInfo("POST", "/", {
|
|
259
267
|
"Action": "UntagResources", "Version": SERVICE_VERSION}, {}, {}),
|
|
260
268
|
|
|
269
|
+
"ReleaseTemplate": ApiInfo("POST", "/", {
|
|
270
|
+
"Action": "ReleaseTemplate", "Version": SERVICE_VERSION}, {}, {}),
|
|
271
|
+
|
|
272
|
+
"CreateRuleEngineTemplate": ApiInfo("POST", "/", {
|
|
273
|
+
"Action": "CreateRuleEngineTemplate", "Version": SERVICE_VERSION}, {}, {}),
|
|
274
|
+
|
|
275
|
+
"UpdateRuleEngineTemplate": ApiInfo("POST", "/", {
|
|
276
|
+
"Action": "UpdateRuleEngineTemplate", "Version": SERVICE_VERSION}, {}, {}),
|
|
277
|
+
|
|
278
|
+
"DescribeRuleEngineTemplate": ApiInfo("POST", "/", {
|
|
279
|
+
"Action": "DescribeRuleEngineTemplate", "Version": SERVICE_VERSION}, {}, {}),
|
|
280
|
+
|
|
261
281
|
|
|
262
282
|
}
|
|
263
283
|
|
|
@@ -287,6 +307,26 @@ class CDNService(Service):
|
|
|
287
307
|
@staticmethod
|
|
288
308
|
def get_api_info():
|
|
289
309
|
return api_info
|
|
310
|
+
|
|
311
|
+
@staticmethod
|
|
312
|
+
def use_post():
|
|
313
|
+
return POST
|
|
314
|
+
|
|
315
|
+
@staticmethod
|
|
316
|
+
def use_get():
|
|
317
|
+
return GET
|
|
318
|
+
|
|
319
|
+
def send_request(self, action, params, method=POST):
|
|
320
|
+
method = str(method).upper()
|
|
321
|
+
if method == 'POST':
|
|
322
|
+
res = self.json(action, [], json.dumps(params))
|
|
323
|
+
elif method == "GET":
|
|
324
|
+
self.get_api_info()[action].method = self.use_get()
|
|
325
|
+
res = self.request(action, params, json.dumps({}))
|
|
326
|
+
self.get_api_info()[action].method = self.use_post()
|
|
327
|
+
else:
|
|
328
|
+
raise Exception("not support method %s" % method)
|
|
329
|
+
return res
|
|
290
330
|
|
|
291
331
|
def add_cdn_domain(self, params=None):
|
|
292
332
|
if params is None:
|
|
@@ -622,6 +662,16 @@ class CDNService(Service):
|
|
|
622
662
|
res_json = json.loads(res)
|
|
623
663
|
return res_json
|
|
624
664
|
|
|
665
|
+
def list_resource_tags(self, params=None):
|
|
666
|
+
if params is None:
|
|
667
|
+
params = {}
|
|
668
|
+
action = "ListResourceTags"
|
|
669
|
+
res = self.json(action, [], params)
|
|
670
|
+
if res == '':
|
|
671
|
+
raise Exception("%s: empty response" % action)
|
|
672
|
+
res_json = json.loads(res)
|
|
673
|
+
return res_json
|
|
674
|
+
|
|
625
675
|
def add_cdn_certificate(self, params=None):
|
|
626
676
|
if params is None:
|
|
627
677
|
params = {}
|
|
@@ -822,6 +872,46 @@ class CDNService(Service):
|
|
|
822
872
|
res_json = json.loads(res)
|
|
823
873
|
return res_json
|
|
824
874
|
|
|
875
|
+
def create_template_version(self, params=None):
|
|
876
|
+
if params is None:
|
|
877
|
+
params = {}
|
|
878
|
+
action = "CreateTemplateVersion"
|
|
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_template_release_versions(self, params=None):
|
|
886
|
+
if params is None:
|
|
887
|
+
params = {}
|
|
888
|
+
action = "DescribeTemplateReleaseVersions"
|
|
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_domain_shared(self, params=None):
|
|
896
|
+
if params is None:
|
|
897
|
+
params = {}
|
|
898
|
+
action = "DescribeDomainShared"
|
|
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_cdn_ip(self, params=None):
|
|
906
|
+
if params is None:
|
|
907
|
+
params = {}
|
|
908
|
+
action = "DescribeCdnIP"
|
|
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
|
+
|
|
825
915
|
def describe_district_data(self, params=None):
|
|
826
916
|
if params is None:
|
|
827
917
|
params = {}
|
|
@@ -1042,6 +1132,16 @@ class CDNService(Service):
|
|
|
1042
1132
|
res_json = json.loads(res)
|
|
1043
1133
|
return res_json
|
|
1044
1134
|
|
|
1135
|
+
def add_shared_config(self, params=None):
|
|
1136
|
+
if params is None:
|
|
1137
|
+
params = {}
|
|
1138
|
+
action = "AddSharedConfig"
|
|
1139
|
+
res = self.json(action, [], params)
|
|
1140
|
+
if res == '':
|
|
1141
|
+
raise Exception("%s: empty response" % action)
|
|
1142
|
+
res_json = json.loads(res)
|
|
1143
|
+
return res_json
|
|
1144
|
+
|
|
1045
1145
|
def tag_resources(self, params=None):
|
|
1046
1146
|
if params is None:
|
|
1047
1147
|
params = {}
|
|
@@ -1062,42 +1162,42 @@ class CDNService(Service):
|
|
|
1062
1162
|
res_json = json.loads(res)
|
|
1063
1163
|
return res_json
|
|
1064
1164
|
|
|
1065
|
-
def
|
|
1165
|
+
def release_template(self, params=None):
|
|
1066
1166
|
if params is None:
|
|
1067
1167
|
params = {}
|
|
1068
|
-
action = "
|
|
1168
|
+
action = "ReleaseTemplate"
|
|
1069
1169
|
res = self.json(action, [], params)
|
|
1070
1170
|
if res == '':
|
|
1071
1171
|
raise Exception("%s: empty response" % action)
|
|
1072
1172
|
res_json = json.loads(res)
|
|
1073
1173
|
return res_json
|
|
1074
1174
|
|
|
1075
|
-
def
|
|
1175
|
+
def create_rule_engine_template(self, params=None):
|
|
1076
1176
|
if params is None:
|
|
1077
1177
|
params = {}
|
|
1078
|
-
action = "
|
|
1178
|
+
action = "CreateRuleEngineTemplate"
|
|
1079
1179
|
res = self.json(action, [], params)
|
|
1080
1180
|
if res == '':
|
|
1081
1181
|
raise Exception("%s: empty response" % action)
|
|
1082
1182
|
res_json = json.loads(res)
|
|
1083
1183
|
return res_json
|
|
1084
1184
|
|
|
1085
|
-
def
|
|
1185
|
+
def update_rule_engine_template(self, params=None):
|
|
1086
1186
|
if params is None:
|
|
1087
1187
|
params = {}
|
|
1088
|
-
action = "
|
|
1188
|
+
action = "UpdateRuleEngineTemplate"
|
|
1089
1189
|
res = self.json(action, [], params)
|
|
1090
1190
|
if res == '':
|
|
1091
1191
|
raise Exception("%s: empty response" % action)
|
|
1092
1192
|
res_json = json.loads(res)
|
|
1093
1193
|
return res_json
|
|
1094
1194
|
|
|
1095
|
-
def
|
|
1195
|
+
def describe_rule_engine_template(self, params=None):
|
|
1096
1196
|
if params is None:
|
|
1097
1197
|
params = {}
|
|
1098
|
-
action = "
|
|
1198
|
+
action = "DescribeRuleEngineTemplate"
|
|
1099
1199
|
res = self.json(action, [], params)
|
|
1100
1200
|
if res == '':
|
|
1101
1201
|
raise Exception("%s: empty response" % action)
|
|
1102
1202
|
res_json = json.loads(res)
|
|
1103
|
-
return res_json
|
|
1203
|
+
return res_json
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/create_rule_engine_template.py
RENAMED
|
@@ -7,8 +7,9 @@ sys.path.append(os.path.dirname(os.path.realpath(__file__)) + "/../../../")
|
|
|
7
7
|
from byteplus_sdk.example.cdn import ak, sk
|
|
8
8
|
from byteplus_sdk.cdn.service import CDNService
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
from rule_engine.Const import Const
|
|
10
|
+
# pip3 install cdn_rule_engine_sdk
|
|
11
|
+
from cdn_rule_engine_sdk.rule_engine.Const import Const
|
|
12
|
+
from cdn_rule_engine_sdk.rule_engine.Rule import Rule, Condition, Action
|
|
12
13
|
|
|
13
14
|
def example():
|
|
14
15
|
cdn_service = CDNService()
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/update_rule_engine_template.py
RENAMED
|
@@ -7,8 +7,9 @@ sys.path.append(os.path.dirname(os.path.realpath(__file__)) + "/../../../")
|
|
|
7
7
|
from byteplus_sdk.example.cdn import ak, sk
|
|
8
8
|
from byteplus_sdk.cdn.service import CDNService
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
from rule_engine.Const import Const
|
|
10
|
+
# pip3 install cdn_rule_engine_sdk
|
|
11
|
+
from cdn_rule_engine_sdk.rule_engine.Const import Const
|
|
12
|
+
from cdn_rule_engine_sdk.rule_engine.Rule import Rule, Condition, Action
|
|
12
13
|
|
|
13
14
|
def example():
|
|
14
15
|
cdn_service = CDNService()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/create_cipher_template.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/create_service_template.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_accounting_data.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_access_log.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_data_detail.py
RENAMED
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_origin_data.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_region_and_isp.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_service.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cdn_upper_ip.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_cipher_template.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_content_block_tasks.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_content_quota.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_content_tasks.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_edge_top_nrt_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_ip_list_info.py
RENAMED
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_origin_top_nrt_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_service_template.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/describe_template_domains.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/update_cipher_template.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/update_service_template.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/cdn/update_template_domain.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/rtc/example_get_record_task.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/rtc/example_start_record.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/visual/cv_sync2async_get_result.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/example/visual/cv_sync2async_submit_task.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_apps_manage_pb2.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_callback_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_common_pb2.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_edit_pb2.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_measure_pb2.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_media_pb2.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_play_pb2.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_project_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_space_pb2.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_upload_pb2.py
RENAMED
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/business/vod_workflow_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/request/request_vod_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
{byteplus-sdk-1.0.49 → byteplus-sdk-1.0.51}/byteplus_sdk/vod/models/response/response_vod_pb2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|