tencentcloud-sdk-nodejs-cam 4.0.334 → 4.0.335
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 +219 -0
- package/SERVICE_CHANGELOG.md +362 -24
- package/package.json +1 -1
- package/products.md +22 -22
- package/src/services/cam/v20190116/cam_client.ts +81 -33
- package/src/services/cam/v20190116/cam_models.ts +357 -202
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +23 -7
- package/tencentcloud/services/cam/v20190116/cam_client.js +33 -9
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +308 -176
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { ListAttachedRolePoliciesResponse, UpdateUserOIDCConfigResponse, ListAccessKeysRequest, SetMfaFlagResponse, UpdateSAMLProviderRequest, DeleteUserRequest,
|
|
2
|
+
import { ListAttachedRolePoliciesResponse, UpdateUserOIDCConfigResponse, ListAccessKeysRequest, SetMfaFlagResponse, UpdateSAMLProviderRequest, DeleteUserRequest, DetachGroupPolicyRequest, DescribeRoleListResponse, UpdatePolicyResponse, DeleteUserResponse, GetRoleRequest, CreateServiceLinkedRoleRequest, ListAttachedGroupPoliciesRequest, ListGroupsForUserRequest, AttachRolePolicyResponse, GetUserPermissionBoundaryRequest, DescribeOIDCConfigRequest, GetRolePermissionBoundaryRequest, GetServiceLinkedRoleDeletionStatusResponse, GetSecurityLastUsedRequest, DescribeUserSAMLConfigResponse, DeleteUserPermissionsBoundaryResponse, ListUsersResponse, UpdateRoleDescriptionResponse, GetAccountSummaryRequest, DeletePolicyResponse, GetUserAppIdResponse, GetUserAppIdRequest, DescribeOIDCConfigResponse, ListPolicyVersionsRequest, GetCustomMFATokenInfoRequest, DescribeRoleListRequest, DescribeUserSAMLConfigRequest, PutRolePermissionsBoundaryRequest, GetGroupRequest, DeleteRoleResponse, DetachUserPolicyRequest, DescribeSubAccountsRequest, DeleteUserPermissionsBoundaryRequest, ListSAMLProvidersRequest, ListGroupsRequest, DeletePolicyVersionResponse, GetRolePermissionBoundaryResponse, ListGroupsForUserResponse, ListUsersForGroupRequest, RemoveUserFromGroupRequest, CreatePolicyVersionResponse, ListPoliciesResponse, UpdateRoleDescriptionRequest, UpdateUserSAMLConfigRequest, DeleteGroupResponse, DescribeSafeAuthFlagResponse, CreatePolicyVersionRequest, CreateUserOIDCConfigResponse, ListAttachedUserAllPoliciesResponse, DeleteGroupRequest, GetUserResponse, GetUserPermissionBoundaryResponse, CreatePolicyResponse, DetachRolePolicyRequest, ListPoliciesGrantingServiceAccessResponse, DeleteRolePermissionsBoundaryRequest, DescribeUserOIDCConfigResponse, DeletePolicyRequest, AddUserRequest, UpdateAssumeRolePolicyRequest, DeleteRoleRequest, ListWeChatWorkSubAccountsRequest, UpdateRoleConsoleLoginRequest, UpdateUserResponse, UpdateAssumeRolePolicyResponse, GetPolicyVersionRequest, CreateSAMLProviderResponse, DeleteRolePermissionsBoundaryResponse, GetUserRequest, CreateGroupRequest, DisableUserSSORequest, ListPoliciesGrantingServiceAccessRequest, UpdateSAMLProviderResponse, UpdateUserRequest, ListWeChatWorkSubAccountsResponse, CreateSAMLProviderRequest, DisableUserSSOResponse, UpdateRoleConsoleLoginResponse, AttachRolePolicyRequest, ConsumeCustomMFATokenResponse, AttachUserPolicyRequest, ListAttachedGroupPoliciesResponse, ListAttachedUserPoliciesResponse, ListGroupsResponse, PutUserPermissionsBoundaryResponse, GetPolicyVersionResponse, GetCustomMFATokenInfoResponse, ConsumeCustomMFATokenRequest, CreateOIDCConfigRequest, GetGroupResponse, UpdateOIDCConfigResponse, DeleteSAMLProviderRequest, DeleteSAMLProviderResponse, GetAccountSummaryResponse, CreateServiceLinkedRoleResponse, ListUsersRequest, ListCollaboratorsRequest, CreateUserOIDCConfigRequest, AttachGroupPolicyResponse, UpdateGroupResponse, ListEntitiesForPolicyRequest, ListPoliciesRequest, GetServiceLinkedRoleDeletionStatusRequest, DetachGroupPolicyResponse, CreatePolicyRequest, ListAttachedUserAllPoliciesRequest, DeletePolicyVersionRequest, CreateUserSAMLConfigRequest, UpdateGroupRequest, AttachGroupPolicyRequest, UpdateOIDCConfigRequest, CreateRoleResponse, GetSAMLProviderResponse, DescribeSafeAuthFlagIntlResponse, ListPolicyVersionsResponse, GetPolicyRequest, DescribeSafeAuthFlagIntlRequest, SetDefaultPolicyVersionRequest, UpdateUserOIDCConfigRequest, AddUserToGroupRequest, RemoveUserFromGroupResponse, DetachRolePolicyResponse, DescribeUserOIDCConfigRequest, CreateOIDCConfigResponse, PutUserPermissionsBoundaryRequest, ListSAMLProvidersResponse, SetDefaultPolicyVersionResponse, ListAttachedRolePoliciesRequest, GetSAMLProviderRequest, DetachUserPolicyResponse, GetRoleResponse, CreateRoleRequest, DeleteServiceLinkedRoleResponse, ListUsersForGroupResponse, GetPolicyResponse, DescribeSafeAuthFlagRequest, DeleteServiceLinkedRoleRequest, DeleteOIDCConfigResponse, AddUserResponse, CreateUserSAMLConfigResponse, DescribeSubAccountsResponse, ListEntitiesForPolicyResponse, AddUserToGroupResponse, UpdateUserSAMLConfigResponse, AttachUserPolicyResponse, DescribeSafeAuthFlagCollResponse, DescribeSafeAuthFlagCollRequest, PutRolePermissionsBoundaryResponse, SetMfaFlagRequest, ListCollaboratorsResponse, ListAccessKeysResponse, GetSecurityLastUsedResponse, ListAttachedUserPoliciesRequest, UpdatePolicyRequest, DeleteOIDCConfigRequest, CreateGroupResponse } from "./cam_models";
|
|
3
3
|
/**
|
|
4
4
|
* cam client
|
|
5
5
|
* @class
|
|
@@ -102,6 +102,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
102
102
|
* 更新子用户
|
|
103
103
|
*/
|
|
104
104
|
UpdateUser(req: UpdateUserRequest, cb?: (error: string, rep: UpdateUserResponse) => void): Promise<UpdateUserResponse>;
|
|
105
|
+
/**
|
|
106
|
+
* 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
|
|
107
|
+
*/
|
|
108
|
+
CreateUserOIDCConfig(req: CreateUserOIDCConfigRequest, cb?: (error: string, rep: CreateUserOIDCConfigResponse) => void): Promise<CreateUserOIDCConfigResponse>;
|
|
105
109
|
/**
|
|
106
110
|
* 本接口(GetPolicy)可用于查询查看策略详情。
|
|
107
111
|
*/
|
|
@@ -122,6 +126,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
122
126
|
* 删除用户组
|
|
123
127
|
*/
|
|
124
128
|
DeleteGroup(req: DeleteGroupRequest, cb?: (error: string, rep: DeleteGroupResponse) => void): Promise<DeleteGroupResponse>;
|
|
129
|
+
/**
|
|
130
|
+
* 修改角色OIDC配置
|
|
131
|
+
*/
|
|
132
|
+
UpdateOIDCConfig(req: UpdateOIDCConfigRequest, cb?: (error: string, rep: UpdateOIDCConfigResponse) => void): Promise<UpdateOIDCConfigResponse>;
|
|
125
133
|
/**
|
|
126
134
|
* 本接口(DeleteRole)用于删除指定角色。
|
|
127
135
|
*/
|
|
@@ -134,6 +142,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
134
142
|
* 删除用户权限边界
|
|
135
143
|
*/
|
|
136
144
|
DeleteUserPermissionsBoundary(req: DeleteUserPermissionsBoundaryRequest, cb?: (error: string, rep: DeleteUserPermissionsBoundaryResponse) => void): Promise<DeleteUserPermissionsBoundaryResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* 查询角色OIDC配置
|
|
147
|
+
*/
|
|
148
|
+
DescribeOIDCConfig(req: DescribeOIDCConfigRequest, cb?: (error: string, rep: DescribeOIDCConfigResponse) => void): Promise<DescribeOIDCConfigResponse>;
|
|
137
149
|
/**
|
|
138
150
|
* 本接口(ListAttachedGroupPolicies)可用于查询用户组关联的策略列表。
|
|
139
151
|
*/
|
|
@@ -155,9 +167,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
155
167
|
*/
|
|
156
168
|
ConsumeCustomMFAToken(req: ConsumeCustomMFATokenRequest, cb?: (error: string, rep: ConsumeCustomMFATokenResponse) => void): Promise<ConsumeCustomMFATokenResponse>;
|
|
157
169
|
/**
|
|
158
|
-
*
|
|
170
|
+
* 创建角色OIDC配置
|
|
159
171
|
*/
|
|
160
|
-
|
|
172
|
+
CreateOIDCConfig(req: CreateOIDCConfigRequest, cb?: (error: string, rep: CreateOIDCConfigResponse) => void): Promise<CreateOIDCConfigResponse>;
|
|
161
173
|
/**
|
|
162
174
|
* 该接口(GetPolicyVersion)用于查询策略版本详情
|
|
163
175
|
*/
|
|
@@ -222,6 +234,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
222
234
|
* 本接口(UpdateRoleDescription)用于修改角色的描述信息。
|
|
223
235
|
*/
|
|
224
236
|
UpdateRoleDescription(req: UpdateRoleDescriptionRequest, cb?: (error: string, rep: UpdateRoleDescriptionResponse) => void): Promise<UpdateRoleDescriptionResponse>;
|
|
237
|
+
/**
|
|
238
|
+
* 本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
|
|
239
|
+
*/
|
|
240
|
+
ListEntitiesForPolicy(req: ListEntitiesForPolicyRequest, cb?: (error: string, rep: ListEntitiesForPolicyResponse) => void): Promise<ListEntitiesForPolicyResponse>;
|
|
225
241
|
/**
|
|
226
242
|
* 本接口(ListAttachedUserPolicies)可用于查询子账号关联的策略列表。
|
|
227
243
|
*/
|
|
@@ -267,13 +283,13 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
267
283
|
*/
|
|
268
284
|
AttachUserPolicy(req: AttachUserPolicyRequest, cb?: (error: string, rep: AttachUserPolicyResponse) => void): Promise<AttachUserPolicyResponse>;
|
|
269
285
|
/**
|
|
270
|
-
*
|
|
286
|
+
* 查询用户组详情
|
|
271
287
|
*/
|
|
272
|
-
|
|
288
|
+
GetGroup(req: GetGroupRequest, cb?: (error: string, rep: GetGroupResponse) => void): Promise<GetGroupResponse>;
|
|
273
289
|
/**
|
|
274
|
-
*
|
|
290
|
+
* 删除OIDC身份提供商
|
|
275
291
|
*/
|
|
276
|
-
|
|
292
|
+
DeleteOIDCConfig(req: DeleteOIDCConfigRequest, cb?: (error: string, rep: DeleteOIDCConfigResponse) => void): Promise<DeleteOIDCConfigResponse>;
|
|
277
293
|
/**
|
|
278
294
|
* 获取企业微信子用户列表
|
|
279
295
|
*/
|
|
@@ -171,6 +171,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
171
171
|
async UpdateUser(req, cb) {
|
|
172
172
|
return this.request("UpdateUser", req, cb);
|
|
173
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
|
|
176
|
+
*/
|
|
177
|
+
async CreateUserOIDCConfig(req, cb) {
|
|
178
|
+
return this.request("CreateUserOIDCConfig", req, cb);
|
|
179
|
+
}
|
|
174
180
|
/**
|
|
175
181
|
* 本接口(GetPolicy)可用于查询查看策略详情。
|
|
176
182
|
*/
|
|
@@ -201,6 +207,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
201
207
|
async DeleteGroup(req, cb) {
|
|
202
208
|
return this.request("DeleteGroup", req, cb);
|
|
203
209
|
}
|
|
210
|
+
/**
|
|
211
|
+
* 修改角色OIDC配置
|
|
212
|
+
*/
|
|
213
|
+
async UpdateOIDCConfig(req, cb) {
|
|
214
|
+
return this.request("UpdateOIDCConfig", req, cb);
|
|
215
|
+
}
|
|
204
216
|
/**
|
|
205
217
|
* 本接口(DeleteRole)用于删除指定角色。
|
|
206
218
|
*/
|
|
@@ -219,6 +231,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
219
231
|
async DeleteUserPermissionsBoundary(req, cb) {
|
|
220
232
|
return this.request("DeleteUserPermissionsBoundary", req, cb);
|
|
221
233
|
}
|
|
234
|
+
/**
|
|
235
|
+
* 查询角色OIDC配置
|
|
236
|
+
*/
|
|
237
|
+
async DescribeOIDCConfig(req, cb) {
|
|
238
|
+
return this.request("DescribeOIDCConfig", req, cb);
|
|
239
|
+
}
|
|
222
240
|
/**
|
|
223
241
|
* 本接口(ListAttachedGroupPolicies)可用于查询用户组关联的策略列表。
|
|
224
242
|
*/
|
|
@@ -250,10 +268,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
250
268
|
return this.request("ConsumeCustomMFAToken", req, cb);
|
|
251
269
|
}
|
|
252
270
|
/**
|
|
253
|
-
*
|
|
271
|
+
* 创建角色OIDC配置
|
|
254
272
|
*/
|
|
255
|
-
async
|
|
256
|
-
return this.request("
|
|
273
|
+
async CreateOIDCConfig(req, cb) {
|
|
274
|
+
return this.request("CreateOIDCConfig", req, cb);
|
|
257
275
|
}
|
|
258
276
|
/**
|
|
259
277
|
* 该接口(GetPolicyVersion)用于查询策略版本详情
|
|
@@ -351,6 +369,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
351
369
|
async UpdateRoleDescription(req, cb) {
|
|
352
370
|
return this.request("UpdateRoleDescription", req, cb);
|
|
353
371
|
}
|
|
372
|
+
/**
|
|
373
|
+
* 本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
|
|
374
|
+
*/
|
|
375
|
+
async ListEntitiesForPolicy(req, cb) {
|
|
376
|
+
return this.request("ListEntitiesForPolicy", req, cb);
|
|
377
|
+
}
|
|
354
378
|
/**
|
|
355
379
|
* 本接口(ListAttachedUserPolicies)可用于查询子账号关联的策略列表。
|
|
356
380
|
*/
|
|
@@ -418,16 +442,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
418
442
|
return this.request("AttachUserPolicy", req, cb);
|
|
419
443
|
}
|
|
420
444
|
/**
|
|
421
|
-
*
|
|
445
|
+
* 查询用户组详情
|
|
422
446
|
*/
|
|
423
|
-
async
|
|
424
|
-
return this.request("
|
|
447
|
+
async GetGroup(req, cb) {
|
|
448
|
+
return this.request("GetGroup", req, cb);
|
|
425
449
|
}
|
|
426
450
|
/**
|
|
427
|
-
*
|
|
451
|
+
* 删除OIDC身份提供商
|
|
428
452
|
*/
|
|
429
|
-
async
|
|
430
|
-
return this.request("
|
|
453
|
+
async DeleteOIDCConfig(req, cb) {
|
|
454
|
+
return this.request("DeleteOIDCConfig", req, cb);
|
|
431
455
|
}
|
|
432
456
|
/**
|
|
433
457
|
* 获取企业微信子用户列表
|