tencentcloud-sdk-nodejs-intl-en 3.0.421 → 3.0.424

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 (31) hide show
  1. package/package.json +1 -1
  2. package/tencentcloud/ciam/index.js +3 -0
  3. package/tencentcloud/ciam/v20210420/ciam_client.js +48 -0
  4. package/tencentcloud/ciam/v20210420/index.js +4 -0
  5. package/tencentcloud/ciam/v20210420/models.js +231 -0
  6. package/tencentcloud/cls/v20201016/cls_client.js +56 -167
  7. package/tencentcloud/cls/v20201016/models.js +577 -1703
  8. package/tencentcloud/common/sdk_version.js +1 -1
  9. package/tencentcloud/cvm/v20170312/cvm_client.js +17 -125
  10. package/tencentcloud/cvm/v20170312/models.js +207 -1575
  11. package/tencentcloud/dcdb/v20180411/dcdb_client.js +231 -62
  12. package/tencentcloud/dcdb/v20180411/models.js +3468 -1504
  13. package/tencentcloud/eiam/index.js +3 -0
  14. package/tencentcloud/eiam/v20210420/eiam_client.js +577 -0
  15. package/tencentcloud/eiam/v20210420/index.js +4 -0
  16. package/tencentcloud/eiam/v20210420/models.js +5286 -0
  17. package/tencentcloud/faceid/v20180301/faceid_client.js +2 -1
  18. package/tencentcloud/faceid/v20180301/models.js +6 -6
  19. package/tencentcloud/index.js +3 -0
  20. package/tencentcloud/mongodb/v20190725/models.js +145 -15
  21. package/tencentcloud/mongodb/v20190725/mongodb_client.js +16 -2
  22. package/tencentcloud/tag/v20180813/models.js +977 -179
  23. package/tencentcloud/tag/v20180813/tag_client.js +215 -109
  24. package/tencentcloud/tat/index.js +3 -0
  25. package/tencentcloud/tat/v20201028/index.js +4 -0
  26. package/tencentcloud/tat/v20201028/models.js +3020 -0
  27. package/tencentcloud/tat/v20201028/tat_client.js +310 -0
  28. package/tencentcloud/tcaplusdb/v20190823/models.js +78 -323
  29. package/tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.js +9 -23
  30. package/tencentcloud/vod/v20180717/models.js +411 -156
  31. package/tencentcloud/vod/v20180717/vod_client.js +47 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.421",
