tencentcloud-sdk-nodejs-cam 4.0.319 → 4.0.320

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, ListAccessKeysRequest, SetMfaFlagResponse, UpdateSAMLProviderRequest, DeleteUserRequest, GetRolePermissionBoundaryResponse, DescribeRoleListResponse, CreatePolicyResponse, GetRoleRequest, CreateServiceLinkedRoleRequest, ListAttachedGroupPoliciesRequest, ListGroupsForUserRequest, AttachRolePolicyResponse, GetUserPermissionBoundaryRequest, GetRolePermissionBoundaryRequest, GetServiceLinkedRoleDeletionStatusResponse, GetSecurityLastUsedRequest, DescribeUserSAMLConfigResponse, DeleteUserPermissionsBoundaryResponse, ListUsersResponse, UpdateRoleDescriptionResponse, GetAccountSummaryRequest, DetachUserPolicyRequest, GetUserAppIdResponse, GetUserAppIdRequest, ListGroupsResponse, ListPolicyVersionsRequest, GetCustomMFATokenInfoRequest, DescribeRoleListRequest, DescribeUserSAMLConfigRequest, GetGroupRequest, DeleteRoleResponse, DescribeSubAccountsRequest, DeleteUserPermissionsBoundaryRequest, ListSAMLProvidersRequest, ListGroupsRequest, DeletePolicyVersionResponse, DetachGroupPolicyRequest, ListGroupsForUserResponse, ListUsersForGroupRequest, RemoveUserFromGroupRequest, CreatePolicyVersionResponse, ListPoliciesResponse, UpdateRoleDescriptionRequest, UpdateUserSAMLConfigRequest, DeleteGroupResponse, DescribeSafeAuthFlagResponse, CreatePolicyVersionRequest, ListAttachedUserAllPoliciesResponse, DeleteGroupRequest, GetUserResponse, GetUserPermissionBoundaryResponse, DeleteUserResponse, DetachRolePolicyRequest, ListPoliciesGrantingServiceAccessResponse, DeleteRolePermissionsBoundaryRequest, DeletePolicyRequest, AddUserRequest, UpdateAssumeRolePolicyRequest, DeleteRoleRequest, ListWeChatWorkSubAccountsRequest, UpdateRoleConsoleLoginRequest, GetCustomMFATokenInfoResponse, UpdateAssumeRolePolicyResponse, GetPolicyVersionRequest, CreateSAMLProviderResponse, DeleteRolePermissionsBoundaryResponse, GetUserRequest, CreateGroupRequest, ListPoliciesGrantingServiceAccessRequest, UpdateSAMLProviderResponse, UpdateUserRequest, ListWeChatWorkSubAccountsResponse, CreateSAMLProviderRequest, PutRolePermissionsBoundaryRequest, UpdateRoleConsoleLoginResponse, AttachRolePolicyRequest, ConsumeCustomMFATokenResponse, AttachUserPolicyRequest, ListAttachedGroupPoliciesResponse, ListAttachedUserPoliciesResponse, PutUserPermissionsBoundaryResponse, DeletePolicyResponse, ConsumeCustomMFATokenRequest, GetGroupResponse, DeleteSAMLProviderRequest, DeleteSAMLProviderResponse, UpdateUserResponse, GetAccountSummaryResponse, CreateServiceLinkedRoleResponse, ListUsersRequest, ListCollaboratorsRequest, UpdatePolicyResponse, AttachGroupPolicyResponse, UpdateGroupResponse, ListEntitiesForPolicyRequest, ListPoliciesRequest, GetServiceLinkedRoleDeletionStatusRequest, DetachGroupPolicyResponse, CreatePolicyRequest, ListAttachedUserAllPoliciesRequest, DeletePolicyVersionRequest, CreateUserSAMLConfigRequest, UpdateGroupRequest, GetPolicyVersionResponse, CreateRoleResponse, GetSAMLProviderResponse, DescribeSafeAuthFlagIntlResponse, ListPolicyVersionsResponse, GetPolicyRequest, DescribeSafeAuthFlagIntlRequest, SetDefaultPolicyVersionRequest, AddUserToGroupRequest, RemoveUserFromGroupResponse, DetachRolePolicyResponse, PutUserPermissionsBoundaryRequest, ListSAMLProvidersResponse, SetDefaultPolicyVersionResponse, ListAttachedRolePoliciesRequest, GetSAMLProviderRequest, DetachUserPolicyResponse, GetRoleResponse, CreateRoleRequest, DeleteServiceLinkedRoleResponse, GetPolicyResponse, DescribeSafeAuthFlagRequest, AttachGroupPolicyRequest, DeleteServiceLinkedRoleRequest, ListUsersForGroupResponse, AddUserResponse, CreateUserSAMLConfigResponse, DescribeSubAccountsResponse, ListEntitiesForPolicyResponse, AddUserToGroupResponse, UpdateUserSAMLConfigResponse, AttachUserPolicyResponse, DescribeSafeAuthFlagCollResponse, DescribeSafeAuthFlagCollRequest, PutRolePermissionsBoundaryResponse, SetMfaFlagRequest, ListCollaboratorsResponse, ListAccessKeysResponse, GetSecurityLastUsedResponse, ListAttachedUserPoliciesRequest, UpdatePolicyRequest, CreateGroupResponse } from "./cam_models";
2
+ import { ListAttachedRolePoliciesResponse, UpdateUserOIDCConfigResponse, ListAccessKeysRequest, SetMfaFlagResponse, UpdateSAMLProviderRequest, DeleteUserRequest, GetRolePermissionBoundaryResponse, DescribeRoleListResponse, UpdatePolicyResponse, CreatePolicyResponse, GetRoleRequest, CreateServiceLinkedRoleRequest, ListAttachedGroupPoliciesRequest, ListGroupsForUserRequest, AttachRolePolicyResponse, GetUserPermissionBoundaryRequest, GetRolePermissionBoundaryRequest, GetServiceLinkedRoleDeletionStatusResponse, GetSecurityLastUsedRequest, DescribeUserSAMLConfigResponse, DeleteUserPermissionsBoundaryResponse, ListUsersResponse, UpdateRoleDescriptionResponse, GetAccountSummaryRequest, DetachUserPolicyRequest, GetUserAppIdResponse, GetUserAppIdRequest, ListGroupsResponse, ListPolicyVersionsRequest, GetCustomMFATokenInfoRequest, DescribeRoleListRequest, DescribeUserSAMLConfigRequest, PutRolePermissionsBoundaryRequest, GetGroupRequest, DeleteRoleResponse, DescribeSubAccountsRequest, DeleteUserPermissionsBoundaryRequest, ListSAMLProvidersRequest, ListGroupsRequest, DeletePolicyVersionResponse, DetachGroupPolicyRequest, ListGroupsForUserResponse, ListUsersForGroupRequest, RemoveUserFromGroupRequest, CreatePolicyVersionResponse, ListPoliciesResponse, UpdateRoleDescriptionRequest, UpdateUserSAMLConfigRequest, DeleteGroupResponse, DescribeSafeAuthFlagResponse, CreatePolicyVersionRequest, CreateUserOIDCConfigResponse, ListAttachedUserAllPoliciesResponse, DeleteGroupRequest, GetUserResponse, GetUserPermissionBoundaryResponse, DeleteUserResponse, DetachRolePolicyRequest, ListPoliciesGrantingServiceAccessResponse, DeleteRolePermissionsBoundaryRequest, DescribeUserOIDCConfigResponse, DeletePolicyRequest, AddUserRequest, UpdateAssumeRolePolicyRequest, DeleteRoleRequest, ListWeChatWorkSubAccountsRequest, UpdateRoleConsoleLoginRequest, ListCollaboratorsRequest, GetCustomMFATokenInfoResponse, UpdateAssumeRolePolicyResponse, GetPolicyVersionRequest, CreateSAMLProviderResponse, DeleteRolePermissionsBoundaryResponse, GetUserRequest, CreateGroupRequest, DisableUserSSORequest, ListPoliciesGrantingServiceAccessRequest, UpdateSAMLProviderResponse, UpdateUserRequest, ListWeChatWorkSubAccountsResponse, CreateSAMLProviderRequest, DisableUserSSOResponse, UpdateRoleConsoleLoginResponse, AttachRolePolicyRequest, ConsumeCustomMFATokenResponse, AttachUserPolicyRequest, ListAttachedGroupPoliciesResponse, ListAttachedUserPoliciesResponse, PutUserPermissionsBoundaryResponse, DeletePolicyResponse, ConsumeCustomMFATokenRequest, GetGroupResponse, DeleteSAMLProviderRequest, DeleteSAMLProviderResponse, UpdateUserResponse, GetAccountSummaryResponse, CreateServiceLinkedRoleResponse, ListUsersRequest, GetSAMLProviderResponse, CreateUserOIDCConfigRequest, AttachGroupPolicyResponse, UpdateGroupResponse, ListEntitiesForPolicyRequest, ListPoliciesRequest, GetServiceLinkedRoleDeletionStatusRequest, DetachGroupPolicyResponse, CreatePolicyRequest, ListAttachedUserAllPoliciesRequest, DeletePolicyVersionRequest, CreateUserSAMLConfigRequest, UpdateGroupRequest, GetPolicyVersionResponse, CreateRoleResponse, AttachGroupPolicyRequest, DescribeSafeAuthFlagIntlResponse, ListPolicyVersionsResponse, GetPolicyRequest, DescribeSafeAuthFlagIntlRequest, SetDefaultPolicyVersionRequest, UpdateUserOIDCConfigRequest, AddUserToGroupRequest, RemoveUserFromGroupResponse, DetachRolePolicyResponse, DescribeUserOIDCConfigRequest, PutUserPermissionsBoundaryRequest, ListSAMLProvidersResponse, SetDefaultPolicyVersionResponse, ListAttachedRolePoliciesRequest, GetSAMLProviderRequest, DetachUserPolicyResponse, GetRoleResponse, CreateRoleRequest, DeleteServiceLinkedRoleResponse, GetPolicyResponse, DescribeSafeAuthFlagRequest, DeleteServiceLinkedRoleRequest, ListUsersForGroupResponse, AddUserResponse, CreateUserSAMLConfigResponse, DescribeSubAccountsResponse, ListEntitiesForPolicyResponse, AddUserToGroupResponse, UpdateUserSAMLConfigResponse, AttachUserPolicyResponse, DescribeSafeAuthFlagCollResponse, DescribeSafeAuthFlagCollRequest, PutRolePermissionsBoundaryResponse, SetMfaFlagRequest, ListCollaboratorsResponse, ListAccessKeysResponse, GetSecurityLastUsedResponse, ListAttachedUserPoliciesRequest, UpdatePolicyRequest, CreateGroupResponse } from "./cam_models";
3
3
  /**
4
4
  * cam client
5
5
  * @class
@@ -46,6 +46,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
46
46
  * 本接口(CreateRole)用于创建角色。
47
47
  */
