tencentcloud-sdk-nodejs-intl-en 3.0.1349 → 3.0.1350

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.
@@ -41,7 +41,15 @@ class StsClient extends AbstractClient {
41
41
  }
42
42
 
43
43
  /**
44
- * This API is used to get temporary credentials for a federated user.
44
+ * This API is used to provide instructions.
45
+
46
+ This API is used to return a set of temporary access credentials. A typical application scenario is for proxy applications to centrally request temporary access credentials and distribute them to other distributed terminal applications within the enterprise network, such as terminal applications uploading files to COS. This API only supports calls with permanent keys.
47
+
48
+ This API is used to implement best practices.
49
+
50
+ 1. This API is used to recommend reusing temporary access credentials within their validity period to avoid rate limiting due to increased business request rates.
51
+ 2. This API is used to recommend granting temporary access credentials with the principle of least privilege.
52
+ 3. This API is used to recommend not using the root account for permanent keys calling the API.
45
53
  * @param {GetFederationTokenRequest} req
46
54
  * @param {function(string, GetFederationTokenResponse):void} cb
47
55
  * @public
@@ -52,7 +60,9 @@ class StsClient extends AbstractClient {
52
60
  }
53
61
 
54
62
  /**
55
- * This API is used to request for the temporary credentials for a role that has been authenticated via a SAML assertion.
63
+ * This API is used to request temporary access credentials for a role based on a SAML assertion.
64
+
65
+ Note: When called with signature method v3, header `X-TC-Token` could be ignored, and `Authorization` should be SKIP.
56
66
  * @param {AssumeRoleWithSAMLRequest} req
57
67
  * @param {function(string, AssumeRoleWithSAMLResponse):void} cb
58
68
  * @public
@@ -63,7 +73,20 @@ class StsClient extends AbstractClient {
63
73
  }
64
74
 
65
75
  /**
66
- * This API is used to request for the temporary security credentials of a role.
76
+ * This API is used to request temporary access credentials for assuming a role.
77
+
78
+ This API is used to describe the composition of role policies.
79
+
80
+ This API is used to specify the role trust policy, which defines who can assume the role.
81
+
82
+ This API is used to specify the role permission policy, which defines what actions can be performed after assuming the role.
83
+
84
+
85
+ This API is used to describe the conditions under which a role can be assumed.
86
+
87
+ This API is used to bind a policy that allows a user to call AssumeRole.
88
+
89
+ This API is used to add a user as a principal in the role trust policy.
67
90
  * @param {AssumeRoleRequest} req
68
91
  * @param {function(string, AssumeRoleResponse):void} cb
69
92
  * @public
@@ -75,7 +98,8 @@ class StsClient extends AbstractClient {
75
98
 
76
99
  /**
77
100
  * This API is used to get the identity information of the current caller.
78
- The persistent keys of the root account and sub-account as well as the temporary credentials generated by `AssumeRole` and `GetFederationToken` can be used to get the identity information.
101
+
102
+ This API is used to get the identity information using the persistent keys of the root account and sub-account as well as the temporary credentials generated by AssumeRole and GetFederationToken.
79
103
  * @param {GetCallerIdentityRequest} req
80
104
  * @param {function(string, GetCallerIdentityResponse):void} cb
81
105
  * @public
@@ -87,6 +111,8 @@ The persistent keys of the root account and sub-account as well as the temporary
87
111
 
88
112
  /**
89
113
  * This API is used to apply for an OIDC role credential.
114
+
115
+ Note: When called with signature method v3, header `X-TC-Token` could be ignored, and `Authorization` should be SKIP.
90
116
  * @param {AssumeRoleWithWebIdentityRequest} req
91
117
  * @param {function(string, AssumeRoleWithWebIdentityResponse):void} cb
92
118
  * @public
@@ -231,7 +231,7 @@ class TagClient extends AbstractClient {
231
231
  }
232
232
 
233
233
  /**
234
- * Creates a project
234
+ * Creates a project.
235
235
  * @param {AddProjectRequest} req
236
236
  * @param {function(string, AddProjectResponse):void} cb
237
237
  * @public
@@ -147,7 +147,7 @@ class DescribeEventsRequest extends AbstractModel {
147
147
  this.ProductIds = null;
148
148
 
149
149
  /**
150
- * 1. Query by Region ID(s). Region ID examples: ap-guangzhouap-shanghaiap-singapore.
150
+ * 1. Query by Region ID(s). Region ID examples: ap-guangzhou, ap-shanghai, ap-singapore.
151
151
  2. The region ID for non-region-specific products should be set to non-regional.
152
152
  * @type {Array.<string> || null}
153
153
  */
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20210701: require("./v20210701"), v20201221: require("./v20201221"),
2
+ v20201221: require("./v20201221"), v20210701: require("./v20210701"),
3
3
  };
@@ -1,3 +1,3 @@
1
1
  module.exports = {
2
- v20220501: require("./v20220501"), v20180525: require("./v20180525"),
2
+ v20180525: require("./v20180525"), v20220501: require("./v20220501"),
3
3
  };