tencentcloud-sdk-nodejs-intl-en 3.0.367 → 3.0.371

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.
@@ -18,13 +18,17 @@ const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
19
  const BatchSendEmailRequest = models.BatchSendEmailRequest;
20
20
  const GetEmailTemplateRequest = models.GetEmailTemplateRequest;
21
+ const ListSendTasksResponse = models.ListSendTasksResponse;
22
+ const CreateReceiverResponse = models.CreateReceiverResponse;
21
23
  const CreateEmailTemplateRequest = models.CreateEmailTemplateRequest;
22
24
  const TemplatesMetadata = models.TemplatesMetadata;
23
25
  const ListEmailAddressRequest = models.ListEmailAddressRequest;
26
+ const ListReceiversRequest = models.ListReceiversRequest;
24
27
  const GetEmailIdentityResponse = models.GetEmailIdentityResponse;
25
28
  const ListBlackEmailAddressRequest = models.ListBlackEmailAddressRequest;
26
29
  const Attachment = models.Attachment;
27
30
  const Template = models.Template;
31
+ const ListSendTasksRequest = models.ListSendTasksRequest;
28
32
  const GetSendEmailStatusResponse = models.GetSendEmailStatusResponse;
29
33
  const SendEmailRequest = models.SendEmailRequest;
30
34
  const EmailSender = models.EmailSender;
@@ -34,16 +38,20 @@ const UpdateEmailIdentityRequest = models.UpdateEmailIdentityRequest;
34
38
  const GetEmailIdentityRequest = models.GetEmailIdentityRequest;
35
39
  const DeleteEmailIdentityResponse = models.DeleteEmailIdentityResponse;
36
40
  const GetStatisticsReportRequest = models.GetStatisticsReportRequest;
41
+ const DeleteBlackListRequest = models.DeleteBlackListRequest;
42
+ const SendTaskData = models.SendTaskData;
37
43
  const DeleteEmailTemplateResponse = models.DeleteEmailTemplateResponse;
38
44
  const Volume = models.Volume;
39
45
  const CreateEmailIdentityRequest = models.CreateEmailIdentityRequest;
40
- const UpdateEmailTemplateRequest = models.UpdateEmailTemplateRequest;
46
+ const ReceiverData = models.ReceiverData;
41
47
  const UpdateEmailIdentityResponse = models.UpdateEmailIdentityResponse;
42
48
  const DeleteEmailTemplateRequest = models.DeleteEmailTemplateRequest;
43
49
  const DeleteBlackListResponse = models.DeleteBlackListResponse;
50
+ const UpdateEmailTemplateRequest = models.UpdateEmailTemplateRequest;
44
51
  const SendEmailStatus = models.SendEmailStatus;
45
52
  const ListEmailTemplatesRequest = models.ListEmailTemplatesRequest;
46
- const DeleteBlackListRequest = models.DeleteBlackListRequest;
53
+ const CreateReceiverRequest = models.CreateReceiverRequest;
54
+ const CreateReceiverDetailResponse = models.CreateReceiverDetailResponse;
47
55
  const ListEmailTemplatesResponse = models.ListEmailTemplatesResponse;
48
56
  const SendEmailResponse = models.SendEmailResponse;
49
57
  const ListBlackEmailAddressResponse = models.ListBlackEmailAddressResponse;
@@ -60,7 +68,9 @@ const CycleEmailParam = models.CycleEmailParam;
60
68
  const DeleteEmailAddressResponse = models.DeleteEmailAddressResponse;
61
69
  const CreateEmailIdentityResponse = models.CreateEmailIdentityResponse;
62
70
  const CreateEmailAddressRequest = models.CreateEmailAddressRequest;
71
+ const CreateReceiverDetailRequest = models.CreateReceiverDetailRequest;
63
72
  const CreateEmailTemplateResponse = models.CreateEmailTemplateResponse;
73
+ const ListReceiversResponse = models.ListReceiversResponse;
64
74
  const CreateEmailAddressResponse = models.CreateEmailAddressResponse;