48
48
  CreateRole(req: CreateRoleRequest, cb?: (error: string, rep: CreateRoleResponse) => void): Promise<CreateRoleResponse>;
49
+ /**
50
+ * 修改用户OIDC配置
51
+ */
52
+ UpdateUserOIDCConfig(req: UpdateUserOIDCConfigRequest, cb?: (error: string, rep: UpdateUserOIDCConfigResponse) => void): Promise<UpdateUserOIDCConfigResponse>;
49
53
  /**
50
54
  * 设置角色权限边界
51
55
  */
@@ -138,6 +142,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
138
142
  * 根据删除TaskId获取服务相关角色删除状态
139
143
  */
140
144
  GetServiceLinkedRoleDeletionStatus(req: GetServiceLinkedRoleDeletionStatusRequest, cb?: (error: string, rep: GetServiceLinkedRoleDeletionStatusResponse) => void): Promise<GetServiceLinkedRoleDeletionStatusResponse>;
145
+ /**
146
+ * 查询用户OIDC配置
147
+ */
148
+ DescribeUserOIDCConfig(req?: DescribeUserOIDCConfigRequest, cb?: (error: string, rep: DescribeUserOIDCConfigResponse) => void): Promise<DescribeUserOIDCConfigResponse>;
141
149
  /**
142
150
  * 获取所有已授权服务
143
151
  */
