tencentcloud-sdk-nodejs 4.0.280 → 4.0.284
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 +331 -0
- package/SERVICE_CHANGELOG.md +232 -6
- package/package.json +1 -1
- package/products.md +19 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +121 -63
- package/src/services/ame/v20190916/ame_models.ts +1157 -820
- package/src/services/cam/v20190116/cam_models.ts +6 -0
- package/src/services/cbs/v20170312/cbs_client.ts +16 -0
- package/src/services/cbs/v20170312/cbs_models.ts +60 -0
- package/src/services/chdfs/v20201112/chdfs_models.ts +10 -10
- package/src/services/ckafka/v20190819/ckafka_models.ts +1 -1
- package/src/services/cme/v20191029/cme_client.ts +17 -7
- package/src/services/cme/v20191029/cme_models.ts +415 -139
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/iotvideoindustry/v20201201/iotvideoindustry_models.ts +5 -5
- package/src/services/ivld/v20210903/ivld_client.ts +227 -29
- package/src/services/ivld/v20210903/ivld_models.ts +643 -107
- package/src/services/lowcode/index.ts +5 -0
- package/src/services/lowcode/v20210108/index.ts +6 -0
- package/src/services/lowcode/v20210108/lowcode_client.ts +48 -0
- package/src/services/lowcode/v20210108/lowcode_models.ts +359 -0
- package/src/services/monitor/v20180724/monitor_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +2 -2
- package/src/services/organization/v20210331/organization_models.ts +12 -0
- package/src/services/partners/v20180321/partners_models.ts +4 -4
- package/src/services/ses/v20201002/ses_models.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +1 -1
- package/src/services/vod/v20180717/vod_models.ts +38 -4
- package/src/services/vpc/v20170312/vpc_models.ts +4 -2
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +24 -5
- package/tencentcloud/services/ame/v20190916/ame_client.js +33 -6
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +1016 -730
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +5 -0
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +8 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +9 -0
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +51 -0
- package/tencentcloud/services/chdfs/v20201112/chdfs_models.d.ts +10 -10
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
- package/tencentcloud/services/cme/v20191029/cme_client.d.ts +1 -1
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +359 -123
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +5 -5
- package/tencentcloud/services/ivld/v20210903/ivld_client.d.ts +93 -11
- package/tencentcloud/services/ivld/v20210903/ivld_client.js +123 -13
- package/tencentcloud/services/ivld/v20210903/ivld_models.d.ts +529 -71
- package/tencentcloud/services/lowcode/index.d.ts +6 -0
- package/tencentcloud/services/lowcode/index.js +7 -0
- package/tencentcloud/services/lowcode/v20210108/index.d.ts +6 -0
- package/tencentcloud/services/lowcode/v20210108/index.js +9 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.d.ts +14 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +37 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +287 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.js +18 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +2 -2
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +10 -0
- package/tencentcloud/services/partners/v20180321/partners_models.d.ts +4 -4
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +32 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -2
- package/test/ame.v20190916.test.js +44 -4
- package/test/cbs.v20170312.test.js +10 -0
- package/test/ivld.v20210903.test.js +146 -6
- package/test/lowcode.v20210108.test.js +31 -0
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
ModifyDiskAttributesResponse,
|
|
23
23
|
AutoSnapshotPolicy,
|
|
24
24
|
DescribeSnapshotOperationLogsRequest,
|
|
25
|
+
CopySnapshotCrossRegionsResponse,
|
|
25
26
|
ModifyAutoSnapshotPolicyAttributeResponse,
|
|
26
27
|
InquiryPriceCreateDisksResponse,
|
|
27
28
|
BindAutoSnapshotPolicyRequest,
|
|
@@ -31,6 +32,7 @@ import {
|
|
|
31
32
|
InitializeDisksResponse,
|
|
32
33
|
DescribeDiskStoragePoolRequest,
|
|
33
34
|
SnapshotOperationLog,
|
|
35
|
+
SnapshotCopyResult,
|
|
34
36
|
RenewDiskRequest,
|
|
35
37
|
InquirePriceModifyDiskExtraPerformanceResponse,
|
|
36
38
|
CreateDisksRequest,
|
|
@@ -50,6 +52,7 @@ import {
|
|
|
50
52
|
CreateSnapshotRequest,
|
|
51
53
|
DescribeInstancesDiskNumRequest,
|
|
52
54
|
DescribeSnapshotSharePermissionResponse,
|
|
55
|
+
CopySnapshotCrossRegionsRequest,
|
|
53
56
|
InquiryPriceRenewDisksRequest,
|
|
54
57
|
DescribeSnapshotSharePermissionRequest,
|
|
55
58
|
DescribeSnapshotOperationLogsResponse,
|
|
@@ -145,6 +148,19 @@ export class Client extends AbstractClient {
|
|
|
145
148
|
return this.request("RenewDisk", req, cb)
|
|
146
149
|
}
|
|
147
150
|
|
|
151
|
+
/**
|
|
152
|
+
* 本接口(CopySnapshotCrossRegions)用于快照跨地域复制。
|
|
153
|
+
|
|
154
|
+
* 本接口为异步接口,当跨地域复制的请求下发成功后会返回一个新的快照ID,此时快照未立即复制到目标地域,可请求目标地域的[DescribeSnapshots](/document/product/362/15647)接口查询新快照的状态,判断是否复制完成。如果快照的状态为“NORMAL”,表示快照复制完成。
|
|
155
|
+
* 本接口实现的快照跨地域复制操作将产生跨地域流量,预计2022年第三季度会针对此功能进行商业化计费;请留意后续站内信公告,避免产生预期外扣费。
|
|
156
|
+
*/
|
|
157
|
+
async CopySnapshotCrossRegions(
|
|
158
|
+
req: CopySnapshotCrossRegionsRequest,
|
|
159
|
+
cb?: (error: string, rep: CopySnapshotCrossRegionsResponse) => void
|
|
160
|
+
): Promise<CopySnapshotCrossRegionsResponse> {
|
|
161
|
+
return this.request("CopySnapshotCrossRegions", req, cb)
|
|
162
|
+
}
|
|
163
|
+
|
|
148
164
|
/**
|
|
149
165
|
* 本接口(DescribeInstancesDiskNum)用于查询实例已挂载云硬盘数量。
|
|
150
166
|
|
|
@@ -116,6 +116,21 @@ export interface DescribeSnapshotOperationLogsRequest {
|
|
|
116
116
|
EndTime?: string
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
+
/**
|
|
120
|
+
* CopySnapshotCrossRegions返回参数结构体
|
|
121
|
+
*/
|
|
122
|
+
export interface CopySnapshotCrossRegionsResponse {
|
|
123
|
+
/**
|
|
124
|
+
* 快照跨地域复制的结果,如果请求下发成功,则返回相应地地域的新快照ID,否则返回Error。
|
|
125
|
+
*/
|
|
126
|
+
SnapshotCopyResultSet: Array<SnapshotCopyResult>
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
130
|
+
*/
|
|
131
|
+
RequestId?: string
|
|
132
|
+
}
|
|
133
|
+
|
|
119
134
|
/**
|
|
120
135
|
* ModifyAutoSnapshotPolicyAttribute返回参数结构体
|
|
121
136
|
*/
|
|
@@ -297,6 +312,31 @@ PROCESSING :表示操作中。
|
|
|
297
312
|
EndTime: string
|
|
298
313
|
}
|
|
299
314
|
|
|
315
|
+
/**
|
|
316
|
+
* 描述快照跨地域复制的结果。
|
|
317
|
+
*/
|
|
318
|
+
export interface SnapshotCopyResult {
|
|
319
|
+
/**
|
|
320
|
+
* 复制到目标地域的新快照ID。
|
|
321
|
+
*/
|
|
322
|
+
SnapshotId: string
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* 指示具体错误信息,成功时为空字符串。
|
|
326
|
+
*/
|
|
327
|
+
Message: string
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* 错误码,成功时取值为“Success”。
|
|
331
|
+
*/
|
|
332
|
+
Code: string
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* 跨地复制的目标地域。
|
|
336
|
+
*/
|
|
337
|
+
DestinationRegion: string
|
|
338
|
+
}
|
|
339
|
+
|
|
300
340
|
/**
|
|
301
341
|
* RenewDisk请求参数结构体
|
|
302
342
|
*/
|
|
@@ -857,6 +897,26 @@ export interface DescribeSnapshotSharePermissionResponse {
|
|
|
857
897
|
RequestId?: string
|
|
858
898
|
}
|
|
859
899
|
|
|
900
|
+
/**
|
|
901
|
+
* CopySnapshotCrossRegions请求参数结构体
|
|
902
|
+
*/
|
|
903
|
+
export interface CopySnapshotCrossRegionsRequest {
|
|
904
|
+
/**
|
|
905
|
+
* 快照需要复制到的目标地域,各地域的标准取值可通过接口[DescribeRegions](https://cloud.tencent.com/document/product/213/9456)查询,且只能传入支持快照的地域。
|
|
906
|
+
*/
|
|
907
|
+
DestinationRegions: Array<string>
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* 需要跨地域复制的源快照ID,可通过[DescribeSnapshots](/document/product/362/15647)查询。
|
|
911
|
+
*/
|
|
912
|
+
SnapshotId?: string
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* 新复制快照的名称,如果不传,则默认取值为“Copied 源快照ID from 地域名”。
|
|
916
|
+
*/
|
|
917
|
+
SnapshotName?: string
|
|
918
|
+
}
|
|
919
|
+
|
|
860
920
|
/**
|
|
861
921
|
* InquiryPriceRenewDisks请求参数结构体
|
|
862
922
|
*/
|
|
@@ -429,7 +429,7 @@ export interface CreateMountPointResponse {
|
|
|
429
429
|
/**
|
|
430
430
|
* 挂载点
|
|
431
431
|
*/
|
|
432
|
-
MountPoint
|
|
432
|
+
MountPoint: MountPoint
|
|
433
433
|
|
|
434
434
|
/**
|
|
435
435
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -509,7 +509,7 @@ export interface DescribeResourceTagsResponse {
|
|
|
509
509
|
/**
|
|
510
510
|
* 资源标签列表
|
|
511
511
|
*/
|
|
512
|
-
Tags
|
|
512
|
+
Tags: Array<Tag>
|
|
513
513
|
|
|
514
514
|
/**
|
|
515
515
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -524,7 +524,7 @@ export interface DescribeAccessGroupsResponse {
|
|
|
524
524
|
/**
|
|
525
525
|
* 权限组列表
|
|
526
526
|
*/
|
|
527
|
-
AccessGroups
|
|
527
|
+
AccessGroups: Array<AccessGroup>
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
530
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -721,7 +721,7 @@ export interface DescribeAccessRulesResponse {
|
|
|
721
721
|
/**
|
|
722
722
|
* 权限规则列表
|
|
723
723
|
*/
|
|
724
|
-
AccessRules
|
|
724
|
+
AccessRules: Array<AccessRule>
|
|
725
725
|
|
|
726
726
|
/**
|
|
727
727
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -776,7 +776,7 @@ export interface DescribeRestoreTasksResponse {
|
|
|
776
776
|
/**
|
|
777
777
|
* 回热任务列表
|
|
778
778
|
*/
|
|
779
|
-
RestoreTasks
|
|
779
|
+
RestoreTasks: Array<RestoreTask>
|
|
780
780
|
|
|
781
781
|
/**
|
|
782
782
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -791,7 +791,7 @@ export interface DescribeLifeCycleRulesResponse {
|
|
|
791
791
|
/**
|
|
792
792
|
* 生命周期规则列表
|
|
793
793
|
*/
|
|
794
|
-
LifeCycleRules
|
|
794
|
+
LifeCycleRules: Array<LifeCycleRule>
|
|
795
795
|
|
|
796
796
|
/**
|
|
797
797
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -806,7 +806,7 @@ export interface CreateAccessGroupResponse {
|
|
|
806
806
|
/**
|
|
807
807
|
* 权限组
|
|
808
808
|
*/
|
|
809
|
-
AccessGroup
|
|
809
|
+
AccessGroup: AccessGroup
|
|
810
810
|
|
|
811
811
|
/**
|
|
812
812
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -926,7 +926,7 @@ export interface DescribeAccessGroupResponse {
|
|
|
926
926
|
/**
|
|
927
927
|
* 权限组
|
|
928
928
|
*/
|
|
929
|
-
AccessGroup
|
|
929
|
+
AccessGroup: AccessGroup
|
|
930
930
|
|
|
931
931
|
/**
|
|
932
932
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -976,7 +976,7 @@ export interface DescribeMountPointsResponse {
|
|
|
976
976
|
/**
|
|
977
977
|
* 挂载点列表
|
|
978
978
|
*/
|
|
979
|
-
MountPoints
|
|
979
|
+
MountPoints: Array<MountPoint>
|
|
980
980
|
|
|
981
981
|
/**
|
|
982
982
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1111,7 +1111,7 @@ export interface DescribeMountPointResponse {
|
|
|
1111
1111
|
/**
|
|
1112
1112
|
* 挂载点
|
|
1113
1113
|
*/
|
|
1114
|
-
MountPoint
|
|
1114
|
+
MountPoint: MountPoint
|
|
1115
1115
|
|
|
1116
1116
|
/**
|
|
1117
1117
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -19,9 +19,11 @@ import { AbstractClient } from "../../../common/abstract_client"
|
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
21
|
AudioStreamInfo,
|
|
22
|
+
ClassDeletedEvent,
|
|
22
23
|
ModifyMaterialResponse,
|
|
23
24
|
DeleteProjectRequest,
|
|
24
25
|
ExportVideoByVideoSegmentationDataResponse,
|
|
26
|
+
MaterialDeletedEvent,
|
|
25
27
|
ImportMaterialResponse,
|
|
26
28
|
StreamConnectProjectInput,
|
|
27
29
|
DescribeAccountsRequest,
|
|
@@ -43,11 +45,12 @@ import {
|
|
|
43
45
|
CopyProjectRequest,
|
|
44
46
|
SearchScope,
|
|
45
47
|
RevokeResourceAuthorizationResponse,
|
|
46
|
-
|
|
48
|
+
DescribeTasksResponse,
|
|
47
49
|
ProjectInfo,
|
|
48
50
|
VideoTrackItem,
|
|
49
51
|
DeleteTeamRequest,
|
|
50
52
|
DescribeTeamsRequest,
|
|
53
|
+
PlatformInfo,
|
|
51
54
|
LinkMaterial,
|
|
52
55
|
SwitcherProjectInput,
|
|
53
56
|
FlattenListMediaRequest,
|
|
@@ -68,7 +71,6 @@ import {
|
|
|
68
71
|
StorageNewFileCreatedEvent,
|
|
69
72
|
DescribeLoginStatusRequest,
|
|
70
73
|
MediaTrack,
|
|
71
|
-
DeleteVideoEncodingPresetResponse,
|
|
72
74
|
DeleteLoginStatusResponse,
|
|
73
75
|
WeiboPublishInfo,
|
|
74
76
|
Resource,
|
|
@@ -80,8 +82,9 @@ import {
|
|
|
80
82
|
StreamConnectOutputInfo,
|
|
81
83
|
ParseEventRequest,
|
|
82
84
|
EmptyTrackItem,
|
|
83
|
-
|
|
85
|
+
ClassMovedEvent,
|
|
84
86
|
DeleteVideoEncodingPresetRequest,
|
|
87
|
+
MaterialImportedEvent,
|
|
85
88
|
ModifyVideoEncodingPresetResponse,
|
|
86
89
|
DescribeJoinTeamsRequest,
|
|
87
90
|
VideoSegmentationProjectInput,
|
|
@@ -90,11 +93,13 @@ import {
|
|
|
90
93
|
VideoEditProjectInput,
|
|
91
94
|
DeleteProjectResponse,
|
|
92
95
|
VideoEncodingPresetVideoSetting,
|
|
96
|
+
MediaImageSpriteInfo,
|
|
93
97
|
DeleteClassRequest,
|
|
94
98
|
CreateLinkRequest,
|
|
95
99
|
CreateClassRequest,
|
|
96
100
|
DescribeMaterialsResponse,
|
|
97
101
|
CreateVideoEncodingPresetResponse,
|
|
102
|
+
VideoEncodingPresetVideoSettingForUpdate,
|
|
98
103
|
GrantResourceAuthorizationResponse,
|
|
99
104
|
SwitcherPgmOutputConfig,
|
|
100
105
|
CMEExportInfo,
|
|
@@ -120,7 +125,7 @@ import {
|
|
|
120
125
|
CreateTeamResponse,
|
|
121
126
|
ModifyTeamRequest,
|
|
122
127
|
ModifyTeamMemberRequest,
|
|
123
|
-
|
|
128
|
+
MaterialMovedEvent,
|
|
124
129
|
CreateTeamRequest,
|
|
125
130
|
MaterialBasicInfo,
|
|
126
131
|
ResourceInfo,
|
|
@@ -138,12 +143,14 @@ import {
|
|
|
138
143
|
TimeRange,
|
|
139
144
|
ThirdPartyPublishInfo,
|
|
140
145
|
ListMediaRequest,
|
|
141
|
-
|
|
146
|
+
DeleteVideoEncodingPresetResponse,
|
|
142
147
|
VodPullInputInfo,
|
|
143
148
|
ModifyTeamResponse,
|
|
144
149
|
DeleteLoginStatusRequest,
|
|
145
150
|
GenerateVideoSegmentationSchemeByAiRequest,
|
|
146
151
|
LiveStreamClipProjectInput,
|
|
152
|
+
MaterialModifiedEvent,
|
|
153
|
+
HandleStreamConnectProjectResponse,
|
|
147
154
|
DeleteTeamMembersRequest,
|
|
148
155
|
ExportVideoByTemplateRequest,
|
|
149
156
|
DescribePlatformsRequest,
|
|
@@ -156,6 +163,7 @@ import {
|
|
|
156
163
|
AccountInfo,
|
|
157
164
|
DescribeProjectsRequest,
|
|
158
165
|
DescribeLoginStatusResponse,
|
|
166
|
+
MaterialAddedEvent,
|
|
159
167
|
CreateVideoEncodingPresetRequest,
|
|
160
168
|
ProjectStreamConnectStatusChangedEvent,
|
|
161
169
|
DescribeJoinTeamsResponse,
|
|
@@ -173,7 +181,7 @@ import {
|
|
|
173
181
|
ModifyVideoEncodingPresetRequest,
|
|
174
182
|
TeamMemberInfo,
|
|
175
183
|
CosPublishInputInfo,
|
|
176
|
-
|
|
184
|
+
HandleStreamConnectProjectRequest,
|
|
177
185
|
ModifyProjectRequest,
|
|
178
186
|
MaterialInfo,
|
|
179
187
|
DescribeVideoEncodingPresetsRequest,
|
|
@@ -187,13 +195,15 @@ import {
|
|
|
187
195
|
DeleteClassResponse,
|
|
188
196
|
ExportVideoEditProjectResponse,
|
|
189
197
|
MediaMetaData,
|
|
198
|
+
ProjectSwitcherStatusChangedEvent,
|
|
190
199
|
ExternalMediaInfo,
|
|
191
200
|
LinkMaterialInfo,
|
|
192
201
|
ExportVideoByEditorTrackDataResponse,
|
|
193
|
-
|
|
202
|
+
ClassCreatedEvent,
|
|
194
203
|
VideoEncodingPreset,
|
|
195
204
|
ImportMaterialRequest,
|
|
196
205
|
TextReplacementInfo,
|
|
206
|
+
ImportMediaInfo,
|
|
197
207
|
DescribeMaterialsRequest,
|
|
198
208
|
} from "./cme_models"
|
|
199
209
|
|