tencentcloud-sdk-nodejs-cam 4.0.473 → 4.0.475

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.
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
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, TagRoleResponse, 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, UntagRoleResponse, 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, TagRoleRequest, 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, UntagRoleRequest, CreateGroupResponse } from "./cam_models";
2
+ import { ListAttachedRolePoliciesResponse, UpdateUserOIDCConfigResponse, ListAccessKeysRequest, SetMfaFlagResponse, UpdateSAMLProviderRequest, DeleteUserRequest, DetachGroupPolicyRequest, DescribeRoleListResponse, UpdatePolicyResponse, DeleteUserResponse, TagRoleResponse, GetRoleRequest, CreateServiceLinkedRoleRequest, ListAttachedGroupPoliciesRequest, ListGroupsForUserRequest, AttachRolePolicyResponse, GetUserPermissionBoundaryRequest, DescribeOIDCConfigRequest, GetRolePermissionBoundaryRequest, GetServiceLinkedRoleDeletionStatusResponse, GetSecurityLastUsedRequest, DescribeUserSAMLConfigResponse, DeleteUserPermissionsBoundaryResponse, ListUsersResponse, UpdateRoleDescriptionResponse, GetAccountSummaryRequest, DeletePolicyResponse, GetUserAppIdResponse, GetUserAppIdRequest, DescribeOIDCConfigResponse, ListPolicyVersionsRequest, GetCustomMFATokenInfoRequest, DescribeRoleListRequest, DescribeUserSAMLConfigRequest, DeleteAccessKeyResponse, PutRolePermissionsBoundaryRequest, GetGroupRequest, DeleteRoleResponse, DetachUserPolicyRequest, DescribeSubAccountsRequest, DeleteUserPermissionsBoundaryRequest, ListSAMLProvidersRequest, CreateAccessKeyResponse, DeletePolicyVersionResponse, CreateAccessKeyRequest, GetRolePermissionBoundaryResponse, ListGroupsForUserResponse, ListUsersForGroupRequest, RemoveUserFromGroupRequest, CreatePolicyVersionResponse, ListPoliciesResponse, DeleteAccessKeyRequest, UpdateRoleDescriptionRequest, UpdateUserSAMLConfigRequest, DeleteGroupResponse, DescribeSafeAuthFlagResponse, CreatePolicyVersionRequest, UpdateAccessKeyResponse, CreateUserOIDCConfigResponse, ListAttachedUserAllPoliciesResponse, DeleteGroupRequest, GetUserResponse, GetUserPermissionBoundaryResponse, CreatePolicyResponse, DetachRolePolicyRequest, UntagRoleResponse, ListPoliciesGrantingServiceAccessResponse, DeleteRolePermissionsBoundaryRequest, DescribeUserOIDCConfigResponse, DeletePolicyRequest, AddUserRequest, UpdateAssumeRolePolicyRequest, DeleteRoleRequest, ListWeChatWorkSubAccountsRequest, UpdateRoleConsoleLoginRequest, UpdateUserResponse, UpdateAssumeRolePolicyResponse, GetPolicyVersionRequest, CreateSAMLProviderResponse, DeleteRolePermissionsBoundaryResponse, GetUserRequest, CreateGroupRequest, DisableUserSSORequest, ListPoliciesGrantingServiceAccessRequest, UpdateSAMLProviderResponse, UpdateAccessKeyRequest, UpdateUserRequest, ListWeChatWorkSubAccountsResponse, CreateSAMLProviderRequest, DisableUserSSOResponse, UpdateRoleConsoleLoginResponse, AttachRolePolicyRequest, ConsumeCustomMFATokenResponse, AttachUserPolicyRequest, ListAttachedGroupPoliciesResponse, ListAttachedUserPoliciesResponse, ListGroupsResponse, PutUserPermissionsBoundaryResponse, GetPolicyVersionResponse, GetCustomMFATokenInfoResponse, ConsumeCustomMFATokenRequest, CreateOIDCConfigRequest, GetGroupResponse, UpdateOIDCConfigResponse, AttachGroupPolicyRequest, DeleteSAMLProviderResponse, GetAccountSummaryResponse, CreateServiceLinkedRoleResponse, ListUsersRequest, ListCollaboratorsRequest, CreateUserOIDCConfigRequest, AttachGroupPolicyResponse, UpdateGroupResponse, ListEntitiesForPolicyRequest, TagRoleRequest, ListPoliciesRequest, GetServiceLinkedRoleDeletionStatusRequest, DetachGroupPolicyResponse, CreatePolicyRequest, ListAttachedUserAllPoliciesRequest, DeletePolicyVersionRequest, CreateUserSAMLConfigRequest, UpdateGroupRequest, DeleteSAMLProviderRequest, UpdateOIDCConfigRequest, CreateRoleResponse, GetSAMLProviderResponse, DescribeSafeAuthFlagIntlResponse, ListGroupsRequest, 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, UntagRoleRequest, CreateGroupResponse } from "./cam_models";
3
3
  /**
4
4
  * cam client
5
5
  * @class
@@ -7,129 +7,142 @@ import { ListAttachedRolePoliciesResponse, UpdateUserOIDCConfigResponse, ListAcc
7
7
  export declare class Client extends TencentCloudCommon.AbstractClient {
8
8
  constructor(clientConfig: TencentCloudCommon.ClientConfig);
9
9
  /**
10
- * 获取用户AppId
10
+ * 添加子用户
11
11
  */
12
- GetUserAppId(req?: GetUserAppIdRequest, cb?: (error: string, rep: GetUserAppIdResponse) => void): Promise<GetUserAppIdResponse>;
12
+ AddUser(req: AddUserRequest, cb?: (error: string, rep: AddUserResponse) => void): Promise<AddUserResponse>;
13
13
  /**
14
- * 设置子用户的登录保护和敏感操作校验方式
14
+ * 创建服务相关角色
15
15
  */
16
- SetMfaFlag(req: SetMfaFlagRequest, cb?: (error: string, rep: SetMfaFlagResponse) => void): Promise<SetMfaFlagResponse>;
16
+ CreateServiceLinkedRole(req: CreateServiceLinkedRoleRequest, cb?: (error: string, rep: CreateServiceLinkedRoleResponse) => void): Promise<CreateServiceLinkedRoleResponse>;
17
17
  /**
18
- * 本接口(UpdateRoleConsoleLogin)用于修改角色是否可登录。
18
+ * 获取用户权限边界
19
19
  */
