-
Notifications
You must be signed in to change notification settings - Fork 96
/
ciam_client.js
169 lines (169 loc) · 4.28 KB
/
ciam_client.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Client = void 0;
/* eslint-disable @typescript-eslint/no-unused-vars */
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
const abstract_client_1 = require("../../../common/abstract_client");
/**
* ciam client
* @class
*/
class Client extends abstract_client_1.AbstractClient {
constructor(clientConfig) {
super("ciam.tencentcloudapi.com", "2022-03-31", clientConfig);
}
/**
* 更新用户状态
*/
async UpdateUserStatus(req, cb) {
return this.request("UpdateUserStatus", req, cb);
}
/**
* 查询任务详情
*/
async ListJobs(req, cb) {
return this.request("ListJobs", req, cb);
}
/**
* 删除用户目录
*/
async DeleteUserStore(req, cb) {
return this.request("DeleteUserStore", req, cb);
}
/**
* 批量删除用户组
*/
async DeleteUserGroups(req, cb) {
return this.request("DeleteUserGroups", req, cb);
}
/**
* 更新用户目录
*/
async UpdateUserStore(req, cb) {
return this.request("UpdateUserStore", req, cb);
}
/**
* 新建接口导入用户任务
*/
async CreateApiImportUserJob(req, cb) {
return this.request("CreateApiImportUserJob", req, cb);
}
/**
* 账号融合
*/
async LinkAccount(req, cb) {
return this.request("LinkAccount", req, cb);
}
/**
* 重置用户密码
*/
async ResetPassword(req, cb) {
return this.request("ResetPassword", req, cb);
}
/**
* 更新用户
*/
async UpdateUser(req, cb) {
return this.request("UpdateUser", req, cb);
}
/**
* 多条件查询用户信息
*/
async DescribeUser(req, cb) {
return this.request("DescribeUser", req, cb);
}
/**
* 查询用户组列表
*/
async ListUserGroups(req, cb) {
return this.request("ListUserGroups", req, cb);
}
/**
* 查询用户列表
*/
async ListUser(req, cb) {
return this.request("ListUser", req, cb);
}
/**
* 更新用户组
*/
async UpdateUserGroup(req, cb) {
return this.request("UpdateUserGroup", req, cb);
}
/**
* 创建用户目录
*/
async CreateUserStore(req, cb) {
return this.request("CreateUserStore", req, cb);
}
/**
* 批量删除用户
*/
async DeleteUsers(req, cb) {
return this.request("DeleteUsers", req, cb);
}
/**
* 根据属性查询用户列表
*/
async ListUserByProperty(req, cb) {
return this.request("ListUserByProperty", req, cb);
}
/**
* 根据ID查询用户信息
*/
async DescribeUserById(req, cb) {
return this.request("DescribeUserById", req, cb);
}
/**
* 设置用户密码
*/
async SetPassword(req, cb) {
return this.request("SetPassword", req, cb);
}
/**
* 新建文件导出用户任务
*/
async CreateFileExportUserJob(req, cb) {
return this.request("CreateFileExportUserJob", req, cb);
}
/**
* 查询用户目录列表
*/
async ListUserStore(req, cb) {
return this.request("ListUserStore", req, cb);
}
/**
* 创建用户组
*/
async CreateUserGroup(req, cb) {
return this.request("CreateUserGroup", req, cb);
}
/**
* 创建用户
*/
async CreateUser(req, cb) {
return this.request("CreateUser", req, cb);
}
/**
* 查询日志信息
*/
async ListLogMessageByCondition(req, cb) {
return this.request("ListLogMessageByCondition", req, cb);
}
}
exports.Client = Client;