tencentcloud-sdk-nodejs 4.0.252 → 4.0.256
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.
- package/CHANGELOG.md +753 -51
- package/package.json +1 -1
- package/products.md +36 -36
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_client.ts +15 -1
- package/src/services/as/v20180419/as_models.ts +65 -5
- package/src/services/asr/v20190614/asr_client.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +6 -0
- package/src/services/billing/v20180709/billing_models.ts +51 -20
- package/src/services/ccc/v20200210/ccc_models.ts +6 -0
- package/src/services/cdn/v20180606/cdn_client.ts +5 -4
- package/src/services/cdn/v20180606/cdn_models.ts +91 -35
- package/src/services/cii/v20210408/cii_client.ts +13 -0
- package/src/services/cii/v20210408/cii_models.ts +82 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +17 -5
- package/src/services/ckafka/v20190819/ckafka_models.ts +177 -140
- package/src/services/clb/v20180317/clb_client.ts +44 -18
- package/src/services/clb/v20180317/clb_models.ts +180 -64
- package/src/services/cme/v20191029/cme_models.ts +10 -10
- package/src/services/cpdp/v20190820/cpdp_models.ts +53 -0
- package/src/services/cvm/v20170312/cvm_client.ts +17 -0
- package/src/services/cvm/v20170312/cvm_models.ts +30 -0
- package/src/services/cwp/v20180228/cwp_models.ts +27 -1
- package/src/services/dnspod/v20210323/dnspod_client.ts +82 -69
- package/src/services/dnspod/v20210323/dnspod_models.ts +1178 -1133
- package/src/services/eiam/v20210420/eiam_models.ts +30 -0
- package/src/services/emr/v20190103/emr_models.ts +22 -4
- package/src/services/faceid/v20180301/faceid_client.ts +1 -0
- package/src/services/faceid/v20180301/faceid_models.ts +46 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +26 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +172 -84
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
- package/src/services/mongodb/v20190725/mongodb_client.ts +19 -3
- package/src/services/mongodb/v20190725/mongodb_models.ts +302 -62
- package/src/services/mrs/v20200910/mrs_models.ts +12 -0
- package/src/services/rum/v20210622/rum_client.ts +27 -3
- package/src/services/rum/v20210622/rum_models.ts +290 -25
- package/src/services/scf/v20180416/scf_models.ts +32 -26
- package/src/services/tat/v20201028/tat_client.ts +16 -1
- package/src/services/tat/v20201028/tat_models.ts +31 -4
- package/src/services/tcb/v20180608/tcb_models.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +1 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +11 -1
- package/src/services/tem/v20210701/tem_client.ts +12 -0
- package/src/services/tem/v20210701/tem_models.ts +35 -0
- package/src/services/thpc/v20211109/thpc_client.ts +2 -0
- package/src/services/thpc/v20211109/thpc_models.ts +40 -0
- package/src/services/tke/v20180525/tke_models.ts +6 -0
- package/src/services/tse/v20201207/tse_models.ts +5 -0
- package/src/services/vod/v20180717/vod_client.ts +5 -3
- package/src/services/vod/v20180717/vod_models.ts +244 -30
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_client.d.ts +5 -1
- package/tencentcloud/services/as/v20180419/as_client.js +6 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +57 -5
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +5 -0
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +50 -19
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +79 -31
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
- package/tencentcloud/services/cii/v20210408/cii_client.js +6 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +70 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +152 -120
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +16 -7
- package/tencentcloud/services/clb/v20180317/clb_client.js +21 -8
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +155 -56
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +8 -9
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +44 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +10 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +11 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +26 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +22 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +9 -5
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +12 -6
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +1048 -1009
- package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +25 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +20 -4
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +39 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +9 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +12 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +144 -68
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +253 -55
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +10 -0
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +9 -1
- package/tencentcloud/services/rum/v20210622/rum_client.js +12 -0
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +241 -25
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +31 -26
- package/tencentcloud/services/tat/v20201028/tat_client.d.ts +8 -1
- package/tencentcloud/services/tat/v20201028/tat_client.js +9 -0
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +28 -4
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +9 -1
- package/tencentcloud/services/tem/v20210701/tem_client.d.ts +5 -1
- package/tencentcloud/services/tem/v20210701/tem_client.js +6 -0
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +30 -0
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +34 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +4 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +4 -3
- package/tencentcloud/services/vod/v20180717/vod_client.js +4 -3
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +176 -0
- package/test/as.v20180419.test.js +10 -0
- package/test/cii.v20210408.test.js +10 -0
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/clb.v20180317.test.js +24 -4
- package/test/cvm.v20170312.test.js +10 -0
- package/test/dnspod.v20210323.test.js +14 -4
- package/test/iotexplorer.v20190423.test.js +20 -0
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/rum.v20210622.test.js +20 -0
- package/test/tat.v20201028.test.js +10 -0
- package/test/tem.v20210701.test.js +10 -0
|
@@ -3289,6 +3289,11 @@ export interface ModifyRocketMQTopicRequest {
|
|
|
3289
3289
|
* 说明信息,最大128个字符
|
|
3290
3290
|
*/
|
|
3291
3291
|
Remark: string
|
|
3292
|
+
|
|
3293
|
+
/**
|
|
3294
|
+
* 分区数,全局类型无效,不可小于当前分区数
|
|
3295
|
+
*/
|
|
3296
|
+
PartitionNum?: number
|
|
3292
3297
|
}
|
|
3293
3298
|
|
|
3294
3299
|
/**
|
|
@@ -4792,7 +4797,7 @@ export interface CreateRocketMQTopicRequest {
|
|
|
4792
4797
|
Namespaces: Array<string>
|
|
4793
4798
|
|
|
4794
4799
|
/**
|
|
4795
|
-
* 主题类型,可选值为Normal, GlobalOrder, PartitionedOrder
|
|
4800
|
+
* 主题类型,可选值为Normal, GlobalOrder, PartitionedOrder
|
|
4796
4801
|
*/
|
|
4797
4802
|
Type: string
|
|
4798
4803
|
|
|
@@ -4805,6 +4810,11 @@ export interface CreateRocketMQTopicRequest {
|
|
|
4805
4810
|
* 主题说明,最大128个字符
|
|
4806
4811
|
*/
|
|
4807
4812
|
Remark?: string
|
|
4813
|
+
|
|
4814
|
+
/**
|
|
4815
|
+
* 分区数,全局顺序无效
|
|
4816
|
+
*/
|
|
4817
|
+
PartitionNum?: number
|
|
4808
4818
|
}
|
|
4809
4819
|
|
|
4810
4820
|
/**
|
|
@@ -46,6 +46,8 @@ import {
|
|
|
46
46
|
DescribeRunPodPage,
|
|
47
47
|
IngressTls,
|
|
48
48
|
DeployServicePodDetail,
|
|
49
|
+
ModifyApplicationReplicasResponse,
|
|
50
|
+
ModifyApplicationReplicasRequest,
|
|
49
51
|
LogOutputConf,
|
|
50
52
|
DescribeIngressesResponse,
|
|
51
53
|
DeleteIngressResponse,
|
|
@@ -104,6 +106,16 @@ export class Client extends AbstractClient {
|
|
|
104
106
|
return this.request("DeployApplication", req, cb)
|
|
105
107
|
}
|
|
106
108
|
|
|
109
|
+
/**
|
|
110
|
+
* 修改应用实例数量
|
|
111
|
+
*/
|
|
112
|
+
async ModifyApplicationReplicas(
|
|
113
|
+
req: ModifyApplicationReplicasRequest,
|
|
114
|
+
cb?: (error: string, rep: ModifyApplicationReplicasResponse) => void
|
|
115
|
+
): Promise<ModifyApplicationReplicasResponse> {
|
|
116
|
+
return this.request("ModifyApplicationReplicas", req, cb)
|
|
117
|
+
}
|
|
118
|
+
|
|
107
119
|
/**
|
|
108
120
|
* 重启应用实例
|
|
109
121
|
*/
|
|
@@ -1067,6 +1067,41 @@ export interface DeployServicePodDetail {
|
|
|
1067
1067
|
Webshell?: string
|
|
1068
1068
|
}
|
|
1069
1069
|
|
|
1070
|
+
/**
|
|
1071
|
+
* ModifyApplicationReplicas返回参数结构体
|
|
1072
|
+
*/
|
|
1073
|
+
export interface ModifyApplicationReplicasResponse {
|
|
1074
|
+
/**
|
|
1075
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1076
|
+
*/
|
|
1077
|
+
RequestId?: string
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* ModifyApplicationReplicas请求参数结构体
|
|
1082
|
+
*/
|
|
1083
|
+
export interface ModifyApplicationReplicasRequest {
|
|
1084
|
+
/**
|
|
1085
|
+
* 服务id
|
|
1086
|
+
*/
|
|
1087
|
+
ApplicationId: string
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* 环境ID
|
|
1091
|
+
*/
|
|
1092
|
+
EnvironmentId: string
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* 实例数量
|
|
1096
|
+
*/
|
|
1097
|
+
Replicas: number
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* 来源渠道
|
|
1101
|
+
*/
|
|
1102
|
+
SourceChannel?: number
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1070
1105
|
/**
|
|
1071
1106
|
* 日志输出配置
|
|
1072
1107
|
*/
|
|
@@ -179,6 +179,11 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
179
179
|
* 集群显示名称。
|
|
180
180
|
*/
|
|
181
181
|
ClusterName?: string
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* 集群存储选项
|
|
185
|
+
*/
|
|
186
|
+
StorageOption?: StorageOption
|
|
182
187
|
}
|
|
183
188
|
|
|
184
189
|
/**
|
|
@@ -281,6 +286,16 @@ export interface DeleteClusterResponse {
|
|
|
281
286
|
RequestId?: string
|
|
282
287
|
}
|
|
283
288
|
|
|
289
|
+
/**
|
|
290
|
+
* 描述集群文件系统选项
|
|
291
|
+
*/
|
|
292
|
+
export interface StorageOption {
|
|
293
|
+
/**
|
|
294
|
+
* 集群挂载CFS文件系统选项
|
|
295
|
+
*/
|
|
296
|
+
CFSOptions: Array<CFSOption>
|
|
297
|
+
}
|
|
298
|
+
|
|
284
299
|
/**
|
|
285
300
|
* 描述了实例的计费模式
|
|
286
301
|
*/
|
|
@@ -301,6 +316,31 @@ DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
|
301
316
|
RenewFlag?: string
|
|
302
317
|
}
|
|
303
318
|
|
|
319
|
+
/**
|
|
320
|
+
* 描述CFS文件系统版本和挂载信息
|
|
321
|
+
*/
|
|
322
|
+
export interface CFSOption {
|
|
323
|
+
/**
|
|
324
|
+
* 文件系统本地挂载路径
|
|
325
|
+
*/
|
|
326
|
+
LocalPath: string
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* 文件系统远程挂载ip及路径
|
|
330
|
+
*/
|
|
331
|
+
RemotePath: string
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* 文件系统协议类型,默认值NFS 3.0
|
|
335
|
+
*/
|
|
336
|
+
Protocol: string
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* 文件系统存储类型,默认值SD
|
|
340
|
+
*/
|
|
341
|
+
StorageType: string
|
|
342
|
+
}
|
|
343
|
+
|
|
304
344
|
/**
|
|
305
345
|
* CreateCluster返回参数结构体
|
|
306
346
|
*/
|
|
@@ -216,6 +216,7 @@ import {
|
|
|
216
216
|
SegmentConfigureInfoForUpdate,
|
|
217
217
|
UserDefineConfigureInfo,
|
|
218
218
|
AiRecognitionTaskSegmentSegmentItem,
|
|
219
|
+
RestoreMediaTask,
|
|
219
220
|
AiReviewPornOcrTaskInput,
|
|
220
221
|
OcrWordsConfigureInfo,
|
|
221
222
|
CreateSuperPlayerConfigResponse,
|
|
@@ -1218,7 +1219,8 @@ export class Client extends AbstractClient {
|
|
|
1218
1219
|
|
|
1219
1220
|
/**
|
|
1220
1221
|
* 该接口用于查询指定日期范围内每天的播放统计数据。
|
|
1221
|
-
*
|
|
1222
|
+
* 可以查询最近一年的播放统计数据。
|
|
1223
|
+
* 结束日期和起始日期的时间跨度最大为90天。
|
|
1222
1224
|
*/
|
|
1223
1225
|
async DescribeDailyMediaPlayStat(
|
|
1224
1226
|
req: DescribeDailyMediaPlayStatRequest,
|
|
@@ -1249,7 +1251,7 @@ export class Client extends AbstractClient {
|
|
|
1249
1251
|
|
|
1250
1252
|
/**
|
|
1251
1253
|
* 该接口用于查询每日播放Top100 的媒体文件的播放统计数据。
|
|
1252
|
-
*
|
|
1254
|
+
* 可以查询最近一年的播放统计数据。
|
|
1253
1255
|
* 可以按播放次数或者播放流量查询。
|
|
1254
1256
|
* 播放次数统计说明:
|
|
1255
1257
|
1. HLS 文件:访问 M3U8 文件时统计播放次数;访问 TS 文件不统计播放次数。
|
|
@@ -1932,7 +1934,7 @@ export class Client extends AbstractClient {
|
|
|
1932
1934
|
|
|
1933
1935
|
/**
|
|
1934
1936
|
* 该接口用于查询播放统计文件的下载地址。
|
|
1935
|
-
*
|
|
1937
|
+
* 可以查询最近一年的播放统计文件下载地址,查询的起始日期和结束日期的时间跨度不超过90天。
|
|
1936
1938
|
* 云点播每天对前一天的 CDN 请求日志进行分析处理,生成播放统计文件。
|
|
1937
1939
|
* 播放统计文件内容包含媒体文件的播放次数、播放流量等统计信息。
|
|
1938
1940
|
* 播放次数统计说明:
|
|
@@ -672,9 +672,20 @@ export interface AiReviewProhibitedOcrTaskOutput {
|
|
|
672
672
|
Suggestion: string
|
|
673
673
|
|
|
674
674
|
/**
|
|
675
|
-
|
|
676
|
-
|
|
675
|
+
* Ocr 文字有涉违禁嫌疑的视频片段列表。
|
|
676
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
677
|
+
*/
|
|
677
678
|
SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Ocr 文字有涉违禁嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
682
|
+
*/
|
|
683
|
+
SegmentSetFileUrl: string
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Ocr 文字有涉违禁嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
687
|
+
*/
|
|
688
|
+
SegmentSetFileUrlExpireTime: string
|
|
678
689
|
}
|
|
679
690
|
|
|
680
691
|
/**
|
|
@@ -758,9 +769,20 @@ export interface ModifyEventConfigResponse {
|
|
|
758
769
|
*/
|
|
759
770
|
export interface AiAnalysisTaskCoverOutput {
|
|
760
771
|
/**
|
|
761
|
-
|
|
762
|
-
|
|
772
|
+
* 智能封面列表。
|
|
773
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 CoverSetFileUrl 对应的文件中获取。
|
|
774
|
+
*/
|
|
763
775
|
CoverSet: Array<MediaAiAnalysisCoverItem>
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* 智能封面列表文件 URL。文件的内容为 JSON,数据结构与 CoverSet 字段一致。 (文件不会永久存储,到达 CoverSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
779
|
+
*/
|
|
780
|
+
CoverSetFileUrl: string
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* 智能封面列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
784
|
+
*/
|
|
785
|
+
CoverSetFileUrlExpireTime: string
|
|
764
786
|
}
|
|
765
787
|
|
|
766
788
|
/**
|
|
@@ -2562,9 +2584,20 @@ export interface DescribeEventConfigRequest {
|
|
|
2562
2584
|
*/
|
|
2563
2585
|
export interface AiAnalysisTaskClassificationOutput {
|
|
2564
2586
|
/**
|
|
2565
|
-
|
|
2566
|
-
|
|
2587
|
+
* 视频智能分类列表。
|
|
2588
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 ClassificationSetFileUrl 对应的文件中获取。
|
|
2589
|
+
*/
|
|
2567
2590
|
ClassificationSet: Array<MediaAiAnalysisClassificationItem>
|
|
2591
|
+
|
|
2592
|
+
/**
|
|
2593
|
+
* 视频智能分类列表文件 URL。文件的内容为 JSON,数据结构与 ClassificationSet 字段一致。 (文件不会永久存储,到达 ClassificationSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
2594
|
+
*/
|
|
2595
|
+
ClassificationSetFileUrl: string
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* 视频智能分类列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
2599
|
+
*/
|
|
2600
|
+
ClassificationSetFileUrlExpireTime: string
|
|
2568
2601
|
}
|
|
2569
2602
|
|
|
2570
2603
|
/**
|
|
@@ -4241,9 +4274,20 @@ export interface AiReviewPornAsrTaskOutput {
|
|
|
4241
4274
|
Suggestion: string
|
|
4242
4275
|
|
|
4243
4276
|
/**
|
|
4244
|
-
|
|
4245
|
-
|
|
4277
|
+
* Asr 文字有涉黄嫌疑的视频片段列表。
|
|
4278
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
4279
|
+
*/
|
|
4246
4280
|
SegmentSet: Array<MediaContentReviewAsrTextSegmentItem>
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* Asr 文字有涉黄嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
4284
|
+
*/
|
|
4285
|
+
SegmentSetFileUrl: string
|
|
4286
|
+
|
|
4287
|
+
/**
|
|
4288
|
+
* Asr 文字有涉黄嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
4289
|
+
*/
|
|
4290
|
+
SegmentSetFileUrlExpireTime: string
|
|
4247
4291
|
}
|
|
4248
4292
|
|
|
4249
4293
|
/**
|
|
@@ -5307,6 +5351,49 @@ export interface AiRecognitionTaskSegmentSegmentItem {
|
|
|
5307
5351
|
SpecialInfo: string
|
|
5308
5352
|
}
|
|
5309
5353
|
|
|
5354
|
+
/**
|
|
5355
|
+
* 取回视频任务信息
|
|
5356
|
+
*/
|
|
5357
|
+
export interface RestoreMediaTask {
|
|
5358
|
+
/**
|
|
5359
|
+
* 文件ID。
|
|
5360
|
+
*/
|
|
5361
|
+
FileId: string
|
|
5362
|
+
|
|
5363
|
+
/**
|
|
5364
|
+
* 文件原始存储类型。
|
|
5365
|
+
*/
|
|
5366
|
+
OriginalStorageClass: string
|
|
5367
|
+
|
|
5368
|
+
/**
|
|
5369
|
+
* 文件目标存储类型。对于临时取回,目标存储类型与原始存储类型相同。
|
|
5370
|
+
*/
|
|
5371
|
+
TargetStorageClass: string
|
|
5372
|
+
|
|
5373
|
+
/**
|
|
5374
|
+
* 取回模式,取值:
|
|
5375
|
+
<li>Expedited:极速模式</li>
|
|
5376
|
+
<li>Standard:标准模式</li>
|
|
5377
|
+
<li>Bulk:批量模式</li>
|
|
5378
|
+
*/
|
|
5379
|
+
RestoreTier: string
|
|
5380
|
+
|
|
5381
|
+
/**
|
|
5382
|
+
* 临时取回副本有效期,单位:天。对于永久取回,取值为0。
|
|
5383
|
+
*/
|
|
5384
|
+
RestoreDay: number
|
|
5385
|
+
|
|
5386
|
+
/**
|
|
5387
|
+
* 该字段已废弃。
|
|
5388
|
+
*/
|
|
5389
|
+
Status: number
|
|
5390
|
+
|
|
5391
|
+
/**
|
|
5392
|
+
* 该字段已废弃。
|
|
5393
|
+
*/
|
|
5394
|
+
Message: string
|
|
5395
|
+
}
|
|
5396
|
+
|
|
5310
5397
|
/**
|
|
5311
5398
|
* 内容审核 Ocr 文字鉴黄任务输入参数类型
|
|
5312
5399
|
*/
|
|
@@ -5350,9 +5437,20 @@ export interface CreateSuperPlayerConfigResponse {
|
|
|
5350
5437
|
*/
|
|
5351
5438
|
export interface AiAnalysisTaskFrameTagOutput {
|
|
5352
5439
|
/**
|
|
5353
|
-
|
|
5354
|
-
|
|
5440
|
+
* 视频按帧标签列表。
|
|
5441
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
5442
|
+
*/
|
|
5355
5443
|
SegmentSet: Array<MediaAiAnalysisFrameTagSegmentItem>
|
|
5444
|
+
|
|
5445
|
+
/**
|
|
5446
|
+
* 视频按帧标签列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
5447
|
+
*/
|
|
5448
|
+
SegmentSetFileUrl: string
|
|
5449
|
+
|
|
5450
|
+
/**
|
|
5451
|
+
* 视频按帧标签列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
5452
|
+
*/
|
|
5453
|
+
SegmentSetFileUrlExpireTime: string
|
|
5356
5454
|
}
|
|
5357
5455
|
|
|
5358
5456
|
/**
|
|
@@ -5636,9 +5734,20 @@ export interface SearchMediaResponse {
|
|
|
5636
5734
|
*/
|
|
5637
5735
|
export interface AiAnalysisTaskTagOutput {
|
|
5638
5736
|
/**
|
|
5639
|
-
|
|
5640
|
-
|
|
5737
|
+
* 视频智能标签列表。
|
|
5738
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 TagSetFileUrl 对应的文件中获取。
|
|
5739
|
+
*/
|
|
5641
5740
|
TagSet: Array<MediaAiAnalysisTagItem>
|
|
5741
|
+
|
|
5742
|
+
/**
|
|
5743
|
+
* 视频智能标签列表文件 URL。文件的内容为 JSON,数据结构与 TagSet 字段一致。 (文件不会永久存储,到达 TagSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
5744
|
+
*/
|
|
5745
|
+
TagSetFileUrl: string
|
|
5746
|
+
|
|
5747
|
+
/**
|
|
5748
|
+
* 视频智能标签列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
5749
|
+
*/
|
|
5750
|
+
TagSetFileUrlExpireTime: string
|
|
5642
5751
|
}
|
|
5643
5752
|
|
|
5644
5753
|
/**
|
|
@@ -5646,9 +5755,20 @@ export interface AiAnalysisTaskTagOutput {
|
|
|
5646
5755
|
*/
|
|
5647
5756
|
export interface AiAnalysisTaskHighlightOutput {
|
|
5648
5757
|
/**
|
|
5649
|
-
|
|
5650
|
-
|
|
5758
|
+
* 视频智能精彩片段列表。
|
|
5759
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 HighlightSetFileUrl 对应的文件中获取。
|
|
5760
|
+
*/
|
|
5651
5761
|
HighlightSet: Array<MediaAiAnalysisHighlightItem>
|
|
5762
|
+
|
|
5763
|
+
/**
|
|
5764
|
+
* 视频智能精彩片段列表文件 URL。文件的内容为 JSON,数据结构与 HighlightSet 字段一致。 (文件不会永久存储,到达 HighlightSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
5765
|
+
*/
|
|
5766
|
+
HighlightSetFileUrl: string
|
|
5767
|
+
|
|
5768
|
+
/**
|
|
5769
|
+
* 视频智能精彩片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
5770
|
+
*/
|
|
5771
|
+
HighlightSetFileUrlExpireTime: string
|
|
5652
5772
|
}
|
|
5653
5773
|
|
|
5654
5774
|
/**
|
|
@@ -7623,9 +7743,20 @@ export interface AiReviewTerrorismTaskOutput {
|
|
|
7623
7743
|
Label: string
|
|
7624
7744
|
|
|
7625
7745
|
/**
|
|
7626
|
-
|
|
7627
|
-
|
|
7746
|
+
* 有暴恐嫌疑的视频片段列表。
|
|
7747
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
7748
|
+
*/
|
|
7628
7749
|
SegmentSet: Array<MediaContentReviewSegmentItem>
|
|
7750
|
+
|
|
7751
|
+
/**
|
|
7752
|
+
* 暴恐嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
7753
|
+
*/
|
|
7754
|
+
SegmentSetFileUrl: string
|
|
7755
|
+
|
|
7756
|
+
/**
|
|
7757
|
+
* 暴恐嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
7758
|
+
*/
|
|
7759
|
+
SegmentSetFileUrlExpireTime: string
|
|
7629
7760
|
}
|
|
7630
7761
|
|
|
7631
7762
|
/**
|
|
@@ -7750,9 +7881,20 @@ export interface AiReviewTerrorismOcrTaskOutput {
|
|
|
7750
7881
|
Suggestion: string
|
|
7751
7882
|
|
|
7752
7883
|
/**
|
|
7753
|
-
|
|
7754
|
-
|
|
7884
|
+
* Ocr 文字有涉恐嫌疑的视频片段列表。
|
|
7885
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
7886
|
+
*/
|
|
7755
7887
|
SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>
|
|
7888
|
+
|
|
7889
|
+
/**
|
|
7890
|
+
* Ocr 文字有涉恐嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
7891
|
+
*/
|
|
7892
|
+
SegmentSetFileUrl: string
|
|
7893
|
+
|
|
7894
|
+
/**
|
|
7895
|
+
* Ocr 文字有涉恐嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
7896
|
+
*/
|
|
7897
|
+
SegmentSetFileUrlExpireTime: string
|
|
7756
7898
|
}
|
|
7757
7899
|
|
|
7758
7900
|
/**
|
|
@@ -8799,9 +8941,20 @@ export interface AiReviewPornOcrTaskOutput {
|
|
|
8799
8941
|
Suggestion: string
|
|
8800
8942
|
|
|
8801
8943
|
/**
|
|
8802
|
-
|
|
8803
|
-
|
|
8944
|
+
* Ocr 文字有涉黄嫌疑的视频片段列表。
|
|
8945
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
8946
|
+
*/
|
|
8804
8947
|
SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>
|
|
8948
|
+
|
|
8949
|
+
/**
|
|
8950
|
+
* Ocr 文字有涉黄嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
8951
|
+
*/
|
|
8952
|
+
SegmentSetFileUrl: string
|
|
8953
|
+
|
|
8954
|
+
/**
|
|
8955
|
+
* Ocr 文字有涉黄嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
8956
|
+
*/
|
|
8957
|
+
SegmentSetFileUrlExpireTime: string
|
|
8805
8958
|
}
|
|
8806
8959
|
|
|
8807
8960
|
/**
|
|
@@ -9494,9 +9647,20 @@ export interface AiReviewProhibitedAsrTaskOutput {
|
|
|
9494
9647
|
Suggestion: string
|
|
9495
9648
|
|
|
9496
9649
|
/**
|
|
9497
|
-
|
|
9498
|
-
|
|
9650
|
+
* Asr 文字有涉违禁嫌疑的视频片段列表。
|
|
9651
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
9652
|
+
*/
|
|
9499
9653
|
SegmentSet: Array<MediaContentReviewAsrTextSegmentItem>
|
|
9654
|
+
|
|
9655
|
+
/**
|
|
9656
|
+
* Asr 文字有涉违禁嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
9657
|
+
*/
|
|
9658
|
+
SegmentSetFileUrl: string
|
|
9659
|
+
|
|
9660
|
+
/**
|
|
9661
|
+
* Asr 文字有涉违禁嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
9662
|
+
*/
|
|
9663
|
+
SegmentSetFileUrlExpireTime: string
|
|
9500
9664
|
}
|
|
9501
9665
|
|
|
9502
9666
|
/**
|
|
@@ -10297,6 +10461,12 @@ export interface EventContent {
|
|
|
10297
10461
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
10298
10462
|
*/
|
|
10299
10463
|
WechatMiniProgramPublishCompleteEvent: WechatMiniProgramPublishTask
|
|
10464
|
+
|
|
10465
|
+
/**
|
|
10466
|
+
* 视频取回完成事件,当事件类型为RestoreMediaComplete 时有效。
|
|
10467
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
10468
|
+
*/
|
|
10469
|
+
RestoreMediaCompleteEvent: RestoreMediaTask
|
|
10300
10470
|
}
|
|
10301
10471
|
|
|
10302
10472
|
/**
|
|
@@ -10385,9 +10555,20 @@ export interface AiReviewPoliticalAsrTaskOutput {
|
|
|
10385
10555
|
Suggestion: string
|
|
10386
10556
|
|
|
10387
10557
|
/**
|
|
10388
|
-
|
|
10389
|
-
|
|
10558
|
+
* Asr 文字有涉政、敏感嫌疑的视频片段列表。
|
|
10559
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
10560
|
+
*/
|
|
10390
10561
|
SegmentSet: Array<MediaContentReviewAsrTextSegmentItem>
|
|
10562
|
+
|
|
10563
|
+
/**
|
|
10564
|
+
* Asr 文字有涉政、敏感嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
10565
|
+
*/
|
|
10566
|
+
SegmentSetFileUrl: string
|
|
10567
|
+
|
|
10568
|
+
/**
|
|
10569
|
+
* Asr 文字有涉政、敏感嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
10570
|
+
*/
|
|
10571
|
+
SegmentSetFileUrlExpireTime: string
|
|
10391
10572
|
}
|
|
10392
10573
|
|
|
10393
10574
|
/**
|
|
@@ -10783,9 +10964,20 @@ export interface AiReviewPornTaskOutput {
|
|
|
10783
10964
|
Label: string
|
|
10784
10965
|
|
|
10785
10966
|
/**
|
|
10786
|
-
|
|
10787
|
-
|
|
10967
|
+
* 有涉黄嫌疑的视频片段列表。
|
|
10968
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
10969
|
+
*/
|
|
10788
10970
|
SegmentSet: Array<MediaContentReviewSegmentItem>
|
|
10971
|
+
|
|
10972
|
+
/**
|
|
10973
|
+
* 涉黄嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
10974
|
+
*/
|
|
10975
|
+
SegmentSetFileUrl: string
|
|
10976
|
+
|
|
10977
|
+
/**
|
|
10978
|
+
* 涉黄嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
10979
|
+
*/
|
|
10980
|
+
SegmentSetFileUrlExpireTime: string
|
|
10789
10981
|
}
|
|
10790
10982
|
|
|
10791
10983
|
/**
|
|
@@ -12050,9 +12242,20 @@ violation_photo:
|
|
|
12050
12242
|
Label: string
|
|
12051
12243
|
|
|
12052
12244
|
/**
|
|
12053
|
-
|
|
12054
|
-
|
|
12245
|
+
* 有涉政嫌疑的视频片段列表。
|
|
12246
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
12247
|
+
*/
|
|
12055
12248
|
SegmentSet: Array<MediaContentReviewPoliticalSegmentItem>
|
|
12249
|
+
|
|
12250
|
+
/**
|
|
12251
|
+
* 涉政嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
12252
|
+
*/
|
|
12253
|
+
SegmentSetFileUrl: string
|
|
12254
|
+
|
|
12255
|
+
/**
|
|
12256
|
+
* 涉政嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
12257
|
+
*/
|
|
12258
|
+
SegmentSetFileUrlExpireTime: string
|
|
12056
12259
|
}
|
|
12057
12260
|
|
|
12058
12261
|
/**
|
|
@@ -14677,9 +14880,20 @@ export interface AiReviewPoliticalOcrTaskOutput {
|
|
|
14677
14880
|
Suggestion: string
|
|
14678
14881
|
|
|
14679
14882
|
/**
|
|
14680
|
-
|
|
14681
|
-
|
|
14883
|
+
* Ocr 文字有涉政、敏感嫌疑的视频片段列表。
|
|
14884
|
+
<font color=red>注意</font> :该列表最多仅展示前 100 个元素。如希望获得完整结果,请从 SegmentSetFileUrl 对应的文件中获取。
|
|
14885
|
+
*/
|
|
14682
14886
|
SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>
|
|
14887
|
+
|
|
14888
|
+
/**
|
|
14889
|
+
* Ocr 文字有涉政、敏感嫌疑的视频片段列表文件 URL。文件的内容为 JSON,数据结构与 SegmentSet 字段一致。 (文件不会永久存储,到达 SegmentSetFileUrlExpireTime 时间点后文件将被删除)。
|
|
14890
|
+
*/
|
|
14891
|
+
SegmentSetFileUrl: string
|
|
14892
|
+
|
|
14893
|
+
/**
|
|
14894
|
+
* Ocr 文字有涉政、敏感嫌疑的视频片段列表文件 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
14895
|
+
*/
|
|
14896
|
+
SegmentSetFileUrlExpireTime: string
|
|
14683
14897
|
}
|
|
14684
14898
|
|
|
14685
14899
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.256";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DisableAutoScalingGroupResponse, ModifyLaunchConfigurationAttributesRequest, DisableAutoScalingGroupRequest, ModifyAutoScalingGroupRequest, ScaleOutInstancesRequest, ModifyScheduledActionRequest, DescribeAutoScalingGroupsRequest, CreateAutoScalingGroupResponse, DescribeAccountLimitsResponse, CreateLaunchConfigurationResponse, CreateLifecycleHookResponse, ClearLaunchConfigurationAttributesResponse, DescribeAutoScalingGroupsResponse, StopAutoScalingInstancesResponse, DescribeScalingPoliciesRequest, ModifyScheduledActionResponse, CreateAutoScalingGroupFromInstanceRequest, ExecuteScalingPolicyResponse, ModifyLaunchConfigurationAttributesResponse, SetInstancesProtectionResponse, StartAutoScalingInstancesResponse, CompleteLifecycleActionRequest, CreateScalingPolicyResponse, CreateNotificationConfigurationResponse, DescribeLaunchConfigurationsResponse, DeleteScalingPolicyResponse, DescribeAutoScalingInstancesRequest, ModifyLoadBalancersRequest, RemoveInstancesResponse, ModifyScalingPolicyResponse, SetInstancesProtectionRequest, DeleteNotificationConfigurationResponse, DetachInstancesResponse, CreateLaunchConfigurationRequest, AttachInstancesResponse, DescribeAutoScalingGroupLastActivitiesResponse, DescribeAccountLimitsRequest, UpgradeLifecycleHookRequest, DescribeAutoScalingGroupLastActivitiesRequest, ModifyLoadBalancersResponse, DescribePaiInstancesRequest, CreateNotificationConfigurationRequest, DescribeScheduledActionsResponse, ModifyNotificationConfigurationRequest, DeleteLifecycleHookRequest, ModifyAutoScalingGroupResponse, DeleteLaunchConfigurationRequest, ModifyScalingPolicyRequest, UpgradeLifecycleHookResponse, CreateAutoScalingGroupRequest, DeleteScheduledActionResponse, UpgradeLaunchConfigurationRequest, DescribeAutoScalingActivitiesResponse, DescribeNotificationConfigurationsResponse, PreviewPaiDomainNameRequest, DeleteScalingPolicyRequest, CreateAutoScalingGroupFromInstanceResponse, DetachInstancesRequest, CreateScheduledActionRequest, DeleteLaunchConfigurationResponse, DescribeScheduledActionsRequest, DeleteScheduledActionRequest, DescribeAutoScalingActivitiesRequest, ModifyDesiredCapacityRequest, CreateScheduledActionResponse, CreateLifecycleHookRequest, CompleteLifecycleActionResponse, ScaleOutInstancesResponse, DescribeLifecycleHooksRequest, ModifyNotificationConfigurationResponse, DescribeAutoScalingInstancesResponse, DescribeLifecycleHooksResponse, CreateScalingPolicyRequest, ScaleInInstancesResponse, DeleteNotificationConfigurationRequest, DescribeLaunchConfigurationsRequest, DeleteAutoScalingGroupResponse, EnableAutoScalingGroupRequest, DescribeNotificationConfigurationsRequest, ScaleInInstancesRequest, ClearLaunchConfigurationAttributesRequest, PreviewPaiDomainNameResponse, DeleteAutoScalingGroupRequest,
|
|
3
|
+
import { DisableAutoScalingGroupResponse, ModifyLaunchConfigurationAttributesRequest, DisableAutoScalingGroupRequest, ModifyAutoScalingGroupRequest, ScaleOutInstancesRequest, ModifyScheduledActionRequest, DescribeAutoScalingGroupsRequest, CreateAutoScalingGroupResponse, DescribeAccountLimitsResponse, CreateLaunchConfigurationResponse, CreateLifecycleHookResponse, ClearLaunchConfigurationAttributesResponse, DescribeAutoScalingGroupsResponse, StopAutoScalingInstancesResponse, DescribeScalingPoliciesRequest, ModifyScheduledActionResponse, CreateAutoScalingGroupFromInstanceRequest, ExecuteScalingPolicyResponse, ModifyLaunchConfigurationAttributesResponse, SetInstancesProtectionResponse, StartAutoScalingInstancesResponse, CompleteLifecycleActionRequest, CreateScalingPolicyResponse, CreateNotificationConfigurationResponse, DescribeLaunchConfigurationsResponse, RemoveInstancesRequest, DeleteScalingPolicyResponse, DescribeAutoScalingInstancesRequest, ModifyLoadBalancersRequest, RemoveInstancesResponse, ModifyScalingPolicyResponse, SetInstancesProtectionRequest, DeleteNotificationConfigurationResponse, DetachInstancesResponse, CreateLaunchConfigurationRequest, AttachInstancesResponse, DescribeAutoScalingGroupLastActivitiesResponse, DescribeAccountLimitsRequest, UpgradeLifecycleHookRequest, DescribeAutoScalingGroupLastActivitiesRequest, ModifyLoadBalancersResponse, DescribePaiInstancesRequest, CreateNotificationConfigurationRequest, DescribeScheduledActionsResponse, ModifyNotificationConfigurationRequest, DeleteLifecycleHookRequest, ModifyAutoScalingGroupResponse, DeleteLaunchConfigurationRequest, ModifyScalingPolicyRequest, UpgradeLifecycleHookResponse, DescribeAutoScalingAdvicesResponse, CreateAutoScalingGroupRequest, DeleteScheduledActionResponse, UpgradeLaunchConfigurationRequest, DescribeAutoScalingActivitiesResponse, DescribeNotificationConfigurationsResponse, PreviewPaiDomainNameRequest, DeleteScalingPolicyRequest, CreateAutoScalingGroupFromInstanceResponse, DetachInstancesRequest, CreateScheduledActionRequest, DeleteLaunchConfigurationResponse, DescribeScheduledActionsRequest, DeleteScheduledActionRequest, DescribeAutoScalingActivitiesRequest, ModifyDesiredCapacityRequest, CreateScheduledActionResponse, CreateLifecycleHookRequest, CompleteLifecycleActionResponse, ScaleOutInstancesResponse, DescribeLifecycleHooksRequest, ModifyNotificationConfigurationResponse, DescribeAutoScalingInstancesResponse, DescribeLifecycleHooksResponse, CreateScalingPolicyRequest, ScaleInInstancesResponse, DescribeAutoScalingAdvicesRequest, DeleteNotificationConfigurationRequest, DescribeLaunchConfigurationsRequest, DeleteAutoScalingGroupResponse, EnableAutoScalingGroupRequest, DescribeNotificationConfigurationsRequest, ScaleInInstancesRequest, ClearLaunchConfigurationAttributesRequest, PreviewPaiDomainNameResponse, DeleteAutoScalingGroupRequest, StartAutoScalingInstancesRequest, AttachInstancesRequest, DescribeScalingPoliciesResponse, ModifyDesiredCapacityResponse, StopAutoScalingInstancesRequest, DeleteLifecycleHookResponse, EnableAutoScalingGroupResponse, UpgradeLaunchConfigurationResponse, DescribePaiInstancesResponse, ExecuteScalingPolicyRequest } from "./as_models";
|
|
4
4
|
/**
|
|
5
5
|
* as client
|
|
6
6
|
* @class
|
|
@@ -95,6 +95,10 @@ export declare class Client extends AbstractClient {
|
|
|
95
95
|
* 本接口(CreateScheduledAction)用于创建定时任务。
|
|
96
96
|
*/
|
|
97
97
|
CreateScheduledAction(req: CreateScheduledActionRequest, cb?: (error: string, rep: CreateScheduledActionResponse) => void): Promise<CreateScheduledActionResponse>;
|
|
98
|
+
/**
|
|
99
|
+
* 此接口用于查询伸缩组配置建议。
|
|
100
|
+
*/
|
|
101
|
+
DescribeAutoScalingAdvices(req: DescribeAutoScalingAdvicesRequest, cb?: (error: string, rep: DescribeAutoScalingAdvicesResponse) => void): Promise<DescribeAutoScalingAdvicesResponse>;
|
|
98
102
|
/**
|
|
99
103
|
* 本接口(RemoveInstances)用于从伸缩组删除 CVM 实例。根据当前的产品逻辑,如果实例由弹性伸缩自动创建,则实例会被销毁;如果实例系创建后加入伸缩组的,则会从伸缩组中移除,保留实例。
|
|
100
104
|
* 如果删除指定实例后,伸缩组内处于`IN_SERVICE`状态的实例数量小于伸缩组最小值,接口将报错
|