3
+ "version": "3.0.424",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ v20210420: require("./v20210420"),
3
+ };
@@ -0,0 +1,48 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 ListUserGroupsRequest = models.ListUserGroupsRequest;
20
+ const Pageable = models.Pageable;
21
+ const ListUserGroupsResponse = models.ListUserGroupsResponse;
22
+ const UserGroup = models.UserGroup;
23
+
24
+
25
+ /**
26
+ * ciam client
27
+ * @class
28
+ */
29
+ class CiamClient extends AbstractClient {
30
+
31
+ constructor(credential, region, profile) {
32
+ super("ciam.tencentcloudapi.com", "2021-04-20", credential, region, profile);
33
+ }
34
+
35
+ /**
36
+ * This API is used to list user groups.
37
+ * @param {ListUserGroupsRequest} req
38
+ * @param {function(string, ListUserGroupsResponse):void} cb
39
+ * @public
40
+ */
41
+ ListUserGroups(req, cb) {
42
+ let resp = new ListUserGroupsResponse();
43
+ this.request("ListUserGroups", req, resp, cb);
44
+ }
45
+
46
+
47
+ }
48
+ module.exports = CiamClient;
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ Client: require("./ciam_client"),
3
+ Models: require("./models"),
4
+ };
@@ -0,0 +1,231 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 AbstractModel = require("../../common/abstract_model");
18
+
19
+ /**
20
+ * ListUserGroups request structure.
21
+ * @class
22
+ */
23
+ class ListUserGroupsRequest extends AbstractModel {
24
+ constructor(){
25
+ super();
26
+
27
+ /**
28
+ * User directory ID
29
+ * @type {string || null}
30
+ */
31
+ this.UserStoreId = null;
32
+
33
+ /**
34
+ * Number of queried pages
35
+ * @type {number || null}
36
+ */
37
+ this.Page = null;
38
+
39
+ /**
40
+ * Number of entries per page
41
+ * @type {number || null}
42
+ */
43
+ this.Size = null;
44
+
45
+ /**
46
+ * Query conditions (user group ID or user group name)
47
+ * @type {string || null}
48
+ */
49
+ this.Condition = null;
50
+
51
+ }
52
+
53
+ /**
54
+ * @private
55
+ */
56
+ deserialize(params) {
57
+ if (!params) {
58
+ return;
59
+ }
60
+ this.UserStoreId = 'UserStoreId' in params ? params.UserStoreId : null;
61
+ this.Page = 'Page' in params ? params.Page : null;
62
+ this.Size = 'Size' in params ? params.Size : null;
63
+ this.Condition = 'Condition' in params ? params.Condition : null;
64
+
65
+ }
66
+ }
67
+
68
+ /**
69
+ * Pagination object
70
+ * @class
71
+ */
72
+ class Pageable extends AbstractModel {
73
+ constructor(){
74
+ super();
75
+
76
+ /**
77
+ * Number of entries per page
78
+ * @type {number || null}
79
+ */
80
+ this.PageSize = null;
81
+
82
+ /**
83
+ * Current page number
84
+ * @type {number || null}
85
+ */
86
+ this.PageNumber = null;
87
+
88
+ }
89
+
90
+ /**
91
+ * @private
92
+ */
93
+ deserialize(params) {
94
+ if (!params) {
95
+ return;
96
+ }
97
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
98
+ this.PageNumber = 'PageNumber' in params ? params.PageNumber : null;
99
+
100
+ }
101
+ }
102
+
103
+ /**
104
+ * ListUserGroups response structure.
105
+ * @class
106
+ */
107
+ class ListUserGroupsResponse extends AbstractModel {
108
+ constructor(){
109
+ super();
110
+
111
+ /**
112
+ * User group list
113
+ Note: this field may return null, indicating that no valid values can be obtained.
114
+ * @type {Array.<UserGroup> || null}
115
+ */
116
+ this.Content = null;
117
+
118
+ /**
119
+ * Total number
120
+ Note: this field may return null, indicating that no valid values can be obtained.
121
+ * @type {number || null}
122
+ */
123
+ this.Total = null;
124
+
125
+ /**
126
+ * Pagination
127
+ Note: this field may return null, indicating that no valid values can be obtained.
128
+ * @type {Pageable || null}
129
+ */
130
+ this.Pageable = null;
131
+
132
+ /**
133
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
134
+ * @type {string || null}
135
+ */
136
+ this.RequestId = null;
137
+
138
+ }
139
+
140
+ /**
141
+ * @private
142
+ */
143
+ deserialize(params) {
144
+ if (!params) {
145
+ return;
146
+ }
147
+
148
+ if (params.Content) {
149
+ this.Content = new Array();
150
+ for (let z in params.Content) {
151
+ let obj = new UserGroup();
152
+ obj.deserialize(params.Content[z]);
153
+ this.Content.push(obj);
154
+ }
155
+ }
156
+ this.Total = 'Total' in params ? params.Total : null;
157
+
158
+ if (params.Pageable) {
159
+ let obj = new Pageable();
160
+ obj.deserialize(params.Pageable)
161
+ this.Pageable = obj;
162
+ }
163
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
164
+
165
+ }
166
+ }
167
+
168
+ /**
169
+ * User group
170
+ * @class
171
+ */
172
+ class UserGroup extends AbstractModel {
173
+ constructor(){
174
+ super();
175
+
176
+ /**
177
+ * User group ID
178
+ * @type {string || null}
179
+ */
180
+ this.UserGroupId = null;
181
+
182
+ /**
183
+ * User group name
184
+ * @type {string || null}
185
+ */
186
+ this.DisplayName = null;
187
+
188
+ /**
189
+ * User group description
190
+ Note: this field may return null, indicating that no valid values can be obtained.
191
+ * @type {string || null}
192
+ */
193
+ this.Description = null;
194
+
195
+ /**
196
+ * User directory ID
197
+ * @type {string || null}
198
+ */
199
+ this.UserStoreId = null;
200
+
201
+ /**
202
+ * Tenant ID
203
+ * @type {string || null}
204
+ */
205
+ this.TenantId = null;
206
+
207
+ }
208
+
209
+ /**
210
+ * @private
211
+ */
212
+ deserialize(params) {
213
+ if (!params) {
214
+ return;
215
+ }
216
+ this.UserGroupId = 'UserGroupId' in params ? params.UserGroupId : null;
217
+ this.DisplayName = 'DisplayName' in params ? params.DisplayName : null;
218
+ this.Description = 'Description' in params ? params.Description : null;
219
+ this.UserStoreId = 'UserStoreId' in params ? params.UserStoreId : null;
220
+ this.TenantId = 'TenantId' in params ? params.TenantId : null;
221
+
222
+ }
223
+ }
224
+
225
+ module.exports = {
226
+ ListUserGroupsRequest: ListUserGroupsRequest,
227
+ Pageable: Pageable,
228
+ ListUserGroupsResponse: ListUserGroupsResponse,
229
+ UserGroup: UserGroup,
230
+
231
+ }