@alicloud/cloudsso20210515 1.1.0 → 1.2.0
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 +354 -244
- package/dist/client.js +753 -299
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +942 -298
package/src/client.ts
CHANGED
|
@@ -734,6 +734,93 @@ export class CreateUserResponse extends $tea.Model {
|
|
|
734
734
|
}
|
|
735
735
|
}
|
|
736
736
|
|
|
737
|
+
export class CreateUserProvisioningRequest extends $tea.Model {
|
|
738
|
+
deletionStrategy?: string;
|
|
739
|
+
description?: string;
|
|
740
|
+
directoryId?: string;
|
|
741
|
+
duplicationStrategy?: string;
|
|
742
|
+
principalId?: string;
|
|
743
|
+
principalType?: string;
|
|
744
|
+
targetId?: string;
|
|
745
|
+
targetType?: string;
|
|
746
|
+
static names(): { [key: string]: string } {
|
|
747
|
+
return {
|
|
748
|
+
deletionStrategy: 'DeletionStrategy',
|
|
749
|
+
description: 'Description',
|
|
750
|
+
directoryId: 'DirectoryId',
|
|
751
|
+
duplicationStrategy: 'DuplicationStrategy',
|
|
752
|
+
principalId: 'PrincipalId',
|
|
753
|
+
principalType: 'PrincipalType',
|
|
754
|
+
targetId: 'TargetId',
|
|
755
|
+
targetType: 'TargetType',
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
static types(): { [key: string]: any } {
|
|
760
|
+
return {
|
|
761
|
+
deletionStrategy: 'string',
|
|
762
|
+
description: 'string',
|
|
763
|
+
directoryId: 'string',
|
|
764
|
+
duplicationStrategy: 'string',
|
|
765
|
+
principalId: 'string',
|
|
766
|
+
principalType: 'string',
|
|
767
|
+
targetId: 'string',
|
|
768
|
+
targetType: 'string',
|
|
769
|
+
};
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
constructor(map?: { [key: string]: any }) {
|
|
773
|
+
super(map);
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
export class CreateUserProvisioningResponseBody extends $tea.Model {
|
|
778
|
+
requestId?: string;
|
|
779
|
+
userProvisioning?: CreateUserProvisioningResponseBodyUserProvisioning;
|
|
780
|
+
static names(): { [key: string]: string } {
|
|
781
|
+
return {
|
|
782
|
+
requestId: 'RequestId',
|
|
783
|
+
userProvisioning: 'UserProvisioning',
|
|
784
|
+
};
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
static types(): { [key: string]: any } {
|
|
788
|
+
return {
|
|
789
|
+
requestId: 'string',
|
|
790
|
+
userProvisioning: CreateUserProvisioningResponseBodyUserProvisioning,
|
|
791
|
+
};
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
constructor(map?: { [key: string]: any }) {
|
|
795
|
+
super(map);
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
export class CreateUserProvisioningResponse extends $tea.Model {
|
|
800
|
+
headers: { [key: string]: string };
|
|
801
|
+
statusCode: number;
|
|
802
|
+
body: CreateUserProvisioningResponseBody;
|
|
803
|
+
static names(): { [key: string]: string } {
|
|
804
|
+
return {
|
|
805
|
+
headers: 'headers',
|
|
806
|
+
statusCode: 'statusCode',
|
|
807
|
+
body: 'body',
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
static types(): { [key: string]: any } {
|
|
812
|
+
return {
|
|
813
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
814
|
+
statusCode: 'number',
|
|
815
|
+
body: CreateUserProvisioningResponseBody,
|
|
816
|
+
};
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
constructor(map?: { [key: string]: any }) {
|
|
820
|
+
super(map);
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
|
|
737
824
|
export class DeleteAccessAssignmentRequest extends $tea.Model {
|
|
738
825
|
accessConfigurationId?: string;
|
|
739
826
|
deprovisionStrategy?: string;
|
|
@@ -1217,6 +1304,75 @@ export class DeleteUserResponse extends $tea.Model {
|
|
|
1217
1304
|
}
|
|
1218
1305
|
}
|
|
1219
1306
|
|
|
1307
|
+
export class DeleteUserProvisioningRequest extends $tea.Model {
|
|
1308
|
+
deletionStrategy?: string;
|
|
1309
|
+
directoryId?: string;
|
|
1310
|
+
userProvisioningId?: string;
|
|
1311
|
+
static names(): { [key: string]: string } {
|
|
1312
|
+
return {
|
|
1313
|
+
deletionStrategy: 'DeletionStrategy',
|
|
1314
|
+
directoryId: 'DirectoryId',
|
|
1315
|
+
userProvisioningId: 'UserProvisioningId',
|
|
1316
|
+
};
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
static types(): { [key: string]: any } {
|
|
1320
|
+
return {
|
|
1321
|
+
deletionStrategy: 'string',
|
|
1322
|
+
directoryId: 'string',
|
|
1323
|
+
userProvisioningId: 'string',
|
|
1324
|
+
};
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
constructor(map?: { [key: string]: any }) {
|
|
1328
|
+
super(map);
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
export class DeleteUserProvisioningResponseBody extends $tea.Model {
|
|
1333
|
+
requestId?: string;
|
|
1334
|
+
static names(): { [key: string]: string } {
|
|
1335
|
+
return {
|
|
1336
|
+
requestId: 'RequestId',
|
|
1337
|
+
};
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
static types(): { [key: string]: any } {
|
|
1341
|
+
return {
|
|
1342
|
+
requestId: 'string',
|
|
1343
|
+
};
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
constructor(map?: { [key: string]: any }) {
|
|
1347
|
+
super(map);
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
export class DeleteUserProvisioningResponse extends $tea.Model {
|
|
1352
|
+
headers: { [key: string]: string };
|
|
1353
|
+
statusCode: number;
|
|
1354
|
+
body: DeleteUserProvisioningResponseBody;
|
|
1355
|
+
static names(): { [key: string]: string } {
|
|
1356
|
+
return {
|
|
1357
|
+
headers: 'headers',
|
|
1358
|
+
statusCode: 'statusCode',
|
|
1359
|
+
body: 'body',
|
|
1360
|
+
};
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
static types(): { [key: string]: any } {
|
|
1364
|
+
return {
|
|
1365
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1366
|
+
statusCode: 'number',
|
|
1367
|
+
body: DeleteUserProvisioningResponseBody,
|
|
1368
|
+
};
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
constructor(map?: { [key: string]: any }) {
|
|
1372
|
+
super(map);
|
|
1373
|
+
}
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1220
1376
|
export class DeprovisionAccessConfigurationRequest extends $tea.Model {
|
|
1221
1377
|
accessConfigurationId?: string;
|
|
1222
1378
|
directoryId?: string;
|
|
@@ -2369,6 +2525,75 @@ export class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
|
2369
2525
|
}
|
|
2370
2526
|
}
|
|
2371
2527
|
|
|
2528
|
+
export class GetUserProvisioningRequest extends $tea.Model {
|
|
2529
|
+
directoryId?: string;
|
|
2530
|
+
userProvisioningId?: string;
|
|
2531
|
+
static names(): { [key: string]: string } {
|
|
2532
|
+
return {
|
|
2533
|
+
directoryId: 'DirectoryId',
|
|
2534
|
+
userProvisioningId: 'UserProvisioningId',
|
|
2535
|
+
};
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2538
|
+
static types(): { [key: string]: any } {
|
|
2539
|
+
return {
|
|
2540
|
+
directoryId: 'string',
|
|
2541
|
+
userProvisioningId: 'string',
|
|
2542
|
+
};
|
|
2543
|
+
}
|
|
2544
|
+
|
|
2545
|
+
constructor(map?: { [key: string]: any }) {
|
|
2546
|
+
super(map);
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
|
|
2550
|
+
export class GetUserProvisioningResponseBody extends $tea.Model {
|
|
2551
|
+
requestId?: string;
|
|
2552
|
+
userProvisioning?: GetUserProvisioningResponseBodyUserProvisioning;
|
|
2553
|
+
static names(): { [key: string]: string } {
|
|
2554
|
+
return {
|
|
2555
|
+
requestId: 'RequestId',
|
|
2556
|
+
userProvisioning: 'UserProvisioning',
|
|
2557
|
+
};
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
static types(): { [key: string]: any } {
|
|
2561
|
+
return {
|
|
2562
|
+
requestId: 'string',
|
|
2563
|
+
userProvisioning: GetUserProvisioningResponseBodyUserProvisioning,
|
|
2564
|
+
};
|
|
2565
|
+
}
|
|
2566
|
+
|
|
2567
|
+
constructor(map?: { [key: string]: any }) {
|
|
2568
|
+
super(map);
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
export class GetUserProvisioningResponse extends $tea.Model {
|
|
2573
|
+
headers: { [key: string]: string };
|
|
2574
|
+
statusCode: number;
|
|
2575
|
+
body: GetUserProvisioningResponseBody;
|
|
2576
|
+
static names(): { [key: string]: string } {
|
|
2577
|
+
return {
|
|
2578
|
+
headers: 'headers',
|
|
2579
|
+
statusCode: 'statusCode',
|
|
2580
|
+
body: 'body',
|
|
2581
|
+
};
|
|
2582
|
+
}
|
|
2583
|
+
|
|
2584
|
+
static types(): { [key: string]: any } {
|
|
2585
|
+
return {
|
|
2586
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2587
|
+
statusCode: 'number',
|
|
2588
|
+
body: GetUserProvisioningResponseBody,
|
|
2589
|
+
};
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
constructor(map?: { [key: string]: any }) {
|
|
2593
|
+
super(map);
|
|
2594
|
+
}
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2372
2597
|
export class ListAccessAssignmentsRequest extends $tea.Model {
|
|
2373
2598
|
accessConfigurationId?: string;
|
|
2374
2599
|
directoryId?: string;
|
|
@@ -3361,32 +3586,35 @@ export class ListTasksResponse extends $tea.Model {
|
|
|
3361
3586
|
}
|
|
3362
3587
|
}
|
|
3363
3588
|
|
|
3364
|
-
export class
|
|
3589
|
+
export class ListUserProvisioningsRequest extends $tea.Model {
|
|
3365
3590
|
directoryId?: string;
|
|
3366
|
-
filter?: string;
|
|
3367
3591
|
maxResults?: number;
|
|
3368
3592
|
nextToken?: string;
|
|
3369
|
-
|
|
3370
|
-
|
|
3593
|
+
principalId?: string;
|
|
3594
|
+
principalType?: string;
|
|
3595
|
+
targetId?: string;
|
|
3596
|
+
targetType?: string;
|
|
3371
3597
|
static names(): { [key: string]: string } {
|
|
3372
3598
|
return {
|
|
3373
3599
|
directoryId: 'DirectoryId',
|
|
3374
|
-
filter: 'Filter',
|
|
3375
3600
|
maxResults: 'MaxResults',
|
|
3376
3601
|
nextToken: 'NextToken',
|
|
3377
|
-
|
|
3378
|
-
|
|
3602
|
+
principalId: 'PrincipalId',
|
|
3603
|
+
principalType: 'PrincipalType',
|
|
3604
|
+
targetId: 'TargetId',
|
|
3605
|
+
targetType: 'TargetType',
|
|
3379
3606
|
};
|
|
3380
3607
|
}
|
|
3381
3608
|
|
|
3382
3609
|
static types(): { [key: string]: any } {
|
|
3383
3610
|
return {
|
|
3384
3611
|
directoryId: 'string',
|
|
3385
|
-
filter: 'string',
|
|
3386
3612
|
maxResults: 'number',
|
|
3387
3613
|
nextToken: 'string',
|
|
3388
|
-
|
|
3389
|
-
|
|
3614
|
+
principalId: 'string',
|
|
3615
|
+
principalType: 'string',
|
|
3616
|
+
targetId: 'string',
|
|
3617
|
+
targetType: 'string',
|
|
3390
3618
|
};
|
|
3391
3619
|
}
|
|
3392
3620
|
|
|
@@ -3395,13 +3623,13 @@ export class ListUsersRequest extends $tea.Model {
|
|
|
3395
3623
|
}
|
|
3396
3624
|
}
|
|
3397
3625
|
|
|
3398
|
-
export class
|
|
3626
|
+
export class ListUserProvisioningsResponseBody extends $tea.Model {
|
|
3399
3627
|
isTruncated?: boolean;
|
|
3400
3628
|
maxResults?: number;
|
|
3401
3629
|
nextToken?: string;
|
|
3402
3630
|
requestId?: string;
|
|
3403
3631
|
totalCounts?: number;
|
|
3404
|
-
|
|
3632
|
+
userProvisionings?: ListUserProvisioningsResponseBodyUserProvisionings[];
|
|
3405
3633
|
static names(): { [key: string]: string } {
|
|
3406
3634
|
return {
|
|
3407
3635
|
isTruncated: 'IsTruncated',
|
|
@@ -3409,7 +3637,7 @@ export class ListUsersResponseBody extends $tea.Model {
|
|
|
3409
3637
|
nextToken: 'NextToken',
|
|
3410
3638
|
requestId: 'RequestId',
|
|
3411
3639
|
totalCounts: 'TotalCounts',
|
|
3412
|
-
|
|
3640
|
+
userProvisionings: 'UserProvisionings',
|
|
3413
3641
|
};
|
|
3414
3642
|
}
|
|
3415
3643
|
|
|
@@ -3420,7 +3648,7 @@ export class ListUsersResponseBody extends $tea.Model {
|
|
|
3420
3648
|
nextToken: 'string',
|
|
3421
3649
|
requestId: 'string',
|
|
3422
3650
|
totalCounts: 'number',
|
|
3423
|
-
|
|
3651
|
+
userProvisionings: { 'type': 'array', 'itemType': ListUserProvisioningsResponseBodyUserProvisionings },
|
|
3424
3652
|
};
|
|
3425
3653
|
}
|
|
3426
3654
|
|
|
@@ -3429,10 +3657,10 @@ export class ListUsersResponseBody extends $tea.Model {
|
|
|
3429
3657
|
}
|
|
3430
3658
|
}
|
|
3431
3659
|
|
|
3432
|
-
export class
|
|
3660
|
+
export class ListUserProvisioningsResponse extends $tea.Model {
|
|
3433
3661
|
headers: { [key: string]: string };
|
|
3434
3662
|
statusCode: number;
|
|
3435
|
-
body:
|
|
3663
|
+
body: ListUserProvisioningsResponseBody;
|
|
3436
3664
|
static names(): { [key: string]: string } {
|
|
3437
3665
|
return {
|
|
3438
3666
|
headers: 'headers',
|
|
@@ -3445,7 +3673,7 @@ export class ListUsersResponse extends $tea.Model {
|
|
|
3445
3673
|
return {
|
|
3446
3674
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3447
3675
|
statusCode: 'number',
|
|
3448
|
-
body:
|
|
3676
|
+
body: ListUserProvisioningsResponseBody,
|
|
3449
3677
|
};
|
|
3450
3678
|
}
|
|
3451
3679
|
|
|
@@ -3454,26 +3682,32 @@ export class ListUsersResponse extends $tea.Model {
|
|
|
3454
3682
|
}
|
|
3455
3683
|
}
|
|
3456
3684
|
|
|
3457
|
-
export class
|
|
3458
|
-
accessConfigurationId?: string;
|
|
3685
|
+
export class ListUsersRequest extends $tea.Model {
|
|
3459
3686
|
directoryId?: string;
|
|
3460
|
-
|
|
3461
|
-
|
|
3687
|
+
filter?: string;
|
|
3688
|
+
maxResults?: number;
|
|
3689
|
+
nextToken?: string;
|
|
3690
|
+
provisionType?: string;
|
|
3691
|
+
status?: string;
|
|
3462
3692
|
static names(): { [key: string]: string } {
|
|
3463
3693
|
return {
|
|
3464
|
-
accessConfigurationId: 'AccessConfigurationId',
|
|
3465
3694
|
directoryId: 'DirectoryId',
|
|
3466
|
-
|
|
3467
|
-
|
|
3695
|
+
filter: 'Filter',
|
|
3696
|
+
maxResults: 'MaxResults',
|
|
3697
|
+
nextToken: 'NextToken',
|
|
3698
|
+
provisionType: 'ProvisionType',
|
|
3699
|
+
status: 'Status',
|
|
3468
3700
|
};
|
|
3469
3701
|
}
|
|
3470
3702
|
|
|
3471
3703
|
static types(): { [key: string]: any } {
|
|
3472
3704
|
return {
|
|
3473
|
-
accessConfigurationId: 'string',
|
|
3474
3705
|
directoryId: 'string',
|
|
3475
|
-
|
|
3476
|
-
|
|
3706
|
+
filter: 'string',
|
|
3707
|
+
maxResults: 'number',
|
|
3708
|
+
nextToken: 'string',
|
|
3709
|
+
provisionType: 'string',
|
|
3710
|
+
status: 'string',
|
|
3477
3711
|
};
|
|
3478
3712
|
}
|
|
3479
3713
|
|
|
@@ -3482,13 +3716,100 @@ export class ProvisionAccessConfigurationRequest extends $tea.Model {
|
|
|
3482
3716
|
}
|
|
3483
3717
|
}
|
|
3484
3718
|
|
|
3485
|
-
export class
|
|
3719
|
+
export class ListUsersResponseBody extends $tea.Model {
|
|
3720
|
+
isTruncated?: boolean;
|
|
3721
|
+
maxResults?: number;
|
|
3722
|
+
nextToken?: string;
|
|
3486
3723
|
requestId?: string;
|
|
3487
|
-
|
|
3724
|
+
totalCounts?: number;
|
|
3725
|
+
users?: ListUsersResponseBodyUsers[];
|
|
3488
3726
|
static names(): { [key: string]: string } {
|
|
3489
3727
|
return {
|
|
3728
|
+
isTruncated: 'IsTruncated',
|
|
3729
|
+
maxResults: 'MaxResults',
|
|
3730
|
+
nextToken: 'NextToken',
|
|
3490
3731
|
requestId: 'RequestId',
|
|
3491
|
-
|
|
3732
|
+
totalCounts: 'TotalCounts',
|
|
3733
|
+
users: 'Users',
|
|
3734
|
+
};
|
|
3735
|
+
}
|
|
3736
|
+
|
|
3737
|
+
static types(): { [key: string]: any } {
|
|
3738
|
+
return {
|
|
3739
|
+
isTruncated: 'boolean',
|
|
3740
|
+
maxResults: 'number',
|
|
3741
|
+
nextToken: 'string',
|
|
3742
|
+
requestId: 'string',
|
|
3743
|
+
totalCounts: 'number',
|
|
3744
|
+
users: { 'type': 'array', 'itemType': ListUsersResponseBodyUsers },
|
|
3745
|
+
};
|
|
3746
|
+
}
|
|
3747
|
+
|
|
3748
|
+
constructor(map?: { [key: string]: any }) {
|
|
3749
|
+
super(map);
|
|
3750
|
+
}
|
|
3751
|
+
}
|
|
3752
|
+
|
|
3753
|
+
export class ListUsersResponse extends $tea.Model {
|
|
3754
|
+
headers: { [key: string]: string };
|
|
3755
|
+
statusCode: number;
|
|
3756
|
+
body: ListUsersResponseBody;
|
|
3757
|
+
static names(): { [key: string]: string } {
|
|
3758
|
+
return {
|
|
3759
|
+
headers: 'headers',
|
|
3760
|
+
statusCode: 'statusCode',
|
|
3761
|
+
body: 'body',
|
|
3762
|
+
};
|
|
3763
|
+
}
|
|
3764
|
+
|
|
3765
|
+
static types(): { [key: string]: any } {
|
|
3766
|
+
return {
|
|
3767
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3768
|
+
statusCode: 'number',
|
|
3769
|
+
body: ListUsersResponseBody,
|
|
3770
|
+
};
|
|
3771
|
+
}
|
|
3772
|
+
|
|
3773
|
+
constructor(map?: { [key: string]: any }) {
|
|
3774
|
+
super(map);
|
|
3775
|
+
}
|
|
3776
|
+
}
|
|
3777
|
+
|
|
3778
|
+
export class ProvisionAccessConfigurationRequest extends $tea.Model {
|
|
3779
|
+
accessConfigurationId?: string;
|
|
3780
|
+
directoryId?: string;
|
|
3781
|
+
targetId?: string;
|
|
3782
|
+
targetType?: string;
|
|
3783
|
+
static names(): { [key: string]: string } {
|
|
3784
|
+
return {
|
|
3785
|
+
accessConfigurationId: 'AccessConfigurationId',
|
|
3786
|
+
directoryId: 'DirectoryId',
|
|
3787
|
+
targetId: 'TargetId',
|
|
3788
|
+
targetType: 'TargetType',
|
|
3789
|
+
};
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
static types(): { [key: string]: any } {
|
|
3793
|
+
return {
|
|
3794
|
+
accessConfigurationId: 'string',
|
|
3795
|
+
directoryId: 'string',
|
|
3796
|
+
targetId: 'string',
|
|
3797
|
+
targetType: 'string',
|
|
3798
|
+
};
|
|
3799
|
+
}
|
|
3800
|
+
|
|
3801
|
+
constructor(map?: { [key: string]: any }) {
|
|
3802
|
+
super(map);
|
|
3803
|
+
}
|
|
3804
|
+
}
|
|
3805
|
+
|
|
3806
|
+
export class ProvisionAccessConfigurationResponseBody extends $tea.Model {
|
|
3807
|
+
requestId?: string;
|
|
3808
|
+
tasks?: ProvisionAccessConfigurationResponseBodyTasks[];
|
|
3809
|
+
static names(): { [key: string]: string } {
|
|
3810
|
+
return {
|
|
3811
|
+
requestId: 'RequestId',
|
|
3812
|
+
tasks: 'Tasks',
|
|
3492
3813
|
};
|
|
3493
3814
|
}
|
|
3494
3815
|
|
|
@@ -4618,6 +4939,84 @@ export class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
|
|
|
4618
4939
|
}
|
|
4619
4940
|
}
|
|
4620
4941
|
|
|
4942
|
+
export class UpdateUserProvisioningRequest extends $tea.Model {
|
|
4943
|
+
directoryId?: string;
|
|
4944
|
+
newDeletionStrategy?: string;
|
|
4945
|
+
newDescription?: string;
|
|
4946
|
+
newDuplicationStrategy?: string;
|
|
4947
|
+
userProvisioningId?: string;
|
|
4948
|
+
static names(): { [key: string]: string } {
|
|
4949
|
+
return {
|
|
4950
|
+
directoryId: 'DirectoryId',
|
|
4951
|
+
newDeletionStrategy: 'NewDeletionStrategy',
|
|
4952
|
+
newDescription: 'NewDescription',
|
|
4953
|
+
newDuplicationStrategy: 'NewDuplicationStrategy',
|
|
4954
|
+
userProvisioningId: 'UserProvisioningId',
|
|
4955
|
+
};
|
|
4956
|
+
}
|
|
4957
|
+
|
|
4958
|
+
static types(): { [key: string]: any } {
|
|
4959
|
+
return {
|
|
4960
|
+
directoryId: 'string',
|
|
4961
|
+
newDeletionStrategy: 'string',
|
|
4962
|
+
newDescription: 'string',
|
|
4963
|
+
newDuplicationStrategy: 'string',
|
|
4964
|
+
userProvisioningId: 'string',
|
|
4965
|
+
};
|
|
4966
|
+
}
|
|
4967
|
+
|
|
4968
|
+
constructor(map?: { [key: string]: any }) {
|
|
4969
|
+
super(map);
|
|
4970
|
+
}
|
|
4971
|
+
}
|
|
4972
|
+
|
|
4973
|
+
export class UpdateUserProvisioningResponseBody extends $tea.Model {
|
|
4974
|
+
requestId?: string;
|
|
4975
|
+
userProvisioning?: UpdateUserProvisioningResponseBodyUserProvisioning;
|
|
4976
|
+
static names(): { [key: string]: string } {
|
|
4977
|
+
return {
|
|
4978
|
+
requestId: 'RequestId',
|
|
4979
|
+
userProvisioning: 'UserProvisioning',
|
|
4980
|
+
};
|
|
4981
|
+
}
|
|
4982
|
+
|
|
4983
|
+
static types(): { [key: string]: any } {
|
|
4984
|
+
return {
|
|
4985
|
+
requestId: 'string',
|
|
4986
|
+
userProvisioning: UpdateUserProvisioningResponseBodyUserProvisioning,
|
|
4987
|
+
};
|
|
4988
|
+
}
|
|
4989
|
+
|
|
4990
|
+
constructor(map?: { [key: string]: any }) {
|
|
4991
|
+
super(map);
|
|
4992
|
+
}
|
|
4993
|
+
}
|
|
4994
|
+
|
|
4995
|
+
export class UpdateUserProvisioningResponse extends $tea.Model {
|
|
4996
|
+
headers: { [key: string]: string };
|
|
4997
|
+
statusCode: number;
|
|
4998
|
+
body: UpdateUserProvisioningResponseBody;
|
|
4999
|
+
static names(): { [key: string]: string } {
|
|
5000
|
+
return {
|
|
5001
|
+
headers: 'headers',
|
|
5002
|
+
statusCode: 'statusCode',
|
|
5003
|
+
body: 'body',
|
|
5004
|
+
};
|
|
5005
|
+
}
|
|
5006
|
+
|
|
5007
|
+
static types(): { [key: string]: any } {
|
|
5008
|
+
return {
|
|
5009
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5010
|
+
statusCode: 'number',
|
|
5011
|
+
body: UpdateUserProvisioningResponseBody,
|
|
5012
|
+
};
|
|
5013
|
+
}
|
|
5014
|
+
|
|
5015
|
+
constructor(map?: { [key: string]: any }) {
|
|
5016
|
+
super(map);
|
|
5017
|
+
}
|
|
5018
|
+
}
|
|
5019
|
+
|
|
4621
5020
|
export class UpdateUserStatusRequest extends $tea.Model {
|
|
4622
5021
|
directoryId?: string;
|
|
4623
5022
|
newStatus?: string;
|
|
@@ -4933,6 +5332,70 @@ export class CreateUserResponseBodyUser extends $tea.Model {
|
|
|
4933
5332
|
}
|
|
4934
5333
|
}
|
|
4935
5334
|
|
|
5335
|
+
export class CreateUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
|
|
5336
|
+
createTime?: string;
|
|
5337
|
+
deletionStrategy?: string;
|
|
5338
|
+
description?: string;
|
|
5339
|
+
directoryId?: string;
|
|
5340
|
+
duplicationStrategy?: string;
|
|
5341
|
+
ownerPk?: string;
|
|
5342
|
+
principalId?: string;
|
|
5343
|
+
principalName?: string;
|
|
5344
|
+
principalType?: string;
|
|
5345
|
+
status?: string;
|
|
5346
|
+
targetId?: string;
|
|
5347
|
+
targetName?: string;
|
|
5348
|
+
targetPath?: string;
|
|
5349
|
+
targetType?: string;
|
|
5350
|
+
updateTime?: string;
|
|
5351
|
+
userProvisioningId?: string;
|
|
5352
|
+
static names(): { [key: string]: string } {
|
|
5353
|
+
return {
|
|
5354
|
+
createTime: 'CreateTime',
|
|
5355
|
+
deletionStrategy: 'DeletionStrategy',
|
|
5356
|
+
description: 'Description',
|
|
5357
|
+
directoryId: 'DirectoryId',
|
|
5358
|
+
duplicationStrategy: 'DuplicationStrategy',
|
|
5359
|
+
ownerPk: 'OwnerPk',
|
|
5360
|
+
principalId: 'PrincipalId',
|
|
5361
|
+
principalName: 'PrincipalName',
|
|
5362
|
+
principalType: 'PrincipalType',
|
|
5363
|
+
status: 'Status',
|
|
5364
|
+
targetId: 'TargetId',
|
|
5365
|
+
targetName: 'TargetName',
|
|
5366
|
+
targetPath: 'TargetPath',
|
|
5367
|
+
targetType: 'TargetType',
|
|
5368
|
+
updateTime: 'UpdateTime',
|
|
5369
|
+
userProvisioningId: 'UserProvisioningId',
|
|
5370
|
+
};
|
|
5371
|
+
}
|
|
5372
|
+
|
|
5373
|
+
static types(): { [key: string]: any } {
|
|
5374
|
+
return {
|
|
5375
|
+
createTime: 'string',
|
|
5376
|
+
deletionStrategy: 'string',
|
|
5377
|
+
description: 'string',
|
|
5378
|
+
directoryId: 'string',
|
|
5379
|
+
duplicationStrategy: 'string',
|
|
5380
|
+
ownerPk: 'string',
|
|
5381
|
+
principalId: 'string',
|
|
5382
|
+
principalName: 'string',
|
|
5383
|
+
principalType: 'string',
|
|
5384
|
+
status: 'string',
|
|
5385
|
+
targetId: 'string',
|
|
5386
|
+
targetName: 'string',
|
|
5387
|
+
targetPath: 'string',
|
|
5388
|
+
targetType: 'string',
|
|
5389
|
+
updateTime: 'string',
|
|
5390
|
+
userProvisioningId: 'string',
|
|
5391
|
+
};
|
|
5392
|
+
}
|
|
5393
|
+
|
|
5394
|
+
constructor(map?: { [key: string]: any }) {
|
|
5395
|
+
super(map);
|
|
5396
|
+
}
|
|
5397
|
+
}
|
|
5398
|
+
|
|
4936
5399
|
export class DeleteAccessAssignmentResponseBodyTask extends $tea.Model {
|
|
4937
5400
|
accessConfigurationId?: string;
|
|
4938
5401
|
accessConfigurationName?: string;
|
|
@@ -5468,6 +5931,70 @@ export class GetUserResponseBodyUser extends $tea.Model {
|
|
|
5468
5931
|
}
|
|
5469
5932
|
}
|
|
5470
5933
|
|
|
5934
|
+
export class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
|
|
5935
|
+
createTime?: string;
|
|
5936
|
+
deletionStrategy?: string;
|
|
5937
|
+
description?: string;
|
|
5938
|
+
directoryId?: string;
|
|
5939
|
+
duplicationStrategy?: string;
|
|
5940
|
+
ownerPk?: string;
|
|
5941
|
+
principalId?: string;
|
|
5942
|
+
principalName?: string;
|
|
5943
|
+
principalType?: string;
|
|
5944
|
+
status?: string;
|
|
5945
|
+
targetId?: string;
|
|
5946
|
+
targetName?: string;
|
|
5947
|
+
targetPath?: string;
|
|
5948
|
+
targetType?: string;
|
|
5949
|
+
updateTime?: string;
|
|
5950
|
+
userProvisioningId?: string;
|
|
5951
|
+
static names(): { [key: string]: string } {
|
|
5952
|
+
return {
|
|
5953
|
+
createTime: 'CreateTime',
|
|
5954
|
+
deletionStrategy: 'DeletionStrategy',
|
|
5955
|
+
description: 'Description',
|
|
5956
|
+
directoryId: 'DirectoryId',
|
|
5957
|
+
duplicationStrategy: 'DuplicationStrategy',
|
|
5958
|
+
ownerPk: 'OwnerPk',
|
|
5959
|
+
principalId: 'PrincipalId',
|
|
5960
|
+
principalName: 'PrincipalName',
|
|
5961
|
+
principalType: 'PrincipalType',
|
|
5962
|
+
status: 'Status',
|
|
5963
|
+
targetId: 'TargetId',
|
|
5964
|
+
targetName: 'TargetName',
|
|
5965
|
+
targetPath: 'TargetPath',
|
|
5966
|
+
targetType: 'TargetType',
|
|
5967
|
+
updateTime: 'UpdateTime',
|
|
5968
|
+
userProvisioningId: 'UserProvisioningId',
|
|
5969
|
+
};
|
|
5970
|
+
}
|
|
5971
|
+
|
|
5972
|
+
static types(): { [key: string]: any } {
|
|
5973
|
+
return {
|
|
5974
|
+
createTime: 'string',
|
|
5975
|
+
deletionStrategy: 'string',
|
|
5976
|
+
description: 'string',
|
|
5977
|
+
directoryId: 'string',
|
|
5978
|
+
duplicationStrategy: 'string',
|
|
5979
|
+
ownerPk: 'string',
|
|
5980
|
+
principalId: 'string',
|
|
5981
|
+
principalName: 'string',
|
|
5982
|
+
principalType: 'string',
|
|
5983
|
+
status: 'string',
|
|
5984
|
+
targetId: 'string',
|
|
5985
|
+
targetName: 'string',
|
|
5986
|
+
targetPath: 'string',
|
|
5987
|
+
targetType: 'string',
|
|
5988
|
+
updateTime: 'string',
|
|
5989
|
+
userProvisioningId: 'string',
|
|
5990
|
+
};
|
|
5991
|
+
}
|
|
5992
|
+
|
|
5993
|
+
constructor(map?: { [key: string]: any }) {
|
|
5994
|
+
super(map);
|
|
5995
|
+
}
|
|
5996
|
+
}
|
|
5997
|
+
|
|
5471
5998
|
export class ListAccessAssignmentsResponseBodyAccessAssignments extends $tea.Model {
|
|
5472
5999
|
accessConfigurationId?: string;
|
|
5473
6000
|
accessConfigurationName?: string;
|
|
@@ -5957,17 +6484,81 @@ export class ListTasksResponseBodyTasks extends $tea.Model {
|
|
|
5957
6484
|
}
|
|
5958
6485
|
}
|
|
5959
6486
|
|
|
5960
|
-
export class
|
|
6487
|
+
export class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Model {
|
|
5961
6488
|
createTime?: string;
|
|
6489
|
+
deletionStrategy?: string;
|
|
5962
6490
|
description?: string;
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
6491
|
+
directoryId?: string;
|
|
6492
|
+
duplicationStrategy?: string;
|
|
6493
|
+
ownerPk?: string;
|
|
6494
|
+
principalId?: string;
|
|
6495
|
+
principalName?: string;
|
|
6496
|
+
principalType?: string;
|
|
5968
6497
|
status?: string;
|
|
5969
|
-
|
|
5970
|
-
|
|
6498
|
+
targetId?: string;
|
|
6499
|
+
targetName?: string;
|
|
6500
|
+
targetPath?: string;
|
|
6501
|
+
targetType?: string;
|
|
6502
|
+
updateTime?: string;
|
|
6503
|
+
userProvisioningId?: string;
|
|
6504
|
+
static names(): { [key: string]: string } {
|
|
6505
|
+
return {
|
|
6506
|
+
createTime: 'CreateTime',
|
|
6507
|
+
deletionStrategy: 'DeletionStrategy',
|
|
6508
|
+
description: 'Description',
|
|
6509
|
+
directoryId: 'DirectoryId',
|
|
6510
|
+
duplicationStrategy: 'DuplicationStrategy',
|
|
6511
|
+
ownerPk: 'OwnerPk',
|
|
6512
|
+
principalId: 'PrincipalId',
|
|
6513
|
+
principalName: 'PrincipalName',
|
|
6514
|
+
principalType: 'PrincipalType',
|
|
6515
|
+
status: 'Status',
|
|
6516
|
+
targetId: 'TargetId',
|
|
6517
|
+
targetName: 'TargetName',
|
|
6518
|
+
targetPath: 'TargetPath',
|
|
6519
|
+
targetType: 'TargetType',
|
|
6520
|
+
updateTime: 'UpdateTime',
|
|
6521
|
+
userProvisioningId: 'UserProvisioningId',
|
|
6522
|
+
};
|
|
6523
|
+
}
|
|
6524
|
+
|
|
6525
|
+
static types(): { [key: string]: any } {
|
|
6526
|
+
return {
|
|
6527
|
+
createTime: 'string',
|
|
6528
|
+
deletionStrategy: 'string',
|
|
6529
|
+
description: 'string',
|
|
6530
|
+
directoryId: 'string',
|
|
6531
|
+
duplicationStrategy: 'string',
|
|
6532
|
+
ownerPk: 'string',
|
|
6533
|
+
principalId: 'string',
|
|
6534
|
+
principalName: 'string',
|
|
6535
|
+
principalType: 'string',
|
|
6536
|
+
status: 'string',
|
|
6537
|
+
targetId: 'string',
|
|
6538
|
+
targetName: 'string',
|
|
6539
|
+
targetPath: 'string',
|
|
6540
|
+
targetType: 'string',
|
|
6541
|
+
updateTime: 'string',
|
|
6542
|
+
userProvisioningId: 'string',
|
|
6543
|
+
};
|
|
6544
|
+
}
|
|
6545
|
+
|
|
6546
|
+
constructor(map?: { [key: string]: any }) {
|
|
6547
|
+
super(map);
|
|
6548
|
+
}
|
|
6549
|
+
}
|
|
6550
|
+
|
|
6551
|
+
export class ListUsersResponseBodyUsers extends $tea.Model {
|
|
6552
|
+
createTime?: string;
|
|
6553
|
+
description?: string;
|
|
6554
|
+
displayName?: string;
|
|
6555
|
+
email?: string;
|
|
6556
|
+
firstName?: string;
|
|
6557
|
+
lastName?: string;
|
|
6558
|
+
provisionType?: string;
|
|
6559
|
+
status?: string;
|
|
6560
|
+
updateTime?: string;
|
|
6561
|
+
userId?: string;
|
|
5971
6562
|
userName?: string;
|
|
5972
6563
|
static names(): { [key: string]: string } {
|
|
5973
6564
|
return {
|
|
@@ -6283,6 +6874,70 @@ export class UpdateUserResponseBodyUser extends $tea.Model {
|
|
|
6283
6874
|
}
|
|
6284
6875
|
}
|
|
6285
6876
|
|
|
6877
|
+
export class UpdateUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
|
|
6878
|
+
createTime?: string;
|
|
6879
|
+
deletionStrategy?: string;
|
|
6880
|
+
description?: string;
|
|
6881
|
+
directoryId?: string;
|
|
6882
|
+
duplicationStrategy?: string;
|
|
6883
|
+
ownerPk?: string;
|
|
6884
|
+
principalId?: string;
|
|
6885
|
+
principalName?: string;
|
|
6886
|
+
principalType?: string;
|
|
6887
|
+
status?: string;
|
|
6888
|
+
targetId?: string;
|
|
6889
|
+
targetName?: string;
|
|
6890
|
+
targetPath?: string;
|
|
6891
|
+
targetType?: string;
|
|
6892
|
+
updateTime?: string;
|
|
6893
|
+
userProvisioningId?: string;
|
|
6894
|
+
static names(): { [key: string]: string } {
|
|
6895
|
+
return {
|
|
6896
|
+
createTime: 'CreateTime',
|
|
6897
|
+
deletionStrategy: 'DeletionStrategy',
|
|
6898
|
+
description: 'Description',
|
|
6899
|
+
directoryId: 'DirectoryId',
|
|
6900
|
+
duplicationStrategy: 'DuplicationStrategy',
|
|
6901
|
+
ownerPk: 'OwnerPk',
|
|
6902
|
+
principalId: 'PrincipalId',
|
|
6903
|
+
principalName: 'PrincipalName',
|
|
6904
|
+
principalType: 'PrincipalType',
|
|
6905
|
+
status: 'Status',
|
|
6906
|
+
targetId: 'TargetId',
|
|
6907
|
+
targetName: 'TargetName',
|
|
6908
|
+
targetPath: 'TargetPath',
|
|
6909
|
+
targetType: 'TargetType',
|
|
6910
|
+
updateTime: 'UpdateTime',
|
|
6911
|
+
userProvisioningId: 'UserProvisioningId',
|
|
6912
|
+
};
|
|
6913
|
+
}
|
|
6914
|
+
|
|
6915
|
+
static types(): { [key: string]: any } {
|
|
6916
|
+
return {
|
|
6917
|
+
createTime: 'string',
|
|
6918
|
+
deletionStrategy: 'string',
|
|
6919
|
+
description: 'string',
|
|
6920
|
+
directoryId: 'string',
|
|
6921
|
+
duplicationStrategy: 'string',
|
|
6922
|
+
ownerPk: 'string',
|
|
6923
|
+
principalId: 'string',
|
|
6924
|
+
principalName: 'string',
|
|
6925
|
+
principalType: 'string',
|
|
6926
|
+
status: 'string',
|
|
6927
|
+
targetId: 'string',
|
|
6928
|
+
targetName: 'string',
|
|
6929
|
+
targetPath: 'string',
|
|
6930
|
+
targetType: 'string',
|
|
6931
|
+
updateTime: 'string',
|
|
6932
|
+
userProvisioningId: 'string',
|
|
6933
|
+
};
|
|
6934
|
+
}
|
|
6935
|
+
|
|
6936
|
+
constructor(map?: { [key: string]: any }) {
|
|
6937
|
+
super(map);
|
|
6938
|
+
}
|
|
6939
|
+
}
|
|
6940
|
+
|
|
6286
6941
|
|
|
6287
6942
|
export default class Client extends OpenApi {
|
|
6288
6943
|
|
|
@@ -6309,8 +6964,6 @@ export default class Client extends OpenApi {
|
|
|
6309
6964
|
/**
|
|
6310
6965
|
* You can add up to two SAML signing certificates.
|
|
6311
6966
|
* This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
|
|
6312
|
-
* ## Limits
|
|
6313
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6314
6967
|
*
|
|
6315
6968
|
* @param request AddExternalSAMLIdPCertificateRequest
|
|
6316
6969
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6347,8 +7000,6 @@ export default class Client extends OpenApi {
|
|
|
6347
7000
|
/**
|
|
6348
7001
|
* You can add up to two SAML signing certificates.
|
|
6349
7002
|
* This topic provides an example on how to add a SAML signing certificate to the directory `d-00fc2p61****`.
|
|
6350
|
-
* ## Limits
|
|
6351
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6352
7003
|
*
|
|
6353
7004
|
* @param request AddExternalSAMLIdPCertificateRequest
|
|
6354
7005
|
* @return AddExternalSAMLIdPCertificateResponse
|
|
@@ -6360,8 +7011,6 @@ export default class Client extends OpenApi {
|
|
|
6360
7011
|
|
|
6361
7012
|
/**
|
|
6362
7013
|
* This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
|
|
6363
|
-
* ## Limits
|
|
6364
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6365
7014
|
*
|
|
6366
7015
|
* @param request AddPermissionPolicyToAccessConfigurationRequest
|
|
6367
7016
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6409,8 +7058,6 @@ export default class Client extends OpenApi {
|
|
|
6409
7058
|
|
|
6410
7059
|
/**
|
|
6411
7060
|
* This topic provides an example on how to add the system policy `AliyunECSFullAccess` to the access configuration `ac-00jhtfl8thteu6uj****`.
|
|
6412
|
-
* ## Limits
|
|
6413
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6414
7061
|
*
|
|
6415
7062
|
* @param request AddPermissionPolicyToAccessConfigurationRequest
|
|
6416
7063
|
* @return AddPermissionPolicyToAccessConfigurationResponse
|
|
@@ -6423,8 +7070,6 @@ export default class Client extends OpenApi {
|
|
|
6423
7070
|
/**
|
|
6424
7071
|
* If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot add a user to a group that is synchronized by using SCIM.
|
|
6425
7072
|
* This topic provides an example of how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
|
|
6426
|
-
* ## Limits
|
|
6427
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6428
7073
|
*
|
|
6429
7074
|
* @param request AddUserToGroupRequest
|
|
6430
7075
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6465,8 +7110,6 @@ export default class Client extends OpenApi {
|
|
|
6465
7110
|
/**
|
|
6466
7111
|
* If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot add a user to a group that is synchronized by using SCIM.
|
|
6467
7112
|
* This topic provides an example of how to add the user `u-00q8wbq42wiltcrk****` to the group `g-00jqzghi2n3o5hkh****`.
|
|
6468
|
-
* ## Limits
|
|
6469
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6470
7113
|
*
|
|
6471
7114
|
* @param request AddUserToGroupRequest
|
|
6472
7115
|
* @return AddUserToGroupResponse
|
|
@@ -6479,8 +7122,6 @@ export default class Client extends OpenApi {
|
|
|
6479
7122
|
/**
|
|
6480
7123
|
* If single sign-on (SSO) logon is disabled, you can clear the configurations of a SAML IdP. If SSO logon is enabled, you cannot clear the configurations.
|
|
6481
7124
|
* This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
|
|
6482
|
-
* ## Limits
|
|
6483
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6484
7125
|
*
|
|
6485
7126
|
* @param request ClearExternalSAMLIdentityProviderRequest
|
|
6486
7127
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6513,8 +7154,6 @@ export default class Client extends OpenApi {
|
|
|
6513
7154
|
/**
|
|
6514
7155
|
* If single sign-on (SSO) logon is disabled, you can clear the configurations of a SAML IdP. If SSO logon is enabled, you cannot clear the configurations.
|
|
6515
7156
|
* This topic provides an example on how to clear the configurations of the SAML IdP within the directory `d-00fc2p61****`.
|
|
6516
|
-
* ## Limits
|
|
6517
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6518
7157
|
*
|
|
6519
7158
|
* @param request ClearExternalSAMLIdentityProviderRequest
|
|
6520
7159
|
* @return ClearExternalSAMLIdentityProviderResponse
|
|
@@ -6528,8 +7167,6 @@ export default class Client extends OpenApi {
|
|
|
6528
7167
|
* When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of task execution by using the value of the `TaskId` response parameter.
|
|
6529
7168
|
* For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
|
|
6530
7169
|
* This topic provides an example on how to assign access permissions on the account `114240524784****` in your resource directory to the CloudSSO user `u-00q8wbq42wiltcrk****` by using the access configuration `ac-00jhtfl8thteu6uj****`. After the call is successful, the CloudSSO user can access resources within the account in the resource directory.
|
|
6531
|
-
* ## Limits
|
|
6532
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6533
7170
|
*
|
|
6534
7171
|
* @param request CreateAccessAssignmentRequest
|
|
6535
7172
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6583,8 +7220,6 @@ export default class Client extends OpenApi {
|
|
|
6583
7220
|
* When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of task execution by using the value of the `TaskId` response parameter.
|
|
6584
7221
|
* For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
|
|
6585
7222
|
* This topic provides an example on how to assign access permissions on the account `114240524784****` in your resource directory to the CloudSSO user `u-00q8wbq42wiltcrk****` by using the access configuration `ac-00jhtfl8thteu6uj****`. After the call is successful, the CloudSSO user can access resources within the account in the resource directory.
|
|
6586
|
-
* ## Limits
|
|
6587
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6588
7223
|
*
|
|
6589
7224
|
* @param request CreateAccessAssignmentRequest
|
|
6590
7225
|
* @return CreateAccessAssignmentResponse
|
|
@@ -6597,8 +7232,6 @@ export default class Client extends OpenApi {
|
|
|
6597
7232
|
/**
|
|
6598
7233
|
* For more information about access configurations, see [Overview of access configurations](~~266737~~).
|
|
6599
7234
|
* This topic provides an example on how to create an access configuration named `ECS-Admin`.
|
|
6600
|
-
* ## Limits
|
|
6601
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6602
7235
|
*
|
|
6603
7236
|
* @param request CreateAccessConfigurationRequest
|
|
6604
7237
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6647,8 +7280,6 @@ export default class Client extends OpenApi {
|
|
|
6647
7280
|
/**
|
|
6648
7281
|
* For more information about access configurations, see [Overview of access configurations](~~266737~~).
|
|
6649
7282
|
* This topic provides an example on how to create an access configuration named `ECS-Admin`.
|
|
6650
|
-
* ## Limits
|
|
6651
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6652
7283
|
*
|
|
6653
7284
|
* @param request CreateAccessConfigurationRequest
|
|
6654
7285
|
* @return CreateAccessConfigurationResponse
|
|
@@ -6665,8 +7296,6 @@ export default class Client extends OpenApi {
|
|
|
6665
7296
|
* ## Limits
|
|
6666
7297
|
* - You can create only one directory for a management account.
|
|
6667
7298
|
* - If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
|
|
6668
|
-
* ## Limits
|
|
6669
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6670
7299
|
*
|
|
6671
7300
|
* @param request CreateDirectoryRequest
|
|
6672
7301
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6703,8 +7332,6 @@ export default class Client extends OpenApi {
|
|
|
6703
7332
|
* ## Limits
|
|
6704
7333
|
* - You can create only one directory for a management account.
|
|
6705
7334
|
* - If you want to change the region of a directory, you must delete the directory and then create a directory in a different region.
|
|
6706
|
-
* ## Limits
|
|
6707
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6708
7335
|
*
|
|
6709
7336
|
* @param request CreateDirectoryRequest
|
|
6710
7337
|
* @return CreateDirectoryResponse
|
|
@@ -6716,8 +7343,6 @@ export default class Client extends OpenApi {
|
|
|
6716
7343
|
|
|
6717
7344
|
/**
|
|
6718
7345
|
* This topic provides an example on how to create a group named `TestGroup`.
|
|
6719
|
-
* ## Limits
|
|
6720
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6721
7346
|
*
|
|
6722
7347
|
* @param request CreateGroupRequest
|
|
6723
7348
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6757,8 +7382,6 @@ export default class Client extends OpenApi {
|
|
|
6757
7382
|
|
|
6758
7383
|
/**
|
|
6759
7384
|
* This topic provides an example on how to create a group named `TestGroup`.
|
|
6760
|
-
* ## Limits
|
|
6761
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6762
7385
|
*
|
|
6763
7386
|
* @param request CreateGroupRequest
|
|
6764
7387
|
* @return CreateGroupResponse
|
|
@@ -6771,8 +7394,6 @@ export default class Client extends OpenApi {
|
|
|
6771
7394
|
/**
|
|
6772
7395
|
* SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
|
|
6773
7396
|
* This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
|
|
6774
|
-
* ## Limits
|
|
6775
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6776
7397
|
*
|
|
6777
7398
|
* @param request CreateSCIMServerCredentialRequest
|
|
6778
7399
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6805,8 +7426,6 @@ export default class Client extends OpenApi {
|
|
|
6805
7426
|
/**
|
|
6806
7427
|
* SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
|
|
6807
7428
|
* This topic provides an example on how to create a SCIM credential within the directory `d-00fc2p61****`.
|
|
6808
|
-
* ## Limits
|
|
6809
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6810
7429
|
*
|
|
6811
7430
|
* @param request CreateSCIMServerCredentialRequest
|
|
6812
7431
|
* @return CreateSCIMServerCredentialResponse
|
|
@@ -6817,9 +7436,7 @@ export default class Client extends OpenApi {
|
|
|
6817
7436
|
}
|
|
6818
7437
|
|
|
6819
7438
|
/**
|
|
6820
|
-
* This topic provides an example on how to create a user named `Alice`.
|
|
6821
|
-
* ## Limits
|
|
6822
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7439
|
+
* This topic provides an example on how to create a user named `Alice`.
|
|
6823
7440
|
*
|
|
6824
7441
|
* @param request CreateUserRequest
|
|
6825
7442
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6878,9 +7495,7 @@ export default class Client extends OpenApi {
|
|
|
6878
7495
|
}
|
|
6879
7496
|
|
|
6880
7497
|
/**
|
|
6881
|
-
* This topic provides an example on how to create a user named `Alice`.
|
|
6882
|
-
* ## Limits
|
|
6883
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7498
|
+
* This topic provides an example on how to create a user named `Alice`.
|
|
6884
7499
|
*
|
|
6885
7500
|
* @param request CreateUserRequest
|
|
6886
7501
|
* @return CreateUserResponse
|
|
@@ -6890,11 +7505,66 @@ export default class Client extends OpenApi {
|
|
|
6890
7505
|
return await this.createUserWithOptions(request, runtime);
|
|
6891
7506
|
}
|
|
6892
7507
|
|
|
7508
|
+
async createUserProvisioningWithOptions(request: CreateUserProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<CreateUserProvisioningResponse> {
|
|
7509
|
+
Util.validateModel(request);
|
|
7510
|
+
let query = { };
|
|
7511
|
+
if (!Util.isUnset(request.deletionStrategy)) {
|
|
7512
|
+
query["DeletionStrategy"] = request.deletionStrategy;
|
|
7513
|
+
}
|
|
7514
|
+
|
|
7515
|
+
if (!Util.isUnset(request.description)) {
|
|
7516
|
+
query["Description"] = request.description;
|
|
7517
|
+
}
|
|
7518
|
+
|
|
7519
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7520
|
+
query["DirectoryId"] = request.directoryId;
|
|
7521
|
+
}
|
|
7522
|
+
|
|
7523
|
+
if (!Util.isUnset(request.duplicationStrategy)) {
|
|
7524
|
+
query["DuplicationStrategy"] = request.duplicationStrategy;
|
|
7525
|
+
}
|
|
7526
|
+
|
|
7527
|
+
if (!Util.isUnset(request.principalId)) {
|
|
7528
|
+
query["PrincipalId"] = request.principalId;
|
|
7529
|
+
}
|
|
7530
|
+
|
|
7531
|
+
if (!Util.isUnset(request.principalType)) {
|
|
7532
|
+
query["PrincipalType"] = request.principalType;
|
|
7533
|
+
}
|
|
7534
|
+
|
|
7535
|
+
if (!Util.isUnset(request.targetId)) {
|
|
7536
|
+
query["TargetId"] = request.targetId;
|
|
7537
|
+
}
|
|
7538
|
+
|
|
7539
|
+
if (!Util.isUnset(request.targetType)) {
|
|
7540
|
+
query["TargetType"] = request.targetType;
|
|
7541
|
+
}
|
|
7542
|
+
|
|
7543
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7544
|
+
query: OpenApiUtil.query(query),
|
|
7545
|
+
});
|
|
7546
|
+
let params = new $OpenApi.Params({
|
|
7547
|
+
action: "CreateUserProvisioning",
|
|
7548
|
+
version: "2021-05-15",
|
|
7549
|
+
protocol: "HTTPS",
|
|
7550
|
+
pathname: "/",
|
|
7551
|
+
method: "POST",
|
|
7552
|
+
authType: "AK",
|
|
7553
|
+
style: "RPC",
|
|
7554
|
+
reqBodyType: "formData",
|
|
7555
|
+
bodyType: "json",
|
|
7556
|
+
});
|
|
7557
|
+
return $tea.cast<CreateUserProvisioningResponse>(await this.callApi(params, req, runtime), new CreateUserProvisioningResponse({}));
|
|
7558
|
+
}
|
|
7559
|
+
|
|
7560
|
+
async createUserProvisioning(request: CreateUserProvisioningRequest): Promise<CreateUserProvisioningResponse> {
|
|
7561
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7562
|
+
return await this.createUserProvisioningWithOptions(request, runtime);
|
|
7563
|
+
}
|
|
7564
|
+
|
|
6893
7565
|
/**
|
|
6894
7566
|
* When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
|
|
6895
7567
|
* This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
|
|
6896
|
-
* ## Limits
|
|
6897
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6898
7568
|
*
|
|
6899
7569
|
* @param request DeleteAccessAssignmentRequest
|
|
6900
7570
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -6951,8 +7621,6 @@ export default class Client extends OpenApi {
|
|
|
6951
7621
|
/**
|
|
6952
7622
|
* When you call this operation, an asynchronous task is created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
|
|
6953
7623
|
* This topic provides an example on how to remove the access permissions on the account `114240524784****` in the resource directory from the CloudSSO user `u-00q8wbq42wiltcrk****`. The access permissions are assigned by using the access configuration `ac-00jhtfl8thteu6uj****`.
|
|
6954
|
-
* ## Limits
|
|
6955
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6956
7624
|
*
|
|
6957
7625
|
* @param request DeleteAccessAssignmentRequest
|
|
6958
7626
|
* @return DeleteAccessAssignmentResponse
|
|
@@ -6966,8 +7634,6 @@ export default class Client extends OpenApi {
|
|
|
6966
7634
|
* This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
|
|
6967
7635
|
* ## Prerequisites
|
|
6968
7636
|
* The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](~~338352~~).
|
|
6969
|
-
* ## Limits
|
|
6970
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
6971
7637
|
*
|
|
6972
7638
|
* @param request DeleteAccessConfigurationRequest
|
|
6973
7639
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7009,8 +7675,6 @@ export default class Client extends OpenApi {
|
|
|
7009
7675
|
* This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
|
|
7010
7676
|
* ## Prerequisites
|
|
7011
7677
|
* The access configuration that you want to delete is de-provisioned from the accounts in your resource directory. For more information, see [DeprovisionAccessConfiguration](~~338352~~).
|
|
7012
|
-
* ## Limits
|
|
7013
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7014
7678
|
*
|
|
7015
7679
|
* @param request DeleteAccessConfigurationRequest
|
|
7016
7680
|
* @return DeleteAccessConfigurationResponse
|
|
@@ -7030,8 +7694,6 @@ export default class Client extends OpenApi {
|
|
|
7030
7694
|
* * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](~~336907~~).
|
|
7031
7695
|
* * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](~~341842~~).
|
|
7032
7696
|
* * SSO logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](~~341573~~).
|
|
7033
|
-
* ## Limits
|
|
7034
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7035
7697
|
*
|
|
7036
7698
|
* @param request DeleteDirectoryRequest
|
|
7037
7699
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7071,8 +7733,6 @@ export default class Client extends OpenApi {
|
|
|
7071
7733
|
* * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](~~336907~~).
|
|
7072
7734
|
* * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](~~341842~~).
|
|
7073
7735
|
* * SSO logon configurations are deleted. For more information, see [ClearExternalSAMLIdentityProvider](~~341573~~).
|
|
7074
|
-
* ## Limits
|
|
7075
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7076
7736
|
*
|
|
7077
7737
|
* @param request DeleteDirectoryRequest
|
|
7078
7738
|
* @return DeleteDirectoryResponse
|
|
@@ -7088,8 +7748,6 @@ export default class Client extends OpenApi {
|
|
|
7088
7748
|
* The group that you want to delete is not associated with the following resources. If the group is associated with the resources, the deletion fails.
|
|
7089
7749
|
* * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](~~335116~~).
|
|
7090
7750
|
* * Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](~~338350~~).
|
|
7091
|
-
* ## Limits
|
|
7092
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7093
7751
|
*
|
|
7094
7752
|
* @param request DeleteGroupRequest
|
|
7095
7753
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7129,8 +7787,6 @@ export default class Client extends OpenApi {
|
|
|
7129
7787
|
* The group that you want to delete is not associated with the following resources. If the group is associated with the resources, the deletion fails.
|
|
7130
7788
|
* * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](~~335116~~).
|
|
7131
7789
|
* * Access permissions: You must remove the access permissions on the accounts in your resource directory from the group. For more information, see [DeleteAccessAssignment](~~338350~~).
|
|
7132
|
-
* ## Limits
|
|
7133
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7134
7790
|
*
|
|
7135
7791
|
* @param request DeleteGroupRequest
|
|
7136
7792
|
* @return DeleteGroupResponse
|
|
@@ -7142,8 +7798,6 @@ export default class Client extends OpenApi {
|
|
|
7142
7798
|
|
|
7143
7799
|
/**
|
|
7144
7800
|
* This topic provides an example on how to unbind the MFA device `mfa-00ujhet8pycljj7j****` from the user `u-00q8wbq42wiltcrk****`.
|
|
7145
|
-
* ## Limits
|
|
7146
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7147
7801
|
*
|
|
7148
7802
|
* @param request DeleteMFADeviceForUserRequest
|
|
7149
7803
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7183,8 +7837,6 @@ export default class Client extends OpenApi {
|
|
|
7183
7837
|
|
|
7184
7838
|
/**
|
|
7185
7839
|
* This topic provides an example on how to unbind the MFA device `mfa-00ujhet8pycljj7j****` from the user `u-00q8wbq42wiltcrk****`.
|
|
7186
|
-
* ## Limits
|
|
7187
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7188
7840
|
*
|
|
7189
7841
|
* @param request DeleteMFADeviceForUserRequest
|
|
7190
7842
|
* @return DeleteMFADeviceForUserResponse
|
|
@@ -7197,8 +7849,6 @@ export default class Client extends OpenApi {
|
|
|
7197
7849
|
/**
|
|
7198
7850
|
* After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
|
|
7199
7851
|
* This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
|
|
7200
|
-
* ## Limits
|
|
7201
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7202
7852
|
*
|
|
7203
7853
|
* @param request DeleteSCIMServerCredentialRequest
|
|
7204
7854
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7235,8 +7885,6 @@ export default class Client extends OpenApi {
|
|
|
7235
7885
|
/**
|
|
7236
7886
|
* After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
|
|
7237
7887
|
* This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
|
|
7238
|
-
* ## Limits
|
|
7239
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7240
7888
|
*
|
|
7241
7889
|
* @param request DeleteSCIMServerCredentialRequest
|
|
7242
7890
|
* @return DeleteSCIMServerCredentialResponse
|
|
@@ -7253,8 +7901,6 @@ export default class Client extends OpenApi {
|
|
|
7253
7901
|
* * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
|
|
7254
7902
|
* * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
|
|
7255
7903
|
* * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
|
|
7256
|
-
* ## Limits
|
|
7257
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7258
7904
|
*
|
|
7259
7905
|
* @param request DeleteUserRequest
|
|
7260
7906
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7295,8 +7941,6 @@ export default class Client extends OpenApi {
|
|
|
7295
7941
|
* * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
|
|
7296
7942
|
* * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
|
|
7297
7943
|
* * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
|
|
7298
|
-
* ## Limits
|
|
7299
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7300
7944
|
*
|
|
7301
7945
|
* @param request DeleteUserRequest
|
|
7302
7946
|
* @return DeleteUserResponse
|
|
@@ -7306,11 +7950,46 @@ export default class Client extends OpenApi {
|
|
|
7306
7950
|
return await this.deleteUserWithOptions(request, runtime);
|
|
7307
7951
|
}
|
|
7308
7952
|
|
|
7953
|
+
async deleteUserProvisioningWithOptions(request: DeleteUserProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<DeleteUserProvisioningResponse> {
|
|
7954
|
+
Util.validateModel(request);
|
|
7955
|
+
let query = { };
|
|
7956
|
+
if (!Util.isUnset(request.deletionStrategy)) {
|
|
7957
|
+
query["DeletionStrategy"] = request.deletionStrategy;
|
|
7958
|
+
}
|
|
7959
|
+
|
|
7960
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
7961
|
+
query["DirectoryId"] = request.directoryId;
|
|
7962
|
+
}
|
|
7963
|
+
|
|
7964
|
+
if (!Util.isUnset(request.userProvisioningId)) {
|
|
7965
|
+
query["UserProvisioningId"] = request.userProvisioningId;
|
|
7966
|
+
}
|
|
7967
|
+
|
|
7968
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
7969
|
+
query: OpenApiUtil.query(query),
|
|
7970
|
+
});
|
|
7971
|
+
let params = new $OpenApi.Params({
|
|
7972
|
+
action: "DeleteUserProvisioning",
|
|
7973
|
+
version: "2021-05-15",
|
|
7974
|
+
protocol: "HTTPS",
|
|
7975
|
+
pathname: "/",
|
|
7976
|
+
method: "POST",
|
|
7977
|
+
authType: "AK",
|
|
7978
|
+
style: "RPC",
|
|
7979
|
+
reqBodyType: "formData",
|
|
7980
|
+
bodyType: "json",
|
|
7981
|
+
});
|
|
7982
|
+
return $tea.cast<DeleteUserProvisioningResponse>(await this.callApi(params, req, runtime), new DeleteUserProvisioningResponse({}));
|
|
7983
|
+
}
|
|
7984
|
+
|
|
7985
|
+
async deleteUserProvisioning(request: DeleteUserProvisioningRequest): Promise<DeleteUserProvisioningResponse> {
|
|
7986
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
7987
|
+
return await this.deleteUserProvisioningWithOptions(request, runtime);
|
|
7988
|
+
}
|
|
7989
|
+
|
|
7309
7990
|
/**
|
|
7310
7991
|
* When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
|
|
7311
7992
|
* This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
|
|
7312
|
-
* ## Limits
|
|
7313
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7314
7993
|
*
|
|
7315
7994
|
* @param request DeprovisionAccessConfigurationRequest
|
|
7316
7995
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7355,8 +8034,6 @@ export default class Client extends OpenApi {
|
|
|
7355
8034
|
/**
|
|
7356
8035
|
* When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
|
|
7357
8036
|
* This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
|
|
7358
|
-
* ## Limits
|
|
7359
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7360
8037
|
*
|
|
7361
8038
|
* @param request DeprovisionAccessConfigurationRequest
|
|
7362
8039
|
* @return DeprovisionAccessConfigurationResponse
|
|
@@ -7368,8 +8045,6 @@ export default class Client extends OpenApi {
|
|
|
7368
8045
|
|
|
7369
8046
|
/**
|
|
7370
8047
|
* If your CloudSSO has no directory, you can disable CloudSSO based on your business requirements. After you disable CloudSSO, you can enable it at any time.
|
|
7371
|
-
* ## Limits
|
|
7372
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7373
8048
|
*
|
|
7374
8049
|
* @param request DisableServiceRequest
|
|
7375
8050
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7393,8 +8068,6 @@ export default class Client extends OpenApi {
|
|
|
7393
8068
|
|
|
7394
8069
|
/**
|
|
7395
8070
|
* If your CloudSSO has no directory, you can disable CloudSSO based on your business requirements. After you disable CloudSSO, you can enable it at any time.
|
|
7396
|
-
* ## Limits
|
|
7397
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7398
8071
|
*
|
|
7399
8072
|
* @return DisableServiceResponse
|
|
7400
8073
|
*/
|
|
@@ -7406,8 +8079,6 @@ export default class Client extends OpenApi {
|
|
|
7406
8079
|
/**
|
|
7407
8080
|
* You can call this operation only if your account belongs to the management account that is used to enable a resource directory and has permissions to enable CloudSSO. For more information, see [Enable CloudSSO](~~262819~~).
|
|
7408
8081
|
* If you call this operation, you agree to the [Alibaba Cloud International Website Product Terms of Service](https://www.alibabacloud.com/help/doc-detail/42416.htm).
|
|
7409
|
-
* ## Limits
|
|
7410
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7411
8082
|
*
|
|
7412
8083
|
* @param request EnableServiceRequest
|
|
7413
8084
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7432,8 +8103,6 @@ export default class Client extends OpenApi {
|
|
|
7432
8103
|
/**
|
|
7433
8104
|
* You can call this operation only if your account belongs to the management account that is used to enable a resource directory and has permissions to enable CloudSSO. For more information, see [Enable CloudSSO](~~262819~~).
|
|
7434
8105
|
* If you call this operation, you agree to the [Alibaba Cloud International Website Product Terms of Service](https://www.alibabacloud.com/help/doc-detail/42416.htm).
|
|
7435
|
-
* ## Limits
|
|
7436
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7437
8106
|
*
|
|
7438
8107
|
* @return EnableServiceResponse
|
|
7439
8108
|
*/
|
|
@@ -7443,7 +8112,6 @@ export default class Client extends OpenApi {
|
|
|
7443
8112
|
}
|
|
7444
8113
|
|
|
7445
8114
|
/**
|
|
7446
|
-
* ## Usage notes
|
|
7447
8115
|
* This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
|
|
7448
8116
|
*
|
|
7449
8117
|
* @param request GetAccessConfigurationRequest
|
|
@@ -7479,7 +8147,6 @@ export default class Client extends OpenApi {
|
|
|
7479
8147
|
}
|
|
7480
8148
|
|
|
7481
8149
|
/**
|
|
7482
|
-
* ## Usage notes
|
|
7483
8150
|
* This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
|
|
7484
8151
|
*
|
|
7485
8152
|
* @param request GetAccessConfigurationRequest
|
|
@@ -7491,9 +8158,7 @@ export default class Client extends OpenApi {
|
|
|
7491
8158
|
}
|
|
7492
8159
|
|
|
7493
8160
|
/**
|
|
7494
|
-
* This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
|
|
7495
|
-
* ## Limits
|
|
7496
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8161
|
+
* This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
|
|
7497
8162
|
*
|
|
7498
8163
|
* @param request GetDirectoryRequest
|
|
7499
8164
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7524,9 +8189,7 @@ export default class Client extends OpenApi {
|
|
|
7524
8189
|
}
|
|
7525
8190
|
|
|
7526
8191
|
/**
|
|
7527
|
-
* This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
|
|
7528
|
-
* ## Limits
|
|
7529
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8192
|
+
* This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
|
|
7530
8193
|
*
|
|
7531
8194
|
* @param request GetDirectoryRequest
|
|
7532
8195
|
* @return GetDirectoryResponse
|
|
@@ -7539,8 +8202,6 @@ export default class Client extends OpenApi {
|
|
|
7539
8202
|
/**
|
|
7540
8203
|
* During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an identity provider (IdP).
|
|
7541
8204
|
* This topic provides an example on how to query the information about the SP within the directory `d-00fc2p61****`.
|
|
7542
|
-
* ## Limits
|
|
7543
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7544
8205
|
*
|
|
7545
8206
|
* @param request GetDirectorySAMLServiceProviderInfoRequest
|
|
7546
8207
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7573,8 +8234,6 @@ export default class Client extends OpenApi {
|
|
|
7573
8234
|
/**
|
|
7574
8235
|
* During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an identity provider (IdP).
|
|
7575
8236
|
* This topic provides an example on how to query the information about the SP within the directory `d-00fc2p61****`.
|
|
7576
|
-
* ## Limits
|
|
7577
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7578
8237
|
*
|
|
7579
8238
|
* @param request GetDirectorySAMLServiceProviderInfoRequest
|
|
7580
8239
|
* @return GetDirectorySAMLServiceProviderInfoResponse
|
|
@@ -7585,8 +8244,9 @@ export default class Client extends OpenApi {
|
|
|
7585
8244
|
}
|
|
7586
8245
|
|
|
7587
8246
|
/**
|
|
7588
|
-
*
|
|
7589
|
-
*
|
|
8247
|
+
* ### [](#)
|
|
8248
|
+
* This topic provides an example on how to query the statistics of a directory whose ID is `d-00fc2p61****`. The statistics include the number of users, quota for users, number of groups, quota for groups, number of access configurations, quota for access configurations, quota for system policies that can be configured for an access configuration, number of access permissions that are assigned, number of System for Cross-domain Identity Management (SCIM) credentials, number of asynchronous tasks, status of single sign-on (SSO), and status of SCIM synchronization.
|
|
8249
|
+
* ### [](#qps)Limit
|
|
7590
8250
|
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7591
8251
|
*
|
|
7592
8252
|
* @param request GetDirectoryStatisticsRequest
|
|
@@ -7618,8 +8278,9 @@ export default class Client extends OpenApi {
|
|
|
7618
8278
|
}
|
|
7619
8279
|
|
|
7620
8280
|
/**
|
|
7621
|
-
*
|
|
7622
|
-
*
|
|
8281
|
+
* ### [](#)
|
|
8282
|
+
* This topic provides an example on how to query the statistics of a directory whose ID is `d-00fc2p61****`. The statistics include the number of users, quota for users, number of groups, quota for groups, number of access configurations, quota for access configurations, quota for system policies that can be configured for an access configuration, number of access permissions that are assigned, number of System for Cross-domain Identity Management (SCIM) credentials, number of asynchronous tasks, status of single sign-on (SSO), and status of SCIM synchronization.
|
|
8283
|
+
* ### [](#qps)Limit
|
|
7623
8284
|
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7624
8285
|
*
|
|
7625
8286
|
* @param request GetDirectoryStatisticsRequest
|
|
@@ -7632,8 +8293,6 @@ export default class Client extends OpenApi {
|
|
|
7632
8293
|
|
|
7633
8294
|
/**
|
|
7634
8295
|
* This topic provides an example on how to query the configurations of the SAML IdP within the directory `d-00fc2p61****`.
|
|
7635
|
-
* ## Limits
|
|
7636
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7637
8296
|
*
|
|
7638
8297
|
* @param request GetExternalSAMLIdentityProviderRequest
|
|
7639
8298
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7665,8 +8324,6 @@ export default class Client extends OpenApi {
|
|
|
7665
8324
|
|
|
7666
8325
|
/**
|
|
7667
8326
|
* This topic provides an example on how to query the configurations of the SAML IdP within the directory `d-00fc2p61****`.
|
|
7668
|
-
* ## Limits
|
|
7669
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7670
8327
|
*
|
|
7671
8328
|
* @param request GetExternalSAMLIdentityProviderRequest
|
|
7672
8329
|
* @return GetExternalSAMLIdentityProviderResponse
|
|
@@ -7678,8 +8335,6 @@ export default class Client extends OpenApi {
|
|
|
7678
8335
|
|
|
7679
8336
|
/**
|
|
7680
8337
|
* This topic provides an example on how to query the information about the group `g-00jqzghi2n3o5hkh****` in the directory `d-00fc2p61****`.
|
|
7681
|
-
* ## Limits
|
|
7682
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7683
8338
|
*
|
|
7684
8339
|
* @param request GetGroupRequest
|
|
7685
8340
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7715,8 +8370,6 @@ export default class Client extends OpenApi {
|
|
|
7715
8370
|
|
|
7716
8371
|
/**
|
|
7717
8372
|
* This topic provides an example on how to query the information about the group `g-00jqzghi2n3o5hkh****` in the directory `d-00fc2p61****`.
|
|
7718
|
-
* ## Limits
|
|
7719
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7720
8373
|
*
|
|
7721
8374
|
* @param request GetGroupRequest
|
|
7722
8375
|
* @return GetGroupResponse
|
|
@@ -7816,8 +8469,6 @@ export default class Client extends OpenApi {
|
|
|
7816
8469
|
|
|
7817
8470
|
/**
|
|
7818
8471
|
* This topic provides an example on how to check whether MFA is enabled for users in the directory whose ID is `00fc2p61****`. The returned result shows that MFA is in the Enabled state.
|
|
7819
|
-
* ## Limits
|
|
7820
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7821
8472
|
*
|
|
7822
8473
|
* @param request GetMFAAuthenticationStatusRequest
|
|
7823
8474
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7849,8 +8500,6 @@ export default class Client extends OpenApi {
|
|
|
7849
8500
|
|
|
7850
8501
|
/**
|
|
7851
8502
|
* This topic provides an example on how to check whether MFA is enabled for users in the directory whose ID is `00fc2p61****`. The returned result shows that MFA is in the Enabled state.
|
|
7852
|
-
* ## Limits
|
|
7853
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7854
8503
|
*
|
|
7855
8504
|
* @param request GetMFAAuthenticationStatusRequest
|
|
7856
8505
|
* @return GetMFAAuthenticationStatusResponse
|
|
@@ -7862,8 +8511,6 @@ export default class Client extends OpenApi {
|
|
|
7862
8511
|
|
|
7863
8512
|
/**
|
|
7864
8513
|
* This topic provides an example on how to query the status of SCIM synchronization within the directory `d-00fc2p61****`. The returned result shows that SCIM synchronization is in the Enabled state.
|
|
7865
|
-
* ## Limits
|
|
7866
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7867
8514
|
*
|
|
7868
8515
|
* @param request GetSCIMSynchronizationStatusRequest
|
|
7869
8516
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7895,8 +8542,6 @@ export default class Client extends OpenApi {
|
|
|
7895
8542
|
|
|
7896
8543
|
/**
|
|
7897
8544
|
* This topic provides an example on how to query the status of SCIM synchronization within the directory `d-00fc2p61****`. The returned result shows that SCIM synchronization is in the Enabled state.
|
|
7898
|
-
* ## Limits
|
|
7899
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7900
8545
|
*
|
|
7901
8546
|
* @param request GetSCIMSynchronizationStatusRequest
|
|
7902
8547
|
* @return GetSCIMSynchronizationStatusResponse
|
|
@@ -7906,14 +8551,6 @@ export default class Client extends OpenApi {
|
|
|
7906
8551
|
return await this.getSCIMSynchronizationStatusWithOptions(request, runtime);
|
|
7907
8552
|
}
|
|
7908
8553
|
|
|
7909
|
-
/**
|
|
7910
|
-
* ## Limits
|
|
7911
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7912
|
-
*
|
|
7913
|
-
* @param request GetServiceStatusRequest
|
|
7914
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7915
|
-
* @return GetServiceStatusResponse
|
|
7916
|
-
*/
|
|
7917
8554
|
async getServiceStatusWithOptions(runtime: $Util.RuntimeOptions): Promise<GetServiceStatusResponse> {
|
|
7918
8555
|
let req = new $OpenApi.OpenApiRequest({ });
|
|
7919
8556
|
let params = new $OpenApi.Params({
|
|
@@ -7930,12 +8567,6 @@ export default class Client extends OpenApi {
|
|
|
7930
8567
|
return $tea.cast<GetServiceStatusResponse>(await this.callApi(params, req, runtime), new GetServiceStatusResponse({}));
|
|
7931
8568
|
}
|
|
7932
8569
|
|
|
7933
|
-
/**
|
|
7934
|
-
* ## Limits
|
|
7935
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7936
|
-
*
|
|
7937
|
-
* @return GetServiceStatusResponse
|
|
7938
|
-
*/
|
|
7939
8570
|
async getServiceStatus(): Promise<GetServiceStatusResponse> {
|
|
7940
8571
|
let runtime = new $Util.RuntimeOptions({ });
|
|
7941
8572
|
return await this.getServiceStatusWithOptions(runtime);
|
|
@@ -7943,8 +8574,6 @@ export default class Client extends OpenApi {
|
|
|
7943
8574
|
|
|
7944
8575
|
/**
|
|
7945
8576
|
* This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
|
|
7946
|
-
* ## Limits
|
|
7947
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7948
8577
|
*
|
|
7949
8578
|
* @param request GetTaskRequest
|
|
7950
8579
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7980,8 +8609,6 @@ export default class Client extends OpenApi {
|
|
|
7980
8609
|
|
|
7981
8610
|
/**
|
|
7982
8611
|
* This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
|
|
7983
|
-
* ## Limits
|
|
7984
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7985
8612
|
*
|
|
7986
8613
|
* @param request GetTaskRequest
|
|
7987
8614
|
* @return GetTaskResponse
|
|
@@ -7994,8 +8621,6 @@ export default class Client extends OpenApi {
|
|
|
7994
8621
|
/**
|
|
7995
8622
|
* You can call the GetTaskStatus operation to query the status of an asynchronous task. If you want to query more information about an asynchronous task, you can call the [GetTask](~~340670~~) operation.
|
|
7996
8623
|
* This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
|
|
7997
|
-
* ## Limits
|
|
7998
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
7999
8624
|
*
|
|
8000
8625
|
* @param request GetTaskStatusRequest
|
|
8001
8626
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8032,8 +8657,6 @@ export default class Client extends OpenApi {
|
|
|
8032
8657
|
/**
|
|
8033
8658
|
* You can call the GetTaskStatus operation to query the status of an asynchronous task. If you want to query more information about an asynchronous task, you can call the [GetTask](~~340670~~) operation.
|
|
8034
8659
|
* This topic provides an example on how to query the information about the task whose ID is `t-shfqw1u1edszvxw5****`.
|
|
8035
|
-
* ## Limits
|
|
8036
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8037
8660
|
*
|
|
8038
8661
|
* @param request GetTaskStatusRequest
|
|
8039
8662
|
* @return GetTaskStatusResponse
|
|
@@ -8045,8 +8668,6 @@ export default class Client extends OpenApi {
|
|
|
8045
8668
|
|
|
8046
8669
|
/**
|
|
8047
8670
|
* This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
|
|
8048
|
-
* ## Limits
|
|
8049
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8050
8671
|
*
|
|
8051
8672
|
* @param request GetUserRequest
|
|
8052
8673
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8082,8 +8703,6 @@ export default class Client extends OpenApi {
|
|
|
8082
8703
|
|
|
8083
8704
|
/**
|
|
8084
8705
|
* This topic provides an example on how to query information about the user whose ID is `u-00q8wbq42wiltcrk****` in the `d-00fc2p61****` directory.
|
|
8085
|
-
* ## Limits
|
|
8086
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8087
8706
|
*
|
|
8088
8707
|
* @param request GetUserRequest
|
|
8089
8708
|
* @return GetUserResponse
|
|
@@ -8139,10 +8758,41 @@ export default class Client extends OpenApi {
|
|
|
8139
8758
|
return await this.getUserMFAAuthenticationSettingsWithOptions(request, runtime);
|
|
8140
8759
|
}
|
|
8141
8760
|
|
|
8761
|
+
async getUserProvisioningWithOptions(request: GetUserProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningResponse> {
|
|
8762
|
+
Util.validateModel(request);
|
|
8763
|
+
let query = { };
|
|
8764
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
8765
|
+
query["DirectoryId"] = request.directoryId;
|
|
8766
|
+
}
|
|
8767
|
+
|
|
8768
|
+
if (!Util.isUnset(request.userProvisioningId)) {
|
|
8769
|
+
query["UserProvisioningId"] = request.userProvisioningId;
|
|
8770
|
+
}
|
|
8771
|
+
|
|
8772
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8773
|
+
query: OpenApiUtil.query(query),
|
|
8774
|
+
});
|
|
8775
|
+
let params = new $OpenApi.Params({
|
|
8776
|
+
action: "GetUserProvisioning",
|
|
8777
|
+
version: "2021-05-15",
|
|
8778
|
+
protocol: "HTTPS",
|
|
8779
|
+
pathname: "/",
|
|
8780
|
+
method: "POST",
|
|
8781
|
+
authType: "AK",
|
|
8782
|
+
style: "RPC",
|
|
8783
|
+
reqBodyType: "formData",
|
|
8784
|
+
bodyType: "json",
|
|
8785
|
+
});
|
|
8786
|
+
return $tea.cast<GetUserProvisioningResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningResponse({}));
|
|
8787
|
+
}
|
|
8788
|
+
|
|
8789
|
+
async getUserProvisioning(request: GetUserProvisioningRequest): Promise<GetUserProvisioningResponse> {
|
|
8790
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8791
|
+
return await this.getUserProvisioningWithOptions(request, runtime);
|
|
8792
|
+
}
|
|
8793
|
+
|
|
8142
8794
|
/**
|
|
8143
8795
|
* This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
|
|
8144
|
-
* ## Limits
|
|
8145
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8146
8796
|
*
|
|
8147
8797
|
* @param request ListAccessAssignmentsRequest
|
|
8148
8798
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8202,8 +8852,6 @@ export default class Client extends OpenApi {
|
|
|
8202
8852
|
|
|
8203
8853
|
/**
|
|
8204
8854
|
* This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
|
|
8205
|
-
* ## Limits
|
|
8206
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8207
8855
|
*
|
|
8208
8856
|
* @param request ListAccessAssignmentsRequest
|
|
8209
8857
|
* @return ListAccessAssignmentsResponse
|
|
@@ -8214,7 +8862,6 @@ export default class Client extends OpenApi {
|
|
|
8214
8862
|
}
|
|
8215
8863
|
|
|
8216
8864
|
/**
|
|
8217
|
-
* ## Usage notes
|
|
8218
8865
|
* This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
|
|
8219
8866
|
*
|
|
8220
8867
|
* @param request ListAccessConfigurationProvisioningsRequest
|
|
@@ -8270,7 +8917,6 @@ export default class Client extends OpenApi {
|
|
|
8270
8917
|
}
|
|
8271
8918
|
|
|
8272
8919
|
/**
|
|
8273
|
-
* ## Usage notes
|
|
8274
8920
|
* This topic provides an example on how to query the accounts for which the access permission `ac-00ccule7tadaijxc****` is provisioned. The returned result shows that the access configuration is provisioned for two accounts in your resource directory.
|
|
8275
8921
|
*
|
|
8276
8922
|
* @param request ListAccessConfigurationProvisioningsRequest
|
|
@@ -8282,7 +8928,6 @@ export default class Client extends OpenApi {
|
|
|
8282
8928
|
}
|
|
8283
8929
|
|
|
8284
8930
|
/**
|
|
8285
|
-
* ## Usage notes
|
|
8286
8931
|
* This topic provides an example on how to query the access configurations within the directory `d-00fc2p61****`. The returned result shows that the directory contains the `VPC-Admin` and `ECS-Admin` access configurations.
|
|
8287
8932
|
*
|
|
8288
8933
|
* @param request ListAccessConfigurationsRequest
|
|
@@ -8330,7 +8975,6 @@ export default class Client extends OpenApi {
|
|
|
8330
8975
|
}
|
|
8331
8976
|
|
|
8332
8977
|
/**
|
|
8333
|
-
* ## Usage notes
|
|
8334
8978
|
* This topic provides an example on how to query the access configurations within the directory `d-00fc2p61****`. The returned result shows that the directory contains the `VPC-Admin` and `ECS-Admin` access configurations.
|
|
8335
8979
|
*
|
|
8336
8980
|
* @param request ListAccessConfigurationsRequest
|
|
@@ -8342,9 +8986,7 @@ export default class Client extends OpenApi {
|
|
|
8342
8986
|
}
|
|
8343
8987
|
|
|
8344
8988
|
/**
|
|
8345
|
-
* This topic provides an example on how to query the directories within your Alibaba Cloud account. The returned result shows that only one directory with the ID `d-00fc2p61****` is created within your Alibaba Cloud account.
|
|
8346
|
-
* ## Limits
|
|
8347
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8989
|
+
* This topic provides an example on how to query the directories within your Alibaba Cloud account. The returned result shows that only one directory with the ID `d-00fc2p61****` is created within your Alibaba Cloud account.
|
|
8348
8990
|
*
|
|
8349
8991
|
* @param request ListDirectoriesRequest
|
|
8350
8992
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8367,9 +9009,7 @@ export default class Client extends OpenApi {
|
|
|
8367
9009
|
}
|
|
8368
9010
|
|
|
8369
9011
|
/**
|
|
8370
|
-
* This topic provides an example on how to query the directories within your Alibaba Cloud account. The returned result shows that only one directory with the ID `d-00fc2p61****` is created within your Alibaba Cloud account.
|
|
8371
|
-
* ## Limits
|
|
8372
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9012
|
+
* This topic provides an example on how to query the directories within your Alibaba Cloud account. The returned result shows that only one directory with the ID `d-00fc2p61****` is created within your Alibaba Cloud account.
|
|
8373
9013
|
*
|
|
8374
9014
|
* @return ListDirectoriesResponse
|
|
8375
9015
|
*/
|
|
@@ -8380,8 +9020,6 @@ export default class Client extends OpenApi {
|
|
|
8380
9020
|
|
|
8381
9021
|
/**
|
|
8382
9022
|
* This topic provides an example on how to query the SAML signing certificates within the directory `d-00fc2p61****`. The returned result shows that the directory contains one SAML signing certificate.
|
|
8383
|
-
* ## Limits
|
|
8384
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8385
9023
|
*
|
|
8386
9024
|
* @param request ListExternalSAMLIdPCertificatesRequest
|
|
8387
9025
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8413,8 +9051,6 @@ export default class Client extends OpenApi {
|
|
|
8413
9051
|
|
|
8414
9052
|
/**
|
|
8415
9053
|
* This topic provides an example on how to query the SAML signing certificates within the directory `d-00fc2p61****`. The returned result shows that the directory contains one SAML signing certificate.
|
|
8416
|
-
* ## Limits
|
|
8417
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8418
9054
|
*
|
|
8419
9055
|
* @param request ListExternalSAMLIdPCertificatesRequest
|
|
8420
9056
|
* @return ListExternalSAMLIdPCertificatesResponse
|
|
@@ -8426,8 +9062,6 @@ export default class Client extends OpenApi {
|
|
|
8426
9062
|
|
|
8427
9063
|
/**
|
|
8428
9064
|
* This topic provides an example on how to query the users in the group `g-00jqzghi2n3o5hkh****`. The returned result shows that the group contains the user `Alice` and the user `user1`.
|
|
8429
|
-
* ## Limits
|
|
8430
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8431
9065
|
*
|
|
8432
9066
|
* @param request ListGroupMembersRequest
|
|
8433
9067
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8471,8 +9105,6 @@ export default class Client extends OpenApi {
|
|
|
8471
9105
|
|
|
8472
9106
|
/**
|
|
8473
9107
|
* This topic provides an example on how to query the users in the group `g-00jqzghi2n3o5hkh****`. The returned result shows that the group contains the user `Alice` and the user `user1`.
|
|
8474
|
-
* ## Limits
|
|
8475
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8476
9108
|
*
|
|
8477
9109
|
* @param request ListGroupMembersRequest
|
|
8478
9110
|
* @return ListGroupMembersResponse
|
|
@@ -8484,8 +9116,6 @@ export default class Client extends OpenApi {
|
|
|
8484
9116
|
|
|
8485
9117
|
/**
|
|
8486
9118
|
* This topic provides an example on how to query the groups in the directory `d-00fc2p61****`. The returned result shows that the directory contains three groups. The groups `group1` and `group2` are synchronized from an external identity provider (IdP). The group `TestGroup` is manually created in CloudSSO.
|
|
8487
|
-
* ## Limits
|
|
8488
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8489
9119
|
*
|
|
8490
9120
|
* @param request ListGroupsRequest
|
|
8491
9121
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8533,8 +9163,6 @@ export default class Client extends OpenApi {
|
|
|
8533
9163
|
|
|
8534
9164
|
/**
|
|
8535
9165
|
* This topic provides an example on how to query the groups in the directory `d-00fc2p61****`. The returned result shows that the directory contains three groups. The groups `group1` and `group2` are synchronized from an external identity provider (IdP). The group `TestGroup` is manually created in CloudSSO.
|
|
8536
|
-
* ## Limits
|
|
8537
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8538
9166
|
*
|
|
8539
9167
|
* @param request ListGroupsRequest
|
|
8540
9168
|
* @return ListGroupsResponse
|
|
@@ -8546,8 +9174,6 @@ export default class Client extends OpenApi {
|
|
|
8546
9174
|
|
|
8547
9175
|
/**
|
|
8548
9176
|
* This topic provides an example on how to query the groups to which the user `u-00q8wbq42wiltcrk****` is added. The returned result shows that the user is added to both the `TestGroup` and the `group1` groups.
|
|
8549
|
-
* ## Limits
|
|
8550
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8551
9177
|
*
|
|
8552
9178
|
* @param request ListJoinedGroupsForUserRequest
|
|
8553
9179
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8591,8 +9217,6 @@ export default class Client extends OpenApi {
|
|
|
8591
9217
|
|
|
8592
9218
|
/**
|
|
8593
9219
|
* This topic provides an example on how to query the groups to which the user `u-00q8wbq42wiltcrk****` is added. The returned result shows that the user is added to both the `TestGroup` and the `group1` groups.
|
|
8594
|
-
* ## Limits
|
|
8595
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8596
9220
|
*
|
|
8597
9221
|
* @param request ListJoinedGroupsForUserRequest
|
|
8598
9222
|
* @return ListJoinedGroupsForUserResponse
|
|
@@ -8603,9 +9227,7 @@ export default class Client extends OpenApi {
|
|
|
8603
9227
|
}
|
|
8604
9228
|
|
|
8605
9229
|
/**
|
|
8606
|
-
* This topic provides an example on how to query the MFA devices that are bound to the user `u-00q8wbq42wiltcrk****`. The returned result shows that the MFA device named `Alice-MFA1` is bound to the user.
|
|
8607
|
-
* ## Limits
|
|
8608
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9230
|
+
* This topic provides an example on how to query the MFA devices that are bound to the user `u-00q8wbq42wiltcrk****`. The returned result shows that the MFA device named `Alice-MFA1` is bound to the user.
|
|
8609
9231
|
*
|
|
8610
9232
|
* @param request ListMFADevicesForUserRequest
|
|
8611
9233
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8640,9 +9262,7 @@ export default class Client extends OpenApi {
|
|
|
8640
9262
|
}
|
|
8641
9263
|
|
|
8642
9264
|
/**
|
|
8643
|
-
* This topic provides an example on how to query the MFA devices that are bound to the user `u-00q8wbq42wiltcrk****`. The returned result shows that the MFA device named `Alice-MFA1` is bound to the user.
|
|
8644
|
-
* ## Limits
|
|
8645
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9265
|
+
* This topic provides an example on how to query the MFA devices that are bound to the user `u-00q8wbq42wiltcrk****`. The returned result shows that the MFA device named `Alice-MFA1` is bound to the user.
|
|
8646
9266
|
*
|
|
8647
9267
|
* @param request ListMFADevicesForUserRequest
|
|
8648
9268
|
* @return ListMFADevicesForUserResponse
|
|
@@ -8653,9 +9273,7 @@ export default class Client extends OpenApi {
|
|
|
8653
9273
|
}
|
|
8654
9274
|
|
|
8655
9275
|
/**
|
|
8656
|
-
* This topic provides an example on how to query the policies that are created for the access configuration `ac-00jhtfl8thteu6uj****`. The returned result shows that the access configuration contains one system policy and one inline policy.
|
|
8657
|
-
* ## Limits
|
|
8658
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9276
|
+
* This topic provides an example on how to query the policies that are created for the access configuration `ac-00jhtfl8thteu6uj****`. The returned result shows that the access configuration contains one system policy and one inline policy.
|
|
8659
9277
|
*
|
|
8660
9278
|
* @param request ListPermissionPoliciesInAccessConfigurationRequest
|
|
8661
9279
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8694,9 +9312,7 @@ export default class Client extends OpenApi {
|
|
|
8694
9312
|
}
|
|
8695
9313
|
|
|
8696
9314
|
/**
|
|
8697
|
-
* This topic provides an example on how to query the policies that are created for the access configuration `ac-00jhtfl8thteu6uj****`. The returned result shows that the access configuration contains one system policy and one inline policy.
|
|
8698
|
-
* ## Limits
|
|
8699
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9315
|
+
* This topic provides an example on how to query the policies that are created for the access configuration `ac-00jhtfl8thteu6uj****`. The returned result shows that the access configuration contains one system policy and one inline policy.
|
|
8700
9316
|
*
|
|
8701
9317
|
* @param request ListPermissionPoliciesInAccessConfigurationRequest
|
|
8702
9318
|
* @return ListPermissionPoliciesInAccessConfigurationResponse
|
|
@@ -8708,8 +9324,6 @@ export default class Client extends OpenApi {
|
|
|
8708
9324
|
|
|
8709
9325
|
/**
|
|
8710
9326
|
* This topic provides an example on how to query the SCIM credentials within the `d-00fc2p61****` directory.
|
|
8711
|
-
* ## Limits
|
|
8712
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8713
9327
|
*
|
|
8714
9328
|
* @param request ListSCIMServerCredentialsRequest
|
|
8715
9329
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8741,8 +9355,6 @@ export default class Client extends OpenApi {
|
|
|
8741
9355
|
|
|
8742
9356
|
/**
|
|
8743
9357
|
* This topic provides an example on how to query the SCIM credentials within the `d-00fc2p61****` directory.
|
|
8744
|
-
* ## Limits
|
|
8745
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8746
9358
|
*
|
|
8747
9359
|
* @param request ListSCIMServerCredentialsRequest
|
|
8748
9360
|
* @return ListSCIMServerCredentialsResponse
|
|
@@ -8755,8 +9367,6 @@ export default class Client extends OpenApi {
|
|
|
8755
9367
|
/**
|
|
8756
9368
|
* By default, this operation queries the tasks within the previous 24 hours. This operation allows you to query the tasks within a maximum of 7 days. You can specify the start time of the query by using `Filter`.
|
|
8757
9369
|
* This topic provides an example on how to query the tasks within the previous 24 hours.
|
|
8758
|
-
* ## Limits
|
|
8759
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8760
9370
|
*
|
|
8761
9371
|
* @param request ListTasksRequest
|
|
8762
9372
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8829,8 +9439,6 @@ export default class Client extends OpenApi {
|
|
|
8829
9439
|
/**
|
|
8830
9440
|
* By default, this operation queries the tasks within the previous 24 hours. This operation allows you to query the tasks within a maximum of 7 days. You can specify the start time of the query by using `Filter`.
|
|
8831
9441
|
* This topic provides an example on how to query the tasks within the previous 24 hours.
|
|
8832
|
-
* ## Limits
|
|
8833
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8834
9442
|
*
|
|
8835
9443
|
* @param request ListTasksRequest
|
|
8836
9444
|
* @return ListTasksResponse
|
|
@@ -8840,10 +9448,61 @@ export default class Client extends OpenApi {
|
|
|
8840
9448
|
return await this.listTasksWithOptions(request, runtime);
|
|
8841
9449
|
}
|
|
8842
9450
|
|
|
9451
|
+
async listUserProvisioningsWithOptions(request: ListUserProvisioningsRequest, runtime: $Util.RuntimeOptions): Promise<ListUserProvisioningsResponse> {
|
|
9452
|
+
Util.validateModel(request);
|
|
9453
|
+
let query = { };
|
|
9454
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
9455
|
+
query["DirectoryId"] = request.directoryId;
|
|
9456
|
+
}
|
|
9457
|
+
|
|
9458
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
9459
|
+
query["MaxResults"] = request.maxResults;
|
|
9460
|
+
}
|
|
9461
|
+
|
|
9462
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
9463
|
+
query["NextToken"] = request.nextToken;
|
|
9464
|
+
}
|
|
9465
|
+
|
|
9466
|
+
if (!Util.isUnset(request.principalId)) {
|
|
9467
|
+
query["PrincipalId"] = request.principalId;
|
|
9468
|
+
}
|
|
9469
|
+
|
|
9470
|
+
if (!Util.isUnset(request.principalType)) {
|
|
9471
|
+
query["PrincipalType"] = request.principalType;
|
|
9472
|
+
}
|
|
9473
|
+
|
|
9474
|
+
if (!Util.isUnset(request.targetId)) {
|
|
9475
|
+
query["TargetId"] = request.targetId;
|
|
9476
|
+
}
|
|
9477
|
+
|
|
9478
|
+
if (!Util.isUnset(request.targetType)) {
|
|
9479
|
+
query["TargetType"] = request.targetType;
|
|
9480
|
+
}
|
|
9481
|
+
|
|
9482
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9483
|
+
query: OpenApiUtil.query(query),
|
|
9484
|
+
});
|
|
9485
|
+
let params = new $OpenApi.Params({
|
|
9486
|
+
action: "ListUserProvisionings",
|
|
9487
|
+
version: "2021-05-15",
|
|
9488
|
+
protocol: "HTTPS",
|
|
9489
|
+
pathname: "/",
|
|
9490
|
+
method: "POST",
|
|
9491
|
+
authType: "AK",
|
|
9492
|
+
style: "RPC",
|
|
9493
|
+
reqBodyType: "formData",
|
|
9494
|
+
bodyType: "json",
|
|
9495
|
+
});
|
|
9496
|
+
return $tea.cast<ListUserProvisioningsResponse>(await this.callApi(params, req, runtime), new ListUserProvisioningsResponse({}));
|
|
9497
|
+
}
|
|
9498
|
+
|
|
9499
|
+
async listUserProvisionings(request: ListUserProvisioningsRequest): Promise<ListUserProvisioningsResponse> {
|
|
9500
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9501
|
+
return await this.listUserProvisioningsWithOptions(request, runtime);
|
|
9502
|
+
}
|
|
9503
|
+
|
|
8843
9504
|
/**
|
|
8844
9505
|
* This topic provides an example on how to query users in the `d-00fc2p61****` directory. The returned result shows that the directory contains two users. The user `AliceLee` is synchronized from an external identity provider (IdP). The user `user1` is manually created within CloudSSO.
|
|
8845
|
-
* ## Limits
|
|
8846
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8847
9506
|
*
|
|
8848
9507
|
* @param request ListUsersRequest
|
|
8849
9508
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8895,8 +9554,6 @@ export default class Client extends OpenApi {
|
|
|
8895
9554
|
|
|
8896
9555
|
/**
|
|
8897
9556
|
* This topic provides an example on how to query users in the `d-00fc2p61****` directory. The returned result shows that the directory contains two users. The user `AliceLee` is synchronized from an external identity provider (IdP). The user `user1` is manually created within CloudSSO.
|
|
8898
|
-
* ## Limits
|
|
8899
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8900
9557
|
*
|
|
8901
9558
|
* @param request ListUsersRequest
|
|
8902
9559
|
* @return ListUsersResponse
|
|
@@ -8909,8 +9566,6 @@ export default class Client extends OpenApi {
|
|
|
8909
9566
|
/**
|
|
8910
9567
|
* When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
|
|
8911
9568
|
* This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
|
|
8912
|
-
* ## Limits
|
|
8913
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8914
9569
|
*
|
|
8915
9570
|
* @param request ProvisionAccessConfigurationRequest
|
|
8916
9571
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8955,8 +9610,6 @@ export default class Client extends OpenApi {
|
|
|
8955
9610
|
/**
|
|
8956
9611
|
* When you call this operation, an asynchronous task is automatically created. You can call the [GetTask](~~340670~~) operation to query the progress of the task based on the value of the `TaskId` response parameter.
|
|
8957
9612
|
* This topic provides an example on how to provision the access configuration `ac-00jhtfl8thteu6uj****` for the account `114240524784****` in your resource directory.
|
|
8958
|
-
* ## Limits
|
|
8959
|
-
* You can call this operation up to 20 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8960
9613
|
*
|
|
8961
9614
|
* @param request ProvisionAccessConfigurationRequest
|
|
8962
9615
|
* @return ProvisionAccessConfigurationResponse
|
|
@@ -8968,8 +9621,6 @@ export default class Client extends OpenApi {
|
|
|
8968
9621
|
|
|
8969
9622
|
/**
|
|
8970
9623
|
* This topic provides an example on how to remove the SAML signing certificate whose ID is `idp-c-00dt9gnl7fmjaw9c****`.
|
|
8971
|
-
* ## Limits
|
|
8972
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
8973
9624
|
*
|
|
8974
9625
|
* @param request RemoveExternalSAMLIdPCertificateRequest
|
|
8975
9626
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9005,8 +9656,6 @@ export default class Client extends OpenApi {
|
|
|
9005
9656
|
|
|
9006
9657
|
/**
|
|
9007
9658
|
* This topic provides an example on how to remove the SAML signing certificate whose ID is `idp-c-00dt9gnl7fmjaw9c****`.
|
|
9008
|
-
* ## Limits
|
|
9009
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9010
9659
|
*
|
|
9011
9660
|
* @param request RemoveExternalSAMLIdPCertificateRequest
|
|
9012
9661
|
* @return RemoveExternalSAMLIdPCertificateResponse
|
|
@@ -9019,8 +9668,6 @@ export default class Client extends OpenApi {
|
|
|
9019
9668
|
/**
|
|
9020
9669
|
* After you remove an inline policy from an access configuration, the policy cannot be restored.
|
|
9021
9670
|
* This topic provides an example on how to remove the system policy `AliyunECSFullAccess` from the access configuration `ac-00jhtfl8thteu6uj****`.
|
|
9022
|
-
* ## Limits
|
|
9023
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9024
9671
|
*
|
|
9025
9672
|
* @param request RemovePermissionPolicyFromAccessConfigurationRequest
|
|
9026
9673
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9065,8 +9712,6 @@ export default class Client extends OpenApi {
|
|
|
9065
9712
|
/**
|
|
9066
9713
|
* After you remove an inline policy from an access configuration, the policy cannot be restored.
|
|
9067
9714
|
* This topic provides an example on how to remove the system policy `AliyunECSFullAccess` from the access configuration `ac-00jhtfl8thteu6uj****`.
|
|
9068
|
-
* ## Limits
|
|
9069
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9070
9715
|
*
|
|
9071
9716
|
* @param request RemovePermissionPolicyFromAccessConfigurationRequest
|
|
9072
9717
|
* @return RemovePermissionPolicyFromAccessConfigurationResponse
|
|
@@ -9078,9 +9723,7 @@ export default class Client extends OpenApi {
|
|
|
9078
9723
|
|
|
9079
9724
|
/**
|
|
9080
9725
|
* If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot remove a user from a group that is synchronized by using SCIM.
|
|
9081
|
-
* This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
|
|
9082
|
-
* ## Limits
|
|
9083
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9726
|
+
* This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
|
|
9084
9727
|
*
|
|
9085
9728
|
* @param request RemoveUserFromGroupRequest
|
|
9086
9729
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9120,9 +9763,7 @@ export default class Client extends OpenApi {
|
|
|
9120
9763
|
|
|
9121
9764
|
/**
|
|
9122
9765
|
* If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot remove a user from a group that is synchronized by using SCIM.
|
|
9123
|
-
* This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
|
|
9124
|
-
* ## Limits
|
|
9125
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9766
|
+
* This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
|
|
9126
9767
|
*
|
|
9127
9768
|
* @param request RemoveUserFromGroupRequest
|
|
9128
9769
|
* @return RemoveUserFromGroupResponse
|
|
@@ -9136,8 +9777,6 @@ export default class Client extends OpenApi {
|
|
|
9136
9777
|
* If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
|
|
9137
9778
|
* > After you enable SSO logon, your password cannot be reset.
|
|
9138
9779
|
* This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
|
|
9139
|
-
* ## Limits
|
|
9140
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9141
9780
|
*
|
|
9142
9781
|
* @param request ResetUserPasswordRequest
|
|
9143
9782
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9187,8 +9826,6 @@ export default class Client extends OpenApi {
|
|
|
9187
9826
|
* If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
|
|
9188
9827
|
* > After you enable SSO logon, your password cannot be reset.
|
|
9189
9828
|
* This topic provides an example on how to reset the password of the user `u-00q8wbq42wiltcrk****`. The new password is automatically generated by the system.
|
|
9190
|
-
* ## Limits
|
|
9191
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9192
9829
|
*
|
|
9193
9830
|
* @param request ResetUserPasswordRequest
|
|
9194
9831
|
* @return ResetUserPasswordResponse
|
|
@@ -9199,11 +9836,10 @@ export default class Client extends OpenApi {
|
|
|
9199
9836
|
}
|
|
9200
9837
|
|
|
9201
9838
|
/**
|
|
9202
|
-
* ## Usage notes
|
|
9203
9839
|
* During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an IdP.
|
|
9204
9840
|
* You can use one of the following methods to configure a SAML IdP. You can obtain the required metadata file or parameter values from your IdP.
|
|
9205
9841
|
* * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
|
|
9206
|
-
* * Manually configure the IdP. You can manually
|
|
9842
|
+
* * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
|
|
9207
9843
|
* If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
|
|
9208
9844
|
* * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
|
|
9209
9845
|
* * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
|
|
@@ -9263,11 +9899,10 @@ export default class Client extends OpenApi {
|
|
|
9263
9899
|
}
|
|
9264
9900
|
|
|
9265
9901
|
/**
|
|
9266
|
-
* ## Usage notes
|
|
9267
9902
|
* During SAML 2.0-based single sign-on (SSO) logon, CloudSSO is an SP, and the identity management system of an enterprise is an IdP.
|
|
9268
9903
|
* You can use one of the following methods to configure a SAML IdP. You can obtain the required metadata file or parameter values from your IdP.
|
|
9269
9904
|
* * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
|
|
9270
|
-
* * Manually configure the IdP. You can manually
|
|
9905
|
+
* * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
|
|
9271
9906
|
* If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
|
|
9272
9907
|
* * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
|
|
9273
9908
|
* * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
|
|
@@ -9285,8 +9920,6 @@ export default class Client extends OpenApi {
|
|
|
9285
9920
|
/**
|
|
9286
9921
|
* If a CloudSSO administrator enables username-password logon for users, CloudSSO automatically enables MFA to improve security. The administrator can call this operation to enable or disable MFA based on the business requirements.
|
|
9287
9922
|
* This topic provides an example on how to enable MFA for users.
|
|
9288
|
-
* ## Limits
|
|
9289
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9290
9923
|
*
|
|
9291
9924
|
* @param request SetMFAAuthenticationStatusRequest
|
|
9292
9925
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9323,8 +9956,6 @@ export default class Client extends OpenApi {
|
|
|
9323
9956
|
/**
|
|
9324
9957
|
* If a CloudSSO administrator enables username-password logon for users, CloudSSO automatically enables MFA to improve security. The administrator can call this operation to enable or disable MFA based on the business requirements.
|
|
9325
9958
|
* This topic provides an example on how to enable MFA for users.
|
|
9326
|
-
* ## Limits
|
|
9327
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9328
9959
|
*
|
|
9329
9960
|
* @param request SetMFAAuthenticationStatusRequest
|
|
9330
9961
|
* @return SetMFAAuthenticationStatusResponse
|
|
@@ -9339,8 +9970,6 @@ export default class Client extends OpenApi {
|
|
|
9339
9970
|
* * After you enable SCIM synchronization, you cannot modify or delete the users or groups that are synchronized to CloudSSO by using SCIM. In addition, you cannot add users to or remove users from the groups. However, you can change the passwords of the users and enable or disable the logon of the users.
|
|
9340
9971
|
* * After you disable SCIM synchronization, you can modify and delete the users and groups that are synchronized to CloudSSO by using SCIM. You can also add users to or remove users from the groups.
|
|
9341
9972
|
* This topic provides an example on how to enable SCIM synchronization within the directory `d-00fc2p61****`.
|
|
9342
|
-
* ## Limits
|
|
9343
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9344
9973
|
*
|
|
9345
9974
|
* @param request SetSCIMSynchronizationStatusRequest
|
|
9346
9975
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9379,8 +10008,6 @@ export default class Client extends OpenApi {
|
|
|
9379
10008
|
* * After you enable SCIM synchronization, you cannot modify or delete the users or groups that are synchronized to CloudSSO by using SCIM. In addition, you cannot add users to or remove users from the groups. However, you can change the passwords of the users and enable or disable the logon of the users.
|
|
9380
10009
|
* * After you disable SCIM synchronization, you can modify and delete the users and groups that are synchronized to CloudSSO by using SCIM. You can also add users to or remove users from the groups.
|
|
9381
10010
|
* This topic provides an example on how to enable SCIM synchronization within the directory `d-00fc2p61****`.
|
|
9382
|
-
* ## Limits
|
|
9383
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9384
10011
|
*
|
|
9385
10012
|
* @param request SetSCIMSynchronizationStatusRequest
|
|
9386
10013
|
* @return SetSCIMSynchronizationStatusResponse
|
|
@@ -9393,8 +10020,6 @@ export default class Client extends OpenApi {
|
|
|
9393
10020
|
/**
|
|
9394
10021
|
* You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
|
|
9395
10022
|
* This topic provides an example on how to change the initial web page in the access configuration `ac-00jhtfl8thteu6uj****` to `https://cloudsso.console.aliyun.com`.
|
|
9396
|
-
* ## Limits
|
|
9397
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9398
10023
|
*
|
|
9399
10024
|
* @param request UpdateAccessConfigurationRequest
|
|
9400
10025
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9443,8 +10068,6 @@ export default class Client extends OpenApi {
|
|
|
9443
10068
|
/**
|
|
9444
10069
|
* You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
|
|
9445
10070
|
* This topic provides an example on how to change the initial web page in the access configuration `ac-00jhtfl8thteu6uj****` to `https://cloudsso.console.aliyun.com`.
|
|
9446
|
-
* ## Limits
|
|
9447
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9448
10071
|
*
|
|
9449
10072
|
* @param request UpdateAccessConfigurationRequest
|
|
9450
10073
|
* @return UpdateAccessConfigurationResponse
|
|
@@ -9456,9 +10079,7 @@ export default class Client extends OpenApi {
|
|
|
9456
10079
|
|
|
9457
10080
|
/**
|
|
9458
10081
|
* After you change the name of a directory, the URL that is used to log on to the Cloud SSO user portal is changed. You must notify the Cloud SSO users of the correct URL.
|
|
9459
|
-
* This topic provides an example on how to change the name of a directory to `new-example`.
|
|
9460
|
-
* ## Limits
|
|
9461
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
10082
|
+
* This topic provides an example on how to change the name of a directory to `new-example`.
|
|
9462
10083
|
*
|
|
9463
10084
|
* @param request UpdateDirectoryRequest
|
|
9464
10085
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9494,9 +10115,7 @@ export default class Client extends OpenApi {
|
|
|
9494
10115
|
|
|
9495
10116
|
/**
|
|
9496
10117
|
* After you change the name of a directory, the URL that is used to log on to the Cloud SSO user portal is changed. You must notify the Cloud SSO users of the correct URL.
|
|
9497
|
-
* This topic provides an example on how to change the name of a directory to `new-example`.
|
|
9498
|
-
* ## Limits
|
|
9499
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
10118
|
+
* This topic provides an example on how to change the name of a directory to `new-example`.
|
|
9500
10119
|
*
|
|
9501
10120
|
* @param request UpdateDirectoryRequest
|
|
9502
10121
|
* @return UpdateDirectoryResponse
|
|
@@ -9510,8 +10129,6 @@ export default class Client extends OpenApi {
|
|
|
9510
10129
|
* You can modify `GroupName` and `Description` for a group.
|
|
9511
10130
|
* > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a group that is synchronized by using SCIM.
|
|
9512
10131
|
* This topic provides an example on how to change the name of the group `g-00jqzghi2n3o5hkh****` to `NewTestGroup`.
|
|
9513
|
-
* ## Limits
|
|
9514
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9515
10132
|
*
|
|
9516
10133
|
* @param request UpdateGroupRequest
|
|
9517
10134
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9557,8 +10174,6 @@ export default class Client extends OpenApi {
|
|
|
9557
10174
|
* You can modify `GroupName` and `Description` for a group.
|
|
9558
10175
|
* > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a group that is synchronized by using SCIM.
|
|
9559
10176
|
* This topic provides an example on how to change the name of the group `g-00jqzghi2n3o5hkh****` to `NewTestGroup`.
|
|
9560
|
-
* ## Limits
|
|
9561
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9562
10177
|
*
|
|
9563
10178
|
* @param request UpdateGroupRequest
|
|
9564
10179
|
* @return UpdateGroupResponse
|
|
@@ -9570,8 +10185,6 @@ export default class Client extends OpenApi {
|
|
|
9570
10185
|
|
|
9571
10186
|
/**
|
|
9572
10187
|
* This topic provides an example on how to modify an inline policy that is created for the access configuration `ac-00jhtfl8thteu6uj****`.
|
|
9573
|
-
* ## Limits
|
|
9574
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9575
10188
|
*
|
|
9576
10189
|
* @param request UpdateInlinePolicyForAccessConfigurationRequest
|
|
9577
10190
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9615,8 +10228,6 @@ export default class Client extends OpenApi {
|
|
|
9615
10228
|
|
|
9616
10229
|
/**
|
|
9617
10230
|
* This topic provides an example on how to modify an inline policy that is created for the access configuration `ac-00jhtfl8thteu6uj****`.
|
|
9618
|
-
* ## Limits
|
|
9619
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9620
10231
|
*
|
|
9621
10232
|
* @param request UpdateInlinePolicyForAccessConfigurationRequest
|
|
9622
10233
|
* @return UpdateInlinePolicyForAccessConfigurationResponse
|
|
@@ -9680,8 +10291,6 @@ export default class Client extends OpenApi {
|
|
|
9680
10291
|
|
|
9681
10292
|
/**
|
|
9682
10293
|
* This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
|
|
9683
|
-
* ## Limits
|
|
9684
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9685
10294
|
*
|
|
9686
10295
|
* @param request UpdateSCIMServerCredentialStatusRequest
|
|
9687
10296
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9721,8 +10330,6 @@ export default class Client extends OpenApi {
|
|
|
9721
10330
|
|
|
9722
10331
|
/**
|
|
9723
10332
|
* This topic provides an example on how to disable the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`. After the SCIM credential is disabled, the synchronization task that uses the SCIM credential fails. You can call this operation again to enable the SCIM credential.
|
|
9724
|
-
* ## Limits
|
|
9725
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9726
10333
|
*
|
|
9727
10334
|
* @param request UpdateSCIMServerCredentialStatusRequest
|
|
9728
10335
|
* @return UpdateSCIMServerCredentialStatusResponse
|
|
@@ -9736,8 +10343,6 @@ export default class Client extends OpenApi {
|
|
|
9736
10343
|
* You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
|
|
9737
10344
|
* > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a user that is synchronized by using SCIM.
|
|
9738
10345
|
* This topic provides an example on how to change the email address of the user whose ID is `u-00q8wbq42wiltcrk****` to `AliceLee@example.com`.
|
|
9739
|
-
* ## Limits
|
|
9740
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9741
10346
|
*
|
|
9742
10347
|
* @param request UpdateUserRequest
|
|
9743
10348
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9795,8 +10400,6 @@ export default class Client extends OpenApi {
|
|
|
9795
10400
|
* You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
|
|
9796
10401
|
* > If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot modify the information about a user that is synchronized by using SCIM.
|
|
9797
10402
|
* This topic provides an example on how to change the email address of the user whose ID is `u-00q8wbq42wiltcrk****` to `AliceLee@example.com`.
|
|
9798
|
-
* ## Limits
|
|
9799
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
9800
10403
|
*
|
|
9801
10404
|
* @param request UpdateUserRequest
|
|
9802
10405
|
* @return UpdateUserResponse
|
|
@@ -9860,10 +10463,53 @@ export default class Client extends OpenApi {
|
|
|
9860
10463
|
return await this.updateUserMFAAuthenticationSettingsWithOptions(request, runtime);
|
|
9861
10464
|
}
|
|
9862
10465
|
|
|
10466
|
+
async updateUserProvisioningWithOptions(request: UpdateUserProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserProvisioningResponse> {
|
|
10467
|
+
Util.validateModel(request);
|
|
10468
|
+
let query = { };
|
|
10469
|
+
if (!Util.isUnset(request.directoryId)) {
|
|
10470
|
+
query["DirectoryId"] = request.directoryId;
|
|
10471
|
+
}
|
|
10472
|
+
|
|
10473
|
+
if (!Util.isUnset(request.newDeletionStrategy)) {
|
|
10474
|
+
query["NewDeletionStrategy"] = request.newDeletionStrategy;
|
|
10475
|
+
}
|
|
10476
|
+
|
|
10477
|
+
if (!Util.isUnset(request.newDescription)) {
|
|
10478
|
+
query["NewDescription"] = request.newDescription;
|
|
10479
|
+
}
|
|
10480
|
+
|
|
10481
|
+
if (!Util.isUnset(request.newDuplicationStrategy)) {
|
|
10482
|
+
query["NewDuplicationStrategy"] = request.newDuplicationStrategy;
|
|
10483
|
+
}
|
|
10484
|
+
|
|
10485
|
+
if (!Util.isUnset(request.userProvisioningId)) {
|
|
10486
|
+
query["UserProvisioningId"] = request.userProvisioningId;
|
|
10487
|
+
}
|
|
10488
|
+
|
|
10489
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
10490
|
+
query: OpenApiUtil.query(query),
|
|
10491
|
+
});
|
|
10492
|
+
let params = new $OpenApi.Params({
|
|
10493
|
+
action: "UpdateUserProvisioning",
|
|
10494
|
+
version: "2021-05-15",
|
|
10495
|
+
protocol: "HTTPS",
|
|
10496
|
+
pathname: "/",
|
|
10497
|
+
method: "POST",
|
|
10498
|
+
authType: "AK",
|
|
10499
|
+
style: "RPC",
|
|
10500
|
+
reqBodyType: "formData",
|
|
10501
|
+
bodyType: "json",
|
|
10502
|
+
});
|
|
10503
|
+
return $tea.cast<UpdateUserProvisioningResponse>(await this.callApi(params, req, runtime), new UpdateUserProvisioningResponse({}));
|
|
10504
|
+
}
|
|
10505
|
+
|
|
10506
|
+
async updateUserProvisioning(request: UpdateUserProvisioningRequest): Promise<UpdateUserProvisioningResponse> {
|
|
10507
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10508
|
+
return await this.updateUserProvisioningWithOptions(request, runtime);
|
|
10509
|
+
}
|
|
10510
|
+
|
|
9863
10511
|
/**
|
|
9864
|
-
* This topic provides an example on how to change the status of the user whose ID is `u-00q8wbq42wiltcrk****` to Disabled. Users in the Disabled state cannot log on to the CloudSSO user portal.
|
|
9865
|
-
* ## Limits
|
|
9866
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
10512
|
+
* This topic provides an example on how to change the status of the user whose ID is `u-00q8wbq42wiltcrk****` to Disabled. Users in the Disabled state cannot log on to the CloudSSO user portal.
|
|
9867
10513
|
*
|
|
9868
10514
|
* @param request UpdateUserStatusRequest
|
|
9869
10515
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -9902,9 +10548,7 @@ export default class Client extends OpenApi {
|
|
|
9902
10548
|
}
|
|
9903
10549
|
|
|
9904
10550
|
/**
|
|
9905
|
-
* This topic provides an example on how to change the status of the user whose ID is `u-00q8wbq42wiltcrk****` to Disabled. Users in the Disabled state cannot log on to the CloudSSO user portal.
|
|
9906
|
-
* ## Limits
|
|
9907
|
-
* You can call this operation up to 100 times per second per account. This operation is globally limited to 100 times per second across all accounts. If the number of the calls per second exceeds a limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limits when you call this operation.
|
|
10551
|
+
* This topic provides an example on how to change the status of the user whose ID is `u-00q8wbq42wiltcrk****` to Disabled. Users in the Disabled state cannot log on to the CloudSSO user portal.
|
|
9908
10552
|
*
|
|
9909
10553
|
* @param request UpdateUserStatusRequest
|
|
9910
10554
|
* @return UpdateUserStatusResponse
|