tencentcloud-sdk-nodejs-intl-en 3.0.366 → 3.0.370

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.
Files changed (27) hide show
  1. package/package.json +1 -1
  2. package/tencentcloud/apigateway/v20180808/apigateway_client.js +3 -2
  3. package/tencentcloud/apigateway/v20180808/models.js +105 -41
  4. package/tencentcloud/billing/v20180709/models.js +12 -11
  5. package/tencentcloud/cam/v20190116/cam_client.js +16 -1
  6. package/tencentcloud/cam/v20190116/models.js +264 -17
  7. package/tencentcloud/cbs/v20170312/models.js +15 -1
  8. package/tencentcloud/cdb/v20170320/cdb_client.js +1 -1
  9. package/tencentcloud/cdb/v20170320/models.js +21 -0
  10. package/tencentcloud/cdn/v20180606/models.js +54 -3
  11. package/tencentcloud/ckafka/v20190819/models.js +41 -3
  12. package/tencentcloud/common/sdk_version.js +1 -1
  13. package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +30 -4
  14. package/tencentcloud/dbbrain/v20210527/models.js +309 -116
  15. package/tencentcloud/dcdb/v20180411/dcdb_client.js +14 -0
  16. package/tencentcloud/dcdb/v20180411/models.js +144 -7
  17. package/tencentcloud/emr/v20190103/emr_client.js +2 -0
  18. package/tencentcloud/emr/v20190103/models.js +109 -0
  19. package/tencentcloud/gaap/v20180529/gaap_client.js +1 -1
  20. package/tencentcloud/gaap/v20180529/models.js +50 -6
  21. package/tencentcloud/live/v20180801/live_client.js +29 -11
  22. package/tencentcloud/live/v20180801/models.js +200 -24
  23. package/tencentcloud/redis/v20180412/models.js +7 -0
  24. package/tencentcloud/redis/v20180412/redis_client.js +1 -1
  25. package/tencentcloud/ses/v20201002/models.js +610 -29
  26. package/tencentcloud/ses/v20201002/ses_client.js +157 -103
  27. package/tencentcloud/tke/v20180525/models.js +61 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.366",
3
+ "version": "3.0.370",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -90,6 +90,7 @@ const DescribeIPStrategyApisStatusRequest = models.DescribeIPStrategyApisStatusR
90
90
  const UnBindEnvironmentRequest = models.UnBindEnvironmentRequest;
91
91
  const OauthConfig = models.OauthConfig;
92
92
  const ModifyApiEnvironmentStrategyRequest = models.ModifyApiEnvironmentStrategyRequest;
93
+ const ServiceReleaseHistory = models.ServiceReleaseHistory;
93
94
  const ModifyUsagePlanResponse = models.ModifyUsagePlanResponse;
94
95
  const CreateUsagePlanResponse = models.CreateUsagePlanResponse;
95
96
  const ReqParameter = models.ReqParameter;
@@ -108,8 +109,8 @@ const ResponseErrorCodeReq = models.ResponseErrorCodeReq;
108
109
  const CreateServiceRequest = models.CreateServiceRequest;
109
110
  const DescribeIPStrategysStatusRequest = models.DescribeIPStrategysStatusRequest;
110
111
  const DemoteServiceUsagePlanResponse = models.DemoteServiceUsagePlanResponse;
112
+ const DescribePluginApisResponse = models.DescribePluginApisResponse;
111
113
  const EnableApiKeyResponse = models.EnableApiKeyResponse;
112
- const ServiceReleaseHistory = models.ServiceReleaseHistory;
113
114
  const DeleteApiAppRequest = models.DeleteApiAppRequest;
114
115
  const UnReleaseServiceResponse = models.UnReleaseServiceResponse;
115
116
  const CreateAPIDocResponse = models.CreateAPIDocResponse;
@@ -151,7 +152,7 @@ const ServiceReleaseHistoryInfo = models.ServiceReleaseHistoryInfo;
151
152
  const CreatePluginResponse = models.CreatePluginResponse;