20
- UpdateRoleConsoleLogin(req: UpdateRoleConsoleLoginRequest, cb?: (error: string, rep: UpdateRoleConsoleLoginResponse) => void): Promise<UpdateRoleConsoleLoginResponse>;
20
+ GetUserPermissionBoundary(req: GetUserPermissionBoundaryRequest, cb?: (error: string, rep: GetUserPermissionBoundaryResponse) => void): Promise<GetUserPermissionBoundaryResponse>;
21
21
  /**
22
- * 创建用户组
22
+ * 查询账户摘要
23
23
  */
24
- CreateGroup(req: CreateGroupRequest, cb?: (error: string, rep: CreateGroupResponse) => void): Promise<CreateGroupResponse>;
24
+ GetAccountSummary(req?: GetAccountSummaryRequest, cb?: (error: string, rep: GetAccountSummaryResponse) => void): Promise<GetAccountSummaryResponse>;
25
25
  /**
26
- * 删除服务相关角色
26
+ * 删除角色权限边界
27
27
  */
28
- DeleteServiceLinkedRole(req: DeleteServiceLinkedRoleRequest, cb?: (error: string, rep: DeleteServiceLinkedRoleResponse) => void): Promise<DeleteServiceLinkedRoleResponse>;
28
+ DeleteRolePermissionsBoundary(req: DeleteRolePermissionsBoundaryRequest, cb?: (error: string, rep: DeleteRolePermissionsBoundaryResponse) => void): Promise<DeleteRolePermissionsBoundaryResponse>;
29
29
  /**
30
- * 添加子用户
30
+ * 本接口(ListAttachedGroupPolicies)可用于查询用户组关联的策略列表。
31
31
  */
32
- AddUser(req: AddUserRequest, cb?: (error: string, rep: AddUserResponse) => void): Promise<AddUserResponse>;
32
+ ListAttachedGroupPolicies(req: ListAttachedGroupPoliciesRequest, cb?: (error: string, rep: ListAttachedGroupPoliciesResponse) => void): Promise<ListAttachedGroupPoliciesResponse>;
33
33
  /**
34
- * 创建服务相关角色
34
+ * 验证自定义多因子Token
35
35
  */
36
- CreateServiceLinkedRole(req: CreateServiceLinkedRoleRequest, cb?: (error: string, rep: CreateServiceLinkedRoleResponse) => void): Promise<CreateServiceLinkedRoleResponse>;
36
+ ConsumeCustomMFAToken(req: ConsumeCustomMFATokenRequest, cb?: (error: string, rep: ConsumeCustomMFATokenResponse) => void): Promise<ConsumeCustomMFATokenResponse>;
37
37
  /**
38
- * 查询SAML身份提供商详情
38
+ * 更新子用户
39
39
  */
40
- GetSAMLProvider(req: GetSAMLProviderRequest, cb?: (error: string, rep: GetSAMLProviderResponse) => void): Promise<GetSAMLProviderResponse>;
40
+ UpdateUser(req: UpdateUserRequest, cb?: (error: string, rep: UpdateUserResponse) => void): Promise<UpdateUserResponse>;
41
41
  /**
42
- * 查询SAML身份提供商列表
42
+ * 获取自定义多因子Token关联信息
43
43
  */
44
- ListSAMLProviders(req?: ListSAMLProvidersRequest, cb?: (error: string, rep: ListSAMLProvidersResponse) => void): Promise<ListSAMLProvidersResponse>;
44
+ GetCustomMFATokenInfo(req: GetCustomMFATokenInfoRequest, cb?: (error: string, rep: GetCustomMFATokenInfoResponse) => void): Promise<GetCustomMFATokenInfoResponse>;
45
45
  /**
46
- * 本接口(CreateRole)用于创建角色。
46
+ * 查询子用户
47
47
  */
48
- CreateRole(req: CreateRoleRequest, cb?: (error: string, rep: CreateRoleResponse) => void): Promise<CreateRoleResponse>;
48
+ GetUser(req: GetUserRequest, cb?: (error: string, rep: GetUserResponse) => void): Promise<GetUserResponse>;
49
49
  /**
50
- * 修改用户OIDC配置
50
+ * 删除用户权限边界
51
51
  */
52
- UpdateUserOIDCConfig(req: UpdateUserOIDCConfigRequest, cb?: (error: string, rep: UpdateUserOIDCConfigResponse) => void): Promise<UpdateUserOIDCConfigResponse>;
52
+ DeleteUserPermissionsBoundary(req: DeleteUserPermissionsBoundaryRequest, cb?: (error: string, rep: DeleteUserPermissionsBoundaryResponse) => void): Promise<DeleteUserPermissionsBoundaryResponse>;
53
53
  /**
54
- * 设置角色权限边界
54
+ * 根据删除TaskId获取服务相关角色删除状态
55
55
  */
56
- PutRolePermissionsBoundary(req: PutRolePermissionsBoundaryRequest, cb?: (error: string, rep: PutRolePermissionsBoundaryResponse) => void): Promise<PutRolePermissionsBoundaryResponse>;
56
+ GetServiceLinkedRoleDeletionStatus(req: GetServiceLinkedRoleDeletionStatusRequest, cb?: (error: string, rep: GetServiceLinkedRoleDeletionStatusResponse) => void): Promise<GetServiceLinkedRoleDeletionStatusResponse>;
57
57
  /**
58
- * 拉取子用户
58
+ * 查询用户OIDC配置
59
59
  */
60
- ListUsers(req?: ListUsersRequest, cb?: (error: string, rep: ListUsersResponse) => void): Promise<ListUsersResponse>;
60
+ DescribeUserOIDCConfig(req?: DescribeUserOIDCConfigRequest, cb?: (error: string, rep: DescribeUserOIDCConfigResponse) => void): Promise<DescribeUserOIDCConfigResponse>;
61
61
  /**
62
- * 本接口(ListAttachedRolePolicies)用于获取角色绑定的策略列表。
62
+ * 为CAM用户创建访问密钥
63
63
  */
