@alicloud/cloudsso20210515 1.5.3 → 1.5.4
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 +16 -16
- package/dist/client.js +37 -19
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAccessAssignmentRequest.d.ts +5 -0
- package/dist/models/CreateAccessAssignmentRequest.js +2 -0
- package/dist/models/CreateAccessAssignmentRequest.js.map +1 -1
- package/dist/models/CreateAccessAssignmentResponseBody.d.ts +5 -0
- package/dist/models/CreateAccessAssignmentResponseBody.js +2 -0
- package/dist/models/CreateAccessAssignmentResponseBody.js.map +1 -1
- package/dist/models/CreateUserRequest.d.ts +11 -12
- package/dist/models/CreateUserRequest.js.map +1 -1
- package/dist/models/CreateUserResponseBody.d.ts +9 -11
- package/dist/models/CreateUserResponseBody.js.map +1 -1
- package/dist/models/DeleteAccessAssignmentRequest.d.ts +5 -0
- package/dist/models/DeleteAccessAssignmentRequest.js +2 -0
- package/dist/models/DeleteAccessAssignmentRequest.js.map +1 -1
- package/dist/models/DeleteAccessAssignmentResponseBody.d.ts +5 -0
- package/dist/models/DeleteAccessAssignmentResponseBody.js +2 -0
- package/dist/models/DeleteAccessAssignmentResponseBody.js.map +1 -1
- package/dist/models/DeprovisionAccessConfigurationRequest.d.ts +5 -0
- package/dist/models/DeprovisionAccessConfigurationRequest.js +2 -0
- package/dist/models/DeprovisionAccessConfigurationRequest.js.map +1 -1
- package/dist/models/DeprovisionAccessConfigurationResponseBody.d.ts +5 -0
- package/dist/models/DeprovisionAccessConfigurationResponseBody.js +2 -0
- package/dist/models/DeprovisionAccessConfigurationResponseBody.js.map +1 -1
- package/dist/models/GetAccessConfigurationRequest.d.ts +2 -2
- package/dist/models/GetAccessConfigurationResponseBody.d.ts +6 -6
- package/dist/models/GetTaskResponseBody.d.ts +5 -0
- package/dist/models/GetTaskResponseBody.js +2 -0
- package/dist/models/GetTaskResponseBody.js.map +1 -1
- package/dist/models/GetUserRequest.d.ts +1 -1
- package/dist/models/GetUserResponseBody.d.ts +13 -15
- package/dist/models/GetUserResponseBody.js.map +1 -1
- package/dist/models/ListAccessAssignmentsRequest.d.ts +5 -0
- package/dist/models/ListAccessAssignmentsRequest.js +2 -0
- package/dist/models/ListAccessAssignmentsRequest.js.map +1 -1
- package/dist/models/ListAccessAssignmentsResponseBody.d.ts +5 -0
- package/dist/models/ListAccessAssignmentsResponseBody.js +2 -0
- package/dist/models/ListAccessAssignmentsResponseBody.js.map +1 -1
- package/dist/models/ListAccessConfigurationProvisioningsRequest.d.ts +5 -0
- package/dist/models/ListAccessConfigurationProvisioningsRequest.js +2 -0
- package/dist/models/ListAccessConfigurationProvisioningsRequest.js.map +1 -1
- package/dist/models/ListAccessConfigurationProvisioningsResponseBody.d.ts +5 -0
- package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js +2 -0
- package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js.map +1 -1
- package/dist/models/ListAccessConfigurationsRequest.d.ts +9 -11
- package/dist/models/ListAccessConfigurationsRequest.js.map +1 -1
- package/dist/models/ListAccessConfigurationsResponseBody.d.ts +11 -12
- package/dist/models/ListAccessConfigurationsResponseBody.js.map +1 -1
- package/dist/models/ListMfadevicesForUserResponseBody.d.ts +13 -3
- package/dist/models/ListMfadevicesForUserResponseBody.js.map +1 -1
- package/dist/models/ListTasksResponseBody.d.ts +5 -0
- package/dist/models/ListTasksResponseBody.js +2 -0
- package/dist/models/ListTasksResponseBody.js.map +1 -1
- package/dist/models/ListUsersRequest.d.ts +11 -15
- package/dist/models/ListUsersRequest.js.map +1 -1
- package/dist/models/ListUsersResponseBody.d.ts +16 -19
- package/dist/models/ListUsersResponseBody.js.map +1 -1
- package/dist/models/ProvisionAccessConfigurationRequest.d.ts +5 -0
- package/dist/models/ProvisionAccessConfigurationRequest.js +2 -0
- package/dist/models/ProvisionAccessConfigurationRequest.js.map +1 -1
- package/dist/models/ProvisionAccessConfigurationResponseBody.d.ts +5 -0
- package/dist/models/ProvisionAccessConfigurationResponseBody.js +2 -0
- package/dist/models/ProvisionAccessConfigurationResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +43 -19
- package/src/models/CreateAccessAssignmentRequest.ts +7 -0
- package/src/models/CreateAccessAssignmentResponseBody.ts +7 -0
- package/src/models/CreateUserRequest.ts +11 -12
- package/src/models/CreateUserResponseBody.ts +9 -11
- package/src/models/DeleteAccessAssignmentRequest.ts +7 -0
- package/src/models/DeleteAccessAssignmentResponseBody.ts +7 -0
- package/src/models/DeprovisionAccessConfigurationRequest.ts +7 -0
- package/src/models/DeprovisionAccessConfigurationResponseBody.ts +7 -0
- package/src/models/GetAccessConfigurationRequest.ts +2 -2
- package/src/models/GetAccessConfigurationResponseBody.ts +6 -6
- package/src/models/GetTaskResponseBody.ts +7 -0
- package/src/models/GetUserRequest.ts +1 -1
- package/src/models/GetUserResponseBody.ts +13 -15
- package/src/models/ListAccessAssignmentsRequest.ts +7 -0
- package/src/models/ListAccessAssignmentsResponseBody.ts +7 -0
- package/src/models/ListAccessConfigurationProvisioningsRequest.ts +7 -0
- package/src/models/ListAccessConfigurationProvisioningsResponseBody.ts +7 -0
- package/src/models/ListAccessConfigurationsRequest.ts +9 -11
- package/src/models/ListAccessConfigurationsResponseBody.ts +11 -12
- package/src/models/ListMfadevicesForUserResponseBody.ts +13 -3
- package/src/models/ListTasksResponseBody.ts +7 -0
- package/src/models/ListUsersRequest.ts +11 -15
- package/src/models/ListUsersResponseBody.ts +16 -19
- package/src/models/ProvisionAccessConfigurationRequest.ts +7 -0
- package/src/models/ProvisionAccessConfigurationResponseBody.ts +7 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProvisionAccessConfigurationResponseBody.js","sourceRoot":"","sources":["../../src/models/ProvisionAccessConfigurationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ProvisionAccessConfigurationResponseBody.js","sourceRoot":"","sources":["../../src/models/ProvisionAccessConfigurationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IAsF5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,uBAAuB;YAC9C,uBAAuB,EAAE,yBAAyB;YAClD,cAAc,EAAE,gBAAgB;YAChC,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,QAAQ;YAC/B,uBAAuB,EAAE,QAAQ;YACjC,cAAc,EAAE,QAAQ;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7HD,sGA6HC;AAED,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAcvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,6CAA6C,EAAE;SACtF,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,4FAsCC"}
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -13,12 +13,12 @@ export default class Client extends OpenApi {
|
|
|
13
13
|
super(config);
|
|
14
14
|
this._endpointRule = "regional";
|
|
15
15
|
this._endpointMap = {
|
|
16
|
-
'us-west-1': "cloudsso.us-west-1.aliyuncs.com",
|
|
17
|
-
'eu-central-1': "cloudsso.eu-central-1.aliyuncs.com",
|
|
18
16
|
'cn-shanghai': "cloudsso.cn-shanghai.aliyuncs.com",
|
|
19
17
|
'cn-hongkong': "cloudsso.cn-hongkong.aliyuncs.com",
|
|
20
|
-
'ap-southeast-1': "cloudsso.ap-southeast-1.aliyuncs.com",
|
|
21
18
|
'ap-northeast-2': "cloudsso.ap-northeast-2.aliyuncs.com",
|
|
19
|
+
'ap-southeast-1': "cloudsso.ap-southeast-1.aliyuncs.com",
|
|
20
|
+
'us-west-1': "cloudsso.us-west-1.aliyuncs.com",
|
|
21
|
+
'eu-central-1': "cloudsso.eu-central-1.aliyuncs.com",
|
|
22
22
|
};
|
|
23
23
|
this.checkConfig(config);
|
|
24
24
|
this._endpoint = this.getEndpoint("cloudsso", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -286,6 +286,10 @@ export default class Client extends OpenApi {
|
|
|
286
286
|
query["DirectoryId"] = request.directoryId;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
+
if (!$dara.isNull(request.originTargetId)) {
|
|
290
|
+
query["OriginTargetId"] = request.originTargetId;
|
|
291
|
+
}
|
|
292
|
+
|
|
289
293
|
if (!$dara.isNull(request.principalId)) {
|
|
290
294
|
query["PrincipalId"] = request.principalId;
|
|
291
295
|
}
|
|
@@ -572,7 +576,7 @@ export default class Client extends OpenApi {
|
|
|
572
576
|
}
|
|
573
577
|
|
|
574
578
|
/**
|
|
575
|
-
* Creates a user.
|
|
579
|
+
* Creates a user by calling CreateUser.
|
|
576
580
|
*
|
|
577
581
|
* @param request - CreateUserRequest
|
|
578
582
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -635,7 +639,7 @@ export default class Client extends OpenApi {
|
|
|
635
639
|
}
|
|
636
640
|
|
|
637
641
|
/**
|
|
638
|
-
* Creates a user.
|
|
642
|
+
* Creates a user by calling CreateUser.
|
|
639
643
|
*
|
|
640
644
|
* @param request - CreateUserRequest
|
|
641
645
|
* @returns CreateUserResponse
|
|
@@ -747,6 +751,10 @@ export default class Client extends OpenApi {
|
|
|
747
751
|
query["DirectoryId"] = request.directoryId;
|
|
748
752
|
}
|
|
749
753
|
|
|
754
|
+
if (!$dara.isNull(request.originTargetId)) {
|
|
755
|
+
query["OriginTargetId"] = request.originTargetId;
|
|
756
|
+
}
|
|
757
|
+
|
|
750
758
|
if (!$dara.isNull(request.principalId)) {
|
|
751
759
|
query["PrincipalId"] = request.principalId;
|
|
752
760
|
}
|
|
@@ -1289,6 +1297,10 @@ export default class Client extends OpenApi {
|
|
|
1289
1297
|
query["DirectoryId"] = request.directoryId;
|
|
1290
1298
|
}
|
|
1291
1299
|
|
|
1300
|
+
if (!$dara.isNull(request.originTargetId)) {
|
|
1301
|
+
query["OriginTargetId"] = request.originTargetId;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1292
1304
|
if (!$dara.isNull(request.targetId)) {
|
|
1293
1305
|
query["TargetId"] = request.targetId;
|
|
1294
1306
|
}
|
|
@@ -1498,10 +1510,10 @@ export default class Client extends OpenApi {
|
|
|
1498
1510
|
}
|
|
1499
1511
|
|
|
1500
1512
|
/**
|
|
1501
|
-
* Queries the
|
|
1513
|
+
* Queries the information about an access configuration.
|
|
1502
1514
|
*
|
|
1503
1515
|
* @remarks
|
|
1504
|
-
* This topic provides an example
|
|
1516
|
+
* This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
|
|
1505
1517
|
*
|
|
1506
1518
|
* @param request - GetAccessConfigurationRequest
|
|
1507
1519
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1536,10 +1548,10 @@ export default class Client extends OpenApi {
|
|
|
1536
1548
|
}
|
|
1537
1549
|
|
|
1538
1550
|
/**
|
|
1539
|
-
* Queries the
|
|
1551
|
+
* Queries the information about an access configuration.
|
|
1540
1552
|
*
|
|
1541
1553
|
* @remarks
|
|
1542
|
-
* This topic provides an example
|
|
1554
|
+
* This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
|
|
1543
1555
|
*
|
|
1544
1556
|
* @param request - GetAccessConfigurationRequest
|
|
1545
1557
|
* @returns GetAccessConfigurationResponse
|
|
@@ -2213,7 +2225,7 @@ export default class Client extends OpenApi {
|
|
|
2213
2225
|
}
|
|
2214
2226
|
|
|
2215
2227
|
/**
|
|
2216
|
-
* Queries the information about a user.
|
|
2228
|
+
* Queries the information about a specified user.
|
|
2217
2229
|
*
|
|
2218
2230
|
* @param request - GetUserRequest
|
|
2219
2231
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2248,7 +2260,7 @@ export default class Client extends OpenApi {
|
|
|
2248
2260
|
}
|
|
2249
2261
|
|
|
2250
2262
|
/**
|
|
2251
|
-
* Queries the information about a user.
|
|
2263
|
+
* Queries the information about a specified user.
|
|
2252
2264
|
*
|
|
2253
2265
|
* @param request - GetUserRequest
|
|
2254
2266
|
* @returns GetUserResponse
|
|
@@ -2617,6 +2629,10 @@ export default class Client extends OpenApi {
|
|
|
2617
2629
|
query["NextToken"] = request.nextToken;
|
|
2618
2630
|
}
|
|
2619
2631
|
|
|
2632
|
+
if (!$dara.isNull(request.originTargetId)) {
|
|
2633
|
+
query["OriginTargetId"] = request.originTargetId;
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2620
2636
|
if (!$dara.isNull(request.principalId)) {
|
|
2621
2637
|
query["PrincipalId"] = request.principalId;
|
|
2622
2638
|
}
|
|
@@ -2693,6 +2709,10 @@ export default class Client extends OpenApi {
|
|
|
2693
2709
|
query["NextToken"] = request.nextToken;
|
|
2694
2710
|
}
|
|
2695
2711
|
|
|
2712
|
+
if (!$dara.isNull(request.originTargetId)) {
|
|
2713
|
+
query["OriginTargetId"] = request.originTargetId;
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2696
2716
|
if (!$dara.isNull(request.provisioningStatus)) {
|
|
2697
2717
|
query["ProvisioningStatus"] = request.provisioningStatus;
|
|
2698
2718
|
}
|
|
@@ -2737,10 +2757,10 @@ export default class Client extends OpenApi {
|
|
|
2737
2757
|
}
|
|
2738
2758
|
|
|
2739
2759
|
/**
|
|
2740
|
-
* Queries
|
|
2760
|
+
* Queries the list of access configurations.
|
|
2741
2761
|
*
|
|
2742
2762
|
* @remarks
|
|
2743
|
-
* This topic provides an example
|
|
2763
|
+
* This topic provides an example on how to query the access configurations in the directory `d-00fc2p61****`. The response shows that there are two access configurations: `VPC-Admin` and `ECS-Admin`.
|
|
2744
2764
|
*
|
|
2745
2765
|
* @param request - ListAccessConfigurationsRequest
|
|
2746
2766
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2791,10 +2811,10 @@ export default class Client extends OpenApi {
|
|
|
2791
2811
|
}
|
|
2792
2812
|
|
|
2793
2813
|
/**
|
|
2794
|
-
* Queries
|
|
2814
|
+
* Queries the list of access configurations.
|
|
2795
2815
|
*
|
|
2796
2816
|
* @remarks
|
|
2797
|
-
* This topic provides an example
|
|
2817
|
+
* This topic provides an example on how to query the access configurations in the directory `d-00fc2p61****`. The response shows that there are two access configurations: `VPC-Admin` and `ECS-Admin`.
|
|
2798
2818
|
*
|
|
2799
2819
|
* @param request - ListAccessConfigurationsRequest
|
|
2800
2820
|
* @returns ListAccessConfigurationsResponse
|
|
@@ -3074,10 +3094,10 @@ export default class Client extends OpenApi {
|
|
|
3074
3094
|
}
|
|
3075
3095
|
|
|
3076
3096
|
/**
|
|
3077
|
-
* Queries the list of
|
|
3097
|
+
* Queries the MFA device list of a user. Each user can have a maximum of two MFA devices.
|
|
3078
3098
|
*
|
|
3079
3099
|
* @remarks
|
|
3080
|
-
* This topic provides an example on how to query the MFA device list
|
|
3100
|
+
* This topic provides an example on how to query the MFA device list of the user `u-00q8wbq42wiltcrk****`. The response shows that the user has one MFA device named `Alice-MFA1`.
|
|
3081
3101
|
*
|
|
3082
3102
|
* @param request - ListMFADevicesForUserRequest
|
|
3083
3103
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3112,10 +3132,10 @@ export default class Client extends OpenApi {
|
|
|
3112
3132
|
}
|
|
3113
3133
|
|
|
3114
3134
|
/**
|
|
3115
|
-
* Queries the list of
|
|
3135
|
+
* Queries the MFA device list of a user. Each user can have a maximum of two MFA devices.
|
|
3116
3136
|
*
|
|
3117
3137
|
* @remarks
|
|
3118
|
-
* This topic provides an example on how to query the MFA device list
|
|
3138
|
+
* This topic provides an example on how to query the MFA device list of the user `u-00q8wbq42wiltcrk****`. The response shows that the user has one MFA device named `Alice-MFA1`.
|
|
3119
3139
|
*
|
|
3120
3140
|
* @param request - ListMFADevicesForUserRequest
|
|
3121
3141
|
* @returns ListMFADevicesForUserResponse
|
|
@@ -3527,6 +3547,10 @@ export default class Client extends OpenApi {
|
|
|
3527
3547
|
query["DirectoryId"] = request.directoryId;
|
|
3528
3548
|
}
|
|
3529
3549
|
|
|
3550
|
+
if (!$dara.isNull(request.originTargetId)) {
|
|
3551
|
+
query["OriginTargetId"] = request.originTargetId;
|
|
3552
|
+
}
|
|
3553
|
+
|
|
3530
3554
|
if (!$dara.isNull(request.targetId)) {
|
|
3531
3555
|
query["TargetId"] = request.targetId;
|
|
3532
3556
|
}
|
|
@@ -19,6 +19,11 @@ export class CreateAccessAssignmentRequest extends $dara.Model {
|
|
|
19
19
|
* d-00fc2p61****
|
|
20
20
|
*/
|
|
21
21
|
directoryId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 114240524784****
|
|
25
|
+
*/
|
|
26
|
+
originTargetId?: string;
|
|
22
27
|
/**
|
|
23
28
|
* @remarks
|
|
24
29
|
* The ID of the CloudSSO identity.
|
|
@@ -63,6 +68,7 @@ export class CreateAccessAssignmentRequest extends $dara.Model {
|
|
|
63
68
|
return {
|
|
64
69
|
accessConfigurationId: 'AccessConfigurationId',
|
|
65
70
|
directoryId: 'DirectoryId',
|
|
71
|
+
originTargetId: 'OriginTargetId',
|
|
66
72
|
principalId: 'PrincipalId',
|
|
67
73
|
principalType: 'PrincipalType',
|
|
68
74
|
targetId: 'TargetId',
|
|
@@ -74,6 +80,7 @@ export class CreateAccessAssignmentRequest extends $dara.Model {
|
|
|
74
80
|
return {
|
|
75
81
|
accessConfigurationId: 'string',
|
|
76
82
|
directoryId: 'string',
|
|
83
|
+
originTargetId: 'string',
|
|
77
84
|
principalId: 'string',
|
|
78
85
|
principalType: 'string',
|
|
79
86
|
targetId: 'string',
|
|
@@ -21,6 +21,11 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
21
21
|
* ECS-Admin
|
|
22
22
|
*/
|
|
23
23
|
accessConfigurationName?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* 114240524784****
|
|
27
|
+
*/
|
|
28
|
+
originTargetId?: string;
|
|
24
29
|
/**
|
|
25
30
|
* @remarks
|
|
26
31
|
* The ID of the CloudSSO identity.
|
|
@@ -117,6 +122,7 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
117
122
|
return {
|
|
118
123
|
accessConfigurationId: 'AccessConfigurationId',
|
|
119
124
|
accessConfigurationName: 'AccessConfigurationName',
|
|
125
|
+
originTargetId: 'OriginTargetId',
|
|
120
126
|
principalId: 'PrincipalId',
|
|
121
127
|
principalName: 'PrincipalName',
|
|
122
128
|
principalType: 'PrincipalType',
|
|
@@ -135,6 +141,7 @@ export class CreateAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
135
141
|
return {
|
|
136
142
|
accessConfigurationId: 'string',
|
|
137
143
|
accessConfigurationName: 'string',
|
|
144
|
+
originTargetId: 'string',
|
|
138
145
|
principalId: 'string',
|
|
139
146
|
principalName: 'string',
|
|
140
147
|
principalType: 'string',
|
|
@@ -47,7 +47,7 @@ export class CreateUserRequest extends $dara.Model {
|
|
|
47
47
|
* @remarks
|
|
48
48
|
* The description of the user.
|
|
49
49
|
*
|
|
50
|
-
*
|
|
50
|
+
* Maximum length: 1024 characters.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* This is a user.
|
|
@@ -55,7 +55,7 @@ export class CreateUserRequest extends $dara.Model {
|
|
|
55
55
|
description?: string;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The ID
|
|
58
|
+
* The directory ID.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* d-00fc2p61****
|
|
@@ -65,7 +65,7 @@ export class CreateUserRequest extends $dara.Model {
|
|
|
65
65
|
* @remarks
|
|
66
66
|
* The display name of the user.
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
* Maximum length: 256 characters.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* Alice
|
|
@@ -75,7 +75,7 @@ export class CreateUserRequest extends $dara.Model {
|
|
|
75
75
|
* @remarks
|
|
76
76
|
* The email address of the user. The email address must be unique within the directory.
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
* Maximum length: 128 characters.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* Alice@example.com
|
|
@@ -85,7 +85,7 @@ export class CreateUserRequest extends $dara.Model {
|
|
|
85
85
|
* @remarks
|
|
86
86
|
* The first name of the user.
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
* Maximum length: 64 characters.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* Alice
|
|
@@ -95,7 +95,7 @@ export class CreateUserRequest extends $dara.Model {
|
|
|
95
95
|
* @remarks
|
|
96
96
|
* The last name of the user.
|
|
97
97
|
*
|
|
98
|
-
*
|
|
98
|
+
* Maximum length: 64 characters.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* Lee
|
|
@@ -105,9 +105,8 @@ export class CreateUserRequest extends $dara.Model {
|
|
|
105
105
|
* @remarks
|
|
106
106
|
* The status of the user. Valid values:
|
|
107
107
|
*
|
|
108
|
-
* - Enabled (default)
|
|
109
|
-
*
|
|
110
|
-
* - Disabled
|
|
108
|
+
* - Enabled (default): Enabled.
|
|
109
|
+
* - Disabled: Disabled.
|
|
111
110
|
*
|
|
112
111
|
* @example
|
|
113
112
|
* Enabled
|
|
@@ -115,16 +114,16 @@ export class CreateUserRequest extends $dara.Model {
|
|
|
115
114
|
status?: string;
|
|
116
115
|
/**
|
|
117
116
|
* @remarks
|
|
118
|
-
* The tags.
|
|
117
|
+
* The list of tags.
|
|
119
118
|
*/
|
|
120
119
|
tags?: CreateUserRequestTags[];
|
|
121
120
|
/**
|
|
122
121
|
* @remarks
|
|
123
122
|
* The username. The username must be unique within the directory and cannot be modified.
|
|
124
123
|
*
|
|
125
|
-
*
|
|
124
|
+
* Format: Can contain digits, letters, and the following special characters: `@_-.`
|
|
126
125
|
*
|
|
127
|
-
*
|
|
126
|
+
* Maximum length: 64 characters.
|
|
128
127
|
*
|
|
129
128
|
* @example
|
|
130
129
|
* Alice
|
|
@@ -45,7 +45,7 @@ export class CreateUserResponseBodyUserTags extends $dara.Model {
|
|
|
45
45
|
export class CreateUserResponseBodyUser extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The time when the user was created
|
|
48
|
+
* The time when the user was created (UTC).
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 2021-10-26T03:03:42Z
|
|
@@ -93,11 +93,10 @@ export class CreateUserResponseBodyUser extends $dara.Model {
|
|
|
93
93
|
lastName?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
* The
|
|
96
|
+
* The type of the user. Valid values:
|
|
97
97
|
*
|
|
98
|
-
* - Manual:
|
|
99
|
-
*
|
|
100
|
-
* - Synchronized: The user was synchronized from an external IdP.
|
|
98
|
+
* - Manual: Manually created.
|
|
99
|
+
* - Synchronized: Synchronized from an external source.
|
|
101
100
|
*
|
|
102
101
|
* @example
|
|
103
102
|
* Manual
|
|
@@ -107,9 +106,8 @@ export class CreateUserResponseBodyUser extends $dara.Model {
|
|
|
107
106
|
* @remarks
|
|
108
107
|
* The status of the user. Valid values:
|
|
109
108
|
*
|
|
110
|
-
* - Enabled:
|
|
111
|
-
*
|
|
112
|
-
* - Disabled: The user is disabled.
|
|
109
|
+
* - Enabled: Enabled.
|
|
110
|
+
* - Disabled: Disabled.
|
|
113
111
|
*
|
|
114
112
|
* @example
|
|
115
113
|
* Enabled
|
|
@@ -117,12 +115,12 @@ export class CreateUserResponseBodyUser extends $dara.Model {
|
|
|
117
115
|
status?: string;
|
|
118
116
|
/**
|
|
119
117
|
* @remarks
|
|
120
|
-
* The tags.
|
|
118
|
+
* The list of tags.
|
|
121
119
|
*/
|
|
122
120
|
tags?: CreateUserResponseBodyUserTags[];
|
|
123
121
|
/**
|
|
124
122
|
* @remarks
|
|
125
|
-
* The time when the user was last modified
|
|
123
|
+
* The time when the user was last modified (UTC).
|
|
126
124
|
*
|
|
127
125
|
* @example
|
|
128
126
|
* 2021-10-26T03:03:42Z
|
|
@@ -201,7 +199,7 @@ export class CreateUserResponseBody extends $dara.Model {
|
|
|
201
199
|
requestId?: string;
|
|
202
200
|
/**
|
|
203
201
|
* @remarks
|
|
204
|
-
* The
|
|
202
|
+
* The user information.
|
|
205
203
|
*/
|
|
206
204
|
user?: CreateUserResponseBodyUser;
|
|
207
205
|
static names(): { [key: string]: string } {
|
|
@@ -31,6 +31,11 @@ export class DeleteAccessAssignmentRequest extends $dara.Model {
|
|
|
31
31
|
* d-00fc2p61****
|
|
32
32
|
*/
|
|
33
33
|
directoryId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @example
|
|
36
|
+
* 114240524784****
|
|
37
|
+
*/
|
|
38
|
+
originTargetId?: string;
|
|
34
39
|
/**
|
|
35
40
|
* @remarks
|
|
36
41
|
* The ID of the CloudSSO identity.
|
|
@@ -76,6 +81,7 @@ export class DeleteAccessAssignmentRequest extends $dara.Model {
|
|
|
76
81
|
accessConfigurationId: 'AccessConfigurationId',
|
|
77
82
|
deprovisionStrategy: 'DeprovisionStrategy',
|
|
78
83
|
directoryId: 'DirectoryId',
|
|
84
|
+
originTargetId: 'OriginTargetId',
|
|
79
85
|
principalId: 'PrincipalId',
|
|
80
86
|
principalType: 'PrincipalType',
|
|
81
87
|
targetId: 'TargetId',
|
|
@@ -88,6 +94,7 @@ export class DeleteAccessAssignmentRequest extends $dara.Model {
|
|
|
88
94
|
accessConfigurationId: 'string',
|
|
89
95
|
deprovisionStrategy: 'string',
|
|
90
96
|
directoryId: 'string',
|
|
97
|
+
originTargetId: 'string',
|
|
91
98
|
principalId: 'string',
|
|
92
99
|
principalType: 'string',
|
|
93
100
|
targetId: 'string',
|
|
@@ -19,6 +19,11 @@ export class DeleteAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
19
19
|
* ECS-Admin
|
|
20
20
|
*/
|
|
21
21
|
accessConfigurationName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 114240524784****
|
|
25
|
+
*/
|
|
26
|
+
originTargetId?: string;
|
|
22
27
|
/**
|
|
23
28
|
* @remarks
|
|
24
29
|
* The ID of the CloudSSO identity.
|
|
@@ -115,6 +120,7 @@ export class DeleteAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
115
120
|
return {
|
|
116
121
|
accessConfigurationId: 'AccessConfigurationId',
|
|
117
122
|
accessConfigurationName: 'AccessConfigurationName',
|
|
123
|
+
originTargetId: 'OriginTargetId',
|
|
118
124
|
principalId: 'PrincipalId',
|
|
119
125
|
principalName: 'PrincipalName',
|
|
120
126
|
principalType: 'PrincipalType',
|
|
@@ -133,6 +139,7 @@ export class DeleteAccessAssignmentResponseBodyTask extends $dara.Model {
|
|
|
133
139
|
return {
|
|
134
140
|
accessConfigurationId: 'string',
|
|
135
141
|
accessConfigurationName: 'string',
|
|
142
|
+
originTargetId: 'string',
|
|
136
143
|
principalId: 'string',
|
|
137
144
|
principalName: 'string',
|
|
138
145
|
principalType: 'string',
|
|
@@ -19,6 +19,11 @@ export class DeprovisionAccessConfigurationRequest extends $dara.Model {
|
|
|
19
19
|
* d-00fc2p61****
|
|
20
20
|
*/
|
|
21
21
|
directoryId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 114240524784****
|
|
25
|
+
*/
|
|
26
|
+
originTargetId?: string;
|
|
22
27
|
/**
|
|
23
28
|
* @remarks
|
|
24
29
|
* The ID of the task object.
|
|
@@ -39,6 +44,7 @@ export class DeprovisionAccessConfigurationRequest extends $dara.Model {
|
|
|
39
44
|
return {
|
|
40
45
|
accessConfigurationId: 'AccessConfigurationId',
|
|
41
46
|
directoryId: 'DirectoryId',
|
|
47
|
+
originTargetId: 'OriginTargetId',
|
|
42
48
|
targetId: 'TargetId',
|
|
43
49
|
targetType: 'TargetType',
|
|
44
50
|
};
|
|
@@ -48,6 +54,7 @@ export class DeprovisionAccessConfigurationRequest extends $dara.Model {
|
|
|
48
54
|
return {
|
|
49
55
|
accessConfigurationId: 'string',
|
|
50
56
|
directoryId: 'string',
|
|
57
|
+
originTargetId: 'string',
|
|
51
58
|
targetId: 'string',
|
|
52
59
|
targetType: 'string',
|
|
53
60
|
};
|
|
@@ -19,6 +19,11 @@ export class DeprovisionAccessConfigurationResponseBodyTasks extends $dara.Model
|
|
|
19
19
|
* ECS-Admin
|
|
20
20
|
*/
|
|
21
21
|
accessConfigurationName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* 114240524784****
|
|
25
|
+
*/
|
|
26
|
+
originTargetId?: string;
|
|
22
27
|
/**
|
|
23
28
|
* @remarks
|
|
24
29
|
* The task status. Valid values:
|
|
@@ -87,6 +92,7 @@ export class DeprovisionAccessConfigurationResponseBodyTasks extends $dara.Model
|
|
|
87
92
|
return {
|
|
88
93
|
accessConfigurationId: 'AccessConfigurationId',
|
|
89
94
|
accessConfigurationName: 'AccessConfigurationName',
|
|
95
|
+
originTargetId: 'OriginTargetId',
|
|
90
96
|
status: 'Status',
|
|
91
97
|
targetId: 'TargetId',
|
|
92
98
|
targetName: 'TargetName',
|
|
@@ -102,6 +108,7 @@ export class DeprovisionAccessConfigurationResponseBodyTasks extends $dara.Model
|
|
|
102
108
|
return {
|
|
103
109
|
accessConfigurationId: 'string',
|
|
104
110
|
accessConfigurationName: 'string',
|
|
111
|
+
originTargetId: 'string',
|
|
105
112
|
status: 'string',
|
|
106
113
|
targetId: 'string',
|
|
107
114
|
targetName: 'string',
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class GetAccessConfigurationRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The access configuration ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ac-00ccule7tadaijxc****
|
|
@@ -13,7 +13,7 @@ export class GetAccessConfigurationRequest extends $dara.Model {
|
|
|
13
13
|
accessConfigurationId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The ID
|
|
16
|
+
* The directory ID.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* d-00fc2p61****
|
|
@@ -45,7 +45,7 @@ export class GetAccessConfigurationResponseBodyAccessConfigurationTags extends $
|
|
|
45
45
|
export class GetAccessConfigurationResponseBodyAccessConfiguration extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The access configuration ID.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* ac-00ccule7tadaijxc****
|
|
@@ -79,7 +79,7 @@ export class GetAccessConfigurationResponseBodyAccessConfiguration extends $dara
|
|
|
79
79
|
* @remarks
|
|
80
80
|
* The initial access page.
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
* The URL of the initial page that is displayed when a CloudSSO user uses the access configuration to access an account in a resource directory.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* https://cloudsso.console.aliyun.com
|
|
@@ -89,7 +89,7 @@ export class GetAccessConfigurationResponseBodyAccessConfiguration extends $dara
|
|
|
89
89
|
* @remarks
|
|
90
90
|
* The session duration.
|
|
91
91
|
*
|
|
92
|
-
* The maximum duration of a session when a CloudSSO user uses the access configuration to access an account in
|
|
92
|
+
* The maximum duration of a session when a CloudSSO user uses the access configuration to access an account in a resource directory.
|
|
93
93
|
*
|
|
94
94
|
* Unit: seconds.
|
|
95
95
|
*
|
|
@@ -99,12 +99,12 @@ export class GetAccessConfigurationResponseBodyAccessConfiguration extends $dara
|
|
|
99
99
|
sessionDuration?: number;
|
|
100
100
|
/**
|
|
101
101
|
* @remarks
|
|
102
|
-
* The status
|
|
102
|
+
* The status notification information.
|
|
103
103
|
*/
|
|
104
104
|
statusNotifications?: string[];
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
* The tags
|
|
107
|
+
* The tags.
|
|
108
108
|
*/
|
|
109
109
|
tags?: GetAccessConfigurationResponseBodyAccessConfigurationTags[];
|
|
110
110
|
/**
|
|
@@ -161,7 +161,7 @@ export class GetAccessConfigurationResponseBodyAccessConfiguration extends $dara
|
|
|
161
161
|
export class GetAccessConfigurationResponseBody extends $dara.Model {
|
|
162
162
|
/**
|
|
163
163
|
* @remarks
|
|
164
|
-
* The
|
|
164
|
+
* The access configuration information.
|
|
165
165
|
*/
|
|
166
166
|
accessConfiguration?: GetAccessConfigurationResponseBodyAccessConfiguration;
|
|
167
167
|
/**
|
|
@@ -37,6 +37,11 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
37
37
|
* No Permission.
|
|
38
38
|
*/
|
|
39
39
|
failureReason?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* 17xxxxxxxxxxxx73
|
|
43
|
+
*/
|
|
44
|
+
originTargetId?: string;
|
|
40
45
|
/**
|
|
41
46
|
* @remarks
|
|
42
47
|
* The ID of the CloudSSO identity.
|
|
@@ -145,6 +150,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
145
150
|
accessConfigurationName: 'AccessConfigurationName',
|
|
146
151
|
endTime: 'EndTime',
|
|
147
152
|
failureReason: 'FailureReason',
|
|
153
|
+
originTargetId: 'OriginTargetId',
|
|
148
154
|
principalId: 'PrincipalId',
|
|
149
155
|
principalName: 'PrincipalName',
|
|
150
156
|
principalType: 'PrincipalType',
|
|
@@ -166,6 +172,7 @@ export class GetTaskResponseBodyTask extends $dara.Model {
|
|
|
166
172
|
accessConfigurationName: 'string',
|
|
167
173
|
endTime: 'string',
|
|
168
174
|
failureReason: 'string',
|
|
175
|
+
originTargetId: 'string',
|
|
169
176
|
principalId: 'string',
|
|
170
177
|
principalName: 'string',
|
|
171
178
|
principalType: 'string',
|