@alicloud/cloudsso20210515 1.1.0 → 1.3.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/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,144 @@ 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
+
1376
+ export class DeleteUserProvisioningEventRequest extends $tea.Model {
1377
+ directoryId?: string;
1378
+ eventId?: string;
1379
+ userProvisioningId?: string;
1380
+ static names(): { [key: string]: string } {
1381
+ return {
1382
+ directoryId: 'DirectoryId',
1383
+ eventId: 'EventId',
1384
+ userProvisioningId: 'UserProvisioningId',
1385
+ };
1386
+ }
1387
+
1388
+ static types(): { [key: string]: any } {
1389
+ return {
1390
+ directoryId: 'string',
1391
+ eventId: 'string',
1392
+ userProvisioningId: 'string',
1393
+ };
1394
+ }
1395
+
1396
+ constructor(map?: { [key: string]: any }) {
1397
+ super(map);
1398
+ }
1399
+ }
1400
+
1401
+ export class DeleteUserProvisioningEventResponseBody extends $tea.Model {
1402
+ requestId?: string;
1403
+ static names(): { [key: string]: string } {
1404
+ return {
1405
+ requestId: 'RequestId',
1406
+ };
1407
+ }
1408
+
1409
+ static types(): { [key: string]: any } {
1410
+ return {
1411
+ requestId: 'string',
1412
+ };
1413
+ }
1414
+
1415
+ constructor(map?: { [key: string]: any }) {
1416
+ super(map);
1417
+ }
1418
+ }
1419
+
1420
+ export class DeleteUserProvisioningEventResponse extends $tea.Model {
1421
+ headers: { [key: string]: string };
1422
+ statusCode: number;
1423
+ body: DeleteUserProvisioningEventResponseBody;
1424
+ static names(): { [key: string]: string } {
1425
+ return {
1426
+ headers: 'headers',
1427
+ statusCode: 'statusCode',
1428
+ body: 'body',
1429
+ };
1430
+ }
1431
+
1432
+ static types(): { [key: string]: any } {
1433
+ return {
1434
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1435
+ statusCode: 'number',
1436
+ body: DeleteUserProvisioningEventResponseBody,
1437
+ };
1438
+ }
1439
+
1440
+ constructor(map?: { [key: string]: any }) {
1441
+ super(map);
1442
+ }
1443
+ }
1444
+
1220
1445
  export class DeprovisionAccessConfigurationRequest extends $tea.Model {
1221
1446
  accessConfigurationId?: string;
1222
1447
  directoryId?: string;
@@ -2369,38 +2594,20 @@ export class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
2369
2594
  }
2370
2595
  }
2371
2596
 