64
- ListAttachedRolePolicies(req: ListAttachedRolePoliciesRequest, cb?: (error: string, rep: ListAttachedRolePoliciesResponse) => void): Promise<ListAttachedRolePoliciesResponse>;
64
+ CreateAccessKey(req: CreateAccessKeyRequest, cb?: (error: string, rep: CreateAccessKeyResponse) => void): Promise<CreateAccessKeyResponse>;
65
65
  /**
66
- * 本接口(DeletePolicy)可用于删除策略。
66
+ * 删除子用户
67
67
  */
68
- DeletePolicy(req: DeletePolicyRequest, cb?: (error: string, rep: DeletePolicyResponse) => void): Promise<DeletePolicyResponse>;
68
+ DeleteUser(req: DeleteUserRequest, cb?: (error: string, rep: DeleteUserResponse) => void): Promise<DeleteUserResponse>;
69
69
  /**
70
- * 删除角色权限边界
70
+ * 本接口(UpdateRoleDescription)用于修改角色的描述信息。
71
71
  */
72
- DeleteRolePermissionsBoundary(req: DeleteRolePermissionsBoundaryRequest, cb?: (error: string, rep: DeleteRolePermissionsBoundaryResponse) => void): Promise<DeleteRolePermissionsBoundaryResponse>;
72
+ UpdateRoleDescription(req: UpdateRoleDescriptionRequest, cb?: (error: string, rep: UpdateRoleDescriptionResponse) => void): Promise<UpdateRoleDescriptionResponse>;
73
73
  /**
74
- * 查询用户SAML配置
74
+ * 更新SAML身份提供商信息
75
75
  */
76
- DescribeUserSAMLConfig(req?: DescribeUserSAMLConfigRequest, cb?: (error: string, rep: DescribeUserSAMLConfigResponse) => void): Promise<DescribeUserSAMLConfigResponse>;
76
+ UpdateSAMLProvider(req: UpdateSAMLProviderRequest, cb?: (error: string, rep: UpdateSAMLProviderResponse) => void): Promise<UpdateSAMLProviderResponse>;
77
77
  /**
78
- * 本接口(DeletePolicyVersion)可用于删除一个策略的策略版本。
78
+ * 角色解绑标签。
79
79
  */
80
- DeletePolicyVersion(req: DeletePolicyVersionRequest, cb?: (error: string, rep: DeletePolicyVersionResponse) => void): Promise<DeletePolicyVersionResponse>;
80
+ UntagRole(req: UntagRoleRequest, cb?: (error: string, rep: UntagRoleResponse) => void): Promise<UntagRoleResponse>;
81
81
  /**
82
- * 本接口(DetachRolePolicy)用于解除绑定角色的策略。
82
+ * 通过子用户UIN列表查询子用户
83
83
  */
84
- DetachRolePolicy(req: DetachRolePolicyRequest, cb?: (error: string, rep: DetachRolePolicyResponse) => void): Promise<DetachRolePolicyResponse>;
84
+ DescribeSubAccounts(req: DescribeSubAccountsRequest, cb?: (error: string, rep: DescribeSubAccountsResponse) => void): Promise<DescribeSubAccountsResponse>;
85
85
  /**
86
- * 角色绑定标签
86
+ * 从用户组删除用户
87
87
  */
88
- TagRole(req: TagRoleRequest, cb?: (error: string, rep: TagRoleResponse) => void): Promise<TagRoleResponse>;
88
+ RemoveUserFromGroup(req: RemoveUserFromGroupRequest, cb?: (error: string, rep: RemoveUserFromGroupResponse) => void): Promise<RemoveUserFromGroupResponse>;
89
89
  /**
90
- * 本接口(SetDefaultPolicyVersion)可用于设置生效的策略版本。
90
+ * 查询SAML身份提供商列表
91
91
  */
92
- SetDefaultPolicyVersion(req: SetDefaultPolicyVersionRequest, cb?: (error: string, rep: SetDefaultPolicyVersionResponse) => void): Promise<SetDefaultPolicyVersionResponse>;
92
+ ListSAMLProviders(req?: ListSAMLProvidersRequest, cb?: (error: string, rep: ListSAMLProvidersResponse) => void): Promise<ListSAMLProvidersResponse>;
93
93
  /**
94
- * 本接口(DescribeRoleList)用于获取账号下的角色列表。
94
+ * 查询用户组关联的用户列表
95
95
  */
96
- DescribeRoleList(req: DescribeRoleListRequest, cb?: (error: string, rep: DescribeRoleListResponse) => void): Promise<DescribeRoleListResponse>;
96
+ ListUsersForGroup(req: ListUsersForGroupRequest, cb?: (error: string, rep: ListUsersForGroupResponse) => void): Promise<ListUsersForGroupResponse>;
97
97
  /**
98
- * 创建SAML身份提供商
98
+ * 修改用户SAML配置
99
99
  */
100
- CreateSAMLProvider(req: CreateSAMLProviderRequest, cb?: (error: string, rep: CreateSAMLProviderResponse) => void): Promise<CreateSAMLProviderResponse>;
100
+ UpdateUserSAMLConfig(req: UpdateUserSAMLConfigRequest, cb?: (error: string, rep: UpdateUserSAMLConfigResponse) => void): Promise<UpdateUserSAMLConfigResponse>;
101
101
  /**
102
- * 删除SAML身份提供商
102
+ * 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
103
103
  */
104
- DeleteSAMLProvider(req: DeleteSAMLProviderRequest, cb?: (error: string, rep: DeleteSAMLProviderResponse) => void): Promise<DeleteSAMLProviderResponse>;
104
+ CreateUserOIDCConfig(req: CreateUserOIDCConfigRequest, cb?: (error: string, rep: CreateUserOIDCConfigResponse) => void): Promise<CreateUserOIDCConfigResponse>;
105
105
  /**
106
- * 更新子用户
106
+ * 为CAM用户删除访问密钥。
107
+ 此接口属于高风险操作,删除密钥后不可恢复,腾讯云将永久拒绝此密钥的所有请求,请谨慎使用。
108
+ */
109
+ DeleteAccessKey(req: DeleteAccessKeyRequest, cb?: (error: string, rep: DeleteAccessKeyResponse) => void): Promise<DeleteAccessKeyResponse>;
110
+ /**
111
+ * 获取用户AppId
107
112
  */