@@ -202,6 +210,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
202
210
  * 查询安全设置(国际站)
203
211
  */
204
212
  DescribeSafeAuthFlagIntl(req?: DescribeSafeAuthFlagIntlRequest, cb?: (error: string, rep: DescribeSafeAuthFlagIntlResponse) => void): Promise<DescribeSafeAuthFlagIntlResponse>;
213
+ /**
214
+ * 更新用户组
215
+ */
216
+ UpdateGroup(req: UpdateGroupRequest, cb?: (error: string, rep: UpdateGroupResponse) => void): Promise<UpdateGroupResponse>;
205
217
  /**
206
218
  * 本接口(GetRole)用于获取指定角色的详细信息。
207
219
  */
@@ -258,6 +270,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
258
270
  * 本接口(ListEntitiesForPolicy)可用于查询策略关联的实体列表。
259
271
  */
260
272
  ListEntitiesForPolicy(req: ListEntitiesForPolicyRequest, cb?: (error: string, rep: ListEntitiesForPolicyResponse) => void): Promise<ListEntitiesForPolicyResponse>;
273
+ /**
274
+ * 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
275
+ */
276
+ CreateUserOIDCConfig(req: CreateUserOIDCConfigRequest, cb?: (error: string, rep: CreateUserOIDCConfigResponse) => void): Promise<CreateUserOIDCConfigResponse>;
261
277
  /**
262
278
  * 获取企业微信子用户列表
263
279
  */
