tencentcloud-sdk-nodejs-intl-en 3.0.1473 → 3.0.1474

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.1473",
3
+ "version": "3.0.1474",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.1473";
1
+ const sdkVersion = "3.0.1474";
2
2
  module.exports = sdkVersion
@@ -82,6 +82,7 @@ module.exports = {
82
82
  live: require("./live"),
83
83
  lke: require("./lke"),
84
84
  lkeap: require("./lkeap"),
85
+ makers: require("./makers"),
85
86
  mariadb: require("./mariadb"),
86
87
  mdc: require("./mdc"),
87
88
  mdl: require("./mdl"),
@@ -669,7 +669,7 @@ Note: Just like powering off a physical PC, a forced shutdown may cause data los
669
669
  }
670
670
 
671
671
  /**
672
- * This API is used to change the auto-renewal setting of monthly-subscribed instances.
672
+ * This API is used to change the auto-renewal setting of yearly/monthly-subscribed instances.
673
673
 
674
674
  * Instances with auto-renewal enabled are automatically renewed on a monthly basis upon the expiration.
675
675
  * Batch operations are supported. Up to 100 instances per request is allowed.
@@ -1490,7 +1490,7 @@ class InquirePriceRenewInstancesRequest extends AbstractModel {
1490
1490
  this.InstanceIds = null;
1491
1491
 
1492
1492
  /**
1493
- * Parameter setting for prepaid mode. This parameter can specify the renewal period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
1493
+ * Parameter setting for prepaid mode. This parameter can specify the renewal period, whether to enable auto-renewal, and other attributes of the yearly/monthly subscribed instances.
1494
1494
  * @type {InstanceChargePrepaid || null}
1495
1495
  */
1496
1496
  this.InstanceChargePrepaid = null;
@@ -9310,7 +9310,7 @@ class InquirePriceCreateInstancesRequest extends AbstractModel {
9310
9310
  this.BundleId = null;
9311
9311
 
9312
9312
  /**
9313
- * Parameter setting for prepaid mode. This parameter can specify the purchase period, whether to enable auto-renewal, and other attributes of the monthly subscribed instances.
9313
+ * Parameter setting for prepaid mode. This parameter can specify the purchase period, whether to enable auto-renewal, and other attributes of the yearly/monthly subscribed instances.
9314
9314
  * @type {InstanceChargePrepaid || null}
9315
9315
  */
9316
9316
  this.InstanceChargePrepaid = null;
@@ -183,6 +183,7 @@ const DescribeLiveWatermarkResponse = models.DescribeLiveWatermarkResponse;
183
183
  const ResumeLiveStreamResponse = models.ResumeLiveStreamResponse;
184
184
  const DescribeLiveStreamOnlineListResponse = models.DescribeLiveStreamOnlineListResponse;
185
185
  const DescribeTimeShiftStreamListResponse = models.DescribeTimeShiftStreamListResponse;
186
+ const StopScreenshotTaskRequest = models.StopScreenshotTaskRequest;
186
187
  const ModifyLiveTimeShiftTemplateResponse = models.ModifyLiveTimeShiftTemplateResponse;
187
188
  const DescribeStreamPushInfoListResponse = models.DescribeStreamPushInfoListResponse;
188
189
  const DescribeLiveStreamPushInfoListRequest = models.DescribeLiveStreamPushInfoListRequest;
@@ -309,6 +310,7 @@ const ForbidLiveDomainResponse = models.ForbidLiveDomainResponse;
309
310
  const DescribeTranscodeTaskNumRequest = models.DescribeTranscodeTaskNumRequest;
310
311
  const DescribeLiveCallbackRulesResponse = models.DescribeLiveCallbackRulesResponse;
311
312
  const DescribeLiveTranscodeTotalInfoRequest = models.DescribeLiveTranscodeTotalInfoRequest;
313
+ const StopScreenshotTaskResponse = models.StopScreenshotTaskResponse;
312
314
  const CreateRecordTaskResponse = models.CreateRecordTaskResponse;
313
315
  const RecordTask = models.RecordTask;
314
316
  const DescribeTimeShiftRecordDetailResponse = models.DescribeTimeShiftRecordDetailResponse;
@@ -755,6 +757,17 @@ Notes:
755
757
  this.request("DescribeLiveRecordTemplate", req, resp, cb);
756
758
  }