108
- UpdateUser(req: UpdateUserRequest, cb?: (error: string, rep: UpdateUserResponse) => void): Promise<UpdateUserResponse>;
113
+ GetUserAppId(req?: GetUserAppIdRequest, cb?: (error: string, rep: GetUserAppIdResponse) => void): Promise<GetUserAppIdResponse>;
109
114
  /**
110
- * 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
115
+ * 设置角色权限边界
111
116
  */
112
- CreateUserOIDCConfig(req: CreateUserOIDCConfigRequest, cb?: (error: string, rep: CreateUserOIDCConfigResponse) => void): Promise<CreateUserOIDCConfigResponse>;
117
+ PutRolePermissionsBoundary(req: PutRolePermissionsBoundaryRequest, cb?: (error: string, rep: PutRolePermissionsBoundaryResponse) => void): Promise<PutRolePermissionsBoundaryResponse>;
113
118
  /**
114
- * 本接口(GetPolicy)可用于查询查看策略详情。
119
+ * 删除服务相关角色
115
120
  */
116
- GetPolicy(req: GetPolicyRequest, cb?: (error: string, rep: GetPolicyResponse) => void): Promise<GetPolicyResponse>;
121
+ DeleteServiceLinkedRole(req: DeleteServiceLinkedRoleRequest, cb?: (error: string, rep: DeleteServiceLinkedRoleResponse) => void): Promise<DeleteServiceLinkedRoleResponse>;
117
122
  /**
118
- * 获取角色权限边界
123
+ * 拉取子用户
119
124
  */
120
- GetRolePermissionBoundary(req: GetRolePermissionBoundaryRequest, cb?: (error: string, rep: GetRolePermissionBoundaryResponse) => void): Promise<GetRolePermissionBoundaryResponse>;
125
+ ListUsers(req?: ListUsersRequest, cb?: (error: string, rep: ListUsersResponse) => void): Promise<ListUsersResponse>;
121
126
  /**
122
- * 获取自定义多因子Token关联信息
127
+ * 查询用户SAML配置
123
128
  */
124
- GetCustomMFATokenInfo(req: GetCustomMFATokenInfoRequest, cb?: (error: string, rep: GetCustomMFATokenInfoResponse) => void): Promise<GetCustomMFATokenInfoResponse>;
129
+ DescribeUserSAMLConfig(req?: DescribeUserSAMLConfigRequest, cb?: (error: string, rep: DescribeUserSAMLConfigResponse) => void): Promise<DescribeUserSAMLConfigResponse>;
125
130
  /**
126
- * 列出指定CAM用户的访问密钥
131
+ * 本接口(DetachRolePolicy)用于解除绑定角色的策略。
127
132
  */
128
- ListAccessKeys(req: ListAccessKeysRequest, cb?: (error: string, rep: ListAccessKeysResponse) => void): Promise<ListAccessKeysResponse>;
133
+ DetachRolePolicy(req: DetachRolePolicyRequest, cb?: (error: string, rep: DetachRolePolicyResponse) => void): Promise<DetachRolePolicyResponse>;
129
134
  /**
130
- * 删除用户组
135
+ * 本接口(DescribeRoleList)用于获取账号下的角色列表。
131
136
  */
132
- DeleteGroup(req: DeleteGroupRequest, cb?: (error: string, rep: DeleteGroupResponse) => void): Promise<DeleteGroupResponse>;
137
+ DescribeRoleList(req: DescribeRoleListRequest, cb?: (error: string, rep: DescribeRoleListResponse) => void): Promise<DescribeRoleListResponse>;
138
+ /**
139
+ * 创建SAML身份提供商
140
+ */
141
+ CreateSAMLProvider(req: CreateSAMLProviderRequest, cb?: (error: string, rep: CreateSAMLProviderResponse) => void): Promise<CreateSAMLProviderResponse>;
142
+ /**
143
+ * 删除OIDC身份提供商
144
+ */
145
+ DeleteOIDCConfig(req: DeleteOIDCConfigRequest, cb?: (error: string, rep: DeleteOIDCConfigResponse) => void): Promise<DeleteOIDCConfigResponse>;
133
146
  /**
134
147
  * 修改角色OIDC配置
135
148
  */
@@ -139,89 +152,98 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
139
152
  */
140
153
  DeleteRole(req: DeleteRoleRequest, cb?: (error: string, rep: DeleteRoleResponse) => void): Promise<DeleteRoleResponse>;
141
154
  /**
142
- * 查询子用户
155
+ * 本接口(AttachGroupPolicy)可用于绑定策略到用户组。
143
156
  */
144
- GetUser(req: GetUserRequest, cb?: (error: string, rep: GetUserResponse) => void): Promise<GetUserResponse>;
157
+ AttachGroupPolicy(req: AttachGroupPolicyRequest, cb?: (error: string, rep: AttachGroupPolicyResponse) => void): Promise<AttachGroupPolicyResponse>;
145
158
  /**
146
- * 删除用户权限边界
159
+ * 获取所有已授权服务
147
160
  */
148
- DeleteUserPermissionsBoundary(req: DeleteUserPermissionsBoundaryRequest, cb?: (error: string, rep: DeleteUserPermissionsBoundaryResponse) => void): Promise<DeleteUserPermissionsBoundaryResponse>;
161
+ ListPoliciesGrantingServiceAccess(req: ListPoliciesGrantingServiceAccessRequest, cb?: (error: string, rep: ListPoliciesGrantingServiceAccessResponse) => void): Promise<ListPoliciesGrantingServiceAccessResponse>;
149
162
  /**
150
- * 查询角色OIDC配置
163
+ * 为CAM用户更新访问密钥
151
164
  */
152
- DescribeOIDCConfig(req: DescribeOIDCConfigRequest, cb?: (error: string, rep: DescribeOIDCConfigResponse) => void): Promise<DescribeOIDCConfigResponse>;
165
+ UpdateAccessKey(req: UpdateAccessKeyRequest, cb?: (error: string, rep: UpdateAccessKeyResponse) => void): Promise<UpdateAccessKeyResponse>;
153
166
  /**
154
- * 本接口(ListAttachedGroupPolicies)可用于查询用户组关联的策略列表。
167
+ * 本接口(UpdatePolicy )可用于更新策略。
168
+ 如果已存在策略版本,本接口会直接更新策略的默认版本,不会创建新版本,如果不存在任何策略版本,则直接创建一个默认版本。
169
+ */
170
+ UpdatePolicy(req: UpdatePolicyRequest, cb?: (error: string, rep: UpdatePolicyResponse) => void): Promise<UpdatePolicyResponse>;
171
+ /**
172
+ * 本接口(ListAttachedUserPolicies)可用于查询子账号关联的策略列表。
155
173
  */