@@ -271,9 +287,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
271
287
  */
272
288
  AttachGroupPolicy(req: AttachGroupPolicyRequest, cb?: (error: string, rep: AttachGroupPolicyResponse) => void): Promise<AttachGroupPolicyResponse>;
273
289
  /**
274
- * 更新用户组
290
+ * 禁用用户SSO
275
291
  */
276
- UpdateGroup(req: UpdateGroupRequest, cb?: (error: string, rep: UpdateGroupResponse) => void): Promise<UpdateGroupResponse>;
292
+ DisableUserSSO(req?: DisableUserSSORequest, cb?: (error: string, rep: DisableUserSSOResponse) => void): Promise<DisableUserSSOResponse>;
277
293
  /**
278
294
  * 设置用户权限边界
279
295
  */
@@ -87,6 +87,12 @@ class Client extends TencentCloudCommon.AbstractClient {
87
87
  async CreateRole(req, cb) {
88
88
  return this.request("CreateRole", req, cb);
89
89
  }
90
+ /**
91
+ * 修改用户OIDC配置
92
+ */
93
+ async UpdateUserOIDCConfig(req, cb) {
94
+ return this.request("UpdateUserOIDCConfig", req, cb);
95
+ }
90
96
  /**
91
97
  * 设置角色权限边界
92
98
  */
@@ -225,6 +231,12 @@ class Client extends TencentCloudCommon.AbstractClient {
225
231
  async GetServiceLinkedRoleDeletionStatus(req, cb) {
226
232
  return this.request("GetServiceLinkedRoleDeletionStatus", req, cb);
227
233
  }
234
+ /**
235
+ * 查询用户OIDC配置
236
+ */
237
+ async DescribeUserOIDCConfig(req, cb) {
238
+ return this.request("DescribeUserOIDCConfig", req, cb);
239
+ }
228
240
  /**
229
241
  * 获取所有已授权服务
230
242
  */
@@ -321,6 +333,12 @@ class Client extends TencentCloudCommon.AbstractClient {
321
333
  async DescribeSafeAuthFlagIntl(req, cb) {
322
334
  return this.request("DescribeSafeAuthFlagIntl", req, cb);
323
335
  }
336
+ /**
337
+ * 更新用户组
338
+ */
339
+ async UpdateGroup(req, cb) {
340
+ return this.request("UpdateGroup", req, cb);
341
+ }
324
342
  /**
325
343
  * 本接口(GetRole)用于获取指定角色的详细信息。
326
344
  */
@@ -405,6 +423,12 @@ class Client extends TencentCloudCommon.AbstractClient {
405
423
  async ListEntitiesForPolicy(req, cb) {
406
424
  return this.request("ListEntitiesForPolicy", req, cb);
407
425
  }
426
+ /**
427
+ * 创建用户OIDC配置。只能创建一个用户OIDC身份提供商,并且创建用户OIDC配置之后会自动关闭用户SAML SSO身份提供商。
428
+ */
429
+ async CreateUserOIDCConfig(req, cb) {
430
+ return this.request("CreateUserOIDCConfig", req, cb);
431
+ }
408
432
  /**
409
433
  * 获取企业微信子用户列表
410
434
  */
@@ -424,10 +448,10 @@ class Client extends TencentCloudCommon.AbstractClient {
424
448
  return this.request("AttachGroupPolicy", req, cb);
425
449
  }
426
450
  /**
427
- * 更新用户组
451
+ * 禁用用户SSO
428
452
  */
429
- async UpdateGroup(req, cb) {
430
- return this.request("UpdateGroup", req, cb);
453
+ async DisableUserSSO(req, cb) {
454
+ return this.request("DisableUserSSO", req, cb);
431
455
  }
432
456
  /**
433
457
  * 设置用户权限边界
@@ -83,6 +83,15 @@ export interface LoginActionFlagIntl {
83
83
  */
84
84
  Mail?: number;
85
85
  }
86
+ /**
87
+ * UpdateUserOIDCConfig返回参数结构体
88
+ */
89
+ export interface UpdateUserOIDCConfigResponse {
90
+ /**
91
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
92
+ */
93
+ RequestId?: string;
94
+ }
86
95
  /**
87
96
  * ListAccessKeys请求参数结构体
88
97
  */
@@ -183,6 +192,20 @@ export interface DescribeRoleListResponse {
183
192
  */
184
193
  RequestId?: string;
185
194
  }
195
+ /**
196
+ * UpdatePolicy返回参数结构体
197
+ */
198
+ export interface UpdatePolicyResponse {
199
+ /**
200
+ * 策略id,入参是PolicyName时,才会返回
201
+ 注意:此字段可能返回 null,表示取不到有效值。
202
+ */
203
+ PolicyId: number;
204
+ /**
205
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
206
+ */
207
+ RequestId?: string;
208
+ }
186
209
  /**
187
210
  * CreatePolicy返回参数结构体
188
211
  */
@@ -473,6 +496,23 @@ export interface DescribeRoleListRequest {
473
496
  * DescribeUserSAMLConfig请求参数结构体
474
497
  */
475
498
  export declare type DescribeUserSAMLConfigRequest = null;
499
+ /**
500
+ * PutRolePermissionsBoundary请求参数结构体
501
+ */
502
+ export interface PutRolePermissionsBoundaryRequest {
503
+ /**
504
+ * 策略ID
505
+ */
506
+ PolicyId: number;
507
+ /**
508
+ * 角色ID(与角色名至少填一个)
509
+ */
510
+ RoleId?: string;
511
+ /**
512
+ * 角色名(与角色ID至少填一个)
513
+ */
514
+ RoleName?: string;
515
+ }
476
516
  /**
477
517
  * GetGroup请求参数结构体
478
518
  */
@@ -905,6 +945,15 @@ export interface SecretIdLastUsed {
905
945
  */
906
946
  LastUsedDate: string;
907
947
  }
948
+ /**
949
+ * CreateUserOIDCConfig返回参数结构体
950
+ */
951
+ export interface CreateUserOIDCConfigResponse {
952
+ /**
953
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
954
+ */
955
+ RequestId?: string;
956
+ }
908
957
  /**
909
958
  * ListAttachedUserAllPolicies返回参数结构体
910
959
  */
@@ -1138,6 +1187,59 @@ export interface StrategyInfo {
1138
1187
  */
1139
1188
  UpdateTime: string;
1140
1189
  }
1190
+ /**
1191
+ * DescribeUserOIDCConfig返回参数结构体
1192
+ */
1193
+ export interface DescribeUserOIDCConfigResponse {
1194
+ /**
1195
+ * 身份提供商类型。 12:用户OIDC身份提供商
1196
+ */
1197
+ ProviderType: number;
1198
+ /**
1199
+ * 身份提供商URL
1200
+ */
1201
+ IdentityUrl: string;
1202
+ /**
1203
+ * 签名公钥
1204
+ */
1205
+ IdentityKey: string;
1206
+ /**
1207
+ * 客户端id
1208
+ */
1209
+ ClientId: string;
1210
+ /**
1211
+ * 状态:0:未设置,11:已开启,2:已禁用
1212
+ */
1213
+ Status: number;
1214
+ /**
1215
+ * 授权请求Endpoint
1216
+ */
1217
+ AuthorizationEndpoint: string;
1218
+ /**
1219
+ * 授权请求Scope
1220
+ */
1221
+ Scope: Array<string>;
1222
+ /**
1223
+ * 授权请求Response type
1224
+ */
1225
+ ResponseType: string;
1226
+ /**
1227
+ * 授权请求Response mode
1228
+ */
1229
+ ResponseMode: string;
1230
+ /**
1231
+ * 映射字段名称
1232
+ */
1233
+ MappingFiled: string;
1234
+ /**
1235
+ * 描述
1236
+ */
1237
+ Description: string;
1238
+ /**
1239
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1240
+ */
1241
+ RequestId?: string;
1242
+ }
1141
1243
  /**
1142
1244
  * DeletePolicy请求参数结构体
1143
1245
  */
@@ -1294,6 +1396,19 @@ export interface UpdateRoleConsoleLoginRequest {
1294
1396
  */
1295
1397
  RoleName?: string;
1296
1398
  }
1399
+ /**
1400
+ * ListCollaborators请求参数结构体
1401
+ */
1402
+ export interface ListCollaboratorsRequest {
1403
+ /**
1404
+ * 分页条数,缺省为20
1405
+ */
1406
+ Limit?: number;
1407
+ /**
1408
+ * 分页起始值,缺省为0
1409
+ */
1410
+ Offset?: number;
1411
+ }
1297
1412
  /**
1298
1413
  * GetCustomMFATokenInfo返回参数结构体
1299
1414
  */
@@ -1479,6 +1594,10 @@ export interface ListGrantServiceAccessPolicy {
1479
1594
  */
1480
1595
  PolicyDescription: string;
1481
1596
  }
1597
+ /**
1598
+ * DisableUserSSO请求参数结构体
1599
+ */
1600
+ export declare type DisableUserSSORequest = null;
1482
1601
  /**
1483
1602
  * ListPoliciesGrantingServiceAccess请求参数结构体
1484
1603
  */
@@ -1640,21 +1759,13 @@ export interface AttachPolicyInfo {
1640
1759
  DeactivedDetail: Array<string>;
1641
1760
  }
1642
1761
  /**
1643
- * PutRolePermissionsBoundary请求参数结构体
1762
+ * DisableUserSSO返回参数结构体
1644
1763
  */
1645
- export interface PutRolePermissionsBoundaryRequest {
1646
- /**
1647
- * 策略ID
1648
- */
1649
- PolicyId: number;
1764
+ export interface DisableUserSSOResponse {
1650
1765
  /**
1651
- * 角色ID(与角色名至少填一个)
1652
- */
1653
- RoleId?: string;
1654
- /**
1655
- * 角色名(与角色ID至少填一个)
1766
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1656
1767
  */
1657
- RoleName?: string;
1768
+ RequestId?: string;
1658
1769
  }
1659
1770
  /**
1660
1771
  * UpdateRoleConsoleLogin返回参数结构体
@@ -1897,31 +2008,75 @@ export interface CreateServiceLinkedRoleResponse {
1897
2008
  */
1898
2009
  export declare type ListUsersRequest = null;
1899
2010
  /**
1900
- * ListCollaborators请求参数结构体
2011
+ * GetSAMLProvider返回参数结构体
1901
2012
  */
1902
- export interface ListCollaboratorsRequest {
2013
+ export interface GetSAMLProviderResponse {
1903
2014
  /**
1904
- * 分页条数,缺省为20
2015
+ * SAML身份提供商名称
1905
2016
  */
1906
- Limit?: number;
2017
+ Name: string;
1907
2018
  /**
1908
- * 分页起始值,缺省为0
2019
+ * SAML身份提供商描述
1909
2020
  */
1910
- Offset?: number;
2021
+ Description: string;
2022
+ /**
2023
+ * SAML身份提供商创建时间
2024
+ */
2025
+ CreateTime: string;
2026
+ /**
2027
+ * SAML身份提供商上次修改时间
2028
+ */
2029
+ ModifyTime: string;
2030
+ /**
2031
+ * SAML身份提供商元数据文档
2032
+ */
2033
+ SAMLMetadata: string;
2034
+ /**
2035
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2036
+ */
2037
+ RequestId?: string;
1911
2038
  }
1912
2039
  /**
1913
- * UpdatePolicy返回参数结构体
2040
+ * CreateUserOIDCConfig请求参数结构体
1914
2041
  */
1915
- export interface UpdatePolicyResponse {
2042
+ export interface CreateUserOIDCConfigRequest {
1916
2043
  /**
1917
- * 策略id,入参是PolicyName时,才会返回
1918
- 注意:此字段可能返回 null,表示取不到有效值。
2044
+ * 身份提供商URL。OpenID Connect身份提供商标识。
2045
+ 对应企业IdP提供的Openid-configuration中"issuer"字段的值。
1919
2046
  */
1920
- PolicyId: number;
2047
+ IdentityUrl: string;
1921
2048
  /**
1922
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2049
+ * 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的帐号安全,建议您定期轮换签名公钥。
1923
2050
  */
1924
- RequestId?: string;
2051
+ IdentityKey: string;
2052
+ /**
2053
+ * 客户端ID,在OpenID Connect身份提供商注册的客户端ID。
2054
+ */
2055
+ ClientId: string;
2056
+ /**
2057
+ * 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
2058
+ */
2059
+ AuthorizationEndpoint: string;
2060
+ /**
2061
+ * 授权请求Response type,固定值id_token
2062
+ */
2063
+ ResponseType: string;
2064
+ /**
2065
+ * 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
2066
+ */
2067
+ ResponseMode: string;
2068
+ /**
2069
+ * 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
2070
+ */
2071
+ MappingFiled: string;
2072
+ /**
2073
+ * 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
2074
+ */
2075
+ Scope?: Array<string>;
2076
+ /**
2077
+ * 描述
2078
+ */
2079
+ Description?: string;
1925
2080
  }
1926
2081
  /**
1927
2082
  * AttachGroupPolicy返回参数结构体
@@ -2145,33 +2300,17 @@ export interface CreateRoleResponse {
2145
2300
  RequestId?: string;
2146
2301
  }
2147
2302
  /**
2148
- * GetSAMLProvider返回参数结构体
2303
+ * AttachGroupPolicy请求参数结构体
2149
2304
  */
2150
- export interface GetSAMLProviderResponse {
2151
- /**
2152
- * SAML身份提供商名称
2153
- */
2154
- Name: string;
2155
- /**
2156
- * SAML身份提供商描述
2157
- */
2158
- Description: string;
2159
- /**
2160
- * SAML身份提供商创建时间
2161
- */
2162
- CreateTime: string;
2163
- /**
2164
- * SAML身份提供商上次修改时间
2165
- */
2166
- ModifyTime: string;
2305
+ export interface AttachGroupPolicyRequest {
2167
2306
  /**
2168
- * SAML身份提供商元数据文档
2307
+ * 策略 id
2169
2308
  */
2170
- SAMLMetadata: string;
2309
+ PolicyId: number;
2171
2310
  /**
2172
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2311
+ * 用户组 id
2173
2312
  */
2174
- RequestId?: string;
2313
+ AttachGroupId: number;
2175
2314
  }
2176
2315
  /**
2177
2316
  * DescribeSafeAuthFlagIntl返回参数结构体
@@ -2234,6 +2373,48 @@ export interface SetDefaultPolicyVersionRequest {
2234
2373
  */
2235
2374
  VersionId: number;
2236
2375
  }
2376
+ /**
2377
+ * UpdateUserOIDCConfig请求参数结构体
2378
+ */
2379
+ export interface UpdateUserOIDCConfigRequest {
2380
+ /**
2381
+ * 身份提供商URL。OpenID Connect身份提供商标识。
2382
+ 对应企业IdP提供的Openid-configuration中"issuer"字段的值。
2383
+ */
2384
+ IdentityUrl: string;
2385
+ /**
2386
+ * 签名公钥,需要base64_encode。验证OpenID Connect身份提供商ID Token签名的公钥。为了您的帐号安全,建议您定期轮换签名公钥。
2387
+ */
2388
+ IdentityKey: string;
2389
+ /**
2390
+ * 客户端ID,在OpenID Connect身份提供商注册的客户端ID。
2391
+ */
2392
+ ClientId: string;
2393
+ /**
2394
+ * 授权请求Endpoint,OpenID Connect身份提供商授权地址。对应企业IdP提供的Openid-configuration中"authorization_endpoint"字段的值。
2395
+ */
2396
+ AuthorizationEndpoint: string;
2397
+ /**
2398
+ * 授权请求Response type,固定值id_token。
2399
+ */
2400
+ ResponseType: string;
2401
+ /**
2402
+ * 授权请求Response mode。授权请求返回模式,form_post和fragment两种可选模式,推荐选择form_post模式。
2403
+ */
2404
+ ResponseMode: string;
2405
+ /**
2406
+ * 映射字段名称。IdP的id_token中哪一个字段映射到子用户的用户名,通常是sub或者name字段
2407
+ */
2408
+ MappingFiled: string;
2409
+ /**
2410
+ * 授权请求Scope。openid; email;profile。授权请求信息范围。默认必选openid。
2411
+ */
2412
+ Scope?: Array<string>;
2413
+ /**
2414
+ * 描述
2415
+ */
2416
+ Description?: string;
2417
+ }
2237
2418
  /**
2238
2419
  * AddUserToGroup请求参数结构体
2239
2420
  */
@@ -2261,6 +2442,10 @@ export interface DetachRolePolicyResponse {
2261
2442
  */
2262
2443
  RequestId?: string;
2263
2444
  }
2445
+ /**
2446
+ * DescribeUserOIDCConfig请求参数结构体
2447
+ */
2448
+ export declare type DescribeUserOIDCConfigRequest = null;
2264
2449
  /**
2265
2450
  * 角色关联的策略信息
2266
2451
  */
@@ -2536,19 +2721,6 @@ export interface GetPolicyResponse {
2536
2721
  * DescribeSafeAuthFlag请求参数结构体
2537
2722
  */
2538
2723
  export declare type DescribeSafeAuthFlagRequest = null;
2539
- /**
2540
- * AttachGroupPolicy请求参数结构体
2541
- */
2542
- export interface AttachGroupPolicyRequest {
2543
- /**
2544
- * 策略 id
2545
- */
2546
- PolicyId: number;
2547
- /**
2548
- * 用户组 id
2549
- */
2550
- AttachGroupId: number;
2551
- }
2552
2724
  /**
2553
2725
  * DeleteServiceLinkedRole请求参数结构体
2554
2726
  */