tencentcloud-sdk-nodejs-cam 4.0.431 → 4.0.434
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 +251 -1
- package/SERVICE_CHANGELOG.md +162 -62
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/services/cam/index.ts +4 -7
- package/src/services/cam/v20190116/cam_client.ts +1024 -779
- package/src/services/cam/v20190116/cam_models.ts +2417 -2602
- 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,200 +17,199 @@
|
|
|
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
|
-
|
|
213
|
-
|
|
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,
|
|
214
213
|
} from "./cam_models"
|
|
215
214
|
|
|
216
215
|
/**
|
|
@@ -218,592 +217,838 @@ import {
|
|
|
218
217
|
* @class
|
|
219
218
|
*/
|
|
220
219
|
export class Client extends TencentCloudCommon.AbstractClient {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
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
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
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
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
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
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
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
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
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
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
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
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
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
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
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
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
220
|
+
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
221
|
+
super("cam.tencentcloudapi.com", "2019-01-16", clientConfig)
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* 获取用户AppId
|
|
226
|
+
*/
|
|
227
|
+
async GetUserAppId(
|
|
228
|
+
req?: GetUserAppIdRequest,
|
|
229
|
+
cb?: (error: string, rep: GetUserAppIdResponse) => void
|
|
230
|
+
): Promise<GetUserAppIdResponse> {
|
|
231
|
+
return this.request("GetUserAppId", req, cb)
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* 设置子用户的登录保护和敏感操作校验方式
|
|
236
|
+
*/
|
|
237
|
+
async SetMfaFlag(
|
|
238
|
+
req: SetMfaFlagRequest,
|
|
239
|
+
cb?: (error: string, rep: SetMfaFlagResponse) => void
|
|
240
|
+
): Promise<SetMfaFlagResponse> {
|
|
241
|
+
return this.request("SetMfaFlag", req, cb)
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* 本接口(UpdateRoleConsoleLogin)用于修改角色是否可登录。
|
|
246
|
+
*/
|
|
247
|
+
async UpdateRoleConsoleLogin(
|
|
248
|
+
req: UpdateRoleConsoleLoginRequest,
|
|
249
|
+
cb?: (error: string, rep: UpdateRoleConsoleLoginResponse) => void
|
|
250
|
+
): Promise<UpdateRoleConsoleLoginResponse> {
|
|
251
|
+
return this.request("UpdateRoleConsoleLogin", req, cb)
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* 创建用户组
|
|
256
|
+
*/
|
|
257
|
+
async CreateGroup(
|
|
258
|
+
req: CreateGroupRequest,
|
|
259
|
+
cb?: (error: string, rep: CreateGroupResponse) => void
|
|
260
|
+
): Promise<CreateGroupResponse> {
|
|
261
|
+
return this.request("CreateGroup", req, cb)
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* 删除服务相关角色
|
|
266
|
+
*/
|
|
267
|
+
async DeleteServiceLinkedRole(
|
|
268
|
+
req: DeleteServiceLinkedRoleRequest,
|
|
269
|
+
cb?: (error: string, rep: DeleteServiceLinkedRoleResponse) => void
|
|
270
|
+
): Promise<DeleteServiceLinkedRoleResponse> {
|
|
271
|
+
return this.request("DeleteServiceLinkedRole", req, cb)
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* 添加子用户
|
|
276
|
+
*/
|
|
277
|
+
async AddUser(
|
|
278
|
+
req: AddUserRequest,
|
|
279
|
+
cb?: (error: string, rep: AddUserResponse) => void
|
|
280
|
+
): Promise<AddUserResponse> {
|
|
281
|
+
return this.request("AddUser", req, cb)
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* 创建服务相关角色
|
|
286
|
+
*/
|
|
287
|
+
async CreateServiceLinkedRole(
|
|
288
|
+
req: CreateServiceLinkedRoleRequest,
|
|
289
|
+
cb?: (error: string, rep: CreateServiceLinkedRoleResponse) => void
|
|
290
|
+
): Promise<CreateServiceLinkedRoleResponse> {
|
|
291
|
+
return this.request("CreateServiceLinkedRole", req, cb)
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* 查询SAML身份提供商详情
|
|
296
|
+
*/
|
|
297
|
+
async GetSAMLProvider(
|
|
298
|
+
req: GetSAMLProviderRequest,
|
|
299
|
+
cb?: (error: string, rep: GetSAMLProviderResponse) => void
|
|
300
|
+
): Promise<GetSAMLProviderResponse> {
|
|
301
|
+
return this.request("GetSAMLProvider", req, cb)
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* 查询SAML身份提供商列表
|
|
306
|
+
*/
|
|
307
|
+
async ListSAMLProviders(
|
|
308
|
+
req?: ListSAMLProvidersRequest,
|
|
309
|
+
cb?: (error: string, rep: ListSAMLProvidersResponse) => void
|
|
310
|
+
): Promise<ListSAMLProvidersResponse> {
|
|
311
|
+
return this.request("ListSAMLProviders", req, cb)
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* 本接口(CreateRole)用于创建角色。
|
|
316
|
+
*/
|
|
317
|
+
async CreateRole(
|
|
318
|
+
req: CreateRoleRequest,
|
|
319
|
+
cb?: (error: string, rep: CreateRoleResponse) => void
|
|
320
|
+
): Promise<CreateRoleResponse> {
|
|
321
|
+
return this.request("CreateRole", req, cb)
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* 修改用户OIDC配置
|
|
326
|
+
*/
|
|
327
|
+
async UpdateUserOIDCConfig(
|
|
328
|
+
req: UpdateUserOIDCConfigRequest,
|
|
329
|
+
cb?: (error: string, rep: UpdateUserOIDCConfigResponse) => void
|
|
330
|
+
): Promise<UpdateUserOIDCConfigResponse> {
|
|
331
|
+
return this.request("UpdateUserOIDCConfig", req, cb)
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* 设置角色权限边界
|
|
336
|
+
*/
|
|
337
|
+
async PutRolePermissionsBoundary(
|
|
338
|
+
req: PutRolePermissionsBoundaryRequest,
|
|
339
|
+
cb?: (error: string, rep: PutRolePermissionsBoundaryResponse) => void
|
|
340
|
+
): Promise<PutRolePermissionsBoundaryResponse> {
|
|
341
|
+
return this.request("PutRolePermissionsBoundary", req, cb)
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* 拉取子用户
|
|
346
|
+
*/
|
|
347
|
+
async ListUsers(
|
|
348
|
+
req?: ListUsersRequest,
|
|
349
|
+
cb?: (error: string, rep: ListUsersResponse) => void
|
|
350
|
+
): Promise<ListUsersResponse> {
|
|
351
|
+
return this.request("ListUsers", req, cb)
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* 本接口(ListAttachedRolePolicies)用于获取角色绑定的策略列表。
|
|
356
|
+
*/
|
|
357
|
+
async ListAttachedRolePolicies(
|
|
358
|
+
req: ListAttachedRolePoliciesRequest,
|
|
359
|
+
cb?: (error: string, rep: ListAttachedRolePoliciesResponse) => void
|
|
360
|
+
): Promise<ListAttachedRolePoliciesResponse> {
|
|
361
|
+
return this.request("ListAttachedRolePolicies", req, cb)
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* 本接口(DeletePolicy)可用于删除策略。
|
|
366
|
+
*/
|
|
367
|
+
async DeletePolicy(
|
|
368
|
+
req: DeletePolicyRequest,
|
|
369
|
+
cb?: (error: string, rep: DeletePolicyResponse) => void
|
|
370
|
+
): Promise<DeletePolicyResponse> {
|
|
371
|
+
return this.request("DeletePolicy", req, cb)
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* 删除角色权限边界
|
|
376
|
+
*/
|
|
377
|
+
async DeleteRolePermissionsBoundary(
|
|
378
|
+
req: DeleteRolePermissionsBoundaryRequest,
|
|
379
|
+
cb?: (error: string, rep: DeleteRolePermissionsBoundaryResponse) => void
|
|
380
|
+
): Promise<DeleteRolePermissionsBoundaryResponse> {
|
|
381
|
+
return this.request("DeleteRolePermissionsBoundary", req, cb)
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* 查询用户SAML配置
|
|
386
|
+
*/
|
|
387
|
+
async DescribeUserSAMLConfig(
|
|
388
|
+
req?: DescribeUserSAMLConfigRequest,
|
|
389
|
+
cb?: (error: string, rep: DescribeUserSAMLConfigResponse) => void
|
|
390
|
+
): Promise<DescribeUserSAMLConfigResponse> {
|
|
391
|
+
return this.request("DescribeUserSAMLConfig", req, cb)
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* 本接口(DeletePolicyVersion)可用于删除一个策略的策略版本。
|
|
396
|
+
*/
|
|
397
|
+
async DeletePolicyVersion(
|
|
398
|
+
req: DeletePolicyVersionRequest,
|
|
399
|
+
cb?: (error: string, rep: DeletePolicyVersionResponse) => void
|
|
400
|
+
): Promise<DeletePolicyVersionResponse> {
|
|
401
|
+
return this.request("DeletePolicyVersion", req, cb)
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* 本接口(DetachRolePolicy)用于解除绑定角色的策略。
|
|
406
|
+
*/
|
|
407
|
+
async DetachRolePolicy(
|
|
408
|
+
req: DetachRolePolicyRequest,
|
|
409
|
+
cb?: (error: string, rep: DetachRolePolicyResponse) => void
|
|
410
|
+
): Promise<DetachRolePolicyResponse> {
|
|
411
|
+
return this.request("DetachRolePolicy", req, cb)
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* 角色绑定标签
|
|
416
|
+
*/
|
|
417
|
+
async TagRole(
|
|
418
|
+
req: TagRoleRequest,
|
|
419
|
+
cb?: (error: string, rep: TagRoleResponse) => void
|
|
420
|
+
): Promise<TagRoleResponse> {
|
|
421
|
+
return this.request("TagRole", req, cb)
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* 本接口(SetDefaultPolicyVersion)可用于设置生效的策略版本。
|
|
426
|
+
*/
|
|
427
|
+
async SetDefaultPolicyVersion(
|
|
428
|
+
req: SetDefaultPolicyVersionRequest,
|
|
429
|
+
cb?: (error: string, rep: SetDefaultPolicyVersionResponse) => void
|
|
430
|
+
): Promise<SetDefaultPolicyVersionResponse> {
|
|
431
|
+
return this.request("SetDefaultPolicyVersion", req, cb)
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* 本接口(DescribeRoleList)用于获取账号下的角色列表。
|
|
436
|
+
*/
|
|
437
|
+
async DescribeRoleList(
|
|
438
|
+
req: DescribeRoleListRequest,
|
|
439
|
+
cb?: (error: string, rep: DescribeRoleListResponse) => void
|
|
440
|
+
): Promise<DescribeRoleListResponse> {
|
|
441
|
+
return this.request("DescribeRoleList", req, cb)
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* 创建SAML身份提供商
|
|
446
|
+
*/
|
|
447
|
+
async CreateSAMLProvider(
|
|
448
|
+
req: CreateSAMLProviderRequest,
|
|
449
|
+
cb?: (error: string, rep: CreateSAMLProviderResponse) => void
|
|
450
|
+
): Promise<CreateSAMLProviderResponse> {
|
|
451
|
+
return this.request("CreateSAMLProvider", req, cb)
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* 删除SAML身份提供商
|
|
456
|
+
*/
|
|
457
|
+
async DeleteSAMLProvider(
|
|
458
|
+
req: DeleteSAMLProviderRequest,
|
|
459
|
+
cb?: (error: string, rep: DeleteSAMLProviderResponse) => void
|
|
460
|
+
): Promise<DeleteSAMLProviderResponse> {
|
|
461
|
+
return this.request("DeleteSAMLProvider", req, cb)
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* 更新子用户
|
|
466
|
+
*/
|
|
467
|
+
async UpdateUser(
|
|
468
|
+
req: UpdateUserRequest,
|
|
469
|
+
cb?: (error: string, rep: UpdateUserResponse) => void
|
|
470
|
+
): Promise<UpdateUserResponse> {
|
|
471
|
+
return this.request("UpdateUser", req, cb)
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
|
|
476
|
+
*/
|
|
477
|
+
async CreateUserOIDCConfig(
|
|
478
|
+
req: CreateUserOIDCConfigRequest,
|
|
479
|
+
cb?: (error: string, rep: CreateUserOIDCConfigResponse) => void
|
|
480
|
+
): Promise<CreateUserOIDCConfigResponse> {
|
|
481
|
+
return this.request("CreateUserOIDCConfig", req, cb)
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* 本接口(GetPolicy)可用于查询查看策略详情。
|
|
486
|
+
*/
|
|
487
|
+
async GetPolicy(
|
|
488
|
+
req: GetPolicyRequest,
|
|
489
|
+
cb?: (error: string, rep: GetPolicyResponse) => void
|
|
490
|
+
): Promise<GetPolicyResponse> {
|
|
491
|
+
return this.request("GetPolicy", req, cb)
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* 获取角色权限边界
|
|
496
|
+
*/
|
|
497
|
+
async GetRolePermissionBoundary(
|
|
498
|
+
req: GetRolePermissionBoundaryRequest,
|
|
499
|
+
cb?: (error: string, rep: GetRolePermissionBoundaryResponse) => void
|
|
500
|
+
): Promise<GetRolePermissionBoundaryResponse> {
|
|
501
|
+
return this.request("GetRolePermissionBoundary", req, cb)
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* 获取自定义多因子Token关联信息
|
|
506
|
+
*/
|
|
507
|
+
async GetCustomMFATokenInfo(
|
|
508
|
+
req: GetCustomMFATokenInfoRequest,
|
|
509
|
+
cb?: (error: string, rep: GetCustomMFATokenInfoResponse) => void
|
|
510
|
+
): Promise<GetCustomMFATokenInfoResponse> {
|
|
511
|
+
return this.request("GetCustomMFATokenInfo", req, cb)
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* 列出指定CAM用户的访问密钥
|
|
516
|
+
*/
|
|
517
|
+
async ListAccessKeys(
|
|
518
|
+
req: ListAccessKeysRequest,
|
|
519
|
+
cb?: (error: string, rep: ListAccessKeysResponse) => void
|
|
520
|
+
): Promise<ListAccessKeysResponse> {
|
|
521
|
+
return this.request("ListAccessKeys", req, cb)
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* 删除用户组
|
|
526
|
+
*/
|
|
527
|
+
async DeleteGroup(
|
|
528
|
+
req: DeleteGroupRequest,
|
|
529
|
+
cb?: (error: string, rep: DeleteGroupResponse) => void
|
|
530
|
+
): Promise<DeleteGroupResponse> {
|
|
531
|
+
return this.request("DeleteGroup", req, cb)
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
/**
|
|
535
|
+
* 修改角色OIDC配置
|
|
536
|
+
*/
|
|
537
|
+
async UpdateOIDCConfig(
|
|
538
|
+
req: UpdateOIDCConfigRequest,
|
|
539
|
+
cb?: (error: string, rep: UpdateOIDCConfigResponse) => void
|
|
540
|
+
): Promise<UpdateOIDCConfigResponse> {
|
|
541
|
+
return this.request("UpdateOIDCConfig", req, cb)
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* 本接口(DeleteRole)用于删除指定角色。
|
|
546
|
+
*/
|
|
547
|
+
async DeleteRole(
|
|
548
|
+
req: DeleteRoleRequest,
|
|
549
|
+
cb?: (error: string, rep: DeleteRoleResponse) => void
|
|
550
|
+
): Promise<DeleteRoleResponse> {
|
|
551
|
+
return this.request("DeleteRole", req, cb)
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* 查询子用户
|
|
556
|
+
*/
|
|
557
|
+
async GetUser(
|
|
558
|
+
req: GetUserRequest,
|
|
559
|
+
cb?: (error: string, rep: GetUserResponse) => void
|
|
560
|
+
): Promise<GetUserResponse> {
|
|
561
|
+
return this.request("GetUser", req, cb)
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* 删除用户权限边界
|
|
566
|
+
*/
|
|
567
|
+
async DeleteUserPermissionsBoundary(
|
|
568
|
+
req: DeleteUserPermissionsBoundaryRequest,
|
|
569
|
+
cb?: (error: string, rep: DeleteUserPermissionsBoundaryResponse) => void
|
|
570
|
+
): Promise<DeleteUserPermissionsBoundaryResponse> {
|
|
571
|
+
return this.request("DeleteUserPermissionsBoundary", req, cb)
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* 查询角色OIDC配置
|
|
576
|
+
*/
|
|
577
|
+
async DescribeOIDCConfig(
|
|
578
|
+
req: DescribeOIDCConfigRequest,
|
|
579
|
+
cb?: (error: string, rep: DescribeOIDCConfigResponse) => void
|
|
580
|
+
): Promise<DescribeOIDCConfigResponse> {
|
|
581
|
+
return this.request("DescribeOIDCConfig", req, cb)
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* 本接口(ListAttachedGroupPolicies)可用于查询用户组关联的策略列表。
|
|
586
|
+
*/
|
|
587
|
+
async ListAttachedGroupPolicies(
|
|
588
|
+
req: ListAttachedGroupPoliciesRequest,
|
|
589
|
+
cb?: (error: string, rep: ListAttachedGroupPoliciesResponse) => void
|
|
590
|
+
): Promise<ListAttachedGroupPoliciesResponse> {
|
|
591
|
+
return this.request("ListAttachedGroupPolicies", req, cb)
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* 根据删除TaskId获取服务相关角色删除状态
|
|
596
|
+
*/
|
|
597
|
+
async GetServiceLinkedRoleDeletionStatus(
|
|
598
|
+
req: GetServiceLinkedRoleDeletionStatusRequest,
|
|
599
|
+
cb?: (error: string, rep: GetServiceLinkedRoleDeletionStatusResponse) => void
|
|
600
|
+
): Promise<GetServiceLinkedRoleDeletionStatusResponse> {
|
|
601
|
+
return this.request("GetServiceLinkedRoleDeletionStatus", req, cb)
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* 查询用户OIDC配置
|
|
606
|
+
*/
|
|
607
|
+
async DescribeUserOIDCConfig(
|
|
608
|
+
req?: DescribeUserOIDCConfigRequest,
|
|
609
|
+
cb?: (error: string, rep: DescribeUserOIDCConfigResponse) => void
|
|
610
|
+
): Promise<DescribeUserOIDCConfigResponse> {
|
|
611
|
+
return this.request("DescribeUserOIDCConfig", req, cb)
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* 获取所有已授权服务
|
|
616
|
+
*/
|
|
617
|
+
async ListPoliciesGrantingServiceAccess(
|
|
618
|
+
req: ListPoliciesGrantingServiceAccessRequest,
|
|
619
|
+
cb?: (error: string, rep: ListPoliciesGrantingServiceAccessResponse) => void
|
|
620
|
+
): Promise<ListPoliciesGrantingServiceAccessResponse> {
|
|
621
|
+
return this.request("ListPoliciesGrantingServiceAccess", req, cb)
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* 验证自定义多因子Token
|
|
626
|
+
*/
|
|
627
|
+
async ConsumeCustomMFAToken(
|
|
628
|
+
req: ConsumeCustomMFATokenRequest,
|
|
629
|
+
cb?: (error: string, rep: ConsumeCustomMFATokenResponse) => void
|
|
630
|
+
): Promise<ConsumeCustomMFATokenResponse> {
|
|
631
|
+
return this.request("ConsumeCustomMFAToken", req, cb)
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* 创建角色OIDC配置
|
|
636
|
+
*/
|
|
637
|
+
async CreateOIDCConfig(
|
|
638
|
+
req: CreateOIDCConfigRequest,
|
|
639
|
+
cb?: (error: string, rep: CreateOIDCConfigResponse) => void
|
|
640
|
+
): Promise<CreateOIDCConfigResponse> {
|
|
641
|
+
return this.request("CreateOIDCConfig", req, cb)
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* 该接口(GetPolicyVersion)用于查询策略版本详情
|
|
646
|
+
*/
|
|
647
|
+
async GetPolicyVersion(
|
|
648
|
+
req: GetPolicyVersionRequest,
|
|
649
|
+
cb?: (error: string, rep: GetPolicyVersionResponse) => void
|
|
650
|
+
): Promise<GetPolicyVersionResponse> {
|
|
651
|
+
return this.request("GetPolicyVersion", req, cb)
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* 列出用户关联的策略(包括随组关联)
|
|
656
|
+
*/
|
|
657
|
+
async ListAttachedUserAllPolicies(
|
|
658
|
+
req: ListAttachedUserAllPoliciesRequest,
|
|
659
|
+
cb?: (error: string, rep: ListAttachedUserAllPoliciesResponse) => void
|
|
660
|
+
): Promise<ListAttachedUserAllPoliciesResponse> {
|
|
661
|
+
return this.request("ListAttachedUserAllPolicies", req, cb)
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* 获取用户权限边界
|
|
666
|
+
*/
|
|
667
|
+
async GetUserPermissionBoundary(
|
|
668
|
+
req: GetUserPermissionBoundaryRequest,
|
|
669
|
+
cb?: (error: string, rep: GetUserPermissionBoundaryResponse) => void
|
|
670
|
+
): Promise<GetUserPermissionBoundaryResponse> {
|
|
671
|
+
return this.request("GetUserPermissionBoundary", req, cb)
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* 创建用户SAML配置
|
|
676
|
+
*/
|
|
677
|
+
async CreateUserSAMLConfig(
|
|
678
|
+
req: CreateUserSAMLConfigRequest,
|
|
679
|
+
cb?: (error: string, rep: CreateUserSAMLConfigResponse) => void
|
|
680
|
+
): Promise<CreateUserSAMLConfigResponse> {
|
|
681
|
+
return this.request("CreateUserSAMLConfig", req, cb)
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* 更新SAML身份提供商信息
|
|
686
|
+
*/
|
|
687
|
+
async UpdateSAMLProvider(
|
|
688
|
+
req: UpdateSAMLProviderRequest,
|
|
689
|
+
cb?: (error: string, rep: UpdateSAMLProviderResponse) => void
|
|
690
|
+
): Promise<UpdateSAMLProviderResponse> {
|
|
691
|
+
return this.request("UpdateSAMLProvider", req, cb)
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* 查询用户组列表
|
|
696
|
+
*/
|
|
697
|
+
async ListGroups(
|
|
698
|
+
req: ListGroupsRequest,
|
|
699
|
+
cb?: (error: string, rep: ListGroupsResponse) => void
|
|
700
|
+
): Promise<ListGroupsResponse> {
|
|
701
|
+
return this.request("ListGroups", req, cb)
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* 用户加入到用户组
|
|
706
|
+
*/
|
|
707
|
+
async AddUserToGroup(
|
|
708
|
+
req: AddUserToGroupRequest,
|
|
709
|
+
cb?: (error: string, rep: AddUserToGroupResponse) => void
|
|
710
|
+
): Promise<AddUserToGroupResponse> {
|
|
711
|
+
return this.request("AddUserToGroup", req, cb)
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* 本接口(AttachRolePolicy)用于绑定策略到角色。
|
|
716
|
+
*/
|
|
717
|
+
async AttachRolePolicy(
|
|
718
|
+
req: AttachRolePolicyRequest,
|
|
719
|
+
cb?: (error: string, rep: AttachRolePolicyResponse) => void
|
|
720
|
+
): Promise<AttachRolePolicyResponse> {
|
|
721
|
+
return this.request("AttachRolePolicy", req, cb)
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* 查询安全设置
|
|
726
|
+
*/
|
|
727
|
+
async DescribeSafeAuthFlagColl(
|
|
728
|
+
req: DescribeSafeAuthFlagCollRequest,
|
|
729
|
+
cb?: (error: string, rep: DescribeSafeAuthFlagCollResponse) => void
|
|
730
|
+
): Promise<DescribeSafeAuthFlagCollResponse> {
|
|
731
|
+
return this.request("DescribeSafeAuthFlagColl", req, cb)
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* 查询账户摘要
|
|
736
|
+
*/
|
|
737
|
+
async GetAccountSummary(
|
|
738
|
+
req?: GetAccountSummaryRequest,
|
|
739
|
+
cb?: (error: string, rep: GetAccountSummaryResponse) => void
|
|
740
|
+
): Promise<GetAccountSummaryResponse> {
|
|
741
|
+
return this.request("GetAccountSummary", req, cb)
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* 角色解绑标签。
|
|
746
|
+
*/
|
|
747
|
+
async UntagRole(
|
|
748
|
+
req: UntagRoleRequest,
|
|
749
|
+
cb?: (error: string, rep: UntagRoleResponse) => void
|
|
750
|
+
): Promise<UntagRoleResponse> {
|
|
751
|
+
return this.request("UntagRole", req, cb)
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* 该接口(ListPolicyVersions)用于获取策略版本列表
|
|
756
|
+
*/
|
|
757
|
+
async ListPolicyVersions(
|
|
758
|
+
req: ListPolicyVersionsRequest,
|
|
759
|
+
cb?: (error: string, rep: ListPolicyVersionsResponse) => void
|
|
760
|
+
): Promise<ListPolicyVersionsResponse> {
|
|
761
|
+
return this.request("ListPolicyVersions", req, cb)
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* 查询用户安全设置
|
|
766
|
+
*/
|
|
767
|
+
async DescribeSafeAuthFlag(
|
|
768
|
+
req?: DescribeSafeAuthFlagRequest,
|
|
769
|
+
cb?: (error: string, rep: DescribeSafeAuthFlagResponse) => void
|
|
770
|
+
): Promise<DescribeSafeAuthFlagResponse> {
|
|
771
|
+
return this.request("DescribeSafeAuthFlag", req, cb)
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* 查询安全设置(国际站)
|
|
776
|
+
*/
|
|
777
|
+
async DescribeSafeAuthFlagIntl(
|
|
778
|
+
req?: DescribeSafeAuthFlagIntlRequest,
|
|
779
|
+
cb?: (error: string, rep: DescribeSafeAuthFlagIntlResponse) => void
|
|
780
|
+
): Promise<DescribeSafeAuthFlagIntlResponse> {
|
|
781
|
+
return this.request("DescribeSafeAuthFlagIntl", req, cb)
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* 更新用户组
|
|
786
|
+
*/
|
|
787
|
+
async UpdateGroup(
|
|
788
|
+
req: UpdateGroupRequest,
|
|
789
|
+
cb?: (error: string, rep: UpdateGroupResponse) => void
|
|
790
|
+
): Promise<UpdateGroupResponse> {
|
|
791
|
+
return this.request("UpdateGroup", req, cb)
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* 本接口(GetRole)用于获取指定角色的详细信息。
|
|
796
|
+
*/
|
|
797
|
+
async GetRole(
|
|
798
|
+
req: GetRoleRequest,
|
|
799
|
+
cb?: (error: string, rep: GetRoleResponse) => void
|
|
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
|
+
/**
|
|
801
1045
|
* 本接口(UpdatePolicy )可用于更新策略。
|
|
802
1046
|
如果已存在策略版本,本接口会直接更新策略的默认版本,不会创建新版本,如果不存在任何策略版本,则直接创建一个默认版本。
|
|
803
1047
|
*/
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
1048
|
+
async UpdatePolicy(
|
|
1049
|
+
req: UpdatePolicyRequest,
|
|
1050
|
+
cb?: (error: string, rep: UpdatePolicyResponse) => void
|
|
1051
|
+
): Promise<UpdatePolicyResponse> {
|
|
1052
|
+
return this.request("UpdatePolicy", req, cb)
|
|
1053
|
+
}
|
|
809
1054
|
}
|