152
153
  const ReleaseServiceResponse = models.ReleaseServiceResponse;
153
154
  const APIDocInfo = models.APIDocInfo;
154
- const DescribePluginApisResponse = models.DescribePluginApisResponse;
155
+ const CosConfig = models.CosConfig;
155
156
  const ModifyApiIncrementRequest = models.ModifyApiIncrementRequest;
156
157
  const GenerateApiDocumentRequest = models.GenerateApiDocumentRequest;
157
158
  const ServiceUsagePlanSet = models.ServiceUsagePlanSet;
@@ -2642,6 +2642,13 @@ class ServiceConfig extends AbstractModel {
2642
2642
  */
2643
2643
  this.Method = null;
2644
2644
 
2645
+ /**
2646
+ * API backend COS configuration. It’s required if the `ServiceType` is ·`COS`.
2647
+ Note: this field may return `null`, indicating that no valid values can be obtained.
2648
+ * @type {CosConfig || null}
2649
+ */
2650
+ this.CosConfig = null;
2651
+
2645
2652
  }
2646
2653
 
2647
2654
  /**
@@ -2657,6 +2664,12 @@ class ServiceConfig extends AbstractModel {
2657
2664
  this.Path = 'Path' in params ? params.Path : null;
2658
2665
  this.Method = 'Method' in params ? params.Method : null;
2659
2666
 
2667
+ if (params.CosConfig) {
2668
+ let obj = new CosConfig();
2669
+ obj.deserialize(params.CosConfig)
2670
+ this.CosConfig = obj;
2671
+ }
2672
+
2660
2673
  }
2661
2674
  }
2662
2675
 
@@ -4382,6 +4395,51 @@ class ModifyApiEnvironmentStrategyRequest extends AbstractModel {
4382
4395
  }
4383
4396
  }
4384
4397
 
4398
+ /**
4399
+ * Service release history
4400
+ * @class
4401
+ */
4402
+ class ServiceReleaseHistory extends AbstractModel {
4403
+ constructor(){
4404
+ super();
4405
+
4406
+ /**
4407
+ * Total number of published versions.
4408
+ Note: this field may return null, indicating that no valid values can be obtained.
4409
+ * @type {number || null}
4410
+ */
4411
+ this.TotalCount = null;
4412
+
4413
+ /**
4414
+ * Historical version list.
4415
+ Note: this field may return null, indicating that no valid values can be obtained.
4416
+ * @type {Array.<ServiceReleaseHistoryInfo> || null}
4417
+ */
4418
+ this.VersionList = null;
4419
+
4420
+ }
4421
+
4422
+ /**
4423
+ * @private
4424
+ */
4425
+ deserialize(params) {
4426
+ if (!params) {
4427
+ return;
4428
+ }
4429
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
4430
+
4431
+ if (params.VersionList) {
4432
+ this.VersionList = new Array();
4433
+ for (let z in params.VersionList) {
4434
+ let obj = new ServiceReleaseHistoryInfo();
4435
+ obj.deserialize(params.VersionList[z]);
4436
+ this.VersionList.push(obj);
4437
+ }
4438
+ }
4439
+
4440
+ }
4441
+ }
4442
+
4385
4443
  /**
4386
4444
  * ModifyUsagePlan response structure.
4387
4445
  * @class
@@ -5280,17 +5338,16 @@ Note: this field may return null, indicating that no valid values can be obtaine
5280
5338
  }
5281
5339
 
5282
5340
  /**
5283
- * EnableApiKey response structure.
5341
+ * DescribePluginApis response structure.
5284
5342
  * @class
5285
5343
  */