156
- ListAttachedGroupPolicies(req: ListAttachedGroupPoliciesRequest, cb?: (error: string, rep: ListAttachedGroupPoliciesResponse) => void): Promise<ListAttachedGroupPoliciesResponse>;
174
+ ListAttachedUserPolicies(req: ListAttachedUserPoliciesRequest, cb?: (error: string, rep: ListAttachedUserPoliciesResponse) => void): Promise<ListAttachedUserPoliciesResponse>;
157
175
  /**
158
- * 根据删除TaskId获取服务相关角色删除状态
176
+ * 该接口(CreatePolicyVersion)用于新增策略版本,用户创建了一个策略版本之后可以方便的通过变更策略版本的方式来变更策略。
159
177
  */
160
- GetServiceLinkedRoleDeletionStatus(req: GetServiceLinkedRoleDeletionStatusRequest, cb?: (error: string, rep: GetServiceLinkedRoleDeletionStatusResponse) => void): Promise<GetServiceLinkedRoleDeletionStatusResponse>;
178
+ CreatePolicyVersion(req: CreatePolicyVersionRequest, cb?: (error: string, rep: CreatePolicyVersionResponse) => void): Promise<CreatePolicyVersionResponse>;
161
179
  /**
162
- * 查询用户OIDC配置
180
+ * 获取协作者列表
163
181
  */
164
- DescribeUserOIDCConfig(req?: DescribeUserOIDCConfigRequest, cb?: (error: string, rep: DescribeUserOIDCConfigResponse) => void): Promise<DescribeUserOIDCConfigResponse>;
182
+ ListCollaborators(req: ListCollaboratorsRequest, cb?: (error: string, rep: ListCollaboratorsResponse) => void): Promise<ListCollaboratorsResponse>;
165
183
  /**
166
- * 获取所有已授权服务
184
+ * 角色绑定标签
167
185
  */
168
- ListPoliciesGrantingServiceAccess(req: ListPoliciesGrantingServiceAccessRequest, cb?: (error: string, rep: ListPoliciesGrantingServiceAccessResponse) => void): Promise<ListPoliciesGrantingServiceAccessResponse>;
186
+ TagRole(req: TagRoleRequest, cb?: (error: string, rep: TagRoleResponse) => void): Promise<TagRoleResponse>;
169
187
  /**
170
- * 验证自定义多因子Token
188
+ * 本接口(UpdateRoleConsoleLogin)用于修改角色是否可登录。
171
189
  */
172
- ConsumeCustomMFAToken(req: ConsumeCustomMFATokenRequest, cb?: (error: string, rep: ConsumeCustomMFATokenResponse) => void): Promise<ConsumeCustomMFATokenResponse>;
190
+ UpdateRoleConsoleLogin(req: UpdateRoleConsoleLoginRequest, cb?: (error: string, rep: UpdateRoleConsoleLoginResponse) => void): Promise<UpdateRoleConsoleLoginResponse>;
173
191
  /**
174
- * 创建角色OIDC配置
192
+ * 本接口(AttachUserPolicy)可用于绑定到用户的策略。
175
193
  */
176
- CreateOIDCConfig(req: CreateOIDCConfigRequest, cb?: (error: string, rep: CreateOIDCConfigResponse) => void): Promise<CreateOIDCConfigResponse>;
194
+ AttachUserPolicy(req: AttachUserPolicyRequest, cb?: (error: string, rep: AttachUserPolicyResponse) => void): Promise<AttachUserPolicyResponse>;
177
195
  /**
178
- * 该接口(GetPolicyVersion)用于查询策略版本详情
196
+ * 本接口(UpdateAssumeRolePolicy)用于修改角色信任策略的策略文档。
179
197
  */
180
- GetPolicyVersion(req: GetPolicyVersionRequest, cb?: (error: string, rep: GetPolicyVersionResponse) => void): Promise<GetPolicyVersionResponse>;
198
+ UpdateAssumeRolePolicy(req: UpdateAssumeRolePolicyRequest, cb?: (error: string, rep: UpdateAssumeRolePolicyResponse) => void): Promise<UpdateAssumeRolePolicyResponse>;
181
199
  /**
182
- * 列出用户关联的策略(包括随组关联)
200
+ * 设置子用户的登录保护和敏感操作校验方式
183
201
  */
184
- ListAttachedUserAllPolicies(req: ListAttachedUserAllPoliciesRequest, cb?: (error: string, rep: ListAttachedUserAllPoliciesResponse) => void): Promise<ListAttachedUserAllPoliciesResponse>;
202
+ SetMfaFlag(req: SetMfaFlagRequest, cb?: (error: string, rep: SetMfaFlagResponse) => void): Promise<SetMfaFlagResponse>;
185
203
  /**
186
- * 获取用户权限边界
204
+ * 获取密钥最近使用情况
187
205
  */
188
- GetUserPermissionBoundary(req: GetUserPermissionBoundaryRequest, cb?: (error: string, rep: GetUserPermissionBoundaryResponse) => void): Promise<GetUserPermissionBoundaryResponse>;
206
+ GetSecurityLastUsed(req: GetSecurityLastUsedRequest, cb?: (error: string, rep: GetSecurityLastUsedResponse) => void): Promise<GetSecurityLastUsedResponse>;
189
207
  /**
190
- * 创建用户SAML配置
208
+ * 本接口(DeletePolicy)可用于删除策略。
191
209
  */
192
- CreateUserSAMLConfig(req: CreateUserSAMLConfigRequest, cb?: (error: string, rep: CreateUserSAMLConfigResponse) => void): Promise<CreateUserSAMLConfigResponse>;
210
+ DeletePolicy(req: DeletePolicyRequest, cb?: (error: string, rep: DeletePolicyResponse) => void): Promise<DeletePolicyResponse>;
193
211
  /**
194
- * 更新SAML身份提供商信息
212
+ * 创建用户组
195
213
  */
