tencentcloud-sdk-nodejs-intl-en 3.0.1469 → 3.0.1470
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
|
@@ -124,6 +124,7 @@ const UpdateRoleConsoleLoginResponse = models.UpdateRoleConsoleLoginResponse;
|
|
|
124
124
|
const AttachRolePolicyRequest = models.AttachRolePolicyRequest;
|
|
125
125
|
const GetPasswordRulesResponse = models.GetPasswordRulesResponse;
|
|
126
126
|
const ConsumeCustomMFATokenResponse = models.ConsumeCustomMFATokenResponse;
|
|
127
|
+
const GenerateOIDCAccessTokenResponse = models.GenerateOIDCAccessTokenResponse;
|
|
127
128
|
const AttachUserPolicyRequest = models.AttachUserPolicyRequest;
|
|
128
129
|
const ListAttachedGroupPoliciesResponse = models.ListAttachedGroupPoliciesResponse;
|
|
129
130
|
const ListAttachedUserPoliciesResponse = models.ListAttachedUserPoliciesResponse;
|
|
@@ -153,6 +154,7 @@ const GetServiceLinkedRoleDeletionStatusRequest = models.GetServiceLinkedRoleDel
|
|
|
153
154
|
const DetachGroupPolicyResponse = models.DetachGroupPolicyResponse;
|
|
154
155
|
const GroupMemberInfo = models.GroupMemberInfo;
|
|
155
156
|
const CreatePolicyRequest = models.CreatePolicyRequest;
|
|
157
|
+
const GenerateOIDCAccessTokenRequest = models.GenerateOIDCAccessTokenRequest;
|
|
156
158
|
const ListAttachedUserAllPoliciesRequest = models.ListAttachedUserAllPoliciesRequest;
|
|
157
159
|
const DeletePolicyVersionRequest = models.DeletePolicyVersionRequest;
|
|
158
160
|
const CreateUserSAMLConfigRequest = models.CreateUserSAMLConfigRequest;
|
|
@@ -706,6 +708,17 @@ class CamClient extends AbstractClient {
|
|
|
706
708
|
this.request("UpdateAssumeRolePolicy", req, resp, cb);
|
|
707
709
|
}
|
|
708
710
|
|
|
711
|
+
/**
|
|
712
|
+
* This API is used to update a user group.
|
|
713
|
+
* @param {UpdateGroupRequest} req
|
|
714
|
+
* @param {function(string, UpdateGroupResponse):void} cb
|
|
715
|
+
* @public
|
|
716
|
+
*/
|
|
717
|
+
UpdateGroup(req, cb) {
|
|
718
|
+
let resp = new UpdateGroupResponse();
|
|
719
|
+
this.request("UpdateGroup", req, resp, cb);
|
|
720
|
+
}
|
|
721
|
+
|
|
709
722
|
/**
|
|
710
723
|
* This API is used to update an access key for a CAM user.
|
|
711
724
|
* @param {UpdateAccessKeyRequest} req
|
|
@@ -839,14 +852,14 @@ class CamClient extends AbstractClient {
|
|
|
839
852
|
}
|
|
840
853
|
|
|
841
854
|
/**
|
|
842
|
-
* This
|
|
843
|
-
* @param {
|
|
844
|
-
* @param {function(string,
|
|
855
|
+
* Generate an OIDC access token. This feature is in grayscale stage. Contact Tencent Cloud if needed.
|
|
856
|
+
* @param {GenerateOIDCAccessTokenRequest} req
|
|
857
|
+
* @param {function(string, GenerateOIDCAccessTokenResponse):void} cb
|
|
845
858
|
* @public
|
|
846
859
|
*/
|
|
847
|
-
|
|
848
|
-
let resp = new
|
|
849
|
-
this.request("
|
|
860
|
+
GenerateOIDCAccessToken(req, cb) {
|
|
861
|
+
let resp = new GenerateOIDCAccessTokenResponse();
|
|
862
|
+
this.request("GenerateOIDCAccessToken", req, resp, cb);
|
|
850
863
|
}
|
|
851
864
|
|
|
852
865
|
/**
|
|
@@ -4660,6 +4660,41 @@ class ConsumeCustomMFATokenResponse extends AbstractModel {
|
|
|
4660
4660
|
}
|
|
4661
4661
|
}
|
|
4662
4662
|
|
|
4663
|
+
/**
|
|
4664
|
+
* GenerateOIDCAccessToken response structure.
|
|
4665
|
+
* @class
|
|
4666
|
+
*/
|
|
4667
|
+
class GenerateOIDCAccessTokenResponse extends AbstractModel {
|
|
4668
|
+
constructor(){
|
|
4669
|
+
super();
|
|
4670
|
+
|
|
4671
|
+
/**
|
|
4672
|
+
* <p>token generated by the OIDC protocol</p>
|
|
4673
|
+
* @type {string || null}
|
|
4674
|
+
*/
|
|
4675
|
+
this.IdToken = null;
|
|
4676
|
+
|
|
4677
|
+
/**
|
|
4678
|
+
* 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.
|
|
4679
|
+
* @type {string || null}
|
|
4680
|
+
*/
|
|
4681
|
+
this.RequestId = null;
|
|
4682
|
+
|
|
4683
|
+
}
|
|
4684
|
+
|
|
4685
|
+
/**
|
|
4686
|
+
* @private
|
|
4687
|
+
*/
|
|
4688
|
+
deserialize(params) {
|
|
4689
|
+
if (!params) {
|
|
4690
|
+
return;
|
|
4691
|
+
}
|
|
4692
|
+
this.IdToken = 'IdToken' in params ? params.IdToken : null;
|
|
4693
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4694
|
+
|
|
4695
|
+
}
|
|
4696
|
+
}
|
|
4697
|
+
|
|
4663
4698
|
/**
|
|
4664
4699
|
* AttachUserPolicy request structure.
|
|
4665
4700
|
* @class
|
|
@@ -5970,6 +6005,41 @@ class CreatePolicyRequest extends AbstractModel {
|
|
|
5970
6005
|
}
|
|
5971
6006
|
}
|
|
5972
6007
|
|
|
6008
|
+
/**
|
|
6009
|
+
* GenerateOIDCAccessToken request structure.
|
|
6010
|
+
* @class
|
|
6011
|
+
*/
|
|
6012
|
+
class GenerateOIDCAccessTokenRequest extends AbstractModel {
|
|
6013
|
+
constructor(){
|
|
6014
|
+
super();
|
|
6015
|
+
|
|
6016
|
+
/**
|
|
6017
|
+
* <p>Client ID</p>
|
|
6018
|
+
* @type {string || null}
|
|
6019
|
+
*/
|
|
6020
|
+
this.ClientId = null;
|
|
6021
|
+
|
|
6022
|
+
/**
|
|
6023
|
+
* <p>Resource ID</p>
|
|
6024
|
+
* @type {string || null}
|
|
6025
|
+
*/
|
|
6026
|
+
this.ResourceId = null;
|
|
6027
|
+
|
|
6028
|
+
}
|
|
6029
|
+
|
|
6030
|
+
/**
|
|
6031
|
+
* @private
|
|
6032
|
+
*/
|
|
6033
|
+
deserialize(params) {
|
|
6034
|
+
if (!params) {
|
|
6035
|
+
return;
|
|
6036
|
+
}
|
|
6037
|
+
this.ClientId = 'ClientId' in params ? params.ClientId : null;
|
|
6038
|
+
this.ResourceId = 'ResourceId' in params ? params.ResourceId : null;
|
|
6039
|
+
|
|
6040
|
+
}
|
|
6041
|
+
}
|
|
6042
|
+
|
|
5973
6043
|
/**
|
|
5974
6044
|
* ListAttachedUserAllPolicies request structure.
|
|
5975
6045
|
* @class
|
|
@@ -8593,6 +8663,7 @@ module.exports = {
|
|
|
8593
8663
|
AttachRolePolicyRequest: AttachRolePolicyRequest,
|
|
8594
8664
|
GetPasswordRulesResponse: GetPasswordRulesResponse,
|
|
8595
8665
|
ConsumeCustomMFATokenResponse: ConsumeCustomMFATokenResponse,
|
|
8666
|
+
GenerateOIDCAccessTokenResponse: GenerateOIDCAccessTokenResponse,
|
|
8596
8667
|
AttachUserPolicyRequest: AttachUserPolicyRequest,
|
|
8597
8668
|
ListAttachedGroupPoliciesResponse: ListAttachedGroupPoliciesResponse,
|
|
8598
8669
|
ListAttachedUserPoliciesResponse: ListAttachedUserPoliciesResponse,
|
|
@@ -8622,6 +8693,7 @@ module.exports = {
|
|
|
8622
8693
|
DetachGroupPolicyResponse: DetachGroupPolicyResponse,
|
|
8623
8694
|
GroupMemberInfo: GroupMemberInfo,
|
|
8624
8695
|
CreatePolicyRequest: CreatePolicyRequest,
|
|
8696
|
+
GenerateOIDCAccessTokenRequest: GenerateOIDCAccessTokenRequest,
|
|
8625
8697
|
ListAttachedUserAllPoliciesRequest: ListAttachedUserAllPoliciesRequest,
|
|
8626
8698
|
DeletePolicyVersionRequest: DeletePolicyVersionRequest,
|
|
8627
8699
|
CreateUserSAMLConfigRequest: CreateUserSAMLConfigRequest,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1470";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -17111,12 +17111,6 @@ class UpdateAigcApiTokenRequest extends AbstractModel {
|
|
|
17111
17111
|
constructor(){
|
|
17112
17112
|
super();
|
|
17113
17113
|
|
|
17114
|
-
/**
|
|
17115
|
-
* <p><b>Video-on-demand <a href="https://www.tencentcloud.com/document/product/266/14574?from_cn_redirect=1">application</a> ID. For customers who activate on-demand services after December 25, 2023, this field must be filled in as the app ID when accessing resources in on-demand applications (whether the default application or a newly created application).</b></p>
|
|
17116
|
-
* @type {number || null}
|
|
17117
|
-
*/
|
|
17118
|
-
this.SubAppId = null;
|
|
17119
|
-
|
|
17120
17114
|
/**
|
|
17121
17115
|
* <p>To update the Api Key</p>
|
|
17122
17116
|
* @type {string || null}
|
|
@@ -17124,13 +17118,19 @@ class UpdateAigcApiTokenRequest extends AbstractModel {
|
|
|
17124
17118
|
this.ApiToken = null;
|
|
17125
17119
|
|
|
17126
17120
|
/**
|
|
17127
|
-
* <p>
|
|
17121
|
+
* <p><b>On-demand <a href="https://www.tencentcloud.com/document/product/266/14574?from_cn_redirect=1">application</a> ID. For customers who activate on-demand services after December 25, 2023, this field must be set to the app ID when accessing resources in on-demand applications (whether the default application or a newly created application).</b></p>
|
|
17122
|
+
* @type {number || null}
|
|
17123
|
+
*/
|
|
17124
|
+
this.SubAppId = null;
|
|
17125
|
+
|
|
17126
|
+
/**
|
|
17127
|
+
* <p>Merge (default, merge ExtInfo JSON by top-level key), Overwrite (direct overwrite)</p>
|
|
17128
17128
|
* @type {string || null}
|
|
17129
17129
|
*/
|
|
17130
17130
|
this.ActionType = null;
|
|
17131
17131
|
|
|
17132
17132
|
/**
|
|
17133
|
-
* <p>
|
|
17133
|
+
* <p>The ip allowlist and model allowlist are stored in ExtInfo in json format, with the following fields:</p><p>(1) ip allowlist<br>"ip": {"127.0.0.1":true}<br>Not enabled: "ip": {}<br>Multiple groups: {"'11.12.112.90":true,"15.12.112.90":true}</p><p>(2) model allowlist<br>"model": {"deepseek-v4-pro":true}<br>Not enabled: "model": {}</p><p>(3) name<br>"name": "test"</p>
|
|
17134
17134
|
* @type {string || null}
|
|
17135
17135
|
*/
|
|
17136
17136
|
this.ExtInfo = null;
|
|
@@ -17144,8 +17144,8 @@ class UpdateAigcApiTokenRequest extends AbstractModel {
|
|
|
17144
17144
|
if (!params) {
|
|
17145
17145
|
return;
|
|
17146
17146
|
}
|
|
17147
|
-
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
17148
17147
|
this.ApiToken = 'ApiToken' in params ? params.ApiToken : null;
|
|
17148
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
17149
17149
|
this.ActionType = 'ActionType' in params ? params.ActionType : null;
|
|
17150
17150
|
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
17151
17151
|
|
|
@@ -2250,7 +2250,7 @@ When the current storage type of a media file is DEEP_ARCHIVE, it can be modifie
|
|
|
2250
2250
|
}
|
|
2251
2251
|
|
|
2252
2252
|
/**
|
|
2253
|
-
*
|
|
2253
|
+
* Update the Token for AIGC API calls. Data synchronization has a delay of about 30 seconds after the update.
|
|
2254
2254
|
* @param {UpdateAigcApiTokenRequest} req
|
|
2255
2255
|
* @param {function(string, UpdateAigcApiTokenResponse):void} cb
|
|
2256
2256
|
* @public
|