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.
@@ -25,16 +25,17 @@ import {
25
25
  SetMfaFlagResponse,
26
26
  UpdateSAMLProviderRequest,
27
27
  DeleteUserRequest,
28
- GetRolePermissionBoundaryResponse,
28
+ DetachGroupPolicyRequest,
29
29
  DescribeRoleListResponse,
30
30
  UpdatePolicyResponse,
31
- CreatePolicyResponse,
31
+ DeleteUserResponse,
32
32
  GetRoleRequest,
33
33
  CreateServiceLinkedRoleRequest,
34
34
  ListAttachedGroupPoliciesRequest,
35
35
  ListGroupsForUserRequest,
36
36
  AttachRolePolicyResponse,
37
37
  GetUserPermissionBoundaryRequest,
38
+ DescribeOIDCConfigRequest,
38
39
  GetRolePermissionBoundaryRequest,
39
40
  GetServiceLinkedRoleDeletionStatusResponse,
40
41
  GetSecurityLastUsedRequest,
@@ -43,10 +44,10 @@ import {
43
44
  ListUsersResponse,
44
45
  UpdateRoleDescriptionResponse,
45
46
  GetAccountSummaryRequest,
46
- DetachUserPolicyRequest,
47
+ DeletePolicyResponse,
47
48
  GetUserAppIdResponse,
48
49
  GetUserAppIdRequest,
49
- ListGroupsResponse,
50
+ DescribeOIDCConfigResponse,
50
51
  ListPolicyVersionsRequest,
51
52
  GetCustomMFATokenInfoRequest,
52
53
  DescribeRoleListRequest,
@@ -55,12 +56,13 @@ import {
55
56
  GetGroupRequest,
56
57
  DeleteRoleResponse,
57
58
  PolicyVersionItem,
59
+ DetachUserPolicyRequest,
58
60
  DescribeSubAccountsRequest,
59
61
  DeleteUserPermissionsBoundaryRequest,
60
62
  ListSAMLProvidersRequest,
61
63
  ListGroupsRequest,
62
64
  DeletePolicyVersionResponse,
63
- DetachGroupPolicyRequest,
65
+ GetRolePermissionBoundaryResponse,
64
66
  AttachedUserPolicyGroupInfo,
65
67
  ListGroupsForUserResponse,
66
68
  ListUsersForGroupRequest,
@@ -82,7 +84,7 @@ import {
82
84
  DeleteGroupRequest,
83
85
  GetUserResponse,
84
86
  GetUserPermissionBoundaryResponse,
85
- DeleteUserResponse,
87
+ CreatePolicyResponse,
86
88
  DetachRolePolicyRequest,
87
89
  ListPoliciesGrantingServiceAccessResponse,
88
90
  DeleteRolePermissionsBoundaryRequest,
@@ -96,8 +98,7 @@ import {
96
98
  DeleteRoleRequest,
97
99
  ListWeChatWorkSubAccountsRequest,
98
100
  UpdateRoleConsoleLoginRequest,
99
- ListCollaboratorsRequest,
100
- GetCustomMFATokenInfoResponse,
101
+ UpdateUserResponse,
101
102
  UpdateAssumeRolePolicyResponse,
102
103
  GetPolicyVersionRequest,
103
104
  CreateSAMLProviderResponse,
@@ -122,18 +123,21 @@ import {
122
123
  AttachUserPolicyRequest,
123
124
  ListAttachedGroupPoliciesResponse,
124
125
  ListAttachedUserPoliciesResponse,
126
+ ListGroupsResponse,
125
127
  PutUserPermissionsBoundaryResponse,
126
- DeletePolicyResponse,
128
+ GetPolicyVersionResponse,
129
+ GetCustomMFATokenInfoResponse,
127
130
  ConsumeCustomMFATokenRequest,
131
+ CreateOIDCConfigRequest,
128
132
  AccessKey,
129
133
  GetGroupResponse,
134
+ UpdateOIDCConfigResponse,
130
135
  DeleteSAMLProviderRequest,
131
136
  DeleteSAMLProviderResponse,
132
- UpdateUserResponse,
133
137
  GetAccountSummaryResponse,
134
138
  CreateServiceLinkedRoleResponse,
135
139
  ListUsersRequest,
136
- GetSAMLProviderResponse,
140
+ ListCollaboratorsRequest,
137
141
  CreateUserOIDCConfigRequest,
138
142
  AttachGroupPolicyResponse,
139
143
  UpdateGroupResponse,
@@ -142,15 +146,17 @@ import {
142
146
  GetServiceLinkedRoleDeletionStatusRequest,
143
147
  ListGrantServiceAccessActionNode,
144
148
  DetachGroupPolicyResponse,
149
+ GroupMemberInfo,
145
150
  CreatePolicyRequest,
146
151
  ListAttachedUserAllPoliciesRequest,
147
152
  DeletePolicyVersionRequest,
148
153
  CreateUserSAMLConfigRequest,
149
154
  UpdateGroupRequest,
150
155
  ListGrantServiceAccessNode,
151
- GetPolicyVersionResponse,
152
- CreateRoleResponse,
153
156
  AttachGroupPolicyRequest,
157
+ UpdateOIDCConfigRequest,
158
+ CreateRoleResponse,
159
+ GetSAMLProviderResponse,
154
160
  DescribeSafeAuthFlagIntlResponse,
155
161
  ListPolicyVersionsResponse,
156
162
  GetPolicyRequest,
@@ -161,6 +167,7 @@ import {
161
167
  RemoveUserFromGroupResponse,
162
168
  DetachRolePolicyResponse,
163
169
  DescribeUserOIDCConfigRequest,
170
+ CreateOIDCConfigResponse,
164
171
  AttachedPolicyOfRole,
165
172
  PutUserPermissionsBoundaryRequest,
166
173
  ListSAMLProvidersResponse,
@@ -172,11 +179,12 @@ import {
172
179
  CreateRoleRequest,
173
180
  AttachedUserPolicy,
174
181
  DeleteServiceLinkedRoleResponse,
182
+ ListUsersForGroupResponse,
175
183
  GetPolicyResponse,
176
184
  DescribeSafeAuthFlagRequest,
177
185
  DeleteServiceLinkedRoleRequest,
178
186
  AttachEntityOfPolicy,
179
- ListUsersForGroupResponse,
187
+ DeleteOIDCConfigResponse,
180
188
  PolicyVersionDetail,
181
189
  AddUserResponse,
182
190
  ListGrantServiceAccessService,
@@ -195,7 +203,7 @@ import {
195
203
  GetSecurityLastUsedResponse,
196
204
  ListAttachedUserPoliciesRequest,
197
205
  UpdatePolicyRequest,
198
- GroupMemberInfo,
206
+ DeleteOIDCConfigRequest,
199
207
  CreateGroupResponse,
200
208
  } from "./cam_models"
201
209
 
@@ -448,6 +456,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
448
456
  return this.request("UpdateUser", req, cb)
449
457
  }
450
458
 
459
+ /**
460
+ * 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
461
+ */
462
+ async CreateUserOIDCConfig(
463
+ req: CreateUserOIDCConfigRequest,
464
+ cb?: (error: string, rep: CreateUserOIDCConfigResponse) => void
465
+ ): Promise<CreateUserOIDCConfigResponse> {
466
+ return this.request("CreateUserOIDCConfig", req, cb)
467
+ }
468
+
451
469
  /**
452
470
  * 本接口(GetPolicy)可用于查询查看策略详情。
453
471
  */
@@ -498,6 +516,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
498
516
  return this.request("DeleteGroup", req, cb)
499
517
  }
500
518
 
519
+ /**
520
+ * 修改角色OIDC配置
521
+ */
522
+ async UpdateOIDCConfig(
523
+ req: UpdateOIDCConfigRequest,
524
+ cb?: (error: string, rep: UpdateOIDCConfigResponse) => void
525
+ ): Promise<UpdateOIDCConfigResponse> {
526
+ return this.request("UpdateOIDCConfig", req, cb)
527
+ }
528
+
501
529
  /**
502
530
  * 本接口(DeleteRole)用于删除指定角色。
503
531
  */
@@ -528,6 +556,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
528
556
  return this.request("DeleteUserPermissionsBoundary", req, cb)
529
557
  }
530
558
 
559
+ /**
560
+ * 查询角色OIDC配置
561
+ */
562
+ async DescribeOIDCConfig(
563
+ req: DescribeOIDCConfigRequest,
564
+ cb?: (error: string, rep: DescribeOIDCConfigResponse) => void
565
+ ): Promise<DescribeOIDCConfigResponse> {
566
+ return this.request("DescribeOIDCConfig", req, cb)
567
+ }
568
+
531
569
  /**
532
570
  * 本接口(ListAttachedGroupPolicies)可用于查询用户组关联的策略列表。
533
571
  */
@@ -579,13 +617,13 @@ export class Client extends TencentCloudCommon.AbstractClient {
579
617
  }
580
618
 
581
619
  /**
582
- * 查询用户组详情
620
+ * 创建角色OIDC配置
583
621
  */
584
- async GetGroup(
585
- req: GetGroupRequest,
586
- cb?: (error: string, rep: GetGroupResponse) => void
587
- ): Promise<GetGroupResponse> {
588
- return this.request("GetGroup", req, cb)
622
+ async CreateOIDCConfig(
623
+ req: CreateOIDCConfigRequest,
624
+ cb?: (error: string, rep: CreateOIDCConfigResponse) => void
625
+ ): Promise<CreateOIDCConfigResponse> {
626
+ return this.request("CreateOIDCConfig", req, cb)
589
627
  }
590
628
 
591
629
  /**
@@ -748,6 +786,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
748
786
  return this.request("UpdateRoleDescription", req, cb)
749
787
  }
750
788
 
789
+ /**
790
+ * 本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
791
+ */
792
+ async ListEntitiesForPolicy(
793
+ req: ListEntitiesForPolicyRequest,
794
+ cb?: (error: string, rep: ListEntitiesForPolicyResponse) => void
795
+ ): Promise<ListEntitiesForPolicyResponse> {
796
+ return this.request("ListEntitiesForPolicy", req, cb)
797
+ }
798
+
751
799
  /**
752
800
  * 本接口(ListAttachedUserPolicies)可用于查询子账号关联的策略列表。
753
801
  */
@@ -859,23 +907,23 @@ export class Client extends TencentCloudCommon.AbstractClient {
859
907
  }
860
908
 
861
909
  /**
862
- * 本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
910
+ * 查询用户组详情
863
911
  */
864
- async ListEntitiesForPolicy(
865
- req: ListEntitiesForPolicyRequest,
866
- cb?: (error: string, rep: ListEntitiesForPolicyResponse) => void
867
- ): Promise<ListEntitiesForPolicyResponse> {
868
- return this.request("ListEntitiesForPolicy", req, cb)
912
+ async GetGroup(
913
+ req: GetGroupRequest,
914
+ cb?: (error: string, rep: GetGroupResponse) => void
915
+ ): Promise<GetGroupResponse> {
916
+ return this.request("GetGroup", req, cb)
869
917
  }
870
918
 
871
919
  /**
872
- * 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
920
+ * 删除OIDC身份提供商
873
921
  */
874
- async CreateUserOIDCConfig(
875
- req: CreateUserOIDCConfigRequest,
876
- cb?: (error: string, rep: CreateUserOIDCConfigResponse) => void
877
- ): Promise<CreateUserOIDCConfigResponse> {
878
- return this.request("CreateUserOIDCConfig", req, cb)
922
+ async DeleteOIDCConfig(
923
+ req: DeleteOIDCConfigRequest,
924
+ cb?: (error: string, rep: DeleteOIDCConfigResponse) => void
925
+ ): Promise<DeleteOIDCConfigResponse> {
926
+ return this.request("DeleteOIDCConfig", req, cb)
879
927
  }
880
928
 
881
929
  /**