196
- UpdateSAMLProvider(req: UpdateSAMLProviderRequest, cb?: (error: string, rep: UpdateSAMLProviderResponse) => void): Promise<UpdateSAMLProviderResponse>;
214
+ CreateGroup(req: CreateGroupRequest, cb?: (error: string, rep: CreateGroupResponse) => void): Promise<CreateGroupResponse>;
197
215
  /**
198
- * 查询用户组列表
216
+ * 列出指定CAM用户的访问密钥
199
217
  */
200
- ListGroups(req: ListGroupsRequest, cb?: (error: string, rep: ListGroupsResponse) => void): Promise<ListGroupsResponse>;
218
+ ListAccessKeys(req: ListAccessKeysRequest, cb?: (error: string, rep: ListAccessKeysResponse) => void): Promise<ListAccessKeysResponse>;
201
219
  /**
202
- * 用户加入到用户组
220
+ * 删除用户组
203
221
  */
204
- AddUserToGroup(req: AddUserToGroupRequest, cb?: (error: string, rep: AddUserToGroupResponse) => void): Promise<AddUserToGroupResponse>;
222
+ DeleteGroup(req: DeleteGroupRequest, cb?: (error: string, rep: DeleteGroupResponse) => void): Promise<DeleteGroupResponse>;
205
223
  /**
206
- * 本接口(AttachRolePolicy)用于绑定策略到角色。
224
+ * 查询用户组详情
207
225
  */
208
- AttachRolePolicy(req: AttachRolePolicyRequest, cb?: (error: string, rep: AttachRolePolicyResponse) => void): Promise<AttachRolePolicyResponse>;
226
+ GetGroup(req: GetGroupRequest, cb?: (error: string, rep: GetGroupResponse) => void): Promise<GetGroupResponse>;
209
227
  /**
210
- * 查询安全设置
228
+ * 创建角色OIDC配置
211
229
  */
212
- DescribeSafeAuthFlagColl(req: DescribeSafeAuthFlagCollRequest, cb?: (error: string, rep: DescribeSafeAuthFlagCollResponse) => void): Promise<DescribeSafeAuthFlagCollResponse>;
230
+ CreateOIDCConfig(req: CreateOIDCConfigRequest, cb?: (error: string, rep: CreateOIDCConfigResponse) => void): Promise<CreateOIDCConfigResponse>;
213
231
  /**
214
- * 查询账户摘要
232
+ * 该接口(GetPolicyVersion)用于查询策略版本详情
215
233
  */
216
- GetAccountSummary(req?: GetAccountSummaryRequest, cb?: (error: string, rep: GetAccountSummaryResponse) => void): Promise<GetAccountSummaryResponse>;
234
+ GetPolicyVersion(req: GetPolicyVersionRequest, cb?: (error: string, rep: GetPolicyVersionResponse) => void): Promise<GetPolicyVersionResponse>;
217
235
  /**
218
- * 角色解绑标签。
236
+ * 列出用户关联的策略(包括随组关联)
219
237
  */
220
- UntagRole(req: UntagRoleRequest, cb?: (error: string, rep: UntagRoleResponse) => void): Promise<UntagRoleResponse>;
238
+ ListAttachedUserAllPolicies(req: ListAttachedUserAllPoliciesRequest, cb?: (error: string, rep: ListAttachedUserAllPoliciesResponse) => void): Promise<ListAttachedUserAllPoliciesResponse>;
221
239
  /**
222
- * 该接口(ListPolicyVersions)用于获取策略版本列表
240
+ * 本接口(SetDefaultPolicyVersion)可用于设置生效的策略版本。
223
241
  */
224
- ListPolicyVersions(req: ListPolicyVersionsRequest, cb?: (error: string, rep: ListPolicyVersionsResponse) => void): Promise<ListPolicyVersionsResponse>;
242
+ SetDefaultPolicyVersion(req: SetDefaultPolicyVersionRequest, cb?: (error: string, rep: SetDefaultPolicyVersionResponse) => void): Promise<SetDefaultPolicyVersionResponse>;
243
+ /**
244
+ * 本接口(DetachGroupPolicy)可用于解除绑定到用户组的策略。
245
+ */
246
+ DetachGroupPolicy(req: DetachGroupPolicyRequest, cb?: (error: string, rep: DetachGroupPolicyResponse) => void): Promise<DetachGroupPolicyResponse>;
225
247
  /**
226
248
  * 查询用户安全设置
227
249
  */
@@ -231,112 +253,103 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
231
253
  */
232
254
  DescribeSafeAuthFlagIntl(req?: DescribeSafeAuthFlagIntlRequest, cb?: (error: string, rep: DescribeSafeAuthFlagIntlResponse) => void): Promise<DescribeSafeAuthFlagIntlResponse>;
233
255
  /**
234
- * 更新用户组
235
- */
236
- UpdateGroup(req: UpdateGroupRequest, cb?: (error: string, rep: UpdateGroupResponse) => void): Promise<UpdateGroupResponse>;
237
- /**
238
- * 本接口(GetRole)用于获取指定角色的详细信息。
256
+ * 查询用户组列表
239
257
  */
240
- GetRole(req: GetRoleRequest, cb?: (error: string, rep: GetRoleResponse) => void): Promise<GetRoleResponse>;
258
+ ListGroups(req: ListGroupsRequest, cb?: (error: string, rep: ListGroupsResponse) => void): Promise<ListGroupsResponse>;
241
259
  /**
242
- * 本接口(UpdateRoleDescription)用于修改角色的描述信息。
260
+ * 获取企业微信子用户列表
243
261
  */
244
- UpdateRoleDescription(req: UpdateRoleDescriptionRequest, cb?: (error: string, rep: UpdateRoleDescriptionResponse) => void): Promise<UpdateRoleDescriptionResponse>;
262
+ ListWeChatWorkSubAccounts(req: ListWeChatWorkSubAccountsRequest, cb?: (error: string, rep: ListWeChatWorkSubAccountsResponse) => void): Promise<ListWeChatWorkSubAccountsResponse>;
245
263
  /**
246
- * 本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
264
+ * 该接口(ListPolicyVersions)用于获取策略版本列表
247
265
  */
