@alicloud/cloudsso20210515 1.2.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
@@ -1373,6 +1373,75 @@ export class DeleteUserProvisioningResponse extends $tea.Model {
1373
1373
  }
1374
1374
  }
1375
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
+
1376
1445
  export class DeprovisionAccessConfigurationRequest extends $tea.Model {
1377
1446
  accessConfigurationId?: string;
1378
1447
  directoryId?: string;
@@ -2324,14 +2393,287 @@ export class GetTaskStatusRequest extends $tea.Model {
2324
2393
  static names(): { [key: string]: string } {
2325
2394
  return {
2326
2395
  directoryId: 'DirectoryId',
2327
- taskId: 'TaskId',
2396
+ taskId: 'TaskId',
2397
+ };
2398
+ }
2399
+
2400
+ static types(): { [key: string]: any } {
2401
+ return {
2402
+ directoryId: 'string',
2403
+ taskId: 'string',
2404
+ };
2405
+ }
2406
+
2407
+ constructor(map?: { [key: string]: any }) {
2408
+ super(map);
2409
+ }
2410
+ }
2411
+
2412
+ export class GetTaskStatusResponseBody extends $tea.Model {
2413
+ requestId?: string;
2414
+ taskStatus?: GetTaskStatusResponseBodyTaskStatus;
2415
+ static names(): { [key: string]: string } {
2416
+ return {
2417
+ requestId: 'RequestId',
2418
+ taskStatus: 'TaskStatus',
2419
+ };
2420
+ }
2421
+
2422
+ static types(): { [key: string]: any } {
2423
+ return {
2424
+ requestId: 'string',
2425
+ taskStatus: GetTaskStatusResponseBodyTaskStatus,
2426
+ };
2427
+ }
2428
+
2429
+ constructor(map?: { [key: string]: any }) {
2430
+ super(map);
2431
+ }
2432
+ }
2433
+
2434
+ export class GetTaskStatusResponse extends $tea.Model {
2435
+ headers: { [key: string]: string };
2436
+ statusCode: number;
2437
+ body: GetTaskStatusResponseBody;
2438
+ static names(): { [key: string]: string } {
2439
+ return {
2440
+ headers: 'headers',
2441
+ statusCode: 'statusCode',
2442
+ body: 'body',
2443
+ };
2444
+ }
2445
+
2446
+ static types(): { [key: string]: any } {
2447
+ return {
2448
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2449
+ statusCode: 'number',
2450
+ body: GetTaskStatusResponseBody,
2451
+ };
2452
+ }
2453
+
2454
+ constructor(map?: { [key: string]: any }) {
2455
+ super(map);
2456
+ }
2457
+ }
2458
+
2459
+ export class GetUserRequest extends $tea.Model {
2460
+ directoryId?: string;
2461
+ userId?: string;
2462
+ static names(): { [key: string]: string } {
2463
+ return {
2464
+ directoryId: 'DirectoryId',
2465
+ userId: 'UserId',
2466
+ };
2467
+ }
2468
+
2469
+ static types(): { [key: string]: any } {
2470
+ return {
2471
+ directoryId: 'string',
2472
+ userId: 'string',
2473
+ };
2474
+ }
2475
+
2476
+ constructor(map?: { [key: string]: any }) {
2477
+ super(map);
2478
+ }
2479
+ }
2480
+
2481
+ export class GetUserResponseBody extends $tea.Model {
2482
+ requestId?: string;
2483
+ user?: GetUserResponseBodyUser;
2484
+ static names(): { [key: string]: string } {
2485
+ return {
2486
+ requestId: 'RequestId',
2487
+ user: 'User',
2488
+ };
2489
+ }
2490
+
2491
+ static types(): { [key: string]: any } {
2492
+ return {
2493
+ requestId: 'string',
2494
+ user: GetUserResponseBodyUser,
2495
+ };
2496
+ }
2497
+
2498
+ constructor(map?: { [key: string]: any }) {
2499
+ super(map);
2500
+ }
2501
+ }
2502
+
2503
+ export class GetUserResponse extends $tea.Model {
2504
+ headers: { [key: string]: string };
2505
+ statusCode: number;
2506
+ body: GetUserResponseBody;
2507
+ static names(): { [key: string]: string } {
2508
+ return {
2509
+ headers: 'headers',
2510
+ statusCode: 'statusCode',
2511
+ body: 'body',
2512
+ };
2513
+ }
2514
+
2515
+ static types(): { [key: string]: any } {
2516
+ return {
2517
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2518
+ statusCode: 'number',
2519
+ body: GetUserResponseBody,
2520
+ };
2521
+ }
2522
+
2523
+ constructor(map?: { [key: string]: any }) {
2524
+ super(map);
2525
+ }
2526
+ }
2527
+
2528
+ export class GetUserMFAAuthenticationSettingsRequest extends $tea.Model {
2529
+ directoryId?: string;
2530
+ userId?: string;
2531
+ static names(): { [key: string]: string } {
2532
+ return {
2533
+ directoryId: 'DirectoryId',
2534
+ userId: 'UserId',
2535
+ };
2536
+ }
2537
+
2538
+ static types(): { [key: string]: any } {
2539
+ return {
2540
+ directoryId: 'string',
2541
+ userId: 'string',
2542
+ };
2543
+ }
2544
+
2545
+ constructor(map?: { [key: string]: any }) {
2546
+ super(map);
2547
+ }
2548
+ }
2549
+
2550
+ export class GetUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
2551
+ requestId?: string;
2552
+ userMFAAuthenticationSettings?: string;
2553
+ static names(): { [key: string]: string } {
2554
+ return {
2555
+ requestId: 'RequestId',
2556
+ userMFAAuthenticationSettings: 'UserMFAAuthenticationSettings',
2557
+ };
2558
+ }
2559
+
2560
+ static types(): { [key: string]: any } {
2561
+ return {
2562
+ requestId: 'string',
2563
+ userMFAAuthenticationSettings: 'string',
2564
+ };
2565
+ }
2566
+
2567
+ constructor(map?: { [key: string]: any }) {
2568
+ super(map);
2569
+ }
2570
+ }
2571
+
2572
+ export class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
2573
+ headers: { [key: string]: string };
2574
+ statusCode: number;
2575
+ body: GetUserMFAAuthenticationSettingsResponseBody;
2576
+ static names(): { [key: string]: string } {
2577
+ return {
2578
+ headers: 'headers',
2579
+ statusCode: 'statusCode',
2580
+ body: 'body',
2581
+ };
2582
+ }
2583
+
2584
+ static types(): { [key: string]: any } {
2585
+ return {
2586
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2587
+ statusCode: 'number',
2588
+ body: GetUserMFAAuthenticationSettingsResponseBody,
2589
+ };
2590
+ }
2591
+
2592
+ constructor(map?: { [key: string]: any }) {
2593
+ super(map);
2594
+ }
2595
+ }
2596
+
2597
+ export class GetUserProvisioningRequest extends $tea.Model {
2598
+ directoryId?: string;
2599
+ userProvisioningId?: string;
2600
+ static names(): { [key: string]: string } {
2601
+ return {
2602
+ directoryId: 'DirectoryId',
2603
+ userProvisioningId: 'UserProvisioningId',
2604
+ };
2605
+ }
2606
+
2607
+ static types(): { [key: string]: any } {
2608
+ return {
2609
+ directoryId: 'string',
2610
+ userProvisioningId: 'string',
2611
+ };
2612
+ }
2613
+
2614
+ constructor(map?: { [key: string]: any }) {
2615
+ super(map);
2616
+ }
2617
+ }
2618
+
2619
+ export class GetUserProvisioningResponseBody extends $tea.Model {
2620
+ requestId?: string;
2621
+ userProvisioning?: GetUserProvisioningResponseBodyUserProvisioning;
2622
+ static names(): { [key: string]: string } {
2623
+ return {
2624
+ requestId: 'RequestId',
2625
+ userProvisioning: 'UserProvisioning',
2626
+ };
2627
+ }
2628
+
2629
+ static types(): { [key: string]: any } {
2630
+ return {
2631
+ requestId: 'string',
2632
+ userProvisioning: GetUserProvisioningResponseBodyUserProvisioning,
2633
+ };
2634
+ }
2635
+
2636
+ constructor(map?: { [key: string]: any }) {
2637
+ super(map);
2638
+ }
2639
+ }
2640
+
2641
+ export class GetUserProvisioningResponse extends $tea.Model {
2642
+ headers: { [key: string]: string };
2643
+ statusCode: number;
2644
+ body: GetUserProvisioningResponseBody;
2645
+ static names(): { [key: string]: string } {
2646
+ return {
2647
+ headers: 'headers',
2648
+ statusCode: 'statusCode',
2649
+ body: 'body',
2650
+ };
2651
+ }
2652
+
2653
+ static types(): { [key: string]: any } {
2654
+ return {
2655
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2656
+ statusCode: 'number',
2657
+ body: GetUserProvisioningResponseBody,
2658
+ };
2659
+ }
2660
+
2661
+ constructor(map?: { [key: string]: any }) {
2662
+ super(map);
2663
+ }
2664
+ }
2665
+
2666
+ export class GetUserProvisioningConfigurationRequest extends $tea.Model {
2667
+ directoryId?: string;
2668
+ static names(): { [key: string]: string } {
2669
+ return {
2670
+ directoryId: 'DirectoryId',
2328
2671
  };
2329
2672
  }
2330
2673
 
2331
2674
  static types(): { [key: string]: any } {
2332
2675
  return {
2333
2676
  directoryId: 'string',
2334
- taskId: 'string',
2335
2677
  };
2336
2678
  }
2337
2679
 
@@ -2340,20 +2682,20 @@ export class GetTaskStatusRequest extends $tea.Model {
2340
2682
  }
2341
2683
  }
