@alicloud/eiam20211201 1.4.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +165 -20
- package/dist/client.js +118 -9
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +235 -20
package/dist/client.d.ts
CHANGED
|
@@ -1775,6 +1775,72 @@ export declare class DeleteOrganizationalUnitResponse extends $tea.Model {
|
|
|
1775
1775
|
[key: string]: any;
|
|
1776
1776
|
});
|
|
1777
1777
|
}
|
|
1778
|
+
export declare class DeleteOrganizationalUnitChildrenRequest extends $tea.Model {
|
|
1779
|
+
/**
|
|
1780
|
+
* @remarks
|
|
1781
|
+
* Instance ID.
|
|
1782
|
+
*
|
|
1783
|
+
* This parameter is required.
|
|
1784
|
+
*
|
|
1785
|
+
* @example
|
|
1786
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
1787
|
+
*/
|
|
1788
|
+
instanceId?: string;
|
|
1789
|
+
/**
|
|
1790
|
+
* @remarks
|
|
1791
|
+
* Organizational Unit ID.
|
|
1792
|
+
*
|
|
1793
|
+
* This parameter is required.
|
|
1794
|
+
*
|
|
1795
|
+
* @example
|
|
1796
|
+
* ou_wovwffm62xifdziem7an7xxxxx
|
|
1797
|
+
*/
|
|
1798
|
+
organizationalUnitId?: string;
|
|
1799
|
+
static names(): {
|
|
1800
|
+
[key: string]: string;
|
|
1801
|
+
};
|
|
1802
|
+
static types(): {
|
|
1803
|
+
[key: string]: any;
|
|
1804
|
+
};
|
|
1805
|
+
constructor(map?: {
|
|
1806
|
+
[key: string]: any;
|
|
1807
|
+
});
|
|
1808
|
+
}
|
|
1809
|
+
export declare class DeleteOrganizationalUnitChildrenResponseBody extends $tea.Model {
|
|
1810
|
+
/**
|
|
1811
|
+
* @remarks
|
|
1812
|
+
* Request ID.
|
|
1813
|
+
*
|
|
1814
|
+
* @example
|
|
1815
|
+
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
1816
|
+
*/
|
|
1817
|
+
requestId?: string;
|
|
1818
|
+
static names(): {
|
|
1819
|
+
[key: string]: string;
|
|
1820
|
+
};
|
|
1821
|
+
static types(): {
|
|
1822
|
+
[key: string]: any;
|
|
1823
|
+
};
|
|
1824
|
+
constructor(map?: {
|
|
1825
|
+
[key: string]: any;
|
|
1826
|
+
});
|
|
1827
|
+
}
|
|
1828
|
+
export declare class DeleteOrganizationalUnitChildrenResponse extends $tea.Model {
|
|
1829
|
+
headers?: {
|
|
1830
|
+
[key: string]: string;
|
|
1831
|
+
};
|
|
1832
|
+
statusCode?: number;
|
|
1833
|
+
body?: DeleteOrganizationalUnitChildrenResponseBody;
|
|
1834
|
+
static names(): {
|
|
1835
|
+
[key: string]: string;
|
|
1836
|
+
};
|
|
1837
|
+
static types(): {
|
|
1838
|
+
[key: string]: any;
|
|
1839
|
+
};
|
|
1840
|
+
constructor(map?: {
|
|
1841
|
+
[key: string]: any;
|
|
1842
|
+
});
|
|
1843
|
+
}
|
|
1778
1844
|
export declare class DeleteUserRequest extends $tea.Model {
|
|
1779
1845
|
/**
|
|
1780
1846
|
* @remarks
|
|
@@ -5523,7 +5589,7 @@ export declare class ListOrganizationalUnitsRequest extends $tea.Model {
|
|
|
5523
5589
|
instanceId?: string;
|
|
5524
5590
|
/**
|
|
5525
5591
|
* @remarks
|
|
5526
|
-
*
|
|
5592
|
+
* The IDs of organizational units.
|
|
5527
5593
|
*
|
|
5528
5594
|
* @example
|
|
5529
5595
|
* [ou_wovwffm62xifdziem7an7xxxxx]
|
|
@@ -5539,7 +5605,7 @@ export declare class ListOrganizationalUnitsRequest extends $tea.Model {
|
|
|
5539
5605
|
organizationalUnitName?: string;
|
|
5540
5606
|
/**
|
|
5541
5607
|
* @remarks
|
|
5542
|
-
*
|
|
5608
|
+
* Organization name, matching left
|
|
5543
5609
|
*
|
|
5544
5610
|
* @example
|
|
5545
5611
|
* name
|
|
@@ -5920,7 +5986,7 @@ export declare class ListSynchronizationJobsResponse extends $tea.Model {
|
|
|
5920
5986
|
export declare class ListUsersRequest extends $tea.Model {
|
|
5921
5987
|
/**
|
|
5922
5988
|
* @remarks
|
|
5923
|
-
*
|
|
5989
|
+
* Displayname
|
|
5924
5990
|
*
|
|
5925
5991
|
* @example
|
|
5926
5992
|
* name_001
|
|
@@ -6007,7 +6073,7 @@ export declare class ListUsersRequest extends $tea.Model {
|
|
|
6007
6073
|
userExternalId?: string;
|
|
6008
6074
|
/**
|
|
6009
6075
|
* @remarks
|
|
6010
|
-
*
|
|
6076
|
+
* User ID set
|
|
6011
6077
|
*/
|
|
6012
6078
|
userIds?: string[];
|
|
6013
6079
|
/**
|
|
@@ -6035,7 +6101,7 @@ export declare class ListUsersRequest extends $tea.Model {
|
|
|
6035
6101
|
userSourceType?: string;
|
|
6036
6102
|
/**
|
|
6037
6103
|
* @remarks
|
|
6038
|
-
*
|
|
6104
|
+
* Username
|
|
6039
6105
|
*
|
|
6040
6106
|
* @example
|
|
6041
6107
|
* name_001
|
|
@@ -7099,7 +7165,7 @@ export declare class SetApplicationProvisioningScopeRequest extends $tea.Model {
|
|
|
7099
7165
|
applicationId?: string;
|
|
7100
7166
|
/**
|
|
7101
7167
|
* @remarks
|
|
7102
|
-
*
|
|
7168
|
+
* List of groups that are authorized to be synchronized from
|
|
7103
7169
|
*/
|
|
7104
7170
|
groupIds?: string[];
|
|
7105
7171
|
/**
|
|
@@ -7194,7 +7260,7 @@ export declare class SetApplicationSsoConfigRequest extends $tea.Model {
|
|
|
7194
7260
|
initLoginUrl?: string;
|
|
7195
7261
|
/**
|
|
7196
7262
|
* @remarks
|
|
7197
|
-
* The ID
|
|
7263
|
+
* The instance ID.
|
|
7198
7264
|
*
|
|
7199
7265
|
* This parameter is required.
|
|
7200
7266
|
*
|
|
@@ -7209,7 +7275,7 @@ export declare class SetApplicationSsoConfigRequest extends $tea.Model {
|
|
|
7209
7275
|
oidcSsoConfig?: SetApplicationSsoConfigRequestOidcSsoConfig;
|
|
7210
7276
|
/**
|
|
7211
7277
|
* @remarks
|
|
7212
|
-
* The Security Assertion Markup Language (SAML)-based SSO configuration attributes of the application.
|
|
7278
|
+
* The Security Assertion Markup Language (SAML)-based single sign-on (SSO) configuration attributes of the application.
|
|
7213
7279
|
*/
|
|
7214
7280
|
samlSsoConfig?: SetApplicationSsoConfigRequestSamlSsoConfig;
|
|
7215
7281
|
static names(): {
|
|
@@ -7225,7 +7291,7 @@ export declare class SetApplicationSsoConfigRequest extends $tea.Model {
|
|
|
7225
7291
|
export declare class SetApplicationSsoConfigResponseBody extends $tea.Model {
|
|
7226
7292
|
/**
|
|
7227
7293
|
* @remarks
|
|
7228
|
-
* The ID
|
|
7294
|
+
* The request ID.
|
|
7229
7295
|
*
|
|
7230
7296
|
* @example
|
|
7231
7297
|
* 0441BD79-92F3-53AA-8657-F8CE4A2B912A
|
|
@@ -7323,7 +7389,7 @@ export declare class SetDefaultDomainResponse extends $tea.Model {
|
|
|
7323
7389
|
export declare class SetForgetPasswordConfigurationRequest extends $tea.Model {
|
|
7324
7390
|
/**
|
|
7325
7391
|
* @remarks
|
|
7326
|
-
*
|
|
7392
|
+
* The authentication channels. Valid values: email and sms.
|
|
7327
7393
|
*
|
|
7328
7394
|
* @example
|
|
7329
7395
|
* email
|
|
@@ -7331,7 +7397,7 @@ export declare class SetForgetPasswordConfigurationRequest extends $tea.Model {
|
|
|
7331
7397
|
authenticationChannels?: string[];
|
|
7332
7398
|
/**
|
|
7333
7399
|
* @remarks
|
|
7334
|
-
*
|
|
7400
|
+
* The status of the forgot password feature. Valid values: enabled and disabled.
|
|
7335
7401
|
*
|
|
7336
7402
|
* This parameter is required.
|
|
7337
7403
|
*
|
|
@@ -7466,6 +7532,7 @@ export declare class SetPasswordComplexityConfigurationResponse extends $tea.Mod
|
|
|
7466
7532
|
});
|
|
7467
7533
|
}
|
|
7468
7534
|
export declare class SetPasswordExpirationConfigurationRequest extends $tea.Model {
|
|
7535
|
+
effectiveAuthenticationSourceIds?: string[];
|
|
7469
7536
|
/**
|
|
7470
7537
|
* @remarks
|
|
7471
7538
|
* The instance ID.
|
|
@@ -8144,7 +8211,7 @@ export declare class UpdateGroupResponse extends $tea.Model {
|
|
|
8144
8211
|
export declare class UpdateGroupDescriptionRequest extends $tea.Model {
|
|
8145
8212
|
/**
|
|
8146
8213
|
* @remarks
|
|
8147
|
-
* The description of the account group.
|
|
8214
|
+
* The description of the account group.
|
|
8148
8215
|
*
|
|
8149
8216
|
* @example
|
|
8150
8217
|
* group_d6sbsuumeta4h66ec3il7yxxxx
|
|
@@ -8375,7 +8442,7 @@ export declare class UpdateOrganizationalUnitRequest extends $tea.Model {
|
|
|
8375
8442
|
organizationalUnitId?: string;
|
|
8376
8443
|
/**
|
|
8377
8444
|
* @remarks
|
|
8378
|
-
* The name of the organization. The name can be up to
|
|
8445
|
+
* The name of the organization. The name can be up to 128 characters in length and must be unique in the same parent organization.
|
|
8379
8446
|
*
|
|
8380
8447
|
* @example
|
|
8381
8448
|
* ou_name
|
|
@@ -9051,6 +9118,7 @@ export declare class GetApplicationResponseBodyApplication extends $tea.Model {
|
|
|
9051
9118
|
* apt_rpa_tdsxxx
|
|
9052
9119
|
*/
|
|
9053
9120
|
applicationTemplateId?: string;
|
|
9121
|
+
applicationVisibility?: string[];
|
|
9054
9122
|
/**
|
|
9055
9123
|
* @remarks
|
|
9056
9124
|
* The authorization type of the EIAM application. Valid values:
|
|
@@ -9455,12 +9523,15 @@ export declare class GetApplicationProvisioningConfigResponseBodyApplicationProv
|
|
|
9455
9523
|
export declare class GetApplicationProvisioningScopeResponseBodyApplicationProvisioningScope extends $tea.Model {
|
|
9456
9524
|
/**
|
|
9457
9525
|
* @remarks
|
|
9458
|
-
*
|
|
9526
|
+
* Synchronize the list of authorized groups
|
|
9459
9527
|
*/
|
|
9460
9528
|
groupIds?: string[];
|
|
9461
9529
|
/**
|
|
9462
9530
|
* @remarks
|
|
9463
|
-
*
|
|
9531
|
+
* Instance Indicates the maximum quota number of authorized agents
|
|
9532
|
+
*
|
|
9533
|
+
* @example
|
|
9534
|
+
* 20
|
|
9464
9535
|
*/
|
|
9465
9536
|
maxQuota?: number;
|
|
9466
9537
|
/**
|
|
@@ -9470,7 +9541,10 @@ export declare class GetApplicationProvisioningScopeResponseBodyApplicationProvi
|
|
|
9470
9541
|
organizationalUnitIds?: string[];
|
|
9471
9542
|
/**
|
|
9472
9543
|
* @remarks
|
|
9473
|
-
*
|
|
9544
|
+
* Indicates the quota number of used authorized agents
|
|
9545
|
+
*
|
|
9546
|
+
* @example
|
|
9547
|
+
* 10
|
|
9474
9548
|
*/
|
|
9475
9549
|
usedQuota?: number;
|
|
9476
9550
|
static names(): {
|
|
@@ -9772,6 +9846,7 @@ export declare class GetApplicationSsoConfigResponseBodyApplicationSsoConfigSaml
|
|
|
9772
9846
|
* https://home.console.aliyun.com
|
|
9773
9847
|
*/
|
|
9774
9848
|
defaultRelayState?: string;
|
|
9849
|
+
idPEntityId?: string;
|
|
9775
9850
|
/**
|
|
9776
9851
|
* @remarks
|
|
9777
9852
|
* The Format attribute of the NameID element in the SAML assertion. Valid values:
|
|
@@ -10557,6 +10632,7 @@ export declare class GetPasswordComplexityConfigurationResponseBodyPasswordCompl
|
|
|
10557
10632
|
});
|
|
10558
10633
|
}
|
|
10559
10634
|
export declare class GetPasswordExpirationConfigurationResponseBodyPasswordExpirationConfiguration extends $tea.Model {
|
|
10635
|
+
effectiveAuthenticationSourceIds?: string[];
|
|
10560
10636
|
/**
|
|
10561
10637
|
* @remarks
|
|
10562
10638
|
* The action to take when a password expires. Valid values:
|
|
@@ -12315,6 +12391,9 @@ export declare class GetUserResponseBodyUser extends $tea.Model {
|
|
|
12315
12391
|
*/
|
|
12316
12392
|
phoneRegion?: string;
|
|
12317
12393
|
/**
|
|
12394
|
+
* @remarks
|
|
12395
|
+
* Preferred language
|
|
12396
|
+
*
|
|
12318
12397
|
* @example
|
|
12319
12398
|
* en-US
|
|
12320
12399
|
*/
|
|
@@ -13081,7 +13160,21 @@ export declare class ListGroupsForUserResponseBodyGroups extends $tea.Model {
|
|
|
13081
13160
|
* group_d6sbsuumeta4h66ec3il7yxxxx
|
|
13082
13161
|
*/
|
|
13083
13162
|
groupId?: string;
|
|
13163
|
+
/**
|
|
13164
|
+
* @remarks
|
|
13165
|
+
* Account membership source ID
|
|
13166
|
+
*
|
|
13167
|
+
* @example
|
|
13168
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
13169
|
+
*/
|
|
13084
13170
|
groupMemberRelationSourceId?: string;
|
|
13171
|
+
/**
|
|
13172
|
+
* @remarks
|
|
13173
|
+
* Account membership source type
|
|
13174
|
+
*
|
|
13175
|
+
* @example
|
|
13176
|
+
* build_in
|
|
13177
|
+
*/
|
|
13085
13178
|
groupMemberRelationSourceType?: string;
|
|
13086
13179
|
static names(): {
|
|
13087
13180
|
[key: string]: string;
|
|
@@ -15125,7 +15218,21 @@ export declare class ListUsersForApplicationResponseBodyUsers extends $tea.Model
|
|
|
15125
15218
|
});
|
|
15126
15219
|
}
|
|
15127
15220
|
export declare class ListUsersForGroupResponseBodyUsers extends $tea.Model {
|
|
15221
|
+
/**
|
|
15222
|
+
* @remarks
|
|
15223
|
+
* Account membership source id
|
|
15224
|
+
*
|
|
15225
|
+
* @example
|
|
15226
|
+
* idaas_ue2jvisn35ea5lmthk267xxxxx
|
|
15227
|
+
*/
|
|
15128
15228
|
groupMemberRelationSourceId?: string;
|
|
15229
|
+
/**
|
|
15230
|
+
* @remarks
|
|
15231
|
+
* Account membership source type
|
|
15232
|
+
*
|
|
15233
|
+
* @example
|
|
15234
|
+
* build_in
|
|
15235
|
+
*/
|
|
15129
15236
|
groupMemberRelationSourceType?: string;
|
|
15130
15237
|
/**
|
|
15131
15238
|
* @remarks
|
|
@@ -15646,7 +15753,10 @@ export declare class SetApplicationSsoConfigRequestSamlSsoConfigAttributeStateme
|
|
|
15646
15753
|
export declare class SetApplicationSsoConfigRequestSamlSsoConfig extends $tea.Model {
|
|
15647
15754
|
/**
|
|
15648
15755
|
* @remarks
|
|
15649
|
-
* assertion
|
|
15756
|
+
* Specifies whether to calculate the signature for the assertion. You cannot set ResponseSigned and AssertionSigned to false at the same time.
|
|
15757
|
+
*
|
|
15758
|
+
* * true
|
|
15759
|
+
* * false
|
|
15650
15760
|
*
|
|
15651
15761
|
* @example
|
|
15652
15762
|
* true
|
|
@@ -15665,6 +15775,7 @@ export declare class SetApplicationSsoConfigRequestSamlSsoConfig extends $tea.Mo
|
|
|
15665
15775
|
* https://home.console.aliyun.com
|
|
15666
15776
|
*/
|
|
15667
15777
|
defaultRelayState?: string;
|
|
15778
|
+
idPEntityId?: string;
|
|
15668
15779
|
/**
|
|
15669
15780
|
* @remarks
|
|
15670
15781
|
* The Format attribute of the NameID element in the SAML assertion. Valid values:
|
|
@@ -15688,7 +15799,10 @@ export declare class SetApplicationSsoConfigRequestSamlSsoConfig extends $tea.Mo
|
|
|
15688
15799
|
nameIdValueExpression?: string;
|
|
15689
15800
|
/**
|
|
15690
15801
|
* @remarks
|
|
15691
|
-
* response
|
|
15802
|
+
* Specifies whether to calculate the signature for the response. You cannot set ResponseSigned and AssertionSigned to false at the same time.
|
|
15803
|
+
*
|
|
15804
|
+
* * true
|
|
15805
|
+
* * false
|
|
15692
15806
|
*
|
|
15693
15807
|
* @example
|
|
15694
15808
|
* true
|
|
@@ -15698,13 +15812,29 @@ export declare class SetApplicationSsoConfigRequestSamlSsoConfig extends $tea.Mo
|
|
|
15698
15812
|
* @remarks
|
|
15699
15813
|
* The algorithm that is used to calculate the signature for the SAML assertion.
|
|
15700
15814
|
*
|
|
15815
|
+
* Enumeration value:
|
|
15816
|
+
*
|
|
15817
|
+
* * RSA-SHA256
|
|
15818
|
+
*
|
|
15819
|
+
* <!-- -->
|
|
15820
|
+
*
|
|
15821
|
+
* :
|
|
15822
|
+
*
|
|
15823
|
+
* <!-- -->
|
|
15824
|
+
*
|
|
15825
|
+
* the Rivest-Shamir-Adleman (RSA)-Secure Hash Algorithm 256 (SHA-256) algorithm
|
|
15826
|
+
*
|
|
15827
|
+
* <!-- -->
|
|
15828
|
+
*
|
|
15829
|
+
* .
|
|
15830
|
+
*
|
|
15701
15831
|
* @example
|
|
15702
15832
|
* RSA-SHA256
|
|
15703
15833
|
*/
|
|
15704
15834
|
signatureAlgorithm?: string;
|
|
15705
15835
|
/**
|
|
15706
15836
|
* @remarks
|
|
15707
|
-
* The entity ID of the application in SAML.
|
|
15837
|
+
* The entity ID of the application in SAML.
|
|
15708
15838
|
*
|
|
15709
15839
|
* @example
|
|
15710
15840
|
* urn:alibaba:cloudcomputing
|
|
@@ -15712,7 +15842,7 @@ export declare class SetApplicationSsoConfigRequestSamlSsoConfig extends $tea.Mo
|
|
|
15712
15842
|
spEntityId?: string;
|
|
15713
15843
|
/**
|
|
15714
15844
|
* @remarks
|
|
15715
|
-
* The Assertion Consumer Service (ACS) URL of the application in SAML.
|
|
15845
|
+
* The Assertion Consumer Service (ACS) URL of the application in SAML.
|
|
15716
15846
|
*
|
|
15717
15847
|
* @example
|
|
15718
15848
|
* https://signin.aliyun.com/saml-role/sso
|
|
@@ -16148,6 +16278,21 @@ export default class Client extends OpenApi {
|
|
|
16148
16278
|
* @returns DeleteOrganizationalUnitResponse
|
|
16149
16279
|
*/
|
|
16150
16280
|
deleteOrganizationalUnit(request: DeleteOrganizationalUnitRequest): Promise<DeleteOrganizationalUnitResponse>;
|
|
16281
|
+
/**
|
|
16282
|
+
* Delete organizational unit information, forcibly deleting all accounts and sub-organizations beneath it
|
|
16283
|
+
*
|
|
16284
|
+
* @param request - DeleteOrganizationalUnitChildrenRequest
|
|
16285
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16286
|
+
* @returns DeleteOrganizationalUnitChildrenResponse
|
|
16287
|
+
*/
|
|
16288
|
+
deleteOrganizationalUnitChildrenWithOptions(request: DeleteOrganizationalUnitChildrenRequest, runtime: $Util.RuntimeOptions): Promise<DeleteOrganizationalUnitChildrenResponse>;
|
|
16289
|
+
/**
|
|
16290
|
+
* Delete organizational unit information, forcibly deleting all accounts and sub-organizations beneath it
|
|
16291
|
+
*
|
|
16292
|
+
* @param request - DeleteOrganizationalUnitChildrenRequest
|
|
16293
|
+
* @returns DeleteOrganizationalUnitChildrenResponse
|
|
16294
|
+
*/
|
|
16295
|
+
deleteOrganizationalUnitChildren(request: DeleteOrganizationalUnitChildrenRequest): Promise<DeleteOrganizationalUnitChildrenResponse>;
|
|
16151
16296
|
/**
|
|
16152
16297
|
* Deletes an Employee Identity and Access Management (EIAM) account of Identity as a Service (IDaaS). The information related to the account is cleared.
|
|
16153
16298
|
*
|