248
- ListEntitiesForPolicy(req: ListEntitiesForPolicyRequest, cb?: (error: string, rep: ListEntitiesForPolicyResponse) => void): Promise<ListEntitiesForPolicyResponse>;
266
+ ListPolicyVersions(req: ListPolicyVersionsRequest, cb?: (error: string, rep: ListPolicyVersionsResponse) => void): Promise<ListPolicyVersionsResponse>;
249
267
  /**
250
- * 本接口(ListAttachedUserPolicies)可用于查询子账号关联的策略列表。
268
+ * 更新用户组
251
269
  */
252
- ListAttachedUserPolicies(req: ListAttachedUserPoliciesRequest, cb?: (error: string, rep: ListAttachedUserPoliciesResponse) => void): Promise<ListAttachedUserPoliciesResponse>;
270
+ UpdateGroup(req: UpdateGroupRequest, cb?: (error: string, rep: UpdateGroupResponse) => void): Promise<UpdateGroupResponse>;
253
271
  /**
254
- * 删除子用户
272
+ * 本接口(CreatePolicy)可用于创建策略。
255
273
  */
256
- DeleteUser(req: DeleteUserRequest, cb?: (error: string, rep: DeleteUserResponse) => void): Promise<DeleteUserResponse>;
274
+ CreatePolicy(req: CreatePolicyRequest, cb?: (error: string, rep: CreatePolicyResponse) => void): Promise<CreatePolicyResponse>;
257
275
  /**
258
- * 修改用户SAML配置
276
+ * 本接口(DetachUserPolicy)可用于解除绑定到用户的策略。
259
277
  */
260
- UpdateUserSAMLConfig(req: UpdateUserSAMLConfigRequest, cb?: (error: string, rep: UpdateUserSAMLConfigResponse) => void): Promise<UpdateUserSAMLConfigResponse>;
278
+ DetachUserPolicy(req: DetachUserPolicyRequest, cb?: (error: string, rep: DetachUserPolicyResponse) => void): Promise<DetachUserPolicyResponse>;
261
279
  /**
262
- * 该接口(CreatePolicyVersion)用于新增策略版本,用户创建了一个策略版本之后可以方便的通过变更策略版本的方式来变更策略。
280
+ * 列出用户关联的用户组
263
281
  */
264
- CreatePolicyVersion(req: CreatePolicyVersionRequest, cb?: (error: string, rep: CreatePolicyVersionResponse) => void): Promise<CreatePolicyVersionResponse>;
282
+ ListGroupsForUser(req: ListGroupsForUserRequest, cb?: (error: string, rep: ListGroupsForUserResponse) => void): Promise<ListGroupsForUserResponse>;
265
283
  /**
266
- * 获取协作者列表
284
+ * 查询SAML身份提供商详情
267
285
  */
268
- ListCollaborators(req: ListCollaboratorsRequest, cb?: (error: string, rep: ListCollaboratorsResponse) => void): Promise<ListCollaboratorsResponse>;
286
+ GetSAMLProvider(req: GetSAMLProviderRequest, cb?: (error: string, rep: GetSAMLProviderResponse) => void): Promise<GetSAMLProviderResponse>;
269
287
  /**
270
- * 本接口(DetachGroupPolicy)可用于解除绑定到用户组的策略。
288
+ * 本接口(CreateRole)用于创建角色。
271
289
  */
272
- DetachGroupPolicy(req: DetachGroupPolicyRequest, cb?: (error: string, rep: DetachGroupPolicyResponse) => void): Promise<DetachGroupPolicyResponse>;
290
+ CreateRole(req: CreateRoleRequest, cb?: (error: string, rep: CreateRoleResponse) => void): Promise<CreateRoleResponse>;
273
291
  /**
274
- * 通过子用户UIN列表查询子用户
292
+ * 本接口(ListAttachedRolePolicies)用于获取角色绑定的策略列表。
275
293
  */
276
- DescribeSubAccounts(req: DescribeSubAccountsRequest, cb?: (error: string, rep: DescribeSubAccountsResponse) => void): Promise<DescribeSubAccountsResponse>;
294
+ ListAttachedRolePolicies(req: ListAttachedRolePoliciesRequest, cb?: (error: string, rep: ListAttachedRolePoliciesResponse) => void): Promise<ListAttachedRolePoliciesResponse>;
277
295
  /**
278
- * 从用户组删除用户
296
+ * 删除SAML身份提供商
279
297
  */
280
- RemoveUserFromGroup(req: RemoveUserFromGroupRequest, cb?: (error: string, rep: RemoveUserFromGroupResponse) => void): Promise<RemoveUserFromGroupResponse>;
298
+ DeleteSAMLProvider(req: DeleteSAMLProviderRequest, cb?: (error: string, rep: DeleteSAMLProviderResponse) => void): Promise<DeleteSAMLProviderResponse>;
281
299
  /**
282
- * 本接口(ListPolicies)可用于查询策略列表。
300
+ * 本接口(GetPolicy)可用于查询查看策略详情。
283
301
  */
284
- ListPolicies(req: ListPoliciesRequest, cb?: (error: string, rep: ListPoliciesResponse) => void): Promise<ListPoliciesResponse>;
302
+ GetPolicy(req: GetPolicyRequest, cb?: (error: string, rep: GetPolicyResponse) => void): Promise<GetPolicyResponse>;
285
303
  /**
286
- * 查询用户组关联的用户列表
304
+ * 获取角色权限边界
287
305
  */
288
- ListUsersForGroup(req: ListUsersForGroupRequest, cb?: (error: string, rep: ListUsersForGroupResponse) => void): Promise<ListUsersForGroupResponse>;
306
+ GetRolePermissionBoundary(req: GetRolePermissionBoundaryRequest, cb?: (error: string, rep: GetRolePermissionBoundaryResponse) => void): Promise<GetRolePermissionBoundaryResponse>;
289
307
  /**
290
- * 本接口(AttachUserPolicy)可用于绑定到用户的策略。
308
+ * 修改用户OIDC配置
291
309
  */
292
- AttachUserPolicy(req: AttachUserPolicyRequest, cb?: (error: string, rep: AttachUserPolicyResponse) => void): Promise<AttachUserPolicyResponse>;
310
+ UpdateUserOIDCConfig(req: UpdateUserOIDCConfigRequest, cb?: (error: string, rep: UpdateUserOIDCConfigResponse) => void): Promise<UpdateUserOIDCConfigResponse>;
293
311
  /**
294
- * 查询用户组详情
312
+ * 查询角色OIDC配置
295
313
  */