2372
- export class ListAccessAssignmentsRequest extends $tea.Model {
2373
- accessConfigurationId?: string;
2597
+ export class GetUserProvisioningRequest extends $tea.Model {
2374
2598
  directoryId?: string;
2375
- maxResults?: number;
2376
- nextToken?: string;
2377
- principalId?: string;
2378
- principalType?: string;
2379
- targetId?: string;
2380
- targetType?: string;
2599
+ userProvisioningId?: string;
2381
2600
  static names(): { [key: string]: string } {
2382
2601
  return {
2383
- accessConfigurationId: 'AccessConfigurationId',
2384
2602
  directoryId: 'DirectoryId',
2385
- maxResults: 'MaxResults',
2386
- nextToken: 'NextToken',
2387
- principalId: 'PrincipalId',
2388
- principalType: 'PrincipalType',
2389
- targetId: 'TargetId',
2390
- targetType: 'TargetType',
2603
+ userProvisioningId: 'UserProvisioningId',
2391
2604
  };
2392
2605
  }
2393
2606
 
2394
2607
  static types(): { [key: string]: any } {
2395
2608
  return {
2396
- accessConfigurationId: 'string',
2397
2609
  directoryId: 'string',
2398
- maxResults: 'number',
2399
- nextToken: 'string',
2400
- principalId: 'string',
2401
- principalType: 'string',
2402
- targetId: 'string',
2403
- targetType: 'string',
2610
+ userProvisioningId: 'string',
2404
2611
  };
2405
2612
  }
2406
2613
 
@@ -2409,32 +2616,20 @@ export class ListAccessAssignmentsRequest extends $tea.Model {
2409
2616
  }
2410
2617
  }
2411
2618
 
2412
- export class ListAccessAssignmentsResponseBody extends $tea.Model {
2413
- accessAssignments?: ListAccessAssignmentsResponseBodyAccessAssignments[];
2414
- isTruncated?: boolean;
2415
- maxResults?: number;
2416
- nextToken?: string;
2619
+ export class GetUserProvisioningResponseBody extends $tea.Model {
2417
2620
  requestId?: string;
2418
- totalCounts?: number;
2621
+ userProvisioning?: GetUserProvisioningResponseBodyUserProvisioning;
2419
2622
  static names(): { [key: string]: string } {
2420
2623
  return {
2421
- accessAssignments: 'AccessAssignments',
2422
- isTruncated: 'IsTruncated',
2423
- maxResults: 'MaxResults',
2424
- nextToken: 'NextToken',
2425
2624
  requestId: 'RequestId',
2426
- totalCounts: 'TotalCounts',
2625
+ userProvisioning: 'UserProvisioning',
2427
2626
  };
2428
2627
  }
2429
2628
 
2430
2629
  static types(): { [key: string]: any } {
2431
2630
  return {
2432
- accessAssignments: { 'type': 'array', 'itemType': ListAccessAssignmentsResponseBodyAccessAssignments },
2433
- isTruncated: 'boolean',
2434
- maxResults: 'number',
2435
- nextToken: 'string',
2436
2631
  requestId: 'string',
2437
- totalCounts: 'number',
2632
+ userProvisioning: GetUserProvisioningResponseBodyUserProvisioning,
2438
2633
  };
2439
2634
  }
2440
2635
 
@@ -2443,10 +2638,10 @@ export class ListAccessAssignmentsResponseBody extends $tea.Model {
2443
2638
  }
2444
2639
  }
2445
2640
 
2446
- export class ListAccessAssignmentsResponse extends $tea.Model {
2641
+ export class GetUserProvisioningResponse extends $tea.Model {
2447
2642
  headers: { [key: string]: string };
2448
2643
  statusCode: number;
2449
- body: ListAccessAssignmentsResponseBody;
2644
+ body: GetUserProvisioningResponseBody;
2450
2645
  static names(): { [key: string]: string } {
2451
2646
  return {
2452
2647
  headers: 'headers',
@@ -2459,7 +2654,7 @@ export class ListAccessAssignmentsResponse extends $tea.Model {
2459
2654
  return {
2460
2655
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2461
2656
  statusCode: 'number',
2462
- body: ListAccessAssignmentsResponseBody,
2657
+ body: GetUserProvisioningResponseBody,
2463
2658
  };
2464
2659
  }
2465
2660
 
@@ -2468,35 +2663,17 @@ export class ListAccessAssignmentsResponse extends $tea.Model {
2468
2663
  }
2469
2664
  }
2470
2665
 
2471
- export class ListAccessConfigurationProvisioningsRequest extends $tea.Model {
2472
- accessConfigurationId?: string;
2666
+ export class GetUserProvisioningConfigurationRequest extends $tea.Model {
2473
2667
  directoryId?: string;
2474
- maxResults?: number;
2475
- nextToken?: string;
2476
- provisioningStatus?: string;
2477
- targetId?: string;
2478
- targetType?: string;
2479
2668
  static names(): { [key: string]: string } {
2480
2669
  return {
2481
- accessConfigurationId: 'AccessConfigurationId',
2482
2670
  directoryId: 'DirectoryId',
2483
- maxResults: 'MaxResults',
2484
- nextToken: 'NextToken',
2485
- provisioningStatus: 'ProvisioningStatus',
2486
- targetId: 'TargetId',
2487
- targetType: 'TargetType',
2488
2671
  };
2489
2672
  }
2490
2673
 
2491
2674
  static types(): { [key: string]: any } {
2492
2675
  return {
2493
- accessConfigurationId: 'string',
2494
2676
  directoryId: 'string',
2495
- maxResults: 'number',
2496
- nextToken: 'string',
2497
- provisioningStatus: 'string',
2498
- targetId: 'string',
2499
- targetType: 'string',
2500
2677
  };
2501
2678
  }
2502
2679
 
@@ -2505,32 +2682,20 @@ export class ListAccessConfigurationProvisioningsRequest extends $tea.Model {
2505
2682
  }
2506
2683
  }
2507
2684
 
2508
- export class ListAccessConfigurationProvisioningsResponseBody extends $tea.Model {
2509
- accessConfigurationProvisionings?: ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings[];
2510
- isTruncated?: boolean;
2511
- maxResults?: number;
2512
- nextToken?: string;
2685
+ export class GetUserProvisioningConfigurationResponseBody extends $tea.Model {
2513
2686
  requestId?: string;
2514
- totalCounts?: number;
2687
+ userProvisioningConfiguration?: GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration;
2515
2688
  static names(): { [key: string]: string } {
2516
2689
  return {
2517
- accessConfigurationProvisionings: 'AccessConfigurationProvisionings',
2518
- isTruncated: 'IsTruncated',
2519
- maxResults: 'MaxResults',
2520
- nextToken: 'NextToken',
2521
2690
  requestId: 'RequestId',
2522
- totalCounts: 'TotalCounts',
2691
+ userProvisioningConfiguration: 'UserProvisioningConfiguration',
2523
2692
  };
2524
2693
  }
2525
2694
 
2526
2695
  static types(): { [key: string]: any } {
2527
2696
  return {
2528
- accessConfigurationProvisionings: { 'type': 'array', 'itemType': ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings },
2529
- isTruncated: 'boolean',
2530
- maxResults: 'number',
2531
- nextToken: 'string',
2532
2697
  requestId: 'string',
2533
- totalCounts: 'number',
2698
+ userProvisioningConfiguration: GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
2534
2699
  };
2535
2700
  }
2536
2701
 
@@ -2539,10 +2704,10 @@ export class ListAccessConfigurationProvisioningsResponseBody extends $tea.Model
2539
2704
  }
2540
2705
  }
2541
2706
 
2542
- export class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
2707
+ export class GetUserProvisioningConfigurationResponse extends $tea.Model {
2543
2708
  headers: { [key: string]: string };
2544
2709
  statusCode: number;
2545
- body: ListAccessConfigurationProvisioningsResponseBody;
2710
+ body: GetUserProvisioningConfigurationResponseBody;
2546
2711
  static names(): { [key: string]: string } {
2547
2712
  return {
2548
2713
  headers: 'headers',
@@ -2555,7 +2720,7 @@ export class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
2555
2720
  return {
2556
2721
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2557
2722
  statusCode: 'number',
2558
- body: ListAccessConfigurationProvisioningsResponseBody,
2723
+ body: GetUserProvisioningConfigurationResponseBody,
2559
2724
  };
2560
2725
  }
2561
2726
 
@@ -2564,29 +2729,20 @@ export class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
2564
2729
  }
2565
2730
  }
2566
2731
 
2567
- export class ListAccessConfigurationsRequest extends $tea.Model {
2732
+ export class GetUserProvisioningEventRequest extends $tea.Model {
2568
2733
  directoryId?: string;
2569
- filter?: string;
2570
- maxResults?: number;
2571
- nextToken?: string;
2572
- statusNotifications?: string;
2734
+ eventId?: string;
2573
2735
  static names(): { [key: string]: string } {
2574
2736
  return {
2575
2737
  directoryId: 'DirectoryId',
2576
- filter: 'Filter',
2577
- maxResults: 'MaxResults',
2578
- nextToken: 'NextToken',
2579
- statusNotifications: 'StatusNotifications',
2738
+ eventId: 'EventId',
2580
2739
  };
2581
2740
  }
2582
2741
 
2583
2742
  static types(): { [key: string]: any } {
2584
2743
  return {
2585
2744
  directoryId: 'string',
2586
- filter: 'string',
2587
- maxResults: 'number',
2588
- nextToken: 'string',
2589
- statusNotifications: 'string',
2745
+ eventId: 'string',
2590
2746
  };
2591
2747
  }
2592
2748
 
@@ -2595,32 +2751,20 @@ export class ListAccessConfigurationsRequest extends $tea.Model {
2595
2751
  }
2596
2752
  }
2597
2753
 
2598
- export class ListAccessConfigurationsResponseBody extends $tea.Model {
2599
- accessConfigurations?: ListAccessConfigurationsResponseBodyAccessConfigurations[];
2600
- isTruncated?: boolean;
2601
- maxResults?: number;
2602
- nextToken?: string;
2754
+ export class GetUserProvisioningEventResponseBody extends $tea.Model {
2603
2755
  requestId?: string;
2604
- totalCounts?: number;
2756
+ userProvisioningEvent?: GetUserProvisioningEventResponseBodyUserProvisioningEvent;
2605
2757
  static names(): { [key: string]: string } {
2606
2758
  return {
2607
- accessConfigurations: 'AccessConfigurations',
2608
- isTruncated: 'IsTruncated',
2609
- maxResults: 'MaxResults',
2610
- nextToken: 'NextToken',
2611
2759
  requestId: 'RequestId',
2612
- totalCounts: 'TotalCounts',
2760
+ userProvisioningEvent: 'UserProvisioningEvent',
2613
2761
  };
2614
2762
  }
2615
2763
 
2616
2764
  static types(): { [key: string]: any } {
2617
2765
  return {
2618
- accessConfigurations: { 'type': 'array', 'itemType': ListAccessConfigurationsResponseBodyAccessConfigurations },
2619
- isTruncated: 'boolean',
2620
- maxResults: 'number',
2621
- nextToken: 'string',
2622
2766
  requestId: 'string',
2623
- totalCounts: 'number',
2767
+ userProvisioningEvent: GetUserProvisioningEventResponseBodyUserProvisioningEvent,
2624
2768
  };
2625
2769
  }
2626
2770
 
@@ -2629,10 +2773,10 @@ export class ListAccessConfigurationsResponseBody extends $tea.Model {
2629
2773
  }
2630
2774
  }
2631
2775
 
2632
- export class ListAccessConfigurationsResponse extends $tea.Model {
2776
+ export class GetUserProvisioningEventResponse extends $tea.Model {
2633
2777
  headers: { [key: string]: string };
2634
2778
  statusCode: number;
2635
- body: ListAccessConfigurationsResponseBody;
2779
+ body: GetUserProvisioningEventResponseBody;
2636
2780
  static names(): { [key: string]: string } {
2637
2781
  return {
2638
2782
  headers: 'headers',
@@ -2645,7 +2789,7 @@ export class ListAccessConfigurationsResponse extends $tea.Model {
2645
2789
  return {
2646
2790
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2647
2791
  statusCode: 'number',
2648
- body: ListAccessConfigurationsResponseBody,
2792
+ body: GetUserProvisioningEventResponseBody,
2649
2793
  };
2650
2794
  }
2651
2795
 
@@ -2654,23 +2798,42 @@ export class ListAccessConfigurationsResponse extends $tea.Model {
2654
2798
  }
2655
2799
  }
2656
2800
 
2657
- export class ListDirectoriesResponseBody extends $tea.Model {
2658
- directories?: ListDirectoriesResponseBodyDirectories[];
2801
+ export class GetUserProvisioningRdAccountStatisticsRequest extends $tea.Model {
2802
+ directoryId?: string;
2803
+ rdMemberId?: string;
2804
+ static names(): { [key: string]: string } {
2805
+ return {
2806
+ directoryId: 'DirectoryId',
2807
+ rdMemberId: 'RdMemberId',
2808
+ };
2809
+ }
2810
+
2811
+ static types(): { [key: string]: any } {
2812
+ return {
2813
+ directoryId: 'string',
2814
+ rdMemberId: 'string',
2815
+ };
2816
+ }
2817
+
2818
+ constructor(map?: { [key: string]: any }) {
2819
+ super(map);
2820
+ }
2821
+ }
2822
+
2823
+ export class GetUserProvisioningRdAccountStatisticsResponseBody extends $tea.Model {
2659
2824
  requestId?: string;
2660
- totalCounts?: number;
2825
+ userProvisioningStatistics?: GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics;
2661
2826
  static names(): { [key: string]: string } {
2662
2827
  return {
2663
- directories: 'Directories',
2664
2828
  requestId: 'RequestId',
2665
- totalCounts: 'TotalCounts',
2829
+ userProvisioningStatistics: 'UserProvisioningStatistics',
2666
2830
  };
2667
2831
  }
2668
2832
 
2669
2833
  static types(): { [key: string]: any } {
2670
2834
  return {
2671
- directories: { 'type': 'array', 'itemType': ListDirectoriesResponseBodyDirectories },
2672
2835
  requestId: 'string',
2673
- totalCounts: 'number',
2836
+ userProvisioningStatistics: GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics,
2674
2837
  };
2675
2838
  }
2676
2839
 
@@ -2679,10 +2842,10 @@ export class ListDirectoriesResponseBody extends $tea.Model {
2679
2842
  }
2680
2843
  }
2681
2844
 
2682
- export class ListDirectoriesResponse extends $tea.Model {
2845
+ export class GetUserProvisioningRdAccountStatisticsResponse extends $tea.Model {
2683
2846
  headers: { [key: string]: string };
2684
2847
  statusCode: number;
2685
- body: ListDirectoriesResponseBody;
2848
+ body: GetUserProvisioningRdAccountStatisticsResponseBody;
2686
2849
  static names(): { [key: string]: string } {
2687
2850
  return {
2688
2851
  headers: 'headers',
@@ -2695,7 +2858,7 @@ export class ListDirectoriesResponse extends $tea.Model {
2695
2858
  return {
2696
2859
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2697
2860
  statusCode: 'number',
2698
- body: ListDirectoriesResponseBody,
2861
+ body: GetUserProvisioningRdAccountStatisticsResponseBody,
2699
2862
  };
2700
2863
  }
2701
2864
 
@@ -2704,17 +2867,20 @@ export class ListDirectoriesResponse extends $tea.Model {
2704
2867
  }
2705
2868
  }
2706
2869
 
2707
- export class ListExternalSAMLIdPCertificatesRequest extends $tea.Model {
2870
+ export class GetUserProvisioningStatisticsRequest extends $tea.Model {
2708
2871
  directoryId?: string;
2872
+ userProvisioningId?: string;
2709
2873
  static names(): { [key: string]: string } {
2710
2874
  return {
2711
2875
  directoryId: 'DirectoryId',
2876
+ userProvisioningId: 'UserProvisioningId',
2712
2877
  };
2713
2878
  }
2714
2879
 
2715
2880
  static types(): { [key: string]: any } {
2716
2881
  return {
2717
2882
  directoryId: 'string',
2883
+ userProvisioningId: 'string',
2718
2884
  };
2719
2885
  }
2720
2886
 
@@ -2723,23 +2889,20 @@ export class ListExternalSAMLIdPCertificatesRequest extends $tea.Model {
2723
2889
  }
2724
2890
  }
2725
2891
 
2726
- export class ListExternalSAMLIdPCertificatesResponseBody extends $tea.Model {
2892
+ export class GetUserProvisioningStatisticsResponseBody extends $tea.Model {
2727
2893
  requestId?: string;
2728
- SAMLIdPCertificates?: ListExternalSAMLIdPCertificatesResponseBodySAMLIdPCertificates[];
2729
- totalCounts?: number;
2894
+ userProvisioningStatistics?: GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics;
2730
2895
  static names(): { [key: string]: string } {
2731
2896
  return {
2732
2897
  requestId: 'RequestId',
2733
- SAMLIdPCertificates: 'SAMLIdPCertificates',
2734
- totalCounts: 'TotalCounts',
2898
+ userProvisioningStatistics: 'UserProvisioningStatistics',
2735
2899
  };
2736
2900
  }
2737
2901
 
2738
2902
  static types(): { [key: string]: any } {
2739
2903
  return {
2740
2904
  requestId: 'string',
2741
- SAMLIdPCertificates: { 'type': 'array', 'itemType': ListExternalSAMLIdPCertificatesResponseBodySAMLIdPCertificates },
2742
- totalCounts: 'number',
2905
+ userProvisioningStatistics: GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics,
2743
2906
  };
2744
2907
  }
2745
2908
 
@@ -2748,10 +2911,10 @@ export class ListExternalSAMLIdPCertificatesResponseBody extends $tea.Model {
2748
2911
  }
2749
2912
  }
2750
2913
 
2751
- export class ListExternalSAMLIdPCertificatesResponse extends $tea.Model {
2914
+ export class GetUserProvisioningStatisticsResponse extends $tea.Model {
2752
2915
  headers: { [key: string]: string };
2753
2916
  statusCode: number;
2754
- body: ListExternalSAMLIdPCertificatesResponseBody;
2917
+ body: GetUserProvisioningStatisticsResponseBody;
2755
2918
  static names(): { [key: string]: string } {
2756
2919
  return {
2757
2920
  headers: 'headers',
@@ -2764,7 +2927,7 @@ export class ListExternalSAMLIdPCertificatesResponse extends $tea.Model {
2764
2927
  return {
2765
2928
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2766
2929
  statusCode: 'number',
2767
- body: ListExternalSAMLIdPCertificatesResponseBody,
2930
+ body: GetUserProvisioningStatisticsResponseBody,
2768
2931
  };
2769
2932
  }
2770
2933
 
@@ -2773,26 +2936,38 @@ export class ListExternalSAMLIdPCertificatesResponse extends $tea.Model {
2773
2936
  }
2774
2937
  }
2775
2938
 
2776
- export class ListGroupMembersRequest extends $tea.Model {
2939
+ export class ListAccessAssignmentsRequest extends $tea.Model {
2940
+ accessConfigurationId?: string;
2777
2941
  directoryId?: string;
2778
- groupId?: string;
2779
2942
  maxResults?: number;
2780
2943
  nextToken?: string;
2944
+ principalId?: string;
2945
+ principalType?: string;
2946
+ targetId?: string;
2947
+ targetType?: string;
2781
2948
  static names(): { [key: string]: string } {
2782
2949
  return {
2950
+ accessConfigurationId: 'AccessConfigurationId',
2783
2951
  directoryId: 'DirectoryId',
2784
- groupId: 'GroupId',
2785
2952
  maxResults: 'MaxResults',
2786
2953
  nextToken: 'NextToken',
2954
+ principalId: 'PrincipalId',
2955
+ principalType: 'PrincipalType',
2956
+ targetId: 'TargetId',
2957
+ targetType: 'TargetType',
2787
2958
  };
2788
2959
  }
2789
2960
 
2790
2961
  static types(): { [key: string]: any } {
2791
2962
  return {
2963
+ accessConfigurationId: 'string',
2792
2964
  directoryId: 'string',
2793
- groupId: 'string',
2794
2965
  maxResults: 'number',
2795
2966
  nextToken: 'string',
2967
+ principalId: 'string',
2968
+ principalType: 'string',
2969
+ targetId: 'string',
2970
+ targetType: 'string',
2796
2971
  };
2797
2972
  }
2798
2973
 
@@ -2801,8 +2976,8 @@ export class ListGroupMembersRequest extends $tea.Model {
2801
2976
  }
2802
2977
  }
2803
2978
 
2804
- export class ListGroupMembersResponseBody extends $tea.Model {
2805
- groupMembers?: ListGroupMembersResponseBodyGroupMembers[];
2979
+ export class ListAccessAssignmentsResponseBody extends $tea.Model {
2980
+ accessAssignments?: ListAccessAssignmentsResponseBodyAccessAssignments[];
2806
2981
  isTruncated?: boolean;
2807
2982
  maxResults?: number;
2808
2983
  nextToken?: string;
@@ -2810,7 +2985,7 @@ export class ListGroupMembersResponseBody extends $tea.Model {
2810
2985
  totalCounts?: number;
2811
2986
  static names(): { [key: string]: string } {
2812
2987
  return {
2813
- groupMembers: 'GroupMembers',
2988
+ accessAssignments: 'AccessAssignments',
2814
2989
  isTruncated: 'IsTruncated',
2815
2990
  maxResults: 'MaxResults',
2816
2991
  nextToken: 'NextToken',
@@ -2821,7 +2996,7 @@ export class ListGroupMembersResponseBody extends $tea.Model {
2821
2996
 
2822
2997
  static types(): { [key: string]: any } {
2823
2998
  return {
2824
- groupMembers: { 'type': 'array', 'itemType': ListGroupMembersResponseBodyGroupMembers },
2999
+ accessAssignments: { 'type': 'array', 'itemType': ListAccessAssignmentsResponseBodyAccessAssignments },
2825
3000
  isTruncated: 'boolean',
2826
3001
  maxResults: 'number',
2827
3002
  nextToken: 'string',
@@ -2835,10 +3010,10 @@ export class ListGroupMembersResponseBody extends $tea.Model {
2835
3010
  }
2836
3011
  }
2837
3012
 
2838
- export class ListGroupMembersResponse extends $tea.Model {
3013
+ export class ListAccessAssignmentsResponse extends $tea.Model {
2839
3014
  headers: { [key: string]: string };
2840
3015
  statusCode: number;
2841
- body: ListGroupMembersResponseBody;
3016
+ body: ListAccessAssignmentsResponseBody;
2842
3017
  static names(): { [key: string]: string } {
2843
3018
  return {
2844
3019
  headers: 'headers',
@@ -2851,7 +3026,7 @@ export class ListGroupMembersResponse extends $tea.Model {
2851
3026
  return {
2852
3027
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2853
3028
  statusCode: 'number',
2854
- body: ListGroupMembersResponseBody,
3029
+ body: ListAccessAssignmentsResponseBody,
2855
3030
  };
2856
3031
  }
2857
3032
 
@@ -2860,29 +3035,35 @@ export class ListGroupMembersResponse extends $tea.Model {
2860
3035
  }
2861
3036
  }
2862
3037
 
2863
- export class ListGroupsRequest extends $tea.Model {
3038
+ export class ListAccessConfigurationProvisioningsRequest extends $tea.Model {
3039
+ accessConfigurationId?: string;
2864
3040
  directoryId?: string;
2865
- filter?: string;
2866
3041
  maxResults?: number;
2867
3042
  nextToken?: string;
2868
- provisionType?: string;
3043
+ provisioningStatus?: string;
3044
+ targetId?: string;
3045
+ targetType?: string;
2869
3046
  static names(): { [key: string]: string } {
2870
3047
  return {
3048
+ accessConfigurationId: 'AccessConfigurationId',
2871
3049
  directoryId: 'DirectoryId',
2872
- filter: 'Filter',
2873
3050
  maxResults: 'MaxResults',
2874
3051
  nextToken: 'NextToken',
2875
- provisionType: 'ProvisionType',
3052
+ provisioningStatus: 'ProvisioningStatus',
3053
+ targetId: 'TargetId',
3054
+ targetType: 'TargetType',
2876
3055
  };
2877
3056
  }
2878
3057
 
2879
3058
  static types(): { [key: string]: any } {
2880
3059
  return {
3060
+ accessConfigurationId: 'string',
2881
3061
  directoryId: 'string',
2882
- filter: 'string',
2883
3062
  maxResults: 'number',
2884
3063
  nextToken: 'string',
2885
- provisionType: 'string',
3064
+ provisioningStatus: 'string',
3065
+ targetId: 'string',
3066
+ targetType: 'string',
2886
3067
  };
2887
3068
  }
2888
3069
 
@@ -2891,8 +3072,8 @@ export class ListGroupsRequest extends $tea.Model {
2891
3072
  }
2892
3073
  }
2893
3074
 
2894
- export class ListGroupsResponseBody extends $tea.Model {
2895
- groups?: ListGroupsResponseBodyGroups[];
3075
+ export class ListAccessConfigurationProvisioningsResponseBody extends $tea.Model {
3076
+ accessConfigurationProvisionings?: ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings[];
2896
3077
  isTruncated?: boolean;
2897
3078
  maxResults?: number;
2898
3079
  nextToken?: string;
@@ -2900,7 +3081,7 @@ export class ListGroupsResponseBody extends $tea.Model {
2900
3081
  totalCounts?: number;
2901
3082
  static names(): { [key: string]: string } {
2902
3083
  return {
2903
- groups: 'Groups',
3084
+ accessConfigurationProvisionings: 'AccessConfigurationProvisionings',
2904
3085
  isTruncated: 'IsTruncated',
2905
3086
  maxResults: 'MaxResults',
2906
3087
  nextToken: 'NextToken',
@@ -2911,7 +3092,7 @@ export class ListGroupsResponseBody extends $tea.Model {
2911
3092
 
2912
3093
  static types(): { [key: string]: any } {
2913
3094
  return {
2914
- groups: { 'type': 'array', 'itemType': ListGroupsResponseBodyGroups },
3095
+ accessConfigurationProvisionings: { 'type': 'array', 'itemType': ListAccessConfigurationProvisioningsResponseBodyAccessConfigurationProvisionings },
2915
3096
  isTruncated: 'boolean',
2916
3097
  maxResults: 'number',
2917
3098
  nextToken: 'string',
@@ -2925,10 +3106,10 @@ export class ListGroupsResponseBody extends $tea.Model {
2925
3106
  }
2926
3107
  }
2927
3108
 
2928
- export class ListGroupsResponse extends $tea.Model {
3109
+ export class ListAccessConfigurationProvisioningsResponse extends $tea.Model {
2929
3110
  headers: { [key: string]: string };
2930
3111
  statusCode: number;
2931
- body: ListGroupsResponseBody;
3112
+ body: ListAccessConfigurationProvisioningsResponseBody;
2932
3113
  static names(): { [key: string]: string } {
2933
3114
  return {
2934
3115
  headers: 'headers',
@@ -2941,7 +3122,7 @@ export class ListGroupsResponse extends $tea.Model {
2941
3122
  return {
2942
3123
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2943
3124
  statusCode: 'number',
2944
- body: ListGroupsResponseBody,
3125
+ body: ListAccessConfigurationProvisioningsResponseBody,
2945
3126
  };
2946
3127
  }
2947
3128
 
@@ -2950,26 +3131,29 @@ export class ListGroupsResponse extends $tea.Model {
2950
3131
  }
2951
3132
  }
2952
3133
 
2953
- export class ListJoinedGroupsForUserRequest extends $tea.Model {
3134
+ export class ListAccessConfigurationsRequest extends $tea.Model {
2954
3135
  directoryId?: string;
3136
+ filter?: string;
2955
3137
  maxResults?: number;
2956
3138
  nextToken?: string;
2957
- userId?: string;
3139
+ statusNotifications?: string;
2958
3140
  static names(): { [key: string]: string } {
2959
3141
  return {
2960
3142
  directoryId: 'DirectoryId',
3143
+ filter: 'Filter',
2961
3144
  maxResults: 'MaxResults',
2962
3145
  nextToken: 'NextToken',
2963
- userId: 'UserId',
3146
+ statusNotifications: 'StatusNotifications',
2964
3147
  };
2965
3148
  }
2966
3149
 
2967
3150
  static types(): { [key: string]: any } {
2968
3151
  return {
2969
3152
  directoryId: 'string',
3153
+ filter: 'string',
2970
3154
  maxResults: 'number',
2971
3155
  nextToken: 'string',
2972
- userId: 'string',
3156
+ statusNotifications: 'string',
2973
3157
  };
2974
3158
  }
2975
3159
 
@@ -2978,17 +3162,17 @@ export class ListJoinedGroupsForUserRequest extends $tea.Model {
2978
3162
  }
2979
3163
  }
2980
3164
 
2981
- export class ListJoinedGroupsForUserResponseBody extends $tea.Model {
3165
+ export class ListAccessConfigurationsResponseBody extends $tea.Model {
3166
+ accessConfigurations?: ListAccessConfigurationsResponseBodyAccessConfigurations[];
2982
3167
  isTruncated?: boolean;
2983
- joinedGroups?: ListJoinedGroupsForUserResponseBodyJoinedGroups[];
2984
3168
  maxResults?: number;
2985
3169
  nextToken?: string;
2986
3170
  requestId?: string;
2987
3171
  totalCounts?: number;
2988
3172
  static names(): { [key: string]: string } {
2989
3173
  return {
3174
+ accessConfigurations: 'AccessConfigurations',
2990
3175
  isTruncated: 'IsTruncated',
2991
- joinedGroups: 'JoinedGroups',
2992
3176
  maxResults: 'MaxResults',
2993
3177
  nextToken: 'NextToken',
2994
3178
  requestId: 'RequestId',
@@ -2998,8 +3182,8 @@ export class ListJoinedGroupsForUserResponseBody extends $tea.Model {
2998
3182
 
2999
3183
  static types(): { [key: string]: any } {
3000
3184
  return {
3185
+ accessConfigurations: { 'type': 'array', 'itemType': ListAccessConfigurationsResponseBodyAccessConfigurations },
3001
3186
  isTruncated: 'boolean',
3002
- joinedGroups: { 'type': 'array', 'itemType': ListJoinedGroupsForUserResponseBodyJoinedGroups },
3003
3187
  maxResults: 'number',
3004
3188
  nextToken: 'string',
3005
3189
  requestId: 'string',
@@ -3012,10 +3196,10 @@ export class ListJoinedGroupsForUserResponseBody extends $tea.Model {
3012
3196
  }
3013
3197
  }
3014
3198
 
3015
- export class ListJoinedGroupsForUserResponse extends $tea.Model {
3199
+ export class ListAccessConfigurationsResponse extends $tea.Model {
3016
3200
  headers: { [key: string]: string };
3017
3201
  statusCode: number;
3018
- body: ListJoinedGroupsForUserResponseBody;
3202
+ body: ListAccessConfigurationsResponseBody;
3019
3203
  static names(): { [key: string]: string } {
3020
3204
  return {
3021
3205
  headers: 'headers',
@@ -3028,29 +3212,7 @@ export class ListJoinedGroupsForUserResponse extends $tea.Model {
3028
3212
  return {
3029
3213
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3030
3214
  statusCode: 'number',
3031
- body: ListJoinedGroupsForUserResponseBody,
3032
- };
3033
- }
3034
-
3035
- constructor(map?: { [key: string]: any }) {
3036
- super(map);
3037
- }
3038
- }
3039
-
3040
- export class ListMFADevicesForUserRequest extends $tea.Model {
3041
- directoryId?: string;
3042
- userId?: string;
3043
- static names(): { [key: string]: string } {
3044
- return {
3045
- directoryId: 'DirectoryId',
3046
- userId: 'UserId',
3047
- };
3048
- }
3049
-
3050
- static types(): { [key: string]: any } {
3051
- return {
3052
- directoryId: 'string',
3053
- userId: 'string',
3215
+ body: ListAccessConfigurationsResponseBody,
3054
3216
  };
3055
3217
  }
3056
3218
 
@@ -3059,13 +3221,13 @@ export class ListMFADevicesForUserRequest extends $tea.Model {
3059
3221
  }
3060
3222
  }
3061
3223
 
3062
- export class ListMFADevicesForUserResponseBody extends $tea.Model {
3063
- MFADevices?: ListMFADevicesForUserResponseBodyMFADevices[];
3224
+ export class ListDirectoriesResponseBody extends $tea.Model {
3225
+ directories?: ListDirectoriesResponseBodyDirectories[];
3064
3226
  requestId?: string;
3065
3227
  totalCounts?: number;
3066
3228
  static names(): { [key: string]: string } {
3067
3229
  return {
3068
- MFADevices: 'MFADevices',
3230
+ directories: 'Directories',
3069
3231
  requestId: 'RequestId',
3070
3232
  totalCounts: 'TotalCounts',
3071
3233
  };
@@ -3073,7 +3235,7 @@ export class ListMFADevicesForUserResponseBody extends $tea.Model {
3073
3235
 
3074
3236
  static types(): { [key: string]: any } {
3075
3237
  return {
3076
- MFADevices: { 'type': 'array', 'itemType': ListMFADevicesForUserResponseBodyMFADevices },
3238
+ directories: { 'type': 'array', 'itemType': ListDirectoriesResponseBodyDirectories },
3077
3239
  requestId: 'string',
3078
3240
  totalCounts: 'number',
3079
3241
  };
@@ -3084,10 +3246,10 @@ export class ListMFADevicesForUserResponseBody extends $tea.Model {
3084
3246
  }
3085
3247
  }
3086
3248
 
3087
- export class ListMFADevicesForUserResponse extends $tea.Model {
3249
+ export class ListDirectoriesResponse extends $tea.Model {
3088
3250
  headers: { [key: string]: string };
3089
3251
  statusCode: number;
3090
- body: ListMFADevicesForUserResponseBody;
3252
+ body: ListDirectoriesResponseBody;
3091
3253
  static names(): { [key: string]: string } {
3092
3254
  return {
3093
3255
  headers: 'headers',
@@ -3100,7 +3262,7 @@ export class ListMFADevicesForUserResponse extends $tea.Model {
3100
3262
  return {
3101
3263
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3102
3264
  statusCode: 'number',
3103
- body: ListMFADevicesForUserResponseBody,
3265
+ body: ListDirectoriesResponseBody,
3104
3266
  };
3105
3267
  }
3106
3268
 
@@ -3109,23 +3271,17 @@ export class ListMFADevicesForUserResponse extends $tea.Model {
3109
3271
  }
3110
3272
  }
3111
3273
 
3112
- export class ListPermissionPoliciesInAccessConfigurationRequest extends $tea.Model {
3113
- accessConfigurationId?: string;
3274
+ export class ListExternalSAMLIdPCertificatesRequest extends $tea.Model {
3114
3275
  directoryId?: string;
3115
- permissionPolicyType?: string;
3116
3276
  static names(): { [key: string]: string } {
3117
3277
  return {
3118
- accessConfigurationId: 'AccessConfigurationId',
3119
3278
  directoryId: 'DirectoryId',
3120
- permissionPolicyType: 'PermissionPolicyType',
3121
3279
  };
3122
3280
  }
3123
3281
 
3124
3282
  static types(): { [key: string]: any } {
3125
3283
  return {
3126
- accessConfigurationId: 'string',
3127
3284
  directoryId: 'string',
3128
- permissionPolicyType: 'string',
3129
3285
  };
3130
3286
  }
3131
3287
 
@@ -3134,22 +3290,22 @@ export class ListPermissionPoliciesInAccessConfigurationRequest extends $tea.Mod
3134
3290
  }
3135
3291
  }
3136
3292
 
3137
- export class ListPermissionPoliciesInAccessConfigurationResponseBody extends $tea.Model {
3138
- permissionPolicies?: ListPermissionPoliciesInAccessConfigurationResponseBodyPermissionPolicies[];
3293
+ export class ListExternalSAMLIdPCertificatesResponseBody extends $tea.Model {
3139
3294
  requestId?: string;
3295
+ SAMLIdPCertificates?: ListExternalSAMLIdPCertificatesResponseBodySAMLIdPCertificates[];
3140
3296
  totalCounts?: number;
3141
3297
  static names(): { [key: string]: string } {
3142
3298
  return {
3143
- permissionPolicies: 'PermissionPolicies',
3144
3299
  requestId: 'RequestId',
3300
+ SAMLIdPCertificates: 'SAMLIdPCertificates',
3145
3301
  totalCounts: 'TotalCounts',
3146
3302
  };
3147
3303
  }
3148
3304
 
3149
3305
  static types(): { [key: string]: any } {
3150
3306
  return {
3151
- permissionPolicies: { 'type': 'array', 'itemType': ListPermissionPoliciesInAccessConfigurationResponseBodyPermissionPolicies },
3152
3307
  requestId: 'string',
3308
+ SAMLIdPCertificates: { 'type': 'array', 'itemType': ListExternalSAMLIdPCertificatesResponseBodySAMLIdPCertificates },
3153
3309
  totalCounts: 'number',
3154
3310
  };
3155
3311
  }
@@ -3159,10 +3315,10 @@ export class ListPermissionPoliciesInAccessConfigurationResponseBody extends $te
3159
3315
  }
3160
3316
  }
3161
3317
 
3162
- export class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Model {
3318
+ export class ListExternalSAMLIdPCertificatesResponse extends $tea.Model {
3163
3319
  headers: { [key: string]: string };
3164
3320
  statusCode: number;
3165
- body: ListPermissionPoliciesInAccessConfigurationResponseBody;
3321
+ body: ListExternalSAMLIdPCertificatesResponseBody;
3166
3322
  static names(): { [key: string]: string } {
3167
3323
  return {
3168
3324
  headers: 'headers',
@@ -3175,7 +3331,7 @@ export class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Mo
3175
3331
  return {
3176
3332
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3177
3333
  statusCode: 'number',
3178
- body: ListPermissionPoliciesInAccessConfigurationResponseBody,
3334
+ body: ListExternalSAMLIdPCertificatesResponseBody,
3179
3335
  };
3180
3336
  }
3181
3337
 
@@ -3184,17 +3340,26 @@ export class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Mo
3184
3340
  }
3185
3341
  }
3186
3342
 
3187
- export class ListSCIMServerCredentialsRequest extends $tea.Model {
3343
+ export class ListGroupMembersRequest extends $tea.Model {
3188
3344
  directoryId?: string;
3345
+ groupId?: string;
3346
+ maxResults?: number;
3347
+ nextToken?: string;
3189
3348
  static names(): { [key: string]: string } {
3190
3349
  return {
3191
3350
  directoryId: 'DirectoryId',
3351
+ groupId: 'GroupId',
3352
+ maxResults: 'MaxResults',
3353
+ nextToken: 'NextToken',
3192
3354
  };
3193
3355
  }
3194
3356
 
3195
3357
  static types(): { [key: string]: any } {
3196
3358
  return {
3197
3359
  directoryId: 'string',
3360
+ groupId: 'string',
3361
+ maxResults: 'number',
3362
+ nextToken: 'string',
3198
3363
  };
3199
3364
  }
3200
3365
 
@@ -3203,9 +3368,411 @@ export class ListSCIMServerCredentialsRequest extends $tea.Model {
3203
3368
  }
3204
3369
  }
3205
3370
 
3206
- export class ListSCIMServerCredentialsResponseBody extends $tea.Model {
3371
+ export class ListGroupMembersResponseBody extends $tea.Model {
3372
+ groupMembers?: ListGroupMembersResponseBodyGroupMembers[];
3373
+ isTruncated?: boolean;
3374
+ maxResults?: number;
3375
+ nextToken?: string;
3207
3376
  requestId?: string;
3208
- SCIMServerCredentials?: ListSCIMServerCredentialsResponseBodySCIMServerCredentials[];
3377
+ totalCounts?: number;
3378
+ static names(): { [key: string]: string } {
3379
+ return {
3380
+ groupMembers: 'GroupMembers',
3381
+ isTruncated: 'IsTruncated',
3382
+ maxResults: 'MaxResults',
3383
+ nextToken: 'NextToken',
3384
+ requestId: 'RequestId',
3385
+ totalCounts: 'TotalCounts',
3386
+ };
3387
+ }
3388
+
3389
+ static types(): { [key: string]: any } {
3390
+ return {
3391
+ groupMembers: { 'type': 'array', 'itemType': ListGroupMembersResponseBodyGroupMembers },
3392
+ isTruncated: 'boolean',
3393
+ maxResults: 'number',
3394
+ nextToken: 'string',
3395
+ requestId: 'string',
3396
+ totalCounts: 'number',
3397
+ };
3398
+ }
3399
+
3400
+ constructor(map?: { [key: string]: any }) {
3401
+ super(map);
3402
+ }
3403
+ }
3404
+
3405
+ export class ListGroupMembersResponse extends $tea.Model {
3406
+ headers: { [key: string]: string };
3407
+ statusCode: number;
3408
+ body: ListGroupMembersResponseBody;
3409
+ static names(): { [key: string]: string } {
3410
+ return {
3411
+ headers: 'headers',
3412
+ statusCode: 'statusCode',
3413
+ body: 'body',
3414
+ };
3415
+ }
3416
+
3417
+ static types(): { [key: string]: any } {
3418
+ return {
3419
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3420
+ statusCode: 'number',
3421
+ body: ListGroupMembersResponseBody,
3422
+ };
3423
+ }
3424
+
3425
+ constructor(map?: { [key: string]: any }) {
3426
+ super(map);
3427
+ }
3428
+ }
3429
+
3430
+ export class ListGroupsRequest extends $tea.Model {
3431
+ directoryId?: string;
3432
+ filter?: string;
3433
+ maxResults?: number;
3434
+ nextToken?: string;
3435
+ provisionType?: string;
3436
+ static names(): { [key: string]: string } {
3437
+ return {
3438
+ directoryId: 'DirectoryId',
3439
+ filter: 'Filter',
3440
+ maxResults: 'MaxResults',
3441
+ nextToken: 'NextToken',
3442
+ provisionType: 'ProvisionType',
3443
+ };
3444
+ }
3445
+
3446
+ static types(): { [key: string]: any } {
3447
+ return {
3448
+ directoryId: 'string',
3449
+ filter: 'string',
3450
+ maxResults: 'number',
3451
+ nextToken: 'string',
3452
+ provisionType: 'string',
3453
+ };
3454
+ }
3455
+
3456
+ constructor(map?: { [key: string]: any }) {
3457
+ super(map);
3458
+ }
3459
+ }
3460
+
3461
+ export class ListGroupsResponseBody extends $tea.Model {
3462
+ groups?: ListGroupsResponseBodyGroups[];
3463
+ isTruncated?: boolean;
3464
+ maxResults?: number;
3465
+ nextToken?: string;
3466
+ requestId?: string;
3467
+ totalCounts?: number;
3468
+ static names(): { [key: string]: string } {
3469
+ return {
3470
+ groups: 'Groups',
3471
+ isTruncated: 'IsTruncated',
3472
+ maxResults: 'MaxResults',
3473
+ nextToken: 'NextToken',
3474
+ requestId: 'RequestId',
3475
+ totalCounts: 'TotalCounts',
3476
+ };
3477
+ }
3478
+
3479
+ static types(): { [key: string]: any } {
3480
+ return {
3481
+ groups: { 'type': 'array', 'itemType': ListGroupsResponseBodyGroups },
3482
+ isTruncated: 'boolean',
3483
+ maxResults: 'number',
3484
+ nextToken: 'string',
3485
+ requestId: 'string',
3486
+ totalCounts: 'number',
3487
+ };
3488
+ }
3489
+
3490
+ constructor(map?: { [key: string]: any }) {
3491
+ super(map);
3492
+ }
3493
+ }
3494
+
3495
+ export class ListGroupsResponse extends $tea.Model {
3496
+ headers: { [key: string]: string };
3497
+ statusCode: number;
3498
+ body: ListGroupsResponseBody;
3499
+ static names(): { [key: string]: string } {
3500
+ return {
3501
+ headers: 'headers',
3502
+ statusCode: 'statusCode',
3503
+ body: 'body',
3504
+ };
3505
+ }
3506
+
3507
+ static types(): { [key: string]: any } {
3508
+ return {
3509
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3510
+ statusCode: 'number',
3511
+ body: ListGroupsResponseBody,
3512
+ };
3513
+ }
3514
+
3515
+ constructor(map?: { [key: string]: any }) {
3516
+ super(map);
3517
+ }
3518
+ }
3519
+
3520
+ export class ListJoinedGroupsForUserRequest extends $tea.Model {
3521
+ directoryId?: string;
3522
+ maxResults?: number;
3523
+ nextToken?: string;
3524
+ userId?: string;
3525
+ static names(): { [key: string]: string } {
3526
+ return {
3527
+ directoryId: 'DirectoryId',
3528
+ maxResults: 'MaxResults',
3529
+ nextToken: 'NextToken',
3530
+ userId: 'UserId',
3531
+ };
3532
+ }
3533
+
3534
+ static types(): { [key: string]: any } {
3535
+ return {
3536
+ directoryId: 'string',
3537
+ maxResults: 'number',
3538
+ nextToken: 'string',
3539
+ userId: 'string',
3540
+ };
3541
+ }
3542
+
3543
+ constructor(map?: { [key: string]: any }) {
3544
+ super(map);
3545
+ }
3546
+ }
3547
+
3548
+ export class ListJoinedGroupsForUserResponseBody extends $tea.Model {
3549
+ isTruncated?: boolean;
3550
+ joinedGroups?: ListJoinedGroupsForUserResponseBodyJoinedGroups[];
3551
+ maxResults?: number;
3552
+ nextToken?: string;
3553
+ requestId?: string;
3554
+ totalCounts?: number;
3555
+ static names(): { [key: string]: string } {
3556
+ return {
3557
+ isTruncated: 'IsTruncated',
3558
+ joinedGroups: 'JoinedGroups',
3559
+ maxResults: 'MaxResults',
3560
+ nextToken: 'NextToken',
3561
+ requestId: 'RequestId',
3562
+ totalCounts: 'TotalCounts',
3563
+ };
3564
+ }
3565
+
3566
+ static types(): { [key: string]: any } {
3567
+ return {
3568
+ isTruncated: 'boolean',
3569
+ joinedGroups: { 'type': 'array', 'itemType': ListJoinedGroupsForUserResponseBodyJoinedGroups },
3570
+ maxResults: 'number',
3571
+ nextToken: 'string',
3572
+ requestId: 'string',
3573
+ totalCounts: 'number',
3574
+ };
3575
+ }
3576
+
3577
+ constructor(map?: { [key: string]: any }) {
3578
+ super(map);
3579
+ }
3580
+ }
3581
+
3582
+ export class ListJoinedGroupsForUserResponse extends $tea.Model {
3583
+ headers: { [key: string]: string };
3584
+ statusCode: number;
3585
+ body: ListJoinedGroupsForUserResponseBody;
3586
+ static names(): { [key: string]: string } {
3587
+ return {
3588
+ headers: 'headers',
3589
+ statusCode: 'statusCode',
3590
+ body: 'body',
3591
+ };
3592
+ }
3593
+
3594
+ static types(): { [key: string]: any } {
3595
+ return {
3596
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3597
+ statusCode: 'number',
3598
+ body: ListJoinedGroupsForUserResponseBody,
3599
+ };
3600
+ }
3601
+
3602
+ constructor(map?: { [key: string]: any }) {
3603
+ super(map);
3604
+ }
3605
+ }
3606
+
3607
+ export class ListMFADevicesForUserRequest extends $tea.Model {
3608
+ directoryId?: string;
3609
+ userId?: string;
3610
+ static names(): { [key: string]: string } {
3611
+ return {
3612
+ directoryId: 'DirectoryId',
3613
+ userId: 'UserId',
3614
+ };
3615
+ }
3616
+
3617
+ static types(): { [key: string]: any } {
3618
+ return {
3619
+ directoryId: 'string',
3620
+ userId: 'string',
3621
+ };
3622
+ }
3623
+
3624
+ constructor(map?: { [key: string]: any }) {
3625
+ super(map);
3626
+ }
3627
+ }
3628
+
3629
+ export class ListMFADevicesForUserResponseBody extends $tea.Model {
3630
+ MFADevices?: ListMFADevicesForUserResponseBodyMFADevices[];
3631
+ requestId?: string;
3632
+ totalCounts?: number;
3633
+ static names(): { [key: string]: string } {
3634
+ return {
3635
+ MFADevices: 'MFADevices',
3636
+ requestId: 'RequestId',
3637
+ totalCounts: 'TotalCounts',
3638
+ };
3639
+ }
3640
+
3641
+ static types(): { [key: string]: any } {
3642
+ return {
3643
+ MFADevices: { 'type': 'array', 'itemType': ListMFADevicesForUserResponseBodyMFADevices },
3644
+ requestId: 'string',
3645
+ totalCounts: 'number',
3646
+ };
3647
+ }
3648
+
3649
+ constructor(map?: { [key: string]: any }) {
3650
+ super(map);
3651
+ }
3652
+ }
3653
+
3654
+ export class ListMFADevicesForUserResponse extends $tea.Model {
3655
+ headers: { [key: string]: string };
3656
+ statusCode: number;
3657
+ body: ListMFADevicesForUserResponseBody;
3658
+ static names(): { [key: string]: string } {
3659
+ return {
3660
+ headers: 'headers',
3661
+ statusCode: 'statusCode',
3662
+ body: 'body',
3663
+ };
3664
+ }
3665
+
3666
+ static types(): { [key: string]: any } {
3667
+ return {
3668
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3669
+ statusCode: 'number',
3670
+ body: ListMFADevicesForUserResponseBody,
3671
+ };
3672
+ }
3673
+
3674
+ constructor(map?: { [key: string]: any }) {
3675
+ super(map);
3676
+ }
3677
+ }
3678
+
3679
+ export class ListPermissionPoliciesInAccessConfigurationRequest extends $tea.Model {
3680
+ accessConfigurationId?: string;
3681
+ directoryId?: string;
3682
+ permissionPolicyType?: string;
3683
+ static names(): { [key: string]: string } {
3684
+ return {
3685
+ accessConfigurationId: 'AccessConfigurationId',
3686
+ directoryId: 'DirectoryId',
3687
+ permissionPolicyType: 'PermissionPolicyType',
3688
+ };
3689
+ }
3690
+
3691
+ static types(): { [key: string]: any } {
3692
+ return {
3693
+ accessConfigurationId: 'string',
3694
+ directoryId: 'string',
3695
+ permissionPolicyType: 'string',
3696
+ };
3697
+ }
3698
+
3699
+ constructor(map?: { [key: string]: any }) {
3700
+ super(map);
3701
+ }
3702
+ }
3703
+
3704
+ export class ListPermissionPoliciesInAccessConfigurationResponseBody extends $tea.Model {
3705
+ permissionPolicies?: ListPermissionPoliciesInAccessConfigurationResponseBodyPermissionPolicies[];
3706
+ requestId?: string;
3707
+ totalCounts?: number;
3708
+ static names(): { [key: string]: string } {
3709
+ return {
3710
+ permissionPolicies: 'PermissionPolicies',
3711
+ requestId: 'RequestId',
3712
+ totalCounts: 'TotalCounts',
3713
+ };
3714
+ }
3715
+
3716
+ static types(): { [key: string]: any } {
3717
+ return {
3718
+ permissionPolicies: { 'type': 'array', 'itemType': ListPermissionPoliciesInAccessConfigurationResponseBodyPermissionPolicies },
3719
+ requestId: 'string',
3720
+ totalCounts: 'number',
3721
+ };
3722
+ }
3723
+
3724
+ constructor(map?: { [key: string]: any }) {
3725
+ super(map);
3726
+ }
3727
+ }
3728
+
3729
+ export class ListPermissionPoliciesInAccessConfigurationResponse extends $tea.Model {
3730
+ headers: { [key: string]: string };
3731
+ statusCode: number;
3732
+ body: ListPermissionPoliciesInAccessConfigurationResponseBody;
3733
+ static names(): { [key: string]: string } {
3734
+ return {
3735
+ headers: 'headers',
3736
+ statusCode: 'statusCode',
3737
+ body: 'body',
3738
+ };
3739
+ }
3740
+
3741
+ static types(): { [key: string]: any } {
3742
+ return {
3743
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3744
+ statusCode: 'number',
3745
+ body: ListPermissionPoliciesInAccessConfigurationResponseBody,
3746
+ };
3747
+ }
3748
+
3749
+ constructor(map?: { [key: string]: any }) {
3750
+ super(map);
3751
+ }
3752
+ }
3753
+
3754
+ export class ListSCIMServerCredentialsRequest extends $tea.Model {
3755
+ directoryId?: string;
3756
+ static names(): { [key: string]: string } {
3757
+ return {
3758
+ directoryId: 'DirectoryId',
3759
+ };
3760
+ }
3761
+
3762
+ static types(): { [key: string]: any } {
3763
+ return {
3764
+ directoryId: 'string',
3765
+ };
3766
+ }
3767
+
3768
+ constructor(map?: { [key: string]: any }) {
3769
+ super(map);
3770
+ }
3771
+ }
3772
+
3773
+ export class ListSCIMServerCredentialsResponseBody extends $tea.Model {
3774
+ requestId?: string;
3775
+ SCIMServerCredentials?: ListSCIMServerCredentialsResponseBodySCIMServerCredentials[];
3209
3776
  totalCounts?: number;
3210
3777
  static names(): { [key: string]: string } {
3211
3778
  return {
@@ -3218,8 +3785,203 @@ export class ListSCIMServerCredentialsResponseBody extends $tea.Model {
3218
3785
  static types(): { [key: string]: any } {
3219
3786
  return {
3220
3787
  requestId: 'string',
3221
- SCIMServerCredentials: { 'type': 'array', 'itemType': ListSCIMServerCredentialsResponseBodySCIMServerCredentials },
3788
+ SCIMServerCredentials: { 'type': 'array', 'itemType': ListSCIMServerCredentialsResponseBodySCIMServerCredentials },
3789
+ totalCounts: 'number',
3790
+ };
3791
+ }
3792
+
3793
+ constructor(map?: { [key: string]: any }) {
3794
+ super(map);
3795
+ }
3796
+ }
3797
+
3798
+ export class ListSCIMServerCredentialsResponse extends $tea.Model {
3799
+ headers: { [key: string]: string };
3800
+ statusCode: number;
3801
+ body: ListSCIMServerCredentialsResponseBody;
3802
+ static names(): { [key: string]: string } {
3803
+ return {
3804
+ headers: 'headers',
3805
+ statusCode: 'statusCode',
3806
+ body: 'body',
3807
+ };
3808
+ }
3809
+
3810
+ static types(): { [key: string]: any } {
3811
+ return {
3812
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3813
+ statusCode: 'number',
3814
+ body: ListSCIMServerCredentialsResponseBody,
3815
+ };
3816
+ }
3817
+
3818
+ constructor(map?: { [key: string]: any }) {
3819
+ super(map);
3820
+ }
3821
+ }
3822
+
3823
+ export class ListTasksRequest extends $tea.Model {
3824
+ accessConfigurationId?: string;
3825
+ directoryId?: string;
3826
+ filter?: string;
3827
+ maxResults?: number;
3828
+ nextToken?: string;
3829
+ principalId?: string;
3830
+ principalType?: string;
3831
+ status?: string;
3832
+ targetId?: string;
3833
+ targetType?: string;
3834
+ taskType?: string;
3835
+ static names(): { [key: string]: string } {
3836
+ return {
3837
+ accessConfigurationId: 'AccessConfigurationId',
3838
+ directoryId: 'DirectoryId',
3839
+ filter: 'Filter',
3840
+ maxResults: 'MaxResults',
3841
+ nextToken: 'NextToken',
3842
+ principalId: 'PrincipalId',
3843
+ principalType: 'PrincipalType',
3844
+ status: 'Status',
3845
+ targetId: 'TargetId',
3846
+ targetType: 'TargetType',
3847
+ taskType: 'TaskType',
3848
+ };
3849
+ }
3850
+
3851
+ static types(): { [key: string]: any } {
3852
+ return {
3853
+ accessConfigurationId: 'string',
3854
+ directoryId: 'string',
3855
+ filter: 'string',
3856
+ maxResults: 'number',
3857
+ nextToken: 'string',
3858
+ principalId: 'string',
3859
+ principalType: 'string',
3860
+ status: 'string',
3861
+ targetId: 'string',
3862
+ targetType: 'string',
3863
+ taskType: 'string',
3864
+ };
3865
+ }
3866
+
3867
+ constructor(map?: { [key: string]: any }) {
3868
+ super(map);
3869
+ }
3870
+ }
3871
+
3872
+ export class ListTasksResponseBody extends $tea.Model {
3873
+ isTruncated?: boolean;
3874
+ maxResults?: number;
3875
+ nextToken?: string;
3876
+ requestId?: string;
3877
+ tasks?: ListTasksResponseBodyTasks[];
3878
+ totalCounts?: number;
3879
+ static names(): { [key: string]: string } {
3880
+ return {
3881
+ isTruncated: 'IsTruncated',
3882
+ maxResults: 'MaxResults',
3883
+ nextToken: 'NextToken',
3884
+ requestId: 'RequestId',
3885
+ tasks: 'Tasks',
3886
+ totalCounts: 'TotalCounts',
3887
+ };
3888
+ }
3889
+
3890
+ static types(): { [key: string]: any } {
3891
+ return {
3892
+ isTruncated: 'boolean',
3893
+ maxResults: 'number',
3894
+ nextToken: 'string',
3895
+ requestId: 'string',
3896
+ tasks: { 'type': 'array', 'itemType': ListTasksResponseBodyTasks },
3897
+ totalCounts: 'number',
3898
+ };
3899
+ }
3900
+
3901
+ constructor(map?: { [key: string]: any }) {
3902
+ super(map);
3903
+ }
3904
+ }
3905
+
3906
+ export class ListTasksResponse extends $tea.Model {
3907
+ headers: { [key: string]: string };
3908
+ statusCode: number;
3909
+ body: ListTasksResponseBody;
3910
+ static names(): { [key: string]: string } {
3911
+ return {
3912
+ headers: 'headers',
3913
+ statusCode: 'statusCode',
3914
+ body: 'body',
3915
+ };
3916
+ }
3917
+
3918
+ static types(): { [key: string]: any } {
3919
+ return {
3920
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3921
+ statusCode: 'number',
3922
+ body: ListTasksResponseBody,
3923
+ };
3924
+ }
3925
+
3926
+ constructor(map?: { [key: string]: any }) {
3927
+ super(map);
3928
+ }
3929
+ }
3930
+
3931
+ export class ListUserProvisioningEventsRequest extends $tea.Model {
3932
+ directoryId?: string;
3933
+ maxResults?: number;
3934
+ nextToken?: string;
3935
+ userProvisioningId?: string;
3936
+ static names(): { [key: string]: string } {
3937
+ return {
3938
+ directoryId: 'DirectoryId',
3939
+ maxResults: 'MaxResults',
3940
+ nextToken: 'NextToken',
3941
+ userProvisioningId: 'UserProvisioningId',
3942
+ };
3943
+ }
3944
+
3945
+ static types(): { [key: string]: any } {
3946
+ return {
3947
+ directoryId: 'string',
3948
+ maxResults: 'number',
3949
+ nextToken: 'string',
3950
+ userProvisioningId: 'string',
3951
+ };
3952
+ }
3953
+
3954
+ constructor(map?: { [key: string]: any }) {
3955
+ super(map);
3956
+ }
3957
+ }
3958
+
3959
+ export class ListUserProvisioningEventsResponseBody extends $tea.Model {
3960
+ isTruncated?: boolean;
3961
+ maxResults?: number;
3962
+ nextToken?: string;
3963
+ requestId?: string;
3964
+ totalCounts?: number;
3965
+ userProvisioningEvents?: ListUserProvisioningEventsResponseBodyUserProvisioningEvents[];
3966
+ static names(): { [key: string]: string } {
3967
+ return {
3968
+ isTruncated: 'IsTruncated',
3969
+ maxResults: 'MaxResults',
3970
+ nextToken: 'NextToken',
3971
+ requestId: 'RequestId',
3972
+ totalCounts: 'TotalCounts',
3973
+ userProvisioningEvents: 'UserProvisioningEvents',
3974
+ };
3975
+ }
3976
+
3977
+ static types(): { [key: string]: any } {
3978
+ return {
3979
+ isTruncated: 'boolean',
3980
+ maxResults: 'number',
3981
+ nextToken: 'string',
3982
+ requestId: 'string',
3222
3983
  totalCounts: 'number',
3984
+ userProvisioningEvents: { 'type': 'array', 'itemType': ListUserProvisioningEventsResponseBodyUserProvisioningEvents },
3223
3985
  };
3224
3986
  }
3225
3987
 
@@ -3228,10 +3990,10 @@ export class ListSCIMServerCredentialsResponseBody extends $tea.Model {
3228
3990
  }
3229
3991
  }
3230
3992
 
3231
- export class ListSCIMServerCredentialsResponse extends $tea.Model {
3993
+ export class ListUserProvisioningEventsResponse extends $tea.Model {
3232
3994
  headers: { [key: string]: string };
3233
3995
  statusCode: number;
3234
- body: ListSCIMServerCredentialsResponseBody;
3996
+ body: ListUserProvisioningEventsResponseBody;
3235
3997
  static names(): { [key: string]: string } {
3236
3998
  return {
3237
3999
  headers: 'headers',
@@ -3244,7 +4006,7 @@ export class ListSCIMServerCredentialsResponse extends $tea.Model {
3244
4006
  return {
3245
4007
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3246
4008
  statusCode: 'number',
3247
- body: ListSCIMServerCredentialsResponseBody,
4009
+ body: ListUserProvisioningEventsResponseBody,
3248
4010
  };
3249
4011
  }
3250
4012
 
@@ -3253,47 +4015,35 @@ export class ListSCIMServerCredentialsResponse extends $tea.Model {
3253
4015
  }
3254
4016
  }
3255
4017
 
3256
- export class ListTasksRequest extends $tea.Model {
3257
- accessConfigurationId?: string;
4018
+ export class ListUserProvisioningsRequest extends $tea.Model {
3258
4019
  directoryId?: string;
3259
- filter?: string;
3260
4020
  maxResults?: number;
3261
4021
  nextToken?: string;
3262
4022
  principalId?: string;
3263
4023
  principalType?: string;
3264
- status?: string;
3265
4024
  targetId?: string;
3266
4025
  targetType?: string;
3267
- taskType?: string;
3268
4026
  static names(): { [key: string]: string } {
3269
4027
  return {
3270
- accessConfigurationId: 'AccessConfigurationId',
3271
4028
  directoryId: 'DirectoryId',
3272
- filter: 'Filter',
3273
4029
  maxResults: 'MaxResults',
3274
4030
  nextToken: 'NextToken',
3275
4031
  principalId: 'PrincipalId',
3276
4032
  principalType: 'PrincipalType',
3277
- status: 'Status',
3278
4033
  targetId: 'TargetId',
3279
4034
  targetType: 'TargetType',
3280
- taskType: 'TaskType',
3281
4035
  };
3282
4036
  }
3283
4037
 
3284
4038
  static types(): { [key: string]: any } {
3285
4039
  return {
3286
- accessConfigurationId: 'string',
3287
4040
  directoryId: 'string',
3288
- filter: 'string',
3289
4041
  maxResults: 'number',
3290
4042
  nextToken: 'string',
3291
4043
  principalId: 'string',
3292
4044
  principalType: 'string',
3293
- status: 'string',
3294
4045
  targetId: 'string',
3295
4046
  targetType: 'string',
3296
- taskType: 'string',
3297
4047
  };
3298
4048
  }
3299
4049
 
@@ -3302,21 +4052,21 @@ export class ListTasksRequest extends $tea.Model {
3302
4052
  }
3303
4053
  }
3304
4054
 
3305
- export class ListTasksResponseBody extends $tea.Model {
4055
+ export class ListUserProvisioningsResponseBody extends $tea.Model {
3306
4056
  isTruncated?: boolean;
3307
4057
  maxResults?: number;
3308
4058
  nextToken?: string;
3309
4059
  requestId?: string;
3310
- tasks?: ListTasksResponseBodyTasks[];
3311
4060
  totalCounts?: number;
4061
+ userProvisionings?: ListUserProvisioningsResponseBodyUserProvisionings[];
3312
4062
  static names(): { [key: string]: string } {
3313
4063
  return {
3314
4064
  isTruncated: 'IsTruncated',
3315
4065
  maxResults: 'MaxResults',
3316
4066
  nextToken: 'NextToken',
3317
4067
  requestId: 'RequestId',
3318
- tasks: 'Tasks',
3319
4068
  totalCounts: 'TotalCounts',
4069
+ userProvisionings: 'UserProvisionings',
3320
4070
  };
3321
4071
  }
3322
4072
 
@@ -3326,8 +4076,8 @@ export class ListTasksResponseBody extends $tea.Model {
3326
4076
  maxResults: 'number',
3327
4077
  nextToken: 'string',
3328
4078
  requestId: 'string',
3329
- tasks: { 'type': 'array', 'itemType': ListTasksResponseBodyTasks },
3330
4079
  totalCounts: 'number',
4080
+ userProvisionings: { 'type': 'array', 'itemType': ListUserProvisioningsResponseBodyUserProvisionings },
3331
4081
  };
3332
4082
  }
3333
4083
 
@@ -3336,10 +4086,10 @@ export class ListTasksResponseBody extends $tea.Model {
3336
4086
  }
3337
4087
  }
3338
4088
 
3339
- export class ListTasksResponse extends $tea.Model {
4089
+ export class ListUserProvisioningsResponse extends $tea.Model {
3340
4090
  headers: { [key: string]: string };
3341
4091
  statusCode: number;
3342
- body: ListTasksResponseBody;
4092
+ body: ListUserProvisioningsResponseBody;
3343
4093
  static names(): { [key: string]: string } {
3344
4094
  return {
3345
4095
  headers: 'headers',
@@ -3352,7 +4102,7 @@ export class ListTasksResponse extends $tea.Model {
3352
4102
  return {
3353
4103
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3354
4104
  statusCode: 'number',
3355
- body: ListTasksResponseBody,
4105
+ body: ListUserProvisioningsResponseBody,
3356
4106
  };
3357
4107
  }
3358
4108
 
@@ -3814,6 +4564,75 @@ export class ResetUserPasswordResponse extends $tea.Model {
3814
4564
  }
3815
4565
  }
3816
4566
 
4567
+ export class RetryUserProvisioningEventRequest extends $tea.Model {
4568
+ directoryId?: string;
4569
+ duplicationStrategy?: string;
4570
+ eventId?: string;
4571
+ static names(): { [key: string]: string } {
4572
+ return {
4573
+ directoryId: 'DirectoryId',
4574
+ duplicationStrategy: 'DuplicationStrategy',
4575
+ eventId: 'EventId',
4576
+ };
4577
+ }
4578
+
4579
+ static types(): { [key: string]: any } {
4580
+ return {
4581
+ directoryId: 'string',
4582
+ duplicationStrategy: 'string',
4583
+ eventId: 'string',
4584
+ };
4585
+ }
4586
+
4587
+ constructor(map?: { [key: string]: any }) {
4588
+ super(map);
4589
+ }
4590
+ }
4591
+
4592
+ export class RetryUserProvisioningEventResponseBody extends $tea.Model {
4593
+ requestId?: string;
4594
+ static names(): { [key: string]: string } {
4595
+ return {
4596
+ requestId: 'RequestId',
4597
+ };
4598
+ }
4599
+
4600
+ static types(): { [key: string]: any } {
4601
+ return {
4602
+ requestId: 'string',
4603
+ };
4604
+ }
4605
+
4606
+ constructor(map?: { [key: string]: any }) {
4607
+ super(map);
4608
+ }
4609
+ }
4610
+
4611
+ export class RetryUserProvisioningEventResponse extends $tea.Model {
4612
+ headers: { [key: string]: string };
4613
+ statusCode: number;
4614
+ body: RetryUserProvisioningEventResponseBody;
4615
+ static names(): { [key: string]: string } {
4616
+ return {
4617
+ headers: 'headers',
4618
+ statusCode: 'statusCode',
4619
+ body: 'body',
4620
+ };
4621
+ }
4622
+
4623
+ static types(): { [key: string]: any } {
4624
+ return {
4625
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4626
+ statusCode: 'number',
4627
+ body: RetryUserProvisioningEventResponseBody,
4628
+ };
4629
+ }
4630
+
4631
+ constructor(map?: { [key: string]: any }) {
4632
+ super(map);
4633
+ }
4634
+ }
4635
+
3817
4636
  export class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
3818
4637
  directoryId?: string;
3819
4638
  encodedMetadataDocument?: string;
@@ -4618,6 +5437,156 @@ export class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
4618
5437
  }
4619
5438
  }
4620
5439
 
5440
+ export class UpdateUserProvisioningRequest extends $tea.Model {
5441
+ directoryId?: string;
5442
+ newDeletionStrategy?: string;
5443
+ newDescription?: string;
5444
+ newDuplicationStrategy?: string;
5445
+ userProvisioningId?: string;
5446
+ static names(): { [key: string]: string } {
5447
+ return {
5448
+ directoryId: 'DirectoryId',
5449
+ newDeletionStrategy: 'NewDeletionStrategy',
5450
+ newDescription: 'NewDescription',
5451
+ newDuplicationStrategy: 'NewDuplicationStrategy',
5452
+ userProvisioningId: 'UserProvisioningId',
5453
+ };
5454
+ }
5455
+
5456
+ static types(): { [key: string]: any } {
5457
+ return {
5458
+ directoryId: 'string',
5459
+ newDeletionStrategy: 'string',
5460
+ newDescription: 'string',
5461
+ newDuplicationStrategy: 'string',
5462
+ userProvisioningId: 'string',
5463
+ };
5464
+ }
5465
+
5466
+ constructor(map?: { [key: string]: any }) {
5467
+ super(map);
5468
+ }
5469
+ }
5470
+
5471
+ export class UpdateUserProvisioningResponseBody extends $tea.Model {
5472
+ requestId?: string;
5473
+ userProvisioning?: UpdateUserProvisioningResponseBodyUserProvisioning;
5474
+ static names(): { [key: string]: string } {
5475
+ return {
5476
+ requestId: 'RequestId',
5477
+ userProvisioning: 'UserProvisioning',
5478
+ };
5479
+ }
5480
+
5481
+ static types(): { [key: string]: any } {
5482
+ return {
5483
+ requestId: 'string',
5484
+ userProvisioning: UpdateUserProvisioningResponseBodyUserProvisioning,
5485
+ };
5486
+ }
5487
+
5488
+ constructor(map?: { [key: string]: any }) {
5489
+ super(map);
5490
+ }
5491
+ }
5492
+
5493
+ export class UpdateUserProvisioningResponse extends $tea.Model {
5494
+ headers: { [key: string]: string };
5495
+ statusCode: number;
5496
+ body: UpdateUserProvisioningResponseBody;
5497
+ static names(): { [key: string]: string } {
5498
+ return {
5499
+ headers: 'headers',
5500
+ statusCode: 'statusCode',
5501
+ body: 'body',
5502
+ };
5503
+ }
5504
+
5505
+ static types(): { [key: string]: any } {
5506
+ return {
5507
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5508
+ statusCode: 'number',
5509
+ body: UpdateUserProvisioningResponseBody,
5510
+ };
5511
+ }
5512
+
5513
+ constructor(map?: { [key: string]: any }) {
5514
+ super(map);
5515
+ }
5516
+ }
5517
+
5518
+ export class UpdateUserProvisioningConfigurationRequest extends $tea.Model {
5519
+ directoryId?: string;
5520
+ newDefaultLandingPage?: string;
5521
+ newSessionDuration?: number;
5522
+ static names(): { [key: string]: string } {
5523
+ return {
5524
+ directoryId: 'DirectoryId',
5525
+ newDefaultLandingPage: 'NewDefaultLandingPage',
5526
+ newSessionDuration: 'NewSessionDuration',
5527
+ };
5528
+ }
5529
+
5530
+ static types(): { [key: string]: any } {
5531
+ return {
5532
+ directoryId: 'string',
5533
+ newDefaultLandingPage: 'string',
5534
+ newSessionDuration: 'number',
5535
+ };
5536
+ }
5537
+
5538
+ constructor(map?: { [key: string]: any }) {
5539
+ super(map);
5540
+ }
5541
+ }
5542
+
5543
+ export class UpdateUserProvisioningConfigurationResponseBody extends $tea.Model {
5544
+ requestId?: string;
5545
+ userProvisioningConfiguration?: UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration;
5546
+ static names(): { [key: string]: string } {
5547
+ return {
5548
+ requestId: 'RequestId',
5549
+ userProvisioningConfiguration: 'UserProvisioningConfiguration',
5550
+ };
5551
+ }
5552
+
5553
+ static types(): { [key: string]: any } {
5554
+ return {
5555
+ requestId: 'string',
5556
+ userProvisioningConfiguration: UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
5557
+ };
5558
+ }
5559
+
5560
+ constructor(map?: { [key: string]: any }) {
5561
+ super(map);
5562
+ }
5563
+ }
5564
+
5565
+ export class UpdateUserProvisioningConfigurationResponse extends $tea.Model {
5566
+ headers: { [key: string]: string };
5567
+ statusCode: number;
5568
+ body: UpdateUserProvisioningConfigurationResponseBody;
5569
+ static names(): { [key: string]: string } {
5570
+ return {
5571
+ headers: 'headers',
5572
+ statusCode: 'statusCode',
5573
+ body: 'body',
5574
+ };
5575
+ }
5576
+
5577
+ static types(): { [key: string]: any } {
5578
+ return {
5579
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5580
+ statusCode: 'number',
5581
+ body: UpdateUserProvisioningConfigurationResponseBody,
5582
+ };
5583
+ }
5584
+
5585
+ constructor(map?: { [key: string]: any }) {
5586
+ super(map);
5587
+ }
5588
+ }
5589
+
4621
5590
  export class UpdateUserStatusRequest extends $tea.Model {
4622
5591
  directoryId?: string;
4623
5592
  newStatus?: string;
@@ -4884,47 +5853,111 @@ export class CreateSCIMServerCredentialResponseBodySCIMServerCredential extends
4884
5853
  }
4885
5854
  }
4886
5855
 
4887
- export class CreateUserResponseBodyUser extends $tea.Model {
5856
+ export class CreateUserResponseBodyUser extends $tea.Model {
5857
+ createTime?: string;
5858
+ description?: string;
5859
+ displayName?: string;
5860
+ email?: string;
5861
+ firstName?: string;
5862
+ lastName?: string;
5863
+ provisionType?: string;
5864
+ status?: string;
5865
+ updateTime?: string;
5866
+ userId?: string;
5867
+ userName?: string;
5868
+ static names(): { [key: string]: string } {
5869
+ return {
5870
+ createTime: 'CreateTime',
5871
+ description: 'Description',
5872
+ displayName: 'DisplayName',
5873
+ email: 'Email',
5874
+ firstName: 'FirstName',
5875
+ lastName: 'LastName',
5876
+ provisionType: 'ProvisionType',
5877
+ status: 'Status',
5878
+ updateTime: 'UpdateTime',
5879
+ userId: 'UserId',
5880
+ userName: 'UserName',
5881
+ };
5882
+ }
5883
+
5884
+ static types(): { [key: string]: any } {
5885
+ return {
5886
+ createTime: 'string',
5887
+ description: 'string',
5888
+ displayName: 'string',
5889
+ email: 'string',
5890
+ firstName: 'string',
5891
+ lastName: 'string',
5892
+ provisionType: 'string',
5893
+ status: 'string',
5894
+ updateTime: 'string',
5895
+ userId: 'string',
5896
+ userName: 'string',
5897
+ };
5898
+ }
5899
+
5900
+ constructor(map?: { [key: string]: any }) {
5901
+ super(map);
5902
+ }
5903
+ }
5904
+
5905
+ export class CreateUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
4888
5906
  createTime?: string;
5907
+ deletionStrategy?: string;
4889
5908
  description?: string;
4890
- displayName?: string;
4891
- email?: string;
4892
- firstName?: string;
4893
- lastName?: string;
4894
- provisionType?: string;
5909
+ directoryId?: string;
5910
+ duplicationStrategy?: string;
5911
+ ownerPk?: string;
5912
+ principalId?: string;
5913
+ principalName?: string;
5914
+ principalType?: string;
4895
5915
  status?: string;
5916
+ targetId?: string;
5917
+ targetName?: string;
5918
+ targetPath?: string;
5919
+ targetType?: string;
4896
5920
  updateTime?: string;
4897
- userId?: string;
4898
- userName?: string;
5921
+ userProvisioningId?: string;
4899
5922
  static names(): { [key: string]: string } {
4900
5923
  return {
4901
5924
  createTime: 'CreateTime',
5925
+ deletionStrategy: 'DeletionStrategy',
4902
5926
  description: 'Description',
4903
- displayName: 'DisplayName',
4904
- email: 'Email',
4905
- firstName: 'FirstName',
4906
- lastName: 'LastName',
4907
- provisionType: 'ProvisionType',
5927
+ directoryId: 'DirectoryId',
5928
+ duplicationStrategy: 'DuplicationStrategy',
5929
+ ownerPk: 'OwnerPk',
5930
+ principalId: 'PrincipalId',
5931
+ principalName: 'PrincipalName',
5932
+ principalType: 'PrincipalType',
4908
5933
  status: 'Status',
5934
+ targetId: 'TargetId',
5935
+ targetName: 'TargetName',
5936
+ targetPath: 'TargetPath',
5937
+ targetType: 'TargetType',
4909
5938
  updateTime: 'UpdateTime',
4910
- userId: 'UserId',
4911
- userName: 'UserName',
5939
+ userProvisioningId: 'UserProvisioningId',
4912
5940
  };
4913
5941
  }
4914
5942
 
4915
5943
  static types(): { [key: string]: any } {
4916
5944
  return {
4917
5945
  createTime: 'string',
5946
+ deletionStrategy: 'string',
4918
5947
  description: 'string',
4919
- displayName: 'string',
4920
- email: 'string',
4921
- firstName: 'string',
4922
- lastName: 'string',
4923
- provisionType: 'string',
5948
+ directoryId: 'string',
5949
+ duplicationStrategy: 'string',
5950
+ ownerPk: 'string',
5951
+ principalId: 'string',
5952
+ principalName: 'string',
5953
+ principalType: 'string',
4924
5954
  status: 'string',
5955
+ targetId: 'string',
5956
+ targetName: 'string',
5957
+ targetPath: 'string',
5958
+ targetType: 'string',
4925
5959
  updateTime: 'string',
4926
- userId: 'string',
4927
- userName: 'string',
5960
+ userProvisioningId: 'string',
4928
5961
  };
4929
5962
  }
4930
5963
 
@@ -5107,24 +6140,33 @@ export class GetDirectoryResponseBodyDirectory extends $tea.Model {
5107
6140
 
5108
6141
  export class GetDirectorySAMLServiceProviderInfoResponseBodySAMLServiceProvider extends $tea.Model {
5109
6142
  acsUrl?: string;
6143
+ authnSignAlgo?: string;
6144
+ certificateType?: string;
5110
6145
  directoryId?: string;
5111
6146
  encodedMetadataDocument?: string;
5112
6147
  entityId?: string;
6148
+ supportEncryptedAssertion?: boolean;
5113
6149
  static names(): { [key: string]: string } {
5114
6150
  return {
5115
6151
  acsUrl: 'AcsUrl',
6152
+ authnSignAlgo: 'AuthnSignAlgo',
6153
+ certificateType: 'CertificateType',
5116
6154
  directoryId: 'DirectoryId',
5117
6155
  encodedMetadataDocument: 'EncodedMetadataDocument',
5118
6156
  entityId: 'EntityId',
6157
+ supportEncryptedAssertion: 'SupportEncryptedAssertion',
5119
6158
  };
5120
6159
  }
5121
6160
 
5122
6161
  static types(): { [key: string]: any } {
5123
6162
  return {
5124
6163
  acsUrl: 'string',
6164
+ authnSignAlgo: 'string',
6165
+ certificateType: 'string',
5125
6166
  directoryId: 'string',
5126
6167
  encodedMetadataDocument: 'string',
5127
6168
  entityId: 'string',
6169
+ supportEncryptedAssertion: 'boolean',
5128
6170
  };
5129
6171
  }
5130
6172
 
@@ -5368,15 +6410,263 @@ export class GetTaskResponseBodyTask extends $tea.Model {
5368
6410
  principalId: 'string',
5369
6411
  principalName: 'string',
5370
6412
  principalType: 'string',
5371
- startTime: 'string',
5372
- status: 'string',
6413
+ startTime: 'string',
6414
+ status: 'string',
6415
+ targetId: 'string',
6416
+ targetName: 'string',
6417
+ targetPath: 'string',
6418
+ targetPathName: 'string',
6419
+ targetType: 'string',
6420
+ taskId: 'string',
6421
+ taskType: 'string',
6422
+ };
6423
+ }
6424
+
6425
+ constructor(map?: { [key: string]: any }) {
6426
+ super(map);
6427
+ }
6428
+ }
6429
+
6430
+ export class GetTaskStatusResponseBodyTaskStatus extends $tea.Model {
6431
+ endTime?: string;
6432
+ failureReason?: string;
6433
+ startTime?: string;
6434
+ status?: string;
6435
+ taskId?: string;
6436
+ taskType?: string;
6437
+ static names(): { [key: string]: string } {
6438
+ return {
6439
+ endTime: 'EndTime',
6440
+ failureReason: 'FailureReason',
6441
+ startTime: 'StartTime',
6442
+ status: 'Status',
6443
+ taskId: 'TaskId',
6444
+ taskType: 'TaskType',
6445
+ };
6446
+ }
6447
+
6448
+ static types(): { [key: string]: any } {
6449
+ return {
6450
+ endTime: 'string',
6451
+ failureReason: 'string',
6452
+ startTime: 'string',
6453
+ status: 'string',
6454
+ taskId: 'string',
6455
+ taskType: 'string',
6456
+ };
6457
+ }
6458
+
6459
+ constructor(map?: { [key: string]: any }) {
6460
+ super(map);
6461
+ }
6462
+ }
6463
+
6464
+ export class GetUserResponseBodyUser extends $tea.Model {
6465
+ createTime?: string;
6466
+ description?: string;
6467
+ displayName?: string;
6468
+ email?: string;
6469
+ firstName?: string;
6470
+ lastName?: string;
6471
+ provisionType?: string;
6472
+ status?: string;
6473
+ updateTime?: string;
6474
+ userId?: string;
6475
+ userName?: string;
6476
+ static names(): { [key: string]: string } {
6477
+ return {
6478
+ createTime: 'CreateTime',
6479
+ description: 'Description',
6480
+ displayName: 'DisplayName',
6481
+ email: 'Email',
6482
+ firstName: 'FirstName',
6483
+ lastName: 'LastName',
6484
+ provisionType: 'ProvisionType',
6485
+ status: 'Status',
6486
+ updateTime: 'UpdateTime',
6487
+ userId: 'UserId',
6488
+ userName: 'UserName',
6489
+ };
6490
+ }
6491
+
6492
+ static types(): { [key: string]: any } {
6493
+ return {
6494
+ createTime: 'string',
6495
+ description: 'string',
6496
+ displayName: 'string',
6497
+ email: 'string',
6498
+ firstName: 'string',
6499
+ lastName: 'string',
6500
+ provisionType: 'string',
6501
+ status: 'string',
6502
+ updateTime: 'string',
6503
+ userId: 'string',
6504
+ userName: 'string',
6505
+ };
6506
+ }
6507
+
6508
+ constructor(map?: { [key: string]: any }) {
6509
+ super(map);
6510
+ }
6511
+ }
6512
+
6513
+ export class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
6514
+ createTime?: string;
6515
+ deletionStrategy?: string;
6516
+ description?: string;
6517
+ directoryId?: string;
6518
+ duplicationStrategy?: string;
6519
+ ownerPk?: string;
6520
+ principalId?: string;
6521
+ principalName?: string;
6522
+ principalType?: string;
6523
+ status?: string;
6524
+ targetId?: string;
6525
+ targetName?: string;
6526
+ targetPath?: string;
6527
+ targetType?: string;
6528
+ updateTime?: string;
6529
+ userProvisioningId?: string;
6530
+ static names(): { [key: string]: string } {
6531
+ return {
6532
+ createTime: 'CreateTime',
6533
+ deletionStrategy: 'DeletionStrategy',
6534
+ description: 'Description',
6535
+ directoryId: 'DirectoryId',
6536
+ duplicationStrategy: 'DuplicationStrategy',
6537
+ ownerPk: 'OwnerPk',
6538
+ principalId: 'PrincipalId',
6539
+ principalName: 'PrincipalName',
6540
+ principalType: 'PrincipalType',
6541
+ status: 'Status',
6542
+ targetId: 'TargetId',
6543
+ targetName: 'TargetName',
6544
+ targetPath: 'TargetPath',
6545
+ targetType: 'TargetType',
6546
+ updateTime: 'UpdateTime',
6547
+ userProvisioningId: 'UserProvisioningId',
6548
+ };
6549
+ }
6550
+
6551
+ static types(): { [key: string]: any } {
6552
+ return {
6553
+ createTime: 'string',
6554
+ deletionStrategy: 'string',
6555
+ description: 'string',
6556
+ directoryId: 'string',
6557
+ duplicationStrategy: 'string',
6558
+ ownerPk: 'string',
6559
+ principalId: 'string',
6560
+ principalName: 'string',
6561
+ principalType: 'string',
6562
+ status: 'string',
6563
+ targetId: 'string',
6564
+ targetName: 'string',
6565
+ targetPath: 'string',
6566
+ targetType: 'string',
6567
+ updateTime: 'string',
6568
+ userProvisioningId: 'string',
6569
+ };
6570
+ }
6571
+
6572
+ constructor(map?: { [key: string]: any }) {
6573
+ super(map);
6574
+ }
6575
+ }
6576
+
6577
+ export class GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration extends $tea.Model {
6578
+ createTime?: string;
6579
+ defaultLandingPage?: string;
6580
+ directoryId?: string;
6581
+ sessionDuration?: number;
6582
+ updateTime?: string;
6583
+ static names(): { [key: string]: string } {
6584
+ return {
6585
+ createTime: 'CreateTime',
6586
+ defaultLandingPage: 'DefaultLandingPage',
6587
+ directoryId: 'DirectoryId',
6588
+ sessionDuration: 'SessionDuration',
6589
+ updateTime: 'UpdateTime',
6590
+ };
6591
+ }
6592
+
6593
+ static types(): { [key: string]: any } {
6594
+ return {
6595
+ createTime: 'string',
6596
+ defaultLandingPage: 'string',
6597
+ directoryId: 'string',
6598
+ sessionDuration: 'number',
6599
+ updateTime: 'string',
6600
+ };
6601
+ }
6602
+
6603
+ constructor(map?: { [key: string]: any }) {
6604
+ super(map);
6605
+ }
6606
+ }
6607
+
6608
+ export class GetUserProvisioningEventResponseBodyUserProvisioningEvent extends $tea.Model {
6609
+ createTime?: string;
6610
+ deletionStrategy?: string;
6611
+ directoryId?: string;
6612
+ duplicationStrategy?: string;
6613
+ errorCount?: number;
6614
+ errorInfo?: string;
6615
+ eventId?: string;
6616
+ latestAsyncTime?: string;
6617
+ principalId?: string;
6618
+ principalName?: string;
6619
+ principalType?: string;
6620
+ sourceType?: string;
6621
+ targetId?: string;
6622
+ targetName?: string;
6623
+ targetPath?: string;
6624
+ targetType?: string;
6625
+ updateTime?: string;
6626
+ userProvisioningId?: string;
6627
+ static names(): { [key: string]: string } {
6628
+ return {
6629
+ createTime: 'CreateTime',
6630
+ deletionStrategy: 'DeletionStrategy',
6631
+ directoryId: 'DirectoryId',
6632
+ duplicationStrategy: 'DuplicationStrategy',
6633
+ errorCount: 'ErrorCount',
6634
+ errorInfo: 'ErrorInfo',
6635
+ eventId: 'EventId',
6636
+ latestAsyncTime: 'LatestAsyncTime',
6637
+ principalId: 'PrincipalId',
6638
+ principalName: 'PrincipalName',
6639
+ principalType: 'PrincipalType',
6640
+ sourceType: 'SourceType',
6641
+ targetId: 'TargetId',
6642
+ targetName: 'TargetName',
6643
+ targetPath: 'TargetPath',
6644
+ targetType: 'TargetType',
6645
+ updateTime: 'UpdateTime',
6646
+ userProvisioningId: 'UserProvisioningId',
6647
+ };
6648
+ }
6649
+
6650
+ static types(): { [key: string]: any } {
6651
+ return {
6652
+ createTime: 'string',
6653
+ deletionStrategy: 'string',
6654
+ directoryId: 'string',
6655
+ duplicationStrategy: 'string',
6656
+ errorCount: 'number',
6657
+ errorInfo: 'string',
6658
+ eventId: 'string',
6659
+ latestAsyncTime: 'string',
6660
+ principalId: 'string',
6661
+ principalName: 'string',
6662
+ principalType: 'string',
6663
+ sourceType: 'string',
5373
6664
  targetId: 'string',
5374
6665
  targetName: 'string',
5375
6666
  targetPath: 'string',
5376
- targetPathName: 'string',
5377
6667
  targetType: 'string',
5378
- taskId: 'string',
5379
- taskType: 'string',
6668
+ updateTime: 'string',
6669
+ userProvisioningId: 'string',
5380
6670
  };
5381
6671
  }
5382
6672
 
@@ -5385,32 +6675,32 @@ export class GetTaskResponseBodyTask extends $tea.Model {
5385
6675
  }
5386
6676
  }
5387
6677
 
5388
- export class GetTaskStatusResponseBodyTaskStatus extends $tea.Model {
5389
- endTime?: string;
5390
- failureReason?: string;
5391
- startTime?: string;
5392
- status?: string;
5393
- taskId?: string;
5394
- taskType?: string;
6678
+ export class GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics extends $tea.Model {
6679
+ directoryId?: string;
6680
+ entityId?: string;
6681
+ failedEventCount?: number;
6682
+ latestAsyncTime?: string;
6683
+ ownerPk?: string;
6684
+ type?: string;
5395
6685
  static names(): { [key: string]: string } {
5396
6686
  return {
5397
- endTime: 'EndTime',
5398
- failureReason: 'FailureReason',
5399
- startTime: 'StartTime',
5400
- status: 'Status',
5401
- taskId: 'TaskId',
5402
- taskType: 'TaskType',
6687
+ directoryId: 'DirectoryId',
6688
+ entityId: 'EntityId',
6689
+ failedEventCount: 'FailedEventCount',
6690
+ latestAsyncTime: 'LatestAsyncTime',
6691
+ ownerPk: 'OwnerPk',
6692
+ type: 'Type',
5403
6693
  };
5404
6694
  }
5405
6695
 
5406
6696
  static types(): { [key: string]: any } {
5407
6697
  return {
5408
- endTime: 'string',
5409
- failureReason: 'string',
5410
- startTime: 'string',
5411
- status: 'string',
5412
- taskId: 'string',
5413
- taskType: 'string',
6698
+ directoryId: 'string',
6699
+ entityId: 'string',
6700
+ failedEventCount: 'number',
6701
+ latestAsyncTime: 'string',
6702
+ ownerPk: 'string',
6703
+ type: 'string',
5414
6704
  };
5415
6705
  }
5416
6706
 
@@ -5419,47 +6709,32 @@ export class GetTaskStatusResponseBodyTaskStatus extends $tea.Model {
5419
6709
  }
5420
6710
  }
5421
6711
 
5422
- export class GetUserResponseBodyUser extends $tea.Model {
5423
- createTime?: string;
5424
- description?: string;
5425
- displayName?: string;
5426
- email?: string;
5427
- firstName?: string;
5428
- lastName?: string;
5429
- provisionType?: string;
5430
- status?: string;
5431
- updateTime?: string;
5432
- userId?: string;
5433
- userName?: string;
6712
+ export class GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics extends $tea.Model {
6713
+ directoryId?: string;
6714
+ entityId?: string;
6715
+ failedEventCount?: number;
6716
+ latestAsyncTime?: string;
6717
+ ownerPk?: string;
6718
+ type?: string;
5434
6719
  static names(): { [key: string]: string } {
5435
6720
  return {
5436
- createTime: 'CreateTime',
5437
- description: 'Description',
5438
- displayName: 'DisplayName',
5439
- email: 'Email',
5440
- firstName: 'FirstName',
5441
- lastName: 'LastName',
5442
- provisionType: 'ProvisionType',
5443
- status: 'Status',
5444
- updateTime: 'UpdateTime',
5445
- userId: 'UserId',
5446
- userName: 'UserName',
6721
+ directoryId: 'DirectoryId',
6722
+ entityId: 'EntityId',
6723
+ failedEventCount: 'FailedEventCount',
6724
+ latestAsyncTime: 'LatestAsyncTime',
6725
+ ownerPk: 'OwnerPk',
6726
+ type: 'Type',
5447
6727
  };
5448
6728
  }
5449
6729
 
5450
6730
  static types(): { [key: string]: any } {
5451
6731
  return {
5452
- createTime: 'string',
5453
- description: 'string',
5454
- displayName: 'string',
5455
- email: 'string',
5456
- firstName: 'string',
5457
- lastName: 'string',
5458
- provisionType: 'string',
5459
- status: 'string',
5460
- updateTime: 'string',
5461
- userId: 'string',
5462
- userName: 'string',
6732
+ directoryId: 'string',
6733
+ entityId: 'string',
6734
+ failedEventCount: 'number',
6735
+ latestAsyncTime: 'string',
6736
+ ownerPk: 'string',
6737
+ type: 'string',
5463
6738
  };
5464
6739
  }
5465
6740
 
@@ -5957,6 +7232,140 @@ export class ListTasksResponseBodyTasks extends $tea.Model {
5957
7232
  }
5958
7233
  }
5959
7234
 
7235
+ export class ListUserProvisioningEventsResponseBodyUserProvisioningEvents extends $tea.Model {
7236
+ createTime?: string;
7237
+ deletionStrategy?: string;
7238
+ directoryId?: string;
7239
+ duplicationStrategy?: string;
7240
+ errorCount?: number;
7241
+ errorInfo?: string;
7242
+ eventId?: string;
7243
+ latestAsyncTime?: string;
7244
+ principalId?: string;
7245
+ principalName?: string;
7246
+ principalType?: string;
7247
+ sourceType?: string;
7248
+ targetId?: string;
7249
+ targetName?: string;
7250
+ targetPath?: string;
7251
+ targetType?: string;
7252
+ updateTime?: string;
7253
+ userProvisioningId?: string;
7254
+ static names(): { [key: string]: string } {
7255
+ return {
7256
+ createTime: 'CreateTime',
7257
+ deletionStrategy: 'DeletionStrategy',
7258
+ directoryId: 'DirectoryId',
7259
+ duplicationStrategy: 'DuplicationStrategy',
7260
+ errorCount: 'ErrorCount',
7261
+ errorInfo: 'ErrorInfo',
7262
+ eventId: 'EventId',
7263
+ latestAsyncTime: 'LatestAsyncTime',
7264
+ principalId: 'PrincipalId',
7265
+ principalName: 'PrincipalName',
7266
+ principalType: 'PrincipalType',
7267
+ sourceType: 'SourceType',
7268
+ targetId: 'TargetId',
7269
+ targetName: 'TargetName',
7270
+ targetPath: 'TargetPath',
7271
+ targetType: 'TargetType',
7272
+ updateTime: 'UpdateTime',
7273
+ userProvisioningId: 'UserProvisioningId',
7274
+ };
7275
+ }
7276
+
7277
+ static types(): { [key: string]: any } {
7278
+ return {
7279
+ createTime: 'string',
7280
+ deletionStrategy: 'string',
7281
+ directoryId: 'string',
7282
+ duplicationStrategy: 'string',
7283
+ errorCount: 'number',
7284
+ errorInfo: 'string',
7285
+ eventId: 'string',
7286
+ latestAsyncTime: 'string',
7287
+ principalId: 'string',
7288
+ principalName: 'string',
7289
+ principalType: 'string',
7290
+ sourceType: 'string',
7291
+ targetId: 'string',
7292
+ targetName: 'string',
7293
+ targetPath: 'string',
7294
+ targetType: 'string',
7295
+ updateTime: 'string',
7296
+ userProvisioningId: 'string',
7297
+ };
7298
+ }
7299
+
7300
+ constructor(map?: { [key: string]: any }) {
7301
+ super(map);
7302
+ }
7303
+ }
7304
+
7305
+ export class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Model {
7306
+ createTime?: string;
7307
+ deletionStrategy?: string;
7308
+ description?: string;
7309
+ directoryId?: string;
7310
+ duplicationStrategy?: string;
7311
+ ownerPk?: string;
7312
+ principalId?: string;
7313
+ principalName?: string;
7314
+ principalType?: string;
7315
+ status?: string;
7316
+ targetId?: string;
7317
+ targetName?: string;
7318
+ targetPath?: string;
7319
+ targetType?: string;
7320
+ updateTime?: string;
7321
+ userProvisioningId?: string;
7322
+ static names(): { [key: string]: string } {
7323
+ return {
7324
+ createTime: 'CreateTime',
7325
+ deletionStrategy: 'DeletionStrategy',
7326
+ description: 'Description',
7327
+ directoryId: 'DirectoryId',
7328
+ duplicationStrategy: 'DuplicationStrategy',
7329
+ ownerPk: 'OwnerPk',
7330
+ principalId: 'PrincipalId',
7331
+ principalName: 'PrincipalName',
7332
+ principalType: 'PrincipalType',
7333
+ status: 'Status',
7334
+ targetId: 'TargetId',
7335
+ targetName: 'TargetName',
7336
+ targetPath: 'TargetPath',
7337
+ targetType: 'TargetType',
7338
+ updateTime: 'UpdateTime',
7339
+ userProvisioningId: 'UserProvisioningId',
7340
+ };
7341
+ }
7342
+
7343
+ static types(): { [key: string]: any } {
7344
+ return {
7345
+ createTime: 'string',
7346
+ deletionStrategy: 'string',
7347
+ description: 'string',
7348
+ directoryId: 'string',
7349
+ duplicationStrategy: 'string',
7350
+ ownerPk: 'string',
7351
+ principalId: 'string',
7352
+ principalName: 'string',
7353
+ principalType: 'string',
7354
+ status: 'string',
7355
+ targetId: 'string',
7356
+ targetName: 'string',
7357
+ targetPath: 'string',
7358
+ targetType: 'string',
7359
+ updateTime: 'string',
7360
+ userProvisioningId: 'string',
7361
+ };
7362
+ }
7363
+
7364
+ constructor(map?: { [key: string]: any }) {
7365
+ super(map);
7366
+ }
7367
+ }
7368
+
5960
7369
  export class ListUsersResponseBodyUsers extends $tea.Model {
5961
7370
  createTime?: string;
5962
7371
  description?: string;
@@ -6210,22 +7619,135 @@ export class UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential ex
6210
7619
  static names(): { [key: string]: string } {
6211
7620
  return {
6212
7621
  createTime: 'CreateTime',
6213
- credentialId: 'CredentialId',
6214
- credentialType: 'CredentialType',
7622
+ credentialId: 'CredentialId',
7623
+ credentialType: 'CredentialType',
7624
+ directoryId: 'DirectoryId',
7625
+ expireTime: 'ExpireTime',
7626
+ status: 'Status',
7627
+ };
7628
+ }
7629
+
7630
+ static types(): { [key: string]: any } {
7631
+ return {
7632
+ createTime: 'string',
7633
+ credentialId: 'string',
7634
+ credentialType: 'string',
7635
+ directoryId: 'string',
7636
+ expireTime: 'string',
7637
+ status: 'string',
7638
+ };
7639
+ }
7640
+
7641
+ constructor(map?: { [key: string]: any }) {
7642
+ super(map);
7643
+ }
7644
+ }
7645
+
7646
+ export class UpdateUserResponseBodyUser extends $tea.Model {
7647
+ createTime?: string;
7648
+ description?: string;
7649
+ displayName?: string;
7650
+ email?: string;
7651
+ firstName?: string;
7652
+ lastName?: string;
7653
+ provisionType?: string;
7654
+ status?: string;
7655
+ updateTime?: string;
7656
+ userId?: string;
7657
+ userName?: string;
7658
+ static names(): { [key: string]: string } {
7659
+ return {
7660
+ createTime: 'CreateTime',
7661
+ description: 'Description',
7662
+ displayName: 'DisplayName',
7663
+ email: 'Email',
7664
+ firstName: 'FirstName',
7665
+ lastName: 'LastName',
7666
+ provisionType: 'ProvisionType',
7667
+ status: 'Status',
7668
+ updateTime: 'UpdateTime',
7669
+ userId: 'UserId',
7670
+ userName: 'UserName',
7671
+ };
7672
+ }
7673
+
7674
+ static types(): { [key: string]: any } {
7675
+ return {
7676
+ createTime: 'string',
7677
+ description: 'string',
7678
+ displayName: 'string',
7679
+ email: 'string',
7680
+ firstName: 'string',
7681
+ lastName: 'string',
7682
+ provisionType: 'string',
7683
+ status: 'string',
7684
+ updateTime: 'string',
7685
+ userId: 'string',
7686
+ userName: 'string',
7687
+ };
7688
+ }
7689
+
7690
+ constructor(map?: { [key: string]: any }) {
7691
+ super(map);
7692
+ }
7693
+ }
7694
+
7695
+ export class UpdateUserProvisioningResponseBodyUserProvisioning extends $tea.Model {
7696
+ createTime?: string;
7697
+ deletionStrategy?: string;
7698
+ description?: string;
7699
+ directoryId?: string;
7700
+ duplicationStrategy?: string;
7701
+ ownerPk?: string;
7702
+ principalId?: string;
7703
+ principalName?: string;
7704
+ principalType?: string;
7705
+ status?: string;
7706
+ targetId?: string;
7707
+ targetName?: string;
7708
+ targetPath?: string;
7709
+ targetType?: string;
7710
+ updateTime?: string;
7711
+ userProvisioningId?: string;
7712
+ static names(): { [key: string]: string } {
7713
+ return {
7714
+ createTime: 'CreateTime',
7715
+ deletionStrategy: 'DeletionStrategy',
7716
+ description: 'Description',
6215
7717
  directoryId: 'DirectoryId',
6216
- expireTime: 'ExpireTime',
7718
+ duplicationStrategy: 'DuplicationStrategy',
7719
+ ownerPk: 'OwnerPk',
7720
+ principalId: 'PrincipalId',
7721
+ principalName: 'PrincipalName',
7722
+ principalType: 'PrincipalType',
6217
7723
  status: 'Status',
7724
+ targetId: 'TargetId',
7725
+ targetName: 'TargetName',
7726
+ targetPath: 'TargetPath',
7727
+ targetType: 'TargetType',
7728
+ updateTime: 'UpdateTime',
7729
+ userProvisioningId: 'UserProvisioningId',
6218
7730
  };
6219
7731
  }
6220
7732
 
6221
7733
  static types(): { [key: string]: any } {
6222
7734
  return {
6223
7735
  createTime: 'string',
6224
- credentialId: 'string',
6225
- credentialType: 'string',
7736
+ deletionStrategy: 'string',
7737
+ description: 'string',
6226
7738
  directoryId: 'string',
6227
- expireTime: 'string',
7739
+ duplicationStrategy: 'string',
7740
+ ownerPk: 'string',
7741
+ principalId: 'string',
7742
+ principalName: 'string',
7743
+ principalType: 'string',
6228
7744
  status: 'string',
7745
+ targetId: 'string',
7746
+ targetName: 'string',
7747
+ targetPath: 'string',
7748
+ targetType: 'string',
7749
+ updateTime: 'string',
7750
+ userProvisioningId: 'string',
6229
7751
  };
6230
7752
  }
6231
7753
 
@@ -6234,47 +7756,29 @@ export class UpdateSCIMServerCredentialStatusResponseBodySCIMServerCredential ex
6234
7756
  }
6235
7757
  }
6236
7758
 
6237
- export class UpdateUserResponseBodyUser extends $tea.Model {
7759
+ export class UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration extends $tea.Model {
6238
7760
  createTime?: string;
6239
- description?: string;
6240
- displayName?: string;
6241
- email?: string;
6242
- firstName?: string;
6243
- lastName?: string;
6244
- provisionType?: string;
6245
- status?: string;
7761
+ defaultLandingPage?: string;
7762
+ directoryId?: string;
7763
+ sessionDuration?: number;
6246
7764
  updateTime?: string;
6247
- userId?: string;
6248
- userName?: string;
6249
7765
  static names(): { [key: string]: string } {
6250
7766
  return {
6251
7767
  createTime: 'CreateTime',
6252
- description: 'Description',
6253
- displayName: 'DisplayName',
6254
- email: 'Email',
6255
- firstName: 'FirstName',
6256
- lastName: 'LastName',
6257
- provisionType: 'ProvisionType',
6258
- status: 'Status',
7768
+ defaultLandingPage: 'DefaultLandingPage',
7769
+ directoryId: 'DirectoryId',
7770
+ sessionDuration: 'SessionDuration',
6259
7771
  updateTime: 'UpdateTime',
6260
- userId: 'UserId',
6261
- userName: 'UserName',
6262
7772
  };
6263
7773
  }
6264
7774
 
6265
7775
  static types(): { [key: string]: any } {
6266
7776
  return {
6267
7777
  createTime: 'string',
6268
- description: 'string',
6269
- displayName: 'string',
6270
- email: 'string',
6271
- firstName: 'string',
6272
- lastName: 'string',
6273
- provisionType: 'string',
6274
- status: 'string',
7778
+ defaultLandingPage: 'string',
7779
+ directoryId: 'string',
7780
+ sessionDuration: 'number',
6275
7781
  updateTime: 'string',
6276
- userId: 'string',
6277
- userName: 'string',
6278
7782
  };
6279
7783
  }
6280
7784
 
@@ -6309,8 +7813,6 @@ export default class Client extends OpenApi {
6309
7813
  /**
6310
7814
  * You can add up to two SAML signing certificates.
6311
7815
  * 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
7816
  *
6315
7817
  * @param request AddExternalSAMLIdPCertificateRequest
6316
7818
  * @param runtime runtime options for this request RuntimeOptions
@@ -6347,8 +7849,6 @@ export default class Client extends OpenApi {
6347
7849
  /**
6348
7850
  * You can add up to two SAML signing certificates.
6349
7851
  * 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
7852
  *
6353
7853
  * @param request AddExternalSAMLIdPCertificateRequest
6354
7854
  * @return AddExternalSAMLIdPCertificateResponse
@@ -6360,8 +7860,6 @@ export default class Client extends OpenApi {
6360
7860
 
6361
7861
  /**
6362
7862
  * 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
7863
  *
6366
7864
  * @param request AddPermissionPolicyToAccessConfigurationRequest
6367
7865
  * @param runtime runtime options for this request RuntimeOptions
@@ -6409,8 +7907,6 @@ export default class Client extends OpenApi {
6409
7907
 
6410
7908
  /**
6411
7909
  * 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
7910
  *
6415
7911
  * @param request AddPermissionPolicyToAccessConfigurationRequest
6416
7912
  * @return AddPermissionPolicyToAccessConfigurationResponse
@@ -6423,8 +7919,6 @@ export default class Client extends OpenApi {
6423
7919
  /**
6424
7920
  * 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
7921
  * 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
7922
  *
6429
7923
  * @param request AddUserToGroupRequest
6430
7924
  * @param runtime runtime options for this request RuntimeOptions
@@ -6465,8 +7959,6 @@ export default class Client extends OpenApi {
6465
7959
  /**
6466
7960
  * 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
7961
  * 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
7962
  *
6471
7963
  * @param request AddUserToGroupRequest
6472
7964
  * @return AddUserToGroupResponse
@@ -6479,8 +7971,6 @@ export default class Client extends OpenApi {
6479
7971
  /**
6480
7972
  * 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
7973
  * 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
7974
  *
6485
7975
  * @param request ClearExternalSAMLIdentityProviderRequest
6486
7976
  * @param runtime runtime options for this request RuntimeOptions
@@ -6513,8 +8003,6 @@ export default class Client extends OpenApi {
6513
8003
  /**
6514
8004
  * 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
8005
  * 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
8006
  *
6519
8007
  * @param request ClearExternalSAMLIdentityProviderRequest
6520
8008
  * @return ClearExternalSAMLIdentityProviderResponse
@@ -6528,8 +8016,6 @@ export default class Client extends OpenApi {
6528
8016
  * 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
8017
  * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
6530
8018
  * 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
8019
  *
6534
8020
  * @param request CreateAccessAssignmentRequest
6535
8021
  * @param runtime runtime options for this request RuntimeOptions
@@ -6583,8 +8069,6 @@ export default class Client extends OpenApi {
6583
8069
  * 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
8070
  * For more information about how to assign permissions on an account in your resource directory, see [Overview of multi-account authorization](~~266726~~).
6585
8071
  * 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
8072
  *
6589
8073
  * @param request CreateAccessAssignmentRequest
6590
8074
  * @return CreateAccessAssignmentResponse
@@ -6597,8 +8081,6 @@ export default class Client extends OpenApi {
6597
8081
  /**
6598
8082
  * For more information about access configurations, see [Overview of access configurations](~~266737~~).
6599
8083
  * 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
8084
  *
6603
8085
  * @param request CreateAccessConfigurationRequest
6604
8086
  * @param runtime runtime options for this request RuntimeOptions
@@ -6647,8 +8129,6 @@ export default class Client extends OpenApi {
6647
8129
  /**
6648
8130
  * For more information about access configurations, see [Overview of access configurations](~~266737~~).
6649
8131
  * 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
8132
  *
6653
8133
  * @param request CreateAccessConfigurationRequest
6654
8134
  * @return CreateAccessConfigurationResponse
@@ -6665,8 +8145,6 @@ export default class Client extends OpenApi {
6665
8145
  * ## Limits
6666
8146
  * - You can create only one directory for a management account.
6667
8147
  * - 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
8148
  *
6671
8149
  * @param request CreateDirectoryRequest
6672
8150
  * @param runtime runtime options for this request RuntimeOptions
@@ -6703,8 +8181,6 @@ export default class Client extends OpenApi {
6703
8181
  * ## Limits
6704
8182
  * - You can create only one directory for a management account.
6705
8183
  * - 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
8184
  *
6709
8185
  * @param request CreateDirectoryRequest
6710
8186
  * @return CreateDirectoryResponse
@@ -6716,8 +8192,6 @@ export default class Client extends OpenApi {
6716
8192
 
6717
8193
  /**
6718
8194
  * 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
8195
  *
6722
8196
  * @param request CreateGroupRequest
6723
8197
  * @param runtime runtime options for this request RuntimeOptions
@@ -6757,8 +8231,6 @@ export default class Client extends OpenApi {
6757
8231
 
6758
8232
  /**
6759
8233
  * 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
8234
  *
6763
8235
  * @param request CreateGroupRequest
6764
8236
  * @return CreateGroupResponse
@@ -6771,8 +8243,6 @@ export default class Client extends OpenApi {
6771
8243
  /**
6772
8244
  * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
6773
8245
  * 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
8246
  *
6777
8247
  * @param request CreateSCIMServerCredentialRequest
6778
8248
  * @param runtime runtime options for this request RuntimeOptions
@@ -6805,8 +8275,6 @@ export default class Client extends OpenApi {
6805
8275
  /**
6806
8276
  * SCIM credentials are required for SCIM synchronization. You can create up to two SCIM credentials.
6807
8277
  * 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
8278
  *
6811
8279
  * @param request CreateSCIMServerCredentialRequest
6812
8280
  * @return CreateSCIMServerCredentialResponse
@@ -6817,9 +8285,7 @@ export default class Client extends OpenApi {
6817
8285
  }
6818
8286
 
6819
8287
  /**
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.
8288
+ * This topic provides an example on how to create a user named `Alice`.
6823
8289
  *
6824
8290
  * @param request CreateUserRequest
6825
8291
  * @param runtime runtime options for this request RuntimeOptions
@@ -6878,9 +8344,7 @@ export default class Client extends OpenApi {
6878
8344
  }
6879
8345
 
6880
8346
  /**
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.
8347
+ * This topic provides an example on how to create a user named `Alice`.
6884
8348
  *
6885
8349
  * @param request CreateUserRequest
6886
8350
  * @return CreateUserResponse
@@ -6890,11 +8354,66 @@ export default class Client extends OpenApi {
6890
8354
  return await this.createUserWithOptions(request, runtime);
6891
8355
  }
6892
8356
 
8357
+ async createUserProvisioningWithOptions(request: CreateUserProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<CreateUserProvisioningResponse> {
8358
+ Util.validateModel(request);
8359
+ let query = { };
8360
+ if (!Util.isUnset(request.deletionStrategy)) {
8361
+ query["DeletionStrategy"] = request.deletionStrategy;
8362
+ }
8363
+
8364
+ if (!Util.isUnset(request.description)) {
8365
+ query["Description"] = request.description;
8366
+ }
8367
+
8368
+ if (!Util.isUnset(request.directoryId)) {
8369
+ query["DirectoryId"] = request.directoryId;
8370
+ }
8371
+
8372
+ if (!Util.isUnset(request.duplicationStrategy)) {
8373
+ query["DuplicationStrategy"] = request.duplicationStrategy;
8374
+ }
8375
+
8376
+ if (!Util.isUnset(request.principalId)) {
8377
+ query["PrincipalId"] = request.principalId;
8378
+ }
8379
+
8380
+ if (!Util.isUnset(request.principalType)) {
8381
+ query["PrincipalType"] = request.principalType;
8382
+ }
8383
+
8384
+ if (!Util.isUnset(request.targetId)) {
8385
+ query["TargetId"] = request.targetId;
8386
+ }
8387
+
8388
+ if (!Util.isUnset(request.targetType)) {
8389
+ query["TargetType"] = request.targetType;
8390
+ }
8391
+
8392
+ let req = new $OpenApi.OpenApiRequest({
8393
+ query: OpenApiUtil.query(query),
8394
+ });
8395
+ let params = new $OpenApi.Params({
8396
+ action: "CreateUserProvisioning",
8397
+ version: "2021-05-15",
8398
+ protocol: "HTTPS",
8399
+ pathname: "/",
8400
+ method: "POST",
8401
+ authType: "AK",
8402
+ style: "RPC",
8403
+ reqBodyType: "formData",
8404
+ bodyType: "json",
8405
+ });
8406
+ return $tea.cast<CreateUserProvisioningResponse>(await this.callApi(params, req, runtime), new CreateUserProvisioningResponse({}));
8407
+ }
8408
+
8409
+ async createUserProvisioning(request: CreateUserProvisioningRequest): Promise<CreateUserProvisioningResponse> {
8410
+ let runtime = new $Util.RuntimeOptions({ });
8411
+ return await this.createUserProvisioningWithOptions(request, runtime);
8412
+ }
8413
+
6893
8414
  /**
6894
8415
  * 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
8416
  * 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
8417
  *
6899
8418
  * @param request DeleteAccessAssignmentRequest
6900
8419
  * @param runtime runtime options for this request RuntimeOptions
@@ -6951,8 +8470,6 @@ export default class Client extends OpenApi {
6951
8470
  /**
6952
8471
  * 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
8472
  * 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
8473
  *
6957
8474
  * @param request DeleteAccessAssignmentRequest
6958
8475
  * @return DeleteAccessAssignmentResponse
@@ -6966,8 +8483,6 @@ export default class Client extends OpenApi {
6966
8483
  * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
6967
8484
  * ## Prerequisites
6968
8485
  * 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
8486
  *
6972
8487
  * @param request DeleteAccessConfigurationRequest
6973
8488
  * @param runtime runtime options for this request RuntimeOptions
@@ -7009,8 +8524,6 @@ export default class Client extends OpenApi {
7009
8524
  * This topic provides an example on how to delete the access configuration whose ID is `ac-001j9mcm3k7335bc****`.
7010
8525
  * ## Prerequisites
7011
8526
  * 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
8527
  *
7015
8528
  * @param request DeleteAccessConfigurationRequest
7016
8529
  * @return DeleteAccessConfigurationResponse
@@ -7030,8 +8543,6 @@ export default class Client extends OpenApi {
7030
8543
  * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](~~336907~~).
7031
8544
  * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](~~341842~~).
7032
8545
  * * 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
8546
  *
7036
8547
  * @param request DeleteDirectoryRequest
7037
8548
  * @param runtime runtime options for this request RuntimeOptions
@@ -7071,8 +8582,6 @@ export default class Client extends OpenApi {
7071
8582
  * * Access configurations are deleted. For more information, see [DeleteAccessConfiguration](~~336907~~).
7072
8583
  * * System for Cross-domain Identity Management (SCIM) credentials are deleted. For more information, see [DeleteSCIMServerCredential](~~341842~~).
7073
8584
  * * 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
8585
  *
7077
8586
  * @param request DeleteDirectoryRequest
7078
8587
  * @return DeleteDirectoryResponse
@@ -7088,8 +8597,6 @@ export default class Client extends OpenApi {
7088
8597
  * 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
8598
  * * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](~~335116~~).
7090
8599
  * * 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
8600
  *
7094
8601
  * @param request DeleteGroupRequest
7095
8602
  * @param runtime runtime options for this request RuntimeOptions
@@ -7129,8 +8636,6 @@ export default class Client extends OpenApi {
7129
8636
  * 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
8637
  * * Users: You must remove users from the group. For more information, see [RemoveUserFromGroup](~~335116~~).
7131
8638
  * * 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
8639
  *
7135
8640
  * @param request DeleteGroupRequest
7136
8641
  * @return DeleteGroupResponse
@@ -7142,8 +8647,6 @@ export default class Client extends OpenApi {
7142
8647
 
7143
8648
  /**
7144
8649
  * 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
8650
  *
7148
8651
  * @param request DeleteMFADeviceForUserRequest
7149
8652
  * @param runtime runtime options for this request RuntimeOptions
@@ -7183,8 +8686,6 @@ export default class Client extends OpenApi {
7183
8686
 
7184
8687
  /**
7185
8688
  * 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
8689
  *
7189
8690
  * @param request DeleteMFADeviceForUserRequest
7190
8691
  * @return DeleteMFADeviceForUserResponse
@@ -7197,29 +8698,127 @@ export default class Client extends OpenApi {
7197
8698
  /**
7198
8699
  * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
7199
8700
  * 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
8701
  *
7203
8702
  * @param request DeleteSCIMServerCredentialRequest
7204
8703
  * @param runtime runtime options for this request RuntimeOptions
7205
8704
  * @return DeleteSCIMServerCredentialResponse
7206
8705
  */
7207
- async deleteSCIMServerCredentialWithOptions(request: DeleteSCIMServerCredentialRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSCIMServerCredentialResponse> {
8706
+ async deleteSCIMServerCredentialWithOptions(request: DeleteSCIMServerCredentialRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSCIMServerCredentialResponse> {
8707
+ Util.validateModel(request);
8708
+ let query = { };
8709
+ if (!Util.isUnset(request.credentialId)) {
8710
+ query["CredentialId"] = request.credentialId;
8711
+ }
8712
+
8713
+ if (!Util.isUnset(request.directoryId)) {
8714
+ query["DirectoryId"] = request.directoryId;
8715
+ }
8716
+
8717
+ let req = new $OpenApi.OpenApiRequest({
8718
+ query: OpenApiUtil.query(query),
8719
+ });
8720
+ let params = new $OpenApi.Params({
8721
+ action: "DeleteSCIMServerCredential",
8722
+ version: "2021-05-15",
8723
+ protocol: "HTTPS",
8724
+ pathname: "/",
8725
+ method: "POST",
8726
+ authType: "AK",
8727
+ style: "RPC",
8728
+ reqBodyType: "formData",
8729
+ bodyType: "json",
8730
+ });
8731
+ return $tea.cast<DeleteSCIMServerCredentialResponse>(await this.callApi(params, req, runtime), new DeleteSCIMServerCredentialResponse({}));
8732
+ }
8733
+
8734
+ /**
8735
+ * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
8736
+ * This topic provides an example on how to delete the SCIM credential whose ID is `scimcred-004whl0kvfwcypbi****`.
8737
+ *
8738
+ * @param request DeleteSCIMServerCredentialRequest
8739
+ * @return DeleteSCIMServerCredentialResponse
8740
+ */
8741
+ async deleteSCIMServerCredential(request: DeleteSCIMServerCredentialRequest): Promise<DeleteSCIMServerCredentialResponse> {
8742
+ let runtime = new $Util.RuntimeOptions({ });
8743
+ return await this.deleteSCIMServerCredentialWithOptions(request, runtime);
8744
+ }
8745
+
8746
+ /**
8747
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
8748
+ * ## Prerequisites
8749
+ * The user that you want to delete is not associated with the following resources. If the user is associated with the resources, the deletion fails.
8750
+ * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
8751
+ * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
8752
+ * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
8753
+ *
8754
+ * @param request DeleteUserRequest
8755
+ * @param runtime runtime options for this request RuntimeOptions
8756
+ * @return DeleteUserResponse
8757
+ */
8758
+ async deleteUserWithOptions(request: DeleteUserRequest, runtime: $Util.RuntimeOptions): Promise<DeleteUserResponse> {
8759
+ Util.validateModel(request);
8760
+ let query = { };
8761
+ if (!Util.isUnset(request.directoryId)) {
8762
+ query["DirectoryId"] = request.directoryId;
8763
+ }
8764
+
8765
+ if (!Util.isUnset(request.userId)) {
8766
+ query["UserId"] = request.userId;
8767
+ }
8768
+
8769
+ let req = new $OpenApi.OpenApiRequest({
8770
+ query: OpenApiUtil.query(query),
8771
+ });
8772
+ let params = new $OpenApi.Params({
8773
+ action: "DeleteUser",
8774
+ version: "2021-05-15",
8775
+ protocol: "HTTPS",
8776
+ pathname: "/",
8777
+ method: "POST",
8778
+ authType: "AK",
8779
+ style: "RPC",
8780
+ reqBodyType: "formData",
8781
+ bodyType: "json",
8782
+ });
8783
+ return $tea.cast<DeleteUserResponse>(await this.callApi(params, req, runtime), new DeleteUserResponse({}));
8784
+ }
8785
+
8786
+ /**
8787
+ * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
8788
+ * ## Prerequisites
8789
+ * The user that you want to delete is not associated with the following resources. If the user is associated with the resources, the deletion fails.
8790
+ * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
8791
+ * * Access permissions: You must remove the access permissions on the accounts in your resource directory from the user. For more information, see [DeleteAccessAssignment](~~338350~~).
8792
+ * * Groups: You must remove the user from groups. For more information, see [RemoveUserFromGroup](~~335116~~).
8793
+ *
8794
+ * @param request DeleteUserRequest
8795
+ * @return DeleteUserResponse
8796
+ */
8797
+ async deleteUser(request: DeleteUserRequest): Promise<DeleteUserResponse> {
8798
+ let runtime = new $Util.RuntimeOptions({ });
8799
+ return await this.deleteUserWithOptions(request, runtime);
8800
+ }
8801
+
8802
+ async deleteUserProvisioningWithOptions(request: DeleteUserProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<DeleteUserProvisioningResponse> {
7208
8803
  Util.validateModel(request);
7209
8804
  let query = { };
7210
- if (!Util.isUnset(request.credentialId)) {
7211
- query["CredentialId"] = request.credentialId;
8805
+ if (!Util.isUnset(request.deletionStrategy)) {
8806
+ query["DeletionStrategy"] = request.deletionStrategy;
7212
8807
  }
7213
8808
 
7214
8809
  if (!Util.isUnset(request.directoryId)) {
7215
8810
  query["DirectoryId"] = request.directoryId;
7216
8811
  }
7217
8812
 
8813
+ if (!Util.isUnset(request.userProvisioningId)) {
8814
+ query["UserProvisioningId"] = request.userProvisioningId;
8815
+ }
8816
+
7218
8817
  let req = new $OpenApi.OpenApiRequest({
7219
8818
  query: OpenApiUtil.query(query),
7220
8819
  });
7221
8820
  let params = new $OpenApi.Params({
7222
- action: "DeleteSCIMServerCredential",
8821
+ action: "DeleteUserProvisioning",
7223
8822
  version: "2021-05-15",
7224
8823
  protocol: "HTTPS",
7225
8824
  pathname: "/",
@@ -7229,53 +8828,34 @@ export default class Client extends OpenApi {
7229
8828
  reqBodyType: "formData",
7230
8829
  bodyType: "json",
7231
8830
  });
7232
- return $tea.cast<DeleteSCIMServerCredentialResponse>(await this.callApi(params, req, runtime), new DeleteSCIMServerCredentialResponse({}));
8831
+ return $tea.cast<DeleteUserProvisioningResponse>(await this.callApi(params, req, runtime), new DeleteUserProvisioningResponse({}));
7233
8832
  }
7234
8833
 
7235
- /**
7236
- * After a SCIM credential is deleted, the synchronization task that uses the SCIM credential fails.
7237
- * 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
- *
7241
- * @param request DeleteSCIMServerCredentialRequest
7242
- * @return DeleteSCIMServerCredentialResponse
7243
- */
7244
- async deleteSCIMServerCredential(request: DeleteSCIMServerCredentialRequest): Promise<DeleteSCIMServerCredentialResponse> {
8834
+ async deleteUserProvisioning(request: DeleteUserProvisioningRequest): Promise<DeleteUserProvisioningResponse> {
7245
8835
  let runtime = new $Util.RuntimeOptions({ });
7246
- return await this.deleteSCIMServerCredentialWithOptions(request, runtime);
8836
+ return await this.deleteUserProvisioningWithOptions(request, runtime);
7247
8837
  }
7248
8838
 
7249
- /**
7250
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
7251
- * ## Prerequisites
7252
- * The user that you want to delete is not associated with the following resources. If the user is associated with the resources, the deletion fails.
7253
- * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
7254
- * * 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
- * * 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
- *
7259
- * @param request DeleteUserRequest
7260
- * @param runtime runtime options for this request RuntimeOptions
7261
- * @return DeleteUserResponse
7262
- */
7263
- async deleteUserWithOptions(request: DeleteUserRequest, runtime: $Util.RuntimeOptions): Promise<DeleteUserResponse> {
8839
+ async deleteUserProvisioningEventWithOptions(request: DeleteUserProvisioningEventRequest, runtime: $Util.RuntimeOptions): Promise<DeleteUserProvisioningEventResponse> {
7264
8840
  Util.validateModel(request);
7265
8841
  let query = { };
7266
8842
  if (!Util.isUnset(request.directoryId)) {
7267
8843
  query["DirectoryId"] = request.directoryId;
7268
8844
  }
7269
8845
 
7270
- if (!Util.isUnset(request.userId)) {
7271
- query["UserId"] = request.userId;
8846
+ if (!Util.isUnset(request.eventId)) {
8847
+ query["EventId"] = request.eventId;
8848
+ }
8849
+
8850
+ if (!Util.isUnset(request.userProvisioningId)) {
8851
+ query["UserProvisioningId"] = request.userProvisioningId;
7272
8852
  }
7273
8853
 
7274
8854
  let req = new $OpenApi.OpenApiRequest({
7275
8855
  query: OpenApiUtil.query(query),
7276
8856
  });
7277
8857
  let params = new $OpenApi.Params({
7278
- action: "DeleteUser",
8858
+ action: "DeleteUserProvisioningEvent",
7279
8859
  version: "2021-05-15",
7280
8860
  protocol: "HTTPS",
7281
8861
  pathname: "/",
@@ -7285,32 +8865,17 @@ export default class Client extends OpenApi {
7285
8865
  reqBodyType: "formData",
7286
8866
  bodyType: "json",
7287
8867
  });
7288
- return $tea.cast<DeleteUserResponse>(await this.callApi(params, req, runtime), new DeleteUserResponse({}));
8868
+ return $tea.cast<DeleteUserProvisioningEventResponse>(await this.callApi(params, req, runtime), new DeleteUserProvisioningEventResponse({}));
7289
8869
  }
7290
8870
 
7291
- /**
7292
- * If System for Cross-domain Identity Management (SCIM) synchronization is enabled, you cannot delete a user that is synchronized by using SCIM.
7293
- * ## Prerequisites
7294
- * The user that you want to delete is not associated with the following resources. If the user is associated with the resources, the deletion fails.
7295
- * * Multi-factor authentication (MFA) devices: You must unbind the MFA devices from the user. For more information, see [DeleteMFADeviceForUser](~~341675~~).
7296
- * * 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
- * * 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
- *
7301
- * @param request DeleteUserRequest
7302
- * @return DeleteUserResponse
7303
- */
7304
- async deleteUser(request: DeleteUserRequest): Promise<DeleteUserResponse> {
8871
+ async deleteUserProvisioningEvent(request: DeleteUserProvisioningEventRequest): Promise<DeleteUserProvisioningEventResponse> {
7305
8872
  let runtime = new $Util.RuntimeOptions({ });
7306
- return await this.deleteUserWithOptions(request, runtime);
8873
+ return await this.deleteUserProvisioningEventWithOptions(request, runtime);
7307
8874
  }
7308
8875
 
7309
8876
  /**
7310
8877
  * 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
8878
  * 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
8879
  *
7315
8880
  * @param request DeprovisionAccessConfigurationRequest
7316
8881
  * @param runtime runtime options for this request RuntimeOptions
@@ -7355,8 +8920,6 @@ export default class Client extends OpenApi {
7355
8920
  /**
7356
8921
  * 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
8922
  * 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
8923
  *
7361
8924
  * @param request DeprovisionAccessConfigurationRequest
7362
8925
  * @return DeprovisionAccessConfigurationResponse
@@ -7368,8 +8931,6 @@ export default class Client extends OpenApi {
7368
8931
 
7369
8932
  /**
7370
8933
  * 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
8934
  *
7374
8935
  * @param request DisableServiceRequest
7375
8936
  * @param runtime runtime options for this request RuntimeOptions
@@ -7393,8 +8954,6 @@ export default class Client extends OpenApi {
7393
8954
 
7394
8955
  /**
7395
8956
  * 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
8957
  *
7399
8958
  * @return DisableServiceResponse
7400
8959
  */
@@ -7406,8 +8965,6 @@ export default class Client extends OpenApi {
7406
8965
  /**
7407
8966
  * 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
8967
  * 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
8968
  *
7412
8969
  * @param request EnableServiceRequest
7413
8970
  * @param runtime runtime options for this request RuntimeOptions
@@ -7432,8 +8989,6 @@ export default class Client extends OpenApi {
7432
8989
  /**
7433
8990
  * 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
8991
  * 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
8992
  *
7438
8993
  * @return EnableServiceResponse
7439
8994
  */
@@ -7443,7 +8998,6 @@ export default class Client extends OpenApi {
7443
8998
  }
7444
8999
 
7445
9000
  /**
7446
- * ## Usage notes
7447
9001
  * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
7448
9002
  *
7449
9003
  * @param request GetAccessConfigurationRequest
@@ -7479,7 +9033,6 @@ export default class Client extends OpenApi {
7479
9033
  }
7480
9034
 
7481
9035
  /**
7482
- * ## Usage notes
7483
9036
  * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
7484
9037
  *
7485
9038
  * @param request GetAccessConfigurationRequest
@@ -7491,9 +9044,7 @@ export default class Client extends OpenApi {
7491
9044
  }
7492
9045
 
7493
9046
  /**
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.
9047
+ * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
7497
9048
  *
7498
9049
  * @param request GetDirectoryRequest
7499
9050
  * @param runtime runtime options for this request RuntimeOptions
@@ -7524,9 +9075,7 @@ export default class Client extends OpenApi {
7524
9075
  }
7525
9076
 
7526
9077
  /**
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.
9078
+ * This topic provides an example on how to query information about the directory whose ID is `d-00fc2p61****`.
7530
9079
  *
7531
9080
  * @param request GetDirectoryRequest
7532
9081
  * @return GetDirectoryResponse
@@ -7539,8 +9088,6 @@ export default class Client extends OpenApi {
7539
9088
  /**
7540
9089
  * 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
9090
  * 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
9091
  *
7545
9092
  * @param request GetDirectorySAMLServiceProviderInfoRequest
7546
9093
  * @param runtime runtime options for this request RuntimeOptions
@@ -7573,8 +9120,6 @@ export default class Client extends OpenApi {
7573
9120
  /**
7574
9121
  * 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
9122
  * 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
9123
  *
7579
9124
  * @param request GetDirectorySAMLServiceProviderInfoRequest
7580
9125
  * @return GetDirectorySAMLServiceProviderInfoResponse
@@ -7585,8 +9130,9 @@ export default class Client extends OpenApi {
7585
9130
  }
7586
9131
 
7587
9132
  /**
7588
- * 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, 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) logon, and status of SCIM synchronization.
7589
- * ## Limits
9133
+ * ### [](#)
9134
+ * 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.
9135
+ * ### [](#qps)Limit
7590
9136
  * 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
9137
  *
7592
9138
  * @param request GetDirectoryStatisticsRequest
@@ -7618,8 +9164,9 @@ export default class Client extends OpenApi {
7618
9164
  }
7619
9165
 
7620
9166
  /**
7621
- * 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, 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) logon, and status of SCIM synchronization.
7622
- * ## Limits
9167
+ * ### [](#)
9168
+ * 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.
9169
+ * ### [](#qps)Limit
7623
9170
  * 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
9171
  *
7625
9172
  * @param request GetDirectoryStatisticsRequest
@@ -7632,8 +9179,6 @@ export default class Client extends OpenApi {
7632
9179
 
7633
9180
  /**
7634
9181
  * 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
9182
  *
7638
9183
  * @param request GetExternalSAMLIdentityProviderRequest
7639
9184
  * @param runtime runtime options for this request RuntimeOptions
@@ -7665,8 +9210,6 @@ export default class Client extends OpenApi {
7665
9210
 
7666
9211
  /**
7667
9212
  * 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
9213
  *
7671
9214
  * @param request GetExternalSAMLIdentityProviderRequest
7672
9215
  * @return GetExternalSAMLIdentityProviderResponse
@@ -7678,8 +9221,6 @@ export default class Client extends OpenApi {
7678
9221
 
7679
9222
  /**
7680
9223
  * 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
9224
  *
7684
9225
  * @param request GetGroupRequest
7685
9226
  * @param runtime runtime options for this request RuntimeOptions
@@ -7715,8 +9256,6 @@ export default class Client extends OpenApi {
7715
9256
 
7716
9257
  /**
7717
9258
  * 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
9259
  *
7721
9260
  * @param request GetGroupRequest
7722
9261
  * @return GetGroupResponse
@@ -7816,8 +9355,6 @@ export default class Client extends OpenApi {
7816
9355
 
7817
9356
  /**
7818
9357
  * 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
9358
  *
7822
9359
  * @param request GetMFAAuthenticationStatusRequest
7823
9360
  * @param runtime runtime options for this request RuntimeOptions
@@ -7849,8 +9386,6 @@ export default class Client extends OpenApi {
7849
9386
 
7850
9387
  /**
7851
9388
  * 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
9389
  *
7855
9390
  * @param request GetMFAAuthenticationStatusRequest
7856
9391
  * @return GetMFAAuthenticationStatusResponse
@@ -7862,8 +9397,6 @@ export default class Client extends OpenApi {
7862
9397
 
7863
9398
  /**
7864
9399
  * 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
9400
  *
7868
9401
  * @param request GetSCIMSynchronizationStatusRequest
7869
9402
  * @param runtime runtime options for this request RuntimeOptions
@@ -7895,8 +9428,6 @@ export default class Client extends OpenApi {
7895
9428
 
7896
9429
  /**
7897
9430
  * 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
9431
  *
7901
9432
  * @param request GetSCIMSynchronizationStatusRequest
7902
9433
  * @return GetSCIMSynchronizationStatusResponse
@@ -7906,14 +9437,6 @@ export default class Client extends OpenApi {
7906
9437
  return await this.getSCIMSynchronizationStatusWithOptions(request, runtime);
7907
9438
  }
7908
9439
 
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
9440
  async getServiceStatusWithOptions(runtime: $Util.RuntimeOptions): Promise<GetServiceStatusResponse> {
7918
9441
  let req = new $OpenApi.OpenApiRequest({ });
7919
9442
  let params = new $OpenApi.Params({
@@ -7930,12 +9453,6 @@ export default class Client extends OpenApi {
7930
9453
  return $tea.cast<GetServiceStatusResponse>(await this.callApi(params, req, runtime), new GetServiceStatusResponse({}));
7931
9454
  }
7932
9455
 
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
9456
  async getServiceStatus(): Promise<GetServiceStatusResponse> {
7940
9457
  let runtime = new $Util.RuntimeOptions({ });
7941
9458
  return await this.getServiceStatusWithOptions(runtime);
@@ -7943,8 +9460,6 @@ export default class Client extends OpenApi {
7943
9460
 
7944
9461
  /**
7945
9462
  * 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
9463
  *
7949
9464
  * @param request GetTaskRequest
7950
9465
  * @param runtime runtime options for this request RuntimeOptions
@@ -7980,8 +9495,6 @@ export default class Client extends OpenApi {
7980
9495
 
7981
9496
  /**
7982
9497
  * 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
9498
  *
7986
9499
  * @param request GetTaskRequest
7987
9500
  * @return GetTaskResponse
@@ -7994,8 +9507,6 @@ export default class Client extends OpenApi {
7994
9507
  /**
7995
9508
  * 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
9509
  * 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
9510
  *
8000
9511
  * @param request GetTaskStatusRequest
8001
9512
  * @param runtime runtime options for this request RuntimeOptions
@@ -8032,8 +9543,6 @@ export default class Client extends OpenApi {
8032
9543
  /**
8033
9544
  * 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
9545
  * 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
9546
  *
8038
9547
  * @param request GetTaskStatusRequest
8039
9548
  * @return GetTaskStatusResponse
@@ -8045,8 +9554,6 @@ export default class Client extends OpenApi {
8045
9554
 
8046
9555
  /**
8047
9556
  * 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
9557
  *
8051
9558
  * @param request GetUserRequest
8052
9559
  * @param runtime runtime options for this request RuntimeOptions
@@ -8082,8 +9589,6 @@ export default class Client extends OpenApi {
8082
9589
 
8083
9590
  /**
8084
9591
  * 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
9592
  *
8088
9593
  * @param request GetUserRequest
8089
9594
  * @return GetUserResponse
@@ -8139,10 +9644,169 @@ export default class Client extends OpenApi {
8139
9644
  return await this.getUserMFAAuthenticationSettingsWithOptions(request, runtime);
8140
9645
  }
8141
9646
 
9647
+ async getUserProvisioningWithOptions(request: GetUserProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningResponse> {
9648
+ Util.validateModel(request);
9649
+ let query = { };
9650
+ if (!Util.isUnset(request.directoryId)) {
9651
+ query["DirectoryId"] = request.directoryId;
9652
+ }
9653
+
9654
+ if (!Util.isUnset(request.userProvisioningId)) {
9655
+ query["UserProvisioningId"] = request.userProvisioningId;
9656
+ }
9657
+
9658
+ let req = new $OpenApi.OpenApiRequest({
9659
+ query: OpenApiUtil.query(query),
9660
+ });
9661
+ let params = new $OpenApi.Params({
9662
+ action: "GetUserProvisioning",
9663
+ version: "2021-05-15",
9664
+ protocol: "HTTPS",
9665
+ pathname: "/",
9666
+ method: "POST",
9667
+ authType: "AK",
9668
+ style: "RPC",
9669
+ reqBodyType: "formData",
9670
+ bodyType: "json",
9671
+ });
9672
+ return $tea.cast<GetUserProvisioningResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningResponse({}));
9673
+ }
9674
+
9675
+ async getUserProvisioning(request: GetUserProvisioningRequest): Promise<GetUserProvisioningResponse> {
9676
+ let runtime = new $Util.RuntimeOptions({ });
9677
+ return await this.getUserProvisioningWithOptions(request, runtime);
9678
+ }
9679
+
9680
+ async getUserProvisioningConfigurationWithOptions(request: GetUserProvisioningConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningConfigurationResponse> {
9681
+ Util.validateModel(request);
9682
+ let query = { };
9683
+ if (!Util.isUnset(request.directoryId)) {
9684
+ query["DirectoryId"] = request.directoryId;
9685
+ }
9686
+
9687
+ let req = new $OpenApi.OpenApiRequest({
9688
+ query: OpenApiUtil.query(query),
9689
+ });
9690
+ let params = new $OpenApi.Params({
9691
+ action: "GetUserProvisioningConfiguration",
9692
+ version: "2021-05-15",
9693
+ protocol: "HTTPS",
9694
+ pathname: "/",
9695
+ method: "POST",
9696
+ authType: "AK",
9697
+ style: "RPC",
9698
+ reqBodyType: "formData",
9699
+ bodyType: "json",
9700
+ });
9701
+ return $tea.cast<GetUserProvisioningConfigurationResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningConfigurationResponse({}));
9702
+ }
9703
+
9704
+ async getUserProvisioningConfiguration(request: GetUserProvisioningConfigurationRequest): Promise<GetUserProvisioningConfigurationResponse> {
9705
+ let runtime = new $Util.RuntimeOptions({ });
9706
+ return await this.getUserProvisioningConfigurationWithOptions(request, runtime);
9707
+ }
9708
+
9709
+ async getUserProvisioningEventWithOptions(request: GetUserProvisioningEventRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningEventResponse> {
9710
+ Util.validateModel(request);
9711
+ let query = { };
9712
+ if (!Util.isUnset(request.directoryId)) {
9713
+ query["DirectoryId"] = request.directoryId;
9714
+ }
9715
+
9716
+ if (!Util.isUnset(request.eventId)) {
9717
+ query["EventId"] = request.eventId;
9718
+ }
9719
+
9720
+ let req = new $OpenApi.OpenApiRequest({
9721
+ query: OpenApiUtil.query(query),
9722
+ });
9723
+ let params = new $OpenApi.Params({
9724
+ action: "GetUserProvisioningEvent",
9725
+ version: "2021-05-15",
9726
+ protocol: "HTTPS",
9727
+ pathname: "/",
9728
+ method: "POST",
9729
+ authType: "AK",
9730
+ style: "RPC",
9731
+ reqBodyType: "formData",
9732
+ bodyType: "json",
9733
+ });
9734
+ return $tea.cast<GetUserProvisioningEventResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningEventResponse({}));
9735
+ }
9736
+
9737
+ async getUserProvisioningEvent(request: GetUserProvisioningEventRequest): Promise<GetUserProvisioningEventResponse> {
9738
+ let runtime = new $Util.RuntimeOptions({ });
9739
+ return await this.getUserProvisioningEventWithOptions(request, runtime);
9740
+ }
9741
+
9742
+ async getUserProvisioningRdAccountStatisticsWithOptions(request: GetUserProvisioningRdAccountStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningRdAccountStatisticsResponse> {
9743
+ Util.validateModel(request);
9744
+ let query = { };
9745
+ if (!Util.isUnset(request.directoryId)) {
9746
+ query["DirectoryId"] = request.directoryId;
9747
+ }
9748
+
9749
+ if (!Util.isUnset(request.rdMemberId)) {
9750
+ query["RdMemberId"] = request.rdMemberId;
9751
+ }
9752
+
9753
+ let req = new $OpenApi.OpenApiRequest({
9754
+ query: OpenApiUtil.query(query),
9755
+ });
9756
+ let params = new $OpenApi.Params({
9757
+ action: "GetUserProvisioningRdAccountStatistics",
9758
+ version: "2021-05-15",
9759
+ protocol: "HTTPS",
9760
+ pathname: "/",
9761
+ method: "POST",
9762
+ authType: "AK",
9763
+ style: "RPC",
9764
+ reqBodyType: "formData",
9765
+ bodyType: "json",
9766
+ });
9767
+ return $tea.cast<GetUserProvisioningRdAccountStatisticsResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningRdAccountStatisticsResponse({}));
9768
+ }
9769
+
9770
+ async getUserProvisioningRdAccountStatistics(request: GetUserProvisioningRdAccountStatisticsRequest): Promise<GetUserProvisioningRdAccountStatisticsResponse> {
9771
+ let runtime = new $Util.RuntimeOptions({ });
9772
+ return await this.getUserProvisioningRdAccountStatisticsWithOptions(request, runtime);
9773
+ }
9774
+
9775
+ async getUserProvisioningStatisticsWithOptions(request: GetUserProvisioningStatisticsRequest, runtime: $Util.RuntimeOptions): Promise<GetUserProvisioningStatisticsResponse> {
9776
+ Util.validateModel(request);
9777
+ let query = { };
9778
+ if (!Util.isUnset(request.directoryId)) {
9779
+ query["DirectoryId"] = request.directoryId;
9780
+ }
9781
+
9782
+ if (!Util.isUnset(request.userProvisioningId)) {
9783
+ query["UserProvisioningId"] = request.userProvisioningId;
9784
+ }
9785
+
9786
+ let req = new $OpenApi.OpenApiRequest({
9787
+ query: OpenApiUtil.query(query),
9788
+ });
9789
+ let params = new $OpenApi.Params({
9790
+ action: "GetUserProvisioningStatistics",
9791
+ version: "2021-05-15",
9792
+ protocol: "HTTPS",
9793
+ pathname: "/",
9794
+ method: "POST",
9795
+ authType: "AK",
9796
+ style: "RPC",
9797
+ reqBodyType: "formData",
9798
+ bodyType: "json",
9799
+ });
9800
+ return $tea.cast<GetUserProvisioningStatisticsResponse>(await this.callApi(params, req, runtime), new GetUserProvisioningStatisticsResponse({}));
9801
+ }
9802
+
9803
+ async getUserProvisioningStatistics(request: GetUserProvisioningStatisticsRequest): Promise<GetUserProvisioningStatisticsResponse> {
9804
+ let runtime = new $Util.RuntimeOptions({ });
9805
+ return await this.getUserProvisioningStatisticsWithOptions(request, runtime);
9806
+ }
9807
+
8142
9808
  /**
8143
- * 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.
9809
+ * 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 are assigned to one user.
8146
9810
  *
8147
9811
  * @param request ListAccessAssignmentsRequest
8148
9812
  * @param runtime runtime options for this request RuntimeOptions
@@ -8201,9 +9865,7 @@ export default class Client extends OpenApi {
8201
9865
  }
8202
9866
 
8203
9867
  /**
8204
- * 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.
9868
+ * 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 are assigned to one user.
8207
9869
  *
8208
9870
  * @param request ListAccessAssignmentsRequest
8209
9871
  * @return ListAccessAssignmentsResponse
@@ -8214,7 +9876,6 @@ export default class Client extends OpenApi {
8214
9876
  }
8215
9877
 
8216
9878
  /**
8217
- * ## Usage notes
8218
9879
  * 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
9880
  *
8220
9881
  * @param request ListAccessConfigurationProvisioningsRequest
@@ -8270,7 +9931,6 @@ export default class Client extends OpenApi {
8270
9931
  }
8271
9932
 
8272
9933
  /**
8273
- * ## Usage notes
8274
9934
  * 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
9935
  *
8276
9936
  * @param request ListAccessConfigurationProvisioningsRequest
@@ -8282,7 +9942,6 @@ export default class Client extends OpenApi {
8282
9942
  }
8283
9943
 
8284
9944
  /**
8285
- * ## Usage notes
8286
9945
  * 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
9946
  *
8288
9947
  * @param request ListAccessConfigurationsRequest
@@ -8330,7 +9989,6 @@ export default class Client extends OpenApi {
8330
9989
  }
8331
9990
 
8332
9991
  /**
8333
- * ## Usage notes
8334
9992
  * 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
9993
  *
8336
9994
  * @param request ListAccessConfigurationsRequest
@@ -8342,9 +10000,7 @@ export default class Client extends OpenApi {
8342
10000
  }
8343
10001
 
8344
10002
  /**
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.
10003
+ * 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
10004
  *
8349
10005
  * @param request ListDirectoriesRequest
8350
10006
  * @param runtime runtime options for this request RuntimeOptions
@@ -8367,9 +10023,7 @@ export default class Client extends OpenApi {
8367
10023
  }
8368
10024
 
8369
10025
  /**
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.
10026
+ * 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
10027
  *
8374
10028
  * @return ListDirectoriesResponse
8375
10029
  */
@@ -8380,8 +10034,6 @@ export default class Client extends OpenApi {
8380
10034
 
8381
10035
  /**
8382
10036
  * 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
10037
  *
8386
10038
  * @param request ListExternalSAMLIdPCertificatesRequest
8387
10039
  * @param runtime runtime options for this request RuntimeOptions
@@ -8413,8 +10065,6 @@ export default class Client extends OpenApi {
8413
10065
 
8414
10066
  /**
8415
10067
  * 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
10068
  *
8419
10069
  * @param request ListExternalSAMLIdPCertificatesRequest
8420
10070
  * @return ListExternalSAMLIdPCertificatesResponse
@@ -8426,8 +10076,6 @@ export default class Client extends OpenApi {
8426
10076
 
8427
10077
  /**
8428
10078
  * 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
10079
  *
8432
10080
  * @param request ListGroupMembersRequest
8433
10081
  * @param runtime runtime options for this request RuntimeOptions
@@ -8471,8 +10119,6 @@ export default class Client extends OpenApi {
8471
10119
 
8472
10120
  /**
8473
10121
  * 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
10122
  *
8477
10123
  * @param request ListGroupMembersRequest
8478
10124
  * @return ListGroupMembersResponse
@@ -8484,8 +10130,6 @@ export default class Client extends OpenApi {
8484
10130
 
8485
10131
  /**
8486
10132
  * 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
10133
  *
8490
10134
  * @param request ListGroupsRequest
8491
10135
  * @param runtime runtime options for this request RuntimeOptions
@@ -8533,8 +10177,6 @@ export default class Client extends OpenApi {
8533
10177
 
8534
10178
  /**
8535
10179
  * 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
10180
  *
8539
10181
  * @param request ListGroupsRequest
8540
10182
  * @return ListGroupsResponse
@@ -8546,8 +10188,6 @@ export default class Client extends OpenApi {
8546
10188
 
8547
10189
  /**
8548
10190
  * 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
10191
  *
8552
10192
  * @param request ListJoinedGroupsForUserRequest
8553
10193
  * @param runtime runtime options for this request RuntimeOptions
@@ -8591,8 +10231,6 @@ export default class Client extends OpenApi {
8591
10231
 
8592
10232
  /**
8593
10233
  * 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
10234
  *
8597
10235
  * @param request ListJoinedGroupsForUserRequest
8598
10236
  * @return ListJoinedGroupsForUserResponse
@@ -8603,9 +10241,7 @@ export default class Client extends OpenApi {
8603
10241
  }
8604
10242
 
8605
10243
  /**
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.
10244
+ * 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
10245
  *
8610
10246
  * @param request ListMFADevicesForUserRequest
8611
10247
  * @param runtime runtime options for this request RuntimeOptions
@@ -8640,9 +10276,7 @@ export default class Client extends OpenApi {
8640
10276
  }
8641
10277
 
8642
10278
  /**
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.
10279
+ * 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
10280
  *
8647
10281
  * @param request ListMFADevicesForUserRequest
8648
10282
  * @return ListMFADevicesForUserResponse
@@ -8653,9 +10287,7 @@ export default class Client extends OpenApi {
8653
10287
  }
8654
10288
 
8655
10289
  /**
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.
10290
+ * 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
10291
  *
8660
10292
  * @param request ListPermissionPoliciesInAccessConfigurationRequest
8661
10293
  * @param runtime runtime options for this request RuntimeOptions
@@ -8694,9 +10326,7 @@ export default class Client extends OpenApi {
8694
10326
  }
8695
10327
 
8696
10328
  /**
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.
10329
+ * 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
10330
  *
8701
10331
  * @param request ListPermissionPoliciesInAccessConfigurationRequest
8702
10332
  * @return ListPermissionPoliciesInAccessConfigurationResponse
@@ -8708,8 +10338,6 @@ export default class Client extends OpenApi {
8708
10338
 
8709
10339
  /**
8710
10340
  * 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
10341
  *
8714
10342
  * @param request ListSCIMServerCredentialsRequest
8715
10343
  * @param runtime runtime options for this request RuntimeOptions
@@ -8741,8 +10369,6 @@ export default class Client extends OpenApi {
8741
10369
 
8742
10370
  /**
8743
10371
  * 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
10372
  *
8747
10373
  * @param request ListSCIMServerCredentialsRequest
8748
10374
  * @return ListSCIMServerCredentialsResponse
@@ -8755,8 +10381,6 @@ export default class Client extends OpenApi {
8755
10381
  /**
8756
10382
  * 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
10383
  * 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
10384
  *
8761
10385
  * @param request ListTasksRequest
8762
10386
  * @param runtime runtime options for this request RuntimeOptions
@@ -8829,8 +10453,6 @@ export default class Client extends OpenApi {
8829
10453
  /**
8830
10454
  * 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
10455
  * 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
10456
  *
8835
10457
  * @param request ListTasksRequest
8836
10458
  * @return ListTasksResponse
@@ -8840,10 +10462,102 @@ export default class Client extends OpenApi {
8840
10462
  return await this.listTasksWithOptions(request, runtime);
8841
10463
  }
8842
10464
 
10465
+ async listUserProvisioningEventsWithOptions(request: ListUserProvisioningEventsRequest, runtime: $Util.RuntimeOptions): Promise<ListUserProvisioningEventsResponse> {
10466
+ Util.validateModel(request);
10467
+ let query = { };
10468
+ if (!Util.isUnset(request.directoryId)) {
10469
+ query["DirectoryId"] = request.directoryId;
10470
+ }
10471
+
10472
+ if (!Util.isUnset(request.maxResults)) {
10473
+ query["MaxResults"] = request.maxResults;
10474
+ }
10475
+
10476
+ if (!Util.isUnset(request.nextToken)) {
10477
+ query["NextToken"] = request.nextToken;
10478
+ }
10479
+
10480
+ if (!Util.isUnset(request.userProvisioningId)) {
10481
+ query["UserProvisioningId"] = request.userProvisioningId;
10482
+ }
10483
+
10484
+ let req = new $OpenApi.OpenApiRequest({
10485
+ query: OpenApiUtil.query(query),
10486
+ });
10487
+ let params = new $OpenApi.Params({
10488
+ action: "ListUserProvisioningEvents",
10489
+ version: "2021-05-15",
10490
+ protocol: "HTTPS",
10491
+ pathname: "/",
10492
+ method: "POST",
10493
+ authType: "AK",
10494
+ style: "RPC",
10495
+ reqBodyType: "formData",
10496
+ bodyType: "json",
10497
+ });
10498
+ return $tea.cast<ListUserProvisioningEventsResponse>(await this.callApi(params, req, runtime), new ListUserProvisioningEventsResponse({}));
10499
+ }
10500
+
10501
+ async listUserProvisioningEvents(request: ListUserProvisioningEventsRequest): Promise<ListUserProvisioningEventsResponse> {
10502
+ let runtime = new $Util.RuntimeOptions({ });
10503
+ return await this.listUserProvisioningEventsWithOptions(request, runtime);
10504
+ }
10505
+
10506
+ async listUserProvisioningsWithOptions(request: ListUserProvisioningsRequest, runtime: $Util.RuntimeOptions): Promise<ListUserProvisioningsResponse> {
10507
+ Util.validateModel(request);
10508
+ let query = { };
10509
+ if (!Util.isUnset(request.directoryId)) {
10510
+ query["DirectoryId"] = request.directoryId;
10511
+ }
10512
+
10513
+ if (!Util.isUnset(request.maxResults)) {
10514
+ query["MaxResults"] = request.maxResults;
10515
+ }
10516
+
10517
+ if (!Util.isUnset(request.nextToken)) {
10518
+ query["NextToken"] = request.nextToken;
10519
+ }
10520
+
10521
+ if (!Util.isUnset(request.principalId)) {
10522
+ query["PrincipalId"] = request.principalId;
10523
+ }
10524
+
10525
+ if (!Util.isUnset(request.principalType)) {
10526
+ query["PrincipalType"] = request.principalType;
10527
+ }
10528
+
10529
+ if (!Util.isUnset(request.targetId)) {
10530
+ query["TargetId"] = request.targetId;
10531
+ }
10532
+
10533
+ if (!Util.isUnset(request.targetType)) {
10534
+ query["TargetType"] = request.targetType;
10535
+ }
10536
+
10537
+ let req = new $OpenApi.OpenApiRequest({
10538
+ query: OpenApiUtil.query(query),
10539
+ });
10540
+ let params = new $OpenApi.Params({
10541
+ action: "ListUserProvisionings",
10542
+ version: "2021-05-15",
10543
+ protocol: "HTTPS",
10544
+ pathname: "/",
10545
+ method: "POST",
10546
+ authType: "AK",
10547
+ style: "RPC",
10548
+ reqBodyType: "formData",
10549
+ bodyType: "json",
10550
+ });
10551
+ return $tea.cast<ListUserProvisioningsResponse>(await this.callApi(params, req, runtime), new ListUserProvisioningsResponse({}));
10552
+ }
10553
+
10554
+ async listUserProvisionings(request: ListUserProvisioningsRequest): Promise<ListUserProvisioningsResponse> {
10555
+ let runtime = new $Util.RuntimeOptions({ });
10556
+ return await this.listUserProvisioningsWithOptions(request, runtime);
10557
+ }
10558
+
8843
10559
  /**
8844
10560
  * 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
10561
  *
8848
10562
  * @param request ListUsersRequest
8849
10563
  * @param runtime runtime options for this request RuntimeOptions
@@ -8895,8 +10609,6 @@ export default class Client extends OpenApi {
8895
10609
 
8896
10610
  /**
8897
10611
  * 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
10612
  *
8901
10613
  * @param request ListUsersRequest
8902
10614
  * @return ListUsersResponse
@@ -8909,8 +10621,6 @@ export default class Client extends OpenApi {
8909
10621
  /**
8910
10622
  * 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
10623
  * 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
10624
  *
8915
10625
  * @param request ProvisionAccessConfigurationRequest
8916
10626
  * @param runtime runtime options for this request RuntimeOptions
@@ -8955,8 +10665,6 @@ export default class Client extends OpenApi {
8955
10665
  /**
8956
10666
  * 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
10667
  * 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
10668
  *
8961
10669
  * @param request ProvisionAccessConfigurationRequest
8962
10670
  * @return ProvisionAccessConfigurationResponse
@@ -8968,8 +10676,6 @@ export default class Client extends OpenApi {
8968
10676
 
8969
10677
  /**
8970
10678
  * 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
10679
  *
8974
10680
  * @param request RemoveExternalSAMLIdPCertificateRequest
8975
10681
  * @param runtime runtime options for this request RuntimeOptions
@@ -9005,8 +10711,6 @@ export default class Client extends OpenApi {
9005
10711
 
9006
10712
  /**
9007
10713
  * 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
10714
  *
9011
10715
  * @param request RemoveExternalSAMLIdPCertificateRequest
9012
10716
  * @return RemoveExternalSAMLIdPCertificateResponse
@@ -9019,8 +10723,6 @@ export default class Client extends OpenApi {
9019
10723
  /**
9020
10724
  * After you remove an inline policy from an access configuration, the policy cannot be restored.
9021
10725
  * 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
10726
  *
9025
10727
  * @param request RemovePermissionPolicyFromAccessConfigurationRequest
9026
10728
  * @param runtime runtime options for this request RuntimeOptions
@@ -9065,8 +10767,6 @@ export default class Client extends OpenApi {
9065
10767
  /**
9066
10768
  * After you remove an inline policy from an access configuration, the policy cannot be restored.
9067
10769
  * 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
10770
  *
9071
10771
  * @param request RemovePermissionPolicyFromAccessConfigurationRequest
9072
10772
  * @return RemovePermissionPolicyFromAccessConfigurationResponse
@@ -9078,9 +10778,7 @@ export default class Client extends OpenApi {
9078
10778
 
9079
10779
  /**
9080
10780
  * 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.
10781
+ * This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
9084
10782
  *
9085
10783
  * @param request RemoveUserFromGroupRequest
9086
10784
  * @param runtime runtime options for this request RuntimeOptions
@@ -9120,9 +10818,7 @@ export default class Client extends OpenApi {
9120
10818
 
9121
10819
  /**
9122
10820
  * 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.
10821
+ * This topic provides an example on how to remove the user `u-00q8wbq42wiltcrk****` from the group `g-00jqzghi2n3o5hkh****`.
9126
10822
  *
9127
10823
  * @param request RemoveUserFromGroupRequest
9128
10824
  * @return RemoveUserFromGroupResponse
@@ -9136,8 +10832,6 @@ export default class Client extends OpenApi {
9136
10832
  * If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
9137
10833
  * > After you enable SSO logon, your password cannot be reset.
9138
10834
  * 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
10835
  *
9142
10836
  * @param request ResetUserPasswordRequest
9143
10837
  * @param runtime runtime options for this request RuntimeOptions
@@ -9187,8 +10881,6 @@ export default class Client extends OpenApi {
9187
10881
  * If you forget your password or your password expires or is at risk, you must contact a CloudSSO administrator to reset your password.
9188
10882
  * > After you enable SSO logon, your password cannot be reset.
9189
10883
  * 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
10884
  *
9193
10885
  * @param request ResetUserPasswordRequest
9194
10886
  * @return ResetUserPasswordResponse
@@ -9198,12 +10890,48 @@ export default class Client extends OpenApi {
9198
10890
  return await this.resetUserPasswordWithOptions(request, runtime);
9199
10891
  }
9200
10892
 
10893
+ async retryUserProvisioningEventWithOptions(request: RetryUserProvisioningEventRequest, runtime: $Util.RuntimeOptions): Promise<RetryUserProvisioningEventResponse> {
10894
+ Util.validateModel(request);
10895
+ let query = { };
10896
+ if (!Util.isUnset(request.directoryId)) {
10897
+ query["DirectoryId"] = request.directoryId;
10898
+ }
10899
+
10900
+ if (!Util.isUnset(request.duplicationStrategy)) {
10901
+ query["DuplicationStrategy"] = request.duplicationStrategy;
10902
+ }
10903
+
10904
+ if (!Util.isUnset(request.eventId)) {
10905
+ query["EventId"] = request.eventId;
10906
+ }
10907
+
10908
+ let req = new $OpenApi.OpenApiRequest({
10909
+ query: OpenApiUtil.query(query),
10910
+ });
10911
+ let params = new $OpenApi.Params({
10912
+ action: "RetryUserProvisioningEvent",
10913
+ version: "2021-05-15",
10914
+ protocol: "HTTPS",
10915
+ pathname: "/",
10916
+ method: "POST",
10917
+ authType: "AK",
10918
+ style: "RPC",
10919
+ reqBodyType: "formData",
10920
+ bodyType: "json",
10921
+ });
10922
+ return $tea.cast<RetryUserProvisioningEventResponse>(await this.callApi(params, req, runtime), new RetryUserProvisioningEventResponse({}));
10923
+ }
10924
+
10925
+ async retryUserProvisioningEvent(request: RetryUserProvisioningEventRequest): Promise<RetryUserProvisioningEventResponse> {
10926
+ let runtime = new $Util.RuntimeOptions({ });
10927
+ return await this.retryUserProvisioningEventWithOptions(request, runtime);
10928
+ }
10929
+
9201
10930
  /**
9202
- * ## Usage notes
9203
10931
  * 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
10932
  * 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
10933
  * * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
9206
- * * Manually configure the IdP. You can manually specifythe following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
10934
+ * * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
9207
10935
  * If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
9208
10936
  * * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
9209
10937
  * * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
@@ -9263,11 +10991,10 @@ export default class Client extends OpenApi {
9263
10991
  }
9264
10992
 
9265
10993
  /**
9266
- * ## Usage notes
9267
10994
  * 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
10995
  * 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
10996
  * * Use the metadata file. You can specify the `EncodedMetadataDocument` parameter to upload the metadata file.
9270
- * * Manually configure the IdP. You can manually specifythe following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
10997
+ * * Manually configure the IdP. You can manually specify the following parameters for your IdP: `EntityId`, `LoginUrl`, `WantRequestSigned`, and `X509Certificate`.
9271
10998
  * If you have configured a SAML IdP, the existing configurations are replaced after you call this operation.
9272
10999
  * * If the IdP is configured by using the metadata file, all existing configurations are replaced with new configurations.
9273
11000
  * * If the IdP is manually configured, the original parameter values that are different from the new parameter values are replaced.
@@ -9285,8 +11012,6 @@ export default class Client extends OpenApi {
9285
11012
  /**
9286
11013
  * 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
11014
  * 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
11015
  *
9291
11016
  * @param request SetMFAAuthenticationStatusRequest
9292
11017
  * @param runtime runtime options for this request RuntimeOptions
@@ -9323,8 +11048,6 @@ export default class Client extends OpenApi {
9323
11048
  /**
9324
11049
  * 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
11050
  * 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
11051
  *
9329
11052
  * @param request SetMFAAuthenticationStatusRequest
9330
11053
  * @return SetMFAAuthenticationStatusResponse
@@ -9339,8 +11062,6 @@ export default class Client extends OpenApi {
9339
11062
  * * 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
11063
  * * 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
11064
  * 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
11065
  *
9345
11066
  * @param request SetSCIMSynchronizationStatusRequest
9346
11067
  * @param runtime runtime options for this request RuntimeOptions
@@ -9379,8 +11100,6 @@ export default class Client extends OpenApi {
9379
11100
  * * 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
11101
  * * 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
11102
  * 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
11103
  *
9385
11104
  * @param request SetSCIMSynchronizationStatusRequest
9386
11105
  * @return SetSCIMSynchronizationStatusResponse
@@ -9393,8 +11112,6 @@ export default class Client extends OpenApi {
9393
11112
  /**
9394
11113
  * You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
9395
11114
  * 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
11115
  *
9399
11116
  * @param request UpdateAccessConfigurationRequest
9400
11117
  * @param runtime runtime options for this request RuntimeOptions
@@ -9443,8 +11160,6 @@ export default class Client extends OpenApi {
9443
11160
  /**
9444
11161
  * You can modify the `Description`, `SessionDuration`, and `RelayState` parameters for an access configuration.
9445
11162
  * 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
11163
  *
9449
11164
  * @param request UpdateAccessConfigurationRequest
9450
11165
  * @return UpdateAccessConfigurationResponse
@@ -9456,9 +11171,7 @@ export default class Client extends OpenApi {
9456
11171
 
9457
11172
  /**
9458
11173
  * 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.
11174
+ * This topic provides an example on how to change the name of a directory to `new-example`.
9462
11175
  *
9463
11176
  * @param request UpdateDirectoryRequest
9464
11177
  * @param runtime runtime options for this request RuntimeOptions
@@ -9494,9 +11207,7 @@ export default class Client extends OpenApi {
9494
11207
 
9495
11208
  /**
9496
11209
  * 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.
11210
+ * This topic provides an example on how to change the name of a directory to `new-example`.
9500
11211
  *
9501
11212
  * @param request UpdateDirectoryRequest
9502
11213
  * @return UpdateDirectoryResponse
@@ -9510,8 +11221,6 @@ export default class Client extends OpenApi {
9510
11221
  * You can modify `GroupName` and `Description` for a group.
9511
11222
  * > 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
11223
  * 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
11224
  *
9516
11225
  * @param request UpdateGroupRequest
9517
11226
  * @param runtime runtime options for this request RuntimeOptions
@@ -9557,8 +11266,6 @@ export default class Client extends OpenApi {
9557
11266
  * You can modify `GroupName` and `Description` for a group.
9558
11267
  * > 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
11268
  * 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
11269
  *
9563
11270
  * @param request UpdateGroupRequest
9564
11271
  * @return UpdateGroupResponse
@@ -9570,8 +11277,6 @@ export default class Client extends OpenApi {
9570
11277
 
9571
11278
  /**
9572
11279
  * 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
11280
  *
9576
11281
  * @param request UpdateInlinePolicyForAccessConfigurationRequest
9577
11282
  * @param runtime runtime options for this request RuntimeOptions
@@ -9615,8 +11320,6 @@ export default class Client extends OpenApi {
9615
11320
 
9616
11321
  /**
9617
11322
  * 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
11323
  *
9621
11324
  * @param request UpdateInlinePolicyForAccessConfigurationRequest
9622
11325
  * @return UpdateInlinePolicyForAccessConfigurationResponse
@@ -9680,8 +11383,6 @@ export default class Client extends OpenApi {
9680
11383
 
9681
11384
  /**
9682
11385
  * 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
11386
  *
9686
11387
  * @param request UpdateSCIMServerCredentialStatusRequest
9687
11388
  * @param runtime runtime options for this request RuntimeOptions
@@ -9721,8 +11422,6 @@ export default class Client extends OpenApi {
9721
11422
 
9722
11423
  /**
9723
11424
  * 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
11425
  *
9727
11426
  * @param request UpdateSCIMServerCredentialStatusRequest
9728
11427
  * @return UpdateSCIMServerCredentialStatusResponse
@@ -9736,8 +11435,6 @@ export default class Client extends OpenApi {
9736
11435
  * You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
9737
11436
  * > 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
11437
  * 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
11438
  *
9742
11439
  * @param request UpdateUserRequest
9743
11440
  * @param runtime runtime options for this request RuntimeOptions
@@ -9795,8 +11492,6 @@ export default class Client extends OpenApi {
9795
11492
  * You can modify `FirstName`, `LastName`, `DisplayName`, `Email`, and `Description` for a user. You cannot modify `UserName` for a user.
9796
11493
  * > 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
11494
  * 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
11495
  *
9801
11496
  * @param request UpdateUserRequest
9802
11497
  * @return UpdateUserResponse
@@ -9860,10 +11555,90 @@ export default class Client extends OpenApi {
9860
11555
  return await this.updateUserMFAAuthenticationSettingsWithOptions(request, runtime);
9861
11556
  }
9862
11557
 
11558
+ async updateUserProvisioningWithOptions(request: UpdateUserProvisioningRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserProvisioningResponse> {
11559
+ Util.validateModel(request);
11560
+ let query = { };
11561
+ if (!Util.isUnset(request.directoryId)) {
11562
+ query["DirectoryId"] = request.directoryId;
11563
+ }
11564
+
11565
+ if (!Util.isUnset(request.newDeletionStrategy)) {
11566
+ query["NewDeletionStrategy"] = request.newDeletionStrategy;
11567
+ }
11568
+
11569
+ if (!Util.isUnset(request.newDescription)) {
11570
+ query["NewDescription"] = request.newDescription;
11571
+ }
11572
+
11573
+ if (!Util.isUnset(request.newDuplicationStrategy)) {
11574
+ query["NewDuplicationStrategy"] = request.newDuplicationStrategy;
11575
+ }
11576
+
11577
+ if (!Util.isUnset(request.userProvisioningId)) {
11578
+ query["UserProvisioningId"] = request.userProvisioningId;
11579
+ }
11580
+
11581
+ let req = new $OpenApi.OpenApiRequest({
11582
+ query: OpenApiUtil.query(query),
11583
+ });
11584
+ let params = new $OpenApi.Params({
11585
+ action: "UpdateUserProvisioning",
11586
+ version: "2021-05-15",
11587
+ protocol: "HTTPS",
11588
+ pathname: "/",
11589
+ method: "POST",
11590
+ authType: "AK",
11591
+ style: "RPC",
11592
+ reqBodyType: "formData",
11593
+ bodyType: "json",
11594
+ });
11595
+ return $tea.cast<UpdateUserProvisioningResponse>(await this.callApi(params, req, runtime), new UpdateUserProvisioningResponse({}));
11596
+ }
11597
+
11598
+ async updateUserProvisioning(request: UpdateUserProvisioningRequest): Promise<UpdateUserProvisioningResponse> {
11599
+ let runtime = new $Util.RuntimeOptions({ });
11600
+ return await this.updateUserProvisioningWithOptions(request, runtime);
11601
+ }
11602
+
11603
+ async updateUserProvisioningConfigurationWithOptions(request: UpdateUserProvisioningConfigurationRequest, runtime: $Util.RuntimeOptions): Promise<UpdateUserProvisioningConfigurationResponse> {
11604
+ Util.validateModel(request);
11605
+ let query = { };
11606
+ if (!Util.isUnset(request.directoryId)) {
11607
+ query["DirectoryId"] = request.directoryId;
11608
+ }
11609
+
11610
+ if (!Util.isUnset(request.newDefaultLandingPage)) {
11611
+ query["NewDefaultLandingPage"] = request.newDefaultLandingPage;
11612
+ }
11613
+
11614
+ if (!Util.isUnset(request.newSessionDuration)) {
11615
+ query["NewSessionDuration"] = request.newSessionDuration;
11616
+ }
11617
+
11618
+ let req = new $OpenApi.OpenApiRequest({
11619
+ query: OpenApiUtil.query(query),
11620
+ });
11621
+ let params = new $OpenApi.Params({
11622
+ action: "UpdateUserProvisioningConfiguration",
11623
+ version: "2021-05-15",
11624
+ protocol: "HTTPS",
11625
+ pathname: "/",
11626
+ method: "POST",
11627
+ authType: "AK",
11628
+ style: "RPC",
11629
+ reqBodyType: "formData",
11630
+ bodyType: "json",
11631
+ });
11632
+ return $tea.cast<UpdateUserProvisioningConfigurationResponse>(await this.callApi(params, req, runtime), new UpdateUserProvisioningConfigurationResponse({}));
11633
+ }
11634
+
11635
+ async updateUserProvisioningConfiguration(request: UpdateUserProvisioningConfigurationRequest): Promise<UpdateUserProvisioningConfigurationResponse> {
11636
+ let runtime = new $Util.RuntimeOptions({ });
11637
+ return await this.updateUserProvisioningConfigurationWithOptions(request, runtime);
11638
+ }
11639
+
9863
11640
  /**
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.
11641
+ * 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
11642
  *
9868
11643
  * @param request UpdateUserStatusRequest
9869
11644
  * @param runtime runtime options for this request RuntimeOptions
@@ -9902,9 +11677,7 @@ export default class Client extends OpenApi {
9902
11677
  }
9903
11678
 
9904
11679
  /**
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.
11680
+ * 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
11681
  *
9909
11682
  * @param request UpdateUserStatusRequest
9910
11683
  * @return UpdateUserStatusResponse