5286
- class EnableApiKeyResponse extends AbstractModel {
5344
+ class DescribePluginApisResponse extends AbstractModel {
5287
5345
  constructor(){
5288
5346
  super();
5289
5347
 
5290
5348
  /**
5291
- * Whether the key is successfully enabled.
5292
- Note: this field may return null, indicating that no valid values can be obtained.
5293
- * @type {boolean || null}
5349
+ * List of APIs bound with the plugin
5350
+ * @type {AttachedApiSummary || null}
5294
5351
  */
5295
5352
  this.Result = null;
5296
5353
 
@@ -5309,33 +5366,37 @@ Note: this field may return null, indicating that no valid values can be obtaine
5309
5366
  if (!params) {
5310
5367
  return;
5311
5368
  }
5312
- this.Result = 'Result' in params ? params.Result : null;
5369
+
5370
+ if (params.Result) {
5371
+ let obj = new AttachedApiSummary();
5372
+ obj.deserialize(params.Result)
5373
+ this.Result = obj;
5374
+ }
5313
5375
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
5314
5376
 
5315
5377
  }
5316
5378
  }
5317
5379
 
5318
5380
  /**
5319
- * Service release history
5381
+ * EnableApiKey response structure.
5320
5382
  * @class
5321
5383
  */
5322
- class ServiceReleaseHistory extends AbstractModel {
5384
+ class EnableApiKeyResponse extends AbstractModel {
5323
5385
  constructor(){
5324
5386
  super();
5325
5387
 
5326
5388
  /**
5327
- * Total number of published versions.
5389
+ * Whether the key is successfully enabled.
5328
5390
  Note: this field may return null, indicating that no valid values can be obtained.
5329
- * @type {number || null}
5391
+ * @type {boolean || null}
5330
5392
  */
5331
- this.TotalCount = null;
5393
+ this.Result = null;
5332
5394
 
5333
5395
  /**
5334
- * Historical version list.
5335
- Note: this field may return null, indicating that no valid values can be obtained.
5336
- * @type {Array.<ServiceReleaseHistoryInfo> || null}
5396
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
5397
+ * @type {string || null}
5337
5398
  */
5338
- this.VersionList = null;
5399
+ this.RequestId = null;
5339
5400
 
5340
5401
  }
5341
5402
 
@@ -5346,16 +5407,8 @@ Note: this field may return null, indicating that no valid values can be obtaine
5346
5407
  if (!params) {
5347
5408
  return;
5348
5409
  }
5349
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
5350
-
5351
- if (params.VersionList) {
5352
- this.VersionList = new Array();
5353
- for (let z in params.VersionList) {
5354
- let obj = new ServiceReleaseHistoryInfo();
5355
- obj.deserialize(params.VersionList[z]);
5356
- this.VersionList.push(obj);
5357
- }
5358
- }
5410
+ this.Result = 'Result' in params ? params.Result : null;
5411
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
5359
5412
 
5360
5413
  }
5361
5414
  }
@@ -8118,24 +8171,38 @@ class APIDocInfo extends AbstractModel {
8118
8171
  }
8119
8172
 
8120
8173
  /**
8121
- * DescribePluginApis response structure.
8174
+ * COS-type API configuration
8122
8175
  * @class
8123
8176
  */
8124
- class DescribePluginApisResponse extends AbstractModel {
8177
+ class CosConfig extends AbstractModel {
8125
8178
  constructor(){
8126
8179
  super();
8127
8180
 
8128
8181
  /**
8129
- * List of APIs bound with the plugin
8130
- * @type {AttachedApiSummary || null}
8182
+ * Specifies how the backend COS bucket is called by the API. The frontend request method and Action can be:
8183
+ GET:GetObject
8184
+ PUT:PutObject
8185
+ POST:PostObject、AppendObject
8186
+ HEAD: HeadObject
8187
+ DELETE: DeleteObject
8188
+ Note: this field may return `null`, indicating that no valid values can be obtained.
8189
+ * @type {string || null}
8131
8190
  */
8132
- this.Result = null;
8191
+ this.Action = null;
8133
8192
 
8134
8193
  /**
8135
- * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
8194
+ * Backend COS bucket of the API
8195
+ Note: this field may return `null`, indicating that no valid values can be obtained.
8136
8196
  * @type {string || null}
8137
8197
  */
8138
- this.RequestId = null;
8198
+ this.BucketName = null;
8199
+
8200
+ /**
8201
+ * Whether to enable the backend COS signature for the API. It defaults to `false`.
8202
+ Note: this field may return `null`, indicating that no valid values can be obtained.
8203
+ * @type {boolean || null}
8204
+ */
8205
+ this.Authorization = null;
8139
8206
 
8140
8207
  }
8141
8208
 
@@ -8146,13 +8213,9 @@ class DescribePluginApisResponse extends AbstractModel {
8146
8213
  if (!params) {
8147
8214
  return;
8148
8215
  }
8149
-
8150
- if (params.Result) {
8151
- let obj = new AttachedApiSummary();
8152
- obj.deserialize(params.Result)
8153
- this.Result = obj;
8154
- }
8155
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
8216
+ this.Action = 'Action' in params ? params.Action : null;
8217
+ this.BucketName = 'BucketName' in params ? params.BucketName : null;
8218
+ this.Authorization = 'Authorization' in params ? params.Authorization : null;
8156
8219
 
8157
8220
  }
8158
8221
  }
@@ -13366,6 +13429,7 @@ module.exports = {
13366
13429
  UnBindEnvironmentRequest: UnBindEnvironmentRequest,
13367
13430
  OauthConfig: OauthConfig,
13368
13431
  ModifyApiEnvironmentStrategyRequest: ModifyApiEnvironmentStrategyRequest,
13432
+ ServiceReleaseHistory: ServiceReleaseHistory,
13369
13433
  ModifyUsagePlanResponse: ModifyUsagePlanResponse,
13370
13434
  CreateUsagePlanResponse: CreateUsagePlanResponse,
13371
13435
  ReqParameter: ReqParameter,
@@ -13384,8 +13448,8 @@ module.exports = {
13384
13448
  CreateServiceRequest: CreateServiceRequest,
13385
13449
  DescribeIPStrategysStatusRequest: DescribeIPStrategysStatusRequest,
13386
13450
  DemoteServiceUsagePlanResponse: DemoteServiceUsagePlanResponse,
13451
+ DescribePluginApisResponse: DescribePluginApisResponse,
13387
13452
  EnableApiKeyResponse: EnableApiKeyResponse,
13388
- ServiceReleaseHistory: ServiceReleaseHistory,
13389
13453
  DeleteApiAppRequest: DeleteApiAppRequest,
13390
13454
  UnReleaseServiceResponse: UnReleaseServiceResponse,
13391
13455
  CreateAPIDocResponse: CreateAPIDocResponse,
@@ -13427,7 +13491,7 @@ module.exports = {
13427
13491
  CreatePluginResponse: CreatePluginResponse,
13428
13492
  ReleaseServiceResponse: ReleaseServiceResponse,
13429
13493
  APIDocInfo: APIDocInfo,
13430
- DescribePluginApisResponse: DescribePluginApisResponse,
13494
+ CosConfig: CosConfig,
13431
13495
  ModifyApiIncrementRequest: ModifyApiIncrementRequest,
13432
13496
  GenerateApiDocumentRequest: GenerateApiDocumentRequest,
13433
13497
  ServiceUsagePlanSet: ServiceUsagePlanSet,
@@ -146,7 +146,7 @@ class BillResourceSummary extends AbstractModel {
146
146
  this.BusinessCodeName = null;
147
147
 
148
148
  /**
149
- * Sub-product name: sub-categories of Tencent Cloud services, such as CVM-Standard S1; if no subproduct name is obtained, '-' is returned.
149
+ * Subproduct name, which is the subcategory of a Tencent Cloud product, such as CVM-Standard S1. If no subproduct name can be obtained, `-` is returned.
150
150
  * @type {string || null}
151
151
  */
152
152
  this.ProductCodeName = null;
@@ -322,13 +322,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
322
322
  this.OperateUin = null;
323
323
 
324
324
  /**
325
- *
325
+ * Product code
326
326
  * @type {string || null}
327
327
  */
328
328
  this.BusinessCode = null;
329
329
 
330
330
  /**
331
- *
331
+ * Subproduct code
332
332
  * @type {string || null}
333
333
  */
334
334
  this.ProductCode = null;
@@ -701,8 +701,8 @@ Monthly subscription refund
701
701
  this.ProjectId = null;
702
702
 
703
703
  /**
704
- * Business code
705
- Note: To query business codes used in the current month, call <a href="https://intl.cloud.tencent.com/document/product/555/35761?from_cn_redirect=1">DescribeBillSummaryByProduct</a>.
704
+ * Product code
705
+ Note: To query the product codes used in the current month, call <a href="https://intl.cloud.tencent.com/document/product/555/35761?from_cn_redirect=1">DescribeBillSummaryByProduct</a>.
706
706
  * @type {string || null}
707
707
  */
708
708
  this.BusinessCode = null;
@@ -828,7 +828,7 @@ class BusinessSummaryOverviewItem extends AbstractModel {
828
828
 
829
829
  /**
830
830
  * Product code
831
- Note: This field may return null, indicating that no valid value was found.
831
+ Note: This field may return `null`, indicating that no valid value can be found.
832
832
  * @type {string || null}
833
833
  */
834
834
  this.BusinessCode = null;
@@ -1397,8 +1397,8 @@ Monthly subscription refund
1397
1397
  this.PayMode = null;
1398
1398
 
1399
1399
  /**
1400
- * Business code
1401
- Note: To query business codes used in the current month, call <a href="https://intl.cloud.tencent.com/document/product/555/35761?from_cn_redirect=1">DescribeBillSummaryByProduct</a>.
1400
+ * Product code
1401
+ Note: To query the product codes used in the current month, call <a href="https://intl.cloud.tencent.com/document/product/555/35761?from_cn_redirect=1">DescribeBillSummaryByProduct</a>.
1402
1402
  * @type {string || null}
1403
1403
  */
1404
1404
  this.BusinessCode = null;
@@ -1604,20 +1604,21 @@ Note: This field may return null, indicating that no valid values can be obtaine
1604
1604
 
1605
1605
  /**
1606
1606
  * Product code
1607
- Note: this field may return `null`, indicating that no valid values can be obtained.
1607
+ Note: This field may return `null`, indicating that no valid value can be found.
1608
1608
  * @type {string || null}
1609
1609
  */
1610
1610
  this.BusinessCode = null;
1611
1611
 
1612
1612
  /**
1613
1613
  * Subproduct code
1614
- Note: this field may return `null`, indicating that no valid values can be obtained.
1614
+ Note: This field may return `null`, indicating that no valid value can be found.
1615
1615
  * @type {string || null}
1616
1616
  */
1617
1617
  this.ProductCode = null;
1618
1618
 
1619
1619
  /**
1620
- * Transaction type/code (optional)
1620
+ * Transaction type
1621
+ Note: This field may return `null`, indicating that no valid value can be found.
1621
1622
  * @type {string || null}
1622
1623
  */
1623
1624
  this.ActionType = null;
@@ -52,7 +52,7 @@ const ListSAMLProvidersRequest = models.ListSAMLProvidersRequest;
52
52
  const ListGroupsRequest = models.ListGroupsRequest;
53
53
  const DeletePolicyVersionResponse = models.DeletePolicyVersionResponse;
54
54
  const UpdateSAMLProviderRequest = models.UpdateSAMLProviderRequest;
55
- const UpdateAssumeRolePolicyRequest = models.UpdateAssumeRolePolicyRequest;
55
+ const AttachedUserPolicyGroupInfo = models.AttachedUserPolicyGroupInfo;
56
56
  const ListGroupsForUserResponse = models.ListGroupsForUserResponse;
57
57
  const ListUsersForGroupRequest = models.ListUsersForGroupRequest;
58
58
  const RemoveUserFromGroupRequest = models.RemoveUserFromGroupRequest;
@@ -67,6 +67,7 @@ const RoleInfo = models.RoleInfo;
67
67
  const DescribeSafeAuthFlagResponse = models.DescribeSafeAuthFlagResponse;
68
68
  const CreatePolicyVersionRequest = models.CreatePolicyVersionRequest;
69
69
  const SecretIdLastUsed = models.SecretIdLastUsed;
70
+ const ListAttachedUserAllPoliciesResponse = models.ListAttachedUserAllPoliciesResponse;
70
71
  const DeleteGroupRequest = models.DeleteGroupRequest;
71
72
  const GetUserResponse = models.GetUserResponse;
72
73
  const DeleteUserResponse = models.DeleteUserResponse;
@@ -76,6 +77,7 @@ const StrategyInfo = models.StrategyInfo;
76
77
  const DeletePolicyRequest = models.DeletePolicyRequest;
77
78
  const GroupInfo = models.GroupInfo;
78
79
  const AddUserRequest = models.AddUserRequest;
80
+ const UpdateAssumeRolePolicyRequest = models.UpdateAssumeRolePolicyRequest;
79
81
  const LoginActionFlag = models.LoginActionFlag;
80
82
  const DeleteRoleRequest = models.DeleteRoleRequest;
81
83
  const UpdateRoleConsoleLoginRequest = models.UpdateRoleConsoleLoginRequest;
@@ -120,6 +122,7 @@ const ListPoliciesRequest = models.ListPoliciesRequest;
120
122
  const GetServiceLinkedRoleDeletionStatusRequest = models.GetServiceLinkedRoleDeletionStatusRequest;
121
123
  const DetachGroupPolicyResponse = models.DetachGroupPolicyResponse;
122
124
  const CreatePolicyRequest = models.CreatePolicyRequest;
125
+ const ListAttachedUserAllPoliciesRequest = models.ListAttachedUserAllPoliciesRequest;
123
126
  const DeletePolicyVersionRequest = models.DeletePolicyVersionRequest;
124
127
  const CreateUserSAMLConfigRequest = models.CreateUserSAMLConfigRequest;
125
128
  const UpdateGroupRequest = models.UpdateGroupRequest;
@@ -143,6 +146,7 @@ const GetSAMLProviderRequest = models.GetSAMLProviderRequest;
143
146
  const DetachUserPolicyResponse = models.DetachUserPolicyResponse;
144
147
  const GetRoleResponse = models.GetRoleResponse;
145
148
  const CreateRoleRequest = models.CreateRoleRequest;
149
+ const AttachedUserPolicy = models.AttachedUserPolicy;
146
150
  const DeleteServiceLinkedRoleResponse = models.DeleteServiceLinkedRoleResponse;
147
151
  const GetPolicyResponse = models.GetPolicyResponse;
148
152
  const DescribeSafeAuthFlagRequest = models.DescribeSafeAuthFlagRequest;
@@ -577,6 +581,17 @@ class CamClient extends AbstractClient {
577
581
  this.request("UpdateAssumeRolePolicy", req, resp, cb);
578
582
  }
579
583
 
584
+ /**
585
+ * This API is used to list policies associated with the user (including those inherited from the user group).
586
+ * @param {ListAttachedUserAllPoliciesRequest} req
587
+ * @param {function(string, ListAttachedUserAllPoliciesResponse):void} cb
588
+ * @public
589
+ */
590
+ ListAttachedUserAllPolicies(req, cb) {
591
+ let resp = new ListAttachedUserAllPoliciesResponse();
592
+ this.request("ListAttachedUserAllPolicies", req, resp, cb);
593
+ }
594
+
580
595
  /**
581
596
  * This API is used to create user SAML configurations.
582
597
  * @param {CreateUserSAMLConfigRequest} req