296
- GetGroup(req: GetGroupRequest, cb?: (error: string, rep: GetGroupResponse) => void): Promise<GetGroupResponse>;
314
+ DescribeOIDCConfig(req: DescribeOIDCConfigRequest, cb?: (error: string, rep: DescribeOIDCConfigResponse) => void): Promise<DescribeOIDCConfigResponse>;
297
315
  /**
298
- * 删除OIDC身份提供商
316
+ * 本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
299
317
  */
300
- DeleteOIDCConfig(req: DeleteOIDCConfigRequest, cb?: (error: string, rep: DeleteOIDCConfigResponse) => void): Promise<DeleteOIDCConfigResponse>;
318
+ ListEntitiesForPolicy(req: ListEntitiesForPolicyRequest, cb?: (error: string, rep: ListEntitiesForPolicyResponse) => void): Promise<ListEntitiesForPolicyResponse>;
301
319
  /**
302
- * 获取企业微信子用户列表
320
+ * 设置用户权限边界
303
321
  */
304
- ListWeChatWorkSubAccounts(req: ListWeChatWorkSubAccountsRequest, cb?: (error: string, rep: ListWeChatWorkSubAccountsResponse) => void): Promise<ListWeChatWorkSubAccountsResponse>;
322
+ PutUserPermissionsBoundary(req: PutUserPermissionsBoundaryRequest, cb?: (error: string, rep: PutUserPermissionsBoundaryResponse) => void): Promise<PutUserPermissionsBoundaryResponse>;
305
323
  /**
306
- * 获取密钥最近使用情况
324
+ * 创建用户SAML配置
307
325
  */
308
- GetSecurityLastUsed(req: GetSecurityLastUsedRequest, cb?: (error: string, rep: GetSecurityLastUsedResponse) => void): Promise<GetSecurityLastUsedResponse>;
326
+ CreateUserSAMLConfig(req: CreateUserSAMLConfigRequest, cb?: (error: string, rep: CreateUserSAMLConfigResponse) => void): Promise<CreateUserSAMLConfigResponse>;
309
327
  /**
310
- * 本接口(AttachGroupPolicy)可用于绑定策略到用户组。
328
+ * 用户加入到用户组
311
329
  */
312
- AttachGroupPolicy(req: AttachGroupPolicyRequest, cb?: (error: string, rep: AttachGroupPolicyResponse) => void): Promise<AttachGroupPolicyResponse>;
330
+ AddUserToGroup(req: AddUserToGroupRequest, cb?: (error: string, rep: AddUserToGroupResponse) => void): Promise<AddUserToGroupResponse>;
313
331
  /**
314
- * 禁用用户SSO
332
+ * 本接口(AttachRolePolicy)用于绑定策略到角色。
315
333
  */
316
- DisableUserSSO(req?: DisableUserSSORequest, cb?: (error: string, rep: DisableUserSSOResponse) => void): Promise<DisableUserSSOResponse>;
334
+ AttachRolePolicy(req: AttachRolePolicyRequest, cb?: (error: string, rep: AttachRolePolicyResponse) => void): Promise<AttachRolePolicyResponse>;
317
335
  /**
318
- * 设置用户权限边界
336
+ * 查询安全设置
319
337
  */
320
- PutUserPermissionsBoundary(req: PutUserPermissionsBoundaryRequest, cb?: (error: string, rep: PutUserPermissionsBoundaryResponse) => void): Promise<PutUserPermissionsBoundaryResponse>;
338
+ DescribeSafeAuthFlagColl(req: DescribeSafeAuthFlagCollRequest, cb?: (error: string, rep: DescribeSafeAuthFlagCollResponse) => void): Promise<DescribeSafeAuthFlagCollResponse>;
321
339
  /**
322
- * 本接口(CreatePolicy)可用于创建策略。
340
+ * 本接口(GetRole)用于获取指定角色的详细信息。
323
341
  */
324
- CreatePolicy(req: CreatePolicyRequest, cb?: (error: string, rep: CreatePolicyResponse) => void): Promise<CreatePolicyResponse>;
342
+ GetRole(req: GetRoleRequest, cb?: (error: string, rep: GetRoleResponse) => void): Promise<GetRoleResponse>;
325
343
  /**
326
- * 本接口(UpdateAssumeRolePolicy)用于修改角色信任策略的策略文档。
344
+ * 本接口(DeletePolicyVersion)可用于删除一个策略的策略版本。
327
345
  */
328
- UpdateAssumeRolePolicy(req: UpdateAssumeRolePolicyRequest, cb?: (error: string, rep: UpdateAssumeRolePolicyResponse) => void): Promise<UpdateAssumeRolePolicyResponse>;
346
+ DeletePolicyVersion(req: DeletePolicyVersionRequest, cb?: (error: string, rep: DeletePolicyVersionResponse) => void): Promise<DeletePolicyVersionResponse>;
329
347
  /**
330
- * 本接口(DetachUserPolicy)可用于解除绑定到用户的策略。
348
+ * 本接口(ListPolicies)可用于查询策略列表。
331
349
  */
332
- DetachUserPolicy(req: DetachUserPolicyRequest, cb?: (error: string, rep: DetachUserPolicyResponse) => void): Promise<DetachUserPolicyResponse>;
350
+ ListPolicies(req: ListPoliciesRequest, cb?: (error: string, rep: ListPoliciesResponse) => void): Promise<ListPoliciesResponse>;
333
351
  /**
334
- * 列出用户关联的用户组
352
+ * 禁用用户SSO
335
353
  */
336
- ListGroupsForUser(req: ListGroupsForUserRequest, cb?: (error: string, rep: ListGroupsForUserResponse) => void): Promise<ListGroupsForUserResponse>;
337
- /**
338
- * 本接口(UpdatePolicy )可用于更新策略。
339
- 如果已存在策略版本,本接口会直接更新策略的默认版本,不会创建新版本,如果不存在任何策略版本,则直接创建一个默认版本。
340
- */
341
- UpdatePolicy(req: UpdatePolicyRequest, cb?: (error: string, rep: UpdatePolicyResponse) => void): Promise<UpdatePolicyResponse>;
354
+ DisableUserSSO(req?: DisableUserSSORequest, cb?: (error: string, rep: DisableUserSSOResponse) => void): Promise<DisableUserSSOResponse>;
342
355
  }