tencentcloud-sdk-nodejs-cam 4.0.397 → 4.0.431
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/CHANGELOG.md +5389 -0
- package/README.md +3 -3
- package/SERVICE_CHANGELOG.md +3620 -52
- package/package.json +1 -1
- package/products.md +92 -92
- package/src/services/cam/index.ts +7 -4
- package/src/services/cam/v20190116/cam_client.ts +779 -1024
- package/src/services/cam/v20190116/cam_models.ts +2599 -2414
- package/src/services/cam/v20190116/index.ts +3 -3
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +3 -3
- package/tencentcloud/services/cam/v20190116/cam_client.js +3 -3
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +1234 -1234
- package/tencentcloud/services/cam/v20190116/index.js +1 -1
|
@@ -17,199 +17,200 @@
|
|
|
17
17
|
*/
|
|
18
18
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
19
|
import {
|
|
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
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
20
|
+
SubAccountUser,
|
|
21
|
+
ListAttachedRolePoliciesResponse,
|
|
22
|
+
LoginActionFlagIntl,
|
|
23
|
+
UpdateUserOIDCConfigResponse,
|
|
24
|
+
ListAccessKeysRequest,
|
|
25
|
+
SetMfaFlagResponse,
|
|
26
|
+
UpdateSAMLProviderRequest,
|
|
27
|
+
DeleteUserRequest,
|
|
28
|
+
DetachGroupPolicyRequest,
|
|
29
|
+
DescribeRoleListResponse,
|
|
30
|
+
UpdatePolicyResponse,
|
|
31
|
+
DeleteUserResponse,
|
|
32
|
+
GetRoleRequest,
|
|
33
|
+
CreateServiceLinkedRoleRequest,
|
|
34
|
+
ListAttachedGroupPoliciesRequest,
|
|
35
|
+
ListGroupsForUserRequest,
|
|
36
|
+
AttachRolePolicyResponse,
|
|
37
|
+
GetUserPermissionBoundaryRequest,
|
|
38
|
+
DescribeOIDCConfigRequest,
|
|
39
|
+
GetRolePermissionBoundaryRequest,
|
|
40
|
+
GetServiceLinkedRoleDeletionStatusResponse,
|
|
41
|
+
GetSecurityLastUsedRequest,
|
|
42
|
+
DescribeUserSAMLConfigResponse,
|
|
43
|
+
DeleteUserPermissionsBoundaryResponse,
|
|
44
|
+
ListUsersResponse,
|
|
45
|
+
UpdateRoleDescriptionResponse,
|
|
46
|
+
GetAccountSummaryRequest,
|
|
47
|
+
DeletePolicyResponse,
|
|
48
|
+
GetUserAppIdResponse,
|
|
49
|
+
GetUserAppIdRequest,
|
|
50
|
+
DescribeOIDCConfigResponse,
|
|
51
|
+
ListPolicyVersionsRequest,
|
|
52
|
+
GetCustomMFATokenInfoRequest,
|
|
53
|
+
DescribeRoleListRequest,
|
|
54
|
+
DescribeUserSAMLConfigRequest,
|
|
55
|
+
TagRoleResponse,
|
|
56
|
+
PutRolePermissionsBoundaryRequest,
|
|
57
|
+
GetGroupRequest,
|
|
58
|
+
StrategyInfo,
|
|
59
|
+
DeleteRoleResponse,
|
|
60
|
+
PolicyVersionItem,
|
|
61
|
+
DetachUserPolicyRequest,
|
|
62
|
+
DescribeSubAccountsRequest,
|
|
63
|
+
DeleteUserPermissionsBoundaryRequest,
|
|
64
|
+
ListSAMLProvidersRequest,
|
|
65
|
+
ListGroupsRequest,
|
|
66
|
+
DeletePolicyVersionResponse,
|
|
67
|
+
GetRolePermissionBoundaryResponse,
|
|
68
|
+
AttachedUserPolicyGroupInfo,
|
|
69
|
+
ListGroupsForUserResponse,
|
|
70
|
+
ListUsersForGroupRequest,
|
|
71
|
+
RemoveUserFromGroupRequest,
|
|
72
|
+
CreatePolicyVersionResponse,
|
|
73
|
+
ListPoliciesResponse,
|
|
74
|
+
WeChatWorkSubAccount,
|
|
75
|
+
OffsiteFlag,
|
|
76
|
+
GroupIdOfUidInfo,
|
|
77
|
+
UpdateRoleDescriptionRequest,
|
|
78
|
+
UpdateUserSAMLConfigRequest,
|
|
79
|
+
DeleteGroupResponse,
|
|
80
|
+
RoleInfo,
|
|
81
|
+
DescribeSafeAuthFlagResponse,
|
|
82
|
+
CreatePolicyVersionRequest,
|
|
83
|
+
SecretIdLastUsed,
|
|
84
|
+
CreateUserOIDCConfigResponse,
|
|
85
|
+
ListAttachedUserAllPoliciesResponse,
|
|
86
|
+
DeleteGroupRequest,
|
|
87
|
+
GetUserResponse,
|
|
88
|
+
GetUserPermissionBoundaryResponse,
|
|
89
|
+
CreatePolicyResponse,
|
|
90
|
+
DetachRolePolicyRequest,
|
|
91
|
+
UntagRoleResponse,
|
|
92
|
+
ListPoliciesGrantingServiceAccessResponse,
|
|
93
|
+
DeleteRolePermissionsBoundaryRequest,
|
|
94
|
+
RoleTags,
|
|
95
|
+
DescribeUserOIDCConfigResponse,
|
|
96
|
+
DeletePolicyRequest,
|
|
97
|
+
GroupInfo,
|
|
98
|
+
AddUserRequest,
|
|
99
|
+
UpdateAssumeRolePolicyRequest,
|
|
100
|
+
LoginActionFlag,
|
|
101
|
+
DeleteRoleRequest,
|
|
102
|
+
ListWeChatWorkSubAccountsRequest,
|
|
103
|
+
UpdateRoleConsoleLoginRequest,
|
|
104
|
+
UpdateUserResponse,
|
|
105
|
+
UpdateAssumeRolePolicyResponse,
|
|
106
|
+
GetPolicyVersionRequest,
|
|
107
|
+
CreateSAMLProviderResponse,
|
|
108
|
+
DeleteRolePermissionsBoundaryResponse,
|
|
109
|
+
GetUserRequest,
|
|
110
|
+
LoginActionMfaFlag,
|
|
111
|
+
SubAccountInfo,
|
|
112
|
+
CreateGroupRequest,
|
|
113
|
+
SAMLProviderInfo,
|
|
114
|
+
ListGrantServiceAccessPolicy,
|
|
115
|
+
DisableUserSSORequest,
|
|
116
|
+
ListPoliciesGrantingServiceAccessRequest,
|
|
117
|
+
UpdateSAMLProviderResponse,
|
|
118
|
+
UpdateUserRequest,
|
|
119
|
+
ListWeChatWorkSubAccountsResponse,
|
|
120
|
+
CreateSAMLProviderRequest,
|
|
121
|
+
AttachPolicyInfo,
|
|
122
|
+
DisableUserSSOResponse,
|
|
123
|
+
UpdateRoleConsoleLoginResponse,
|
|
124
|
+
AttachRolePolicyRequest,
|
|
125
|
+
ConsumeCustomMFATokenResponse,
|
|
126
|
+
AttachUserPolicyRequest,
|
|
127
|
+
ListAttachedGroupPoliciesResponse,
|
|
128
|
+
ListAttachedUserPoliciesResponse,
|
|
129
|
+
ListGroupsResponse,
|
|
130
|
+
PutUserPermissionsBoundaryResponse,
|
|
131
|
+
GetPolicyVersionResponse,
|
|
132
|
+
GetCustomMFATokenInfoResponse,
|
|
133
|
+
ConsumeCustomMFATokenRequest,
|
|
134
|
+
CreateOIDCConfigRequest,
|
|
135
|
+
AccessKey,
|
|
136
|
+
GetGroupResponse,
|
|
137
|
+
UpdateOIDCConfigResponse,
|
|
138
|
+
DeleteSAMLProviderRequest,
|
|
139
|
+
DeleteSAMLProviderResponse,
|
|
140
|
+
GetAccountSummaryResponse,
|
|
141
|
+
CreateServiceLinkedRoleResponse,
|
|
142
|
+
ListUsersRequest,
|
|
143
|
+
ListCollaboratorsRequest,
|
|
144
|
+
CreateUserOIDCConfigRequest,
|
|
145
|
+
AttachGroupPolicyResponse,
|
|
146
|
+
UpdateGroupResponse,
|
|
147
|
+
ListEntitiesForPolicyRequest,
|
|
148
|
+
TagRoleRequest,
|
|
149
|
+
ListPoliciesRequest,
|
|
150
|
+
GetServiceLinkedRoleDeletionStatusRequest,
|
|
151
|
+
ListGrantServiceAccessActionNode,
|
|
152
|
+
DetachGroupPolicyResponse,
|
|
153
|
+
GroupMemberInfo,
|
|
154
|
+
CreatePolicyRequest,
|
|
155
|
+
ListAttachedUserAllPoliciesRequest,
|
|
156
|
+
DeletePolicyVersionRequest,
|
|
157
|
+
CreateUserSAMLConfigRequest,
|
|
158
|
+
UpdateGroupRequest,
|
|
159
|
+
ListGrantServiceAccessNode,
|
|
160
|
+
AttachGroupPolicyRequest,
|
|
161
|
+
UpdateOIDCConfigRequest,
|
|
162
|
+
CreateRoleResponse,
|
|
163
|
+
GetSAMLProviderResponse,
|
|
164
|
+
DescribeSafeAuthFlagIntlResponse,
|
|
165
|
+
ListPolicyVersionsResponse,
|
|
166
|
+
GetPolicyRequest,
|
|
167
|
+
DescribeSafeAuthFlagIntlRequest,
|
|
168
|
+
SetDefaultPolicyVersionRequest,
|
|
169
|
+
UpdateUserOIDCConfigRequest,
|
|
170
|
+
AddUserToGroupRequest,
|
|
171
|
+
RemoveUserFromGroupResponse,
|
|
172
|
+
DetachRolePolicyResponse,
|
|
173
|
+
DescribeUserOIDCConfigRequest,
|
|
174
|
+
CreateOIDCConfigResponse,
|
|
175
|
+
AttachedPolicyOfRole,
|
|
176
|
+
PutUserPermissionsBoundaryRequest,
|
|
177
|
+
ListSAMLProvidersResponse,
|
|
178
|
+
SetDefaultPolicyVersionResponse,
|
|
179
|
+
ListAttachedRolePoliciesRequest,
|
|
180
|
+
GetSAMLProviderRequest,
|
|
181
|
+
DetachUserPolicyResponse,
|
|
182
|
+
GetRoleResponse,
|
|
183
|
+
CreateRoleRequest,
|
|
184
|
+
AttachedUserPolicy,
|
|
185
|
+
DeleteServiceLinkedRoleResponse,
|
|
186
|
+
ListUsersForGroupResponse,
|
|
187
|
+
GetPolicyResponse,
|
|
188
|
+
DescribeSafeAuthFlagRequest,
|
|
189
|
+
DeleteServiceLinkedRoleRequest,
|
|
190
|
+
AttachEntityOfPolicy,
|
|
191
|
+
DeleteOIDCConfigResponse,
|
|
192
|
+
PolicyVersionDetail,
|
|
193
|
+
AddUserResponse,
|
|
194
|
+
ListGrantServiceAccessService,
|
|
195
|
+
CreateUserSAMLConfigResponse,
|
|
196
|
+
DescribeSubAccountsResponse,
|
|
197
|
+
ListEntitiesForPolicyResponse,
|
|
198
|
+
AddUserToGroupResponse,
|
|
199
|
+
UpdateUserSAMLConfigResponse,
|
|
200
|
+
AttachUserPolicyResponse,
|
|
201
|
+
DescribeSafeAuthFlagCollResponse,
|
|
202
|
+
DescribeSafeAuthFlagCollRequest,
|
|
203
|
+
PutRolePermissionsBoundaryResponse,
|
|
204
|
+
SetMfaFlagRequest,
|
|
205
|
+
ListCollaboratorsResponse,
|
|
206
|
+
ListAccessKeysResponse,
|
|
207
|
+
GetSecurityLastUsedResponse,
|
|
208
|
+
ListAttachedUserPoliciesRequest,
|
|
209
|
+
UpdatePolicyRequest,
|
|
210
|
+
DeleteOIDCConfigRequest,
|
|
211
|
+
UntagRoleRequest,
|
|
212
|
+
CreateGroupResponse,
|
|
213
|
+
|
|
213
214
|
} from "./cam_models"
|
|
214
215
|
|
|
215
216
|
/**
|
|
@@ -217,838 +218,592 @@ import {
|
|
|
217
218
|
* @class
|
|
218
219
|
*/
|
|
219
220
|
export class Client extends TencentCloudCommon.AbstractClient {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
req?: GetUserAppIdRequest,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
cb?: (error: string, rep:
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
req:
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
cb?: (error: string, rep:
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
req:
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
cb?: (error: string, rep:
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
req:
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
cb?: (error: string, rep:
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
req:
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
cb?: (error: string, rep:
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
req:
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
cb?: (error: string, rep:
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
req:
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
cb?: (error: string, rep:
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
req:
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
cb?: (error: string, rep:
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
req:
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
): Promise<GetRoleResponse> {
|
|
801
|
-
return this.request("GetRole", req, cb)
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* 本接口(UpdateRoleDescription)用于修改角色的描述信息。
|
|
806
|
-
*/
|
|
807
|
-
async UpdateRoleDescription(
|
|
808
|
-
req: UpdateRoleDescriptionRequest,
|
|
809
|
-
cb?: (error: string, rep: UpdateRoleDescriptionResponse) => void
|
|
810
|
-
): Promise<UpdateRoleDescriptionResponse> {
|
|
811
|
-
return this.request("UpdateRoleDescription", req, cb)
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
/**
|
|
815
|
-
* 本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
|
|
816
|
-
*/
|
|
817
|
-
async ListEntitiesForPolicy(
|
|
818
|
-
req: ListEntitiesForPolicyRequest,
|
|
819
|
-
cb?: (error: string, rep: ListEntitiesForPolicyResponse) => void
|
|
820
|
-
): Promise<ListEntitiesForPolicyResponse> {
|
|
821
|
-
return this.request("ListEntitiesForPolicy", req, cb)
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
* 本接口(ListAttachedUserPolicies)可用于查询子账号关联的策略列表。
|
|
826
|
-
*/
|
|
827
|
-
async ListAttachedUserPolicies(
|
|
828
|
-
req: ListAttachedUserPoliciesRequest,
|
|
829
|
-
cb?: (error: string, rep: ListAttachedUserPoliciesResponse) => void
|
|
830
|
-
): Promise<ListAttachedUserPoliciesResponse> {
|
|
831
|
-
return this.request("ListAttachedUserPolicies", req, cb)
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
/**
|
|
835
|
-
* 删除子用户
|
|
836
|
-
*/
|
|
837
|
-
async DeleteUser(
|
|
838
|
-
req: DeleteUserRequest,
|
|
839
|
-
cb?: (error: string, rep: DeleteUserResponse) => void
|
|
840
|
-
): Promise<DeleteUserResponse> {
|
|
841
|
-
return this.request("DeleteUser", req, cb)
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
/**
|
|
845
|
-
* 修改用户SAML配置
|
|
846
|
-
*/
|
|
847
|
-
async UpdateUserSAMLConfig(
|
|
848
|
-
req: UpdateUserSAMLConfigRequest,
|
|
849
|
-
cb?: (error: string, rep: UpdateUserSAMLConfigResponse) => void
|
|
850
|
-
): Promise<UpdateUserSAMLConfigResponse> {
|
|
851
|
-
return this.request("UpdateUserSAMLConfig", req, cb)
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
* 该接口(CreatePolicyVersion)用于新增策略版本,用户创建了一个策略版本之后可以方便的通过变更策略版本的方式来变更策略。
|
|
856
|
-
*/
|
|
857
|
-
async CreatePolicyVersion(
|
|
858
|
-
req: CreatePolicyVersionRequest,
|
|
859
|
-
cb?: (error: string, rep: CreatePolicyVersionResponse) => void
|
|
860
|
-
): Promise<CreatePolicyVersionResponse> {
|
|
861
|
-
return this.request("CreatePolicyVersion", req, cb)
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
/**
|
|
865
|
-
* 获取协作者列表
|
|
866
|
-
*/
|
|
867
|
-
async ListCollaborators(
|
|
868
|
-
req: ListCollaboratorsRequest,
|
|
869
|
-
cb?: (error: string, rep: ListCollaboratorsResponse) => void
|
|
870
|
-
): Promise<ListCollaboratorsResponse> {
|
|
871
|
-
return this.request("ListCollaborators", req, cb)
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
/**
|
|
875
|
-
* 本接口(DetachGroupPolicy)可用于解除绑定到用户组的策略。
|
|
876
|
-
*/
|
|
877
|
-
async DetachGroupPolicy(
|
|
878
|
-
req: DetachGroupPolicyRequest,
|
|
879
|
-
cb?: (error: string, rep: DetachGroupPolicyResponse) => void
|
|
880
|
-
): Promise<DetachGroupPolicyResponse> {
|
|
881
|
-
return this.request("DetachGroupPolicy", req, cb)
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* 通过子用户UIN列表查询子用户
|
|
886
|
-
*/
|
|
887
|
-
async DescribeSubAccounts(
|
|
888
|
-
req: DescribeSubAccountsRequest,
|
|
889
|
-
cb?: (error: string, rep: DescribeSubAccountsResponse) => void
|
|
890
|
-
): Promise<DescribeSubAccountsResponse> {
|
|
891
|
-
return this.request("DescribeSubAccounts", req, cb)
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
/**
|
|
895
|
-
* 从用户组删除用户
|
|
896
|
-
*/
|
|
897
|
-
async RemoveUserFromGroup(
|
|
898
|
-
req: RemoveUserFromGroupRequest,
|
|
899
|
-
cb?: (error: string, rep: RemoveUserFromGroupResponse) => void
|
|
900
|
-
): Promise<RemoveUserFromGroupResponse> {
|
|
901
|
-
return this.request("RemoveUserFromGroup", req, cb)
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
/**
|
|
905
|
-
* 本接口(ListPolicies)可用于查询策略列表。
|
|
906
|
-
*/
|
|
907
|
-
async ListPolicies(
|
|
908
|
-
req: ListPoliciesRequest,
|
|
909
|
-
cb?: (error: string, rep: ListPoliciesResponse) => void
|
|
910
|
-
): Promise<ListPoliciesResponse> {
|
|
911
|
-
return this.request("ListPolicies", req, cb)
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
/**
|
|
915
|
-
* 查询用户组关联的用户列表
|
|
916
|
-
*/
|
|
917
|
-
async ListUsersForGroup(
|
|
918
|
-
req: ListUsersForGroupRequest,
|
|
919
|
-
cb?: (error: string, rep: ListUsersForGroupResponse) => void
|
|
920
|
-
): Promise<ListUsersForGroupResponse> {
|
|
921
|
-
return this.request("ListUsersForGroup", req, cb)
|
|
922
|
-
}
|
|
923
|
-
|
|
924
|
-
/**
|
|
925
|
-
* 本接口(AttachUserPolicy)可用于绑定到用户的策略。
|
|
926
|
-
*/
|
|
927
|
-
async AttachUserPolicy(
|
|
928
|
-
req: AttachUserPolicyRequest,
|
|
929
|
-
cb?: (error: string, rep: AttachUserPolicyResponse) => void
|
|
930
|
-
): Promise<AttachUserPolicyResponse> {
|
|
931
|
-
return this.request("AttachUserPolicy", req, cb)
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
/**
|
|
935
|
-
* 查询用户组详情
|
|
936
|
-
*/
|
|
937
|
-
async GetGroup(
|
|
938
|
-
req: GetGroupRequest,
|
|
939
|
-
cb?: (error: string, rep: GetGroupResponse) => void
|
|
940
|
-
): Promise<GetGroupResponse> {
|
|
941
|
-
return this.request("GetGroup", req, cb)
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
/**
|
|
945
|
-
* 删除OIDC身份提供商
|
|
946
|
-
*/
|
|
947
|
-
async DeleteOIDCConfig(
|
|
948
|
-
req: DeleteOIDCConfigRequest,
|
|
949
|
-
cb?: (error: string, rep: DeleteOIDCConfigResponse) => void
|
|
950
|
-
): Promise<DeleteOIDCConfigResponse> {
|
|
951
|
-
return this.request("DeleteOIDCConfig", req, cb)
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* 获取企业微信子用户列表
|
|
956
|
-
*/
|
|
957
|
-
async ListWeChatWorkSubAccounts(
|
|
958
|
-
req: ListWeChatWorkSubAccountsRequest,
|
|
959
|
-
cb?: (error: string, rep: ListWeChatWorkSubAccountsResponse) => void
|
|
960
|
-
): Promise<ListWeChatWorkSubAccountsResponse> {
|
|
961
|
-
return this.request("ListWeChatWorkSubAccounts", req, cb)
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
/**
|
|
965
|
-
* 获取密钥最近使用情况
|
|
966
|
-
*/
|
|
967
|
-
async GetSecurityLastUsed(
|
|
968
|
-
req: GetSecurityLastUsedRequest,
|
|
969
|
-
cb?: (error: string, rep: GetSecurityLastUsedResponse) => void
|
|
970
|
-
): Promise<GetSecurityLastUsedResponse> {
|
|
971
|
-
return this.request("GetSecurityLastUsed", req, cb)
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
/**
|
|
975
|
-
* 本接口(AttachGroupPolicy)可用于绑定策略到用户组。
|
|
976
|
-
*/
|
|
977
|
-
async AttachGroupPolicy(
|
|
978
|
-
req: AttachGroupPolicyRequest,
|
|
979
|
-
cb?: (error: string, rep: AttachGroupPolicyResponse) => void
|
|
980
|
-
): Promise<AttachGroupPolicyResponse> {
|
|
981
|
-
return this.request("AttachGroupPolicy", req, cb)
|
|
982
|
-
}
|
|
983
|
-
|
|
984
|
-
/**
|
|
985
|
-
* 禁用用户SSO
|
|
986
|
-
*/
|
|
987
|
-
async DisableUserSSO(
|
|
988
|
-
req?: DisableUserSSORequest,
|
|
989
|
-
cb?: (error: string, rep: DisableUserSSOResponse) => void
|
|
990
|
-
): Promise<DisableUserSSOResponse> {
|
|
991
|
-
return this.request("DisableUserSSO", req, cb)
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* 设置用户权限边界
|
|
996
|
-
*/
|
|
997
|
-
async PutUserPermissionsBoundary(
|
|
998
|
-
req: PutUserPermissionsBoundaryRequest,
|
|
999
|
-
cb?: (error: string, rep: PutUserPermissionsBoundaryResponse) => void
|
|
1000
|
-
): Promise<PutUserPermissionsBoundaryResponse> {
|
|
1001
|
-
return this.request("PutUserPermissionsBoundary", req, cb)
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* 本接口(CreatePolicy)可用于创建策略。
|
|
1006
|
-
*/
|
|
1007
|
-
async CreatePolicy(
|
|
1008
|
-
req: CreatePolicyRequest,
|
|
1009
|
-
cb?: (error: string, rep: CreatePolicyResponse) => void
|
|
1010
|
-
): Promise<CreatePolicyResponse> {
|
|
1011
|
-
return this.request("CreatePolicy", req, cb)
|
|
1012
|
-
}
|
|
1013
|
-
|
|
1014
|
-
/**
|
|
1015
|
-
* 本接口(UpdateAssumeRolePolicy)用于修改角色信任策略的策略文档。
|
|
1016
|
-
*/
|
|
1017
|
-
async UpdateAssumeRolePolicy(
|
|
1018
|
-
req: UpdateAssumeRolePolicyRequest,
|
|
1019
|
-
cb?: (error: string, rep: UpdateAssumeRolePolicyResponse) => void
|
|
1020
|
-
): Promise<UpdateAssumeRolePolicyResponse> {
|
|
1021
|
-
return this.request("UpdateAssumeRolePolicy", req, cb)
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
/**
|
|
1025
|
-
* 本接口(DetachUserPolicy)可用于解除绑定到用户的策略。
|
|
1026
|
-
*/
|
|
1027
|
-
async DetachUserPolicy(
|
|
1028
|
-
req: DetachUserPolicyRequest,
|
|
1029
|
-
cb?: (error: string, rep: DetachUserPolicyResponse) => void
|
|
1030
|
-
): Promise<DetachUserPolicyResponse> {
|
|
1031
|
-
return this.request("DetachUserPolicy", req, cb)
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
/**
|
|
1035
|
-
* 列出用户关联的用户组
|
|
1036
|
-
*/
|
|
1037
|
-
async ListGroupsForUser(
|
|
1038
|
-
req: ListGroupsForUserRequest,
|
|
1039
|
-
cb?: (error: string, rep: ListGroupsForUserResponse) => void
|
|
1040
|
-
): Promise<ListGroupsForUserResponse> {
|
|
1041
|
-
return this.request("ListGroupsForUser", req, cb)
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
|
-
/**
|
|
221
|
+
|
|
222
|
+
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
223
|
+
super("cam.tencentcloudapi.com", "2019-01-16", clientConfig);
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* 获取用户AppId
|
|
228
|
+
*/
|
|
229
|
+
async GetUserAppId(req?: GetUserAppIdRequest, cb?: (error: string, rep: GetUserAppIdResponse) => void): Promise<GetUserAppIdResponse> {
|
|
230
|
+
return this.request("GetUserAppId", req, cb);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* 设置子用户的登录保护和敏感操作校验方式
|
|
235
|
+
*/
|
|
236
|
+
async SetMfaFlag(req: SetMfaFlagRequest, cb?: (error: string, rep: SetMfaFlagResponse) => void): Promise<SetMfaFlagResponse> {
|
|
237
|
+
return this.request("SetMfaFlag", req, cb);
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* 本接口(UpdateRoleConsoleLogin)用于修改角色是否可登录。
|
|
242
|
+
*/
|
|
243
|
+
async UpdateRoleConsoleLogin(req: UpdateRoleConsoleLoginRequest, cb?: (error: string, rep: UpdateRoleConsoleLoginResponse) => void): Promise<UpdateRoleConsoleLoginResponse> {
|
|
244
|
+
return this.request("UpdateRoleConsoleLogin", req, cb);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* 创建用户组
|
|
249
|
+
*/
|
|
250
|
+
async CreateGroup(req: CreateGroupRequest, cb?: (error: string, rep: CreateGroupResponse) => void): Promise<CreateGroupResponse> {
|
|
251
|
+
return this.request("CreateGroup", req, cb);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* 删除服务相关角色
|
|
256
|
+
*/
|
|
257
|
+
async DeleteServiceLinkedRole(req: DeleteServiceLinkedRoleRequest, cb?: (error: string, rep: DeleteServiceLinkedRoleResponse) => void): Promise<DeleteServiceLinkedRoleResponse> {
|
|
258
|
+
return this.request("DeleteServiceLinkedRole", req, cb);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* 添加子用户
|
|
263
|
+
*/
|
|
264
|
+
async AddUser(req: AddUserRequest, cb?: (error: string, rep: AddUserResponse) => void): Promise<AddUserResponse> {
|
|
265
|
+
return this.request("AddUser", req, cb);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* 创建服务相关角色
|
|
270
|
+
*/
|
|
271
|
+
async CreateServiceLinkedRole(req: CreateServiceLinkedRoleRequest, cb?: (error: string, rep: CreateServiceLinkedRoleResponse) => void): Promise<CreateServiceLinkedRoleResponse> {
|
|
272
|
+
return this.request("CreateServiceLinkedRole", req, cb);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* 查询SAML身份提供商详情
|
|
277
|
+
*/
|
|
278
|
+
async GetSAMLProvider(req: GetSAMLProviderRequest, cb?: (error: string, rep: GetSAMLProviderResponse) => void): Promise<GetSAMLProviderResponse> {
|
|
279
|
+
return this.request("GetSAMLProvider", req, cb);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* 查询SAML身份提供商列表
|
|
284
|
+
*/
|
|
285
|
+
async ListSAMLProviders(req?: ListSAMLProvidersRequest, cb?: (error: string, rep: ListSAMLProvidersResponse) => void): Promise<ListSAMLProvidersResponse> {
|
|
286
|
+
return this.request("ListSAMLProviders", req, cb);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* 本接口(CreateRole)用于创建角色。
|
|
291
|
+
*/
|
|
292
|
+
async CreateRole(req: CreateRoleRequest, cb?: (error: string, rep: CreateRoleResponse) => void): Promise<CreateRoleResponse> {
|
|
293
|
+
return this.request("CreateRole", req, cb);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* 修改用户OIDC配置
|
|
298
|
+
*/
|
|
299
|
+
async UpdateUserOIDCConfig(req: UpdateUserOIDCConfigRequest, cb?: (error: string, rep: UpdateUserOIDCConfigResponse) => void): Promise<UpdateUserOIDCConfigResponse> {
|
|
300
|
+
return this.request("UpdateUserOIDCConfig", req, cb);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* 设置角色权限边界
|
|
305
|
+
*/
|
|
306
|
+
async PutRolePermissionsBoundary(req: PutRolePermissionsBoundaryRequest, cb?: (error: string, rep: PutRolePermissionsBoundaryResponse) => void): Promise<PutRolePermissionsBoundaryResponse> {
|
|
307
|
+
return this.request("PutRolePermissionsBoundary", req, cb);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* 拉取子用户
|
|
312
|
+
*/
|
|
313
|
+
async ListUsers(req?: ListUsersRequest, cb?: (error: string, rep: ListUsersResponse) => void): Promise<ListUsersResponse> {
|
|
314
|
+
return this.request("ListUsers", req, cb);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* 本接口(ListAttachedRolePolicies)用于获取角色绑定的策略列表。
|
|
319
|
+
*/
|
|
320
|
+
async ListAttachedRolePolicies(req: ListAttachedRolePoliciesRequest, cb?: (error: string, rep: ListAttachedRolePoliciesResponse) => void): Promise<ListAttachedRolePoliciesResponse> {
|
|
321
|
+
return this.request("ListAttachedRolePolicies", req, cb);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* 本接口(DeletePolicy)可用于删除策略。
|
|
326
|
+
*/
|
|
327
|
+
async DeletePolicy(req: DeletePolicyRequest, cb?: (error: string, rep: DeletePolicyResponse) => void): Promise<DeletePolicyResponse> {
|
|
328
|
+
return this.request("DeletePolicy", req, cb);
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* 删除角色权限边界
|
|
333
|
+
*/
|
|
334
|
+
async DeleteRolePermissionsBoundary(req: DeleteRolePermissionsBoundaryRequest, cb?: (error: string, rep: DeleteRolePermissionsBoundaryResponse) => void): Promise<DeleteRolePermissionsBoundaryResponse> {
|
|
335
|
+
return this.request("DeleteRolePermissionsBoundary", req, cb);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* 查询用户SAML配置
|
|
340
|
+
*/
|
|
341
|
+
async DescribeUserSAMLConfig(req?: DescribeUserSAMLConfigRequest, cb?: (error: string, rep: DescribeUserSAMLConfigResponse) => void): Promise<DescribeUserSAMLConfigResponse> {
|
|
342
|
+
return this.request("DescribeUserSAMLConfig", req, cb);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* 本接口(DeletePolicyVersion)可用于删除一个策略的策略版本。
|
|
347
|
+
*/
|
|
348
|
+
async DeletePolicyVersion(req: DeletePolicyVersionRequest, cb?: (error: string, rep: DeletePolicyVersionResponse) => void): Promise<DeletePolicyVersionResponse> {
|
|
349
|
+
return this.request("DeletePolicyVersion", req, cb);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* 本接口(DetachRolePolicy)用于解除绑定角色的策略。
|
|
354
|
+
*/
|
|
355
|
+
async DetachRolePolicy(req: DetachRolePolicyRequest, cb?: (error: string, rep: DetachRolePolicyResponse) => void): Promise<DetachRolePolicyResponse> {
|
|
356
|
+
return this.request("DetachRolePolicy", req, cb);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* 角色绑定标签
|
|
361
|
+
*/
|
|
362
|
+
async TagRole(req: TagRoleRequest, cb?: (error: string, rep: TagRoleResponse) => void): Promise<TagRoleResponse> {
|
|
363
|
+
return this.request("TagRole", req, cb);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* 本接口(SetDefaultPolicyVersion)可用于设置生效的策略版本。
|
|
368
|
+
*/
|
|
369
|
+
async SetDefaultPolicyVersion(req: SetDefaultPolicyVersionRequest, cb?: (error: string, rep: SetDefaultPolicyVersionResponse) => void): Promise<SetDefaultPolicyVersionResponse> {
|
|
370
|
+
return this.request("SetDefaultPolicyVersion", req, cb);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* 本接口(DescribeRoleList)用于获取账号下的角色列表。
|
|
375
|
+
*/
|
|
376
|
+
async DescribeRoleList(req: DescribeRoleListRequest, cb?: (error: string, rep: DescribeRoleListResponse) => void): Promise<DescribeRoleListResponse> {
|
|
377
|
+
return this.request("DescribeRoleList", req, cb);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* 创建SAML身份提供商
|
|
382
|
+
*/
|
|
383
|
+
async CreateSAMLProvider(req: CreateSAMLProviderRequest, cb?: (error: string, rep: CreateSAMLProviderResponse) => void): Promise<CreateSAMLProviderResponse> {
|
|
384
|
+
return this.request("CreateSAMLProvider", req, cb);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* 删除SAML身份提供商
|
|
389
|
+
*/
|
|
390
|
+
async DeleteSAMLProvider(req: DeleteSAMLProviderRequest, cb?: (error: string, rep: DeleteSAMLProviderResponse) => void): Promise<DeleteSAMLProviderResponse> {
|
|
391
|
+
return this.request("DeleteSAMLProvider", req, cb);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* 更新子用户
|
|
396
|
+
*/
|
|
397
|
+
async UpdateUser(req: UpdateUserRequest, cb?: (error: string, rep: UpdateUserResponse) => void): Promise<UpdateUserResponse> {
|
|
398
|
+
return this.request("UpdateUser", req, cb);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
|
|
403
|
+
*/
|
|
404
|
+
async CreateUserOIDCConfig(req: CreateUserOIDCConfigRequest, cb?: (error: string, rep: CreateUserOIDCConfigResponse) => void): Promise<CreateUserOIDCConfigResponse> {
|
|
405
|
+
return this.request("CreateUserOIDCConfig", req, cb);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* 本接口(GetPolicy)可用于查询查看策略详情。
|
|
410
|
+
*/
|
|
411
|
+
async GetPolicy(req: GetPolicyRequest, cb?: (error: string, rep: GetPolicyResponse) => void): Promise<GetPolicyResponse> {
|
|
412
|
+
return this.request("GetPolicy", req, cb);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* 获取角色权限边界
|
|
417
|
+
*/
|
|
418
|
+
async GetRolePermissionBoundary(req: GetRolePermissionBoundaryRequest, cb?: (error: string, rep: GetRolePermissionBoundaryResponse) => void): Promise<GetRolePermissionBoundaryResponse> {
|
|
419
|
+
return this.request("GetRolePermissionBoundary", req, cb);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* 获取自定义多因子Token关联信息
|
|
424
|
+
*/
|
|
425
|
+
async GetCustomMFATokenInfo(req: GetCustomMFATokenInfoRequest, cb?: (error: string, rep: GetCustomMFATokenInfoResponse) => void): Promise<GetCustomMFATokenInfoResponse> {
|
|
426
|
+
return this.request("GetCustomMFATokenInfo", req, cb);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* 列出指定CAM用户的访问密钥
|
|
431
|
+
*/
|
|
432
|
+
async ListAccessKeys(req: ListAccessKeysRequest, cb?: (error: string, rep: ListAccessKeysResponse) => void): Promise<ListAccessKeysResponse> {
|
|
433
|
+
return this.request("ListAccessKeys", req, cb);
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* 删除用户组
|
|
438
|
+
*/
|
|
439
|
+
async DeleteGroup(req: DeleteGroupRequest, cb?: (error: string, rep: DeleteGroupResponse) => void): Promise<DeleteGroupResponse> {
|
|
440
|
+
return this.request("DeleteGroup", req, cb);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* 修改角色OIDC配置
|
|
445
|
+
*/
|
|
446
|
+
async UpdateOIDCConfig(req: UpdateOIDCConfigRequest, cb?: (error: string, rep: UpdateOIDCConfigResponse) => void): Promise<UpdateOIDCConfigResponse> {
|
|
447
|
+
return this.request("UpdateOIDCConfig", req, cb);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* 本接口(DeleteRole)用于删除指定角色。
|
|
452
|
+
*/
|
|
453
|
+
async DeleteRole(req: DeleteRoleRequest, cb?: (error: string, rep: DeleteRoleResponse) => void): Promise<DeleteRoleResponse> {
|
|
454
|
+
return this.request("DeleteRole", req, cb);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* 查询子用户
|
|
459
|
+
*/
|
|
460
|
+
async GetUser(req: GetUserRequest, cb?: (error: string, rep: GetUserResponse) => void): Promise<GetUserResponse> {
|
|
461
|
+
return this.request("GetUser", req, cb);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* 删除用户权限边界
|
|
466
|
+
*/
|
|
467
|
+
async DeleteUserPermissionsBoundary(req: DeleteUserPermissionsBoundaryRequest, cb?: (error: string, rep: DeleteUserPermissionsBoundaryResponse) => void): Promise<DeleteUserPermissionsBoundaryResponse> {
|
|
468
|
+
return this.request("DeleteUserPermissionsBoundary", req, cb);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* 查询角色OIDC配置
|
|
473
|
+
*/
|
|
474
|
+
async DescribeOIDCConfig(req: DescribeOIDCConfigRequest, cb?: (error: string, rep: DescribeOIDCConfigResponse) => void): Promise<DescribeOIDCConfigResponse> {
|
|
475
|
+
return this.request("DescribeOIDCConfig", req, cb);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* 本接口(ListAttachedGroupPolicies)可用于查询用户组关联的策略列表。
|
|
480
|
+
*/
|
|
481
|
+
async ListAttachedGroupPolicies(req: ListAttachedGroupPoliciesRequest, cb?: (error: string, rep: ListAttachedGroupPoliciesResponse) => void): Promise<ListAttachedGroupPoliciesResponse> {
|
|
482
|
+
return this.request("ListAttachedGroupPolicies", req, cb);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* 根据删除TaskId获取服务相关角色删除状态
|
|
487
|
+
*/
|
|
488
|
+
async GetServiceLinkedRoleDeletionStatus(req: GetServiceLinkedRoleDeletionStatusRequest, cb?: (error: string, rep: GetServiceLinkedRoleDeletionStatusResponse) => void): Promise<GetServiceLinkedRoleDeletionStatusResponse> {
|
|
489
|
+
return this.request("GetServiceLinkedRoleDeletionStatus", req, cb);
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* 查询用户OIDC配置
|
|
494
|
+
*/
|
|
495
|
+
async DescribeUserOIDCConfig(req?: DescribeUserOIDCConfigRequest, cb?: (error: string, rep: DescribeUserOIDCConfigResponse) => void): Promise<DescribeUserOIDCConfigResponse> {
|
|
496
|
+
return this.request("DescribeUserOIDCConfig", req, cb);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* 获取所有已授权服务
|
|
501
|
+
*/
|
|
502
|
+
async ListPoliciesGrantingServiceAccess(req: ListPoliciesGrantingServiceAccessRequest, cb?: (error: string, rep: ListPoliciesGrantingServiceAccessResponse) => void): Promise<ListPoliciesGrantingServiceAccessResponse> {
|
|
503
|
+
return this.request("ListPoliciesGrantingServiceAccess", req, cb);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* 验证自定义多因子Token
|
|
508
|
+
*/
|
|
509
|
+
async ConsumeCustomMFAToken(req: ConsumeCustomMFATokenRequest, cb?: (error: string, rep: ConsumeCustomMFATokenResponse) => void): Promise<ConsumeCustomMFATokenResponse> {
|
|
510
|
+
return this.request("ConsumeCustomMFAToken", req, cb);
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* 创建角色OIDC配置
|
|
515
|
+
*/
|
|
516
|
+
async CreateOIDCConfig(req: CreateOIDCConfigRequest, cb?: (error: string, rep: CreateOIDCConfigResponse) => void): Promise<CreateOIDCConfigResponse> {
|
|
517
|
+
return this.request("CreateOIDCConfig", req, cb);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* 该接口(GetPolicyVersion)用于查询策略版本详情
|
|
522
|
+
*/
|
|
523
|
+
async GetPolicyVersion(req: GetPolicyVersionRequest, cb?: (error: string, rep: GetPolicyVersionResponse) => void): Promise<GetPolicyVersionResponse> {
|
|
524
|
+
return this.request("GetPolicyVersion", req, cb);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* 列出用户关联的策略(包括随组关联)
|
|
529
|
+
*/
|
|
530
|
+
async ListAttachedUserAllPolicies(req: ListAttachedUserAllPoliciesRequest, cb?: (error: string, rep: ListAttachedUserAllPoliciesResponse) => void): Promise<ListAttachedUserAllPoliciesResponse> {
|
|
531
|
+
return this.request("ListAttachedUserAllPolicies", req, cb);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* 获取用户权限边界
|
|
536
|
+
*/
|
|
537
|
+
async GetUserPermissionBoundary(req: GetUserPermissionBoundaryRequest, cb?: (error: string, rep: GetUserPermissionBoundaryResponse) => void): Promise<GetUserPermissionBoundaryResponse> {
|
|
538
|
+
return this.request("GetUserPermissionBoundary", req, cb);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* 创建用户SAML配置
|
|
543
|
+
*/
|
|
544
|
+
async CreateUserSAMLConfig(req: CreateUserSAMLConfigRequest, cb?: (error: string, rep: CreateUserSAMLConfigResponse) => void): Promise<CreateUserSAMLConfigResponse> {
|
|
545
|
+
return this.request("CreateUserSAMLConfig", req, cb);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* 更新SAML身份提供商信息
|
|
550
|
+
*/
|
|
551
|
+
async UpdateSAMLProvider(req: UpdateSAMLProviderRequest, cb?: (error: string, rep: UpdateSAMLProviderResponse) => void): Promise<UpdateSAMLProviderResponse> {
|
|
552
|
+
return this.request("UpdateSAMLProvider", req, cb);
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* 查询用户组列表
|
|
557
|
+
*/
|
|
558
|
+
async ListGroups(req: ListGroupsRequest, cb?: (error: string, rep: ListGroupsResponse) => void): Promise<ListGroupsResponse> {
|
|
559
|
+
return this.request("ListGroups", req, cb);
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* 用户加入到用户组
|
|
564
|
+
*/
|
|
565
|
+
async AddUserToGroup(req: AddUserToGroupRequest, cb?: (error: string, rep: AddUserToGroupResponse) => void): Promise<AddUserToGroupResponse> {
|
|
566
|
+
return this.request("AddUserToGroup", req, cb);
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* 本接口(AttachRolePolicy)用于绑定策略到角色。
|
|
571
|
+
*/
|
|
572
|
+
async AttachRolePolicy(req: AttachRolePolicyRequest, cb?: (error: string, rep: AttachRolePolicyResponse) => void): Promise<AttachRolePolicyResponse> {
|
|
573
|
+
return this.request("AttachRolePolicy", req, cb);
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* 查询安全设置
|
|
578
|
+
*/
|
|
579
|
+
async DescribeSafeAuthFlagColl(req: DescribeSafeAuthFlagCollRequest, cb?: (error: string, rep: DescribeSafeAuthFlagCollResponse) => void): Promise<DescribeSafeAuthFlagCollResponse> {
|
|
580
|
+
return this.request("DescribeSafeAuthFlagColl", req, cb);
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* 查询账户摘要
|
|
585
|
+
*/
|
|
586
|
+
async GetAccountSummary(req?: GetAccountSummaryRequest, cb?: (error: string, rep: GetAccountSummaryResponse) => void): Promise<GetAccountSummaryResponse> {
|
|
587
|
+
return this.request("GetAccountSummary", req, cb);
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* 角色解绑标签。
|
|
592
|
+
*/
|
|
593
|
+
async UntagRole(req: UntagRoleRequest, cb?: (error: string, rep: UntagRoleResponse) => void): Promise<UntagRoleResponse> {
|
|
594
|
+
return this.request("UntagRole", req, cb);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* 该接口(ListPolicyVersions)用于获取策略版本列表
|
|
599
|
+
*/
|
|
600
|
+
async ListPolicyVersions(req: ListPolicyVersionsRequest, cb?: (error: string, rep: ListPolicyVersionsResponse) => void): Promise<ListPolicyVersionsResponse> {
|
|
601
|
+
return this.request("ListPolicyVersions", req, cb);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* 查询用户安全设置
|
|
606
|
+
*/
|
|
607
|
+
async DescribeSafeAuthFlag(req?: DescribeSafeAuthFlagRequest, cb?: (error: string, rep: DescribeSafeAuthFlagResponse) => void): Promise<DescribeSafeAuthFlagResponse> {
|
|
608
|
+
return this.request("DescribeSafeAuthFlag", req, cb);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* 查询安全设置(国际站)
|
|
613
|
+
*/
|
|
614
|
+
async DescribeSafeAuthFlagIntl(req?: DescribeSafeAuthFlagIntlRequest, cb?: (error: string, rep: DescribeSafeAuthFlagIntlResponse) => void): Promise<DescribeSafeAuthFlagIntlResponse> {
|
|
615
|
+
return this.request("DescribeSafeAuthFlagIntl", req, cb);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* 更新用户组
|
|
620
|
+
*/
|
|
621
|
+
async UpdateGroup(req: UpdateGroupRequest, cb?: (error: string, rep: UpdateGroupResponse) => void): Promise<UpdateGroupResponse> {
|
|
622
|
+
return this.request("UpdateGroup", req, cb);
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* 本接口(GetRole)用于获取指定角色的详细信息。
|
|
627
|
+
*/
|
|
628
|
+
async GetRole(req: GetRoleRequest, cb?: (error: string, rep: GetRoleResponse) => void): Promise<GetRoleResponse> {
|
|
629
|
+
return this.request("GetRole", req, cb);
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* 本接口(UpdateRoleDescription)用于修改角色的描述信息。
|
|
634
|
+
*/
|
|
635
|
+
async UpdateRoleDescription(req: UpdateRoleDescriptionRequest, cb?: (error: string, rep: UpdateRoleDescriptionResponse) => void): Promise<UpdateRoleDescriptionResponse> {
|
|
636
|
+
return this.request("UpdateRoleDescription", req, cb);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* 本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
|
|
641
|
+
*/
|
|
642
|
+
async ListEntitiesForPolicy(req: ListEntitiesForPolicyRequest, cb?: (error: string, rep: ListEntitiesForPolicyResponse) => void): Promise<ListEntitiesForPolicyResponse> {
|
|
643
|
+
return this.request("ListEntitiesForPolicy", req, cb);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* 本接口(ListAttachedUserPolicies)可用于查询子账号关联的策略列表。
|
|
648
|
+
*/
|
|
649
|
+
async ListAttachedUserPolicies(req: ListAttachedUserPoliciesRequest, cb?: (error: string, rep: ListAttachedUserPoliciesResponse) => void): Promise<ListAttachedUserPoliciesResponse> {
|
|
650
|
+
return this.request("ListAttachedUserPolicies", req, cb);
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* 删除子用户
|
|
655
|
+
*/
|
|
656
|
+
async DeleteUser(req: DeleteUserRequest, cb?: (error: string, rep: DeleteUserResponse) => void): Promise<DeleteUserResponse> {
|
|
657
|
+
return this.request("DeleteUser", req, cb);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* 修改用户SAML配置
|
|
662
|
+
*/
|
|
663
|
+
async UpdateUserSAMLConfig(req: UpdateUserSAMLConfigRequest, cb?: (error: string, rep: UpdateUserSAMLConfigResponse) => void): Promise<UpdateUserSAMLConfigResponse> {
|
|
664
|
+
return this.request("UpdateUserSAMLConfig", req, cb);
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* 该接口(CreatePolicyVersion)用于新增策略版本,用户创建了一个策略版本之后可以方便的通过变更策略版本的方式来变更策略。
|
|
669
|
+
*/
|
|
670
|
+
async CreatePolicyVersion(req: CreatePolicyVersionRequest, cb?: (error: string, rep: CreatePolicyVersionResponse) => void): Promise<CreatePolicyVersionResponse> {
|
|
671
|
+
return this.request("CreatePolicyVersion", req, cb);
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* 获取协作者列表
|
|
676
|
+
*/
|
|
677
|
+
async ListCollaborators(req: ListCollaboratorsRequest, cb?: (error: string, rep: ListCollaboratorsResponse) => void): Promise<ListCollaboratorsResponse> {
|
|
678
|
+
return this.request("ListCollaborators", req, cb);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* 本接口(DetachGroupPolicy)可用于解除绑定到用户组的策略。
|
|
683
|
+
*/
|
|
684
|
+
async DetachGroupPolicy(req: DetachGroupPolicyRequest, cb?: (error: string, rep: DetachGroupPolicyResponse) => void): Promise<DetachGroupPolicyResponse> {
|
|
685
|
+
return this.request("DetachGroupPolicy", req, cb);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* 通过子用户UIN列表查询子用户
|
|
690
|
+
*/
|
|
691
|
+
async DescribeSubAccounts(req: DescribeSubAccountsRequest, cb?: (error: string, rep: DescribeSubAccountsResponse) => void): Promise<DescribeSubAccountsResponse> {
|
|
692
|
+
return this.request("DescribeSubAccounts", req, cb);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* 从用户组删除用户
|
|
697
|
+
*/
|
|
698
|
+
async RemoveUserFromGroup(req: RemoveUserFromGroupRequest, cb?: (error: string, rep: RemoveUserFromGroupResponse) => void): Promise<RemoveUserFromGroupResponse> {
|
|
699
|
+
return this.request("RemoveUserFromGroup", req, cb);
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* 本接口(ListPolicies)可用于查询策略列表。
|
|
704
|
+
*/
|
|
705
|
+
async ListPolicies(req: ListPoliciesRequest, cb?: (error: string, rep: ListPoliciesResponse) => void): Promise<ListPoliciesResponse> {
|
|
706
|
+
return this.request("ListPolicies", req, cb);
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* 查询用户组关联的用户列表
|
|
711
|
+
*/
|
|
712
|
+
async ListUsersForGroup(req: ListUsersForGroupRequest, cb?: (error: string, rep: ListUsersForGroupResponse) => void): Promise<ListUsersForGroupResponse> {
|
|
713
|
+
return this.request("ListUsersForGroup", req, cb);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* 本接口(AttachUserPolicy)可用于绑定到用户的策略。
|
|
718
|
+
*/
|
|
719
|
+
async AttachUserPolicy(req: AttachUserPolicyRequest, cb?: (error: string, rep: AttachUserPolicyResponse) => void): Promise<AttachUserPolicyResponse> {
|
|
720
|
+
return this.request("AttachUserPolicy", req, cb);
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* 查询用户组详情
|
|
725
|
+
*/
|
|
726
|
+
async GetGroup(req: GetGroupRequest, cb?: (error: string, rep: GetGroupResponse) => void): Promise<GetGroupResponse> {
|
|
727
|
+
return this.request("GetGroup", req, cb);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* 删除OIDC身份提供商
|
|
732
|
+
*/
|
|
733
|
+
async DeleteOIDCConfig(req: DeleteOIDCConfigRequest, cb?: (error: string, rep: DeleteOIDCConfigResponse) => void): Promise<DeleteOIDCConfigResponse> {
|
|
734
|
+
return this.request("DeleteOIDCConfig", req, cb);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* 获取企业微信子用户列表
|
|
739
|
+
*/
|
|
740
|
+
async ListWeChatWorkSubAccounts(req: ListWeChatWorkSubAccountsRequest, cb?: (error: string, rep: ListWeChatWorkSubAccountsResponse) => void): Promise<ListWeChatWorkSubAccountsResponse> {
|
|
741
|
+
return this.request("ListWeChatWorkSubAccounts", req, cb);
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* 获取密钥最近使用情况
|
|
746
|
+
*/
|
|
747
|
+
async GetSecurityLastUsed(req: GetSecurityLastUsedRequest, cb?: (error: string, rep: GetSecurityLastUsedResponse) => void): Promise<GetSecurityLastUsedResponse> {
|
|
748
|
+
return this.request("GetSecurityLastUsed", req, cb);
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* 本接口(AttachGroupPolicy)可用于绑定策略到用户组。
|
|
753
|
+
*/
|
|
754
|
+
async AttachGroupPolicy(req: AttachGroupPolicyRequest, cb?: (error: string, rep: AttachGroupPolicyResponse) => void): Promise<AttachGroupPolicyResponse> {
|
|
755
|
+
return this.request("AttachGroupPolicy", req, cb);
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* 禁用用户SSO
|
|
760
|
+
*/
|
|
761
|
+
async DisableUserSSO(req?: DisableUserSSORequest, cb?: (error: string, rep: DisableUserSSOResponse) => void): Promise<DisableUserSSOResponse> {
|
|
762
|
+
return this.request("DisableUserSSO", req, cb);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* 设置用户权限边界
|
|
767
|
+
*/
|
|
768
|
+
async PutUserPermissionsBoundary(req: PutUserPermissionsBoundaryRequest, cb?: (error: string, rep: PutUserPermissionsBoundaryResponse) => void): Promise<PutUserPermissionsBoundaryResponse> {
|
|
769
|
+
return this.request("PutUserPermissionsBoundary", req, cb);
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* 本接口(CreatePolicy)可用于创建策略。
|
|
774
|
+
*/
|
|
775
|
+
async CreatePolicy(req: CreatePolicyRequest, cb?: (error: string, rep: CreatePolicyResponse) => void): Promise<CreatePolicyResponse> {
|
|
776
|
+
return this.request("CreatePolicy", req, cb);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* 本接口(UpdateAssumeRolePolicy)用于修改角色信任策略的策略文档。
|
|
781
|
+
*/
|
|
782
|
+
async UpdateAssumeRolePolicy(req: UpdateAssumeRolePolicyRequest, cb?: (error: string, rep: UpdateAssumeRolePolicyResponse) => void): Promise<UpdateAssumeRolePolicyResponse> {
|
|
783
|
+
return this.request("UpdateAssumeRolePolicy", req, cb);
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* 本接口(DetachUserPolicy)可用于解除绑定到用户的策略。
|
|
788
|
+
*/
|
|
789
|
+
async DetachUserPolicy(req: DetachUserPolicyRequest, cb?: (error: string, rep: DetachUserPolicyResponse) => void): Promise<DetachUserPolicyResponse> {
|
|
790
|
+
return this.request("DetachUserPolicy", req, cb);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* 列出用户关联的用户组
|
|
795
|
+
*/
|
|
796
|
+
async ListGroupsForUser(req: ListGroupsForUserRequest, cb?: (error: string, rep: ListGroupsForUserResponse) => void): Promise<ListGroupsForUserResponse> {
|
|
797
|
+
return this.request("ListGroupsForUser", req, cb);
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
/**
|
|
1045
801
|
* 本接口(UpdatePolicy )可用于更新策略。
|
|
1046
802
|
如果已存在策略版本,本接口会直接更新策略的默认版本,不会创建新版本,如果不存在任何策略版本,则直接创建一个默认版本。
|
|
1047
803
|
*/
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
}
|
|
804
|
+
async UpdatePolicy(req: UpdatePolicyRequest, cb?: (error: string, rep: UpdatePolicyResponse) => void): Promise<UpdatePolicyResponse> {
|
|
805
|
+
return this.request("UpdatePolicy", req, cb);
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
|
|
1054
809
|
}
|