byteplus-sdk 1.0.62__py3-none-any.whl
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/ApiInfo.py +13 -0
- byteplus_sdk/Credentials.py +15 -0
- byteplus_sdk/Policy.py +91 -0
- byteplus_sdk/ServiceInfo.py +11 -0
- byteplus_sdk/ServiceInfoHttps.py +11 -0
- byteplus_sdk/__init__.py +2 -0
- byteplus_sdk/auth/MetaData.py +29 -0
- byteplus_sdk/auth/SignerV4.py +145 -0
- byteplus_sdk/auth/__init__.py +0 -0
- byteplus_sdk/base/Request.py +51 -0
- byteplus_sdk/base/Service.py +227 -0
- byteplus_sdk/base/__init__.py +0 -0
- byteplus_sdk/base/models/__init__.py +0 -0
- byteplus_sdk/base/models/base/__init__.py +0 -0
- byteplus_sdk/base/models/base/base_pb2.py +46 -0
- byteplus_sdk/cdn/__init__.py +0 -0
- byteplus_sdk/cdn/service.py +1203 -0
- byteplus_sdk/const/Const.py +66 -0
- byteplus_sdk/const/__init__.py +0 -0
- byteplus_sdk/example/__init__.py +1 -0
- byteplus_sdk/example/cdn/__init__.py +3 -0
- byteplus_sdk/example/cdn/add_cdn_certificate.py +27 -0
- byteplus_sdk/example/cdn/add_cdn_domain.py +35 -0
- byteplus_sdk/example/cdn/add_template_domain.py +26 -0
- byteplus_sdk/example/cdn/create_cipher_template.py +25 -0
- byteplus_sdk/example/cdn/create_rule_engine_template.py +161 -0
- byteplus_sdk/example/cdn/create_service_template.py +41 -0
- byteplus_sdk/example/cdn/delete_cdn_domain.py +19 -0
- byteplus_sdk/example/cdn/delete_template.py +20 -0
- byteplus_sdk/example/cdn/describe_accounting_data.py +24 -0
- byteplus_sdk/example/cdn/describe_cdn_access_log.py +23 -0
- byteplus_sdk/example/cdn/describe_cdn_config.py +19 -0
- byteplus_sdk/example/cdn/describe_cdn_data.py +29 -0
- byteplus_sdk/example/cdn/describe_cdn_data_detail.py +25 -0
- byteplus_sdk/example/cdn/describe_cdn_detail.py +26 -0
- byteplus_sdk/example/cdn/describe_cdn_origin_data.py +24 -0
- byteplus_sdk/example/cdn/describe_cdn_region_and_isp.py +19 -0
- byteplus_sdk/example/cdn/describe_cdn_service.py +15 -0
- byteplus_sdk/example/cdn/describe_cdn_upper_ip.py +19 -0
- byteplus_sdk/example/cdn/describe_cipher_template.py +20 -0
- byteplus_sdk/example/cdn/describe_content_block_tasks.py +23 -0
- byteplus_sdk/example/cdn/describe_content_quota.py +14 -0
- byteplus_sdk/example/cdn/describe_content_tasks.py +21 -0
- byteplus_sdk/example/cdn/describe_edge_nrt_data_summary.py +23 -0
- byteplus_sdk/example/cdn/describe_edge_statistical_data.py +24 -0
- byteplus_sdk/example/cdn/describe_edge_top_nrt_data.py +25 -0
- byteplus_sdk/example/cdn/describe_edge_top_statistical_data.py +25 -0
- byteplus_sdk/example/cdn/describe_edge_top_status_code.py +22 -0
- byteplus_sdk/example/cdn/describe_ip_info.py +19 -0
- byteplus_sdk/example/cdn/describe_ip_list_info.py +20 -0
- byteplus_sdk/example/cdn/describe_origin_nrt_data_summary.py +23 -0
- byteplus_sdk/example/cdn/describe_origin_top_nrt_data.py +24 -0
- byteplus_sdk/example/cdn/describe_origin_top_status_code.py +22 -0
- byteplus_sdk/example/cdn/describe_rule_engine_template.py +23 -0
- byteplus_sdk/example/cdn/describe_service_template.py +20 -0
- byteplus_sdk/example/cdn/describe_template_domains.py +22 -0
- byteplus_sdk/example/cdn/describe_templates.py +30 -0
- byteplus_sdk/example/cdn/duplicate_template.py +23 -0
- byteplus_sdk/example/cdn/list_cdn_cert_info.py +19 -0
- byteplus_sdk/example/cdn/list_cdn_domains.py +19 -0
- byteplus_sdk/example/cdn/list_cert_info.py +20 -0
- byteplus_sdk/example/cdn/lock_template.py +20 -0
- byteplus_sdk/example/cdn/release_template.py +23 -0
- byteplus_sdk/example/cdn/start_cdn_domain.py +19 -0
- byteplus_sdk/example/cdn/stop_cdn_domain.py +19 -0
- byteplus_sdk/example/cdn/submit_block_task.py +18 -0
- byteplus_sdk/example/cdn/submit_preload_task.py +18 -0
- byteplus_sdk/example/cdn/submit_refresh_task.py +19 -0
- byteplus_sdk/example/cdn/submit_unblock_task.py +18 -0
- byteplus_sdk/example/cdn/update_cdn_config.py +34 -0
- byteplus_sdk/example/cdn/update_cipher_template.py +48 -0
- byteplus_sdk/example/cdn/update_rule_engine_template.py +62 -0
- byteplus_sdk/example/cdn/update_service_template.py +42 -0
- byteplus_sdk/example/cdn/update_template_domain.py +29 -0
- byteplus_sdk/example/live/__init__.py +0 -0
- byteplus_sdk/example/rtc/RtcService.py +53 -0
- byteplus_sdk/example/rtc/__init__.py +0 -0
- byteplus_sdk/example/rtc/example_get_record_task.py +25 -0
- byteplus_sdk/example/rtc/example_start_record.py +86 -0
- byteplus_sdk/example/visual/__init__.py +0 -0
- byteplus_sdk/example/visual/cv_cancel_task.py +19 -0
- byteplus_sdk/example/visual/cv_get_result.py +19 -0
- byteplus_sdk/example/visual/cv_process.py +20 -0
- byteplus_sdk/example/visual/cv_submit_task.py +19 -0
- byteplus_sdk/example/visual/cv_sync2async_get_result.py +20 -0
- byteplus_sdk/example/visual/cv_sync2async_submit_task.py +20 -0
- byteplus_sdk/example/visual/example_common.py +32 -0
- byteplus_sdk/iam/IamService.py +42 -0
- byteplus_sdk/iam/__init__.py +0 -0
- byteplus_sdk/live/LiveService.py +571 -0
- byteplus_sdk/live/__init__.py +1 -0
- byteplus_sdk/live/v20200801/__init__.py +1 -0
- byteplus_sdk/live/v20200801/live_config.py +18 -0
- byteplus_sdk/live/v20200801/live_service.py +12 -0
- byteplus_sdk/live/v20200801/live_trait.py +62 -0
- byteplus_sdk/live/v20230101/__init__.py +1 -0
- byteplus_sdk/live/v20230101/live_config.py +171 -0
- byteplus_sdk/live/v20230101/live_service.py +12 -0
- byteplus_sdk/live/v20230101/live_trait.py +1133 -0
- byteplus_sdk/sms/SmsService.py +158 -0
- byteplus_sdk/sms/__init__.py +0 -0
- byteplus_sdk/util/Functions.py +37 -0
- byteplus_sdk/util/Util.py +116 -0
- byteplus_sdk/util/__init__.py +0 -0
- byteplus_sdk/visual/VisualService.py +142 -0
- byteplus_sdk/visual/__init__.py +0 -0
- byteplus_sdk/vod/VodService.py +2941 -0
- byteplus_sdk/vod/VodServiceConfig.py +134 -0
- byteplus_sdk/vod/__init__.py +0 -0
- byteplus_sdk/vod/models/__init__.py +0 -0
- byteplus_sdk/vod/models/business/__init__.py +0 -0
- byteplus_sdk/vod/models/business/vod_apps_manage_pb2.py +35 -0
- byteplus_sdk/vod/models/business/vod_callback_pb2.py +32 -0
- byteplus_sdk/vod/models/business/vod_cdn_pb2.py +434 -0
- byteplus_sdk/vod/models/business/vod_common_pb2.py +342 -0
- byteplus_sdk/vod/models/business/vod_edit_pb2.py +55 -0
- byteplus_sdk/vod/models/business/vod_measure_pb2.py +395 -0
- byteplus_sdk/vod/models/business/vod_media_pb2.py +547 -0
- byteplus_sdk/vod/models/business/vod_play_pb2.py +95 -0
- byteplus_sdk/vod/models/business/vod_project_pb2.py +45 -0
- byteplus_sdk/vod/models/business/vod_quality_platform_pb2.py +46 -0
- byteplus_sdk/vod/models/business/vod_smart_strategy_pb2.py +53 -0
- byteplus_sdk/vod/models/business/vod_space_pb2.py +63 -0
- byteplus_sdk/vod/models/business/vod_upload_pb2.py +344 -0
- byteplus_sdk/vod/models/business/vod_workflow_pb2.py +389 -0
- byteplus_sdk/vod/models/request/__init__.py +0 -0
- byteplus_sdk/vod/models/request/request_vod_pb2.py +1250 -0
- byteplus_sdk/vod/models/response/__init__.py +0 -0
- byteplus_sdk/vod/models/response/response_vod_pb2.py +1199 -0
- byteplus_sdk-1.0.62.dist-info/METADATA +24 -0
- byteplus_sdk-1.0.62.dist-info/RECORD +134 -0
- byteplus_sdk-1.0.62.dist-info/WHEEL +5 -0
- byteplus_sdk-1.0.62.dist-info/licenses/LICENSE +201 -0
- byteplus_sdk-1.0.62.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
# coding:utf-8
|
|
2
|
+
|
|
3
|
+
from byteplus_sdk.ServiceInfo import ServiceInfo
|
|
4
|
+
from byteplus_sdk.Credentials import Credentials
|
|
5
|
+
from byteplus_sdk.ApiInfo import ApiInfo
|
|
6
|
+
|
|
7
|
+
service_info_map = {
|
|
8
|
+
'cn-north-1': ServiceInfo(
|
|
9
|
+
'open.byteplusapi.com',
|
|
10
|
+
{'Accept': 'application/json'},
|
|
11
|
+
Credentials('', '', 'live', 'cn-north-1'),
|
|
12
|
+
10, 10, "https")
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
api_info = {
|
|
16
|
+
"DeleteTranscodePreset": ApiInfo("POST", "/", {"Action": "DeleteTranscodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
17
|
+
"UpdateTranscodePreset": ApiInfo("POST", "/", {"Action": "UpdateTranscodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
18
|
+
"ListCommonTransPresetDetail": ApiInfo("POST", "/", {"Action": "ListCommonTransPresetDetail", "Version": "2023-01-01"}, {}, {}),
|
|
19
|
+
"ListVhostTransCodePreset": ApiInfo("POST", "/", {"Action": "ListVhostTransCodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
20
|
+
"CreateTranscodePreset": ApiInfo("POST", "/", {"Action": "CreateTranscodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
21
|
+
"CreateWatermarkPreset": ApiInfo("POST", "/", {"Action": "CreateWatermarkPreset", "Version": "2023-01-01"}, {}, {}),
|
|
22
|
+
"UpdateWatermarkPreset": ApiInfo("POST", "/", {"Action": "UpdateWatermarkPreset", "Version": "2023-01-01"}, {}, {}),
|
|
23
|
+
"DeleteWatermarkPreset": ApiInfo("POST", "/", {"Action": "DeleteWatermarkPreset", "Version": "2023-01-01"}, {}, {}),
|
|
24
|
+
"ListWatermarkPreset": ApiInfo("POST", "/", {"Action": "ListWatermarkPreset", "Version": "2023-01-01"}, {}, {}),
|
|
25
|
+
"ListVhostWatermarkPreset": ApiInfo("POST", "/", {"Action": "ListVhostWatermarkPreset", "Version": "2023-01-01"}, {}, {}),
|
|
26
|
+
"DeleteRecordPreset": ApiInfo("POST", "/", {"Action": "DeleteRecordPreset", "Version": "2023-01-01"}, {}, {}),
|
|
27
|
+
"UpdateRecordPresetV2": ApiInfo("POST", "/", {"Action": "UpdateRecordPresetV2", "Version": "2023-01-01"}, {}, {}),
|
|
28
|
+
"DescribeRecordTaskFileHistory": ApiInfo("POST", "/", {"Action": "DescribeRecordTaskFileHistory", "Version": "2023-01-01"}, {}, {}),
|
|
29
|
+
"ListVhostRecordPresetV2": ApiInfo("POST", "/", {"Action": "ListVhostRecordPresetV2", "Version": "2023-01-01"}, {}, {}),
|
|
30
|
+
"CreateRecordPresetV2": ApiInfo("POST", "/", {"Action": "CreateRecordPresetV2", "Version": "2023-01-01"}, {}, {}),
|
|
31
|
+
"DeleteSnapshotPreset": ApiInfo("POST", "/", {"Action": "DeleteSnapshotPreset", "Version": "2023-01-01"}, {}, {}),
|
|
32
|
+
"UpdateSnapshotPreset": ApiInfo("POST", "/", {"Action": "UpdateSnapshotPreset", "Version": "2023-01-01"}, {}, {}),
|
|
33
|
+
"DescribeCDNSnapshotHistory": ApiInfo("POST", "/", {"Action": "DescribeCDNSnapshotHistory", "Version": "2023-01-01"}, {}, {}),
|
|
34
|
+
"ListVhostSnapshotPreset": ApiInfo("POST", "/", {"Action": "ListVhostSnapshotPreset", "Version": "2023-01-01"}, {}, {}),
|
|
35
|
+
"CreateSnapshotPreset": ApiInfo("POST", "/", {"Action": "CreateSnapshotPreset", "Version": "2023-01-01"}, {}, {}),
|
|
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"}, {}, {}),
|
|
39
|
+
"ListTimeShiftPresetV2": ApiInfo("POST", "/", {"Action": "ListTimeShiftPresetV2", "Version": "2023-01-01"}, {}, {}),
|
|
40
|
+
"DeleteCallback": ApiInfo("POST", "/", {"Action": "DeleteCallback", "Version": "2023-01-01"}, {}, {}),
|
|
41
|
+
"DescribeCallback": ApiInfo("POST", "/", {"Action": "DescribeCallback", "Version": "2023-01-01"}, {}, {}),
|
|
42
|
+
"UpdateCallback": ApiInfo("POST", "/", {"Action": "UpdateCallback", "Version": "2023-01-01"}, {}, {}),
|
|
43
|
+
"DeleteCert": ApiInfo("POST", "/", {"Action": "DeleteCert", "Version": "2023-01-01"}, {}, {}),
|
|
44
|
+
"DescribeCertDetailSecretV2": ApiInfo("POST", "/", {"Action": "DescribeCertDetailSecretV2", "Version": "2023-01-01"}, {}, {}),
|
|
45
|
+
"ListCertV2": ApiInfo("POST", "/", {"Action": "ListCertV2", "Version": "2023-01-01"}, {}, {}),
|
|
46
|
+
"CreateCert": ApiInfo("POST", "/", {"Action": "CreateCert", "Version": "2023-01-01"}, {}, {}),
|
|
47
|
+
"BindCert": ApiInfo("POST", "/", {"Action": "BindCert", "Version": "2023-01-01"}, {}, {}),
|
|
48
|
+
"UnbindCert": ApiInfo("POST", "/", {"Action": "UnbindCert", "Version": "2023-01-01"}, {}, {}),
|
|
49
|
+
"DeleteDomain": ApiInfo("POST", "/", {"Action": "DeleteDomain", "Version": "2023-01-01"}, {}, {}),
|
|
50
|
+
"EnableDomain": ApiInfo("POST", "/", {"Action": "EnableDomain", "Version": "2023-01-01"}, {}, {}),
|
|
51
|
+
"CreateDomainV2": ApiInfo("POST", "/", {"Action": "CreateDomainV2", "Version": "2023-01-01"}, {}, {}),
|
|
52
|
+
"UpdateDomainVhost": ApiInfo("POST", "/", {"Action": "UpdateDomainVhost", "Version": "2023-01-01"}, {}, {}),
|
|
53
|
+
"DescribeDomain": ApiInfo("POST", "/", {"Action": "DescribeDomain", "Version": "2023-01-01"}, {}, {}),
|
|
54
|
+
"ListDomainDetail": ApiInfo("POST", "/", {"Action": "ListDomainDetail", "Version": "2023-01-01"}, {}, {}),
|
|
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"}, {}, {}),
|
|
60
|
+
"StopPullToPushTask": ApiInfo("POST", "/", {"Action": "StopPullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
61
|
+
"CreatePullToPushTask": ApiInfo("POST", "/", {"Action": "CreatePullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
62
|
+
"CreatePullToPushGroup": ApiInfo("POST", "/", {"Action": "CreatePullToPushGroup", "Version": "2023-01-01"}, {}, {}),
|
|
63
|
+
"DeletePullToPushTask": ApiInfo("POST", "/", {"Action": "DeletePullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
64
|
+
"DeletePullToPushGroup": ApiInfo("POST", "/", {"Action": "DeletePullToPushGroup", "Version": "2023-01-01"}, {}, {}),
|
|
65
|
+
"RestartPullToPushTask": ApiInfo("POST", "/", {"Action": "RestartPullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
66
|
+
"UpdatePullToPushTask": ApiInfo("POST", "/", {"Action": "UpdatePullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
67
|
+
"ListPullToPushGroup": ApiInfo("POST", "/", {"Action": "ListPullToPushGroup", "Version": "2023-01-01"}, {}, {}),
|
|
68
|
+
"ListPullToPushTask": ApiInfo("GET", "/", {"Action": "ListPullToPushTask", "Version": "2023-01-01"}, {}, {}),
|
|
69
|
+
"ListPullToPushTaskV2": ApiInfo("POST", "/", {"Action": "ListPullToPushTaskV2", "Version": "2023-01-01"}, {}, {}),
|
|
70
|
+
"DeleteRelaySourceRewrite": ApiInfo("POST", "/", {"Action": "DeleteRelaySourceRewrite", "Version": "2023-01-01"}, {}, {}),
|
|
71
|
+
"DeleteRelaySourceV3": ApiInfo("POST", "/", {"Action": "DeleteRelaySourceV3", "Version": "2023-01-01"}, {}, {}),
|
|
72
|
+
"UpdateRelaySourceRewrite": ApiInfo("POST", "/", {"Action": "UpdateRelaySourceRewrite", "Version": "2023-01-01"}, {}, {}),
|
|
73
|
+
"DescribeRelaySourceRewrite": ApiInfo("POST", "/", {"Action": "DescribeRelaySourceRewrite", "Version": "2023-01-01"}, {}, {}),
|
|
74
|
+
"DescribeRelaySourceV3": ApiInfo("POST", "/", {"Action": "DescribeRelaySourceV3", "Version": "2023-01-01"}, {}, {}),
|
|
75
|
+
"UpdateRelaySourceV3": ApiInfo("POST", "/", {"Action": "UpdateRelaySourceV3", "Version": "2023-01-01"}, {}, {}),
|
|
76
|
+
"KillStream": ApiInfo("POST", "/", {"Action": "KillStream", "Version": "2023-01-01"}, {}, {}),
|
|
77
|
+
"DescribeClosedStreamInfoByPage": ApiInfo("GET", "/", {"Action": "DescribeClosedStreamInfoByPage", "Version": "2023-01-01"}, {}, {}),
|
|
78
|
+
"DescribeLiveStreamInfoByPage": ApiInfo("GET", "/", {"Action": "DescribeLiveStreamInfoByPage", "Version": "2023-01-01"}, {}, {}),
|
|
79
|
+
"DescribeLiveStreamState": ApiInfo("GET", "/", {"Action": "DescribeLiveStreamState", "Version": "2023-01-01"}, {}, {}),
|
|
80
|
+
"DescribeForbiddenStreamInfoByPage": ApiInfo("GET", "/", {"Action": "DescribeForbiddenStreamInfoByPage", "Version": "2023-01-01"}, {}, {}),
|
|
81
|
+
"ForbidStream": ApiInfo("POST", "/", {"Action": "ForbidStream", "Version": "2023-01-01"}, {}, {}),
|
|
82
|
+
"ResumeStream": ApiInfo("POST", "/", {"Action": "ResumeStream", "Version": "2023-01-01"}, {}, {}),
|
|
83
|
+
"GeneratePlayURL": ApiInfo("POST", "/", {"Action": "GeneratePlayURL", "Version": "2023-01-01"}, {}, {}),
|
|
84
|
+
"GeneratePushURL": ApiInfo("POST", "/", {"Action": "GeneratePushURL", "Version": "2023-01-01"}, {}, {}),
|
|
85
|
+
"DescribeLiveTopPlayData": ApiInfo("POST", "/", {"Action": "DescribeLiveTopPlayData", "Version": "2023-01-01"}, {}, {}),
|
|
86
|
+
"DescribeLiveRegionData": ApiInfo("POST", "/", {"Action": "DescribeLiveRegionData", "Version": "2023-01-01"}, {}, {}),
|
|
87
|
+
"DescribeLiveSourceStreamMetrics": ApiInfo("POST", "/", {"Action": "DescribeLiveSourceStreamMetrics", "Version": "2023-01-01"}, {}, {}),
|
|
88
|
+
"DescribeLivePushStreamMetrics": ApiInfo("POST", "/", {"Action": "DescribeLivePushStreamMetrics", "Version": "2023-01-01"}, {}, {}),
|
|
89
|
+
"DescribeLiveStreamSessionData": ApiInfo("POST", "/", {"Action": "DescribeLiveStreamSessionData", "Version": "2023-01-01"}, {}, {}),
|
|
90
|
+
"DescribeLivePlayStatusCodeData": ApiInfo("POST", "/", {"Action": "DescribeLivePlayStatusCodeData", "Version": "2023-01-01"}, {}, {}),
|
|
91
|
+
"DescribeLiveBatchPushStreamMetrics": ApiInfo("POST", "/", {"Action": "DescribeLiveBatchPushStreamMetrics", "Version": "2023-01-01"}, {}, {}),
|
|
92
|
+
"DescribeLivePushStreamInfoData": ApiInfo("POST", "/", {"Action": "DescribeLivePushStreamInfoData", "Version": "2023-01-01"}, {}, {}),
|
|
93
|
+
"DescribeLiveTranscodeInfoData": ApiInfo("POST", "/", {"Action": "DescribeLiveTranscodeInfoData", "Version": "2023-01-01"}, {}, {}),
|
|
94
|
+
"DescribeLiveSourceBandwidthData": ApiInfo("POST", "/", {"Action": "DescribeLiveSourceBandwidthData", "Version": "2023-01-01"}, {}, {}),
|
|
95
|
+
"DescribeLiveSourceTrafficData": ApiInfo("POST", "/", {"Action": "DescribeLiveSourceTrafficData", "Version": "2023-01-01"}, {}, {}),
|
|
96
|
+
"DescribeLiveMetricBandwidthData": ApiInfo("POST", "/", {"Action": "DescribeLiveMetricBandwidthData", "Version": "2023-01-01"}, {}, {}),
|
|
97
|
+
"DescribeLiveMetricTrafficData": ApiInfo("POST", "/", {"Action": "DescribeLiveMetricTrafficData", "Version": "2023-01-01"}, {}, {}),
|
|
98
|
+
"DescribeLiveEdgeStatData": ApiInfo("POST", "/", {"Action": "DescribeLiveEdgeStatData", "Version": "2023-01-01"}, {}, {}),
|
|
99
|
+
"DescribeLiveISPData": ApiInfo("POST", "/", {"Action": "DescribeLiveISPData", "Version": "2023-01-01"}, {}, {}),
|
|
100
|
+
"DescribeLiveP95PeakBandwidthData": ApiInfo("POST", "/", {"Action": "DescribeLiveP95PeakBandwidthData", "Version": "2023-01-01"}, {}, {}),
|
|
101
|
+
"DescribeLiveASRDurationData": ApiInfo("POST", "/", {"Action": "DescribeLiveASRDurationData", "Version": "2023-01-01"}, {}, {}),
|
|
102
|
+
"DescribeLivePullToPushBandwidthData": ApiInfo("POST", "/", {"Action": "DescribeLivePullToPushBandwidthData", "Version": "2023-01-01"}, {}, {}),
|
|
103
|
+
"DescribeLivePullToPushData": ApiInfo("POST", "/", {"Action": "DescribeLivePullToPushData", "Version": "2023-01-01"}, {}, {}),
|
|
104
|
+
"DescribeLiveBandwidthData": ApiInfo("POST", "/", {"Action": "DescribeLiveBandwidthData", "Version": "2023-01-01"}, {}, {}),
|
|
105
|
+
"DescribeLiveRecordData": ApiInfo("POST", "/", {"Action": "DescribeLiveRecordData", "Version": "2023-01-01"}, {}, {}),
|
|
106
|
+
"DescribeLiveSnapshotData": ApiInfo("POST", "/", {"Action": "DescribeLiveSnapshotData", "Version": "2023-01-01"}, {}, {}),
|
|
107
|
+
"DescribeLiveTrafficData": ApiInfo("POST", "/", {"Action": "DescribeLiveTrafficData", "Version": "2023-01-01"}, {}, {}),
|
|
108
|
+
"DescribeLiveTranscodeData": ApiInfo("POST", "/", {"Action": "DescribeLiveTranscodeData", "Version": "2023-01-01"}, {}, {}),
|
|
109
|
+
"DescribeLiveStorageSpaceData": ApiInfo("POST", "/", {"Action": "DescribeLiveStorageSpaceData", "Version": "2023-01-01"}, {}, {}),
|
|
110
|
+
"DescribeLiveLogData": ApiInfo("POST", "/", {"Action": "DescribeLiveLogData", "Version": "2023-01-01"}, {}, {}),
|
|
111
|
+
"DeleteReferer": ApiInfo("POST", "/", {"Action": "DeleteReferer", "Version": "2023-01-01"}, {}, {}),
|
|
112
|
+
"DescribeReferer": ApiInfo("POST", "/", {"Action": "DescribeReferer", "Version": "2023-01-01"}, {}, {}),
|
|
113
|
+
"DescribeAuth": ApiInfo("POST", "/", {"Action": "DescribeAuth", "Version": "2023-01-01"}, {}, {}),
|
|
114
|
+
"UpdateReferer": ApiInfo("POST", "/", {"Action": "UpdateReferer", "Version": "2023-01-01"}, {}, {}),
|
|
115
|
+
"UpdateAuthKey": ApiInfo("POST", "/", {"Action": "UpdateAuthKey", "Version": "2023-01-01"}, {}, {}),
|
|
116
|
+
"DeleteHLSConfig": ApiInfo("POST", "/", {"Action": "DeleteHLSConfig", "Version": "2023-01-01"}, {}, {}),
|
|
117
|
+
"UpdateHLSConfig": ApiInfo("POST", "/", {"Action": "UpdateHLSConfig", "Version": "2023-01-01"}, {}, {}),
|
|
118
|
+
"DescribeHLSConfig": ApiInfo("POST", "/", {"Action": "DescribeHLSConfig", "Version": "2023-01-01"}, {}, {}),
|
|
119
|
+
"DeleteHTTPHeaderConfig": ApiInfo("POST", "/", {"Action": "DeleteHTTPHeaderConfig", "Version": "2023-01-01"}, {}, {}),
|
|
120
|
+
"EnableHTTPHeaderConfig": ApiInfo("POST", "/", {"Action": "EnableHTTPHeaderConfig", "Version": "2023-01-01"}, {}, {}),
|
|
121
|
+
"DescribeHTTPHeaderConfig": ApiInfo("POST", "/", {"Action": "DescribeHTTPHeaderConfig", "Version": "2023-01-01"}, {}, {}),
|
|
122
|
+
"UpdateHTTPHeaderConfig": ApiInfo("POST", "/", {"Action": "UpdateHTTPHeaderConfig", "Version": "2023-01-01"}, {}, {}),
|
|
123
|
+
"UpdateEncryptDRM": ApiInfo("POST", "/", {"Action": "UpdateEncryptDRM", "Version": "2023-01-01"}, {}, {}),
|
|
124
|
+
"UpdateEncryptHLS": ApiInfo("POST", "/", {"Action": "UpdateEncryptHLS", "Version": "2023-01-01"}, {}, {}),
|
|
125
|
+
"GetHLSEncryptDataKey": ApiInfo("GET", "/", {"Action": "GetHLSEncryptDataKey", "Version": "2023-01-01"}, {}, {}),
|
|
126
|
+
"DescribeEncryptHLS": ApiInfo("POST", "/", {"Action": "DescribeEncryptHLS", "Version": "2023-01-01"}, {}, {}),
|
|
127
|
+
"DescribeLicenseDRM": ApiInfo("POST", "/", {"Action": "DescribeLicenseDRM", "Version": "2023-01-01"}, {}, {}),
|
|
128
|
+
"DescribeCertDRM": ApiInfo("GET", "/", {"Action": "DescribeCertDRM", "Version": "2023-01-01"}, {}, {}),
|
|
129
|
+
"DescribeEncryptDRM": ApiInfo("POST", "/", {"Action": "DescribeEncryptDRM", "Version": "2023-01-01"}, {}, {}),
|
|
130
|
+
"BindEncryptDRM": ApiInfo("POST", "/", {"Action": "BindEncryptDRM", "Version": "2023-01-01"}, {}, {}),
|
|
131
|
+
"UnBindEncryptDRM": ApiInfo("POST", "/", {"Action": "UnBindEncryptDRM", "Version": "2023-01-01"}, {}, {}),
|
|
132
|
+
"ListBindEncryptDRM": ApiInfo("POST", "/", {"Action": "ListBindEncryptDRM", "Version": "2023-01-01"}, {}, {}),
|
|
133
|
+
"CreateTranscodePresetBatch": ApiInfo("POST", "/", {"Action": "CreateTranscodePresetBatch", "Version": "2023-01-01"}, {}, {}),
|
|
134
|
+
"DeleteTranscodePresetBatch": ApiInfo("POST", "/", {"Action": "DeleteTranscodePresetBatch", "Version": "2023-01-01"}, {}, {}),
|
|
135
|
+
"DeleteIPAccessRule": ApiInfo("POST", "/", {"Action": "DeleteIPAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
136
|
+
"DeleteRegionAccessRule": ApiInfo("POST", "/", {"Action": "DeleteRegionAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
137
|
+
"UpdateIPAccessRule": ApiInfo("POST", "/", {"Action": "UpdateIPAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
138
|
+
"UpdateRegionAccessRule": ApiInfo("POST", "/", {"Action": "UpdateRegionAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
139
|
+
"DescribeIPAccessRule": ApiInfo("POST", "/", {"Action": "DescribeIPAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
140
|
+
"DescribeRegionAccessRule": ApiInfo("POST", "/", {"Action": "DescribeRegionAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
141
|
+
"DeleteCMAFConfig": ApiInfo("POST", "/", {"Action": "DeleteCMAFConfig", "Version": "2023-01-01"}, {}, {}),
|
|
142
|
+
"UpdateCMAFConfig": ApiInfo("POST", "/", {"Action": "UpdateCMAFConfig", "Version": "2023-01-01"}, {}, {}),
|
|
143
|
+
"DescribeCMAFConfig": ApiInfo("POST", "/", {"Action": "DescribeCMAFConfig", "Version": "2023-01-01"}, {}, {}),
|
|
144
|
+
"DeleteLatencyConfig": ApiInfo("POST", "/", {"Action": "DeleteLatencyConfig", "Version": "2023-01-01"}, {}, {}),
|
|
145
|
+
"DescribeLatencyConfig": ApiInfo("POST", "/", {"Action": "DescribeLatencyConfig", "Version": "2023-01-01"}, {}, {}),
|
|
146
|
+
"UpdateLatencyConfig": ApiInfo("POST", "/", {"Action": "UpdateLatencyConfig", "Version": "2023-01-01"}, {}, {}),
|
|
147
|
+
"CreateCloudMixTask": ApiInfo("POST", "/", {"Action": "CreateCloudMixTask", "Version": "2023-01-01"}, {}, {}),
|
|
148
|
+
"UpdateCloudMixTask": ApiInfo("POST", "/", {"Action": "UpdateCloudMixTask", "Version": "2023-01-01"}, {}, {}),
|
|
149
|
+
"GetCloudMixTaskDetail": ApiInfo("POST", "/", {"Action": "GetCloudMixTaskDetail", "Version": "2023-01-01"}, {}, {}),
|
|
150
|
+
"ListCloudMixTask": ApiInfo("POST", "/", {"Action": "ListCloudMixTask", "Version": "2023-01-01"}, {}, {}),
|
|
151
|
+
"DeleteCloudMixTask": ApiInfo("POST", "/", {"Action": "DeleteCloudMixTask", "Version": "2023-01-01"}, {}, {}),
|
|
152
|
+
"DeleteClusterRateLimit": ApiInfo("POST", "/", {"Action": "DeleteClusterRateLimit", "Version": "2023-01-01"}, {}, {}),
|
|
153
|
+
"DescribeClusterRateLimit": ApiInfo("POST", "/", {"Action": "DescribeClusterRateLimit", "Version": "2023-01-01"}, {}, {}),
|
|
154
|
+
"UpdateClusterRateLimit": ApiInfo("POST", "/", {"Action": "UpdateClusterRateLimit", "Version": "2023-01-01"}, {}, {}),
|
|
155
|
+
"DeleteUserAgentAccessRule": ApiInfo("POST", "/", {"Action": "DeleteUserAgentAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
156
|
+
"DescribeUserAgentAccessRule": ApiInfo("POST", "/", {"Action": "DescribeUserAgentAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
157
|
+
"UpdateUserAgentAccessRule": ApiInfo("POST", "/", {"Action": "UpdateUserAgentAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
158
|
+
"DeleteFormatAccessRule": ApiInfo("POST", "/", {"Action": "DeleteFormatAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
159
|
+
"DescribeFormatAccessRule": ApiInfo("POST", "/", {"Action": "DescribeFormatAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
160
|
+
"UpdateFormatAccessRule": ApiInfo("POST", "/", {"Action": "UpdateFormatAccessRule", "Version": "2023-01-01"}, {}, {}),
|
|
161
|
+
"DeleteSubtitleTranscodePreset": ApiInfo("POST", "/", {"Action": "DeleteSubtitleTranscodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
162
|
+
"UpdateSubtitleTranscodePreset": ApiInfo("POST", "/", {"Action": "UpdateSubtitleTranscodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
163
|
+
"ListVhostSubtitleTranscodePreset": ApiInfo("POST", "/", {"Action": "ListVhostSubtitleTranscodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
164
|
+
"CreateSubtitleTranscodePreset": ApiInfo("POST", "/", {"Action": "CreateSubtitleTranscodePreset", "Version": "2023-01-01"}, {}, {}),
|
|
165
|
+
"CreateLivePadPreset": ApiInfo("POST", "/", {"Action": "CreateLivePadPreset", "Version": "2023-01-01"}, {}, {}),
|
|
166
|
+
"DeleteLivePadPreset": ApiInfo("POST", "/", {"Action": "DeleteLivePadPreset", "Version": "2023-01-01"}, {}, {}),
|
|
167
|
+
"StopLivePadStream": ApiInfo("POST", "/", {"Action": "StopLivePadStream", "Version": "2023-01-01"}, {}, {}),
|
|
168
|
+
"UpdateLivePadPreset": ApiInfo("POST", "/", {"Action": "UpdateLivePadPreset", "Version": "2023-01-01"}, {}, {}),
|
|
169
|
+
"DescribeLivePadStreamList": ApiInfo("POST", "/", {"Action": "DescribeLivePadStreamList", "Version": "2023-01-01"}, {}, {}),
|
|
170
|
+
"DescribeLivePadPresetDetail": ApiInfo("POST", "/", {"Action": "DescribeLivePadPresetDetail", "Version": "2023-01-01"}, {}, {})
|
|
171
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# coding:utf-8
|
|
2
|
+
from byteplus_sdk.live.v20230101.live_trait import LiveTrait # Modify it if necessary
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class LiveService(LiveTrait):
|
|
6
|
+
def __init__(self, host='open.byteplusapi.com', ak=None, sk=None):
|
|
7
|
+
super().__init__({
|
|
8
|
+
'ak': ak,
|
|
9
|
+
'sk': sk,
|
|
10
|
+
})
|
|
11
|
+
self.set_host(host)
|
|
12
|
+
|