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