65
75
  const UpdateEmailTemplateResponse = models.UpdateEmailTemplateResponse;
66
76
  const TimedEmailParam = models.TimedEmailParam;
@@ -80,36 +90,14 @@ class SesClient extends AbstractClient {
80
90
  }
81
91
 
82
92
  /**
83
- * This API is used to get the list of sender addresses.
84
- * @param {ListEmailAddressRequest} req
85
- * @param {function(string, ListEmailAddressResponse):void} cb
86
- * @public
87
- */
88
- ListEmailAddress(req, cb) {
89
- let resp = new ListEmailAddressResponse();
90
- this.request("ListEmailAddress", req, resp, cb);
91
- }
92
-
93
- /**
94
- * This API is used to create a sender domain. Before you can send an email using Tencent Cloud SES, you must create a sender domain as your identity. It can be the domain of your website or mobile app. You must verify the domain to prove that you own it and authorize Tencent Cloud SES to use it to send emails.
95
- * @param {CreateEmailIdentityRequest} req
96
- * @param {function(string, CreateEmailIdentityResponse):void} cb
97
- * @public
98
- */
99
- CreateEmailIdentity(req, cb) {
100
- let resp = new CreateEmailIdentityResponse();
101
- this.request("CreateEmailIdentity", req, resp, cb);
102
- }
103
-
104
- /**
105
- * This API is used to unblocklist email addresses. If you confirm that a blocklisted recipient address is valid and active, you can remove it from Tencent Cloud’s address blocklist database.
106
- * @param {DeleteBlackListRequest} req
107
- * @param {function(string, DeleteBlackListResponse):void} cb
93
+ * This API is used to get the list of sender domains, including verified and unverified domains.
94
+ * @param {ListEmailIdentitiesRequest} req
95
+ * @param {function(string, ListEmailIdentitiesResponse):void} cb
108
96
  * @public
109
97
  */