757
759
 
760
+ /**
761
+ * This API is used to terminate a screenshot task in advance. After the task is successfully terminated, it will not be started again.
762
+ * @param {StopScreenshotTaskRequest} req
763
+ * @param {function(string, StopScreenshotTaskResponse):void} cb
764
+ * @public
765
+ */
766
+ StopScreenshotTask(req, cb) {
767
+ let resp = new StopScreenshotTaskResponse();
768
+ this.request("StopScreenshotTask", req, resp, cb);
769
+ }
770
+
758
771
  /**
759
772
  * This API is used to delete a watermark.
760
773
  * @param {DeleteLiveWatermarkRequest} req
@@ -8658,6 +8658,34 @@ Note: This field may return null, indicating that no valid values can be obtaine
8658
8658
  }
8659
8659
  }
8660
8660
 
8661
+ /**
8662
+ * StopScreenshotTask request structure.
8663
+ * @class
8664
+ */
8665
+ class StopScreenshotTaskRequest extends AbstractModel {
8666
+ constructor(){
8667
+ super();
8668
+
8669
+ /**
8670
+ * Screenshot task ID.
8671
+ * @type {string || null}
8672
+ */
8673
+ this.TaskId = null;
8674
+
8675
+ }
8676
+
8677
+ /**
8678
+ * @private
8679
+ */
8680
+ deserialize(params) {
8681
+ if (!params) {
8682
+ return;
8683
+ }
8684
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
8685
+
8686
+ }
8687
+ }
8688
+
8661
8689
  /**
8662
8690
  * ModifyLiveTimeShiftTemplate response structure.
8663
8691
  * @class
@@ -15609,6 +15637,34 @@ By default, the data both in and outside the Chinese mainland is queried.
15609
15637
  }
15610
15638
  }
15611
15639
 
15640
+ /**
15641
+ * StopScreenshotTask response structure.
15642
+ * @class
15643
+ */
15644
+ class StopScreenshotTaskResponse extends AbstractModel {
15645
+ constructor(){
15646
+ super();
15647
+
15648
+ /**
15649
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
15650
+ * @type {string || null}
15651
+ */
15652
+ this.RequestId = null;
15653
+
15654
+ }
15655
+
15656
+ /**
15657
+ * @private
15658
+ */
15659
+ deserialize(params) {
15660
+ if (!params) {
15661
+ return;
15662
+ }
15663
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
15664
+
15665
+ }
15666
+ }
15667
+
15612
15668
  /**
15613
15669
  * CreateRecordTask response structure.
15614
15670
  * @class
@@ -16275,6 +16331,7 @@ module.exports = {
16275
16331
  ResumeLiveStreamResponse: ResumeLiveStreamResponse,
16276
16332
  DescribeLiveStreamOnlineListResponse: DescribeLiveStreamOnlineListResponse,
16277
16333
  DescribeTimeShiftStreamListResponse: DescribeTimeShiftStreamListResponse,
16334
+ StopScreenshotTaskRequest: StopScreenshotTaskRequest,
16278
16335
  ModifyLiveTimeShiftTemplateResponse: ModifyLiveTimeShiftTemplateResponse,
16279
16336
  DescribeStreamPushInfoListResponse: DescribeStreamPushInfoListResponse,
16280
16337
  DescribeLiveStreamPushInfoListRequest: DescribeLiveStreamPushInfoListRequest,
@@ -16401,6 +16458,7 @@ module.exports = {
16401
16458
  DescribeTranscodeTaskNumRequest: DescribeTranscodeTaskNumRequest,
16402
16459
  DescribeLiveCallbackRulesResponse: DescribeLiveCallbackRulesResponse,
16403
16460
  DescribeLiveTranscodeTotalInfoRequest: DescribeLiveTranscodeTotalInfoRequest,
16461
+ StopScreenshotTaskResponse: StopScreenshotTaskResponse,
16404
16462
  CreateRecordTaskResponse: CreateRecordTaskResponse,
16405
16463
  RecordTask: RecordTask,
16406
16464
  DescribeTimeShiftRecordDetailResponse: DescribeTimeShiftRecordDetailResponse,
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ v20261113: require("./v20261113"),
3
+ };
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ Client: require("./makers_client"),
3
+ Models: require("./models"),
4
+ };
@@ -0,0 +1,262 @@
1
+ /*
2
+ * Copyright (c) 2018 Tencent. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+ const models = require("./models");
18
+ const AbstractClient = require('../../common/abstract_client')
19
+ const ProjectFilter = models.ProjectFilter;
20
+ const ProjectDeployment = models.ProjectDeployment;
21
+ const DeleteProjectCustomDomainsRequest = models.DeleteProjectCustomDomainsRequest;
22
+ const DeleteProjectRequest = models.DeleteProjectRequest;
23
+ const CreateDeploymentRequest = models.CreateDeploymentRequest;
24
+ const DescribeDeploymentsRequest = models.DescribeDeploymentsRequest;
25
+ const Environment = models.Environment;
26
+ const DescribeProjectsRequest = models.DescribeProjectsRequest;
27
+ const CosCredentials = models.CosCredentials;
28
+ const CustomDomainItem = models.CustomDomainItem;
29
+ const DescribeEnvironmentsResponse = models.DescribeEnvironmentsResponse;
30
+ const ModifyZoneCustomDomainEnvRequest = models.ModifyZoneCustomDomainEnvRequest;
31
+ const DescribeProjectsResponse = models.DescribeProjectsResponse;
32
+ const OwnershipVerification = models.OwnershipVerification;
33
+ const ModifyProjectEnvsRequest = models.ModifyProjectEnvsRequest;
34
+ const CustomDomainInput = models.CustomDomainInput;
35
+ const DeleteProjectEnvsRequest = models.DeleteProjectEnvsRequest;
36
+ const DeleteProjectEnvsResponse = models.DeleteProjectEnvsResponse;
37
+ const ModifyProjectResponse = models.ModifyProjectResponse;
38
+ const NsVerification = models.NsVerification;
39
+ const FileVerification = models.FileVerification;
40
+ const Deployment = models.Deployment;
41
+ const DeleteProjectCustomDomainsResponse = models.DeleteProjectCustomDomainsResponse;
42
+ const DescribeProjectEnvsResponse = models.DescribeProjectEnvsResponse;
43
+ const DescribeDeploymentLogRequest = models.DescribeDeploymentLogRequest;
44
+ const DescribeDeploymentLogResponse = models.DescribeDeploymentLogResponse;
45
+ const SwitchConfig = models.SwitchConfig;
46
+ const DescribeZoneCustomDomainsResponse = models.DescribeZoneCustomDomainsResponse;
47
+ const ModifyProjectRequest = models.ModifyProjectRequest;
48
+ const ModifyZoneCustomDomainEnvResponse = models.ModifyZoneCustomDomainEnvResponse;
49
+ const EnvironmentEnvVar = models.EnvironmentEnvVar;
50
+ const DescribeCosTempTokenResponse = models.DescribeCosTempTokenResponse;
51
+ const Project = models.Project;
52
+ const CreateProjectResponse = models.CreateProjectResponse;
53
+ const CreateZoneCustomDomainResponse = models.CreateZoneCustomDomainResponse;
54
+ const DnsVerification = models.DnsVerification;
55
+ const DeleteProjectResponse = models.DeleteProjectResponse;
56
+ const DescribeDeploymentsResponse = models.DescribeDeploymentsResponse;
57
+ const DescribeZoneCustomDomainsRequest = models.DescribeZoneCustomDomainsRequest;
58
+ const DescribeProjectEnvsRequest = models.DescribeProjectEnvsRequest;
59
+ const CreateDeploymentResponse = models.CreateDeploymentResponse;
60
+ const Regions = models.Regions;
61
+ const DeploymentFilter = models.DeploymentFilter;
62
+ const ZoneDomain = models.ZoneDomain;
63
+ const HstsConfig = models.HstsConfig;
64
+ const ProjectEnvVar = models.ProjectEnvVar;
65
+ const CreateZoneCustomDomainRequest = models.CreateZoneCustomDomainRequest;
66
+ const DescribeEnvironmentsRequest = models.DescribeEnvironmentsRequest;
67
+ const ForceRedirectConfig = models.ForceRedirectConfig;
68
+ const ModifyProjectEnvsResponse = models.ModifyProjectEnvsResponse;
69
+ const EnvVar = models.EnvVar;
70
+ const DescribeCosTempTokenRequest = models.DescribeCosTempTokenRequest;
71
+ const CreateProjectRequest = models.CreateProjectRequest;
72
+
73
+
74
+ /**
75
+ * makers client
76
+ * @class
77
+ */
78
+ class MakersClient extends AbstractClient {
79
+
80
+ constructor(credential, region, profile) {
81
+ super("makers.intl.tencentcloudapi.com", "2026-11-13", credential, region, profile);
82
+ }
83
+
84
+ /**
85
+ * Write environment variables based on the passed-in EnvVars.
86
+ * @param {ModifyProjectEnvsRequest} req
87
+ * @param {function(string, ModifyProjectEnvsResponse):void} cb
88
+ * @public
89
+ */
90
+ ModifyProjectEnvs(req, cb) {
91
+ let resp = new ModifyProjectEnvsResponse();
92
+ this.request("ModifyProjectEnvs", req, resp, cb);
93
+ }
94
+
95
+ /**
96
+ * Bind a custom domain name to a specified environment of a project.
97
+ * @param {CreateZoneCustomDomainRequest} req
98
+ * @param {function(string, CreateZoneCustomDomainResponse):void} cb
99
+ * @public
100
+ */
101
+ CreateZoneCustomDomain(req, cb) {
102
+ let resp = new CreateZoneCustomDomainResponse();
103
+ this.request("CreateZoneCustomDomain", req, resp, cb);
104
+ }
105
+
106
+ /**
107
+ * Query deployment records of a project.
108
+ * @param {DescribeDeploymentsRequest} req
109
+ * @param {function(string, DescribeDeploymentsResponse):void} cb
110
+ * @public
111
+ */
112
+ DescribeDeployments(req, cb) {
113
+ let resp = new DescribeDeploymentsResponse();
114
+ this.request("DescribeDeployments", req, resp, cb);
115
+ }
116
+
117
+ /**
118
+ * Delete environment variables by EnvVars. Match by Id or Key. Value is required but not used for matching. You can pass any value.
119
+ * @param {DeleteProjectEnvsRequest} req
120
+ * @param {function(string, DeleteProjectEnvsResponse):void} cb
121
+ * @public
122
+ */
123
+ DeleteProjectEnvs(req, cb) {
124
+ let resp = new DeleteProjectEnvsResponse();
125
+ this.request("DeleteProjectEnvs", req, resp, cb);
126
+ }
127
+
128
+ /**
129
+ * This API is used to query projects under a site by page. Offset is the page number offset, and the backend skips Offset * Limit items.
130
+ * @param {DescribeProjectsRequest} req
131
+ * @param {function(string, DescribeProjectsResponse):void} cb
132
+ * @public
133
+ */
134
+ DescribeProjects(req, cb) {
135
+ let resp = new DescribeProjectsResponse();
136
+ this.request("DescribeProjects", req, resp, cb);
137
+ }
138
+
139
+ /**
140
+ * Query environments in a project, including built-in Production, Preview, and custom environments.
141
+ * @param {DescribeEnvironmentsRequest} req
142
+ * @param {function(string, DescribeEnvironmentsResponse):void} cb
143
+ * @public
144
+ */
145
+ DescribeEnvironments(req, cb) {
146
+ let resp = new DescribeEnvironmentsResponse();
147
+ this.request("DescribeEnvironments", req, resp, cb);
148
+ }
149
+
150
+ /**
151
+ * This API is used to create a project. When uploading an artifact, pass Upload for Provider and Custom for Channel.
152
+ * @param {CreateProjectRequest} req
153
+ * @param {function(string, CreateProjectResponse):void} cb
154
+ * @public
155
+ */
156
+ CreateProject(req, cb) {
157
+ let resp = new CreateProjectResponse();
158
+ this.request("CreateProject", req, resp, cb);
159
+ }
160
+
161
+ /**
162
+ * Switch a bound custom domain name to another environment.
163
+ * @param {ModifyZoneCustomDomainEnvRequest} req
164
+ * @param {function(string, ModifyZoneCustomDomainEnvResponse):void} cb
165
+ * @public
166
+ */
167
+ ModifyZoneCustomDomainEnv(req, cb) {
168
+ let resp = new ModifyZoneCustomDomainEnvResponse();
169
+ this.request("ModifyZoneCustomDomainEnv", req, resp, cb);
170
+ }
171
+
172
+ /**
173
+ * Query project environment variables. If Env is not specified, return all application scopes.
174
+ * @param {DescribeProjectEnvsRequest} req
175
+ * @param {function(string, DescribeProjectEnvsResponse):void} cb
176
+ * @public
177
+ */
178
+ DescribeProjectEnvs(req, cb) {
179
+ let resp = new DescribeProjectEnvsResponse();
180
+ this.request("DescribeProjectEnvs", req, resp, cb);
181
+ }
182
+
183
+ /**
184
+ * Delete a project. In-progress builds prevent deletion.
185
+ * @param {DeleteProjectRequest} req
186
+ * @param {function(string, DeleteProjectResponse):void} cb
187
+ * @public
188
+ */
189
+ DeleteProject(req, cb) {
190
+ let resp = new DeleteProjectResponse();
191
+ this.request("DeleteProject", req, resp, cb);
192
+ }
193
+
194
+ /**
195
+ * Queries the custom and preset domain names of a project under a site.
196
+ * @param {DescribeZoneCustomDomainsRequest} req
197
+ * @param {function(string, DescribeZoneCustomDomainsResponse):void} cb
198
+ * @public
199
+ */
200
+ DescribeZoneCustomDomains(req, cb) {
201
+ let resp = new DescribeZoneCustomDomainsResponse();
202
+ this.request("DescribeZoneCustomDomains", req, resp, cb);
203
+ }
204
+
205
+ /**
206
+ * Modify the project name and build configuration. Fields not passed retain their original values.
207
+ * @param {ModifyProjectRequest} req
208
+ * @param {function(string, ModifyProjectResponse):void} cb
209
+ * @public
210
+ */
211
+ ModifyProject(req, cb) {
212
+ let resp = new ModifyProjectResponse();
213
+ this.request("ModifyProject", req, resp, cb);
214
+ }
215
+
216
+ /**
217
+ * This API is used to create a deployment. When uploading an artifact, pass Upload for ViaMeta and Provider, and pass the path of the uploaded object for TempBucketPath.
218
+ * @param {CreateDeploymentRequest} req
219
+ * @param {function(string, CreateDeploymentResponse):void} cb
220
+ * @public
221
+ */
222
+ CreateDeployment(req, cb) {
223
+ let resp = new CreateDeploymentResponse();
224
+ this.request("CreateDeployment", req, resp, cb);
225
+ }
226
+
227
+ /**
228
+ * Return the access address of the build log.
229
+ * @param {DescribeDeploymentLogRequest} req
230
+ * @param {function(string, DescribeDeploymentLogResponse):void} cb
231
+ * @public
232
+ */
233
+ DescribeDeploymentLog(req, cb) {
234
+ let resp = new DescribeDeploymentLogResponse();
235
+ this.request("DescribeDeploymentLog", req, resp, cb);
236
+ }
237
+
238
+ /**
239
+ * Unbind a custom domain name from a project by domain name.
240
+ * @param {DeleteProjectCustomDomainsRequest} req
241
+ * @param {function(string, DeleteProjectCustomDomainsResponse):void} cb
242
+ * @public
243
+ */
244
+ DeleteProjectCustomDomains(req, cb) {
245
+ let resp = new DeleteProjectCustomDomainsResponse();
246
+ this.request("DeleteProjectCustomDomains", req, resp, cb);
247
+ }
248
+
249
+ /**
250
+ * Get the COS bucket, region, target path, and temporary key for uploading artifacts.
251
+ * @param {DescribeCosTempTokenRequest} req
252
+ * @param {function(string, DescribeCosTempTokenResponse):void} cb
253
+ * @public
254
+ */
255
+ DescribeCosTempToken(req, cb) {
256
+ let resp = new DescribeCosTempTokenResponse();
257
+ this.request("DescribeCosTempToken", req, resp, cb);
258
+ }
259
+
260
+
261
+ }
262
+ module.exports = MakersClient;