2342
2684
 
2343
- export class GetTaskStatusResponseBody extends $tea.Model {
2685
+ export class GetUserProvisioningConfigurationResponseBody extends $tea.Model {
2344
2686
  requestId?: string;
2345
- taskStatus?: GetTaskStatusResponseBodyTaskStatus;
2687
+ userProvisioningConfiguration?: GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration;
2346
2688
  static names(): { [key: string]: string } {
2347
2689
  return {
2348
2690
  requestId: 'RequestId',
2349
- taskStatus: 'TaskStatus',
2691
+ userProvisioningConfiguration: 'UserProvisioningConfiguration',
2350
2692
  };
2351
2693
  }
2352
2694
 
2353
2695
  static types(): { [key: string]: any } {
2354
2696
  return {
2355
2697
  requestId: 'string',
2356
- taskStatus: GetTaskStatusResponseBodyTaskStatus,
2698
+ userProvisioningConfiguration: GetUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
2357
2699
  };
2358
2700
  }
2359
2701
 
@@ -2362,10 +2704,10 @@ export class GetTaskStatusResponseBody extends $tea.Model {
2362
2704
  }
2363
2705
  }
2364
2706
 
2365
- export class GetTaskStatusResponse extends $tea.Model {
2707
+ export class GetUserProvisioningConfigurationResponse extends $tea.Model {
2366
2708
  headers: { [key: string]: string };
2367
2709
  statusCode: number;
2368
- body: GetTaskStatusResponseBody;
2710
+ body: GetUserProvisioningConfigurationResponseBody;
2369
2711
  static names(): { [key: string]: string } {
2370
2712
  return {
2371
2713
  headers: 'headers',
@@ -2378,7 +2720,7 @@ export class GetTaskStatusResponse extends $tea.Model {
2378
2720
  return {
2379
2721
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2380
2722
  statusCode: 'number',
2381
- body: GetTaskStatusResponseBody,
2723
+ body: GetUserProvisioningConfigurationResponseBody,
2382
2724
  };
2383
2725
  }
2384
2726
 
@@ -2387,20 +2729,20 @@ export class GetTaskStatusResponse extends $tea.Model {
2387
2729
  }
2388
2730
  }
2389
2731
 
2390
- export class GetUserRequest extends $tea.Model {
2732
+ export class GetUserProvisioningEventRequest extends $tea.Model {
2391
2733
  directoryId?: string;
2392
- userId?: string;
2734
+ eventId?: string;
2393
2735
  static names(): { [key: string]: string } {
2394
2736
  return {
2395
2737
  directoryId: 'DirectoryId',
2396
- userId: 'UserId',
2738
+ eventId: 'EventId',
2397
2739
  };
2398
2740
  }
2399
2741
 
2400
2742
  static types(): { [key: string]: any } {
2401
2743
  return {
2402
2744
  directoryId: 'string',
2403
- userId: 'string',
2745
+ eventId: 'string',
2404
2746
  };
2405
2747
  }
2406
2748
 
@@ -2409,20 +2751,20 @@ export class GetUserRequest extends $tea.Model {
2409
2751
  }
2410
2752
  }
2411
2753
 
2412
- export class GetUserResponseBody extends $tea.Model {
2754
+ export class GetUserProvisioningEventResponseBody extends $tea.Model {
2413
2755
  requestId?: string;
2414
- user?: GetUserResponseBodyUser;
2756
+ userProvisioningEvent?: GetUserProvisioningEventResponseBodyUserProvisioningEvent;
2415
2757
  static names(): { [key: string]: string } {
2416
2758
  return {
2417
2759
  requestId: 'RequestId',
2418
- user: 'User',
2760
+ userProvisioningEvent: 'UserProvisioningEvent',
2419
2761
  };
2420
2762
  }
2421
2763
 
2422
2764
  static types(): { [key: string]: any } {
2423
2765
  return {
2424
2766
  requestId: 'string',
2425
- user: GetUserResponseBodyUser,
2767
+ userProvisioningEvent: GetUserProvisioningEventResponseBodyUserProvisioningEvent,
2426
2768
  };
2427
2769
  }
2428
2770
 
@@ -2431,10 +2773,10 @@ export class GetUserResponseBody extends $tea.Model {
2431
2773
  }
2432
2774
  }
2433
2775
 
2434
- export class GetUserResponse extends $tea.Model {
2776
+ export class GetUserProvisioningEventResponse extends $tea.Model {
2435
2777
  headers: { [key: string]: string };
2436
2778
  statusCode: number;
2437
- body: GetUserResponseBody;
2779
+ body: GetUserProvisioningEventResponseBody;
2438
2780
  static names(): { [key: string]: string } {
2439
2781
  return {
2440
2782
  headers: 'headers',
@@ -2447,7 +2789,7 @@ export class GetUserResponse extends $tea.Model {
2447
2789
  return {
2448
2790
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2449
2791
  statusCode: 'number',
2450
- body: GetUserResponseBody,
2792
+ body: GetUserProvisioningEventResponseBody,
2451
2793
  };
2452
2794
  }
2453
2795
 
@@ -2456,20 +2798,20 @@ export class GetUserResponse extends $tea.Model {
2456
2798
  }
2457
2799
  }
2458
2800
 
2459
- export class GetUserMFAAuthenticationSettingsRequest extends $tea.Model {
2801
+ export class GetUserProvisioningRdAccountStatisticsRequest extends $tea.Model {
2460
2802
  directoryId?: string;
2461
- userId?: string;
2803
+ rdMemberId?: string;
2462
2804
  static names(): { [key: string]: string } {
2463
2805
  return {
2464
2806
  directoryId: 'DirectoryId',
2465
- userId: 'UserId',
2807
+ rdMemberId: 'RdMemberId',
2466
2808
  };
2467
2809
  }
2468
2810
 
2469
2811
  static types(): { [key: string]: any } {
2470
2812
  return {
2471
2813
  directoryId: 'string',
2472
- userId: 'string',
2814
+ rdMemberId: 'string',
2473
2815
  };
2474
2816
  }
2475
2817
 
@@ -2478,20 +2820,20 @@ export class GetUserMFAAuthenticationSettingsRequest extends $tea.Model {
2478
2820
  }
2479
2821
  }
2480
2822
 
2481
- export class GetUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
2823
+ export class GetUserProvisioningRdAccountStatisticsResponseBody extends $tea.Model {
2482
2824
  requestId?: string;
2483
- userMFAAuthenticationSettings?: string;
2825
+ userProvisioningStatistics?: GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics;
2484
2826
  static names(): { [key: string]: string } {
2485
2827
  return {
2486
2828
  requestId: 'RequestId',
2487
- userMFAAuthenticationSettings: 'UserMFAAuthenticationSettings',
2829
+ userProvisioningStatistics: 'UserProvisioningStatistics',
2488
2830
  };
2489
2831
  }
2490
2832
 
2491
2833
  static types(): { [key: string]: any } {
2492
2834
  return {
2493
2835
  requestId: 'string',
2494
- userMFAAuthenticationSettings: 'string',
2836
+ userProvisioningStatistics: GetUserProvisioningRdAccountStatisticsResponseBodyUserProvisioningStatistics,
2495
2837
  };
2496
2838
  }
2497
2839
 
@@ -2500,10 +2842,10 @@ export class GetUserMFAAuthenticationSettingsResponseBody extends $tea.Model {
2500
2842
  }
2501
2843
  }
2502
2844
 
2503
- export class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
2845
+ export class GetUserProvisioningRdAccountStatisticsResponse extends $tea.Model {
2504
2846
  headers: { [key: string]: string };
2505
2847
  statusCode: number;
2506
- body: GetUserMFAAuthenticationSettingsResponseBody;
2848
+ body: GetUserProvisioningRdAccountStatisticsResponseBody;
2507
2849
  static names(): { [key: string]: string } {
2508
2850
  return {
2509
2851
  headers: 'headers',
@@ -2516,7 +2858,7 @@ export class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
2516
2858
  return {
2517
2859
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2518
2860
  statusCode: 'number',
2519
- body: GetUserMFAAuthenticationSettingsResponseBody,
2861
+ body: GetUserProvisioningRdAccountStatisticsResponseBody,
2520
2862
  };
2521
2863
  }
2522
2864
 
@@ -2525,7 +2867,7 @@ export class GetUserMFAAuthenticationSettingsResponse extends $tea.Model {
2525
2867
  }
2526
2868
  }
2527
2869
 
2528
- export class GetUserProvisioningRequest extends $tea.Model {
2870
+ export class GetUserProvisioningStatisticsRequest extends $tea.Model {
2529
2871
  directoryId?: string;
2530
2872
  userProvisioningId?: string;
2531
2873
  static names(): { [key: string]: string } {
@@ -2547,20 +2889,20 @@ export class GetUserProvisioningRequest extends $tea.Model {
2547
2889
  }
2548
2890
  }
2549
2891
 
2550
- export class GetUserProvisioningResponseBody extends $tea.Model {
2892
+ export class GetUserProvisioningStatisticsResponseBody extends $tea.Model {
2551
2893
  requestId?: string;
2552
- userProvisioning?: GetUserProvisioningResponseBodyUserProvisioning;
2894
+ userProvisioningStatistics?: GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics;
2553
2895
  static names(): { [key: string]: string } {
2554
2896
  return {
2555
2897
  requestId: 'RequestId',
2556
- userProvisioning: 'UserProvisioning',
2898
+ userProvisioningStatistics: 'UserProvisioningStatistics',
2557
2899
  };
2558
2900
  }
2559
2901
 
2560
2902
  static types(): { [key: string]: any } {
2561
2903
  return {
2562
2904
  requestId: 'string',
2563
- userProvisioning: GetUserProvisioningResponseBodyUserProvisioning,
2905
+ userProvisioningStatistics: GetUserProvisioningStatisticsResponseBodyUserProvisioningStatistics,
2564
2906
  };
2565
2907
  }
2566
2908
 
@@ -2569,10 +2911,10 @@ export class GetUserProvisioningResponseBody extends $tea.Model {
2569
2911
  }
2570
2912
  }
2571
2913
 
2572
- export class GetUserProvisioningResponse extends $tea.Model {
2914
+ export class GetUserProvisioningStatisticsResponse extends $tea.Model {
2573
2915
  headers: { [key: string]: string };
2574
2916
  statusCode: number;
2575
- body: GetUserProvisioningResponseBody;
2917
+ body: GetUserProvisioningStatisticsResponseBody;
2576
2918
  static names(): { [key: string]: string } {
2577
2919
  return {
2578
2920
  headers: 'headers',
@@ -2585,7 +2927,7 @@ export class GetUserProvisioningResponse extends $tea.Model {
2585
2927
  return {
2586
2928
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2587
2929
  statusCode: 'number',
2588
- body: GetUserProvisioningResponseBody,
2930
+ body: GetUserProvisioningStatisticsResponseBody,
2589
2931
  };
2590
2932
  }
2591
2933
 
@@ -3586,6 +3928,93 @@ export class ListTasksResponse extends $tea.Model {
3586
3928
  }
3587
3929
  }
3588
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',
3983
+ totalCounts: 'number',
3984
+ userProvisioningEvents: { 'type': 'array', 'itemType': ListUserProvisioningEventsResponseBodyUserProvisioningEvents },
3985
+ };
3986
+ }
3987
+
3988
+ constructor(map?: { [key: string]: any }) {
3989
+ super(map);
3990
+ }
3991
+ }
3992
+
3993
+ export class ListUserProvisioningEventsResponse extends $tea.Model {
3994
+ headers: { [key: string]: string };
3995
+ statusCode: number;
3996
+ body: ListUserProvisioningEventsResponseBody;
3997
+ static names(): { [key: string]: string } {
3998
+ return {
3999
+ headers: 'headers',
4000
+ statusCode: 'statusCode',
4001
+ body: 'body',
4002
+ };
4003
+ }
4004
+
4005
+ static types(): { [key: string]: any } {
4006
+ return {
4007
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4008
+ statusCode: 'number',
4009
+ body: ListUserProvisioningEventsResponseBody,
4010
+ };
4011
+ }
4012
+
4013
+ constructor(map?: { [key: string]: any }) {
4014
+ super(map);
4015
+ }
4016
+ }
4017
+
3589
4018
  export class ListUserProvisioningsRequest extends $tea.Model {
3590
4019
  directoryId?: string;
3591
4020
  maxResults?: number;
@@ -4135,6 +4564,75 @@ export class ResetUserPasswordResponse extends $tea.Model {
4135
4564
  }
4136
4565
  }
4137
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
+
4138
4636
  export class SetExternalSAMLIdentityProviderRequest extends $tea.Model {
4139
4637
  directoryId?: string;
4140
4638
  encodedMetadataDocument?: string;
@@ -4939,29 +5437,101 @@ export class UpdateUserMFAAuthenticationSettingsResponse extends $tea.Model {
4939
5437
  }
4940
5438
  }
4941
5439
 
4942
- export class UpdateUserProvisioningRequest extends $tea.Model {
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 {
4943
5519
  directoryId?: string;
4944
- newDeletionStrategy?: string;
4945
- newDescription?: string;
4946
- newDuplicationStrategy?: string;
4947
- userProvisioningId?: string;
5520
+ newDefaultLandingPage?: string;
5521
+ newSessionDuration?: number;
4948
5522
  static names(): { [key: string]: string } {
4949
5523
  return {
4950
5524
  directoryId: 'DirectoryId',
4951
- newDeletionStrategy: 'NewDeletionStrategy',
4952
- newDescription: 'NewDescription',
4953
- newDuplicationStrategy: 'NewDuplicationStrategy',
4954
- userProvisioningId: 'UserProvisioningId',
5525
+ newDefaultLandingPage: 'NewDefaultLandingPage',
5526
+ newSessionDuration: 'NewSessionDuration',
4955
5527
  };
4956
5528
  }
4957
5529
 
4958
5530
  static types(): { [key: string]: any } {
4959
5531
  return {
4960
5532
  directoryId: 'string',
4961
- newDeletionStrategy: 'string',
4962
- newDescription: 'string',
4963
- newDuplicationStrategy: 'string',
4964
- userProvisioningId: 'string',
5533
+ newDefaultLandingPage: 'string',
5534
+ newSessionDuration: 'number',
4965
5535
  };
4966
5536
  }
4967
5537
 
@@ -4970,20 +5540,20 @@ export class UpdateUserProvisioningRequest extends $tea.Model {
4970
5540
  }
4971
5541
  }
4972
5542
 
4973
- export class UpdateUserProvisioningResponseBody extends $tea.Model {
5543
+ export class UpdateUserProvisioningConfigurationResponseBody extends $tea.Model {
4974
5544
  requestId?: string;
4975
- userProvisioning?: UpdateUserProvisioningResponseBodyUserProvisioning;
5545
+ userProvisioningConfiguration?: UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration;
4976
5546
  static names(): { [key: string]: string } {
4977
5547
  return {
4978
5548
  requestId: 'RequestId',
4979
- userProvisioning: 'UserProvisioning',
5549
+ userProvisioningConfiguration: 'UserProvisioningConfiguration',
4980
5550
  };
4981
5551
  }
4982
5552
 
4983
5553
  static types(): { [key: string]: any } {
4984
5554
  return {
4985
5555
  requestId: 'string',
4986
- userProvisioning: UpdateUserProvisioningResponseBodyUserProvisioning,
5556
+ userProvisioningConfiguration: UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration,
4987
5557
  };
4988
5558
  }
4989
5559
 
@@ -4992,10 +5562,10 @@ export class UpdateUserProvisioningResponseBody extends $tea.Model {
4992
5562
  }
4993
5563
  }
4994
5564
 
4995
- export class UpdateUserProvisioningResponse extends $tea.Model {
5565
+ export class UpdateUserProvisioningConfigurationResponse extends $tea.Model {
4996
5566
  headers: { [key: string]: string };
4997
5567
  statusCode: number;
4998
- body: UpdateUserProvisioningResponseBody;
5568
+ body: UpdateUserProvisioningConfigurationResponseBody;
4999
5569
  static names(): { [key: string]: string } {
5000
5570
  return {
5001
5571
  headers: 'headers',
@@ -5008,7 +5578,7 @@ export class UpdateUserProvisioningResponse extends $tea.Model {
5008
5578
  return {
5009
5579
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5010
5580
  statusCode: 'number',
5011
- body: UpdateUserProvisioningResponseBody,
5581
+ body: UpdateUserProvisioningConfigurationResponseBody,
5012
5582
  };
5013
5583
  }
5014
5584
 
@@ -5570,24 +6140,33 @@ export class GetDirectoryResponseBodyDirectory extends $tea.Model {
5570
6140
 
5571
6141
  export class GetDirectorySAMLServiceProviderInfoResponseBodySAMLServiceProvider extends $tea.Model {
5572
6142
  acsUrl?: string;
6143
+ authnSignAlgo?: string;
6144
+ certificateType?: string;
5573
6145
  directoryId?: string;
5574
6146
  encodedMetadataDocument?: string;
5575
6147
  entityId?: string;
6148
+ supportEncryptedAssertion?: boolean;
5576
6149
  static names(): { [key: string]: string } {
5577
6150
  return {
5578
6151
  acsUrl: 'AcsUrl',
6152
+ authnSignAlgo: 'AuthnSignAlgo',
6153
+ certificateType: 'CertificateType',
5579
6154
  directoryId: 'DirectoryId',
5580
6155
  encodedMetadataDocument: 'EncodedMetadataDocument',
5581
6156
  entityId: 'EntityId',
6157
+ supportEncryptedAssertion: 'SupportEncryptedAssertion',
5582
6158
  };
5583
6159
  }
5584
6160
 
5585
6161
  static types(): { [key: string]: any } {
5586
6162
  return {
5587
6163
  acsUrl: 'string',
6164
+ authnSignAlgo: 'string',
6165
+ certificateType: 'string',
5588
6166
  directoryId: 'string',
5589
6167
  encodedMetadataDocument: 'string',
5590
6168
  entityId: 'string',
6169
+ supportEncryptedAssertion: 'boolean',
5591
6170
  };
5592
6171
  }
5593
6172
 
@@ -5995,6 +6574,175 @@ export class GetUserProvisioningResponseBodyUserProvisioning extends $tea.Model
5995
6574
  }
5996
6575
  }
5997
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',
6664
+ targetId: 'string',
6665
+ targetName: 'string',
6666
+ targetPath: 'string',
6667
+ targetType: 'string',
6668
+ updateTime: 'string',
6669
+ userProvisioningId: 'string',
6670
+ };
6671
+ }
6672
+
6673
+ constructor(map?: { [key: string]: any }) {
6674
+ super(map);
6675
+ }
6676
+ }
6677
+
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;
6685
+ static names(): { [key: string]: string } {
6686
+ return {
6687
+ directoryId: 'DirectoryId',
6688
+ entityId: 'EntityId',
6689
+ failedEventCount: 'FailedEventCount',
6690
+ latestAsyncTime: 'LatestAsyncTime',
6691
+ ownerPk: 'OwnerPk',
6692
+ type: 'Type',
6693
+ };
6694
+ }
6695
+
6696
+ static types(): { [key: string]: any } {
6697
+ return {
6698
+ directoryId: 'string',
6699
+ entityId: 'string',
6700
+ failedEventCount: 'number',
6701
+ latestAsyncTime: 'string',
6702
+ ownerPk: 'string',
6703
+ type: 'string',
6704
+ };
6705
+ }
6706
+
6707
+ constructor(map?: { [key: string]: any }) {
6708
+ super(map);
6709
+ }
6710
+ }
6711
+
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;
6719
+ static names(): { [key: string]: string } {
6720
+ return {
6721
+ directoryId: 'DirectoryId',
6722
+ entityId: 'EntityId',
6723
+ failedEventCount: 'FailedEventCount',
6724
+ latestAsyncTime: 'LatestAsyncTime',
6725
+ ownerPk: 'OwnerPk',
6726
+ type: 'Type',
6727
+ };
6728
+ }
6729
+
6730
+ static types(): { [key: string]: any } {
6731
+ return {
6732
+ directoryId: 'string',
6733
+ entityId: 'string',
6734
+ failedEventCount: 'number',
6735
+ latestAsyncTime: 'string',
6736
+ ownerPk: 'string',
6737
+ type: 'string',
6738
+ };
6739
+ }
6740
+
6741
+ constructor(map?: { [key: string]: any }) {
6742
+ super(map);
6743
+ }
6744
+ }
6745
+
5998
6746
  export class ListAccessAssignmentsResponseBodyAccessAssignments extends $tea.Model {
5999
6747
  accessConfigurationId?: string;
6000
6748
  accessConfigurationName?: string;
@@ -6484,6 +7232,76 @@ export class ListTasksResponseBodyTasks extends $tea.Model {
6484
7232
  }
6485
7233
  }
6486
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
+
6487
7305
  export class ListUserProvisioningsResponseBodyUserProvisionings extends $tea.Model {
6488
7306
  createTime?: string;
6489
7307
  deletionStrategy?: string;
@@ -6897,39 +7715,70 @@ export class UpdateUserProvisioningResponseBodyUserProvisioning extends $tea.Mod
6897
7715
  deletionStrategy: 'DeletionStrategy',
6898
7716
  description: 'Description',
6899
7717
  directoryId: 'DirectoryId',
6900
- duplicationStrategy: 'DuplicationStrategy',
6901
- ownerPk: 'OwnerPk',
6902
- principalId: 'PrincipalId',
6903
- principalName: 'PrincipalName',
6904
- principalType: 'PrincipalType',
6905
- status: 'Status',
6906
- targetId: 'TargetId',
6907
- targetName: 'TargetName',
6908
- targetPath: 'TargetPath',
6909
- targetType: 'TargetType',
7718
+ duplicationStrategy: 'DuplicationStrategy',
7719
+ ownerPk: 'OwnerPk',
7720
+ principalId: 'PrincipalId',
7721
+ principalName: 'PrincipalName',
7722
+ principalType: 'PrincipalType',
7723
+ status: 'Status',
7724
+ targetId: 'TargetId',
7725
+ targetName: 'TargetName',
7726
+ targetPath: 'TargetPath',
7727
+ targetType: 'TargetType',
7728
+ updateTime: 'UpdateTime',
7729
+ userProvisioningId: 'UserProvisioningId',
7730
+ };
7731
+ }
7732
+
7733
+ static types(): { [key: string]: any } {
7734
+ return {
7735
+ createTime: 'string',
7736
+ deletionStrategy: 'string',
7737
+ description: 'string',
7738
+ directoryId: 'string',
7739
+ duplicationStrategy: 'string',
7740
+ ownerPk: 'string',
7741
+ principalId: 'string',
7742
+ principalName: 'string',
7743
+ principalType: 'string',
7744
+ status: 'string',
7745
+ targetId: 'string',
7746
+ targetName: 'string',
7747
+ targetPath: 'string',
7748
+ targetType: 'string',
7749
+ updateTime: 'string',
7750
+ userProvisioningId: 'string',
7751
+ };
7752
+ }
7753
+
7754
+ constructor(map?: { [key: string]: any }) {
7755
+ super(map);
7756
+ }
7757
+ }
7758
+
7759
+ export class UpdateUserProvisioningConfigurationResponseBodyUserProvisioningConfiguration extends $tea.Model {
7760
+ createTime?: string;
7761
+ defaultLandingPage?: string;
7762
+ directoryId?: string;
7763
+ sessionDuration?: number;
7764
+ updateTime?: string;
7765
+ static names(): { [key: string]: string } {
7766
+ return {
7767
+ createTime: 'CreateTime',
7768
+ defaultLandingPage: 'DefaultLandingPage',
7769
+ directoryId: 'DirectoryId',
7770
+ sessionDuration: 'SessionDuration',
6910
7771
  updateTime: 'UpdateTime',
6911
- userProvisioningId: 'UserProvisioningId',
6912
7772
  };
6913
7773
  }
6914
7774
 
6915
7775
  static types(): { [key: string]: any } {
6916
7776
  return {
6917
7777
  createTime: 'string',
6918
- deletionStrategy: 'string',
6919
- description: 'string',
7778
+ defaultLandingPage: 'string',
6920
7779
  directoryId: 'string',
6921
- duplicationStrategy: 'string',
6922
- ownerPk: 'string',
6923
- principalId: 'string',
6924
- principalName: 'string',
6925
- principalType: 'string',
6926
- status: 'string',
6927
- targetId: 'string',
6928
- targetName: 'string',
6929
- targetPath: 'string',
6930
- targetType: 'string',
7780
+ sessionDuration: 'number',
6931
7781
  updateTime: 'string',
6932
- userProvisioningId: 'string',
6933
7782
  };
6934
7783
  }
6935
7784
 
@@ -7987,6 +8836,43 @@ export default class Client extends OpenApi {
7987
8836
  return await this.deleteUserProvisioningWithOptions(request, runtime);
7988
8837
  }
7989
8838
 
8839
+ async deleteUserProvisioningEventWithOptions(request: DeleteUserProvisioningEventRequest, runtime: $Util.RuntimeOptions): Promise<DeleteUserProvisioningEventResponse> {
8840
+ Util.validateModel(request);
8841
+ let query = { };
8842
+ if (!Util.isUnset(request.directoryId)) {
8843
+ query["DirectoryId"] = request.directoryId;
8844
+ }
8845
+
8846
+ if (!Util.isUnset(request.eventId)) {
8847
+ query["EventId"] = request.eventId;
8848
+ }
8849
+
8850
+ if (!Util.isUnset(request.userProvisioningId)) {
8851
+ query["UserProvisioningId"] = request.userProvisioningId;
8852
+ }
8853
+
8854
+ let req = new $OpenApi.OpenApiRequest({
8855
+ query: OpenApiUtil.query(query),
8856
+ });
8857
+ let params = new $OpenApi.Params({
8858
+ action: "DeleteUserProvisioningEvent",
8859
+ version: "2021-05-15",
8860
+ protocol: "HTTPS",
8861
+ pathname: "/",
8862
+ method: "POST",
8863
+ authType: "AK",
8864
+ style: "RPC",
8865
+ reqBodyType: "formData",
8866
+ bodyType: "json",
8867
+ });
8868
+ return $tea.cast<DeleteUserProvisioningEventResponse>(await this.callApi(params, req, runtime), new DeleteUserProvisioningEventResponse({}));
8869
+ }
8870
+
8871
+ async deleteUserProvisioningEvent(request: DeleteUserProvisioningEventRequest): Promise<DeleteUserProvisioningEventResponse> {
8872
+ let runtime = new $Util.RuntimeOptions({ });
8873
+ return await this.deleteUserProvisioningEventWithOptions(request, runtime);
8874
+ }
8875
+
7990
8876
  /**
7991
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.
7992
8878
  * This topic provides an example on how to de-provision the access configuration `ac-00jhtfl8thteu6uj****` from the account `114240524784****` in your resource directory.
@@ -8791,8 +9677,136 @@ export default class Client extends OpenApi {
8791
9677
  return await this.getUserProvisioningWithOptions(request, runtime);
8792
9678
  }
8793
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
+
8794
9808
  /**
8795
- * This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
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.
8796
9810
  *
8797
9811
  * @param request ListAccessAssignmentsRequest
8798
9812
  * @param runtime runtime options for this request RuntimeOptions
@@ -8851,7 +9865,7 @@ export default class Client extends OpenApi {
8851
9865
  }
8852
9866
 
8853
9867
  /**
8854
- * This topic provides an example on how to query the assigned access permissions on the account `114240524784****` in your resource directory. The returned result shows that access permissions on the account in your resource directory is assigned to one user.
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.
8855
9869
  *
8856
9870
  * @param request ListAccessAssignmentsRequest
8857
9871
  * @return ListAccessAssignmentsResponse
@@ -9448,6 +10462,47 @@ export default class Client extends OpenApi {
9448
10462
  return await this.listTasksWithOptions(request, runtime);
9449
10463
  }
9450
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
+
9451
10506
  async listUserProvisioningsWithOptions(request: ListUserProvisioningsRequest, runtime: $Util.RuntimeOptions): Promise<ListUserProvisioningsResponse> {
9452
10507
  Util.validateModel(request);
9453
10508
  let query = { };
@@ -9835,6 +10890,43 @@ export default class Client extends OpenApi {
9835
10890
  return await this.resetUserPasswordWithOptions(request, runtime);
9836
10891
  }
9837
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
+
9838
10930
  /**
9839
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.
9840
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.
@@ -10508,6 +11600,43 @@ export default class Client extends OpenApi {
10508
11600
  return await this.updateUserProvisioningWithOptions(request, runtime);
10509
11601
  }
10510
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
+
10511
11640
  /**
10512
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.
10513
11642
  *