110
- DeleteBlackList(req, cb) {
111
- let resp = new DeleteBlackListResponse();
112
- this.request("DeleteBlackList", req, resp, cb);
98
+ ListEmailIdentities(req, cb) {
99
+ let resp = new ListEmailIdentitiesResponse();
100
+ this.request("ListEmailIdentities", req, resp, cb);
113
101
  }
114
102
 
115
103
  /**
@@ -124,48 +112,47 @@ class SesClient extends AbstractClient {
124
112
  }
125
113
 
126
114
  /**
127
- * This API is used to create a TEXT or HTML email template. To create an HTML template, ensure that it does not include external CSS files. You can use {{variable name}} to specify a variable in the template.
128
- Note: only an approved template can be used to send emails.
129
- * @param {CreateEmailTemplateRequest} req
130
- * @param {function(string, CreateEmailTemplateResponse):void} cb
115
+ * This API is used to get email sending status. Only data within 30 days can be queried.
116
+ * @param {GetSendEmailStatusRequest} req
117
+ * @param {function(string, GetSendEmailStatusResponse):void} cb
131
118
  * @public
132
119
  */
133
- CreateEmailTemplate(req, cb) {
134
- let resp = new CreateEmailTemplateResponse();
135
- this.request("CreateEmailTemplate", req, resp, cb);
120
+ GetSendEmailStatus(req, cb) {
121
+ let resp = new GetSendEmailStatusResponse();
122
+ this.request("GetSendEmailStatus", req, resp, cb);
136
123
  }
137
124
 
138
125
  /**
139
- * This API is used to send a TEXT or HTML email to multiple recipients at a time for marketing or notification purposes. By default, you can send emails using a template only. To send custom content, please contact your sales rep to enable this feature. You need to create a recipient group with email addresses first and then send emails by group ID. SES supports scheduled and recurring email sending tasks. You need to pass in `TimedParam` for a scheduled task and `CycleParam` for a recurring one.
140
- * @param {BatchSendEmailRequest} req
141
- * @param {function(string, BatchSendEmailResponse):void} cb
126
+ * This API is used to create a recipient group, which is the list of target email addresses for batch sending emails. After creating a group, you need to upload recipient email addresses. Then, you can create a sending task and select the group to batch send emails.
127
+ * @param {CreateReceiverRequest} req
128
+ * @param {function(string, CreateReceiverResponse):void} cb
142
129
  * @public
143
130
  */
144
- BatchSendEmail(req, cb) {
145
- let resp = new BatchSendEmailResponse();
146
- this.request("BatchSendEmail", req, resp, cb);
131
+ CreateReceiver(req, cb) {
132
+ let resp = new CreateReceiverResponse();
133
+ this.request("CreateReceiver", req, resp, cb);
147
134
  }
148
135
 
149
136
  /**
150
- * This API is used to send a TEXT or HTML email triggered for authentication or transaction. By default, you can send emails using a template only. To send custom content, please contact your sales rep to enable this feature.
151
- * @param {SendEmailRequest} req
152
- * @param {function(string, SendEmailResponse):void} cb
137
+ * This API is used to get the configuration details of a sender domain.
138
+ * @param {GetEmailIdentityRequest} req
139
+ * @param {function(string, GetEmailIdentityResponse):void} cb
153
140
  * @public
154
141
  */
155
- SendEmail(req, cb) {
156
- let resp = new SendEmailResponse();
157
- this.request("SendEmail", req, resp, cb);
142
+ GetEmailIdentity(req, cb) {
143
+ let resp = new GetEmailIdentityResponse();
144
+ this.request("GetEmailIdentity", req, resp, cb);
158
145
  }
159
146
 
160
147
  /**
161
- * This API is used to get the list of sender domains, including verified and unverified domains.
162
- * @param {ListEmailIdentitiesRequest} req
163
- * @param {function(string, ListEmailIdentitiesResponse):void} cb
148
+ * This API is used to get the details of a template.
149
+ * @param {GetEmailTemplateRequest} req
150
+ * @param {function(string, GetEmailTemplateResponse):void} cb
164
151
  * @public
165
152
  */
166
- ListEmailIdentities(req, cb) {
167
- let resp = new ListEmailIdentitiesResponse();
168
- this.request("ListEmailIdentities", req, resp, cb);
153
+ GetEmailTemplate(req, cb) {
154
+ let resp = new GetEmailTemplateResponse();
155
+ this.request("GetEmailTemplate", req, resp, cb);
169
156
  }
170
157
 
171
158
  /**
@@ -180,58 +167,81 @@ Note: only an approved template can be used to send emails.
180
167
  }
181
168
 
182
169
  /**
183
- * This API is used to get email sending status. Only data within 90 days can be queried.
184
- * @param {GetSendEmailStatusRequest} req
185
- * @param {function(string, GetSendEmailStatusResponse):void} cb
170
+ * This API is used to update an email template. An updated template must be approved again before it can be used.
171
+ * @param {UpdateEmailTemplateRequest} req
172
+ * @param {function(string, UpdateEmailTemplateResponse):void} cb
186
173
  * @public
187
174
  */
188
- GetSendEmailStatus(req, cb) {
189
- let resp = new GetSendEmailStatusResponse();
190
- this.request("GetSendEmailStatus", req, resp, cb);
175
+ UpdateEmailTemplate(req, cb) {
176
+ let resp = new UpdateEmailTemplateResponse();
177
+ this.request("UpdateEmailTemplate", req, resp, cb);
191
178
  }
192
179
 
193
180
  /**
194
- * The API is used to get blocklisted addresses. In the case of a hard bounce, Tencent Cloud will blocklist the recipient address and do not allow any user to send emails to this address. If you confirm that this is a misjudgment, you can remove it from the blocklist.
195
- * @param {ListBlackEmailAddressRequest} req
196
- * @param {function(string, ListBlackEmailAddressResponse):void} cb
181
+ * This API is used to verify whether your DNS configuration is correct.
182
+ * @param {UpdateEmailIdentityRequest} req
183
+ * @param {function(string, UpdateEmailIdentityResponse):void} cb
197
184
  * @public
198
185
  */
199
- ListBlackEmailAddress(req, cb) {
200
- let resp = new ListBlackEmailAddressResponse();
201
- this.request("ListBlackEmailAddress", req, resp, cb);
186
+ UpdateEmailIdentity(req, cb) {
187
+ let resp = new UpdateEmailIdentityResponse();
188
+ this.request("UpdateEmailIdentity", req, resp, cb);
202
189
  }
203
190
 
204
191
  /**
205
- * This API is used to delete an email template.
206
- * @param {DeleteEmailTemplateRequest} req
207
- * @param {function(string, DeleteEmailTemplateResponse):void} cb
192
+ * This API is used to delete a sender domain. After deleted, the sender domain can no longer be used to send emails.
193
+ * @param {DeleteEmailIdentityRequest} req
194
+ * @param {function(string, DeleteEmailIdentityResponse):void} cb
208
195
  * @public
209
196
  */
210
- DeleteEmailTemplate(req, cb) {
211
- let resp = new DeleteEmailTemplateResponse();
212
- this.request("DeleteEmailTemplate", req, resp, cb);
197
+ DeleteEmailIdentity(req, cb) {
198
+ let resp = new DeleteEmailIdentityResponse();
199
+ this.request("DeleteEmailIdentity", req, resp, cb);
213
200
  }
214
201
 
215
202
  /**
216
- * This API is used to update an email template. An updated template must be approved again before it can be used.
217
- * @param {UpdateEmailTemplateRequest} req
218
- * @param {function(string, UpdateEmailTemplateResponse):void} cb
203
+ * This API is used to get the list of sender addresses.
204
+ * @param {ListEmailAddressRequest} req
205
+ * @param {function(string, ListEmailAddressResponse):void} cb
219
206
  * @public
220
207
  */
221
- UpdateEmailTemplate(req, cb) {
222
- let resp = new UpdateEmailTemplateResponse();
223
- this.request("UpdateEmailTemplate", req, resp, cb);
208
+ ListEmailAddress(req, cb) {
209
+ let resp = new ListEmailAddressResponse();
210
+ this.request("ListEmailAddress", req, resp, cb);
224
211
  }
225
212
 
226
213
  /**
227
- * This API is used to get the configuration details of a sender domain.
228
- * @param {GetEmailIdentityRequest} req
229
- * @param {function(string, GetEmailIdentityResponse):void} cb
214
+ * This API is used to create a TEXT or HTML email template. To create an HTML template, ensure that it does not include external CSS files. You can use {{variable name}} to specify a variable in the template.
215
+ Note: only an approved template can be used to send emails.
216
+ * @param {CreateEmailTemplateRequest} req
217
+ * @param {function(string, CreateEmailTemplateResponse):void} cb
230
218
  * @public
231
219
  */
232
- GetEmailIdentity(req, cb) {
233
- let resp = new GetEmailIdentityResponse();
234
- this.request("GetEmailIdentity", req, resp, cb);
220
+ CreateEmailTemplate(req, cb) {
221
+ let resp = new CreateEmailTemplateResponse();
222
+ this.request("CreateEmailTemplate", req, resp, cb);
223
+ }
224
+
225
+ /**
226
+ * This API is used to send a TEXT or HTML email to multiple recipients at a time for marketing or notification purposes. By default, you can send emails using a template only. To send custom content, please contact your sales rep to enable this feature. You need to create a recipient group with email addresses first and then send emails by group ID. SES supports scheduled and recurring email sending tasks. You need to pass in `TimedParam` for a scheduled task and `CycleParam` for a recurring one.
227
+ * @param {BatchSendEmailRequest} req
228
+ * @param {function(string, BatchSendEmailResponse):void} cb
229
+ * @public
230
+ */
231
+ BatchSendEmail(req, cb) {
232
+ let resp = new BatchSendEmailResponse();
233
+ this.request("BatchSendEmail", req, resp, cb);
234
+ }
235
+
236
+ /**
237
+ * This API is used to delete an email template.
238
+ * @param {DeleteEmailTemplateRequest} req
239
+ * @param {function(string, DeleteEmailTemplateResponse):void} cb
240
+ * @public
241
+ */
242
+ DeleteEmailTemplate(req, cb) {
243
+ let resp = new DeleteEmailTemplateResponse();
244
+ this.request("DeleteEmailTemplate", req, resp, cb);
235
245
  }
236
246
 
237
247
  /**
@@ -246,36 +256,80 @@ Note: only an approved template can be used to send emails.
246
256
  }
247
257
 
248
258
  /**
249
- * This API is used to verify whether your DNS configuration is correct.
250
- * @param {UpdateEmailIdentityRequest} req
251
- * @param {function(string, UpdateEmailIdentityResponse):void} cb
259
+ * This API is used to query batch email sending tasks (including immediate, scheduled, and recurring tasks) by page. You can query task data including the number of emails requested to be sent, the number of sent emails, the number of cached emails, and task status.
260
+ * @param {ListSendTasksRequest} req
261
+ * @param {function(string, ListSendTasksResponse):void} cb
252
262
  * @public
253
263
  */
254
- UpdateEmailIdentity(req, cb) {
255
- let resp = new UpdateEmailIdentityResponse();
256
- this.request("UpdateEmailIdentity", req, resp, cb);
264
+ ListSendTasks(req, cb) {
265
+ let resp = new ListSendTasksResponse();
266
+ this.request("ListSendTasks", req, resp, cb);
257
267
  }
258
268
 
259
269
  /**
260
- * This API is used to get the details of a template.
261
- * @param {GetEmailTemplateRequest} req
262
- * @param {function(string, GetEmailTemplateResponse):void} cb
270
+ * This API is used to create a sender domain. Before you can send an email using Tencent Cloud SES, you must create a sender domain as your identity. It can be the domain of your website or mobile app. You must verify the domain to prove that you own it and authorize Tencent Cloud SES to use it to send emails.
271
+ * @param {CreateEmailIdentityRequest} req
272
+ * @param {function(string, CreateEmailIdentityResponse):void} cb
263
273
  * @public
264
274
  */
265
- GetEmailTemplate(req, cb) {
266
- let resp = new GetEmailTemplateResponse();
267
- this.request("GetEmailTemplate", req, resp, cb);
275
+ CreateEmailIdentity(req, cb) {
276
+ let resp = new CreateEmailIdentityResponse();
277
+ this.request("CreateEmailIdentity", req, resp, cb);
268
278
  }
269
279
 
270
280
  /**
271
- * This API is used to delete a sender domain. After deleted, the sender domain can no longer be used to send emails.
272
- * @param {DeleteEmailIdentityRequest} req
273
- * @param {function(string, DeleteEmailIdentityResponse):void} cb
281
+ * This API is used to unblocklist email addresses. If you confirm that a blocklisted recipient address is valid and active, you can remove it from Tencent Cloud’s address blocklist database.
282
+ * @param {DeleteBlackListRequest} req
283
+ * @param {function(string, DeleteBlackListResponse):void} cb
274
284
  * @public
275
285
  */
276
- DeleteEmailIdentity(req, cb) {
277
- let resp = new DeleteEmailIdentityResponse();
278
- this.request("DeleteEmailIdentity", req, resp, cb);
286
+ DeleteBlackList(req, cb) {
287
+ let resp = new DeleteBlackListResponse();
288
+ this.request("DeleteBlackList", req, resp, cb);
289
+ }
290
+
291
+ /**
292
+ * This API is used to send a TEXT or HTML email triggered for authentication or transaction. By default, you can send emails using a template only. To send custom content, please contact your sales rep to enable this feature.
293
+ * @param {SendEmailRequest} req
294
+ * @param {function(string, SendEmailResponse):void} cb
295
+ * @public
296
+ */
297
+ SendEmail(req, cb) {
298
+ let resp = new SendEmailResponse();
299
+ this.request("SendEmail", req, resp, cb);
300
+ }
301
+
302
+ /**
303
+ * The API is used to get blocklisted addresses. In the case of a hard bounce, Tencent Cloud will blocklist the recipient address and do not allow any user to send emails to this address. If you confirm that this is a misjudgment, you can remove it from the blocklist.
304
+ * @param {ListBlackEmailAddressRequest} req
305
+ * @param {function(string, ListBlackEmailAddressResponse):void} cb
306
+ * @public
307
+ */
308
+ ListBlackEmailAddress(req, cb) {
309
+ let resp = new ListBlackEmailAddressResponse();
310
+ this.request("ListBlackEmailAddress", req, resp, cb);
311
+ }
312
+
313
+ /**
314
+ * This API is used to add recipient email addresses (up to 100,000 at a time) to a recipient group. This will be processed asynchronously. You can upload recipient email addresses only once. If the data volume is large, it may take some time to upload. You can check the recipient group to learn the upload status and upload quantity.
315
+ * @param {CreateReceiverDetailRequest} req
316
+ * @param {function(string, CreateReceiverDetailResponse):void} cb
317
+ * @public
318
+ */
319
+ CreateReceiverDetail(req, cb) {
320
+ let resp = new CreateReceiverDetailResponse();
321
+ this.request("CreateReceiverDetail", req, resp, cb);
322
+ }
323
+
324
+ /**
325
+ * This API is used to query recipient groups. It supports pagination, fuzzy query, and query by status.
326
+ * @param {ListReceiversRequest} req
327
+ * @param {function(string, ListReceiversResponse):void} cb
328
+ * @public
329
+ */
330
+ ListReceivers(req, cb) {
331
+ let resp = new ListReceiversResponse();
332
+ this.request("ListReceivers", req, resp, cb);
279
333
  }
280
334
 
281
335
  /**
@@ -200,8 +200,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
200
200
  this.ResourceID = null;
201
201
 
202
202
  /**
203
- * Whether to enable rotation. True: yes; False: no.
204
- Note: this field may return null, indicating that no valid values can be obtained.
203
+ * Whether to enable rotation. `True`: enable rotation; `False`: disable rotation.
204
+ Note: this field may return `null`, indicating that no valid values can be obtained.
205
205
  * @type {boolean || null}
206
206
  */
207
207
  this.RotationStatus = null;
@@ -234,6 +234,13 @@ Note: this field may return null, indicating that no valid values can be obtaine
234
234
  */
235
235
  this.AssociatedInstanceIDs = null;
236
236
 
237
+ /**
238
+ * UIN of the Tencent Cloud API key. This field is valid when the secret type is Tencent Cloud API key secret.
239
+ Note: this field may return null, indicating that no valid values can be obtained.
240
+ * @type {number || null}
241
+ */
242
+ this.TargetUin = null;
243
+
237
244
  /**
238
245
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
239
246
  * @type {string || null}
@@ -264,6 +271,7 @@ Note: this field may return null, indicating that no valid values can be obtaine
264
271
  this.ResourceName = 'ResourceName' in params ? params.ResourceName : null;
265
272
  this.ProjectID = 'ProjectID' in params ? params.ProjectID : null;
266
273
  this.AssociatedInstanceIDs = 'AssociatedInstanceIDs' in params ? params.AssociatedInstanceIDs : null;
274
+ this.TargetUin = 'TargetUin' in params ? params.TargetUin : null;
267
275
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
268
276
 
269
277
  }
@@ -851,8 +859,11 @@ Note: this field may return null, indicating that no valid values can be obtaine
851
859
  this.NextRotationTime = null;
852
860
 
853
861
  /**
854
- * 0: user-defined credential; 1: Tencent Cloud service credential.
855
- Note: this field may return null, indicating that no valid values can be obtained.
862
+ * `0`: user-defined secret.
863
+ `1`: Tencent Cloud services secret.
864
+ `2`: SSH key secret.
865
+ `3`: Tencent Cloud API key secret.
866
+ Note: this field may return `null`, indicating that no valid values can be obtained.
856
867
  * @type {number || null}
857
868
  */
858
869
  this.SecretType = null;
@@ -885,6 +896,13 @@ Note: this field may return `null`, indicating that no valid values can be obtai
885
896
  */
886
897
  this.AssociatedInstanceIDs = null;
887
898
 
899
+ /**
900
+ * UIN of the Tencent Cloud API key. This field is valid when the secret type is Tencent Cloud API key secret.
901
+ Note: this field may return `null`, indicating that no valid values can be obtained.
902
+ * @type {number || null}
903
+ */
904
+ this.TargetUin = null;
905
+
888
906
  }
889
907
 
890
908
  /**
@@ -909,6 +927,7 @@ Note: this field may return `null`, indicating that no valid values can be obtai
909
927
  this.ResourceName = 'ResourceName' in params ? params.ResourceName : null;
910
928
  this.ProjectID = 'ProjectID' in params ? params.ProjectID : null;
911
929
  this.AssociatedInstanceIDs = 'AssociatedInstanceIDs' in params ? params.AssociatedInstanceIDs : null;
930
+ this.TargetUin = 'TargetUin' in params ? params.TargetUin : null;
912
931
 
913
932
  }
914
933
  }
@@ -1308,6 +1327,7 @@ The `PendingCreate` and `CreateFailed` status only take effect when `SecretType`
1308
1327
  * `0` (default): user-defined secret.
1309
1328
  `1`: Tencent Cloud services secret.
1310
1329
  `2`: SSH key secret.
1330
+ `3`: Tencent Cloud API key secret.
1311
1331
  * @type {number || null}
1312
1332
  */
1313
1333
  this.SecretType = null;
@@ -1668,7 +1688,7 @@ class RotateProductSecretResponse extends AbstractModel {
1668
1688
  super();
1669
1689
 
1670
1690
  /**
1671
- * Async rotation task ID.
1691
+ * Asynchronous rotation task ID. This field is valid when `SecretType` is `1` (i.e., the secret type is Tencent Cloud services secret, such as MySQL/TDSQL credentials).
1672
1692
  * @type {number || null}
1673
1693
  */
1674
1694
  this.FlowID = null;
@@ -1981,6 +2001,13 @@ class GetServiceStatusResponse extends AbstractModel {
1981
2001
  */
1982
2002
  this.InvalidType = null;
1983
2003
 
2004
+ /**
2005
+ * `true`: allow SSM to manage Tencent Cloud API key secrets.
2006
+ `false`: forbid SSM to manage Tencent Cloud API key secrets.
2007
+ * @type {boolean || null}
2008
+ */
2009
+ this.AccessKeyEscrowEnabled = null;
2010
+
1984
2011
  /**
1985
2012
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
1986
2013
  * @type {string || null}
@@ -1998,6 +2025,7 @@ class GetServiceStatusResponse extends AbstractModel {
1998
2025
  }
1999
2026
  this.ServiceEnabled = 'ServiceEnabled' in params ? params.ServiceEnabled : null;
2000
2027
  this.InvalidType = 'InvalidType' in params ? params.InvalidType : null;
2028
+ this.AccessKeyEscrowEnabled = 'AccessKeyEscrowEnabled' in params ? params.AccessKeyEscrowEnabled : null;
2001
2029
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
2002
2030
 
2003
2031
  }
@@ -94,7 +94,8 @@ This API is only applicable to Tencent Cloud service credentials.
94
94
  }
95
95
 
96
96
  /**
97
- * This API is used to rotate a Tencent Cloud service credential. It is only applicable to Tencent Cloud service credentials in `Enabled` status but not Tencent Cloud service credentials in other status or user-defined credentials.
97
+ * This API is used to rotate secrets for Tencent Cloud services or Tencent Cloud API key pairs.
98
+ Note that only the secrets with the "Enabled" status can be rotated.
98
99
  * @param {RotateProductSecretRequest} req
99
100
  * @param {function(string, RotateProductSecretResponse):void} cb
100
101
  * @public